변수형 일시를 상숭형으로 대체
This commit is contained in:
@ -105,8 +105,8 @@ if($w != 'd') {
|
||||
alert('사용시작일은 종료일 이후 일 수 없습니다.');
|
||||
}
|
||||
|
||||
if($cp_end < $g4['time_ymd']) {
|
||||
alert('사용종료일은 오늘('.$g4['time_ymd'].') 이전일 수 없습니다.');
|
||||
if($cp_end < G4_TIME_YMD) {
|
||||
alert('사용종료일은 오늘('.G4_TIME_YMD.') 이전일 수 없습니다.');
|
||||
}
|
||||
|
||||
if($cp_type == 0) { // 상품할인 일때
|
||||
@ -176,7 +176,7 @@ if($w == '') {
|
||||
cp_minimum = '$cp_minimum',
|
||||
cp_maximum = '$cp_maximum',
|
||||
cp_use = '$cp_use',
|
||||
cp_datetime = '{$g4['time_ymdhis']}' ";
|
||||
cp_datetime = '".G4_TIME_YMDHIS."' ";
|
||||
$result = sql_query($sql, false);
|
||||
|
||||
if($result) {
|
||||
@ -224,7 +224,7 @@ if($w == '') {
|
||||
cp_minimum = '$cp_minimum',
|
||||
cp_maximum = '$cp_maximum',
|
||||
cp_use = '$cp_use',
|
||||
cp_datetime = '{$g4['time_ymdhis']}' ";
|
||||
cp_datetime = '".G4_TIME_YMDHIS."' ";
|
||||
$result = sql_query($sql, false);
|
||||
|
||||
if($result) {
|
||||
@ -284,7 +284,7 @@ if($w == '') {
|
||||
cp_minimum = '$cp_minimum',
|
||||
cp_maximum = '$cp_maximum',
|
||||
cp_use = '$cp_use',
|
||||
cp_datetime = '{$g4['time_ymdhis']}' ";
|
||||
cp_datetime = '".G4_TIME_YMDHIS."' ";
|
||||
$result = sql_query($sql, false);
|
||||
|
||||
if($result) {
|
||||
@ -345,7 +345,7 @@ if($w == '') {
|
||||
cp_minimum = '$cp_minimum',
|
||||
cp_maximum = '$cp_maximum',
|
||||
cp_use = '$cp_use',
|
||||
cp_datetime = '{$g4['time_ymdhis']}' ";
|
||||
cp_datetime = '".G4_TIME_YMDHIS."' ";
|
||||
$result = sql_query($sql, false);
|
||||
|
||||
if($result) {
|
||||
@ -431,7 +431,7 @@ if($w == '') {
|
||||
cp_minimum = '$cp_minimum',
|
||||
cp_maximum = '$cp_maximum',
|
||||
cp_use = '$cp_use',
|
||||
cp_datetime = '{$g4['time_ymdhis']}'
|
||||
cp_datetime = '".G4_TIME_YMDHIS."'
|
||||
where cp_no = '$cp_no' ";
|
||||
sql_query($sql);
|
||||
} else if($w == 'd') {
|
||||
|
||||
@ -138,7 +138,7 @@ $sql .= " order by $sort1 $sort2/* 김선용 심각한 트래픽으로 미사
|
||||
$result = sql_query($sql);
|
||||
for ($i=0; $row=mysql_fetch_array($result); $i++)
|
||||
{
|
||||
$invoice_time = $g4[time_ymdhis];
|
||||
$invoice_time = G4_TIME_YMDHIS;
|
||||
if (!is_null_time($row[od_invoice_time]))
|
||||
$invoice_time = $row[od_invoice_time];
|
||||
|
||||
|
||||
@ -336,7 +336,7 @@ $sql_common = " ca_id = '$ca_id',
|
||||
it_sc_condition = '$condition',
|
||||
it_head_html = '$it_head_html',
|
||||
it_tail_html = '$it_tail_html',
|
||||
it_time = '{$g4['time_ymdhis']}',
|
||||
it_time = '".G4_TIME_YMDHIS."',
|
||||
it_ip = '{$_SERVER['REMOTE_ADDR']}',
|
||||
it_order = '$it_order',
|
||||
it_tel_inq = '$it_tel_inq',
|
||||
|
||||
@ -124,7 +124,7 @@ if ($od_send_mail)
|
||||
$email = $od[od_email];
|
||||
|
||||
// 메일 보낸 내역 상점메모에 update
|
||||
$od_shop_memo = "$g4[time_ymdhis] - 결제/배송내역 메일발송\n" . $od[od_shop_memo];;
|
||||
$od_shop_memo = G4_TIME_YMDHIS.' - 결제/배송내역 메일발송'.PHP_EOL.$od[od_shop_memo];
|
||||
/* 1.00.06
|
||||
** 주석처리 - 처리하지 않음
|
||||
if ($receipt_check)
|
||||
|
||||
Reference in New Issue
Block a user