팝업레이어에서 그누보드5, 영카트5 구분짓는 필드 이름 수정
This commit is contained in:
@ -2,14 +2,14 @@
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
if (!defined('_SHOP_')) {
|
||||
$g5['pop_division'] = 'g5';
|
||||
$pop_division = 'comm';
|
||||
} else {
|
||||
$g5['pop_division'] = 'yc5';
|
||||
$pop_division = 'shop';
|
||||
}
|
||||
|
||||
$sql = " select * from {$g5['new_win_table']}
|
||||
where '".G5_TIME_YMDHIS."' between nw_begin_time and nw_end_time
|
||||
and nw_device IN ( 'both', 'pc' ) and nw_division IN ( 'both', '".$g5['pop_division']."' )
|
||||
and nw_device IN ( 'both', 'pc' ) and nw_division IN ( 'both', '".$pop_division."' )
|
||||
order by nw_id asc ";
|
||||
$result = sql_query($sql, false);
|
||||
for ($i=0; $row_nw=sql_fetch_array($result); $i++)
|
||||
|
||||
Reference in New Issue
Block a user