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

@ -13,14 +13,14 @@ if ($w == "u")
$html_title .= " 수정";
$readonly = " readonly";
$sql = " select * from {$g5['shop_event_table']} where ev_id = '$ev_id' ";
$sql = " select * from {$g5['g5_shop_event_table']} where ev_id = '$ev_id' ";
$ev = sql_fetch($sql);
if (!$ev['ev_id'])
alert("등록된 자료가 없습니다.");
// 등록된 이벤트 상품
$sql = " select b.it_id, b.it_name
from {$g5['shop_event_item_table']} a left join {$g5['shop_item_table']} b on ( a.it_id = b.it_id )
from {$g5['g5_shop_event_item_table']} a left join {$g5['g5_shop_item_table']} b on ( a.it_id = b.it_id )
where a.ev_id = '$ev_id' ";
$res_item = sql_query($sql);
}
@ -42,7 +42,7 @@ else
// 분류리스트
$category_select = '';
$sql = " select * from {$g5['shop_category_table']} ";
$sql = " select * from {$g5['g5_shop_category_table']} ";
if ($is_admin != 'super')
$sql .= " where ca_mb_id = '{$member['mb_id']}' ";
$sql .= " order by ca_id ";