프리샵 추가

This commit is contained in:
gnuboard
2013-01-25 11:48:46 +09:00
parent 52da376f32
commit 26088ece3b
583 changed files with 44699 additions and 0 deletions

View File

@ -0,0 +1,27 @@
<?
$sub_menu = "400640";
include_once("./_common.php");
check_demo();
auth_check($auth[$sub_menu], "w");
for ($i=0; $i<count($_POST[it_id]); $i++)
{
$sql = " delete from $g4[yc4_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 $g4[yc4_event_item_table]
set ev_id = '$ev_id',
it_id = '{$_POST[it_id][$i]}' ";
sql_query($sql);
}
}
goto_url("./itemeventlist.php?ev_id=$ev_id&sort1=$sort1&sort2=$sort2&sel_ca_id=$sel_ca_id&sel_field=$sel_field&search=$search&page=$page");
?>