5.3 버전 내용 적용

This commit is contained in:
thisgun
2018-03-30 18:12:51 +09:00
parent 8c458841d5
commit dc15e1929d
1037 changed files with 49211 additions and 21238 deletions

View File

@ -33,26 +33,55 @@ for($k=0; $cp=sql_fetch_array($res); $k++) {
<section id="smb_my_ov">
<h2>회원정보 개요</h2>
<ul>
<div class="my_name">
<img src="<?php echo G5_THEME_IMG_URL ;?>/no_profile.gif" alt="프로필이미지" width="20"> <strong><?php echo $member['mb_id'] ? $member['mb_name'] : '비회원'; ?></strong>님
<ul class="smb_my_act">
<?php if ($is_admin == 'super') { ?><li><a href="<?php echo G5_ADMIN_URL; ?>/" class="btn_admin">관리자</a></li><?php } ?>
<li><a href="<?php echo G5_BBS_URL; ?>/member_confirm.php?url=register_form.php" class="btn01">정보수정</a></li>
<li><a href="<?php echo G5_BBS_URL; ?>/member_confirm.php?url=member_leave.php" onclick="return member_leave();" class="btn01">회원탈퇴</a></li>
</ul>
</div>
<ul class="my_pocou">
<li class="my_cou">보유쿠폰<a href="<?php echo G5_SHOP_URL; ?>/coupon.php" target="_blank" class="win_coupon"><?php echo number_format($cp_count); ?></a></li>
<li class="my_point">보유포인트
<a href="<?php echo G5_BBS_URL; ?>/point.php" target="_blank" class="win_point"><?php echo number_format($member['mb_point']); ?>점</a></li>
</ul>
<dl>
<dt>연락처</dt>
<dd><?php echo ($member['mb_tel'] ? $member['mb_tel'] : '미등록'); ?></dd>
<dt>E-Mail</dt>
<dd><?php echo ($member['mb_email'] ? $member['mb_email'] : '미등록'); ?></dd>
<dt>최종접속일시</dt>
<dd><?php echo $member['mb_today_login']; ?></dd>
<dt>회원가입일시</dt>
<dd><?php echo $member['mb_datetime']; ?></dd>
<dt class="ov_addr">주소</dt>
<dd class="ov_addr"><?php echo sprintf("(%s%s)", $member['mb_zip1'], $member['mb_zip2']).' '.print_address($member['mb_addr1'], $member['mb_addr2'], $member['mb_addr3'], $member['mb_addr_jibeon']); ?></dd>
</dl>
<div class="my_info">
<div class="my_info_wr">
<strong>연락처</strong>
<span><?php echo ($member['mb_tel'] ? $member['mb_tel'] : '미등록'); ?></span>
</div>
<div class="my_info_wr">
<strong>E-Mail</strong>
<span><?php echo ($member['mb_email'] ? $member['mb_email'] : '미등록'); ?></span>
</div>
<div class="my_info_wr">
<strong>최종접속일시</strong>
<span><?php echo $member['mb_today_login']; ?></span>
</div>
<div class="my_info_wr">
<strong>회원가입일시</strong>
<span><?php echo $member['mb_datetime']; ?></span>
</div>
<div class="my_info_wr ov_addr">
<strong>주소</strong>
<span><?php echo sprintf("(%s%s)", $member['mb_zip1'], $member['mb_zip2']).' '.print_address($member['mb_addr1'], $member['mb_addr2'], $member['mb_addr3'], $member['mb_addr_jibeon']); ?></span>
</div>
</div>
<div class="my_ov_btn"><button type="button" class="btn_op_area"><i class="fa fa-caret-down" aria-hidden="true"></i><span class="sound_only">상세정보 보기</span></button></div>
</section>
<script>
$(".btn_op_area").on("click", function() {
$(".my_info").toggle();
$(".fa-caret-down").toggleClass("fa-caret-up")
});
</script>
<section id="smb_my_od">
<h2><a href="<?php echo G5_SHOP_URL; ?>/orderinquiry.php">최근 주문내역</a></h2>
<?php
@ -62,9 +91,10 @@ for($k=0; $cp=sql_fetch_array($res); $k++) {
$limit = " limit 0, 5 ";
include G5_MSHOP_PATH.'/orderinquiry.sub.php';
?>
<a href="<?php echo G5_SHOP_URL; ?>/orderinquiry.php" class="btn_more">더보기</a>
</section>
<section id="smb_my_wish">
<section id="smb_my_wish" class="wishlist">
<h2><a href="<?php echo G5_SHOP_URL; ?>/wishlist.php">최근 위시리스트</a></h2>
<ul>
@ -75,21 +105,21 @@ for($k=0; $cp=sql_fetch_array($res); $k++) {
where a.mb_id = '{$member['mb_id']}'
and a.it_id = b.it_id
order by a.wi_id desc
limit 0, 3 ";
limit 0, 6 ";
$result = sql_query($sql);
for ($i=0; $row = sql_fetch_array($result); $i++)
{
$image_w = 50;
$image_h = 50;
$image_w = 250;
$image_h = 250;
$image = get_it_image($row['it_id'], $image_w, $image_h, true);
$list_left_pad = $image_w + 10;
?>
<li style="padding-left:<?php echo $list_left_pad + 10; ?>px">
<li>
<div class="wish_img"><?php echo $image; ?></div>
<div class="wish_info">
<a href="./item.php?it_id=<?php echo $row['it_id']; ?>" class="info_link"><?php echo stripslashes($row['it_name']); ?></a>
<span class="info_date"><?php echo substr($row['wi_time'], 2, 8); ?></span>
<span class="info_date"><?php echo substr($row['wi_time'], 2, 8); ?></span>
</div>
</li>
@ -100,6 +130,7 @@ for($k=0; $cp=sql_fetch_array($res); $k++) {
echo '<li class="empty_list">보관 내역이 없습니다.</list>';
?>
</ul>
<a href="<?php echo G5_SHOP_URL; ?>/wishlist.php" class="btn_more">더보기</a>
</section>
</div>