diff --git a/adm/newwinform.php b/adm/newwinform.php index 9af03c821..0b5ead9b4 100644 --- a/adm/newwinform.php +++ b/adm/newwinform.php @@ -5,6 +5,10 @@ include_once(G5_EDITOR_LIB); auth_check($auth[$sub_menu], "w"); +// 팝업레이어 테이블에 영카트, 그누보드 인지 구분하는 여부 필드 추가 +$sql = " ALTER TABLE `{$g5['new_win_table']}` ADD `nw_division` VARCHAR(10) NOT NULL DEFAULT 'both' "; +sql_query($sql, false); + $html_title = "팝업레이어"; if ($w == "u") { @@ -45,6 +49,17 @@ include_once (G5_ADMIN_PATH.'/admin.head.php'); + + + + + + + diff --git a/adm/newwinformupdate.php b/adm/newwinformupdate.php index a7286ad2f..4553188ab 100644 --- a/adm/newwinformupdate.php +++ b/adm/newwinformupdate.php @@ -10,7 +10,8 @@ if ($W == 'd') else auth_check($auth[$sub_menu], "w"); -$sql_common = " nw_device = '$nw_device', +$sql_common = " nw_division = '$nw_division', + nw_device = '$nw_device', nw_begin_time = '$nw_begin_time', nw_end_time = '$nw_end_time', nw_disable_hours = '$nw_disable_hours', diff --git a/bbs/newwin.inc.php b/bbs/newwin.inc.php index 176638c70..aa063600a 100644 --- a/bbs/newwin.inc.php +++ b/bbs/newwin.inc.php @@ -1,9 +1,15 @@