g4를 g5로 변경

This commit is contained in:
chicpro
2013-09-13 14:32:06 +09:00
parent 9a18a049d5
commit 0f78b67eb7
563 changed files with 4097 additions and 4097 deletions

View File

@ -4,21 +4,21 @@ include_once('./_common.php');
if ($is_guest)
alert_close('회원만 조회하실 수 있습니다.');
$g4['title'] = $member['mb_nick'].' 님의 쿠폰 내역';
include_once(G4_PATH.'/head.sub.php');
$g5['title'] = $member['mb_nick'].' 님의 쿠폰 내역';
include_once(G5_PATH.'/head.sub.php');
$sql = " select cp_id, cp_subject, cp_method, cp_target, cp_start, cp_end, cp_type, cp_price
from {$g4['shop_coupon_table']}
from {$g5['shop_coupon_table']}
where mb_id = '{$member['mb_id']}'
and cp_start <= '".G4_TIME_YMD."'
and cp_end >= '".G4_TIME_YMD."'
and cp_start <= '".G5_TIME_YMD."'
and cp_end >= '".G5_TIME_YMD."'
order by cp_no ";
$result = sql_query($sql);
?>
<!-- 쿠폰 내역 시작 { -->
<div id="coupon" class="new_win">
<h1 id="new_win_title"><?php echo $g4['title'] ?></h1>
<h1 id="new_win_title"><?php echo $g5['title'] ?></h1>
<table class="basic_tbl">
<thead>
@ -37,7 +37,7 @@ $result = sql_query($sql);
continue;
if($row['cp_method'] == 1) {
$sql = " select ca_name from {$g4['shop_category_table']} where ca_id = '{$row['cp_target']}' ";
$sql = " select ca_name from {$g5['shop_category_table']} where ca_id = '{$row['cp_target']}' ";
$ca = sql_fetch($sql);
$cp_target = $ca['ca_name'].'의 상품할인';
} else if($row['cp_method'] == 2) {
@ -45,7 +45,7 @@ $result = sql_query($sql);
} else if($row['cp_method'] == 3) {
$cp_target = '배송비 할인';
} else {
$sql = " select it_name from {$g4['shop_item_table']} where it_id = '{$row['cp_target']}' ";
$sql = " select it_name from {$g5['shop_item_table']} where it_id = '{$row['cp_target']}' ";
$it = sql_fetch($sql);
$cp_target = $it['it_name'].' 상품할인';
}
@ -76,5 +76,5 @@ $result = sql_query($sql);
</div>
<?php
include_once(G4_PATH.'/tail.sub.php');
include_once(G5_PATH.'/tail.sub.php');
?>