29 lines
915 B
PHP
29 lines
915 B
PHP
<?
|
|
header("Content-Type: text/html; charset=euc-kr");
|
|
include $_SERVER[DOCUMENT_ROOT] . "/common/conf/config.inc.php";
|
|
include $_SERVER[DOCUMENT_ROOT] . "/module/category/category.lib.php";
|
|
|
|
//DB¿¬°á
|
|
$dblink = SetConn($_conf_db["main_db"]);
|
|
|
|
//Ä«Å×°í¸® ¸ñ·Ï
|
|
$arrList = getCategoryList(mysql_real_escape_string($_REQUEST["cat_no"]));
|
|
|
|
//DBÇØÁ¦
|
|
SetDisConn($dblink);
|
|
if($arrList["total"] > 0){
|
|
?>
|
|
<table width="100%" border="1" cellpadding="4" cellspacing="0" bordercolor="fa493f" bgcolor="#FFFFFF" onmouseover="$('divSubCategory').show()" onmouseout="$('divSubCategory').hide()">
|
|
<tr>
|
|
<td style="background: url(/images/w.gif) bottom repeat-x;">
|
|
<?
|
|
for($i=0;$i<$arrList["total"];$i++){
|
|
?>
|
|
<li class="none"><a href="/shop.php?goPage=GoodList&cat_no=<?=$arrList["list"][$i][cat_no]?>&listmode=b" class="sn"><?=stripslashes($arrList["list"][$i][cat_name])?></a></li>
|
|
<?
|
|
}
|
|
?>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<?}?>
|