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

@ -16,19 +16,19 @@ $sql_common .= "set dl_company = '$dl_company',
dl_order = '$dl_order' ";
if ($w == "") {
$sql = " alter table {$g5['shop_delivery_table']} auto_increment=1 ";
$sql = " alter table {$g5['g5_shop_delivery_table']} auto_increment=1 ";
sql_query($sql);
$sql = " insert {$g5['shop_delivery_table']} $sql_common ";
$sql = " insert {$g5['g5_shop_delivery_table']} $sql_common ";
sql_query($sql);
$dl_id = mysql_insert_id();
} else if ($w == "u") {
$sql = " update {$g5['shop_delivery_table']} $sql_common where dl_id = '$dl_id' ";
$sql = " update {$g5['g5_shop_delivery_table']} $sql_common where dl_id = '$dl_id' ";
sql_query($sql);
} else if ($w == "d") {
// Master 삭제
$sql = " delete from {$g5['shop_delivery_table']} where dl_id = '$dl_id' ";
$sql = " delete from {$g5['g5_shop_delivery_table']} where dl_id = '$dl_id' ";
sql_query($sql);
}