shop 테이블명 g5_shop 으로 변경

This commit is contained in:
chicpro
2013-09-13 16:23:29 +09:00
parent fbe71caa80
commit 90ee89b4f5
217 changed files with 933 additions and 1624 deletions

View File

@ -11,7 +11,7 @@ $_POST = array_add_callback("mysql_real_escape_string", $_POST);
// 개인결제 정보
$pp_check = false;
$sql = " select * from {$g5['shop_personalpay_table']} where pp_id = '{$_POST['pp_id']}' and pp_use = '1' ";
$sql = " select * from {$g5['g5_shop_personalpay_table']} where pp_id = '{$_POST['pp_id']}' and pp_use = '1' ";
$pp = sql_fetch($sql);
if(!$pp['pp_id'])
alert('개인결제 정보가 존재하지 않습니다.');
@ -83,7 +83,7 @@ if((int)$pp['pp_price'] !== (int)$pg_price) {
}
// 결제정보 입력
$sql = " update {$g5['shop_personalpay_table']}
$sql = " update {$g5['g5_shop_personalpay_table']}
set pp_tno = '$pp_tno',
pp_app_no = '$app_no',
pp_receipt_price = '$pp_receipt_price',
@ -111,7 +111,7 @@ if($pp_receipt_price > 0 && $pp['pp_id'] && $pp['od_id']) {
if($escw_yn == 'Y')
$od_escrow = 1;
$sql = " update {$g5['shop_order_table']}
$sql = " update {$g5['g5_shop_order_table']}
set od_receipt_price = od_receipt_price + '$pp_receipt_price',
od_receipt_time = '$pp_receipt_time',
od_tno = '$pp_tno',