include $_SERVER[DOCUMENT_ROOT] . "/backoffice/header.php"; include $_SERVER[DOCUMENT_ROOT] . "/module/product/product.lib.php"; include $_SERVER[DOCUMENT_ROOT] . "/module/category/category.lib.php"; include $_SERVER[DOCUMENT_ROOT] . "/common/fckeditor/fckeditor.php"; if(!in_array("product_manage",$_SESSION[$_SITE["DOMAIN"]]["ADMIN"]["AUTH"]) && $_SESSION[$_SITE["DOMAIN"]]["ADMIN"]["GRADE"]!="ROOT"): jsMsg("권한이 없습니다."); jsHistory("-1"); endif; //DB연결 $dblink = SetConn($_conf_db["main_db"]); $arrAllCategory = getCategoryAll(); //제품분류 리스트 $arrCategory = getCategoryList(0);//1차카테고리 //제품정보 $arrInfo = getProductInfo(mysql_real_escape_string($_REQUEST[idx])); $etc_1 = explode("//",$arrInfo['list'][0]['etc_1']); $etc_2 = explode("//",$arrInfo['list'][0]['etc_2']); $etc_3 = explode("//",$arrInfo['list'][0]['etc_3']); $etc_4 = explode("//",$arrInfo['list'][0]['etc_4']); $etc_5 = explode("//",$arrInfo['list'][0]['etc_5']); $etc_6 = explode("//",$arrInfo['list'][0]['etc_6']); //카테고리 정보 $arrCatCode = explode("/", $arrInfo["list"][0]["cat_code"]); $arrExtCat = getProductExtCat(mysql_real_escape_string($_REQUEST[idx])); $catrs = mysql_query("select * from tbl_category order by cat_code"); //DB해제 SetDisConn($dblink); ?>