From 8b86959bf9e1eafa90e40f964205279b8982255a Mon Sep 17 00:00:00 2001 From: chicpro Date: Mon, 20 Jan 2014 10:14:13 +0900 Subject: [PATCH] =?UTF-8?q?=EB=A6=AC=EC=8A=A4=ED=8A=B8=EC=97=90=EC=84=9C?= =?UTF-8?q?=20=EC=83=81=ED=92=88=EC=A0=95=EB=A0=AC=20=EC=88=9C=EC=84=9C=20?= =?UTF-8?q?=EC=A0=81=EC=9A=A9=EB=90=98=EC=A7=80=20=EC=95=8A=EB=8A=94=20?= =?UTF-8?q?=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile/shop/event.php | 2 ++ mobile/shop/list.php | 2 ++ mobile/shop/listtype.php | 2 ++ shop/event.php | 2 ++ shop/list.php | 2 ++ shop/listtype.php | 2 ++ 6 files changed, 12 insertions(+) diff --git a/mobile/shop/event.php b/mobile/shop/event.php index e30620213..b8cc1f51e 100644 --- a/mobile/shop/event.php +++ b/mobile/shop/event.php @@ -23,6 +23,8 @@ echo '
'.stripslashes($ev['ev_head_html']).'
'; // 상품 출력순서가 있다면 if ($sort != "") $order_by = $sort.' '.$sortodr.' , b.it_order, b.it_id desc'; +else + $order_by = 'b.it_order, b.it_id desc'; $error = ""; diff --git a/mobile/shop/list.php b/mobile/shop/list.php index d60f79bb1..5f91336b9 100644 --- a/mobile/shop/list.php +++ b/mobile/shop/list.php @@ -36,6 +36,8 @@ include_once(G5_MSHOP_PATH.'/_head.php'); // 상품 출력순서가 있다면 if ($sort != "") $order_by = $sort.' '.$sortodr.' , it_order, it_id desc'; + else + $order_by = 'it_order, it_id desc'; $error = '

등록된 상품이 없습니다.

'; diff --git a/mobile/shop/listtype.php b/mobile/shop/listtype.php index 63072f17d..286ea0aa0 100644 --- a/mobile/shop/listtype.php +++ b/mobile/shop/listtype.php @@ -25,6 +25,8 @@ $img_height = $default['de_type'.$type.'_img_height']; // 출력이미지 높 $order_by = ' it_order, it_id desc '; if ($sort != '') $order_by = $sort.' '.$sortodr.' , it_order, it_id desc'; +else + $order_by = 'it_order, it_id desc'; $error = ''; diff --git a/shop/event.php b/shop/event.php index fdb163699..65ac095d3 100644 --- a/shop/event.php +++ b/shop/event.php @@ -37,6 +37,8 @@ echo '
'.stripslashes($ev['ev_head_html']).'
'; // 상품 출력순서가 있다면 if ($sort != "") $order_by = $sort.' '.$sortodr.' , b.it_order, b.it_id desc'; +else + $order_by = 'b.it_order, b.it_id desc'; $error = ""; diff --git a/shop/list.php b/shop/list.php index d6799c395..c5a9ab3e0 100644 --- a/shop/list.php +++ b/shop/list.php @@ -52,6 +52,8 @@ var itemlist_ca_id = ""; // 상품 출력순서가 있다면 if ($sort != "") $order_by = $sort.' '.$sortodr.' , it_order, it_id desc'; + else + $order_by = 'it_order, it_id desc'; $error = '

등록된 상품이 없습니다.

'; diff --git a/shop/listtype.php b/shop/listtype.php index 3d29b473f..3f422c53b 100644 --- a/shop/listtype.php +++ b/shop/listtype.php @@ -30,6 +30,8 @@ $img_height = $default['de_type'.$type.'_img_height']; // 출력이미지 높 $order_by = ' it_order, it_id desc '; if ($sort != '') $order_by = $sort.' '.$sortodr.' , it_order, it_id desc'; +else + $order_by = 'it_order, it_id desc'; $error = '';