-
<div id="aside">
<?php
$sql = " select *
from {$g5['g5_shop_category_table']}
where ca_use = '1'
and length(ca_id) = '2'
and substring(ca_id, 1, 2) = '".substr($ca_id, 0, 2)."'
order by ca_order, ca_id ";
$menu1 = sql_fetch($sql);
$sql2 = " select *
from {$g5['g5_shop_category_table']}
where ca_use = '1'
and length(ca_id) = '4'
and substring(ca_id, 1, 2) = '".substr($ca_id, 0, 2)."'
order by ca_order, ca_id ";
$result2 = sql_query($sql2);
?>
<link rel="stylesheet" href="<?php echo G5_URL ?>/skin/groupmenu/adffix/css/style.css">
<section id="groupmenu" style="width:100%;padding:0px 0px;">
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr height="60">
<td class="nanum-gb" valign="top" colspan='3'>
<!-- 그룹 네임 시작 -->
<b><? echo $menu1['ca_name'] ?></b><br />
<!-- 그룹 네임 끝 -->
</td>
</tr>
<tr>
<td height="10"></td>
</tr>
<?php while ($caMenu = sql_fetch_array($result2)) { ?>
<tr>
<td>
<div id="nav1">
<ul>
<li ><a href="/shop/list.php?ca_id=<?php echo $caMenu['ca_id'] ?>" class="nanum-g" style="font-size:13px; line-height:34px; display:block;" ><?php echo $caMenu['ca_name'] ?></a></li>
</ul>
</div>
</td>
</tr>
<?php } ?>
<tr>
</table>
</section>
<!-- } 메뉴 끝 -->
<style>
#nav1{text-indent:10px;}
</style>
</div>
'그누보드' 카테고리의 다른 글
그누보드 주소적용 (0) 2020.06.09 스마트에디터 minWeight 수정방법 (0) 2020.06.01 그누보드 다음주소 scrollTop 버그 (0) 2020.06.01 pdf 모바일에서 다운로드시 에러나는경우 (0) 2020.06.01 더보기 more jquery (0) 2020.06.01