g4를 g5로 변경

This commit is contained in:
chicpro
2013-09-13 14:32:06 +09:00
parent 9a18a049d5
commit 0f78b67eb7
563 changed files with 4097 additions and 4097 deletions

View File

@ -1,7 +1,7 @@
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once(G4_LIB_PATH.'/mailer.lib.php');
include_once(G5_LIB_PATH.'/mailer.lib.php');
$admin = get_admin('super');
@ -10,7 +10,7 @@ $admin = get_admin('super');
//------------------------------------------------------------------------------
$subject = $config['cf_title'].' - 주문 알림 메일 ('.$od_name.')';
ob_start();
include G4_SHOP_PATH.'/mail/orderupdate1.mail.php';
include G5_SHOP_PATH.'/mail/orderupdate1.mail.php';
$content = ob_get_contents();
ob_end_clean();
@ -22,7 +22,7 @@ mailer($od_name, $od_email, $admin['mb_email'], $subject, $content, 1);
//------------------------------------------------------------------------------
$subject = $config['cf_title'].' - 주문 내역 안내 메일';
ob_start();
include G4_SHOP_PATH.'/mail/orderupdate2.mail.php';
include G5_SHOP_PATH.'/mail/orderupdate2.mail.php';
$content = ob_get_contents();
ob_end_clean();
@ -38,7 +38,7 @@ unset($list);
$sql = " select b.it_sell_email,
a.it_id,
a.it_name
from {$g4['shop_cart_table']} a left join {$g4['shop_item_table']} b on ( a.it_id = b.it_id )
from {$g5['shop_cart_table']} a left join {$g5['shop_item_table']} b on ( a.it_id = b.it_id )
where a.od_id = '$od_id'
and a.ct_select = '1'
and b.it_sell_email <> ''
@ -50,7 +50,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
$sql = " select SUM(IF(io_type = 1, (io_price * ct_qty), ((ct_price + io_price) * ct_qty))) as price,
SUM(ct_point * ct_qty) as point,
SUM(ct_qty) as qty
from {$g4['shop_cart_table']}
from {$g5['shop_cart_table']}
where it_id = '{$row['it_id']}'
and od_id = '$od_id'
and ct_select = '1' ";
@ -58,7 +58,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
// 옵션정보
$sql2 = " select ct_option, ct_qty
from {$g4['shop_cart_table']}
from {$g5['shop_cart_table']}
where it_id = '{$row['it_id']}' and od_id = '$od_id' and ct_select = '1'
order by io_type asc, ct_id asc ";
$result2 = sql_query($sql2);
@ -83,7 +83,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++)
$subject = $config['cf_title'].' - 주문 알림 메일 (주문자 '.$od_name.'님)';
ob_start();
include G4_SHOP_PATH.'/mail/orderupdate3.mail.php';
include G5_SHOP_PATH.'/mail/orderupdate3.mail.php';
$content = ob_get_contents();
ob_end_clean();