팝업 레이어 접속기기 설정할 수 있도록 수정

This commit is contained in:
chicpro
2013-12-06 10:21:23 +09:00
parent e5cc941e0c
commit 9ab109aca6
8 changed files with 92 additions and 5 deletions

View File

@ -10,7 +10,8 @@ if ($W == 'd')
else
auth_check($auth[$sub_menu], "w");
$sql_common = " nw_begin_time = '$nw_begin_time',
$sql_common = " nw_device = '$nw_device',
nw_begin_time = '$nw_begin_time',
nw_end_time = '$nw_end_time',
nw_disable_hours = '$nw_disable_hours',
nw_left = '$nw_left',
@ -23,9 +24,6 @@ $sql_common = " nw_begin_time = '$nw_begin_time',
if($w == "")
{
$sql = " alter table {$g5['g5_shop_new_win_table']} auto_increment=1 ";
sql_query($sql);
$sql = " insert {$g5['g5_shop_new_win_table']} set $sql_common ";
sql_query($sql);