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

@ -17,7 +17,7 @@ $sql = " select a.it_id,
a.ct_point,
b.it_sell_email,
b.it_origin
from {$g4['shop_cart_table']} a left join {$g4['shop_item_table']} b on ( a.it_id = b.it_id )
from {$g5['shop_cart_table']} a left join {$g5['shop_item_table']} b on ( a.it_id = b.it_id )
where a.od_id = '$od_id'
and a.ct_select = '1'
group by a.it_id
@ -29,7 +29,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
$sql = " select SUM(IF(io_type = 1, (io_price * ct_qty), ((ct_price + io_price) * ct_qty))) as price,
SUM(ct_point * ct_qty) as point,
SUM(ct_qty) as qty
from {$g4['shop_cart_table']}
from {$g5['shop_cart_table']}
where it_id = '{$row['it_id']}'
and od_id = '$od_id'
and ct_select = '1' ";
@ -37,7 +37,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
// 옵션정보
$sql2 = " select ct_option, ct_qty
from {$g4['shop_cart_table']}
from {$g5['shop_cart_table']}
where it_id = '{$row['it_id']}' and od_id = '$od_id' and ct_select = '1'
order by io_type asc, ct_id asc ";
$result2 = sql_query($sql2);
@ -54,7 +54,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
if($k > 0)
$options .= '</ul>';
$list[$i]['g_dir'] = G4_URL;
$list[$i]['g_dir'] = G5_URL;
$list[$i]['it_id'] = $row['it_id'];
$list[$i]['it_simg'] = get_it_image($row['it_id'], $default['de_simg_width'], $default['de_simg_height']);
$list[$i]['it_name'] = $row['it_name'];