모바일: gnb 작업 중, snb->mb_nb, lnb->side_nb 로 아이디 변경

This commit is contained in:
whitedot
2013-03-08 13:23:12 +09:00
parent 764f5bbdf9
commit 5f887a6028
7 changed files with 54 additions and 51 deletions

View File

@ -6,6 +6,22 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
<hr>
<nav id="gnb">
<script>$('#gnb').addClass('gnb_js');</script>
<h2>홈페이지 메인메뉴</h2>
<ul>
<?
$sql = " select * from {$g4['group_table']} where gr_show_menu order by gr_order ";
$result = sql_query($sql);
for ($gi=0; $row=sql_fetch_array($result); $gi++) { // gi 는 group index
?>
<li><a href="<?=G4_BBS_URL?>/group.php?gr_id=<?=$row['gr_id']?>"><?=$row['gr_subject']?></a></li>
<?}?>
</ul>
</nav>
<hr>
<footer id="ft">
<h1><?=$config['cf_title']?> 정보</h1>
<?=popular('basic'); // 인기검색어 ?>