팝업 레이어 접속기기 설정할 수 있도록 수정
This commit is contained in:
@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user