#378 분류 출력순서 추가

This commit is contained in:
chicpro
2014-06-03 15:56:09 +09:00
parent bb368956c7
commit 281c9ad87e
22 changed files with 53 additions and 26 deletions

View File

@ -27,14 +27,14 @@ if($_GET['sch_target'] == 1) {
if($_GET['sch_word'])
$sql_where .= " and ca_name like '%$sch_word%' ";
$sql_select = " select ca_id as t_id, ca_name as t_name ";
$sql_order = " order by ca_name ";
$sql_order = " order by ca_order, ca_name ";
} else {
$sql_common = " from {$g5['g5_shop_item_table']} ";
$sql_where = " where it_use = '1' and it_nocoupon = '0' ";
if($_GET['sch_word'])
$sql_where .= " and it_name like '%$sch_word%' ";
$sql_select = " select it_id as t_id, it_name as t_name ";
$sql_order = " order by it_name ";
$sql_order = " order by it_order, it_name ";
}
// 테이블의 전체 레코드수만 얻음