diff --git a/adm/shop_admin/itemeventform.php b/adm/shop_admin/itemeventform.php index 1ec6b43c9..a12967713 100644 --- a/adm/shop_admin/itemeventform.php +++ b/adm/shop_admin/itemeventform.php @@ -67,7 +67,9 @@ for ($i=0; $row=sql_fetch_array($result); $i++) for ($i=0; $i<$len; $i++) $nbsp .= "   "; - $category_select .= "\n"; + // 전체 카테고리 경로 표시 + $category_path = function_exists('get_shop_category_path') ? get_shop_category_path($row['ca_id']) : $row['ca_name']; + $category_select .= "\n"; } // 모바일 1줄당 이미지수 필드 추가 diff --git a/adm/shop_admin/itemeventlist.php b/adm/shop_admin/itemeventlist.php index ce1f81695..a05e56676 100644 --- a/adm/shop_admin/itemeventlist.php +++ b/adm/shop_admin/itemeventlist.php @@ -107,7 +107,9 @@ if($ev_id) { $len = strlen($row1['ca_id']) / 2 - 1; $nbsp = ""; for ($i=0; $i<$len; $i++) $nbsp .= "   "; - echo ''.PHP_EOL; + // 전체 카테고리 경로 표시 + $category_path = function_exists('get_shop_category_path') ? get_shop_category_path($row1['ca_id']) : $row1['ca_name']; + echo ''.PHP_EOL; } ?> diff --git a/adm/shop_admin/itemform.php b/adm/shop_admin/itemform.php index 0f6ec2a11..0961a2d0c 100644 --- a/adm/shop_admin/itemform.php +++ b/adm/shop_admin/itemform.php @@ -146,9 +146,11 @@ for ($i=0; $row=sql_fetch_array($result); $i++) $nbsp = ""; for ($i=0; $i<$len; $i++) $nbsp .= "   "; - - $category_select .= "\n"; - + + // 전체 카테고리 경로 표시 (예: 남성의류 > 상의 > 셔츠) + $category_path = function_exists('get_shop_category_path') ? get_shop_category_path($row['ca_id']) : $row['ca_name']; + $category_select .= "\n"; + $script .= "ca_use['{$row['ca_id']}'] = {$row['ca_use']};\n"; $script .= "ca_stock_qty['{$row['ca_id']}'] = {$row['ca_stock_qty']};\n"; //$script .= "ca_explan_html['$row[ca_id]'] = $row[ca_explan_html];\n"; @@ -1394,7 +1396,9 @@ $(function(){ for ($i=0; $i<$len; $i++) $nbsp .= "   "; - echo "\n"; + // 전체 카테고리 경로 표시 + $category_path = function_exists('get_shop_category_path') ? get_shop_category_path($row['ca_id']) : $row['ca_name']; + echo "\n"; } ?> diff --git a/adm/shop_admin/itemlist.php b/adm/shop_admin/itemlist.php index 7556fb408..a0c2e38bc 100644 --- a/adm/shop_admin/itemlist.php +++ b/adm/shop_admin/itemlist.php @@ -25,7 +25,8 @@ for ($i=0; $row=sql_fetch_array($result); $i++) for ($i=0; $i<$len; $i++) { $nbsp .= '   '; } - $ca_list .= ''.PHP_EOL; + $category_path = function_exists('get_shop_category_path') ? get_shop_category_path($row['ca_id']) : $row['ca_name']; + $ca_list .= ''.PHP_EOL; } $where = " and "; @@ -100,7 +101,9 @@ $listall = '전체목 $len = strlen($row1['ca_id']) / 2 - 1; $nbsp = ''; for ($i=0; $i<$len; $i++) $nbsp .= '   '; - echo ''.PHP_EOL; + // 전체 카테고리 경로 표시 + $category_path = function_exists('get_shop_category_path') ? get_shop_category_path($row1['ca_id']) : $row1['ca_name']; + echo ''.PHP_EOL; } ?> diff --git a/adm/shop_admin/itemqalist.php b/adm/shop_admin/itemqalist.php index f8f79b3da..2230bf5c3 100644 --- a/adm/shop_admin/itemqalist.php +++ b/adm/shop_admin/itemqalist.php @@ -79,7 +79,9 @@ $listall = '전체목 $nbsp = ""; for ($i=0; $i<$len; $i++) $nbsp .= "   "; $selected = ($row1['ca_id'] == $sca) ? ' selected="selected"' : ''; - echo ''.PHP_EOL; + // 전체 카테고리 경로 표시 + $category_path = function_exists('get_shop_category_path') ? get_shop_category_path($row1['ca_id']) : $row1['ca_name']; + echo ''.PHP_EOL; } ?> diff --git a/adm/shop_admin/itemsellrank.php b/adm/shop_admin/itemsellrank.php index b1e387d58..57be153b7 100644 --- a/adm/shop_admin/itemsellrank.php +++ b/adm/shop_admin/itemsellrank.php @@ -83,7 +83,9 @@ $listall = '전체목 $len = strlen($row1['ca_id']) / 2 - 1; $nbsp = ""; for ($i=0; $i<$len; $i++) $nbsp .= "   "; - echo ''.PHP_EOL; + // 전체 카테고리 경로 표시 + $category_path = function_exists('get_shop_category_path') ? get_shop_category_path($row1['ca_id']) : $row1['ca_name']; + echo ''.PHP_EOL; } ?> diff --git a/adm/shop_admin/itemstocklist.php b/adm/shop_admin/itemstocklist.php index c55fddde8..9329dc3c5 100644 --- a/adm/shop_admin/itemstocklist.php +++ b/adm/shop_admin/itemstocklist.php @@ -82,7 +82,9 @@ $listall = '전체목 $len = strlen($row1['ca_id']) / 2 - 1; $nbsp = ""; for ($i=0; $i<$len; $i++) $nbsp .= "   "; - echo ''.PHP_EOL; + // 전체 카테고리 경로 표시 + $category_path = function_exists('get_shop_category_path') ? get_shop_category_path($row1['ca_id']) : $row1['ca_name']; + echo ''.PHP_EOL; } ?> diff --git a/adm/shop_admin/itemtypelist.php b/adm/shop_admin/itemtypelist.php index a7b175b37..0587363fb 100644 --- a/adm/shop_admin/itemtypelist.php +++ b/adm/shop_admin/itemtypelist.php @@ -98,7 +98,9 @@ $listall = '전체목 $len = strlen($row1['ca_id']) / 2 - 1; $nbsp = ""; for ($i=0; $i<$len; $i++) $nbsp .= "   "; - echo '전체목 $nbsp = ""; for ($i=0; $i<$len; $i++) $nbsp .= "   "; $selected = ($row1['ca_id'] == $sca) ? ' selected="selected"' : ''; - echo ''.PHP_EOL; + // 전체 카테고리 경로 표시 + $category_path = function_exists('get_shop_category_path') ? get_shop_category_path($row1['ca_id']) : $row1['ca_name']; + echo '전체목 $len = strlen($row1['ca_id']) / 2 - 1; $nbsp = ""; for ($i=0; $i<$len; $i++) $nbsp .= "   "; - echo ''.PHP_EOL; + // 전체 카테고리 경로 표시 + $category_path = function_exists('get_shop_category_path') ? get_shop_category_path($row1['ca_id']) : $row1['ca_name']; + echo ''.PHP_EOL; } ?> diff --git a/adm/shop_admin/wishlist.php b/adm/shop_admin/wishlist.php index b54e3bb8c..f0f543daa 100644 --- a/adm/shop_admin/wishlist.php +++ b/adm/shop_admin/wishlist.php @@ -71,7 +71,9 @@ $listall = '전체목 $len = strlen($row1['ca_id']) / 2 - 1; $nbsp = ""; for ($i=0; $i<$len; $i++) $nbsp .= "   "; - echo "