g4를 g5로 변경
This commit is contained in:
1 parent
9a18a049d5
commit
0f78b67eb7
563 files changed
+4097
-4097
No files matched your search
@@ -3,7 +3,7 @@ $sub_menu = '400300';
|
||||
include_once('./_common.php');
|
||||
|
||||
$sql = " select ca_id, it_id, it_name, it_price
|
||||
from {$g4['shop_item_table']}
|
||||
from {$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 {$g4['shop_item_relation_table']} where it_id = '$it_id' and it_id2 = '{$row['it_id']}' ";
|
||||
$sql2 = " select count(*) as cnt from {$g5['shop_item_relation_table']} where it_id = '$it_id' and it_id2 = '{$row['it_id']}' ";
|
||||
$row2 = sql_fetch($sql2);
|
||||
if ($row2['cnt'])
|
||||
continue;
|
||||
|
||||
Reference in new issue
Block a user