게시판 메뉴 보이기 필드 쿼리에 추가
This commit is contained in:
2
head.php
2
head.php
@ -139,7 +139,7 @@ if ($config['cf_include_head']) {
|
||||
<a href="<?=G4_BBS_URL?>/group.php?gr_id=<?=$row['gr_id']?>"><?=$row['gr_subject']?></a>
|
||||
<ul class="gnb_sub_ul">
|
||||
<?
|
||||
$sql2 = " select * from {$g4['board_table']} where gr_id = '{$row['gr_id']}' order by bo_order ";
|
||||
$sql2 = " select * from {$g4['board_table']} where gr_id = '{$row['gr_id']}' and bo_show_menu = '1' 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