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.'&