Merge branch 'master' of github.com:gnuboard/yc4s

This commit is contained in:
gnuboard
2013-06-28 11:47:43 +09:00
6 changed files with 26 additions and 57 deletions

View File

@ -6,7 +6,7 @@ body {margin:0;padding:0;background:#fff;color:#000;font-size:0.75em;font-family
html, h1, h2, h3, h4, h5, h6, form, fieldset, img {margin:0;padding:0;border:0}
h1, h2, h3, h4, h5, h6 {font-size:1em;font-family:"dotum"}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block}
header ul, nav ul, footer ul {margin:0;padding:0;list-style:none}
#hd ul, nav ul, #ft ul {margin:0;padding:0;list-style:none}
label, input, select, img {vertical-align:middle}
input {margin:0;padding:0;border-radius:0;font-family:"dotum"}
button {border-radius:0;font-size:1em;font-family:"dotum"}
@ -42,7 +42,7 @@ a:hover, a:focus, a:active {color:#000;text-decoration:underline}
.cke_sc_def dd {width:30%}
/* 상단 레이아웃 */
#hd h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#hd_h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#hd_pop {z-index:1000;position:relative;margin:0 auto;width:1000px;height:0}
#hd_pop h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
@ -83,7 +83,7 @@ a:hover, a:focus, a:active {color:#000;text-decoration:underline}
/* 중간 레이아웃 */
#wrapper {z-index:5;margin:30px auto;width:1000px;zoom:1}
#wrapper:after {display:block;visibility:hidden;clear:both;content:""}
#wrapper_title {margin-bottom:20px;font-size:1.2em}
#wrapper_title {margin-bottom:20px;font-size:1.2em;font-weight:bold}
/* 오늘 본 상품 */
#stv {z-index:1001;float:right;position:relative;width:88px}
@ -114,7 +114,7 @@ a:hover, a:focus, a:active {color:#000;text-decoration:underline}
.gnb_1da {display:inline-block;padding:0 10px;width:128px;height:33px;border-bottom:1px solid #f4f4f4;font-weight:bold;text-decoration:none;line-height:2.9em !important;line-height:2.7em}
.gnb_1dli_on .gnb_1da {color:#fff !important;text-decoration:none !important}
.gnb_2dul {display:none;z-index:1000;position:absolute;border:1px solid #787f89}
.gnb_1dli_over .gnb_2dul, .gnb_1dli_over2 .gnb_2dul {display:block;top:-1px;left:127px;width:130px;background:#fff}
.gnb_1dli_over .gnb_2dul, .gnb_1dli_over2 .gnb_2dul {display:block;top:0;left:127px;width:130px;background:#fff}
.gnb_2da {display:none}
.gnb_1dli_over .gnb_2da {display:block;padding:0 10px;height:33px;border-bottom:1px solid #e9e9e9;line-height:2.9em !important;line-height:2.6em}
.gnb_2da:focus, .gnb_2da:hover {background:#f5f6fa;text-decoration:none}

View File

@ -15,7 +15,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
{
$gnb_zindex -= 1; // html 구조에서 앞선 gnb_1dli 에 더 높은 z-index 값 부여
?>
<li class="gnb_1dli">
<li class="gnb_1dli" style="z-index:<?php echo $gnb_zindex; ?>">
<a href="<?php echo G4_SHOP_URL.'/list.php?ca_id='.$row['ca_id']; ?>" class="gnb_1da"><?php echo $row['ca_name']; ?></a>
<?php
// 2단계 분류 판매 가능한 것만

View File

@ -226,7 +226,7 @@ else
<?php //echo it_name_icon($it, false, 0); ?>
<section id="sit_ov">
<h2 id="sit_title"><?php echo stripslashes($it['it_name']); ?></h2>
<h2 id="sit_title"><?php echo stripslashes($it['it_name']); ?> 요약정보 및 구매</h2>
<p id="sit_desc"><?php echo $it['it_basic']; ?></p>
<p id="sit_opt_info">
<?php
@ -510,12 +510,14 @@ else
<h2>상품 정보</h2>
<?php echo pg_anchor('inf'); ?>
<h3>상품 기본설명</h3>
<?php if ($it['it_basic']) { // 상품 기본설명 ?>
<div id="sit_inf_basic">
<?php echo $it['it_basic']; ?>
</div>
<?php } ?>
<h3>상품 상세설명</h3>
<?php if ($it['it_explan']) { // 상품 상세설명 ?>
<div id="sit_inf_explan">
<?php echo conv_content($it['it_explan'], 1); ?>

View File

@ -48,45 +48,20 @@ if (file_exists('./settle_'.$default['de_card_pg'].'.inc.php')) {
<script>
function CheckPayplusInstall()
{
if(!ChkBrowser())
StartSmartUpdate();
if(ChkBrowser())
{
var inst = 0;
for (var i = 0; i < navigator.plugins.length; i++)
{
if (navigator.plugins[i].name == "KCP")
{
if (navigator.mimeTypes && navigator.mimeTypes[GetPluginVersion()])
{
inst = 1;
}
else
{
inst = 2;
}
break;
}
}
if (inst != 1)
{
if (inst == 0)
{
alert("Microsoft Internet Exploer 외의 환경에서 이용하시려면 KCP 플러그인을 설치하셔야 합니다. 확인을 누르시면 플러그인 다운로드창이 호출됩니다. 설치후에는 반드시 브라우저를 재시작 하십시오.");
document.getElementById("display_setup_message").scrollIntoView();
}
else if (inst == 2)
{
alert("플러그인이 업데이트 되었습니다. 재설치 하시고 진행해 주시기 바랍니다. 재설치 후에는 반드시 브라우저를 재시작 하십시오.");
}
document.location.href = GetInstallFile();
return false;
if(document.Payplus.object != null) {
document.getElementById("display_setup_message_top").style.display = "none" ;
document.getElementById("display_setup_message").style.display = "none" ;
document.getElementById("display_pay_button").style.display = "block" ;
}
}
StartSmartUpdate();
setTimeout("init_pay_button();",300);
else
{
setTimeout("init_pay_button();",300);
}
}
/* Payplus Plug-in 실행 */
@ -118,17 +93,11 @@ function jsf__pay( form )
// Payplus Plug-in 설치 안내
function init_pay_button()
{
/*
if( document.Payplus.object == null )
document.getElementById("display_setup_message").style.display = "block" ;
else
document.getElementById("display_pay_button").style.display = "block" ;
*/
// 체크 방법이 변경
if( GetPluginObject() == null ){
document.getElementById("display_setup_message_top").style.display = "block" ;
document.getElementById("display_setup_message").style.display = "block" ;
document.getElementById("display_pay_button").style.display = "none" ;
document.getElementById("display_setup_message").scrollIntoView();
}
else{
document.getElementById("display_setup_message_top").style.display = "none" ;
@ -137,7 +106,6 @@ function init_pay_button()
}
}
function get_intall_file()
{
document.location.href = GetInstallFile();

View File

@ -9,8 +9,8 @@ include_once(G4_LIB_PATH.'/connect.lib.php');
include_once(G4_LIB_PATH.'/popular.lib.php');
?>
<header id="hd">
<h1><?php echo $config['cf_title'] ?></h1>
<div id="hd">
<h1 id="hd_h1"><?php echo $g4['title'] ?></h1>
<div id="skip_to_container"><a href="#container">본문 바로가기</a></div>
@ -86,7 +86,7 @@ include_once(G4_LIB_PATH.'/popular.lib.php');
</div>
</aside>
</header>
</div>
<div id="wrapper">
@ -120,7 +120,7 @@ include_once(G4_LIB_PATH.'/popular.lib.php');
</div>
<div id="container">
<?php if ((!$bo_table || $w == 's' ) && !defined('_INDEX_')) { ?><h1 id="wrapper_title"><?php echo $g4['title'] ?></h1><?php } ?>
<?php if ((!$bo_table || $w == 's' ) && !defined('_INDEX_')) { ?><div id="wrapper_title"><?php echo $g4['title'] ?></div><?php } ?>
<div id="text_size">
<button class="no_text_resize" onclick="font_resize('container', 'decrease');">작게</button>
<button class="no_text_resize" onclick="font_default('container');">기본</button>

View File

@ -10,8 +10,7 @@ $admin = get_admin("super");
</div><!-- Container End -->
</div><!-- Wrapper End -->
<footer id="ft">
<h1><?php echo $config['cf_title']; ?> 정보</h1>
<div id="ft">
<div>
<a href="<?php echo G4_SHOP_URL; ?>/" id="ft_logo"><img src="<?php echo G4_DATA_URL; ?>/common/logo_img" alt="처음으로"></a>
<ul>
@ -33,7 +32,7 @@ $admin = get_admin("super");
</p>
<a href="#" id="ft_totop">상단으로</a>
</div>
</footer>
</div>
<?php
$sec = get_microtime() - $begin_time;