그룹아이디가 넘어온 경우 해당 그룹에 속한 게시판만 노출하기
This commit is contained in:
@ -83,7 +83,9 @@ include_once(G4_LIB_PATH.'/popular.lib.php');
|
||||
<nav id="lnb">
|
||||
<ul>
|
||||
<?
|
||||
$sql2 = " select * from {$g4['board_table']} where bo_show_menu = 1 and bo_device <> 'pc' order by bo_order ";
|
||||
$sql2 = " select * from {$g4['board_table']} where bo_show_menu = 1 and bo_device <> 'pc' ";
|
||||
if ($gr_id) $sql2 .= " and gr_id = '$gr_id' ";
|
||||
$sql2 .= " order by bo_order ";
|
||||
$result2 = sql_query($sql2);
|
||||
for ($bi=0; $row2=sql_fetch_array($result2); $bi++) { // bi 는 board index
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user