쇼핑몰: #143 상품 관련 메일 발송 표준화 및 스타일 완료
This commit is contained in:
@ -5,6 +5,14 @@
|
||||
<title><?php echo $config['cf_title'];?> - 주문내역 처리 안내</title>
|
||||
</head>
|
||||
|
||||
<?php
|
||||
$cont_st = 'margin:0 auto 20px;width:94%;border:0;border-collapse:collapse';
|
||||
$caption_st = 'padding:0 0 5px;font-weight:bold';
|
||||
$th_st = 'padding:5px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:#f5f6fa';
|
||||
$td_st = 'padding:5px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9';
|
||||
$ft_a_st = 'display:block;padding:30px 0;background:#484848;color:#fff;text-align:center;text-decoration:none';
|
||||
?>
|
||||
|
||||
<body>
|
||||
|
||||
<div style="margin:30px auto;width:600px;border:10px solid #f7f7f7">
|
||||
@ -14,8 +22,8 @@
|
||||
</h1>
|
||||
|
||||
<?php if (count($cart_list)) { ?>
|
||||
<table style="margin:0 auto 20px;width:94%;border:0;border-collapse:collapse">
|
||||
<caption style="padding:0 0 5px;font-weight:bold">주문상품 확인</caption>
|
||||
<table style="<?php echo $cont_st; ?>">
|
||||
<caption style="<?php echo $caption_st; ?>">주문상품 확인</caption>
|
||||
<colgroup>
|
||||
<col>
|
||||
<col style="width:100px">
|
||||
@ -24,19 +32,19 @@
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" style="padding:5px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:#f5f6fa">품명</th>
|
||||
<th scope="col" style="padding:5px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:#f5f6fa">옵션</th>
|
||||
<th scope="col" style="padding:5px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:#f5f6fa">상태</th>
|
||||
<th scope="col" style="padding:5px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:#f5f6fa">수량</th>
|
||||
<th scope="col" style="<?php echo $th_st; ?>">품명</th>
|
||||
<th scope="col" style="<?php echo $th_st; ?>">옵션</th>
|
||||
<th scope="col" style="<?php echo $th_st; ?>">상태</th>
|
||||
<th scope="col" style="<?php echo $th_st; ?>">수량</th>
|
||||
</tr>
|
||||
<thead>
|
||||
<tbody>
|
||||
<?php for ($i=0; $i<count($cart_list); $i++) { ?>
|
||||
<tr>
|
||||
<td style="padding:5px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9"><a href="<?php echo G4_SHOP_URL; ?>/item.php?it_id=<?php echo $cart_list[$i]['it_id']; ?>" target="_blank" style="text-decoration:none"><?php echo $cart_list[$i]['it_name']; ?></a></td>
|
||||
<td style="padding:5px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;text-align:center"><?php echo $cart_list[$i]['it_opt']; ?></td>
|
||||
<td style="padding:5px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;text-align:center"><?php echo $cart_list[$i]['ct_status']; ?></td>
|
||||
<td style="padding:5px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;text-align:center"><?php echo $cart_list[$i]['ct_qty']; ?></td>
|
||||
<td style="<?php echo $td_st; ?>"><a href="<?php echo G4_SHOP_URL; ?>/item.php?it_id=<?php echo $cart_list[$i]['it_id']; ?>" target="_blank" style="text-decoration:none"><?php echo $cart_list[$i]['it_name']; ?></a></td>
|
||||
<td style="<?php echo $td_st; ?>;text-align:center"><?php echo $cart_list[$i]['it_opt']; ?></td>
|
||||
<td style="<?php echo $td_st; ?>;text-align:center"><?php echo $cart_list[$i]['ct_status']; ?></td>
|
||||
<td style="<?php echo $td_st; ?>;text-align:center"><?php echo $cart_list[$i]['ct_qty']; ?></td>
|
||||
</tr>
|
||||
<?php } // end for ?>
|
||||
</tbody>
|
||||
@ -44,20 +52,20 @@
|
||||
<?php } // end if ?>
|
||||
|
||||
<?php if (count($card_list)) { ?>
|
||||
<table style="margin:0 auto 20px;width:94%;border:0;border-collapse:collapse">
|
||||
<caption style="padding:0 0 5px;font-weight:bold">신용카드 결제 확인</caption>
|
||||
<table style="<?php echo $cont_st; ?>">
|
||||
<caption style="<?php echo $caption_st; ?>">신용카드 결제 확인</caption>
|
||||
<colgroup>
|
||||
<col style="width:130px">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row" style="padding:5px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:#f5f6fa">승인일시</th>
|
||||
<td style="padding:5px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9"><?php echo $card_list['od_card_time']; ?></td>
|
||||
<th scope="row" style="<?php echo $th_st; ?>">승인일시</th>
|
||||
<td style="<?php echo $td_st; ?>"><?php echo $card_list['od_card_time']; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row" style="padding:5px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:#f5f6fa">승인금액</th>
|
||||
<td style="padding:5px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9"><?php echo $card_list['od_receipt_card']; ?></td>
|
||||
<th scope="row" style="<?php echo $th_st; ?>">승인금액</th>
|
||||
<td style="<?php echo $td_st; ?>"><?php echo $card_list['od_receipt_card']; ?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -65,72 +73,72 @@
|
||||
|
||||
|
||||
<?php if (count($bank_list)) { ?>
|
||||
<table style="margin:0 auto 20px;width:94%;border:0;border-collapse:collapse">
|
||||
<caption style="padding:0 0 5px;font-weight:bold">무통장 입금 확인 완료</caption>
|
||||
<table style="<?php echo $cont_st; ?>">
|
||||
<caption style="<?php echo $caption_st; ?>">무통장 입금 확인 완료</caption>
|
||||
<colgroup>
|
||||
<col style="width:130px">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row" style="padding:5px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:#f5f6fa">확인일시</th>
|
||||
<td style="padding:5px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9"><?php echo $bank_list['od_bank_time']; ?></td>
|
||||
<th scope="row" style="<?php echo $th_st; ?>">확인일시</th>
|
||||
<td style="<?php echo $td_st; ?>"><?php echo $bank_list['od_bank_time']; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row" style="padding:5px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:#f5f6fa">입금액</th>
|
||||
<td style="padding:5px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9"><?php echo $bank_list['od_receipt_bank']; ?></td>
|
||||
<th scope="row" style="<?php echo $th_st; ?>">입금액</th>
|
||||
<td style="<?php echo $td_st; ?>"><?php echo $bank_list['od_receipt_bank']; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row" style="padding:5px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:#f5f6fa">입금자명</th>
|
||||
<td style="padding:5px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9"><?php echo $bank_list['od_deposit_name']; ?></td>
|
||||
<th scope="row" style="<?php echo $th_st; ?>">입금자명</th>
|
||||
<td style="<?php echo $td_st; ?>"><?php echo $bank_list['od_deposit_name']; ?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (count($point_list)) { ?>
|
||||
<table style="margin:0 auto 20px;width:94%;border:0;border-collapse:collapse">
|
||||
<caption style="padding:0 0 5px;font-weight:bold">포인트 결제 확인</caption>
|
||||
<table style="<?php echo $cont_st; ?>">
|
||||
<caption style="<?php echo $caption_st; ?>">포인트 결제 확인</caption>
|
||||
<colgroup>
|
||||
<col style="width:130px">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row" style="padding:5px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:#f5f6fa">확인일시</th>
|
||||
<td style="padding:5px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9"><?php echo $point_list['od_time']; ?></td>
|
||||
<th scope="row" style="<?php echo $th_st; ?>">확인일시</th>
|
||||
<td style="<?php echo $td_st; ?>"><?php echo $point_list['od_time']; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row" style="padding:5px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:#f5f6fa">포인트</th>
|
||||
<td style="padding:5px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9"><?php echo $point_list['od_receipt_point']; ?></td>
|
||||
<th scope="row" style="<?php echo $th_st; ?>">포인트</th>
|
||||
<td style="<?php echo $td_st; ?>"><?php echo $point_list['od_receipt_point']; ?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (count($delivery_list)) { ?>
|
||||
<table style="margin:0 auto 20px;width:94%;border:0;border-collapse:collapse">
|
||||
<caption style="padding:0 0 5px;font-weight:bold">배송 안내</caption>
|
||||
<table style="<?php echo $cont_st; ?>">
|
||||
<caption style="<?php echo $caption_st; ?>">배송 안내</caption>
|
||||
<colgroup>
|
||||
<col style="width:130px">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row" style="padding:5px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:#f5f6fa">배송회사</th>
|
||||
<td style="padding:5px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9"><a href="<?php echo $delivery_list['dl_url']; ?>" target="_blank" style="text-decoration:none"><?php echo $delivery_list['dl_company']; ?></a></td>
|
||||
<th scope="row" style="<?php echo $th_st; ?>">배송회사</th>
|
||||
<td style="<?php echo $td_st; ?>"><a href="<?php echo $delivery_list['dl_url']; ?>" target="_blank" style="text-decoration:none"><?php echo $delivery_list['dl_company']; ?></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row" style="padding:5px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:#f5f6fa">운송장번호</th>
|
||||
<td style="padding:5px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9"><?php echo $delivery_list['od_invoice']; ?></td>
|
||||
<th scope="row" style="<?php echo $th_st; ?>">운송장번호</th>
|
||||
<td style="<?php echo $td_st; ?>"><?php echo $delivery_list['od_invoice']; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row" style="padding:5px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:#f5f6fa">배송일시</th>
|
||||
<td style="padding:5px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9"><?php echo $delivery_list['od_invoice_time']; ?></td>
|
||||
<th scope="row" style="<?php echo $th_st; ?>">배송일시</th>
|
||||
<td style="<?php echo $td_st; ?>"><?php echo $delivery_list['od_invoice_time']; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row" style="padding:5px 0;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:#f5f6fa">대표전화</th>
|
||||
<td style="padding:5px;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9"><?php echo $delivery_list['dl_tel']; ?></td>
|
||||
<th scope="row" style="<?php echo $th_st; ?>">대표전화</th>
|
||||
<td style="<?php echo $td_st; ?>"><?php echo $delivery_list['dl_tel']; ?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -143,7 +151,7 @@
|
||||
</p>
|
||||
<?php } ?>
|
||||
|
||||
<a href="<?php echo G4_SHOP_URL ?>" target="_blank" style="display:block;padding:30px 0;background:#484848;color:#fff;text-decoration:none;text-align:center"><?php echo $config['cf_title'] ?></a>
|
||||
<a href="<?php echo G4_SHOP_URL ?>" target="_blank" style="<?php echo $ft_a_st; ?>"><?php echo $config['cf_title'] ?></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user