shop 테이블명 g5_shop 으로 변경

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

No files matched your search

+2 -2
View File
@@ -3,7 +3,7 @@ $sub_menu = '400300';
include_once('./_common.php');
$sql = " select ca_id, it_id, it_name, it_price
from {$g5['shop_item_table']}
from {$g5['g5_shop_item_table']}
where it_id <> '$it_id'
and ( ca_id like '$ca_id%' or ca_id2 like '$ca_id%' or ca_id3 like '$ca_id%' )
order by ca_id, it_name ";
@@ -12,7 +12,7 @@ $result = sql_query($sql);
$list = '';
for($i=0;$row=sql_fetch_array($result);$i++) {
$sql2 = " select count(*) as cnt from {$g5['shop_item_relation_table']} where it_id = '$it_id' and it_id2 = '{$row['it_id']}' ";
$sql2 = " select count(*) as cnt from {$g5['g5_shop_item_relation_table']} where it_id = '$it_id' and it_id2 = '{$row['it_id']}' ";
$row2 = sql_fetch($sql2);
if ($row2['cnt'])
continue;