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 = '';