쇼핑몰공통: #249 사용자 쿠폰리스트 마크업 및 스타일 완료

This commit is contained in:
whitedot
2013-07-04 11:14:29 +09:00
parent 061ad00cd9
commit e5b3d71f1d
2 changed files with 11 additions and 4 deletions

View File

@ -815,3 +815,7 @@ td.empty_table {padding:85px 0;text-align:center}
/* 쇼핑몰 이벤트 */ /* 쇼핑몰 이벤트 */
#sev {} #sev {}
.sev_admin {text-align:right} .sev_admin {text-align:right}
/* 쿠폰 */
#coupon .td_bignum {width:150px}
#coupon .td_datetime {width:180px}

View File

@ -4,7 +4,7 @@ include_once('./_common.php');
if ($is_guest) if ($is_guest)
alert_close('회원만 조회하실 수 있습니다.'); alert_close('회원만 조회하실 수 있습니다.');
$g4['title'] = $member['mb_nick'].' 님의 마일리지 내역'; $g4['title'] = $member['mb_nick'].' 님의 쿠폰 내역';
include_once(G4_PATH.'/head.sub.php'); include_once(G4_PATH.'/head.sub.php');
$sql = " select cp_id, cp_subject, cp_method, cp_target, cp_start, cp_end, cp_type, cp_amount $sql = " select cp_id, cp_subject, cp_method, cp_target, cp_start, cp_end, cp_type, cp_amount
@ -21,7 +21,10 @@ if(!$count)
alert_close('보유하신 쿠폰이 없습니다.'); alert_close('보유하신 쿠폰이 없습니다.');
?> ?>
<!-- 쿠폰 내역 시작 { -->
<div id="coupon" class="new_win"> <div id="coupon" class="new_win">
<h1 id="new_win_title"><?php echo $g4['title'] ?></h1>
<table class="basic_tbl"> <table class="basic_tbl">
<thead> <thead>
<tr> <tr>
@ -56,8 +59,8 @@ if(!$count)
<tr> <tr>
<td><?php echo $row['cp_subject']; ?></td> <td><?php echo $row['cp_subject']; ?></td>
<td><?php echo $cp_target; ?></td> <td><?php echo $cp_target; ?></td>
<td><?php echo $cp_amount; ?></td> <td class="td_bignum"><?php echo $cp_amount; ?></td>
<td><?php echo substr($row['cp_start'], 2, 8); ?> ~ <?php echo substr($row['cp_end'], 2, 8); ?></td> <td class="td_datetime"><?php echo substr($row['cp_start'], 2, 8); ?> ~ <?php echo substr($row['cp_end'], 2, 8); ?></td>
</tr> </tr>
<?php <?php
} }