5.4 버전 내용 적용
This commit is contained in:
@ -6,9 +6,16 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
|
||||
?>
|
||||
|
||||
<div id="point" class="new_win">
|
||||
<h1 id="win_title"><i class="fa fa-database" aria-hidden="true"></i> <?php echo $g5['title'] ?></h1>
|
||||
<div class="list_01">
|
||||
<ul id="point_ul">
|
||||
<h1 id="win_title"><?php echo $g5['title'] ?></h1>
|
||||
|
||||
<div class="new_win_con2">
|
||||
<ul class="point_all">
|
||||
<li class="full_li">
|
||||
보유포인트
|
||||
<span><?php echo number_format($member['mb_point']); ?></span>
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="point_list">
|
||||
<?php
|
||||
$sum_point1 = $sum_point2 = $sum_point3 = 0;
|
||||
|
||||
@ -19,12 +26,14 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
|
||||
$result = sql_query($sql);
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
$point1 = $point2 = 0;
|
||||
$point_use_class = '';
|
||||
if ($row['po_point'] > 0) {
|
||||
$point1 = '+' .number_format($row['po_point']);
|
||||
$sum_point1 += $row['po_point'];
|
||||
} else {
|
||||
$point2 = number_format($row['po_point']);
|
||||
$sum_point2 += $row['po_point'];
|
||||
$point_use_class = 'point_use';
|
||||
}
|
||||
|
||||
$po_content = $row['po_content'];
|
||||
@ -33,19 +42,17 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
|
||||
// if($row['po_expired'] == 1)
|
||||
$expr = ' txt_expired';
|
||||
?>
|
||||
<li>
|
||||
<div class="point_wrap01">
|
||||
<span class="point_log"><?php echo $po_content; ?></span>
|
||||
<span class="point_date"><?php echo conv_date_format('y-m-d H시', $row['po_datetime']); ?></span>
|
||||
</div>
|
||||
<div class="point_wrap02">
|
||||
<span class="point_inout"><?php if ($point1) echo $point1; else echo $point2; ?></span>
|
||||
<span class=" point_date point_expdate<?php echo $expr; ?>">
|
||||
<?php if ($row['po_expired'] == 1) { ?>
|
||||
만료: <?php echo substr(str_replace('-', '', $row['po_expire_date']), 2); ?>
|
||||
<?php } else echo $row['po_expire_date'] == '9999-12-31' ? ' ' : $row['po_expire_date']; ?>
|
||||
</span>
|
||||
<li class="<?php echo $point_use_class; ?>">
|
||||
<div class="point_top">
|
||||
<span class="point_tit"><?php echo $po_content; ?></span>
|
||||
<span class="point_num"><?php if ($point1) echo $point1; else echo $point2; ?></span>
|
||||
</div>
|
||||
<span class="point_date1"><i class="fa fa-clock-o" aria-hidden="true"></i> <?php echo conv_date_format('y-m-d H시', $row['po_datetime']); ?></span>
|
||||
<span class="point_date<?php echo $expr; ?>">
|
||||
<?php if ($row['po_expired'] == 1) { ?>
|
||||
만료 <?php echo substr(str_replace('-', '', $row['po_expire_date']), 2); ?>
|
||||
<?php } else echo $row['po_expire_date'] == '9999-12-31' ? ' ' : $row['po_expire_date']; ?>
|
||||
</span>
|
||||
</li>
|
||||
<?php
|
||||
}
|
||||
@ -58,25 +65,16 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
|
||||
$sum_point2 = number_format($sum_point2);
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
|
||||
<div id="point_sum">
|
||||
<div class="sum_row">
|
||||
<span class="sum_tit">지급</span>
|
||||
<b class="sum_val"><?php echo $sum_point1; ?></b>
|
||||
</div>
|
||||
<div class="sum_row">
|
||||
<span class="sum_tit">사용</span>
|
||||
<b class="sum_val"><?php echo $sum_point2; ?></b>
|
||||
</div>
|
||||
<div class="sum_row">
|
||||
<span class="sum_tit">보유</span>
|
||||
<b class="sum_val"><?php echo number_format($member['mb_point']); ?></b>
|
||||
</div>
|
||||
</div>
|
||||
<li class="point_status">
|
||||
소계
|
||||
<span><?php echo $sum_point1; ?></span>
|
||||
<span><?php echo $sum_point2; ?></span>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<?php echo get_paging(G5_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, $_SERVER['SCRIPT_NAME'].'?'.$qstr.'&page='); ?>
|
||||
|
||||
<div class="win_btn"><button type="button" onclick="javascript:window.close();" class="btn_close">창닫기</button></div>
|
||||
<button type="button" onclick="javascript:window.close();" class="btn_close">창닫기</button>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user