shop 테이블명 g5_shop 으로 변경

This commit is contained in:
chicpro
2013-09-13 16:23:29 +09:00
parent fbe71caa80
commit 90ee89b4f5
217 changed files with 933 additions and 1624 deletions

View File

@ -22,14 +22,14 @@ $g5['title'] = $html_title.'검색';
include_once(G5_PATH.'/head.sub.php');
if($_GET['sch_target'] == 1) {
$sql_common = " from {$g5['shop_category_table']} ";
$sql_common = " from {$g5['g5_shop_category_table']} ";
$sql_where = " where ca_use = '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 ";
} else {
$sql_common = " from {$g5['shop_item_table']} ";
$sql_common = " from {$g5['g5_shop_item_table']} ";
$sql_where = " where it_use = '1' ";
if($GET['sch_word'])
$sql_where .= " and it_name like '%$sch_word%' ";