쇼핑몰: merge 충돌 수정
This commit is contained in:
@ -186,4 +186,4 @@ function imageview(id, w, h)
|
||||
<button class="no_text_resize" onclick="font_default('container');">기본</button>
|
||||
<button class="no_text_resize" onclick="font_resize('container', 'increase');">크게</button>
|
||||
</div>
|
||||
<h1><?php echo $g4['title'] ?></h1>
|
||||
<h1><?php echo $g4['title'] ?></h1>
|
||||
|
||||
@ -40,11 +40,12 @@ $(function(){
|
||||
});
|
||||
|
||||
// 주메뉴
|
||||
var $gnb = $('.gnb_1depth > a');
|
||||
var $gnb = $(".gnb_1dli > a");
|
||||
$gnb.mouseover(function() {
|
||||
if(mouse_event) {
|
||||
$('.gnb_1depth').removeClass('gnb_1depth_over gnb_1depth_on');
|
||||
$(this).parent().addClass('gnb_1depth_over gnb_1depth_on');
|
||||
$(".gnb_1dli").removeClass("gnb_1dli_over gnb_1dli_over2 gnb_1dli_on");
|
||||
$(this).parent().addClass("gnb_1dli_over gnb_1dli_on");
|
||||
menu_rearrange($(this).parent());
|
||||
hide_menu = false;
|
||||
}
|
||||
});
|
||||
@ -53,17 +54,18 @@ $(function(){
|
||||
hide_menu = true;
|
||||
});
|
||||
|
||||
$('.gnb_1depth li').mouseover(function() {
|
||||
$(".gnb_2dli").mouseover(function() {
|
||||
hide_menu = false;
|
||||
});
|
||||
|
||||
$('.gnb_1depth li').mouseout(function() {
|
||||
$(".gnb_2dli").mouseout(function() {
|
||||
hide_menu = true;
|
||||
});
|
||||
|
||||
$gnb.focusin(function() {
|
||||
$('.gnb_1depth').removeClass('gnb_1depth_over gnb_1depth_on');
|
||||
$(this).parent().addClass('gnb_1depth_over gnb_1depth_on');
|
||||
$(".gnb_1dli").removeClass("gnb_1dli_over gnb_1dli_over2 gnb_1dli_on");
|
||||
$(this).parent().addClass("gnb_1dli_over gnb_1dli_on");
|
||||
menu_rearrange($(this).parent());
|
||||
hide_menu = false;
|
||||
});
|
||||
|
||||
@ -71,29 +73,63 @@ $(function(){
|
||||
hide_menu = true;
|
||||
});
|
||||
|
||||
$('.gnb_1depth ul a').focusin(function() {
|
||||
$('.gnb_1depth').removeClass('gnb_1depth_over gnb_1depth_on');
|
||||
var $gnb_li = $(this).closest('.gnb_1depth').addClass('gnb_1depth_over gnb_1depth_on');
|
||||
$(".gnb_2da").focusin(function() {
|
||||
$(".gnb_1dli").removeClass("gnb_1dli_over gnb_1dli_over2 gnb_1dli_on");
|
||||
var $gnb_li = $(this).closest(".gnb_1dli").addClass("gnb_1dli_over gnb_1dli_on");
|
||||
menu_rearrange($(this).closest(".gnb_1dli"));
|
||||
hide_menu = false;
|
||||
});
|
||||
|
||||
$('.gnb_1depth ul a').focusout(function() {
|
||||
$(".gnb_2da").focusout(function() {
|
||||
hide_menu = true;
|
||||
});
|
||||
|
||||
$(document).click(function() {
|
||||
$('#gnb_1dul>li').bind('mouseleave',function(){
|
||||
submenu_hide();
|
||||
});
|
||||
|
||||
$(document).bind('click focusin',function(){
|
||||
if(hide_menu) {
|
||||
$('.gnb_1depth').removeClass('gnb_1depth_over gnb_1depth_on');
|
||||
submenu_hide();
|
||||
}
|
||||
});
|
||||
|
||||
$(document).focusin(function() {
|
||||
if(hide_menu) {
|
||||
$('.gnb_1depth').removeClass('gnb_1depth_over gnb_1depth_on');
|
||||
}
|
||||
});
|
||||
function submenu_hide() {
|
||||
$(".gnb_1dli").removeClass("gnb_1dli_over gnb_1dli_over2 gnb_1dli_on");
|
||||
}
|
||||
|
||||
// 텍스트 리사이즈 카운트 쿠키있으면 실행
|
||||
var resize_act;
|
||||
var text_resize_count = parseInt(get_cookie("ck_font_resize_count"));
|
||||
if(!isNaN(text_resize_count)) {
|
||||
if(text_resize_count > 0)
|
||||
resize_act = "increase";
|
||||
else if(text_resize_count < 0)
|
||||
resize_act = "decrease";
|
||||
|
||||
if(Math.abs(text_resize_count) > 0)
|
||||
font_resize2("container", resize_act, Math.abs(text_resize_count));
|
||||
}
|
||||
});
|
||||
|
||||
function menu_rearrange(el)
|
||||
{
|
||||
var width = $("#gnb_1dul").width();
|
||||
var left = w1 = w2 = 0;
|
||||
var idx = $(".gnb_1dli").index(el);
|
||||
|
||||
for(i=0; i<=idx; i++) {
|
||||
w1 = $(".gnb_1dli:eq("+i+")").outerWidth();
|
||||
w2 = $(".gnb_2dli > a:eq("+i+")").outerWidth(true);
|
||||
|
||||
if((left + w2) > width) {
|
||||
el.removeClass("gnb_1dli_over").addClass("gnb_1dli_over2");
|
||||
}
|
||||
|
||||
left += w1;
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<?php
|
||||
|
||||
@ -122,7 +122,7 @@ include_once('./admin.head.php');
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="mb_name">이름(실명)<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="text" name="mb_name" value="<?php echo $mb['mb_name'] ?>" id="mb_name" required class="required hangul frm_input minlength=2" size="15" maxlength="20"></td>
|
||||
<td><input type="text" name="mb_name" value="<?php echo $mb['mb_name'] ?>" id="mb_name" required class="required frm_input minlength=2" size="15" maxlength="20"></td>
|
||||
<th scope="row"><label for="mb_nick">별명<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="text" name="mb_nick" value="<?php echo $mb['mb_nick'] ?>" id="mb_nick" required class="required frm_input minlength=2" size="15" maxlength="20"></td>
|
||||
</tr>
|
||||
@ -141,7 +141,7 @@ include_once('./admin.head.php');
|
||||
<tr>
|
||||
<th scope="row"><label for="mb_tel">전화번호</label></th>
|
||||
<td><input type="text" name="mb_tel" value="<?php echo $mb['mb_tel'] ?>" id="mb_tel" class="frm_input" size="15" maxlength="20"></td>
|
||||
<th scope="row"><label for="mb_hp">핸드폰번호</label></th>
|
||||
<th scope="row"><label for="mb_hp">휴대폰번호</label></th>
|
||||
<td><input type="text" name="mb_hp" value="<?php echo $mb['mb_hp'] ?>" id="mb_hp" class="frm_input" size="15" maxlength="20"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@ -16,7 +16,7 @@ if ($member['mb_password'] != sql_password($_POST['admin_password'])) {
|
||||
|
||||
$mb_id = escape_trim($_POST['mb_id']);
|
||||
|
||||
// 핸드폰번호 체크
|
||||
// 휴대폰번호 체크
|
||||
$mb_hp = $_POST['mb_hp'];
|
||||
if($mb_hp) {
|
||||
$result = exist_mb_hp($mb_hp, $mb_id);
|
||||
|
||||
@ -85,7 +85,7 @@ $colspan = 15;
|
||||
<option value="mb_level"<?php echo get_selected($_GET['sfl'], "mb_level"); ?>>권한</option>
|
||||
<option value="mb_email"<?php echo get_selected($_GET['sfl'], "mb_email"); ?>>E-MAIL</option>
|
||||
<option value="mb_tel"<?php echo get_selected($_GET['sfl'], "mb_tel"); ?>>전화번호</option>
|
||||
<option value="mb_hp"<?php echo get_selected($_GET['sfl'], "mb_hp"); ?>>핸드폰번호</option>
|
||||
<option value="mb_hp"<?php echo get_selected($_GET['sfl'], "mb_hp"); ?>>휴대폰번호</option>
|
||||
<option value="mb_point"<?php echo get_selected($_GET['sfl'], "mb_point"); ?>>포인트</option>
|
||||
<option value="mb_datetime"<?php echo get_selected($_GET['sfl'], "mb_datetime"); ?>>가입일시</option>
|
||||
<option value="mb_ip"<?php echo get_selected($_GET['sfl'], "mb_ip"); ?>>IP</option>
|
||||
|
||||
@ -53,21 +53,18 @@ if (isset($wr_id) && $wr_id) {
|
||||
}
|
||||
|
||||
// 휴대폰 본인확인을 사용한다면
|
||||
if ($config['cf_kcpcert_use'] != '') {
|
||||
if ($config['cf_kcpcert_use'] != '' && !$is_admin) {
|
||||
// 인증된 회원만 가능
|
||||
if ($board['bo_use_cert'] != '') {
|
||||
if ($is_guest) {
|
||||
alert('이 게시판은 휴대폰 본인확인 하신 회원님만 글 읽기가 가능합니다.\\n\\n회원이시라면 로그인 후 이용해 보십시오.', './login.php?wr_id='.$wr_id.$qstr.'&url='.urlencode(G4_BBS_URL.'/board.php?bo_table='.$bo_table.'&wr_id='.$wr_id.$qstr));
|
||||
}
|
||||
if ($board['bo_use_cert'] != '' && $is_guest) {
|
||||
alert('이 게시판은 휴대폰 본인확인 하신 회원님만 글읽기가 가능합니다.\\n\\n회원이시라면 로그인 후 이용해 보십시오.', './login.php?wr_id='.$wr_id.$qstr.'&url='.urlencode(G4_BBS_URL.'/board.php?bo_table='.$bo_table.'&wr_id='.$wr_id.$qstr));
|
||||
}
|
||||
|
||||
$hp_certify = substr($member['mb_hp_certify'],0,1) == '0' ? false : true;
|
||||
if ($hp_certify == false) {
|
||||
alert('이 게시판은 휴대폰 본인확인 하신 회원님만 글 읽기가 가능합니다.\\n\\n회원정보 수정에서 휴대폰 본인확인을 해주시기 바랍니다.', G4_URL);
|
||||
}
|
||||
if ($board['bo_use_cert'] == 'cert' && hp_certify($member) != 'Y') {
|
||||
alert('이 게시판은 휴대폰 본인확인 하신 회원님만 글읽기가 가능합니다.\\n\\n회원정보 수정에서 휴대폰 본인확인을 해주시기 바랍니다.', G4_URL);
|
||||
}
|
||||
|
||||
if ($member['mb_adult'] != 'Y') {
|
||||
alert('이 게시판은 휴대폰 성인인증 하신 회원님만 글 읽기가 가능합니다.\\n\\n성인인데 글읽기가 안된다면 회원정보 수정에서 휴대폰 본인확인을\\n다시 해주시기 바랍니다.', G4_URL);
|
||||
}
|
||||
if ($board['bo_use_cert'] == 'adult' && $member['mb_adult'] != 'Y') {
|
||||
alert('이 게시판은 휴대폰 본인확인으로 성인 인증된 회원님만 글읽기가 가능합니다.\\n\\n성인인데 글읽기가 안된다면 회원정보 수정에서 휴대폰 본인확인을\\n다시 해주시기 바랍니다.', G4_URL);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -176,6 +176,22 @@ if (!empty($group['gr_use_access'])) {
|
||||
}
|
||||
}
|
||||
|
||||
// 휴대폰 본인확인을 사용한다면
|
||||
if ($config['cf_kcpcert_use'] != '' && !$is_admin) {
|
||||
// 인증된 회원만 가능
|
||||
if ($board['bo_use_cert'] != '' && $is_guest) {
|
||||
alert('이 게시판은 휴대폰 본인확인 하신 회원님만 글쓰기가 가능합니다.\\n\\n회원이시라면 로그인 후 이용해 보십시오.', 'login.php?'.$qstr.'&url='.urlencode($_SERVER['PHP_SELF'].'?bo_table='.$bo_table));
|
||||
}
|
||||
|
||||
if ($board['bo_use_cert'] == 'cert' && hp_certify($member) != 'Y') {
|
||||
alert('이 게시판은 휴대폰 본인확인 하신 회원님만 글쓰기가 가능합니다.\\n\\n회원정보 수정에서 휴대폰 본인확인을 해주시기 바랍니다.', G4_URL);
|
||||
}
|
||||
|
||||
if ($board['bo_use_cert'] == 'adult' && $member['mb_adult'] != 'Y') {
|
||||
alert('이 게시판은 휴대폰 본인확인으로 성인 인증된 회원님만 글쓰기가 가능합니다.\\n\\n성인인데 글읽기가 안된다면 회원정보 수정에서 휴대폰 본인확인을\\n다시 해주시기 바랍니다.', G4_URL);
|
||||
}
|
||||
}
|
||||
|
||||
$g4['title'] = $board['bo_subject']." ".$title_msg;
|
||||
|
||||
$is_notice = false;
|
||||
|
||||
@ -8,7 +8,7 @@ $msg = array();
|
||||
|
||||
$wr_subject = '';
|
||||
if (isset($_POST['wr_subject'])) {
|
||||
$wr_subject = trim($_POST['wr_subject']);
|
||||
$wr_subject = substr(escape_trim($_POST['wr_subject']),0,255);
|
||||
}
|
||||
if ($wr_subject == '') {
|
||||
$msg[] = '<strong>제목</strong>을 입력하세요.';
|
||||
@ -16,12 +16,22 @@ if ($wr_subject == '') {
|
||||
|
||||
$wr_content = '';
|
||||
if (isset($_POST['wr_content'])) {
|
||||
$wr_content = trim($_POST['wr_content']);
|
||||
$wr_content = escape_trim($_POST['wr_content']);
|
||||
}
|
||||
if ($wr_content == '') {
|
||||
$msg[] = '<strong>내용</strong>을 입력하세요.';
|
||||
}
|
||||
|
||||
$wr_link1 = '';
|
||||
if (isset($_POST['wr_link1'])) {
|
||||
$wr_link1 = substr(escape_trim($_POST['wr_link1']),0,1000);
|
||||
}
|
||||
|
||||
$wr_link2 = '';
|
||||
if (isset($_POST['wr_link2'])) {
|
||||
$wr_link2 = substr(escape_trim($_POST['wr_link2']),0,1000);
|
||||
}
|
||||
|
||||
$msg = implode('<br>', $msg);
|
||||
if ($msg) {
|
||||
alert($msg);
|
||||
|
||||
@ -184,7 +184,7 @@ textarea {width:90%}
|
||||
select {border:1px solid #ced9de}
|
||||
button {padding:3px;border:1px solid #ced9de;background:#f6f9fa;cursor:pointer}
|
||||
fieldset {margin-bottom:20px}
|
||||
legend {margin:0;padding:0;width:1px;height:1px;font-size:0;line-height:0;border:0;overflow:hidden}
|
||||
legend {position:absolute;font-size:0;line-height:0;border:0;overflow:hidden}
|
||||
fieldset span {display:block;margin-bottom:10px}
|
||||
fieldset p {color:#4c5f67}
|
||||
fieldset button, .fieldset_submit {padding:0 15px;height:23px;border:0;background:#617d46;color:#fff;font-size:1em;line-height:2.1em;vertical-align:middle;cursor:pointer}
|
||||
@ -514,4 +514,4 @@ strong.sodr_nonpay {display:block;padding:5px 0;text-align:right}
|
||||
|
||||
#anc_pricecompare_engine dt a {font-weight:bold}
|
||||
#anc_pricecompare_engine dd {margin:0 0 30px}
|
||||
#anc_pricecompare_engine li {margin:5px 0}
|
||||
#anc_pricecompare_engine li {margin:5px 0}
|
||||
|
||||
@ -28,7 +28,7 @@ a:active {color:#000;text-decoration:underline}
|
||||
.msg_sound_only,
|
||||
.sound_only {display:inline-block !important;position:absolute;top:0;left:0;margin:0 !important;padding:0 !important;font-size:0;line-height:0;border:0 !important;overflow:hidden !important}
|
||||
/* 본문 바로가기 */
|
||||
#to_content a {z-index:100000;position:absolute;top:0;left:0;font-size:0;line-height:0;overflow:hidden}
|
||||
#to_content a {z-index:100000;position:absolute;top:0;left:0;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
|
||||
#to_content a:focus,
|
||||
#to_content a:active {width:100%;height:75px;background:#21272e;color:#fff;font-size:2em;font-weight:bold;text-align:center;text-decoration:none;line-height:3.3em}
|
||||
|
||||
|
||||
10
head.php
10
head.php
@ -132,21 +132,21 @@ if ($config['cf_include_head']) {
|
||||
<nav id="gnb">
|
||||
<script>$('#gnb').addClass('gnb_js');</script>
|
||||
<h2>홈페이지 메인메뉴</h2>
|
||||
<ul id="gnb_ul">
|
||||
<ul id="gnb_1dul">
|
||||
<?php
|
||||
$sql = " select * from {$g4['group_table']} where gr_show_menu = '1' and gr_device <> 'mobile' order by gr_order ";
|
||||
$result = sql_query($sql);
|
||||
for ($gi=0; $row=sql_fetch_array($result); $gi++) { // gi 는 group index
|
||||
?>
|
||||
<li class="gnb_1depth">
|
||||
<a href="<?php echo G4_BBS_URL ?>/group.php?gr_id=<?php echo $row['gr_id'] ?>"><?php echo $row['gr_subject'] ?></a>
|
||||
<ul class="gnb_sub_ul">
|
||||
<li class="gnb_1dli">
|
||||
<a href="<?php echo G4_BBS_URL ?>/group.php?gr_id=<?php echo $row['gr_id'] ?>" class="gnb_1da"><?php echo $row['gr_subject'] ?></a>
|
||||
<ul class="gnb_2dul">
|
||||
<?php
|
||||
$sql2 = " select * from {$g4['board_table']} where gr_id = '{$row['gr_id']}' and bo_show_menu = '1' and bo_device <> 'mobile' order by bo_order ";
|
||||
$result2 = sql_query($sql2);
|
||||
for ($bi=0; $row2=sql_fetch_array($result2); $bi++) { // bi 는 board index
|
||||
?>
|
||||
<li class="gnb_2depth"><a href="<?php echo G4_BBS_URL ?>/board.php?bo_table=<?php echo $row2['bo_table'] ?>"><?php echo $row2['bo_subject'] ?></a></li>
|
||||
<li class="gnb_2dli"><a href="<?php echo G4_BBS_URL ?>/board.php?bo_table=<?php echo $row2['bo_table'] ?>" class="gnb_2da"><?php echo $row2['bo_subject'] ?></a></li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
49
js/common.js
49
js/common.js
@ -531,48 +531,48 @@ function save_default_font_size($el)
|
||||
|
||||
|
||||
$(function(){
|
||||
$('.win_point').click(function() {
|
||||
$(".win_point").click(function() {
|
||||
win_point(this.href);
|
||||
return false;
|
||||
});
|
||||
|
||||
$('.win_memo').click(function() {
|
||||
$(".win_memo").click(function() {
|
||||
win_memo(this.href);
|
||||
return false;
|
||||
});
|
||||
|
||||
$('.win_email').click(function() {
|
||||
$(".win_email").click(function() {
|
||||
win_email(this.ref);
|
||||
return false;
|
||||
});
|
||||
|
||||
$('.win_scrap').click(function() {
|
||||
$(".win_scrap").click(function() {
|
||||
win_scrap(this.href);
|
||||
return false;
|
||||
});
|
||||
|
||||
$('.win_profile').click(function() {
|
||||
$(".win_profile").click(function() {
|
||||
win_profile(this.ref);
|
||||
return false;
|
||||
});
|
||||
|
||||
$('.win_homepage').click(function() {
|
||||
$(".win_homepage").click(function() {
|
||||
win_homepage(this.ref);
|
||||
return false;
|
||||
});
|
||||
|
||||
$('.win_zip_find').click(function() {
|
||||
$(".win_zip_find").click(function() {
|
||||
win_zip(this.href);
|
||||
return false;
|
||||
});
|
||||
|
||||
$('.win_password_lost').click(function() {
|
||||
$(".win_password_lost").click(function() {
|
||||
win_password_lost(this.href);
|
||||
return false;
|
||||
});
|
||||
|
||||
/*
|
||||
$('.win_poll').click(function() {
|
||||
$(".win_poll").click(function() {
|
||||
win_poll(this.href);
|
||||
return false;
|
||||
});
|
||||
@ -580,12 +580,12 @@ $(function(){
|
||||
|
||||
// 사이드뷰
|
||||
var sv_hide = false;
|
||||
$('.sv_member, .sv_guest').click(function() {
|
||||
$('.sv').removeClass('sv_on');
|
||||
$(this).closest('.sv_wrap').find('.sv').addClass('sv_on');
|
||||
$(".sv_member, .sv_guest").click(function() {
|
||||
$(".sv").removeClass("sv_on");
|
||||
$(this).closest(".sv_wrap").find(".sv").addClass("sv_on");
|
||||
});
|
||||
|
||||
$('.sv, .sv_wrap').hover(
|
||||
$(".sv, .sv_wrap").hover(
|
||||
function() {
|
||||
sv_hide = false;
|
||||
},
|
||||
@ -594,29 +594,38 @@ $(function(){
|
||||
}
|
||||
);
|
||||
|
||||
$('.sv_member, .sv_guest').focusin(function() {
|
||||
$(".sv_member, .sv_guest").focusin(function() {
|
||||
sv_hide = false;
|
||||
$('.sv').removeClass('sv_on');
|
||||
$(this).closest('.sv_wrap').find('.sv').addClass('sv_on');
|
||||
$(".sv").removeClass("sv_on");
|
||||
$(this).closest(".sv_wrap").find(".sv").addClass("sv_on");
|
||||
});
|
||||
|
||||
$('.sv a').focusin(function() {
|
||||
$(".sv a").focusin(function() {
|
||||
sv_hide = false;
|
||||
});
|
||||
|
||||
$('.sv a').focusout(function() {
|
||||
$(".sv a").focusout(function() {
|
||||
sv_hide = true;
|
||||
});
|
||||
|
||||
$(document).click(function() {
|
||||
if(sv_hide) {
|
||||
$('.sv').removeClass('sv_on');
|
||||
$(".sv").removeClass("sv_on");
|
||||
}
|
||||
});
|
||||
|
||||
$(document).focusin(function() {
|
||||
if(sv_hide) {
|
||||
$('.sv').removeClass('sv_on');
|
||||
$(".sv").removeClass("sv_on");
|
||||
}
|
||||
});
|
||||
|
||||
$("textarea#wr_content[maxlength]").live("keyup change", function() {
|
||||
var str = $(this).val()
|
||||
var mx = parseInt($(this).attr("maxlength"))
|
||||
if (str.length > mx) {
|
||||
$(this).val(str.substr(0, mx));
|
||||
return false;
|
||||
}
|
||||
});
|
||||
});
|
||||
@ -1967,7 +1967,12 @@ function html_end()
|
||||
$stylesheet .= $link;
|
||||
$buffer = preg_replace('#'.$link.'#', '', $buffer);
|
||||
}
|
||||
return preg_replace('#(</title>)#', "$1$stylesheet", $buffer);
|
||||
/*
|
||||
</title>
|
||||
<link rel="stylesheet" href="default.css">
|
||||
밑으로 스킨의 스타일시트가 위치하도록 하게 한다.
|
||||
*/
|
||||
return preg_replace('#(</title>[^<]*<link[^>]+>)#', "$1$stylesheet", $buffer);
|
||||
}
|
||||
|
||||
|
||||
@ -1977,4 +1982,11 @@ function hyphen_hp_number($hp)
|
||||
$hp = preg_replace("/[^0-9]/", "", $hp);
|
||||
return preg_replace("/([0-9]{3})([0-9]{3,4})([0-9]{4})$/", "\\1-\\2-\\3", $hp);
|
||||
}
|
||||
|
||||
|
||||
// 휴대폰 본인확인을 받은 회원인지를 가린다.
|
||||
function hp_certify($member)
|
||||
{
|
||||
return substr($member['mb_hp_certify'],0,1) == '0' ? 'N' : 'Y';
|
||||
}
|
||||
?>
|
||||
@ -147,7 +147,7 @@ function valid_mb_hp($reg_mb_hp)
|
||||
{
|
||||
$reg_mb_hp = preg_replace("/[^0-9]/", "", $reg_mb_hp);
|
||||
if(!$reg_mb_hp)
|
||||
return "핸드폰번호를 입력해 주십시오.";
|
||||
return "휴대폰번호를 입력해 주십시오.";
|
||||
else {
|
||||
if(preg_match("/^01[0-9]{8,9}$/", $reg_mb_hp))
|
||||
return "";
|
||||
@ -160,13 +160,15 @@ function exist_mb_hp($reg_mb_hp, $reg_mb_id)
|
||||
{
|
||||
global $g4;
|
||||
|
||||
if (!trim($reg_mb_hp)) return "";
|
||||
|
||||
$reg_mb_hp = hyphen_hp_number($reg_mb_hp);
|
||||
|
||||
$sql = "select count(*) as cnt from {$g4['member_table']} where mb_hp = '$reg_mb_hp' and mb_id <> '$reg_mb_id' ";
|
||||
$row = sql_fetch($sql);
|
||||
|
||||
if($row['cnt'])
|
||||
return "이미 사용 중인 핸드폰번호입니다.";
|
||||
return " 이미 사용 중인 휴대폰번호입니다. ".$reg_mb_hp;
|
||||
else
|
||||
return "";
|
||||
}
|
||||
|
||||
@ -179,7 +179,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<th scope="row"><label for="reg_mb_sms">SMS 수신여부</label></th>
|
||||
<td>
|
||||
<input type="checkbox" name="mb_sms" value="1" id="reg_mb_sms" <?php echo ($w=='' || $member['mb_sms'])?'checked':''; ?>>
|
||||
핸드폰 문자메세지를 받겠습니다.
|
||||
휴대폰 문자메세지를 받겠습니다.
|
||||
</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
|
||||
@ -36,7 +36,7 @@ function editor_html($id, $content, $ckeditor=true, $class="")
|
||||
}
|
||||
|
||||
$ckeditor_class = $ckeditor ? "ckeditor" : "";
|
||||
$html .= "\n<textarea id=\"$id\" name=\"$id\" class=\"$ckeditor_class $class\" style=\"width:100%;\">$content</textarea>";
|
||||
$html .= "\n<textarea id=\"$id\" name=\"$id\" class=\"$ckeditor_class $class\" style=\"width:100%;\" maxlength=\"65536\">$content</textarea>";
|
||||
$html .= "\n<span class=\"sound_only\">웹 에디터 끝</span>";
|
||||
return $html;
|
||||
}
|
||||
|
||||
@ -1,23 +1,24 @@
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
|
||||
$w = trim($_POST['mb_hp']);
|
||||
$w = trim($_POST['w']);
|
||||
$reg_hp = preg_replace("/[^0-9]/", "", trim($_POST['mb_hp'])); // 숫자외에 문자는 제거
|
||||
$old_hp = preg_replace("/[^0-9]/", "", trim($_POST['old_mb_hp']));
|
||||
|
||||
if ($w=='' || ($w=='u' && $reg_hp != $old_hp)) {
|
||||
// 본인인증체크
|
||||
//$kcpcert_no = trim($_POST['kcpcert_no']);
|
||||
$kcpcert_no = get_session('ss_kcpcert_no');
|
||||
if(!$kcpcert_no)
|
||||
die("{\"error\":\"휴대폰인증이 되지 않았습니다. 휴대폰인증을 해주세요.\"}");
|
||||
if ($w!='' && $w!='u') die("{\"error\":\"w 작업구분 오류\"}");
|
||||
|
||||
// 본인인증 hash 체크
|
||||
$reg_name = trim($_POST['mb_name']);
|
||||
$reg_hash = md5($reg_hp.$reg_name.$kcpcert_no);
|
||||
$ss_hash = get_session('ss_kcpcert_hash');
|
||||
if(get_session('ss_kcpcert_hash') != $reg_hash)
|
||||
die("{\"error\":\"이름 또는 휴대폰번호가 올바르지 않습니다. 정상적인 방법으로 이용해 주세요.\"}");
|
||||
if ($w=='' || ($w=='u' && $reg_hp != $old_hp)) {
|
||||
// 본인인증체크
|
||||
$kcpcert_no = get_session('ss_kcpcert_no');
|
||||
if(!$kcpcert_no)
|
||||
die("{\"error\":\"휴대폰인증이 되지 않았습니다. 휴대폰인증을 해주세요.\"}");
|
||||
|
||||
// 본인인증 hash 체크
|
||||
$reg_name = trim($_POST['mb_name']);
|
||||
$reg_hash = md5($reg_hp.$reg_name.$kcpcert_no);
|
||||
$ss_hash = get_session('ss_kcpcert_hash');
|
||||
if(get_session('ss_kcpcert_hash') != $reg_hash)
|
||||
die("{\"error\":\"이름 또는 휴대폰번호가 올바르지 않습니다.\\n\\n정상적인 방법으로 이용해 주세요.\"}");
|
||||
}
|
||||
|
||||
die("{\"error\":\"\"}"); // 정상
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// 핸드폰번호 체크
|
||||
// 휴대폰번호 체크
|
||||
if ($msg = valid_mb_hp($mb_hp)) alert($msg, "", true, true);
|
||||
if ($msg = exist_mb_hp($mb_hp, $mb_id)) alert($msg, "", true, true);
|
||||
|
||||
$reg_hp = hyphen_hp_number($mb_hp);
|
||||
$reg_hp = preg_replace("/[^0-9]/", "", trim($_POST['mb_hp']));
|
||||
|
||||
/* ======================================================================================================= */
|
||||
/* = 휴대폰인증 및 성인인증 = */
|
||||
@ -23,7 +23,7 @@ if($w == '') {
|
||||
|
||||
} else if($w == 'u') {
|
||||
// 휴대폰번호 변경체크
|
||||
$old_hp = preg_replace("/[^0-9]/", "", $_POST['old_mb_hp']);
|
||||
$old_hp = preg_replace("/[^0-9]/", "", trim($_POST['old_mb_hp']));
|
||||
|
||||
if($old_hp !== $reg_hp) {
|
||||
// 본인인증체크
|
||||
|
||||
@ -141,7 +141,6 @@ if( $cert_enc_use == "Y" )
|
||||
set_session("ss_kcpcert_no", $md5_cert_no);
|
||||
set_session("ss_kcpcert_time", G4_TIME_YMDHIS);
|
||||
set_session("ss_kcpcert_hash", $hash_data);
|
||||
//alert_close($phone_no.$user_name.$md5_cert_no);
|
||||
|
||||
// 성인인증결과
|
||||
$adult_day = date("Ymd", strtotime("-19 years", G4_SERVER_TIME));
|
||||
@ -173,8 +172,7 @@ $(function() {
|
||||
// 인증정보
|
||||
$opener.$("input[name=mb_hp]").val("<?php echo $phone_no ?>");
|
||||
$opener.$("input[name=mb_name]").val("<?php echo $user_name ?>");
|
||||
//$opener.$("input[name=kcpcert_no]").val("<?php echo $md5_cert_no ?>");
|
||||
//$opener.$("input[name=kcpcert_time]").val("<?php echo G4_TIME_YMDHIS ?>");
|
||||
alert("본인의 휴대폰번호로 확인 되었습니다.");
|
||||
window.close();
|
||||
});
|
||||
</script>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
include_once('../common.php');
|
||||
|
||||
if (!defined('G4_USE_SHOP') || !G4_USE_SHOP)
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
include_once(G4_SHOP_PATH.'/shop.head.php');
|
||||
?>
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
include_once(G4_SHOP_PATH.'/shop.tail.php');
|
||||
?>
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
include_once("./_common.php");
|
||||
|
||||
if ($_COOKIE['ck_bn_id'] != $bn_id)
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
// 배너 출력
|
||||
$sql = " select * from {$g4['shop_banner_table']}
|
||||
where '".G4_TIME_YMDHIS."' between bn_begin_time and bn_end_time
|
||||
@ -7,7 +7,7 @@ $sql = " select * from {$g4['shop_banner_table']}
|
||||
$result = sql_query($sql);
|
||||
?>
|
||||
<table width=100% cellpadding=0 cellspacing=0>
|
||||
<?
|
||||
<?php
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
{
|
||||
//print_r2($row);
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
<?
|
||||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<table cellpadding=0 cellspacing=0 bgcolor=#FFFFFF>
|
||||
<tr><td><a href='<?=$g4[shop_path]?>/cart.php'><img src='<?=G4_SHOP_URL?>/img/bar_cart.gif' border=0></a></td></tr>
|
||||
<?
|
||||
<tr><td><a href='<?php echo G4_SHOP_URL; ?>/cart.php'><img src='<?php echo G4_SHOP_URL; ?>/img/bar_cart.gif' border=0></a></td></tr>
|
||||
<?php
|
||||
$hsql = " select a.it_id, b.it_name, a.ct_qty from {$g4['shop_cart_table']} a, {$g4['shop_item_table']} b
|
||||
where a.uq_id = '".get_session('ss_uq_id')."'
|
||||
and a.it_id = b.it_id
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$tv_idx = get_session("ss_tv_idx");
|
||||
|
||||
$tv_div['top'] = 0;
|
||||
@ -7,11 +7,11 @@ $tv_div['img_height'] = 70;
|
||||
$tv_div['img_length'] = 4; // 보여지는 최대 이미지수
|
||||
?>
|
||||
|
||||
<div id='divTodayHidden' style="position:relative; top:<?=$tv_div['top']?>;display:none;"><a href='javascript:todayview_visible();'><img src='<?=G4_SHOP_URL?>/img/todayview.gif' border=0></a></div>
|
||||
<div id='divTodayHidden' style="position:relative; top:<?php echo $tv_div['top']; ?>;display:none;"><a href='javascript:todayview_visible();'><img src='<?php echo G4_SHOP_URL; ?>/img/todayview.gif' border=0></a></div>
|
||||
<div id='divToday' style="position:relative; top:0;">
|
||||
<table cellpadding=0 cellspacing=0 border="0" bgcolor="#FFFFFF">
|
||||
<tr><td background='<?=G4_SHOP_URL?>/img/todayview01.gif' height=31 align=right><span id='todayviewcount'></span> </td></tr>
|
||||
<?
|
||||
<tr><td background='<?php echo G4_SHOP_URL; ?>/img/todayview01.gif' height=31 align=right><span id='todayviewcount'></span> </td></tr>
|
||||
<?php
|
||||
// 오늘 본 상품이 있다면
|
||||
if ($tv_idx)
|
||||
{
|
||||
@ -38,14 +38,14 @@ else
|
||||
echo "<tr><td><img src='".G4_SHOP_URL."/img/todayview04.gif'></td></tr>";
|
||||
}
|
||||
?>
|
||||
<tr><td><a href='javascript:todayview_hidden();'><img src='<?=G4_SHOP_URL?>/img/todayview06.gif' border=0></a></td></tr>
|
||||
<tr><td><a href='javascript:todayview_hidden();'><img src='<?php echo G4_SHOP_URL; ?>/img/todayview06.gif' border=0></a></td></tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<!-- 오늘 본 상품 -->
|
||||
<script language="JavaScript">
|
||||
var goods_link = new Array();
|
||||
<?
|
||||
<?php
|
||||
echo "var goods_max = ".(int)$tv_idx.";\n";
|
||||
echo "var goods_length = ".(int)$tv_div['img_length'].";\n";
|
||||
echo "var goods_current = goods_max;\n";
|
||||
@ -108,7 +108,7 @@ function todayview_dn()
|
||||
todayview_move(goods_current--);
|
||||
}
|
||||
|
||||
<?
|
||||
<?php
|
||||
$k=0;
|
||||
for ($i=$tv_idx; $i>0; $i--)
|
||||
{
|
||||
@ -135,11 +135,11 @@ function CheckUIElements()
|
||||
yMenuFrom = parseInt (document.getElementById('divToday').style.top, 10);
|
||||
/*
|
||||
if ( g4_is_gecko )
|
||||
yMenuTo = top.pageYOffset + <?=$tv_div[top]?>;
|
||||
yMenuTo = top.pageYOffset + <?php echo $tv_div['top']; ?>;
|
||||
else if ( g4_is_ie )
|
||||
yMenuTo = document.body.scrollTop + parseInt("<?=$tv_div['top']?>");
|
||||
yMenuTo = document.body.scrollTop + parseInt("<?php echo $tv_div['top']; ?>");
|
||||
*/
|
||||
yMenuTo = document.body.scrollTop + parseInt("<?=$tv_div['top']?>");
|
||||
yMenuTo = document.body.scrollTop + parseInt("<?php echo $tv_div['top']; ?>");
|
||||
|
||||
timeoutNextCheck = 500;
|
||||
|
||||
@ -175,7 +175,7 @@ function OnLoad() {
|
||||
|
||||
OnLoad();
|
||||
|
||||
<?
|
||||
<?php
|
||||
if ($_COOKIE['ck_tvhidden'])
|
||||
echo "todayview_hidden();";
|
||||
?>
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
<?
|
||||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<table cellpadding=0 cellspacing=0 bgcolor=#FFFFFF>
|
||||
<tr><td><a href='<?=G4_SHOP_URL?>/wishlist.php'><img src='<?=G4_SHOP_URL?>/img/bar_wishlist.gif' border=0></a></td></tr>
|
||||
<?
|
||||
<tr><td><a href='<?php echo G4_SHOP_URL; ?>/wishlist.php'><img src='<?php echo G4_SHOP_URL; ?>/img/bar_wishlist.gif' border=0></a></td></tr>
|
||||
<?php
|
||||
$hsql = " select a.it_id, b.it_name from {$g4['shop_wish_table']} a, {$g4['shop_item_table']} b
|
||||
where a.mb_id = '{$member['mb_id']}'
|
||||
and a.it_id = b.it_id
|
||||
|
||||
@ -1,19 +1,19 @@
|
||||
<?
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
|
||||
$g4['title'] = '장바구니';
|
||||
include_once('./_head.php');
|
||||
?>
|
||||
|
||||
<img src="<?=G4_SHOP_URL?>/img/top_cart.gif" border="0"><p>
|
||||
<img src="<?php echo G4_SHOP_URL; ?>/img/top_cart.gif" border="0"><p>
|
||||
|
||||
<?
|
||||
<?php
|
||||
$s_page = 'cart.php';
|
||||
$s_uq_id = get_session('ss_uq_id');
|
||||
include G4_SHOP_PATH.'/cartsub.inc.php';
|
||||
?>
|
||||
<br><br>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once('./_tail.php');
|
||||
?>
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
/*
|
||||
@ -22,23 +22,23 @@ else
|
||||
<colgroup width=80>
|
||||
<colgroup width=80>
|
||||
<colgroup width=80>
|
||||
<? if ($colspan == 7) echo '<colgroup width=50>'; ?>
|
||||
<tr><td colspan='<?=$colspan?>' height=2 class=c1></td></tr>
|
||||
<?php if ($colspan == 7) echo '<colgroup width=50>'; ?>
|
||||
<tr><td colspan='<?php echo $colspan; ?>' height=2 class=c1></td></tr>
|
||||
<tr align=center height=28 class=c2>
|
||||
<td colspan=2>상품명</td>
|
||||
<td>수량</td>
|
||||
<td>판매가</td>
|
||||
<td>소계</td>
|
||||
<td>포인트</td>
|
||||
<?
|
||||
<?php
|
||||
if ($s_page == 'cart.php')
|
||||
echo '<td>삭제</td>';
|
||||
else if ($s_page == 'orderinquiryview.php')
|
||||
echo '<td>상태</td>';
|
||||
?>
|
||||
</tr>
|
||||
<tr><td colspan='<?=$colspan?>' height=1 class=c1></td></tr>
|
||||
<?
|
||||
<tr><td colspan='<?php echo $colspan; ?>' height=1 class=c1></td></tr>
|
||||
<?php
|
||||
$tot_point = 0;
|
||||
$tot_sell_amount = 0;
|
||||
$tot_cancel_amount = 0;
|
||||
@ -229,10 +229,10 @@ if ($i == 0) {
|
||||
echo "<input type=hidden name=records value='$i'>";
|
||||
}
|
||||
?>
|
||||
<tr><td colspan='<?=$colspan?>' height=2 bgcolor=#94D7E7></td></tr>
|
||||
<tr><td colspan='<?php echo $colspan; ?>' height=2 bgcolor=#94D7E7></td></tr>
|
||||
<tr>
|
||||
<td colspan='<?=$colspan?>' align=center>
|
||||
<?
|
||||
<td colspan='<?php echo $colspan; ?>' align=center>
|
||||
<?php
|
||||
if ($s_page == "cart.php") {
|
||||
if ($i == 0) {
|
||||
echo "<br><a href='".G4_SHOP_URL."'><img src='".G4_SHOP_URL."/img/btn_shopping.gif' border='0'></a>";
|
||||
@ -253,9 +253,9 @@ if ($i == 0) {
|
||||
|
||||
|
||||
|
||||
<? if ($s_page == "cart.php") { ?>
|
||||
<?php if ($s_page == "cart.php") { ?>
|
||||
<script language='javascript'>
|
||||
<? if ($i != 0) { ?>
|
||||
<?php if ($i != 0) { ?>
|
||||
function form_check(act) {
|
||||
var f = document.frmcartlist;
|
||||
var cnt = f.records.value;
|
||||
@ -264,7 +264,7 @@ if ($i == 0) {
|
||||
{
|
||||
f.act.value = act;
|
||||
|
||||
<?
|
||||
<?php
|
||||
if (get_session('ss_mb_id')) // 회원인 겨우
|
||||
{
|
||||
echo "f.action = './orderform.php';";
|
||||
@ -277,7 +277,7 @@ if ($i == 0) {
|
||||
else if (act == "alldelete")
|
||||
{
|
||||
f.act.value = act;
|
||||
f.action = "<?="./cartupdate.php"?>";
|
||||
f.action = "./cartupdate.php";
|
||||
f.submit();
|
||||
}
|
||||
else if (act == "allupdate")
|
||||
@ -316,20 +316,20 @@ if ($i == 0) {
|
||||
|
||||
return true;
|
||||
}
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
</script>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
|
||||
<? if ($s_page == "cart.php") { ?>
|
||||
<?php if ($s_page == "cart.php") { ?>
|
||||
<br><br>
|
||||
<table align=center cellpadding=0 cellspacing=0>
|
||||
<tr><td><img src='<?=G4_SHOP_URL?>/img/info_box01.gif'></td></tr>
|
||||
<tr><td background='<?=G4_SHOP_URL?>/img/info_box03.gif' style='line-height:180%; padding-left:20px'>
|
||||
<tr><td><img src='<?php echo G4_SHOP_URL; ?>/img/info_box01.gif'></td></tr>
|
||||
<tr><td background='<?php echo G4_SHOP_URL; ?>/img/info_box03.gif' style='line-height:180%; padding-left:20px'>
|
||||
· <FONT COLOR="#FF8200">상품 주문하기</FONT> : 주문서를 작성하시려면 '주문하기' 버튼을 누르세요.<BR>
|
||||
· <FONT COLOR="#FF8200">상품 수량변경</FONT> : 주문수량을 변경하시려면 원하시는 수량을 입력하신 후 '수량변경' 버튼을 누르세요.<BR>
|
||||
· <FONT COLOR="#FF8200">상품 삭제하기</FONT> : 모든 주문내용을 삭제하시려면 '삭제하기' 버튼을 누르세요.<BR>
|
||||
· <FONT COLOR="#FF8200">쇼핑 계속하기</FONT> : 쇼핑하시던 페이지로 돌아가시려면 '쇼핑 계속하기' 버튼을 누르세요.
|
||||
</td></tr>
|
||||
<tr><td><img src='<?=G4_SHOP_URL?>/img/info_box02.gif'></td></tr>
|
||||
<tr><td><img src='<?php echo G4_SHOP_URL; ?>/img/info_box02.gif'></td></tr>
|
||||
</table><br><br>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
|
||||
if ($sw_direct) {
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
include_once(G4_LIB_PATH.'/latest.lib.php');
|
||||
|
||||
@ -12,7 +12,7 @@ include_once('./_head.php');
|
||||
|
||||
<table width=100% cellpadding=0 cellspacing=0 border=0>
|
||||
<tr>
|
||||
<?
|
||||
<?php
|
||||
// 최신글 시작
|
||||
$sql = " select bo_table, bo_subject from {$g4['board_table']} order by gr_id, bo_table ";
|
||||
$result = sql_query($sql);
|
||||
@ -43,6 +43,6 @@ include_once('./_head.php');
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once('./_tail.php');
|
||||
?>
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
|
||||
// 내용
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
|
||||
$sql = " select * from {$g4['shop_event_table']}
|
||||
@ -26,7 +26,7 @@ echo stripslashes($ev['ev_head_html']);
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
<?
|
||||
<?php
|
||||
// 상품 출력순서가 있다면
|
||||
if ($sort != "")
|
||||
$order_by = $sort . " , ";
|
||||
@ -111,13 +111,13 @@ if ($i==0)
|
||||
|
||||
<br>
|
||||
<div align=center>
|
||||
<?
|
||||
<?php
|
||||
$qstr .= "ca_id=$ca_id&skin=$skin&ev_id=$ev_id&sort=$sort";
|
||||
echo get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page=");
|
||||
?>
|
||||
</div><br>
|
||||
|
||||
<?
|
||||
<?php
|
||||
// 하단 HTML
|
||||
echo stripslashes($ev['ev_tail_html']);
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
|
||||
if (!$fm_id) $fm_id = 1;
|
||||
@ -13,9 +13,9 @@ $g4['title'] = $fm['fm_subject'];
|
||||
include_once('./_head.php');
|
||||
?>
|
||||
|
||||
<img src="<?=G4_SHOP_URL?>/img/top_faq.gif" border=0><p>
|
||||
<img src="<?php echo G4_SHOP_URL; ?>/img/top_faq.gif" border=0><p>
|
||||
|
||||
<?
|
||||
<?php
|
||||
$himg = G4_DATA_PATH."/faq/{$fm_id}_h";
|
||||
if (file_exists($himg))
|
||||
echo "<img src='".G4_DATA_URL."/faq/{$fm_id}_h' border=0><br>";
|
||||
|
||||
@ -10,7 +10,7 @@ include_once(G4_SHOP_PATH.'/shop.head.php');
|
||||
<script src="<?php echo G4_JS_URL; ?>/shop.js"></script>
|
||||
|
||||
<div id="sidx_img">
|
||||
<img src="<?=G4_DATA_URL?>/common/main_img" alt="">
|
||||
<img src="<?php echo G4_DATA_URL; ?>/common/main_img" alt="">
|
||||
</div>
|
||||
|
||||
<div>
|
||||
@ -58,17 +58,17 @@ if ($default['de_type'.$type.'_list_use'])
|
||||
?>
|
||||
</div>
|
||||
<div>
|
||||
<?=latest('basic', 'qa', 5, 30);?>
|
||||
<?php echo latest('basic', 'qa', 5, 30); ?>
|
||||
</div>
|
||||
<div>
|
||||
<?=latest('basic', 'free', 5, 30);?>
|
||||
<?php echo latest('basic', 'free', 5, 30); ?>
|
||||
</div>
|
||||
<div>
|
||||
<!-- 공지사항 -->
|
||||
<?//=latest('basic', 'notice', 3, 25);?>
|
||||
<?php //echo latest('basic', 'notice', 3, 25); ?>
|
||||
</div>
|
||||
<div>
|
||||
<?
|
||||
<?php
|
||||
// 최신상품
|
||||
$type = 3;
|
||||
if ($default["de_type{$type}_list_use"])
|
||||
@ -80,18 +80,18 @@ if ($default["de_type{$type}_list_use"])
|
||||
</div>
|
||||
<div>
|
||||
<!-- 온라인 투표 -->
|
||||
<?=poll('basic');?>
|
||||
<?php echo poll('basic'); ?>
|
||||
</div>
|
||||
<div>
|
||||
<!-- 방문자 수 -->
|
||||
<?//=visit('basic');?>
|
||||
<?php //echo visit('basic'); ?>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<!-- 메인 배너 -->
|
||||
<?=display_banner('메인');?>
|
||||
<?php echo display_banner('메인'); ?>
|
||||
</div>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once(G4_SHOP_PATH.'/shop.tail.php');
|
||||
?>
|
||||
198
shop/item.php
198
shop/item.php
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
include_once(G4_LIB_PATH.'/iteminfo.lib.php');
|
||||
include_once(G4_GCAPTCHA_PATH.'/gcaptcha.lib.php');
|
||||
@ -128,13 +128,13 @@ $row = sql_fetch($sql);
|
||||
$item_relation_count = $row['cnt'];
|
||||
?>
|
||||
|
||||
<script src="<?=G4_JS_URL?>/shop.js"></script>
|
||||
<script src="<?=G4_JS_URL?>/md5.js"></script>
|
||||
<script src="<?php echo G4_JS_URL; ?>/shop.js"></script>
|
||||
<script src="<?php echo G4_JS_URL; ?>/md5.js"></script>
|
||||
|
||||
<br>
|
||||
<table width=99% cellpadding=0 cellspacing=0 align=center border=0><tr><td>
|
||||
|
||||
<?
|
||||
<?php
|
||||
if (G4_HTTPS_DOMAIN)
|
||||
$action_url = G4_HTTPS_DOMAIN.'/'.G4_SHOP_DIR.'/cartupdate.php';
|
||||
else
|
||||
@ -142,26 +142,26 @@ else
|
||||
?>
|
||||
|
||||
<table width=100% cellpadding=0 cellspacing=0>
|
||||
<form name=fitem method=post action="<?=$action_url?>">
|
||||
<input type=hidden name=it_id value='<?=$it['it_id']?>'>
|
||||
<input type=hidden name=it_name value='<?=$it['it_name']?>'>
|
||||
<form name=fitem method=post action="<?php echo $action_url; ?>">
|
||||
<input type=hidden name=it_id value='<?php echo $it['it_id']; ?>'>
|
||||
<input type=hidden name=it_name value='<?php echo $it['it_name']; ?>'>
|
||||
<input type=hidden name=sw_direct>
|
||||
<input type=hidden name=url>
|
||||
<tr>
|
||||
|
||||
<!-- 상품중간이미지 -->
|
||||
<?
|
||||
<?php
|
||||
$middle_image = $it['it_id']."_m";
|
||||
?>
|
||||
<td align=center valign=top>
|
||||
<table cellpadding=0 cellspacing=0>
|
||||
<tr><td height=22></td></tr>
|
||||
<tr><td colspan=3 align=center>
|
||||
<table cellpadding=1 cellspacing=0 bgcolor=#E4E4E4><tr><td><?=get_large_image($it['it_id']."_l1", $it['it_id'], false)?><?=get_it_image($middle_image);?></a></td></tr></table></td></tr>
|
||||
<table cellpadding=1 cellspacing=0 bgcolor=#E4E4E4><tr><td><?php echo get_large_image($it['it_id']."_l1", $it['it_id'], false); ?><?php echo get_it_image($middle_image); ?></a></td></tr></table></td></tr>
|
||||
<tr><td colspan=3 height=10></td></tr>
|
||||
<tr>
|
||||
<td colspan=3 align=center>
|
||||
<?
|
||||
<?php
|
||||
for ($i=1; $i<=5; $i++)
|
||||
{
|
||||
if (file_exists(G4_DATA_PATH."/item/{$it_id}_l{$i}"))
|
||||
@ -179,51 +179,51 @@ else
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan=3 height=7></td></tr>
|
||||
<tr><td height=20><?=$prev_href?><img src='<?=G4_SHOP_URL?>/img/prev.gif' border=0 title='<?=$prev_title?>'></a></td>
|
||||
<td align=center><?=get_large_image($it['it_id']."_l1", $it['it_id'])?></td>
|
||||
<td align=right><?=$next_href?><img src='<?=G4_SHOP_URL?>/img/next.gif' border=0 title='<?=$next_title?>'></a></td></tr>
|
||||
<tr><td height=20><?php echo $prev_href; ?><img src='<?php echo G4_SHOP_URL; ?>/img/prev.gif' border=0 title='<?php echo $prev_title; ?>'></a></td>
|
||||
<td align=center><?php echo get_large_image($it['it_id']."_l1", $it['it_id']); ?></td>
|
||||
<td align=right><?php echo $next_href; ?><img src='<?php echo G4_SHOP_URL; ?>/img/next.gif' border=0 title='<?php echo $next_title; ?>'></a></td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<!-- 상품중간이미지 END -->
|
||||
|
||||
<td width=460 valign=top align=center>
|
||||
<table width=430><tr><td colspan=2 valign=top><span style='font-size:14px; font-family:돋움;'><strong><?=it_name_icon($it, stripslashes($it['it_name']), 0)?></strong></span></td></tr></table>
|
||||
<table width=430><tr><td colspan=2 valign=top><span style='font-size:14px; font-family:돋움;'><strong><?php echo it_name_icon($it, stripslashes($it['it_name']), 0); ?></strong></span></td></tr></table>
|
||||
|
||||
<table width=430 cellpadding=0 cellspacing=0 background='<?=G4_SHOP_URL?>/img/bg_item.gif'>
|
||||
<table width=430 cellpadding=0 cellspacing=0 background='<?php echo G4_SHOP_URL; ?>/img/bg_item.gif'>
|
||||
<colgroup width=110></colgroup>
|
||||
<colgroup width=20></colgroup>
|
||||
<colgroup width=300></colgroup>
|
||||
<tr><td colspan=3><img src='<?=G4_SHOP_URL?>/img/itembox_01.gif' width=430></td></tr>
|
||||
<tr><td colspan=3><img src='<?php echo G4_SHOP_URL; ?>/img/itembox_01.gif' width=430></td></tr>
|
||||
|
||||
|
||||
<? if ($score = get_star_image($it['it_id'])) { ?>
|
||||
<?php if ($score = get_star_image($it['it_id'])) { ?>
|
||||
<tr>
|
||||
<td height=25> · 고객선호도</td>
|
||||
<td align=center>:</td>
|
||||
<td><img src='<?=G4_SHOP_URL."/img/star{$score}.gif"?>' border=0></td></tr>
|
||||
<tr><td colspan=3 height=1 background='<?=G4_SHOP_URL?>/img/dot_line.gif'></td></tr>
|
||||
<? } ?>
|
||||
<td><img src='<?php echo G4_SHOP_URL."/img/star{$score}.gif"; ?>' border=0></td></tr>
|
||||
<tr><td colspan=3 height=1 background='<?php echo G4_SHOP_URL; ?>/img/dot_line.gif'></td></tr>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<? if ($it['it_maker']) { ?>
|
||||
<?php if ($it['it_maker']) { ?>
|
||||
<tr>
|
||||
<td height=25> · 제조사</td>
|
||||
<td align=center>:</td>
|
||||
<td><?=$it['it_maker']?></td></tr>
|
||||
<tr><td colspan=3 height=1 background='<?=G4_SHOP_URL?>/img/dot_line.gif'></td></tr>
|
||||
<? } ?>
|
||||
<td><?php echo $it['it_maker']; ?></td></tr>
|
||||
<tr><td colspan=3 height=1 background='<?php echo G4_SHOP_URL; ?>/img/dot_line.gif'></td></tr>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<? if ($it['it_origin']) { ?>
|
||||
<?php if ($it['it_origin']) { ?>
|
||||
<tr>
|
||||
<td height=25> · 원산지</td>
|
||||
<td align=center>:</td>
|
||||
<td><?=$it['it_origin']?></td></tr>
|
||||
<tr><td colspan=3 height=1 background='<?=G4_SHOP_URL?>/img/dot_line.gif'></td></tr>
|
||||
<? } ?>
|
||||
<td><?php echo $it['it_origin']; ?></td></tr>
|
||||
<tr><td colspan=3 height=1 background='<?php echo G4_SHOP_URL; ?>/img/dot_line.gif'></td></tr>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<?
|
||||
<?php
|
||||
// 선택옵션 출력
|
||||
for ($i=1; $i<=6; $i++)
|
||||
{
|
||||
@ -241,26 +241,26 @@ else
|
||||
?>
|
||||
|
||||
|
||||
<? if (!$it['it_gallery']) { // 갤러리 형식이라면 가격, 구매하기 출력하지 않음 ?>
|
||||
<?php if (!$it['it_gallery']) { // 갤러리 형식이라면 가격, 구매하기 출력하지 않음 ?>
|
||||
|
||||
<? if ($it['it_tel_inq']) { // 전화문의일 경우 ?>
|
||||
<?php if ($it['it_tel_inq']) { // 전화문의일 경우 ?>
|
||||
|
||||
<tr>
|
||||
<td height=25> · 판매가격</td>
|
||||
<td align=center>:</td>
|
||||
<td><FONT COLOR="#FF5D00">전화문의</FONT></td></tr>
|
||||
<tr><td colspan=3 height=1 background='<?=G4_SHOP_URL?>/img/dot_line.gif'></td></tr>
|
||||
<tr><td colspan=3 height=1 background='<?php echo G4_SHOP_URL; ?>/img/dot_line.gif'></td></tr>
|
||||
|
||||
<? } else { ?>
|
||||
<?php } else { ?>
|
||||
|
||||
<? if ($it['it_cust_amount']) { // 1.00.03 ?>
|
||||
<?php if ($it['it_cust_amount']) { // 1.00.03 ?>
|
||||
<tr height=25>
|
||||
<td> · 시중가격</td>
|
||||
<td align=center>:</td>
|
||||
<td><input type=text name=disp_cust_amount size=12 style='text-align:right; border:none; border-width:0px; font-weight:bold; width:80px; color:#777777; text-decoration:line-through;' readonly value='<?=number_format($it['it_cust_amount'])?>'> 원</td>
|
||||
<td><input type=text name=disp_cust_amount size=12 style='text-align:right; border:none; border-width:0px; font-weight:bold; width:80px; color:#777777; text-decoration:line-through;' readonly value='<?php echo number_format($it['it_cust_amount']); ?>'> 원</td>
|
||||
</tr>
|
||||
<tr><td colspan=3 height=1 background='<?=G4_SHOP_URL?>/img/dot_line.gif'></td></tr>
|
||||
<? } ?>
|
||||
<tr><td colspan=3 height=1 background='<?php echo G4_SHOP_URL; ?>/img/dot_line.gif'></td></tr>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<tr height=25>
|
||||
@ -270,20 +270,20 @@ else
|
||||
<input type=hidden name=it_amount value='0'>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan=3 height=1 background='<?=G4_SHOP_URL?>/img/dot_line.gif'></td></tr>
|
||||
<tr><td colspan=3 height=1 background='<?php echo G4_SHOP_URL; ?>/img/dot_line.gif'></td></tr>
|
||||
|
||||
<?
|
||||
<?php
|
||||
/* 재고를 표시하는 경우 주석을 풀어주세요.
|
||||
<tr height=25>
|
||||
<td> · 재고수량</td>
|
||||
<td align=center>:</td>
|
||||
<td><?=number_format(get_it_stock_qty($it_id))?> 개</td>
|
||||
<td><?php echo number_format(get_it_stock_qty($it_id)); ?> 개</td>
|
||||
</tr>
|
||||
<tr><td colspan=3 height=1 background='<?=$g4[shop_img_path]?>/dot_line.gif'></td></tr>
|
||||
<tr><td colspan=3 height=1 background='<?php echo G4_SHOP_URL; ?>/img/dot_line.gif'></td></tr>
|
||||
*/
|
||||
?>
|
||||
|
||||
<? if ($config['cf_use_point']) { // 포인트 사용한다면 ?>
|
||||
<?php if ($config['cf_use_point']) { // 포인트 사용한다면 ?>
|
||||
<tr height=25>
|
||||
<td> · 포 인 트</td>
|
||||
<td align=center>:</td>
|
||||
@ -291,26 +291,26 @@ else
|
||||
<input type=hidden name=it_point value='0'>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan=3 height=1 background='<?=G4_SHOP_URL?>/img/dot_line.gif'></td></tr>
|
||||
<? } ?>
|
||||
<tr><td colspan=3 height=1 background='<?php echo G4_SHOP_URL; ?>/img/dot_line.gif'></td></tr>
|
||||
<?php } ?>
|
||||
|
||||
<tr height=25>
|
||||
<td> · 수 량</td>
|
||||
<td align=center>:</td>
|
||||
<td>
|
||||
<input type=text name=ct_qty value='1' size=4 maxlength=4 class=ed autocomplete='off' style='text-align:right;' onkeyup='amount_change()'>
|
||||
<img src='<?=G4_SHOP_URL?>/img/qty_control.gif' border=0 align=absmiddle usemap="#qty_control_map"> 개
|
||||
<img src='<?php echo G4_SHOP_URL; ?>/img/qty_control.gif' border=0 align=absmiddle usemap="#qty_control_map"> 개
|
||||
<map name="qty_control_map">
|
||||
<area shape="rect" coords="0, 0, 10, 9" href="javascript:qty_add(+1);">
|
||||
<area shape="rect" coords="0, 10, 10, 19" href="javascript:qty_add(-1);">
|
||||
</map></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<tr><td colspan=3><img src='<?=G4_SHOP_URL?>/img/itembox_02.gif' width=430></td></tr>
|
||||
<tr><td colspan=3><img src='<?php echo G4_SHOP_URL; ?>/img/itembox_02.gif' width=430></td></tr>
|
||||
|
||||
|
||||
</table><BR>
|
||||
@ -318,22 +318,22 @@ else
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<? if (!$it['it_tel_inq'] && !$it['it_gallery']) { ?>
|
||||
<a href="javascript:fitemcheck(document.fitem, 'direct_buy');"><img src='<?=G4_SHOP_URL?>/img/btn2_now_buy.gif' border=0></a>
|
||||
<a href="javascript:fitemcheck(document.fitem, 'cart_update');"><img src='<?=G4_SHOP_URL?>/img/btn2_cart.gif' border=0></a>
|
||||
<? } ?>
|
||||
<?php if (!$it['it_tel_inq'] && !$it['it_gallery']) { ?>
|
||||
<a href="javascript:fitemcheck(document.fitem, 'direct_buy');"><img src='<?php echo G4_SHOP_URL; ?>/img/btn2_now_buy.gif' border=0></a>
|
||||
<a href="javascript:fitemcheck(document.fitem, 'cart_update');"><img src='<?php echo G4_SHOP_URL; ?>/img/btn2_cart.gif' border=0></a>
|
||||
<?php } ?>
|
||||
|
||||
<? if (!$it['it_gallery']) { ?>
|
||||
<a href="javascript:item_wish(document.fitem, '<?=$it['it_id']?>');"><img src='<?=G4_SHOP_URL?>/img/btn2_wish.gif' border=0></a>
|
||||
<a href="javascript:popup_item_recommend('<?=$it['it_id']?>');"><img src='<?=G4_SHOP_URL?>/img/btn_item_recommend.gif' border=0></a>
|
||||
<? } ?>
|
||||
<?php if (!$it['it_gallery']) { ?>
|
||||
<a href="javascript:item_wish(document.fitem, '<?php echo $it['it_id']; ?>');"><img src='<?php echo G4_SHOP_URL; ?>/img/btn2_wish.gif' border=0></a>
|
||||
<a href="javascript:popup_item_recommend('<?php echo $it['it_id']; ?>');"><img src='<?php echo G4_SHOP_URL; ?>/img/btn_item_recommend.gif' border=0></a>
|
||||
<?php } ?>
|
||||
|
||||
<script language="JavaScript">
|
||||
// 상품보관
|
||||
function item_wish(f, it_id)
|
||||
{
|
||||
f.url.value = "<?=G4_SHOP_URL?>/wishupdate.php?it_id="+it_id;
|
||||
f.action = "<?=G4_SHOP_URL?>/wishupdate.php";
|
||||
f.url.value = "<?php echo G4_SHOP_URL; ?>/wishupdate.php?it_id="+it_id;
|
||||
f.action = "<?php echo G4_SHOP_URL; ?>/wishupdate.php";
|
||||
f.submit();
|
||||
}
|
||||
|
||||
@ -343,7 +343,7 @@ else
|
||||
if (!g4_is_member)
|
||||
{
|
||||
if (confirm("회원만 추천하실 수 있습니다."))
|
||||
document.location.href = "<?=G4_BBS_URL?>/login.php?url=<?=urlencode(G4_SHOP_URL."/item.php?it_id=$it_id")?>";
|
||||
document.location.href = "<?php echo G4_BBS_URL; ?>/login.php?url=<?php echo urlencode(G4_SHOP_URL."/item.php?it_id=$it_id"); ?>";
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -359,15 +359,15 @@ else
|
||||
</tr>
|
||||
<tr><td colspan=3 height=20></td></tr>
|
||||
<tr><td colspan=3>
|
||||
<table cellpadding=0 cellspacing=0 background='<?=G4_SHOP_URL?>/img/bg_tab.gif'>
|
||||
<table cellpadding=0 cellspacing=0 background='<?php echo G4_SHOP_URL; ?>/img/bg_tab.gif'>
|
||||
<tr>
|
||||
<td width=30></td>
|
||||
<!-- 상품정보 --><td><a href="javascript:click_item('*');"><img src='<?=G4_SHOP_URL?>/img/btn_tab01.gif' border=0></a></td>
|
||||
<!-- 사용후기 --><td width=109 background='<?=G4_SHOP_URL?>/img/btn_tab02.gif' border=0 style='padding-top:2px;'> <a href="javascript:click_item('item_use');" style="cursor:pointer;"> <span class=small style='color:#ff5d00;'>(<span id=item_use_count>0</span>)</span></a></td>
|
||||
<!-- 상품문의 --><td width=109 background='<?=G4_SHOP_URL?>/img/btn_tab03.gif' border=0 style='padding-top:2px;'> <a href="javascript:click_item('item_qa');" style="cursor:pointer;"> <span class=small style='color:#ff5d00;'>(<span id=item_qa_count>0</span>)</span></a></td>
|
||||
<? if ($default['de_baesong_content']) { ?><!-- 배송정보 --><td><a href="javascript:click_item('item_baesong');"><img src='<?=G4_SHOP_URL?>/img/btn_tab04.gif' border=0></a></td><?}?>
|
||||
<? if ($default['de_change_content']) { ?><!-- 교환/반품 --><td><a href="javascript:click_item('item_change');"><img src='<?=G4_SHOP_URL?>/img/btn_tab05.gif' border=0></a></td><?}?>
|
||||
<!-- 관련상품 --><td width=109 background='<?=G4_SHOP_URL?>/img/btn_tab06.gif' border=0 style='padding-top:2px;'> <a href="javascript:click_item('item_relation');" style="cursor:pointer;"> <span class=small style='color:#ff5d00;'>(<span id=item_relation_count>0</span>)</span></a></td>
|
||||
<!-- 상품정보 --><td><a href="javascript:click_item('*');"><img src='<?php echo G4_SHOP_URL; ?>/img/btn_tab01.gif' border=0></a></td>
|
||||
<!-- 사용후기 --><td width=109 background='<?php echo G4_SHOP_URL; ?>/img/btn_tab02.gif' border=0 style='padding-top:2px;'> <a href="javascript:click_item('item_use');" style="cursor:pointer;"> <span class=small style='color:#ff5d00;'>(<span id=item_use_count>0</span>)</span></a></td>
|
||||
<!-- 상품문의 --><td width=109 background='<?php echo G4_SHOP_URL; ?>/img/btn_tab03.gif' border=0 style='padding-top:2px;'> <a href="javascript:click_item('item_qa');" style="cursor:pointer;"> <span class=small style='color:#ff5d00;'>(<span id=item_qa_count>0</span>)</span></a></td>
|
||||
<?php if ($default['de_baesong_content']) { ?><!-- 배송정보 --><td><a href="javascript:click_item('item_baesong');"><img src='<?php echo G4_SHOP_URL; ?>/img/btn_tab04.gif' border=0></a></td><?php } ?>
|
||||
<?php if ($default['de_change_content']) { ?><!-- 교환/반품 --><td><a href="javascript:click_item('item_change');"><img src='<?php echo G4_SHOP_URL; ?>/img/btn_tab05.gif' border=0></a></td><?php } ?>
|
||||
<!-- 관련상품 --><td width=109 background='<?php echo G4_SHOP_URL; ?>/img/btn_tab06.gif' border=0 style='padding-top:2px;'> <a href="javascript:click_item('item_relation');" style="cursor:pointer;"> <span class=small style='color:#ff5d00;'>(<span id=item_relation_count>0</span>)</span></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
@ -377,7 +377,7 @@ else
|
||||
<script language="JavaScript">
|
||||
function click_item(id)
|
||||
{
|
||||
<?
|
||||
<?php
|
||||
echo "var str = 'item_explan,item_use,item_qa";
|
||||
if ($default['de_baesong_content']) echo ",item_baesong";
|
||||
if ($default['de_change_content']) echo ",item_change";
|
||||
@ -404,9 +404,9 @@ function click_item(id)
|
||||
<!-- 상품설명 -->
|
||||
<div id='item_explan' style='display:block;'>
|
||||
<table width=100% cellpadding=0 cellspacing=0>
|
||||
<tr><td rowspan=2 width=31 valign=top bgcolor=#CACDE2><img src='<?=G4_SHOP_URL?>/img/item_t01.gif'></td><td height=2 bgcolor=#CACDE2></td></tr>
|
||||
<tr><td rowspan=2 width=31 valign=top bgcolor=#CACDE2><img src='<?php echo G4_SHOP_URL; ?>/img/item_t01.gif'></td><td height=2 bgcolor=#CACDE2></td></tr>
|
||||
<tr><td style='padding:15px'>
|
||||
<?
|
||||
<?php
|
||||
$sql = " select * from {$g4['shop_item_info_table']} where it_id = '$it_id' order by ii_id ";
|
||||
$result = sql_query($sql, false);
|
||||
if (@mysql_num_rows($result)) {
|
||||
@ -414,27 +414,27 @@ function click_item(id)
|
||||
<!-- 상품정보고시 -->
|
||||
<table class='item_info_open' width=100% cellpadding=0 cellspacing=0 style="border:1px solid #f6dbab;border-bottom:0">
|
||||
<tbody>
|
||||
<?
|
||||
<?php
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
?>
|
||||
<tr valign="top">
|
||||
<th scope="row" style="padding:8px 15px;width:30%;border-bottom:1px solid #f6dbab;background:#f8f4ee;font-size:12px;text-align:left"><?=$row['ii_title']?></th>
|
||||
<td style="padding:8px 15px;border-bottom:1px solid #f6dbab"><?=$row['ii_value']?></th>
|
||||
<th scope="row" style="padding:8px 15px;width:30%;border-bottom:1px solid #f6dbab;background:#f8f4ee;font-size:12px;text-align:left"><?php echo $row['ii_title']; ?></th>
|
||||
<td style="padding:8px 15px;border-bottom:1px solid #f6dbab"><?php echo $row['ii_value']; ?></th>
|
||||
</tr>
|
||||
<?}//for?>
|
||||
<?php } //for?>
|
||||
</tbody>
|
||||
</table>
|
||||
<!-- 상품정보고시 end -->
|
||||
<?}//if?>
|
||||
<?php } //if?>
|
||||
|
||||
<table width=100% cellspacing=0 border=0>
|
||||
<? if ($it['it_basic']) { ?>
|
||||
<tr><td height=30><font color='#3179BD'><?=$it['it_basic']?></font></td></tr>
|
||||
<? } ?>
|
||||
<?php if ($it['it_basic']) { ?>
|
||||
<tr><td height=30><font color='#3179BD'><?php echo $it['it_basic']; ?></font></td></tr>
|
||||
<?php } ?>
|
||||
|
||||
<? if ($it['it_explan']) { ?>
|
||||
<tr><td><div id='div_explan'><?=conv_content($it['it_explan'], 1);?></div><td></tr>
|
||||
<? } ?>
|
||||
<?php if ($it['it_explan']) { ?>
|
||||
<tr><td><div id='div_explan'><?php echo conv_content($it['it_explan'], 1); ?></div><td></tr>
|
||||
<?php } ?>
|
||||
</table>
|
||||
</td></tr>
|
||||
<tr><td colspan=2 height=1></td></tr>
|
||||
@ -444,7 +444,7 @@ function click_item(id)
|
||||
|
||||
|
||||
|
||||
<?
|
||||
<?php
|
||||
// 사용후기
|
||||
$use_page_rows = 10; // 사용후기 페이지당 목록수
|
||||
include_once('./itemuse.inc.php');
|
||||
@ -456,40 +456,40 @@ include_once('./itemqa.inc.php');
|
||||
?>
|
||||
|
||||
|
||||
<? if ($default['de_baesong_content']) { // 배송정보 내용이 있다면 ?>
|
||||
<?php if ($default['de_baesong_content']) { // 배송정보 내용이 있다면 ?>
|
||||
<!-- 배송정보 -->
|
||||
<div id='item_baesong' style='display:block;'>
|
||||
<table width=100% cellpadding=0 cellspacing=0>
|
||||
<tr><td rowspan=2 width=31 valign=top bgcolor=#D6E1A7><img src='<?=G4_SHOP_URL?>/img/item_t04.gif'></td><td height=2 bgcolor=#D6E1A7></td></tr>
|
||||
<tr><td style='padding:15px' height=130><?=conv_content($default['de_baesong_content'], 1);?></td></tr>
|
||||
<tr><td rowspan=2 width=31 valign=top bgcolor=#D6E1A7><img src='<?php echo G4_SHOP_URL; ?>/img/item_t04.gif'></td><td height=2 bgcolor=#D6E1A7></td></tr>
|
||||
<tr><td style='padding:15px' height=130><?php echo conv_content($default['de_baesong_content'], 1); ?></td></tr>
|
||||
<tr><td colspan=2 height=1></td></tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- 배송정보 end -->
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<? if ($default['de_change_content']) { // 교환/반품 내용이 있다면 ?>
|
||||
<?php if ($default['de_change_content']) { // 교환/반품 내용이 있다면 ?>
|
||||
<!-- 교환/반품 -->
|
||||
<div id='item_change' style='display:block;'>
|
||||
<table width=100% cellpadding=0 cellspacing=0>
|
||||
<tr><td rowspan=2 width=31 valign=top bgcolor=#F6DBAB><img src='<?=G4_SHOP_URL?>/img/item_t05.gif'></td><td height=2 bgcolor=#F6DBAB></td></tr>
|
||||
<tr><td style='padding:15px' height=130><?=conv_content($default['de_change_content'], 1);?></td></tr>
|
||||
<tr><td rowspan=2 width=31 valign=top bgcolor=#F6DBAB><img src='<?php echo G4_SHOP_URL; ?>/img/item_t05.gif'></td><td height=2 bgcolor=#F6DBAB></td></tr>
|
||||
<tr><td style='padding:15px' height=130><?php echo conv_content($default['de_change_content'], 1); ?></td></tr>
|
||||
<tr><td colspan=2 height=1></td></tr>
|
||||
</table>
|
||||
</div>
|
||||
<!-- 교환/반품 end -->
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<!-- 관련상품 -->
|
||||
<div id='item_relation' style='display:block;'>
|
||||
<table width=100% cellpadding=0 cellspacing=0>
|
||||
<tr><td rowspan=2 width=31 valign=top bgcolor=#E0E0E0><img src='<?=G4_SHOP_URL?>/img/item_t06.gif'></td><td height=2 bgcolor=#E0E0E0></td></tr>
|
||||
<tr><td rowspan=2 width=31 valign=top bgcolor=#E0E0E0><img src='<?php echo G4_SHOP_URL; ?>/img/item_t06.gif'></td><td height=2 bgcolor=#E0E0E0></td></tr>
|
||||
<tr><td style='padding:15px' height=130>
|
||||
<table width=100% cellpadding=0 cellspacing=0 border=0>
|
||||
<tr><td align=center>
|
||||
<?
|
||||
<?php
|
||||
$list_mod = $default['de_rel_list_mod'];
|
||||
$img_width = $default['de_rel_img_width'];
|
||||
$img_height = $default['de_rel_img_height'];
|
||||
@ -556,9 +556,9 @@ function get_amount(data)
|
||||
|
||||
function amount_change()
|
||||
{
|
||||
var basic_amount = parseInt("<?=get_amount($it)?>");
|
||||
var basic_point = parseFloat("<?=$it['it_point']?>");
|
||||
var cust_amount = parseFloat("<?=$it['it_cust_amount']?>");
|
||||
var basic_amount = parseInt("<?php echo get_amount($it); ?>");
|
||||
var basic_point = parseFloat("<?php echo $it['it_point']; ?>");
|
||||
var cust_amount = parseFloat("<?php echo $it['it_cust_amount']; ?>");
|
||||
|
||||
var f = document.fitem;
|
||||
var opt1 = 0;
|
||||
@ -597,7 +597,7 @@ function amount_change()
|
||||
}
|
||||
}
|
||||
|
||||
<? if (!$it[it_gallery]) { echo "amount_change();"; } // 처음시작시 한번 실행 ?>
|
||||
<?php if (!$it['it_gallery']) { echo "amount_change();"; } // 처음시작시 한번 실행 ?>
|
||||
|
||||
// 바로구매 또는 장바구니 담기
|
||||
function fitemcheck(f, act)
|
||||
@ -676,11 +676,11 @@ function qa_menu(id)
|
||||
}
|
||||
|
||||
if (document.getElementById("item_use_count"))
|
||||
document.getElementById("item_use_count").innerHTML = "<?=$use_total_count?>";
|
||||
document.getElementById("item_use_count").innerHTML = "<?php echo $use_total_count; ?>";
|
||||
if (document.getElementById("item_qa_count"))
|
||||
document.getElementById("item_qa_count").innerHTML = "<?=$qa_total_count?>";
|
||||
document.getElementById("item_qa_count").innerHTML = "<?php echo $qa_total_count; ?>";
|
||||
if (document.getElementById("item_relation_count"))
|
||||
document.getElementById("item_relation_count").innerHTML = "<?=$item_relation_count?>";
|
||||
document.getElementById("item_relation_count").innerHTML = "<?php echo $item_relation_count; ?>";
|
||||
|
||||
// 상품상세설명에 있는 이미지의 사이즈를 줄임
|
||||
function explan_resize_image()
|
||||
@ -730,7 +730,7 @@ $(function() {
|
||||
});
|
||||
</script>
|
||||
|
||||
<?
|
||||
<?php
|
||||
// 하단 HTML
|
||||
echo stripslashes($it['it_tail_html']);
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
@ -6,24 +6,24 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<a name="qa"></a>
|
||||
<div id="item_qa" style="display:block;">
|
||||
<table width=100% cellpadding=0 cellspacing=0>
|
||||
<tr><td rowspan=2 width=31 valign=top bgcolor=#A7DFE1><img src='<?=G4_SHOP_URL?>/img/item_t03.gif'></td><td height=2 bgcolor=#A7DFE1></td></tr>
|
||||
<tr><td rowspan=2 width=31 valign=top bgcolor=#A7DFE1><img src='<?php echo G4_SHOP_URL; ?>/img/item_t03.gif'></td><td height=2 bgcolor=#A7DFE1></td></tr>
|
||||
<tr><td style='padding:15px'>
|
||||
<table width=100% cellpadding=0 cellspacing=0 border=0>
|
||||
<tr>
|
||||
<td width=11><img src='<?=G4_SHOP_URL?>/img/corner01.gif'></td>
|
||||
<td width=11><img src='<?php echo G4_SHOP_URL; ?>/img/corner01.gif'></td>
|
||||
<td valign=top>
|
||||
<table width=100% height=31 cellpadding=0 cellspacing=0 border=0>
|
||||
<tr align=center>
|
||||
<td width=40 background='<?=G4_SHOP_URL?>/img/box_bg01.gif'>번호</td>
|
||||
<td background='<?=G4_SHOP_URL?>/img/box_bg01.gif'>제목</td>
|
||||
<td width=80 background='<?=G4_SHOP_URL?>/img/box_bg01.gif'>작성자</td>
|
||||
<td width=100 background='<?=G4_SHOP_URL?>/img/box_bg01.gif'>작성일</td>
|
||||
<td width=80 background='<?=G4_SHOP_URL?>/img/box_bg01.gif'>답변</td>
|
||||
<td width=40 background='<?php echo G4_SHOP_URL; ?>/img/box_bg01.gif'>번호</td>
|
||||
<td background='<?php echo G4_SHOP_URL; ?>/img/box_bg01.gif'>제목</td>
|
||||
<td width=80 background='<?php echo G4_SHOP_URL; ?>/img/box_bg01.gif'>작성자</td>
|
||||
<td width=100 background='<?php echo G4_SHOP_URL; ?>/img/box_bg01.gif'>작성일</td>
|
||||
<td width=80 background='<?php echo G4_SHOP_URL; ?>/img/box_bg01.gif'>답변</td>
|
||||
</tr>
|
||||
</table></td>
|
||||
<td width=11><img src='<?=G4_SHOP_URL?>/img/corner02.gif'></td>
|
||||
<td width=11><img src='<?php echo G4_SHOP_URL; ?>/img/corner02.gif'></td>
|
||||
</tr>
|
||||
<?
|
||||
<?php
|
||||
$sql_common = " from {$g4['shop_item_qa_table']} where it_id = '{$it['it_id']}' ";
|
||||
|
||||
// 테이블의 전체 레코드수만 얻음
|
||||
@ -158,29 +158,29 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
}
|
||||
?>
|
||||
<tr>
|
||||
<td width=11><img src='<?=G4_SHOP_URL?>/img/corner03.gif'></td>
|
||||
<td width=100% background='<?=G4_SHOP_URL?>/img/box_bg04.gif'></td>
|
||||
<td width=11><img src='<?=G4_SHOP_URL?>/img/corner04.gif'></td>
|
||||
<td width=11><img src='<?php echo G4_SHOP_URL; ?>/img/corner03.gif'></td>
|
||||
<td width=100% background='<?php echo G4_SHOP_URL; ?>/img/box_bg04.gif'></td>
|
||||
<td width=11><img src='<?php echo G4_SHOP_URL; ?>/img/corner04.gif'></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<table width=100% cellpadding=0 cellspacing=0>
|
||||
<tr><td colspan=2 height=35>* 이 상품에 대한 궁금한 사항이 있으신 분은 질문해 주십시오.
|
||||
<input type=image src='<?=G4_SHOP_URL?>/img/btn_qa.gif' onclick="itemqa_insert(itemqa);" align=absmiddle></td></tr>
|
||||
<input type=image src='<?php echo G4_SHOP_URL; ?>/img/btn_qa.gif' onclick="itemqa_insert(itemqa);" align=absmiddle></td></tr>
|
||||
</table>
|
||||
|
||||
<!-- 상품문의 폼-->
|
||||
<div id=itemqa style='display:none;'>
|
||||
<form name="fitemqa" method="post" onsubmit="return fitemqa_submit(this);" autocomplete=off style="padding:0px;">
|
||||
<input type=hidden name=w value=''>
|
||||
<input type=hidden name=token value='<?=$token?>'>
|
||||
<input type=hidden name=token value='<?php echo $token; ?>'>
|
||||
<input type=hidden name=iq_id value=''>
|
||||
<input type=hidden name=it_id value='<?=$it['it_id']?>'>
|
||||
<input type=hidden name=it_id value='<?php echo $it['it_id']; ?>'>
|
||||
<table width=100% cellpadding=0 cellspacing=0>
|
||||
<tr><td height=2 bgcolor=#63BCC0 colspan=2></td></tr>
|
||||
|
||||
<? if (!$is_member) { ?>
|
||||
<?php if (!$is_member) { ?>
|
||||
<tr bgcolor=#fafafa>
|
||||
<td height=30 align=right>이름 </td>
|
||||
<td> <input type="text" name="iq_name" class=ed maxlength=20 minlength=2 required itemname="이름"></td></tr>
|
||||
@ -188,7 +188,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<td height=30 align=right>패스워드 </td>
|
||||
<td> <input type="password" name="iq_password" class=ed maxlength=20 minlength=3 required itemname="패스워드">
|
||||
<span class=small>패스워드는 최소 3글자 이상 입력하십시오.</span></td></tr>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
|
||||
<tr bgcolor=#fafafa>
|
||||
<td height=30 align=right>제목 </td>
|
||||
@ -197,11 +197,11 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<td align=right>내용 </td>
|
||||
<td> <textarea name="iq_question" rows="7" style='width:90%;' class=ed required itemname="내용"></textarea></td></tr>
|
||||
<tr bgcolor=#fafafa>
|
||||
<td colspan="2"><?=$captcha_html?></td>
|
||||
<td colspan="2"><?php echo $captcha_html; ?></td>
|
||||
</tr>
|
||||
<tr><td height=5 colspan=2></td></tr>
|
||||
<tr><td height=2 bgcolor=#63bcc0 colspan=2></td></tr>
|
||||
<tr><td colspan=2 align=right height=30><input type=image src='<?=G4_SHOP_URL?>/img/btn_confirm.gif' border=0></td></tr>
|
||||
<tr><td colspan=2 align=right height=30><input type=image src='<?php echo G4_SHOP_URL; ?>/img/btn_confirm.gif' border=0></td></tr>
|
||||
</table>
|
||||
</form>
|
||||
<br><br>
|
||||
@ -216,7 +216,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
<script type="text/javascript">
|
||||
function fitemqa_submit(f)
|
||||
{
|
||||
<? echo chk_captcha_js(); ?>
|
||||
<?php echo chk_captcha_js(); ?>
|
||||
|
||||
f.action = "itemqaupdate.php";
|
||||
return true;
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
include_once(G4_GCAPTCHA_PATH.'/gcaptcha.lib.php');
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
include_once("./_common.php");
|
||||
|
||||
if (!$is_member)
|
||||
@ -22,8 +22,8 @@ include_once(G4_PATH.'/head.sub.php');
|
||||
<td align="center" valign="middle" bgcolor="#EBEBEB">
|
||||
<table width="590" height="40" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td width="25" align="center" bgcolor="#FFFFFF" ><img src="<?=G4_SHOP_URL?>/img/icon_01.gif" width="5" height="5"></td>
|
||||
<td width="490" align="left" bgcolor="#FFFFFF" ><font color="#666666"><b><?=get_text($g4['title'])?></b></font></td>
|
||||
<td width="25" align="center" bgcolor="#FFFFFF" ><img src="<?php echo G4_SHOP_URL; ?>/img/icon_01.gif" width="5" height="5"></td>
|
||||
<td width="490" align="left" bgcolor="#FFFFFF" ><font color="#666666"><b><?php echo get_text($g4['title']); ?></b></font></td>
|
||||
<td width="75" bgcolor="#FFFFFF" ></td>
|
||||
</tr>
|
||||
</table></td>
|
||||
@ -32,8 +32,8 @@ include_once(G4_PATH.'/head.sub.php');
|
||||
|
||||
|
||||
<form name="fitemrecommend" method="post" action="./itemrecommendmail.php" onsubmit="return fitemrecommend_check(this);" style='margin:0px;' autocomplete='off'>
|
||||
<input type=hidden name=token value='<?=$token?>'>
|
||||
<input type=hidden name=it_id value='<?=$it_id?>'>
|
||||
<input type=hidden name=token value='<?php echo $token; ?>'>
|
||||
<input type=hidden name=it_id value='<?php echo $it_id; ?>'>
|
||||
<table width="600" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td height="300" align="center" valign="top">
|
||||
@ -84,8 +84,8 @@ include_once(G4_PATH.'/head.sub.php');
|
||||
</tr>
|
||||
<tr>
|
||||
<td height="40" align="center" valign="bottom">
|
||||
<input id=btn_submit type=image src="<?=G4_SHOP_URL?>/img/btn_confirm.gif" border=0>
|
||||
<a href="javascript:window.close();"><img src="<?=G4_SHOP_URL?>/img/btn_close.gif" border="0"></a>
|
||||
<input id=btn_submit type=image src="<?php echo G4_SHOP_URL; ?>/img/btn_confirm.gif" border=0>
|
||||
<a href="javascript:window.close();"><img src="<?php echo G4_SHOP_URL; ?>/img/btn_close.gif" border="0"></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@ -100,6 +100,6 @@ function fitemrecommend_check(f)
|
||||
document.getElementById('to_email').focus();
|
||||
</script>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once(G4_PATH.'/tail.sub.php');
|
||||
?>
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
include_once(G4_LIB_PATH.'/mailer.lib.php');
|
||||
|
||||
@ -51,7 +51,7 @@ mailer($from_name, $from_email, $to_email, $subject, $content, 1);
|
||||
|
||||
echo "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">";
|
||||
?>
|
||||
<meta http-equiv="content-type" content="text/html; charset=<?=$g4['charset']?>">
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<script language="JavaScript">
|
||||
alert("메일을 전달하였습니다");
|
||||
window.close();
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
include_once(G4_LIB_PATH.'/thumb.lib.php');
|
||||
?>
|
||||
@ -7,24 +7,24 @@ include_once(G4_LIB_PATH.'/thumb.lib.php');
|
||||
<a name="use"></a>
|
||||
<div id='item_use' style='display:block;'>
|
||||
<table width=100% cellpadding=0 cellspacing=0>
|
||||
<tr><td rowspan=2 width=31 valign=top bgcolor=#BDD3E5><img src='<?=G4_SHOP_URL?>/img/item_t02.gif'></td><td height=2 bgcolor=#BDD3E5></td></tr>
|
||||
<tr><td rowspan=2 width=31 valign=top bgcolor=#BDD3E5><img src='<?php echo G4_SHOP_URL; ?>/img/item_t02.gif'></td><td height=2 bgcolor=#BDD3E5></td></tr>
|
||||
<tr><td style='padding:15px;'>
|
||||
<table width=100% cellpadding=0 cellspacing=0 border=0>
|
||||
<tr>
|
||||
<td width=11><img src='<?=G4_SHOP_URL?>/img/corner01.gif'></td>
|
||||
<td width=11><img src='<?php echo G4_SHOP_URL; ?>/img/corner01.gif'></td>
|
||||
<td valign=top>
|
||||
<table width=100% height=31 cellpadding=0 cellspacing=0 border=0>
|
||||
<tr align=center>
|
||||
<td width=40 background='<?=G4_SHOP_URL?>/img/box_bg01.gif'>번호</td>
|
||||
<td background='<?=G4_SHOP_URL?>/img/box_bg01.gif'>제목</td>
|
||||
<td width=80 background='<?=G4_SHOP_URL?>/img/box_bg01.gif'>작성자</td>
|
||||
<td width=100 background='<?=G4_SHOP_URL?>/img/box_bg01.gif'>작성일</td>
|
||||
<td width=80 background='<?=G4_SHOP_URL?>/img/box_bg01.gif'>평가점수</td>
|
||||
<td width=40 background='<?php echo G4_SHOP_URL; ?>/img/box_bg01.gif'>번호</td>
|
||||
<td background='<?php echo G4_SHOP_URL; ?>/img/box_bg01.gif'>제목</td>
|
||||
<td width=80 background='<?php echo G4_SHOP_URL; ?>/img/box_bg01.gif'>작성자</td>
|
||||
<td width=100 background='<?php echo G4_SHOP_URL; ?>/img/box_bg01.gif'>작성일</td>
|
||||
<td width=80 background='<?php echo G4_SHOP_URL; ?>/img/box_bg01.gif'>평가점수</td>
|
||||
</tr>
|
||||
</table></td>
|
||||
<td width=11><img src='<?=G4_SHOP_URL?>/img/corner02.gif'></td>
|
||||
<td width=11><img src='<?php echo G4_SHOP_URL; ?>/img/corner02.gif'></td>
|
||||
</tr>
|
||||
<?
|
||||
<?php
|
||||
$sql_common = " from {$g4['shop_item_ps_table']} where it_id = '{$it['it_id']}' and is_confirm = '1' ";
|
||||
|
||||
// 테이블의 전체 레코드수만 얻음
|
||||
@ -139,9 +139,9 @@ include_once(G4_LIB_PATH.'/thumb.lib.php');
|
||||
}
|
||||
?>
|
||||
<tr>
|
||||
<td width=11><img src='<?=G4_SHOP_URL?>/img/corner03.gif'></td>
|
||||
<td width=100% background='<?=G4_SHOP_URL?>/img/box_bg04.gif'></td>
|
||||
<td width=11><img src='<?=G4_SHOP_URL?>/img/corner04.gif'></td>
|
||||
<td width=11><img src='<?php echo G4_SHOP_URL; ?>/img/corner03.gif'></td>
|
||||
<td width=100% background='<?php echo G4_SHOP_URL; ?>/img/box_bg04.gif'></td>
|
||||
<td width=11><img src='<?php echo G4_SHOP_URL; ?>/img/corner04.gif'></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@ -149,8 +149,7 @@ include_once(G4_LIB_PATH.'/thumb.lib.php');
|
||||
|
||||
<table width=100% cellpadding=0 cellspacing=0>
|
||||
<tr><td colspan=2 height=35>* 이 상품을 사용해 보셨다면 사용후기를 써 주십시오.
|
||||
<!-- <input type=image src='<?="$g4[shop_img_path]/btn_story.gif"?>' onclick="itemuse_insert();" align=absmiddle></td></tr> -->
|
||||
<input type=image src='<?=G4_SHOP_URL?>/img/btn_story.gif' onclick="itemusewin('it_id=<?=$it_id?>');" align=absmiddle></td></tr>
|
||||
<input type=image src='<?php echo G4_SHOP_URL; ?>/img/btn_story.gif' onclick="itemusewin('it_id=<?php echo $it_id; ?>');" align=absmiddle></td></tr>
|
||||
</table>
|
||||
|
||||
<script>
|
||||
@ -160,7 +159,7 @@ function itemusewin(query_string)
|
||||
}
|
||||
</script>
|
||||
|
||||
<? /*
|
||||
<?php /*
|
||||
<!-- 사용후기 폼 -->
|
||||
<div id=itemuse style='display:none;'>
|
||||
<form name="fitemuse" method="post" onsubmit="return fitemuse_submit(this);" autocomplete=off style="padding:0px;">
|
||||
@ -215,7 +214,7 @@ function itemusewin(query_string)
|
||||
<script type="text/javascript">
|
||||
function fitemuse_submit(f)
|
||||
{
|
||||
<? echo chk_captcha_js(); ?>
|
||||
<?php echo chk_captcha_js(); ?>
|
||||
|
||||
f.action = "itemuseupdate.php"
|
||||
return true;
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
include_once(G4_LIB_PATH.'/thumb.lib.php');
|
||||
|
||||
@ -51,7 +51,7 @@ $(function(){
|
||||
<td>평가점수</td>
|
||||
</tr>
|
||||
<tr><td colspan="5" height="1" bgcolor="#ededed"></td></tr>
|
||||
<?
|
||||
<?php
|
||||
$sql = " select *
|
||||
$sql_common
|
||||
$sql_search
|
||||
@ -99,9 +99,9 @@ if ($i == 0)
|
||||
<br><br>
|
||||
|
||||
<div style="text-align:center;">
|
||||
<?=get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page=");?>
|
||||
<?php echo get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page="); ?>
|
||||
</div>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once('./_tail.php');
|
||||
?>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
include_once(G4_GCAPTCHA_PATH.'/gcaptcha.lib.php');
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
include_once("./_common.php");
|
||||
|
||||
$w = substr($_REQUEST['w'],0,1);
|
||||
@ -40,31 +40,31 @@ label {width:130px;vertical-align:top;padding:3px 0;}
|
||||
|
||||
<div style="padding:10px;">
|
||||
<form name="fitemuse" method="post" onsubmit="return fitemuse_submit(this);" autocomplete="off">
|
||||
<input type="hidden" name="w" value="<?=$w?>">
|
||||
<input type="hidden" name="it_id" value="<?=$it_id?>">
|
||||
<input type="hidden" name="is_id" value="<?=$is_id?>">
|
||||
<input type="hidden" name="w" value="<?php echo $w; ?>">
|
||||
<input type="hidden" name="it_id" value="<?php echo $it_id; ?>">
|
||||
<input type="hidden" name="is_id" value="<?php echo $is_id; ?>">
|
||||
<fieldset style="padding:0 10px 10px;">
|
||||
<legend><strong>사용후기 쓰기</strong></legend>
|
||||
<ul style="padding:10px;">
|
||||
<li>
|
||||
<label for="is_subject">제목</label>
|
||||
<input type='text' id='is_subject' name='is_subject' size='100' class='ed' minlength='2' required itemname='제목' value='<?=get_text($ps['is_subject'])?>'>
|
||||
<input type='text' id='is_subject' name='is_subject' size='100' class='ed' minlength='2' required itemname='제목' value='<?php echo get_text($ps['is_subject']); ?>'>
|
||||
</li>
|
||||
<li>
|
||||
<label for="" style="width:200px;">내용</label>
|
||||
<?=editor_html('is_content', $ps['is_content']);?>
|
||||
<?php echo editor_html('is_content', $ps['is_content']); ?>
|
||||
</li>
|
||||
<li>
|
||||
<label>평가</label>
|
||||
<input type=radio name=is_score value='10' <?=($is_score==10)?"checked='checked'":"";?>><img src='<?=G4_SHOP_URL?>/img/star5.gif' align=absmiddle>
|
||||
<input type=radio name=is_score value='8' <?=($is_score==8)?"checked='checked'":"";?>><img src='<?=G4_SHOP_URL?>/img/star4.gif' align=absmiddle>
|
||||
<input type=radio name=is_score value='6' <?=($is_score==6)?"checked='checked'":"";?>><img src='<?=G4_SHOP_URL?>/img/star3.gif' align=absmiddle>
|
||||
<input type=radio name=is_score value='4' <?=($is_score==4)?"checked='checked'":"";?>><img src='<?=G4_SHOP_URL?>/img/star2.gif' align=absmiddle>
|
||||
<input type=radio name=is_score value='2' <?=($is_score==2)?"checked='checked'":"";?>><img src='<?=G4_SHOP_URL?>/img/star1.gif' align=absmiddle>
|
||||
<input type=radio name=is_score value='10' <?php echo ($is_score==10)?"checked='checked'":""; ?>><img src='<?php echo G4_SHOP_URL; ?>/img/star5.gif' align=absmiddle>
|
||||
<input type=radio name=is_score value='8' <?php echo ($is_score==8)?"checked='checked'":""; ?>><img src='<?php echo G4_SHOP_URL; ?>/img/star4.gif' align=absmiddle>
|
||||
<input type=radio name=is_score value='6' <?php echo ($is_score==6)?"checked='checked'":""; ?>><img src='<?php echo G4_SHOP_URL; ?>/img/star3.gif' align=absmiddle>
|
||||
<input type=radio name=is_score value='4' <?php echo ($is_score==4)?"checked='checked'":""; ?>><img src='<?php echo G4_SHOP_URL; ?>/img/star2.gif' align=absmiddle>
|
||||
<input type=radio name=is_score value='2' <?php echo ($is_score==2)?"checked='checked'":""; ?>><img src='<?php echo G4_SHOP_URL; ?>/img/star1.gif' align=absmiddle>
|
||||
</li>
|
||||
<li>
|
||||
<label style="vertical-align:middle;"></label>
|
||||
<?=$captcha_html?>
|
||||
<?php echo $captcha_html; ?>
|
||||
</li>
|
||||
</ul>
|
||||
<input type="submit" value=" 확 인 ">
|
||||
@ -90,9 +90,9 @@ function fitemuse_submit(f)
|
||||
}
|
||||
}
|
||||
|
||||
<? echo get_editor_js('is_content'); ?>
|
||||
<?php echo get_editor_js('is_content'); ?>
|
||||
|
||||
<? echo chk_captcha_js(); ?>
|
||||
<?php echo chk_captcha_js(); ?>
|
||||
|
||||
f.action = "./itemusewinupdate.php";
|
||||
}
|
||||
@ -101,6 +101,6 @@ $(function() {
|
||||
$("#is_subject").focus();
|
||||
});
|
||||
</script>
|
||||
<?
|
||||
<?php
|
||||
include_once(G4_PATH.'/tail.sub.php');
|
||||
?>
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
include_once(G4_GCAPTCHA_PATH.'/gcaptcha.lib.php');
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
|
||||
$sql = " select it_name from {$g4['shop_item_table']} where it_id='$it_id' ";
|
||||
@ -13,14 +13,14 @@ include_once(G4_PATH.'/head.sub.php');
|
||||
?>
|
||||
<br>
|
||||
<div align=center>
|
||||
<a href='#' onclick='window.close();'><img id='largeimage' src='<?=$imagefileurl?>' width='<?=$size[0]?>' height='<?=$size[1]?>' alt='<?=$row['it_name']?>' border=0 style='border:1 solid #E4E4E4;'></a>
|
||||
<a href='#' onclick='window.close();'><img id='largeimage' src='<?php echo $imagefileurl; ?>' width='<?php echo $size[0]; ?>' height='<?php echo $size[1]; ?>' alt='<?php echo $row['it_name']; ?>' border=0 style='border:1 solid #E4E4E4;'></a>
|
||||
</div>
|
||||
<p>
|
||||
<table width=100% cellpadding=0 cellspacing=0>
|
||||
<tr>
|
||||
<td width=30% align=center><a href='#' onclick='window.close();'><img src='<?=G4_SHOP_URL?>/img/btn_close.gif' border=0 alt="창닫기"></a></td>
|
||||
<td width=30% align=center><a href='#' onclick='window.close();'><img src='<?php echo G4_SHOP_URL; ?>/img/btn_close.gif' border=0 alt="창닫기"></a></td>
|
||||
<td width=70% align=right>
|
||||
<?
|
||||
<?php
|
||||
for ($i=1; $i<=5; $i++)
|
||||
{
|
||||
if (file_exists(G4_DATA_PATH."/item/{$it_id}_l{$i}"))
|
||||
@ -31,6 +31,6 @@ include_once(G4_PATH.'/head.sub.php');
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<?
|
||||
<?php
|
||||
include_once(G4_PATH.'/tail.sub.php');
|
||||
?>
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
include_once("./_common.php");
|
||||
|
||||
$sql = " select *
|
||||
@ -40,7 +40,7 @@ include G4_SHOP_PATH.'/listcategory2.inc.php';
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
<?
|
||||
<?php
|
||||
// 상품 출력순서가 있다면
|
||||
if ($sort != "") {
|
||||
$order_by = $sort . " , ";
|
||||
@ -101,13 +101,13 @@ if ($i==0)
|
||||
|
||||
<br>
|
||||
<div align=center style='clear:both;'>
|
||||
<?
|
||||
<?php
|
||||
$qstr1 .= "ca_id=$ca_id&skin=$skin&ev_id=$ev_id&sort=$sort";
|
||||
echo get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr1&page=");
|
||||
?>
|
||||
</div><br>
|
||||
|
||||
<?
|
||||
<?php
|
||||
// 하단 HTML
|
||||
echo stripslashes($ca['ca_tail_html']);
|
||||
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
<?
|
||||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<table width=100% cellpadding=2 cellspacing=0>
|
||||
<tr>
|
||||
<?
|
||||
<?php
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++)
|
||||
{
|
||||
if ( ($i>0) && (($i%$list_mod)==0) )
|
||||
|
||||
@ -1,13 +1,13 @@
|
||||
<?
|
||||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<br>
|
||||
<table width=98% cellpadding=0 cellspacing=0 align=center>
|
||||
<tr>
|
||||
<td width=50%>총 <span class=point><b><? echo number_format($total_count) ?></b></span>개의 상품이 있습니다.</td>
|
||||
<td width=50%>총 <span class=point><b><?php echo number_format($total_count); ?></b></span>개의 상품이 있습니다.</td>
|
||||
<td width=50% align=right style='padding-top:3px; padding-bottom:3px;'>
|
||||
<select id=it_sort name=sort onchange="if (this.value=='') return; document.location = '<? echo "{$_SERVER['PHP_SELF']}?ca_id=$ca_id&skin=$skin&ev_id=$ev_id&sort=" ?>'+this.value;" class=small>
|
||||
<select id=it_sort name=sort onchange="if (this.value=='') return; document.location = '<?php echo "{$_SERVER['PHP_SELF']}?ca_id=$ca_id&skin=$skin&ev_id=$ev_id&sort="; ?>'+this.value;" class=small>
|
||||
<option value=''>출력 순서
|
||||
<option value=''>---------
|
||||
<option value='it_amount asc'>낮은가격순
|
||||
@ -21,9 +21,9 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="2" background='<?=G4_SHOP_URL?>/img/line_h.gif' height=1></td></tr>
|
||||
<tr><td colspan="2" background='<?php echo G4_SHOP_URL; ?>/img/line_h.gif' height=1></td></tr>
|
||||
</table>
|
||||
|
||||
<script language='JavaScript'>
|
||||
document.getElementById('it_sort').value="<?=$sort?>";
|
||||
document.getElementById('it_sort').value="<?php echo $sort; ?>";
|
||||
</script>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// 총몇개 = 한줄에 몇개 * 몇줄
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$str = "";
|
||||
$exists = false;
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$str = "";
|
||||
$exists = false;
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
$str = "";
|
||||
$exists = false;
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
include_once('./_head.php');
|
||||
|
||||
@ -19,13 +19,13 @@ $img_width = 100; // 출력이미지 폭
|
||||
$img_height = 100; // 출력이미지 높이
|
||||
?>
|
||||
|
||||
<img src="<?=G4_SHOP_URL."/img/top_type{$type}.jpg"?>" border="0"><p>
|
||||
<img src="<?php echo G4_SHOP_URL."/img/top_type{$type}.jpg"; ?>" border="0"><p>
|
||||
|
||||
<table width=100% cellpadding=0 cellspacing=0>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
<?
|
||||
<?php
|
||||
// 상품 출력순서가 있다면
|
||||
if ($sort != "")
|
||||
$order_by = $sort . " , ";
|
||||
@ -80,13 +80,13 @@ if ($i==0)
|
||||
|
||||
<br>
|
||||
<div align=center>
|
||||
<?
|
||||
<?php
|
||||
$qstr .= "&type=$type&sort=$sort";
|
||||
echo get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page=");
|
||||
?>
|
||||
</div><br>
|
||||
|
||||
<?
|
||||
<?php
|
||||
// 테스트
|
||||
// 분류를 링크하는 코드
|
||||
/*
|
||||
@ -105,6 +105,6 @@ for($i=0;$row=sql_fetch_array($result);$i++) {
|
||||
*/
|
||||
?>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once('./_tail.php');
|
||||
?>
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
<?
|
||||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<table width=100% cellpadding=0 cellspacing=0 border=0>
|
||||
<tr>
|
||||
<?
|
||||
<?php
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
if ($i > 0 && $i % $list_mod == 0) {
|
||||
echo "</tr>\n\n<tr>\n";
|
||||
@ -12,15 +12,15 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
|
||||
$href = "<a href='".G4_SHOP_URL."/item.php?it_id={$row['it_id']}' class=item>";
|
||||
?>
|
||||
<td width="<?=$td_width?>%" align=center valign=top>
|
||||
<td width="<?php echo $td_width; ?>%" align=center valign=top>
|
||||
<table width=98% cellpadding=1 cellspacing=0 border=0>
|
||||
<tr><td height=5></td></tr>
|
||||
<tr><td align=center><?=$href?><?=get_it_image($row['it_id']."_s", $img_width, $img_height)?></a></td></tr>
|
||||
<tr><td align=center><?=$href?><?=stripslashes($row['it_name'])?></a></td></tr>
|
||||
<!--시중가격<tr><td align=center><strike><?=display_amount($row[it_cust_amount])?></strike></td></tr>-->
|
||||
<tr><td align=center><span class=amount><?=display_amount(get_amount($row), $row['it_tel_inq'])?></span></td></tr>
|
||||
<tr><td align=center><?php echo $href; ?><?php echo get_it_image($row['it_id']."_s", $img_width, $img_height); ?></a></td></tr>
|
||||
<tr><td align=center><?php echo $href; ?><?php echo stripslashes($row['it_name']); ?></a></td></tr>
|
||||
<!--시중가격<tr><td align=center><strike><?php echo display_amount($row[it_cust_amount]); ?></strike></td></tr>-->
|
||||
<tr><td align=center><span class=amount><?php echo display_amount(get_amount($row), $row['it_tel_inq']); ?></span></td></tr>
|
||||
</table></td>
|
||||
<?
|
||||
<?php
|
||||
/*
|
||||
// 이미지 오른쪽에 구분선을 두는 경우 (이미지로 대체 가능)
|
||||
if ($i%$list_mod!=$list_mod-1)
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
|
||||
if (!$is_member)
|
||||
@ -11,15 +11,15 @@ include_once('./_head.php');
|
||||
//include("./navigation2.inc.php");
|
||||
?>
|
||||
|
||||
<img src="<?=G4_SHOP_URL?>/img/top_mypage.gif" border=0><p>
|
||||
<img src="<?php echo G4_SHOP_URL; ?>/img/top_mypage.gif" border=0><p>
|
||||
|
||||
<table align=center width=100%>
|
||||
<tr>
|
||||
<td><B><?=$member['mb_name']?></B> 님의 마이페이지입니다.</td>
|
||||
<td><B><?php echo $member['mb_name']; ?></B> 님의 마이페이지입니다.</td>
|
||||
<td align=right>
|
||||
<? if ($is_admin == 'super') { echo "<a href='".G4_ADMIN_URL."/'><img src='".G4_SHOP_URL."/img/btn_admin.gif' border=0 align='absmiddle'></a>"; } ?>
|
||||
<a href='<?=G4_BBS_URL?>/member_confirm.php?url=register_form.php'><img src='<?=G4_SHOP_URL?>/img/my_modify.gif' border=0 align='absmiddle'></a>
|
||||
<a href="<?=G4_BBS_URL?>/member_confirm.php?url=member_leave.php" onclick="return member_leave();"><img src='<?=G4_SHOP_URL?>/img/my_leave.gif' border=0 align='absmiddle'></a></td>
|
||||
<?php if ($is_admin == 'super') { echo "<a href='".G4_ADMIN_URL."/'><img src='".G4_SHOP_URL."/img/btn_admin.gif' border=0 align='absmiddle'></a>"; } ?>
|
||||
<a href='<?php echo G4_BBS_URL; ?>/member_confirm.php?url=register_form.php'><img src='<?php echo G4_SHOP_URL; ?>/img/my_modify.gif' border=0 align='absmiddle'></a>
|
||||
<a href="<?php echo G4_BBS_URL; ?>/member_confirm.php?url=member_leave.php" onclick="return member_leave();"><img src='<?php echo G4_SHOP_URL; ?>/img/my_leave.gif' border=0 align='absmiddle'></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@ -30,44 +30,44 @@ function member_leave()
|
||||
}
|
||||
</script>
|
||||
|
||||
<table cellpadding=0 cellspacing=0 align=center background='<?=G4_SHOP_URL?>/img/my_bg.gif'>
|
||||
<tr><td colspan=4><img src='<?=G4_SHOP_URL?>/img/my_box01.gif'></td></tr>
|
||||
<table cellpadding=0 cellspacing=0 align=center background='<?php echo G4_SHOP_URL; ?>/img/my_bg.gif'>
|
||||
<tr><td colspan=4><img src='<?php echo G4_SHOP_URL; ?>/img/my_box01.gif'></td></tr>
|
||||
<tr>
|
||||
<td height=25> 보유포인트 </td>
|
||||
<td>: <a href="<?=G4_BBS_URL?>/point.php" target="_blank" class="win_point"><?=number_format($member['mb_point'])?>점</a></td>
|
||||
<td>: <a href="<?php echo G4_BBS_URL; ?>/point.php" target="_blank" class="win_point"><?php echo number_format($member['mb_point']); ?>점</a></td>
|
||||
<td>쪽지함</td>
|
||||
<td>: <a href="<?=G4_BBS_URL?>/memo.php" target="_blank" class="win_memo">쪽지보기</a></td>
|
||||
<td>: <a href="<?php echo G4_BBS_URL; ?>/memo.php" target="_blank" class="win_memo">쪽지보기</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height=25> 주소</td>
|
||||
<td>: <?=sprintf("(%s-%s) %s %s", $member['mb_zip1'], $member['mb_zip2'], $member['mb_addr1'], $member['mb_addr2']);?></td>
|
||||
<td>: <?php echo sprintf("(%s-%s) %s %s", $member['mb_zip1'], $member['mb_zip2'], $member['mb_addr1'], $member['mb_addr2']); ?></td>
|
||||
<td>회원권한</td>
|
||||
<td>: <?=$member['mb_level']?></td>
|
||||
<td>: <?php echo $member['mb_level']; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height=25> 연락처</td>
|
||||
<td>: <?=$member['mb_tel']?></td>
|
||||
<td>: <?php echo $member['mb_tel']; ?></td>
|
||||
<td>최종접속일시</td>
|
||||
<td>: <?=$member['mb_today_login']?></td>
|
||||
<td>: <?php echo $member['mb_today_login']; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height=25> E-mail</td>
|
||||
<td>: <?=$member['mb_email']?></td>
|
||||
<td>: <?php echo $member['mb_email']; ?></td>
|
||||
<td>회원가입일시</td>
|
||||
<td>: <?=$member['mb_datetime']?></td>
|
||||
<td>: <?php echo $member['mb_datetime']; ?></td>
|
||||
</tr>
|
||||
<tr><td colspan=4><img src='<?=G4_SHOP_URL?>/img/my_box02.gif'></td></tr>
|
||||
<tr><td colspan=4><img src='<?php echo G4_SHOP_URL; ?>/img/my_box02.gif'></td></tr>
|
||||
</table><BR><BR>
|
||||
|
||||
|
||||
<table width=98% cellpadding=0 cellspacing=0 align=center>
|
||||
<tr>
|
||||
<td height=35><img src='<?=G4_SHOP_URL?>/img/my_title01.gif'></td>
|
||||
<td align=right><a href='./orderinquiry.php'><img src='<?=G4_SHOP_URL?>/img/icon_more.gif' border=0></a></td>
|
||||
<td height=35><img src='<?php echo G4_SHOP_URL; ?>/img/my_title01.gif'></td>
|
||||
<td align=right><a href='./orderinquiry.php'><img src='<?php echo G4_SHOP_URL; ?>/img/icon_more.gif' border=0></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<?
|
||||
<?php
|
||||
// 최근 주문내역
|
||||
define("_ORDERINQUIRY_", true);
|
||||
|
||||
@ -78,8 +78,8 @@ include G4_SHOP_PATH.'/orderinquiry.sub.php';
|
||||
|
||||
<table width=98% cellpadding=0 cellspacing=0 align=center>
|
||||
<tr>
|
||||
<td height=35 colspan=2><img src='<?=G4_SHOP_URL?>/img/my_title02.gif'></td>
|
||||
<td align=right><a href='./wishlist.php'><img src='<?=G4_SHOP_URL?>/img/icon_more.gif' border=0></a></td>
|
||||
<td height=35 colspan=2><img src='<?php echo G4_SHOP_URL; ?>/img/my_title02.gif'></td>
|
||||
<td align=right><a href='./wishlist.php'><img src='<?php echo G4_SHOP_URL; ?>/img/icon_more.gif' border=0></a></td>
|
||||
</tr>
|
||||
<tr><td height=2 colspan=3 class=c1></td></tr>
|
||||
<tr align=center height=25 class=c2>
|
||||
@ -87,7 +87,7 @@ include G4_SHOP_PATH.'/orderinquiry.sub.php';
|
||||
<td>보관일시</td>
|
||||
</tr>
|
||||
<tr><td height=1 colspan=3 class=c1></td></tr>
|
||||
<?
|
||||
<?php
|
||||
$sql = " select *
|
||||
from {$g4['shop_wish_table']} a,
|
||||
{$g4['shop_item_table']} b
|
||||
@ -117,6 +117,6 @@ if ($i == 0)
|
||||
</table>
|
||||
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once("./_tail.php");
|
||||
?>
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
if ($ca_id)
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
<?
|
||||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<!-- 네비게이션 -->
|
||||
<table width='100%' cellpadding=0 cellspacing=0 align=center>
|
||||
<tr><td height=2></td>
|
||||
<tr><td height=20 valign=top style='padding-left:2px;'><img src='<?=G4_SHOP_URL?>/img/navi_icon.gif' align=absmiddle>
|
||||
현재위치 : <a href='<?=G4_SHOP_URL?>/'>Home</a> > <?=$str?></td></tr>
|
||||
<tr><td height=20 valign=top style='padding-left:2px;'><img src='<?php echo G4_SHOP_URL; ?>/img/navi_icon.gif' align=absmiddle>
|
||||
현재위치 : <a href='<?php echo G4_SHOP_URL; ?>/'>Home</a> > <?php echo $str; ?></td></tr>
|
||||
<tr><td height=1 bgcolor=#EFEFEF></td></tr>
|
||||
</table>
|
||||
|
||||
@ -16,11 +16,11 @@ for ($i=0; $row_nw=sql_fetch_array($result); $i++)
|
||||
?>
|
||||
<div id="hd_pops_<?php echo $nw['nw_id'] ?>" class="hd_pops" style="top:<?php echo $nw['nw_top']?>px;left:<?php echo $nw['nw_left']?>px;width:<?php echo $nw['nw_width'] ?>px;height:<?php echo $nw['nw_height'] ?>px">
|
||||
<div class="hd_pops_con">
|
||||
<?=conv_content($nw['nw_content'], 1);?>
|
||||
<?php echo conv_content($nw['nw_content'], 1); ?>
|
||||
</div>
|
||||
<div class="hd_pops_footer">
|
||||
<button class="hd_pops_reject hd_pops_<?=$nw['nw_id']?> <?=$nw['nw_disable_hours']?>"><strong><?=$nw['nw_disable_hours']?></strong>시간 동안 다시 열람하지 않습니다.</button>
|
||||
<button class="hd_pops_close hd_pops_<?=$nw['nw_id']?>">닫기</button>
|
||||
<button class="hd_pops_reject hd_pops_<?php echo $nw['nw_id']; ?> <?php echo $nw['nw_disable_hours']; ?>"><strong><?php echo $nw['nw_disable_hours']; ?></strong>시간 동안 다시 열람하지 않습니다.</button>
|
||||
<button class="hd_pops_close hd_pops_<?php echo $nw['nw_id']; ?>">닫기</button>
|
||||
</div>
|
||||
</div>
|
||||
<?php }
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
|
||||
$sql = " select * from {$g4['shop_new_win_table']} where nw_id = '$nw_id' ";
|
||||
@ -13,26 +13,26 @@ include_once(G4_PATH.'/head.sub.php');
|
||||
?>
|
||||
|
||||
<script language="JavaScript">
|
||||
function div_close_<? echo $nw['nw_id'] ?>()
|
||||
function div_close_<?php echo $nw['nw_id']; ?>()
|
||||
{
|
||||
if (check_notice_<? echo $nw['nw_id'] ?>.checked == true) {
|
||||
set_cookie("ck_notice_<? echo $nw[nw_id] ?>", "1" , <? echo $nw['nw_disable_hours'] ?>);
|
||||
if (check_notice_<?php echo $nw['nw_id']; ?>.checked == true) {
|
||||
set_cookie("ck_notice_<?php echo $nw['nw_id']; ?>", "1" , <?php echo $nw['nw_disable_hours']; ?>);
|
||||
}
|
||||
window.close();
|
||||
}
|
||||
</script>
|
||||
|
||||
<div id="div_notice_<? echo $nw['nw_id'] ?>">
|
||||
<table width="<? echo $nw['nw_width'] ?>" height="<? echo $nw['nw_height'] ?>" cellpadding="0" cellspacing="0">
|
||||
<div id="div_notice_<?php echo $nw['nw_id']; ?>">
|
||||
<table width="<?php echo $nw['nw_width']; ?>" height="<?php echo $nw['nw_height']; ?>" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td valign=top><?=conv_content($nw['nw_content'], $nw['nw_content_html']);?></td>
|
||||
<td valign=top><?php echo conv_content($nw['nw_content'], $nw['nw_content_html']); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td height=30 align=center><input type=checkbox id='check_notice_<?=$nw['nw_id']?>' name='check_notice_<?=$nw['nw_id']?>' value='1' onclick="div_close_<? echo $nw['nw_id'] ?>();"><font color="<? echo $nw['nw_font_color'] ?>"> <label for='check_notice_<?=$nw['nw_id']?>'>오늘 하루 이창을 열지 않습니다.</label><!-- <? echo $nw[nw_disable_hours] ?> 시간동안 이창을 다시 띄우지 않겠습니다. --></font></td>
|
||||
<td height=30 align=center><input type=checkbox id='check_notice_<?php echo $nw['nw_id']; ?>' name='check_notice_<?php echo $nw['nw_id']; ?>' value='1' onclick="div_close_<?php echo $nw['nw_id']; ?>();"><font color="<?php echo $nw['nw_font_color']; ?>"> <label for='check_notice_<?php echo $nw['nw_id']; ?>'>오늘 하루 이창을 열지 않습니다.</label><!-- <?php echo $nw[nw_disable_hours]; ?> 시간동안 이창을 다시 띄우지 않겠습니다. --></font></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once(G4_PATH.'/tail.sub.php');
|
||||
?>
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
|
||||
set_session("ss_direct", $sw_direct);
|
||||
@ -25,9 +25,9 @@ $od_id = get_uniqid();
|
||||
set_session('ss_order_uniqid', $od_id);
|
||||
?>
|
||||
|
||||
<img src="<?=G4_SHOP_URL?>/img/top_orderform.gif" border="0"><p>
|
||||
<img src="<?php echo G4_SHOP_URL; ?>/img/top_orderform.gif" border="0"><p>
|
||||
|
||||
<?
|
||||
<?php
|
||||
$s_page = 'orderform.php';
|
||||
$s_uq_id = $tmp_uq_id;
|
||||
include_once('./cartsub.inc.php');
|
||||
@ -41,15 +41,15 @@ $good_mny = (int)$tot_sell_amount + (int)$send_cost;
|
||||
$order_action_url = G4_HTTPS_SHOP_URL.'/orderformupdate.php';
|
||||
?>
|
||||
|
||||
<?
|
||||
<?php
|
||||
/* ============================================================================== */
|
||||
/* = Javascript source Include = */
|
||||
/* = -------------------------------------------------------------------------- = */
|
||||
/* = ※ 필수 = */
|
||||
/* = -------------------------------------------------------------------------- = */
|
||||
?>
|
||||
<script type="text/javascript" src="<? echo $g_conf_js_url; ?>"></script>
|
||||
<?
|
||||
<script type="text/javascript" src="<?php echo $g_conf_js_url; ?>"></script>
|
||||
<?php
|
||||
/* = -------------------------------------------------------------------------- = */
|
||||
/* = Javascript source Include END = */
|
||||
/* ============================================================================== */
|
||||
@ -118,11 +118,11 @@ $order_action_url = G4_HTTPS_SHOP_URL.'/orderformupdate.php';
|
||||
setTimeout("init_pay_button();",300);
|
||||
</script>
|
||||
|
||||
<form name=forderform method=post action="<?=$order_action_url?>" onsubmit="return forderform_check(this);" autocomplete=off>
|
||||
<input type=hidden name=od_amount value='<?=$tot_sell_amount?>'>
|
||||
<input type=hidden name=od_send_cost value='<?=$send_cost?>'>
|
||||
<form name=forderform method=post action="<?php echo $order_action_url; ?>" onsubmit="return forderform_check(this);" autocomplete=off>
|
||||
<input type=hidden name=od_amount value='<?php echo $tot_sell_amount; ?>'>
|
||||
<input type=hidden name=od_send_cost value='<?php echo $send_cost; ?>'>
|
||||
|
||||
<?
|
||||
<?php
|
||||
/* ============================================================================== */
|
||||
/* = 2. 가맹점 필수 정보 설정 = */
|
||||
/* = -------------------------------------------------------------------------- = */
|
||||
@ -131,11 +131,11 @@ $order_action_url = G4_HTTPS_SHOP_URL.'/orderformupdate.php';
|
||||
// 요청종류 : 승인(pay)/취소,매입(mod) 요청시 사용
|
||||
?>
|
||||
<input type="hidden" name="req_tx" value="pay" />
|
||||
<input type="hidden" name="site_cd" value="<? echo $default['de_kcp_mid']; ?>" />
|
||||
<input type="hidden" name="site_key" value="<? echo $default['de_kcp_site_key']; ?>" />
|
||||
<input type="hidden" name="site_name" value="<? echo $default['de_admin_company_name']; ?>" />
|
||||
<input type="hidden" name="site_cd" value="<?php echo $default['de_kcp_mid']; ?>" />
|
||||
<input type="hidden" name="site_key" value="<?php echo $default['de_kcp_site_key']; ?>" />
|
||||
<input type="hidden" name="site_name" value="<?php echo $default['de_admin_company_name']; ?>" />
|
||||
|
||||
<?
|
||||
<?php
|
||||
/*
|
||||
할부옵션 : Payplus Plug-in에서 카드결제시 최대로 표시할 할부개월 수를 설정합니다.(0 ~ 18 까지 설정 가능)
|
||||
※ 주의 - 할부 선택은 결제금액이 50,000원 이상일 경우에만 가능, 50000원 미만의 금액은 일시불로만 표기됩니다
|
||||
@ -143,9 +143,9 @@ $order_action_url = G4_HTTPS_SHOP_URL.'/orderformupdate.php';
|
||||
*/
|
||||
?>
|
||||
<input type="hidden" name="pay_method" value="" />
|
||||
<input type="hidden" name="ordr_idxx" value="<? echo $od_id; ?>" />
|
||||
<input type="hidden" name="good_name" value="<? echo $goods; ?>" />
|
||||
<input type="hidden" name="good_mny" value="<? echo $good_mny; ?>" />
|
||||
<input type="hidden" name="ordr_idxx" value="<?php echo $od_id; ?>" />
|
||||
<input type="hidden" name="good_name" value="<?php echo $goods; ?>" />
|
||||
<input type="hidden" name="good_mny" value="<?php echo $good_mny; ?>" />
|
||||
<input type="hidden" name="buyr_name" value="" />
|
||||
<input type="hidden" name="buyr_mail" value="" />
|
||||
<input type="hidden" name="buyr_tel1" value="" />
|
||||
@ -164,13 +164,13 @@ $order_action_url = G4_HTTPS_SHOP_URL.'/orderformupdate.php';
|
||||
<!-- 필수 항목 : 결제 금액/화폐단위 -->
|
||||
<input type="hidden" name="currency" value="WON"/>
|
||||
|
||||
<?
|
||||
<?php
|
||||
/* = -------------------------------------------------------------------------- = */
|
||||
/* = 2. 가맹점 필수 정보 설정 END = */
|
||||
/* ============================================================================== */
|
||||
?>
|
||||
|
||||
<?
|
||||
<?php
|
||||
/* ============================================================================== */
|
||||
/* = 3. Payplus Plugin 필수 정보(변경 불가) = */
|
||||
/* = -------------------------------------------------------------------------- = */
|
||||
@ -222,24 +222,24 @@ $order_action_url = G4_HTTPS_SHOP_URL.'/orderformupdate.php';
|
||||
<input type='hidden' name='escw_used' value='Y'>
|
||||
|
||||
<!-- 에스크로 결제처리 모드 : 에스크로: Y, 일반: N, KCP 설정 조건: O -->
|
||||
<input type='hidden' name='pay_mod' value='<?=($default['de_escrow_use']?"O":"N");?>'>
|
||||
<input type='hidden' name='pay_mod' value='<?php echo ($default['de_escrow_use']?"O":"N"); ?>'>
|
||||
|
||||
<!-- 배송 소요일 : 예상 배송 소요일을 입력 -->
|
||||
<input type='hidden' name='deli_term' value='03'>
|
||||
|
||||
<!-- 장바구니 상품 개수 : 장바구니에 담겨있는 상품의 개수를 입력 -->
|
||||
<input type='hidden' name='bask_cntx' value="<? echo (int)$goods_count + 1; ?>" />
|
||||
<input type='hidden' name='bask_cntx' value="<?php echo (int)$goods_count + 1; ?>" />
|
||||
|
||||
<!-- 장바구니 상품 상세 정보 (자바 스크립트 샘플(create_goodInfo()) 참고) -->
|
||||
<input type='hidden' name='good_info' value="<? echo $good_info; ?>" />
|
||||
<input type='hidden' name='good_info' value="<?php echo $good_info; ?>" />
|
||||
|
||||
<?
|
||||
<?php
|
||||
/* = -------------------------------------------------------------------------- = */
|
||||
/* = 3. Payplus Plugin 필수 정보 END = */
|
||||
/* ============================================================================== */
|
||||
?>
|
||||
|
||||
<?
|
||||
<?php
|
||||
/* ============================================================================== */
|
||||
/* = 4. 옵션 정보 = */
|
||||
/* = -------------------------------------------------------------------------- = */
|
||||
@ -284,7 +284,7 @@ $order_action_url = G4_HTTPS_SHOP_URL.'/orderformupdate.php';
|
||||
※ 해당 은행을 결제창에서 보이게 합니다.(은행코드는 매뉴얼을 참조) */
|
||||
?>
|
||||
<input type="hidden" name="wish_vbank_list" value="05:03:04:07:11:23:26:32:34:81:71"/>
|
||||
<?
|
||||
<?php
|
||||
|
||||
|
||||
/* 가상계좌 입금 기한 설정하는 파라미터 - 발급일 + 3일
|
||||
@ -311,26 +311,26 @@ $order_action_url = G4_HTTPS_SHOP_URL.'/orderformupdate.php';
|
||||
※ 주의 : 현금영수증 사용 시 KCP 상점관리자 페이지에서 현금영수증 사용 동의를 하셔야 합니다 */
|
||||
?>
|
||||
<input type="hidden" name="disp_tax_yn" value="N"/>
|
||||
<?
|
||||
<?php
|
||||
/* 결제창에 가맹점 사이트의 로고를 플러그인 좌측 상단에 출력하는 파라미터 입니다
|
||||
업체의 로고가 있는 URL을 정확히 입력하셔야 하며, 최대 150 X 50 미만 크기 지원
|
||||
|
||||
※ 주의 : 로고 용량이 150 X 50 이상일 경우 site_name 값이 표시됩니다. */
|
||||
?>
|
||||
<input type="hidden" name="site_logo" value="" />
|
||||
<?
|
||||
<?php
|
||||
/* 결제창 영문 표시 파라미터 입니다. 영문을 기본으로 사용하시려면 Y로 세팅하시기 바랍니다
|
||||
2010-06월 현재 신용카드와 가상계좌만 지원됩니다
|
||||
<input type='hidden' name='eng_flag' value='Y'> */
|
||||
?>
|
||||
|
||||
<?
|
||||
<?php
|
||||
/* skin_indx 값은 스킨을 변경할 수 있는 파라미터이며 총 7가지가 지원됩니다.
|
||||
변경을 원하시면 1부터 7까지 값을 넣어주시기 바랍니다. */
|
||||
?>
|
||||
<input type='hidden' name='skin_indx' value='1'>
|
||||
|
||||
<?
|
||||
<?php
|
||||
/* 상품코드 설정 파라미터 입니다.(상품권을 따로 구분하여 처리할 수 있는 옵션기능입니다.)
|
||||
<input type='hidden' name='good_cd' value=''> */
|
||||
|
||||
@ -344,62 +344,62 @@ $order_action_url = G4_HTTPS_SHOP_URL.'/orderformupdate.php';
|
||||
<colgroup width=140>
|
||||
<colgroup width=''>
|
||||
<tr>
|
||||
<td bgcolor=#F3F2FF align=center><img src='<?=G4_SHOP_URL?>/img/t_data01.gif'></td>
|
||||
<td bgcolor=#F3F2FF align=center><img src='<?php echo G4_SHOP_URL; ?>/img/t_data01.gif'></td>
|
||||
<td bgcolor=#FAFAFA style='padding-left:10px'>
|
||||
<table cellpadding=3>
|
||||
<colgroup width=100>
|
||||
<colgroup width=''>
|
||||
<tr>
|
||||
<td>이름</td>
|
||||
<td><input type=text id=od_name name=od_name value='<?=$member['mb_name']?>' maxlength=20 class=ed></td>
|
||||
<td><input type=text id=od_name name=od_name value='<?php echo $member['mb_name']; ?>' maxlength=20 class=ed></td>
|
||||
</tr>
|
||||
|
||||
<? if (!$is_member) { // 비회원이면 ?>
|
||||
<?php if (!$is_member) { // 비회원이면 ?>
|
||||
<tr>
|
||||
<td>비밀번호</td>
|
||||
<td><input type=password name=od_pwd class=ed maxlength=20>
|
||||
영,숫자 3~20자 (주문서 조회시 필요)</td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
|
||||
<tr>
|
||||
<td>전화번호</td>
|
||||
<td><input type=text name=od_tel value='<?=$member['mb_tel']?>' maxlength=20 class=ed></td>
|
||||
<td><input type=text name=od_tel value='<?php echo $member['mb_tel']; ?>' maxlength=20 class=ed></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>핸드폰</td>
|
||||
<td><input type=text name=od_hp value='<?=$member['mb_hp']?>' maxlength=20 class=ed></td>
|
||||
<td><input type=text name=od_hp value='<?php echo $member['mb_hp']; ?>' maxlength=20 class=ed></td>
|
||||
</tr>
|
||||
<?
|
||||
<?php
|
||||
$zip_href = G4_BBS_URL.'/zip.php?frm_name=forderform&frm_zip1=od_zip1&frm_zip2=od_zip2&frm_addr1=od_addr1&frm_addr2=od_addr2';
|
||||
?>
|
||||
<tr>
|
||||
<td rowspan=2>주 소</td>
|
||||
<td>
|
||||
<input type=text name=od_zip1 size=3 maxlength=3 value='<?=$member['mb_zip1']?>' class=ed readonly>
|
||||
<input type=text name=od_zip1 size=3 maxlength=3 value='<?php echo $member['mb_zip1']; ?>' class=ed readonly>
|
||||
-
|
||||
<input type=text name=od_zip2 size=3 maxlength=3 value='<?=$member['mb_zip2']?>' class=ed readonly>
|
||||
<a href="<? echo $zip_href;?>" class="win_zip_find" target="_blank"><img
|
||||
src="<?=G4_SHOP_URL?>/img/btn_zip_find.gif" border="0" align=absmiddle></a>
|
||||
<input type=text name=od_zip2 size=3 maxlength=3 value='<?php echo $member['mb_zip2']; ?>' class=ed readonly>
|
||||
<a href="<?php echo $zip_href; ?>" class="win_zip_find" target="_blank"><img
|
||||
src="<?php echo G4_SHOP_URL; ?>/img/btn_zip_find.gif" border="0" align=absmiddle></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input type=text name=od_addr1 size=35 maxlength=50 value='<?=$member['mb_addr1']?>' class=ed readonly>
|
||||
<input type=text name=od_addr2 size=20 maxlength=50 value='<?=$member['mb_addr2']?>' class=ed> (상세주소)
|
||||
<input type=text name=od_addr1 size=35 maxlength=50 value='<?php echo $member['mb_addr1']; ?>' class=ed readonly>
|
||||
<input type=text name=od_addr2 size=20 maxlength=50 value='<?php echo $member['mb_addr2']; ?>' class=ed> (상세주소)
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>E-mail</td>
|
||||
<td><input type=text name=od_email size=35 maxlength=100 value='<?=$member['mb_email']?>' class=ed></td>
|
||||
<td><input type=text name=od_email size=35 maxlength=100 value='<?php echo $member['mb_email']; ?>' class=ed></td>
|
||||
</tr>
|
||||
|
||||
<? if ($default['de_hope_date_use']) { // 배송희망일 사용 ?>
|
||||
<?php if ($default['de_hope_date_use']) { // 배송희망일 사용 ?>
|
||||
<tr>
|
||||
<td>희망배송일</td>
|
||||
<td><select name=od_hope_date>
|
||||
<option value=''>선택하십시오.
|
||||
<?
|
||||
<?php
|
||||
for ($i=0; $i<7; $i++) {
|
||||
$sdate = date("Y-m-d", time()+86400*($default['de_hope_date_after']+$i));
|
||||
echo "<option value='$sdate'>$sdate (".get_yoil($sdate).")\n";
|
||||
@ -407,7 +407,7 @@ $order_action_url = G4_HTTPS_SHOP_URL.'/orderformupdate.php';
|
||||
?>
|
||||
</select></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
@ -418,7 +418,7 @@ $order_action_url = G4_HTTPS_SHOP_URL.'/orderformupdate.php';
|
||||
<colgroup width=140>
|
||||
<colgroup width=''>
|
||||
<tr>
|
||||
<td bgcolor=#F3F2FF align=center><img src='<?=G4_SHOP_URL?>/img/t_data03.gif'></td>
|
||||
<td bgcolor=#F3F2FF align=center><img src='<?php echo G4_SHOP_URL; ?>/img/t_data03.gif'></td>
|
||||
<td bgcolor=#FAFAFA style='padding-left:10px'>
|
||||
<table cellpadding=3>
|
||||
<colgroup width=100>
|
||||
@ -442,7 +442,7 @@ $order_action_url = G4_HTTPS_SHOP_URL.'/orderformupdate.php';
|
||||
<td><input type=text name=od_b_hp class=ed
|
||||
maxlength=20></td>
|
||||
</tr>
|
||||
<?
|
||||
<?php
|
||||
$zip_href = G4_BBS_URL.'/zip.php?frm_name=forderform&frm_zip1=od_b_zip1&frm_zip2=od_b_zip2&frm_addr1=od_b_addr1&frm_addr2=od_b_addr2';
|
||||
?>
|
||||
<tr>
|
||||
@ -451,8 +451,8 @@ $order_action_url = G4_HTTPS_SHOP_URL.'/orderformupdate.php';
|
||||
<input type=text name=od_b_zip1 size=3 maxlength=3 class=ed readonly>
|
||||
-
|
||||
<input type=text name=od_b_zip2 size=3 maxlength=3 class=ed readonly>
|
||||
<a href="<? echo $zip_href; ?>" class="win_zip_find" target="_blank"><img
|
||||
src="<?=G4_SHOP_URL?>/img/btn_zip_find.gif" border="0" align=absmiddle></a>
|
||||
<a href="<?php echo $zip_href; ?>" class="win_zip_find" target="_blank"><img
|
||||
src="<?php echo G4_SHOP_URL; ?>/img/btn_zip_find.gif" border="0" align=absmiddle></a>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
@ -476,12 +476,12 @@ $order_action_url = G4_HTTPS_SHOP_URL.'/orderformupdate.php';
|
||||
<colgroup width=140>
|
||||
<colgroup width=''>
|
||||
<tr>
|
||||
<td bgcolor=#FFEFFD align=center><img src='<?=G4_SHOP_URL?>/img/t_data04.gif'></td>
|
||||
<td bgcolor=#FFEFFD align=center><img src='<?php echo G4_SHOP_URL; ?>/img/t_data04.gif'></td>
|
||||
<td bgcolor=#FAFAFA style='padding-left:10px'>
|
||||
<table cellpadding=3>
|
||||
<tr>
|
||||
<td height=50>
|
||||
<?
|
||||
<?php
|
||||
$multi_settle == 0;
|
||||
$checked = "";
|
||||
|
||||
@ -555,7 +555,7 @@ $order_action_url = G4_HTTPS_SHOP_URL.'/orderformupdate.php';
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<?
|
||||
<?php
|
||||
if ($default['de_bank_use']) {
|
||||
// 은행계좌를 배열로 만든후
|
||||
$str = explode("\n", trim($default['de_bank_account']));
|
||||
@ -580,7 +580,7 @@ $order_action_url = G4_HTTPS_SHOP_URL.'/orderformupdate.php';
|
||||
<table width=100%>
|
||||
<tr>
|
||||
<td>계좌번호</td>
|
||||
<td><?=$bank_account?></td>
|
||||
<td><?php echo $bank_account; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>입금자명</td>
|
||||
@ -588,15 +588,15 @@ $order_action_url = G4_HTTPS_SHOP_URL.'/orderformupdate.php';
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p align=center id="display_pay_button" style="display:none">
|
||||
<input type="image" src="<?=G4_SHOP_URL?>/img/btn_next2.gif" border=0 alt="결제하기">
|
||||
<a href='javascript:history.go(-1);'><img src="<?=G4_SHOP_URL?>/img/btn_back1.gif" alt="뒤로" border=0></a>
|
||||
<input type="image" src="<?php echo G4_SHOP_URL; ?>/img/btn_next2.gif" border=0 alt="결제하기">
|
||||
<a href='javascript:history.go(-1);'><img src="<?php echo G4_SHOP_URL; ?>/img/btn_back1.gif" alt="뒤로" border=0></a>
|
||||
</p>
|
||||
<!-- Payplus Plug-in 설치 안내 -->
|
||||
<p id="display_setup_message" style="display:none">
|
||||
@ -606,9 +606,9 @@ $order_action_url = G4_HTTPS_SHOP_URL.'/orderformupdate.php';
|
||||
</p>
|
||||
</form>
|
||||
|
||||
<!-- <? if ($default[de_card_use] || $default[de_iche_use]) { echo "결제대행사 : $default[de_card_pg]"; } ?> -->
|
||||
<!-- <?php if ($default[de_card_use] || $default[de_iche_use]) { echo "결제대행사 : $default[de_card_pg]"; } ?> -->
|
||||
|
||||
<? if ($default['de_escrow_use']) { ?>
|
||||
<?php if ($default['de_escrow_use']) { ?>
|
||||
<script type="text/javascript">
|
||||
function escrow_foot_check()
|
||||
{
|
||||
@ -624,10 +624,10 @@ function escrow_foot_check()
|
||||
</script>
|
||||
|
||||
<form name="escrow_foot" method="post" action="http://admin.kcp.co.kr/Modules/escrow/kcp_pop.jsp">
|
||||
<input type="hidden" name="site_cd" value="SR<?=$default['de_kcp_mid']?>">
|
||||
<input type="hidden" name="site_cd" value="SR<?php echo $default['de_kcp_mid']; ?>">
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td align='center'><img src="<?=G4_SHOP_URL?>/img/marks_escrow/escrow_foot.gif" width="290" height="92" border="0" usemap="#Map"></td>
|
||||
<td align='center'><img src="<?php echo G4_SHOP_URL; ?>/img/marks_escrow/escrow_foot.gif" width="290" height="92" border="0" usemap="#Map"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style='line-height:150%;'>
|
||||
@ -649,7 +649,7 @@ function escrow_foot_check()
|
||||
<area shape="rect" coords="5,62,74,83" href="javascript:escrow_foot_check()" alt="가입사실확인" onfocus="this.blur()"/>
|
||||
</map>
|
||||
</form>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
|
||||
<script type='text/javascript'>
|
||||
function forderform_check(f)
|
||||
@ -725,8 +725,8 @@ function forderform_check(f)
|
||||
return false;
|
||||
}
|
||||
|
||||
var tot_amount = <?=(int)$tot_amount?>;
|
||||
var max_point = <?=(int)$temp_point?>;
|
||||
var tot_amount = <?php echo (int)$tot_amount; ?>;
|
||||
var max_point = <?php echo (int)$temp_point; ?>;
|
||||
|
||||
var temp_point = 0;
|
||||
if (typeof(f.od_temp_point) != "undefined") {
|
||||
@ -746,7 +746,7 @@ function forderform_check(f)
|
||||
return false;
|
||||
}
|
||||
|
||||
if (temp_point > <?=(int)$member[mb_point]?>) {
|
||||
if (temp_point > <?php echo (int)$member['mb_point']; ?>) {
|
||||
alert("회원님의 포인트보다 많이 결제할 수 없습니다.");
|
||||
f.od_temp_point.select();
|
||||
return false;
|
||||
@ -861,6 +861,6 @@ $(function() {
|
||||
});
|
||||
</script>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once('./_tail.php');
|
||||
?>
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
|
||||
if(get_magic_quotes_gpc())
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
include_once("./_common.php");
|
||||
|
||||
define("_ORDERINQUIRY_", true);
|
||||
@ -55,7 +55,7 @@ $g4['title'] = "주문내역";
|
||||
include_once('./_head.php');
|
||||
?>
|
||||
|
||||
<img src="<?=G4_SHOP_URL?>/img/top_orderinquiry.gif" border=0><p>
|
||||
<img src="<?php echo G4_SHOP_URL; ?>/img/top_orderinquiry.gif" border=0><p>
|
||||
|
||||
<table width=100% cellpadding=0 cellspacing=0 border=0>
|
||||
<tr>
|
||||
@ -65,7 +65,7 @@ include_once('./_head.php');
|
||||
※ <font color="#FF6600">주문서번호를 클릭</font>하시면 주문, 입금, 배송정보등 세부 내역을 확인하실 수 있습니다.
|
||||
</div>
|
||||
|
||||
<?
|
||||
<?php
|
||||
$limit = " limit $from_record, $rows ";
|
||||
include "./orderinquiry.sub.php";
|
||||
?>
|
||||
@ -77,10 +77,10 @@ include_once('./_head.php');
|
||||
<table width=98%>
|
||||
<tr>
|
||||
<td width=50%> </td>
|
||||
<td width=50% align=right><?=get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page=");?></td>
|
||||
<td width=50% align=right><?php echo get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&page="); ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once('./_tail.php');
|
||||
?>
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
if (!defined("_ORDERINQUIRY_")) exit; // 개별 페이지 접근 불가
|
||||
@ -11,7 +11,7 @@ if (!defined("_ORDERINQUIRY_")) exit; // 개별 페이지 접근 불가
|
||||
<colgroup width=120>
|
||||
<colgroup width=120>
|
||||
<colgroup width=120>
|
||||
<? if (!$limit) { echo "<tr><td colspan=6 align=right>총 {$cnt} 건</td></tr>"; } ?>
|
||||
<?php if (!$limit) { echo "<tr><td colspan=6 align=right>총 {$cnt} 건</td></tr>"; } ?>
|
||||
<tr><td height=2 colspan=6 class=c1></td></tr>
|
||||
<tr align=center height=28 class=c2>
|
||||
<td>주문서번호</td>
|
||||
@ -22,7 +22,7 @@ if (!defined("_ORDERINQUIRY_")) exit; // 개별 페이지 접근 불가
|
||||
<td>미입금액</td>
|
||||
</tr>
|
||||
<tr><td height=1 colspan=6 class=c1></td></tr>
|
||||
<?
|
||||
<?php
|
||||
$sql = " select a.od_id,
|
||||
a.*, "._MISU_QUERY_."
|
||||
from {$g4['shop_order_table']} a
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
|
||||
// 세션에 저장된 토큰과 폼으로 넘어온 토큰을 비교하여 틀리면 에러
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
|
||||
// 불법접속을 할 수 없도록 세션에 아무값이나 저장하여 hidden 으로 넘겨서 다음 페이지에서 비교함
|
||||
@ -26,9 +26,9 @@ $g4['title'] = "주문상세내역 : 주문번호 - $od_id";
|
||||
include_once('./_head.php');
|
||||
?>
|
||||
|
||||
<img src="<?=G4_SHOP_URL?>/img/top_orderinquiryview.gif" border=0><p>
|
||||
<img src="<?php echo G4_SHOP_URL; ?>/img/top_orderinquiryview.gif" border=0><p>
|
||||
|
||||
<?
|
||||
<?php
|
||||
$s_uq_id = $od['uq_id'];
|
||||
$s_page = 'orderinquiryview.php';
|
||||
include './cartsub.inc.php';
|
||||
@ -42,35 +42,35 @@ if(openwin != null) {
|
||||
</script>
|
||||
|
||||
<br>
|
||||
<div align=right><img src='<?=G4_SHOP_URL?>/img/status01.gif' align=absmiddle> : 주문대기, <img src='<?=G4_SHOP_URL?>/img/status02.gif' align=absmiddle> : 상품준비중, <img src='<?=G4_SHOP_URL?>/img/status03.gif' align=absmiddle> : 배송중, <img src='<?=G4_SHOP_URL?>/img/status04.gif' align=absmiddle> : 배송완료</div>
|
||||
<div align=right><img src='<?php echo G4_SHOP_URL; ?>/img/status01.gif' align=absmiddle> : 주문대기, <img src='<?php echo G4_SHOP_URL; ?>/img/status02.gif' align=absmiddle> : 상품준비중, <img src='<?php echo G4_SHOP_URL; ?>/img/status03.gif' align=absmiddle> : 배송중, <img src='<?php echo G4_SHOP_URL; ?>/img/status04.gif' align=absmiddle> : 배송완료</div>
|
||||
|
||||
<table width=98% cellpadding=0 cellspacing=7 align=center>
|
||||
<tr><td colspan=2>
|
||||
<img src='<?=G4_SHOP_URL?>/img/my_icon.gif' align=absmiddle> <B>주문번호 : <FONT COLOR="#D60B69"><?=$od['od_id']?></FONT></B></td></tr>
|
||||
<img src='<?php echo G4_SHOP_URL; ?>/img/my_icon.gif' align=absmiddle> <B>주문번호 : <FONT COLOR="#D60B69"><?php echo $od['od_id']; ?></FONT></B></td></tr>
|
||||
<tr><td colspan=2 height=2 bgcolor=#94A9E7></td></tr>
|
||||
<tr><td align=center bgcolor=#F3F2FF><img src='<?=G4_SHOP_URL?>/img/t_data02.gif'></td>
|
||||
<tr><td align=center bgcolor=#F3F2FF><img src='<?php echo G4_SHOP_URL; ?>/img/t_data02.gif'></td>
|
||||
<td style='padding:20px'>
|
||||
<table cellpadding=4 cellspacing=0>
|
||||
<colgroup width=120>
|
||||
<colgroup width=''>
|
||||
<tr><td>· 주문일시</td><td>: <b><? echo $od['od_time'] ?></b></td></tr>
|
||||
<tr><td>· 이 름</td><td>: <? echo $od['od_name'] ?></td></tr>
|
||||
<tr><td>· 전화번호</td><td>: <? echo $od['od_tel'] ?></td></tr>
|
||||
<tr><td>· 핸드폰</td><td>: <? echo $od['od_hp'] ?></td></tr>
|
||||
<tr><td>· 주 소</td><td>: <?=sprintf("(%s-%s) %s %s", $od['od_zip1'], $od['od_zip2'], $od['od_addr1'], $od['od_addr2'])?></td></tr>
|
||||
<tr><td>· E-mail</td><td>: <? echo $od['od_email'] ?></td></tr>
|
||||
<tr><td>· 주문일시</td><td>: <b><?php echo $od['od_time']; ?></b></td></tr>
|
||||
<tr><td>· 이 름</td><td>: <?php echo $od['od_name']; ?></td></tr>
|
||||
<tr><td>· 전화번호</td><td>: <?php echo $od['od_tel']; ?></td></tr>
|
||||
<tr><td>· 핸드폰</td><td>: <?php echo $od['od_hp']; ?></td></tr>
|
||||
<tr><td>· 주 소</td><td>: <?php echo sprintf("(%s-%s) %s %s", $od['od_zip1'], $od['od_zip2'], $od['od_addr1'], $od['od_addr2']); ?></td></tr>
|
||||
<tr><td>· E-mail</td><td>: <?php echo $od['od_email']; ?></td></tr>
|
||||
</table></td></tr>
|
||||
<tr><td colspan=2 height=1 bgcolor=#738AC6></td></tr>
|
||||
<tr><td align=center bgcolor=#F3F2FF><img src='<?=G4_SHOP_URL?>/img/t_data03.gif'></td>
|
||||
<tr><td align=center bgcolor=#F3F2FF><img src='<?php echo G4_SHOP_URL; ?>/img/t_data03.gif'></td>
|
||||
<td style='padding:20px'>
|
||||
<table cellpadding=4 cellspacing=0>
|
||||
<colgroup width=120>
|
||||
<colgroup width=''>
|
||||
<tr><td>· 이 름</td><td>: <? echo $od['od_b_name'] ?></td></tr>
|
||||
<tr><td>· 전화번호</td><td>: <? echo $od['od_b_tel'] ?></td></tr>
|
||||
<tr><td>· 핸드폰</td><td>: <? echo $od['od_b_hp'] ?></td></tr>
|
||||
<tr><td>· 주 소</td><td>: <?=sprintf("(%s-%s) %s %s", $od['od_b_zip1'], $od['od_b_zip2'], $od['od_b_addr1'], $od['od_b_addr2'])?></td></tr>
|
||||
<?
|
||||
<tr><td>· 이 름</td><td>: <?php echo $od['od_b_name']; ?></td></tr>
|
||||
<tr><td>· 전화번호</td><td>: <?php echo $od['od_b_tel']; ?></td></tr>
|
||||
<tr><td>· 핸드폰</td><td>: <?php echo $od['od_b_hp']; ?></td></tr>
|
||||
<tr><td>· 주 소</td><td>: <?php echo sprintf("(%s-%s) %s %s", $od['od_b_zip1'], $od['od_b_zip2'], $od['od_b_addr1'], $od['od_b_addr2']); ?></td></tr>
|
||||
<?php
|
||||
// 희망배송일을 사용한다면
|
||||
if ($default['de_hope_date_use'])
|
||||
{
|
||||
@ -90,7 +90,7 @@ if(openwin != null) {
|
||||
</table></td></tr>
|
||||
<tr><td colspan=2 height=1 bgcolor=#738AC6></td></tr>
|
||||
|
||||
<?
|
||||
<?php
|
||||
// 배송회사 정보
|
||||
$dl = sql_fetch(" select * from {$g4['shop_delivery_table']} where dl_id = '{$od['dl_id']}' ");
|
||||
|
||||
@ -118,7 +118,7 @@ if ($od['od_invoice'] || !$od['misu'])
|
||||
}
|
||||
?><p>
|
||||
|
||||
<?
|
||||
<?php
|
||||
$receipt_amount = $od['od_receipt_bank']
|
||||
+ $od['od_receipt_card']
|
||||
+ $od['od_receipt_hp']
|
||||
@ -269,8 +269,8 @@ if ($default['de_taxsave_use']) {
|
||||
<tr><td colspan=2 height=1 bgcolor=#94A9E7></td></tr>
|
||||
<tr>
|
||||
<td colspan=2 align=right bgcolor=#E7EBF7 height=70>
|
||||
<b>결제 합계</b> <? echo $wanbul ?> : <b><? echo display_amount($receipt_amount) ?></b></span> <br>
|
||||
<?
|
||||
<b>결제 합계</b> <?php echo $wanbul; ?> : <b><?php echo display_amount($receipt_amount); ?></b></span> <br>
|
||||
<?php
|
||||
if ($od['od_dc_amount'] > 0) {
|
||||
echo "<br>DC : ". display_amount($od['od_dc_amount']) . " ";
|
||||
}
|
||||
@ -283,7 +283,7 @@ if ($default['de_taxsave_use']) {
|
||||
</table>
|
||||
<br><br>
|
||||
|
||||
<? if ($od['od_settle_case'] == '가상계좌' && $default['de_card_test'] && $is_admin) {
|
||||
<?php if ($od['od_settle_case'] == '가상계좌' && $default['de_card_test'] && $is_admin) {
|
||||
preg_match("/(\s[^\s]+\s)/", $od['od_bank_account'], $matchs);
|
||||
$deposit_no = trim($matchs[1]);
|
||||
?>
|
||||
@ -293,17 +293,17 @@ if ($default['de_taxsave_use']) {
|
||||
<legend>모의입금처리</legend>
|
||||
<p>관리자가 가상계좌 테스트를 한 경우에만 보입니다.</p>
|
||||
<form method="post" action="http://devadmin.kcp.co.kr/Modules/Noti/TEST_Vcnt_Noti_Proc.jsp" target="_blank">
|
||||
<input type="text" name="e_trade_no" value="<?=$od['od_escrow1']?>" size="80"><br />
|
||||
<input type="text" name="deposit_no" value="<?=$deposit_no?>" size="80"><br />
|
||||
<input type="text" name="req_name" value="<?=$od['od_name']?>" size="80"><br />
|
||||
<input type="text" name="noti_url" value="<?=G4_SHOP_URL?>/settle_kcp_common.php" size="80"><br /><br />
|
||||
<input type="text" name="e_trade_no" value="<?php echo $od['od_escrow1']; ?>" size="80"><br />
|
||||
<input type="text" name="deposit_no" value="<?php echo $deposit_no; ?>" size="80"><br />
|
||||
<input type="text" name="req_name" value="<?php echo $od['od_name']; ?>" size="80"><br />
|
||||
<input type="text" name="noti_url" value="<?php echo G4_SHOP_URL; ?>/settle_kcp_common.php" size="80"><br /><br />
|
||||
<input type="submit" value="입금통보 테스트">
|
||||
</form>
|
||||
</fieldset>
|
||||
</div>
|
||||
</center>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once('./_tail.php');
|
||||
?>
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
unset($list);
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
include_once(G4_LIB_PATH.'/mailer.lib.php');
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
|
||||
// 상품이미지 사이즈(폭, 높이)를 몇배 축소 할것인지를 설정
|
||||
@ -9,14 +9,14 @@ $g4['title'] = "상품 검색";
|
||||
include_once('./_head.php');
|
||||
?>
|
||||
|
||||
<img src="<?=G4_SHOP_URL?>/img/top_search.gif" border="0"><p>
|
||||
<img src="<?php echo G4_SHOP_URL; ?>/img/top_search.gif" border="0"><p>
|
||||
|
||||
<table width=100% cellpadding=0 cellspacing=0 align=center border=0>
|
||||
<tr>
|
||||
<td>
|
||||
찾으시는 검색어는 "<b><?=stripslashes(get_text($search_str))?></b>" 입니다.
|
||||
찾으시는 검색어는 "<b><?php echo stripslashes(get_text($search_str)); ?></b>" 입니다.
|
||||
<br><br>
|
||||
<?
|
||||
<?php
|
||||
// QUERY 문에 공통적으로 들어가는 내용
|
||||
// 상품명에 검색어가 포한된것과 상품판매가능인것만
|
||||
$sql_common = " from {$g4['shop_item_table']} a,
|
||||
@ -93,7 +93,7 @@ include_once('./_head.php');
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<?
|
||||
<?php
|
||||
function write_search_save($save)
|
||||
{
|
||||
global $g4, $search_str , $default , $image_rate , $cart_dir;
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
|
||||
// 상품이미지 사이즈(폭, 높이)를 몇배 축소 할것인지를 설정
|
||||
@ -9,14 +9,14 @@ $g4['title'] = "상품 검색";
|
||||
include_once('./_head.php');
|
||||
?>
|
||||
|
||||
<img src="<?=G4_SHOP_URL?>/img/top_search.gif" border="0"><p>
|
||||
<img src="<?php echo G4_SHOP_URL; ?>/img/top_search.gif" border="0"><p>
|
||||
|
||||
<table width=100% cellpadding=0 cellspacing=0 align=center border=0>
|
||||
<tr>
|
||||
<td>
|
||||
찾으시는 검색어는 "<b><?=stripslashes(get_text($search_str))?></b>" 입니다.
|
||||
찾으시는 검색어는 "<b><?php echo stripslashes(get_text($search_str)); ?></b>" 입니다.
|
||||
<br><br>
|
||||
<?
|
||||
<?php
|
||||
// QUERY 문에 공통적으로 들어가는 내용
|
||||
// 상품명에 검색어가 포한된것과 상품판매가능인것만
|
||||
$sql_common = " from {$g4['shop_item_table']} a,
|
||||
@ -74,7 +74,7 @@ include_once('./_head.php');
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<?
|
||||
<?php
|
||||
function write_search_save($save)
|
||||
{
|
||||
global $g4, $search_str , $default , $image_rate , $cart_dir;
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
|
||||
// 상품이미지 사이즈(폭, 높이)를 몇배 축소 할것인지를 설정
|
||||
@ -9,14 +9,14 @@ $g4['title'] = '상품 검색';
|
||||
include_once('./_head.php');
|
||||
?>
|
||||
|
||||
<img src="<?=G4_SHOP_URL?>/img/top_search.gif" border="0"><p>
|
||||
<img src="<?php echo G4_SHOP_URL?>/img/top_search.gif" border="0"><p>
|
||||
|
||||
<table width=100% cellpadding=0 cellspacing=0 align=center border=0>
|
||||
<tr>
|
||||
<td>
|
||||
찾으시는 검색어는 "<b><?=stripslashes(get_text($search_str))?></b>" 입니다.
|
||||
찾으시는 검색어는 "<b><?php echo stripslashes(get_text($search_str)); ?></b>" 입니다.
|
||||
<br><br>
|
||||
<?
|
||||
<?php
|
||||
// QUERY 문에 공통적으로 들어가는 내용
|
||||
// 상품명에 검색어가 포한된것과 상품판매가능인것만
|
||||
$sql_common = " from {$g4['shop_item_table']} a,
|
||||
@ -78,7 +78,7 @@ include_once('./_head.php');
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<?
|
||||
<?php
|
||||
function write_search_save($save)
|
||||
{
|
||||
global $g4, $search_str , $default , $image_rate , $cart_dir;
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
$test = "";
|
||||
@ -26,3 +26,4 @@ $g_conf_js_url = "https://pay.kcp.co.kr/plugin/payplus{$test}_un.js";
|
||||
|
||||
$g_conf_log_level = "3"; // 변경불가
|
||||
$g_conf_gw_port = "8090"; // 포트번호(변경불가)
|
||||
?>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
include_once(G4_LIB_PATH.'/etc.lib.php');
|
||||
include_once(G4_LIB_PATH.'/mailer.lib.php');
|
||||
@ -36,7 +36,7 @@ if(!$default['de_card_test']) {
|
||||
/* = Copyright (c) 2006 KCP Inc. All Rights Reserverd. = */
|
||||
/* ============================================================================== */
|
||||
?>
|
||||
<?
|
||||
<?php
|
||||
/* ============================================================================== */
|
||||
/* = 01. 공통 통보 페이지 설명(필독!!) = */
|
||||
/* = -------------------------------------------------------------------------- = */
|
||||
|
||||
@ -57,10 +57,10 @@ include_once(G4_LIB_PATH.'/popular.lib.php');
|
||||
<script>
|
||||
function search_submit(f) {
|
||||
if (f.search_flag.value == '상품') {
|
||||
f.action = '<?=G4_SHOP_URL?>/search.php';
|
||||
f.action = '<?php echo G4_SHOP_URL; ?>/search.php';
|
||||
} else {
|
||||
f.stx.value = f.search_str.value;
|
||||
f.action = '<?=G4_BBS_URL?>/search.php';
|
||||
f.action = '<?php echo G4_BBS_URL; ?>/search.php';
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@ -90,7 +90,7 @@ include_once(G4_LIB_PATH.'/popular.lib.php');
|
||||
</aside>
|
||||
|
||||
<aside id="aside">
|
||||
<?php echo outlogin("shop_outlogin"); // 외부 로그인 ?>
|
||||
<?php echo outlogin('shop_outlogin'); // 외부 로그인 ?>
|
||||
|
||||
<!-- 상품분류 -->
|
||||
<?php include_once(G4_SHOP_PATH.'/boxcategory.inc.php'); ?>
|
||||
@ -112,7 +112,7 @@ include_once(G4_LIB_PATH.'/popular.lib.php');
|
||||
</aside>
|
||||
|
||||
<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_')) { ?><h1 id="wrapper_title"><?php echo $g4['title'] ?></h1><?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>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
$admin = get_admin("super");
|
||||
@ -14,21 +14,21 @@ $admin = get_admin("super");
|
||||
<div>
|
||||
<a href="<?php echo G4_SHOP_URL; ?>/" id="ft_logo"><img src="<?php echo G4_DATA_URL; ?>/common/logo_img" alt="처음으로"></a>
|
||||
<ul>
|
||||
<li><a href="<?=G4_SHOP_URL?>/content.php?co_id=company">회사소개</a></li>
|
||||
<li><a href="<?=G4_SHOP_URL?>/content.php?co_id=provision">서비스이용약관</a></li>
|
||||
<li><a href="<?=G4_SHOP_URL?>/content.php?co_id=privacy">개인정보 취급방침</a></li>
|
||||
<li><a href="<?php echo G4_SHOP_URL; ?>/content.php?co_id=company">회사소개</a></li>
|
||||
<li><a href="<?php echo G4_SHOP_URL; ?>/content.php?co_id=provision">서비스이용약관</a></li>
|
||||
<li><a href="<?php echo G4_SHOP_URL; ?>/content.php?co_id=privacy">개인정보 취급방침</a></li>
|
||||
</ul>
|
||||
<p>
|
||||
<span><?=$default['de_admin_company_addr']?></span>
|
||||
<span><b>전화</b> <?=$default['de_admin_company_tel']?></span>
|
||||
<span><b>팩스</b> <?=$default['de_admin_company_fax']?></span>
|
||||
<span><b>운영자</b> <?=$admin['mb_name']?></span><br>
|
||||
<span><b>사업자 등록번호</b> <?=$default['de_admin_company_saupja_no']?></span>
|
||||
<span><b>대표</b> <?=$default['de_admin_company_owner']?></span>
|
||||
<span><b>개인정보관리책임자</b> <?=$default['de_admin_info_name']?></span><br>
|
||||
<span><b>통신판매업신고번호</b> <?=$default['de_admin_tongsin_no']?></span>
|
||||
<span><?php echo $default['de_admin_company_addr']; ?></span>
|
||||
<span><b>전화</b> <?php echo $default['de_admin_company_tel']; ?></span>
|
||||
<span><b>팩스</b> <?php echo $default['de_admin_company_fax']; ?></span>
|
||||
<span><b>운영자</b> <?php echo $admin['mb_name']; ?></span><br>
|
||||
<span><b>사업자 등록번호</b> <?php echo $default['de_admin_company_saupja_no']; ?></span>
|
||||
<span><b>대표</b> <?php echo $default['de_admin_company_owner']; ?></span>
|
||||
<span><b>개인정보관리책임자</b> <?php echo $default['de_admin_info_name']; ?></span><br>
|
||||
<span><b>통신판매업신고번호</b> <?php echo $default['de_admin_tongsin_no']; ?></span>
|
||||
<?php if ($default['de_admin_buga_no']) echo '<span>부가통신사업신고번호 '.$default['de_admin_buga_no'].'</span>'; ?><br>
|
||||
Copyright © 2001-2013 <?=$default['de_admin_company_name']?>. All Rights Reserved.
|
||||
Copyright © 2001-2013 <?php echo $default['de_admin_company_name']; ?>. All Rights Reserved.
|
||||
</p>
|
||||
<a href="#" id="ft_totop">상단으로</a>
|
||||
</div>
|
||||
@ -38,11 +38,11 @@ $admin = get_admin("super");
|
||||
<a href="<?php echo $_SERVER['PHP_SELF'].($_SERVER['QUERY_STRING']?'?'.$_SERVER['QUERY_STRING'].'&':'?').'device=mobile'; ?>" id="device_change">모바일 버전으로 보기</a>
|
||||
<?php } ?>
|
||||
|
||||
<?
|
||||
<?php
|
||||
$sec = get_microtime() - $begin_time;
|
||||
$file = $_SERVER['PHP_SELF'];
|
||||
?>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once(G4_PATH.'/tail.sub.php');
|
||||
?>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
|
||||
// 로그를 남김
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
|
||||
$g4['title'] = "현금영수증 발행";
|
||||
@ -39,11 +39,11 @@ $amt_tax = (int)($amt_tot - $amt_sup);
|
||||
return;
|
||||
}
|
||||
|
||||
form.ordr_idxx.value = "<?=$od['od_id']?>";
|
||||
form.amt_tot.value = "<?=$amt_tot?>";
|
||||
form.amt_sup.value = "<?=$amt_sup?>";
|
||||
form.amt_svc.value = "<?=$amt_svc?>";
|
||||
form.amt_tax.value = "<?=$amt_tax?>";
|
||||
form.ordr_idxx.value = "<?php echo $od['od_id']; ?>";
|
||||
form.amt_tot.value = "<?php echo $amt_tot; ?>";
|
||||
form.amt_sup.value = "<?php echo $amt_sup; ?>";
|
||||
form.amt_svc.value = "<?php echo $amt_svc; ?>";
|
||||
form.amt_tax.value = "<?php echo $amt_tax; ?>";
|
||||
|
||||
form.submit();
|
||||
}
|
||||
@ -130,14 +130,14 @@ $amt_tax = (int)($amt_tot - $amt_sup);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<form name="cash_form" action="<?=G4_SHOP_URL?>/kcp/pp_cli_hub.php" method="post">
|
||||
<form name="cash_form" action="<?php echo G4_SHOP_URL; ?>/kcp/pp_cli_hub.php" method="post">
|
||||
<input type="hidden" name="corp_type" value="0"> <!-- 사업자 구분 - 0:직접판매 , 1:입점몰판매 -->
|
||||
<input type="hidden" name="ordr_idxx">
|
||||
<input type="hidden" name="good_name" value="<?=addslashes($goods_name)?>">
|
||||
<input type="hidden" name="buyr_name" value="<?=$od['od_name']?>">
|
||||
<input type="hidden" name="buyr_mail" value="<?=$od['od_email']?>">
|
||||
<input type="hidden" name="buyr_tel1" value="<?=$od['od_tel']?>">
|
||||
<input type="hidden" name="trad_time" value="<?=$trad_time?>">
|
||||
<input type="hidden" name="good_name" value="<?php echo addslashes($goods_name); ?>">
|
||||
<input type="hidden" name="buyr_name" value="<?php echo $od['od_name']; ?>">
|
||||
<input type="hidden" name="buyr_mail" value="<?php echo $od['od_email']; ?>">
|
||||
<input type="hidden" name="buyr_tel1" value="<?php echo $od['od_tel']; ?>">
|
||||
<input type="hidden" name="trad_time" value="<?php echo $trad_time; ?>">
|
||||
|
||||
<input type="hidden" name="amt_tot">
|
||||
<input type="hidden" name="amt_sup">
|
||||
@ -161,23 +161,23 @@ $amt_tax = (int)($amt_tot - $amt_sup);
|
||||
<table width="90%" align="center">
|
||||
<tr>
|
||||
<td>주문 번호</td>
|
||||
<td><?=$od['od_id']?></td>
|
||||
<td><?php echo $od['od_id']; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>상품 정보</td>
|
||||
<td><?=$goods_name?></td>
|
||||
<td><?php echo $goods_name; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>주문자 이름</td>
|
||||
<td><?=$od['od_name']?></td>
|
||||
<td><?php echo $od['od_name']; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>주문자 E-Mail</td>
|
||||
<td><?=$od['od_email']?></td>
|
||||
<td><?php echo $od['od_email']; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>주문자 전화번호</td>
|
||||
<td><?=$od['od_tel']?></td>
|
||||
<td><?php echo $od['od_tel']; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
@ -193,7 +193,7 @@ $amt_tax = (int)($amt_tot - $amt_sup);
|
||||
</tr>
|
||||
<tr>
|
||||
<td>원 거래 시각</td>
|
||||
<td><?=$trad_time?></td>
|
||||
<td><?php echo $trad_time; ?></td>
|
||||
</tr>
|
||||
<tr><td colspan="2"></td></tr>
|
||||
<tr>
|
||||
@ -214,19 +214,19 @@ $amt_tax = (int)($amt_tot - $amt_sup);
|
||||
</tr>
|
||||
<tr>
|
||||
<td>거래금액 총합</td>
|
||||
<td><?=number_format($amt_tot)?>원</td>
|
||||
<td><?php echo number_format($amt_tot); ?>원</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>공급가액</td>
|
||||
<td><?=number_format($amt_sup)?>원<!-- ((거래금액 총합 * 10) / 11) --></td>
|
||||
<td><?php echo number_format($amt_sup); ?>원<!-- ((거래금액 총합 * 10) / 11) --></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>봉사료</td>
|
||||
<td><?=number_format($amt_svc)?>원</td>
|
||||
<td><?php echo number_format($amt_svc); ?>원</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>부가가치세</td>
|
||||
<td><?=number_format($amt_tax)?>원<!-- 거래금액 총합 - 공급가액 - 봉사료 --></td>
|
||||
<td><?php echo number_format($amt_tax); ?>원<!-- 거래금액 총합 - 공급가액 - 봉사료 --></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="center">
|
||||
@ -252,6 +252,6 @@ $amt_tax = (int)($amt_tot - $amt_sup);
|
||||
<input type="hidden" name="req_tx" value="pay">
|
||||
</form>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once(G4_PATH.'/tail.sub.php');
|
||||
?>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
|
||||
if (!$is_member)
|
||||
@ -8,7 +8,7 @@ $g4['title'] = "보관함";
|
||||
include_once('./_head.php');
|
||||
?>
|
||||
|
||||
<img src="<?=G4_SHOP_URL?>/img/top_wishlist.gif" border="0"><p>
|
||||
<img src="<?php echoG4_SHOP_URL; ?>/img/top_wishlist.gif" border="0"><p>
|
||||
|
||||
<form name=fwishlist method=post action="" style="padding:0px;">
|
||||
<input type=hidden name=act value="multi">
|
||||
@ -23,7 +23,7 @@ include_once('./_head.php');
|
||||
<td width=50>삭제</td>
|
||||
</tr>
|
||||
<tr><td colspan=6 height=1 class=c1></td></tr>
|
||||
<?
|
||||
<?php
|
||||
$sql = " select *
|
||||
from {$g4['shop_wish_table']} a,
|
||||
{$g4['shop_item_table']} b
|
||||
@ -85,8 +85,8 @@ if ($i == 0)
|
||||
</form>
|
||||
|
||||
<div align=right>
|
||||
<a href="javascript:fwishlist_check(document.fwishlist,'');"><img src='<?=G4_SHOP_URL?>/img/btn_cart_in.gif' border=0></a>
|
||||
<a href="javascript:fwishlist_check(document.fwishlist,'direct_buy');"><img src='<?=G4_SHOP_URL?>/img/btn_buy.gif' border=0></a>
|
||||
<a href="javascript:fwishlist_check(document.fwishlist,'');"><img src='<?php echo G4_SHOP_URL; ?>/img/btn_cart_in.gif' border=0></a>
|
||||
<a href="javascript:fwishlist_check(document.fwishlist,'direct_buy');"><img src='<?php echo G4_SHOP_URL; ?>/img/btn_buy.gif' border=0></a>
|
||||
</div>
|
||||
|
||||
<script language="JavaScript">
|
||||
@ -139,6 +139,6 @@ if ($i == 0)
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<?
|
||||
<?php
|
||||
include_once('./_tail.php');
|
||||
?>
|
||||
@ -1,4 +1,4 @@
|
||||
<?
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
|
||||
if (!$is_member)
|
||||
|
||||
@ -117,9 +117,19 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
|
||||
<th scope="row">내용</th>
|
||||
<td>
|
||||
<?php if ($comment_min || $comment_max) { ?><strong id="char_cnt"><span id="char_count"></span>글자</strong><?php } ?>
|
||||
<textarea id="wr_content" name="wr_content" required class="required"
|
||||
<textarea id="wr_content" name="wr_content" maxlength="10000" required class="required"
|
||||
<?php if ($comment_min || $comment_max) { ?>onkeyup="check_byte('wr_content', 'char_count');"<?php } ?>><?php echo $c_wr_content; ?></textarea>
|
||||
<?php if ($comment_min || $comment_max) { ?><script> check_byte('wr_content', 'char_count'); </script><?php } ?>
|
||||
<script>
|
||||
$("textarea#wr_content[maxlength]").live("keyup change", function() {
|
||||
var str = $(this).val()
|
||||
var mx = parseInt($(this).attr("maxlength"))
|
||||
if (str.length > mx) {
|
||||
$(this).val(str.substr(0, mx));
|
||||
return false;
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
@ -118,7 +118,7 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
|
||||
<th scope="row">내용</th>
|
||||
<td>
|
||||
<?php if ($comment_min || $comment_max) { ?><strong id="char_cnt"><span id="char_count"></span>글자</strong><?php } ?>
|
||||
<textarea name="wr_content" id="wr_content" required class="required"
|
||||
<textarea name="wr_content" id="wr_content" maxlength="10000" required class="required"
|
||||
<?php if ($comment_min || $comment_max) { ?>onkeyup="check_byte('wr_content', 'char_count');"<?php } ?>><?php echo $c_wr_content; ?></textarea>
|
||||
<?php if ($comment_min || $comment_max) { ?><script> check_byte('wr_content', 'char_count'); </script><?php } ?>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user