shop 테이블명 g5_shop 으로 변경
This commit is contained in:
@ -3,7 +3,7 @@ include_once('./_common.php');
|
||||
|
||||
$it_id = $_POST['it_id'];
|
||||
|
||||
$sql = " select it_id, it_option_subject, it_supply_subject, it_price, it_point, it_point_type from {$g5['shop_item_table']} where it_id = '$it_id' and it_use = '1' ";
|
||||
$sql = " select it_id, it_option_subject, it_supply_subject, it_price, it_point, it_point_type from {$g5['g5_shop_item_table']} where it_id = '$it_id' and it_use = '1' ";
|
||||
$it = sql_fetch($sql);
|
||||
$it_point = get_item_point($it);
|
||||
|
||||
@ -12,11 +12,11 @@ if(!$it['it_id'])
|
||||
|
||||
// 장바구니 자료
|
||||
$cart_id = get_session('ss_cart_id');
|
||||
$sql = " select * from {$g5['shop_cart_table']} where od_id = '$cart_id' and it_id = '$it_id' order by io_type asc, ct_id asc ";
|
||||
$sql = " select * from {$g5['g5_shop_cart_table']} where od_id = '$cart_id' and it_id = '$it_id' order by io_type asc, ct_id asc ";
|
||||
$result = sql_query($sql);
|
||||
|
||||
// 판매가격
|
||||
$sql2 = " select ct_price, it_name, ct_send_cost from {$g5['shop_cart_table']} where od_id = '$cart_id' and it_id = '$it_id' order by ct_id asc limit 1 ";
|
||||
$sql2 = " select ct_price, it_name, ct_send_cost from {$g5['g5_shop_cart_table']} where od_id = '$cart_id' and it_id = '$it_id' order by ct_id asc limit 1 ";
|
||||
$row2 = sql_fetch($sql2);
|
||||
|
||||
if(!mysql_num_rows($result))
|
||||
|
||||
Reference in New Issue
Block a user