session_start(); include $_SERVER[DOCUMENT_ROOT] . "/common/conf/config.inc.php"; include_once $_SERVER[DOCUMENT_ROOT] . "/module/category/category.lib.php"; include_once $_SERVER[DOCUMENT_ROOT] . "/module/shop/shop.lib.php"; include_once $_SERVER[DOCUMENT_ROOT] . "/module/banner/banner.lib.php"; //DB연결 $dblink = SetConn($_conf_db["main_db"]); $cat_no = $_REQUEST["cat_no"]; //전체 카테고리 가져오기 $arrAllCategory = getCategoryAll(); //현재 카테고리 정보 $catInfo = getCategoryInfo($cat_no); $CateCode = explode("/", $catInfo["list"][0]["cat_code"]); //첫번째 카테고리 가져오기 $arrFirstCategory = getCategoryList(""); ?>