shop 테이블명 g5_shop 으로 변경
This commit is contained in:
@ -7,7 +7,7 @@ auth_check($auth[$sub_menu], "r");
|
||||
$g5['title'] = '배송일괄처리';
|
||||
include_once (G5_ADMIN_PATH.'/admin.head.php');
|
||||
|
||||
//sql_query(" update $g5[shop_cart_table] set ct_status = '완료' where ct_status = '배송' ");
|
||||
//sql_query(" update {$g5['g5_shop_cart_table']} set ct_status = '완료' where ct_status = '배송' ");
|
||||
|
||||
// 배송회사리스트 ---------------------------------------------
|
||||
$delivery_options = '<option value="">선택하세요</option>'.PHP_EOL;
|
||||
|
||||
@ -149,7 +149,7 @@ $pg_anchor = '<ul class="anchor">
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$sql = " select * from {$g5[shop_item_use_table]}
|
||||
$sql = " select * from {$g5['g5_shop_item_use_table']}
|
||||
where is_confirm = 0
|
||||
order by is_id desc
|
||||
limit $max_limit ";
|
||||
|
||||
@ -22,7 +22,7 @@ if ($sel_field == "") $sel_field = "it_name";
|
||||
if ($sort1 == "") $sort1 = "it_id";
|
||||
if ($sort2 == "") $sort2 = "desc";
|
||||
|
||||
$sql_common = " from $g5[shop_item_table] ";
|
||||
$sql_common = " from {$g5['g5_shop_item_table']} ";
|
||||
$sql_common .= $sql_search;
|
||||
|
||||
// 테이블의 전체 레코드수만 얻음
|
||||
|
||||
@ -29,7 +29,7 @@ if ($default['de_sms_use']) {
|
||||
{
|
||||
$sms_contents = $default['de_sms_cont5'];
|
||||
$sms_contents = preg_replace("/{이름}/", $od_name, $sms_contents);
|
||||
$sql = " select dl_company from $g5[shop_delivery_table] where dl_id = '$dl_id' ";
|
||||
$sql = " select dl_company from {$g5['g5_shop_delivery_table']} where dl_id = '$dl_id' ";
|
||||
$row = sql_fetch($sql);
|
||||
$sms_contents = preg_replace("/{택배회사}/", $row['dl_company'], $sms_contents);
|
||||
$sms_contents = preg_replace("/{운송장번호}/", $od_invoice, $sms_contents);
|
||||
|
||||
Reference in New Issue
Block a user