diff --git a/shop/listtype.php b/shop/listtype.php
index b6a95c6c7..923234f30 100644
--- a/shop/listtype.php
+++ b/shop/listtype.php
@@ -13,13 +13,13 @@ else
// 한페이지에 출력하는 이미지수 = $list_mod * $list_row
$list_mod = 4; // 한줄에 이미지 몇개씩 출력?
-$list_row = 5; // 한 페이지에 몇라인씩 출력?
+$list_row = 5; // 한 페이지에 몇라인씩 출력?
$img_width = 100; // 출력이미지 폭
$img_height = 100; // 출력이미지 높이
?>
-
" border="0">
+
" border="0">
@@ -41,18 +41,18 @@ if ($ca_id) {
$sql_common .= " and ca_id = '$ca_id' ";
}
-$error = "
";
+$error = "
";
-if (!$skin)
+if (!$skin)
$skin = "list.skin.10.php";
$td_width = (int)($mod / 100);
// 리스트 유형별로 출력
-$list_file = "$g4[shop_path]/$skin";
+$list_file = G4_SHOP_PATH."/$skin";
if (file_exists($list_file)) {
- include "$g4[shop_path]/list.sub.php";
+ include G4_SHOP_PATH."/list.sub.php";
//include "$cart_dir/list.sort.php";
$sql = $sql_list1 . $sql_common . $sql_list2 . " limit $from_record, $items ";
@@ -60,8 +60,8 @@ if (file_exists($list_file)) {
include $list_file;
-}
-else
+}
+else
{
$i = 0;
$error = "$skin 파일을 찾을 수 없습니다.
관리자에게 알려주시면 감사하겠습니다.";
@@ -94,7 +94,7 @@ $bar = "";
$sql = " select ca_id from $g4[yc4_item_table]
where it_type{$type} = '1'
and it_use = '1'
- group by ca_id
+ group by ca_id
order by ca_id ";
$result = sql_query($sql);
for($i=0;$row=sql_fetch_array($result);$i++) {