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

@ -8,14 +8,14 @@ auth_check($auth[$sub_menu], "w");
for ($i=0; $i<count($_POST['it_id']); $i++)
{
$sql = " delete from {$g5['shop_event_item_table']}
$sql = " delete from {$g5['g5_shop_event_item_table']}
where ev_id = '$ev_id'
and it_id = '{$_POST['it_id'][$i]}' ";
sql_query($sql);
if ($_POST['ev_chk'][$i])
{
$sql = "insert into {$g5['shop_event_item_table']}
$sql = "insert into {$g5['g5_shop_event_item_table']}
set ev_id = '$ev_id',
it_id = '{$_POST['it_id'][$i]}' ";
sql_query($sql);