From 58dc48d3eaec66a2fecc19e714e372d004cb38d7 Mon Sep 17 00:00:00 2001 From: thisgun Date: Mon, 11 Jul 2022 10:32:49 +0900 Subject: [PATCH] =?UTF-8?q?=EC=98=81=EC=B9=B4=ED=8A=B8=20=EC=83=81?= =?UTF-8?q?=ED=92=88=EB=A6=AC=EC=8A=A4=ED=8A=B8=20sort=20=ED=82=A4?= =?UTF-8?q?=EC=97=90=20it=5Fname=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile/shop/list.php | 2 +- shop/event.php | 2 +- shop/list.php | 2 +- shop/listtype.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mobile/shop/list.php b/mobile/shop/list.php index 5165b5d5c..e6d459f1f 100644 --- a/mobile/shop/list.php +++ b/mobile/shop/list.php @@ -2,7 +2,7 @@ include_once('./_common.php'); // 상품 리스트에서 다른 필드로 정렬을 하려면 아래의 배열 코드에서 해당 필드를 추가하세요. -if( isset($sort) && ! in_array($sort, array('it_sum_qty', 'it_price', 'it_use_avg', 'it_use_cnt', 'it_update_time')) ){ +if( isset($sort) && ! in_array($sort, array('it_name', 'it_sum_qty', 'it_price', 'it_use_avg', 'it_use_cnt', 'it_update_time')) ){ $sort=''; } diff --git a/shop/event.php b/shop/event.php index b56c68a52..ae2ff9372 100644 --- a/shop/event.php +++ b/shop/event.php @@ -6,7 +6,7 @@ $skin = isset($_GET['skin']) ? clean_xss_tags($_GET['skin'], 1, 1) : ''; $ca_id = isset($_GET['ca_id']) ? clean_xss_tags($_GET['ca_id'], 1, 1) : ''; // 상품 리스트에서 다른 필드로 정렬을 하려면 아래의 배열 코드에서 해당 필드를 추가하세요. -if( isset($sort) && ! in_array($sort, array('it_sum_qty', 'it_price', 'it_use_avg', 'it_use_cnt', 'it_update_time')) ){ +if( isset($sort) && ! in_array($sort, array('it_name', 'it_sum_qty', 'it_price', 'it_use_avg', 'it_use_cnt', 'it_update_time')) ){ $sort=''; } diff --git a/shop/list.php b/shop/list.php index a53d2aee1..71f20927f 100644 --- a/shop/list.php +++ b/shop/list.php @@ -5,7 +5,7 @@ $ca_id = isset($_REQUEST['ca_id']) ? safe_replace_regex($_REQUEST['ca_id'], 'ca_ $skin = isset($_REQUEST['skin']) ? safe_replace_regex($_REQUEST['skin'], 'skin') : ''; // 상품 리스트에서 다른 필드로 정렬을 하려면 아래의 배열 코드에서 해당 필드를 추가하세요. -if( isset($sort) && ! in_array($sort, array('it_sum_qty', 'it_price', 'it_use_avg', 'it_use_cnt', 'it_update_time')) ){ +if( isset($sort) && ! in_array($sort, array('it_name', 'it_sum_qty', 'it_price', 'it_use_avg', 'it_use_cnt', 'it_update_time')) ){ $sort=''; } diff --git a/shop/listtype.php b/shop/listtype.php index d0e9fe55c..21aea7de7 100644 --- a/shop/listtype.php +++ b/shop/listtype.php @@ -2,7 +2,7 @@ include_once('./_common.php'); // 상품 리스트에서 다른 필드로 정렬을 하려면 아래의 배열 코드에서 해당 필드를 추가하세요. -$sort = (isset($_REQUEST['sort']) && in_array($_REQUEST['sort'], array('it_sum_qty', 'it_price', 'it_use_avg', 'it_use_cnt', 'it_update_time'))) ? $_REQUEST['sort'] : ''; +$sort = (isset($_REQUEST['sort']) && in_array($_REQUEST['sort'], array('it_name', 'it_sum_qty', 'it_price', 'it_use_avg', 'it_use_cnt', 'it_update_time'))) ? $_REQUEST['sort'] : ''; $type = isset($_REQUEST['type']) ? preg_replace("/[\<\>\'\"\\\'\\\"\%\=\(\)\s]/", "", $_REQUEST['type']) : ''; if (G5_IS_MOBILE) {