From 72e4a9f677fa11baccd2ceae0d650216d53a9c3e Mon Sep 17 00:00:00 2001 From: chicpro Date: Fri, 3 May 2013 09:40:57 +0900 Subject: [PATCH] =?UTF-8?q?#120=20=EC=97=90=20=EB=94=B0=EB=A5=B8=20?= =?UTF-8?q?=EC=A1=B0=EA=B1=B4=20=EC=A0=95=EB=A0=AC=20=EC=BD=94=EB=93=9C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shop/list.php | 7 +++++-- shop/list.sort.php | 9 ++++++--- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/shop/list.php b/shop/list.php index da3573f97..a4ab2e0fb 100644 --- a/shop/list.php +++ b/shop/list.php @@ -42,7 +42,7 @@ if ($is_admin) // 상품 출력순서가 있다면 if ($sort != "") { - $order_by = $sort . " , "; + $order_by = $sort . ' '.$sortodr. ' , '; } // 상품 (하위 분류의 상품을 모두 포함한다.) @@ -91,7 +91,10 @@ if ($is_admin) echo '
'.$error.'
'; } - $qstr1 .= 'ca_id='.$ca_id.'&skin='.$skin.'&ev_id='.$ev_id.'&sort='.$sort; + $qstr1 .= 'ca_id='.$ca_id; + if($skin) + $qstr1 .= '&skin='.$skin; + $qstr1 .='&ev_id='.$ev_id.'&sort='.$sort.'&'.$sortodr; echo get_paging($config['cf_write_pages'], $page, $total_page, $_SERVER['PHP_SELF'].'?'.$qstr1.'&page='); ?> diff --git a/shop/list.sort.php b/shop/list.sort.php index 33bb96870..75ae24e32 100644 --- a/shop/list.sort.php +++ b/shop/list.sort.php @@ -1,7 +1,10 @@
@@ -11,8 +14,8 @@ $sct_sort_href = $_SERVER['PHP_SELF'].'?ca_id='.$ca_id.'&skin='.$skin.'&