device 설정에 따라 메뉴에 노출되도록 수정

This commit is contained in:
chicpro
2013-04-11 14:15:53 +09:00
parent e30e52e2ef
commit 379c37ef7e
3 changed files with 4 additions and 4 deletions

View File

@ -82,7 +82,7 @@ include_once(G4_LIB_PATH.'/popular.lib.php');
<nav id="lnb">
<ul>
<?
$sql2 = " select * from {$g4['board_table']} where gr_id = '{$gr_id}' and bo_show_menu = 1 order by bo_order ";
$sql2 = " select * from {$g4['board_table']} where bo_show_menu = 1 and bo_device <> 'pc' order by bo_order ";
$result2 = sql_query($sql2);
for ($bi=0; $row2=sql_fetch_array($result2); $bi++) { // bi 는 board index
?>