영카트 5.4 버전 내용 적용
This commit is contained in:
BIN
theme/basic/skin/outlogin/shop_basic/img/chk.png
Normal file
BIN
theme/basic/skin/outlogin/shop_basic/img/chk.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.0 KiB |
@ -3,55 +3,32 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$outlogin_skin_url.'/style.css">', 0);
|
||||
|
||||
// 쿠폰
|
||||
$cp_count = 0;
|
||||
$sql = " select cp_id
|
||||
from {$g5['g5_shop_coupon_table']}
|
||||
where mb_id IN ( '{$member['mb_id']}', '전체회원' )
|
||||
and cp_start <= '".G5_TIME_YMD."'
|
||||
and cp_end >= '".G5_TIME_YMD."' ";
|
||||
$res = sql_query($sql);
|
||||
|
||||
for($k=0; $cp=sql_fetch_array($res); $k++) {
|
||||
if(!is_used_coupon($member['mb_id'], $cp['cp_id']))
|
||||
$cp_count++;
|
||||
}
|
||||
?>
|
||||
|
||||
<!-- 로그인 후 아웃로그인 시작 { -->
|
||||
<section id="ol_after" class="ol">
|
||||
<header id="ol_after_hd">
|
||||
<h2>나의 회원정보</h2>
|
||||
<span class="profile_img">
|
||||
<?php echo get_member_profile_img($member['mb_id'], 60, 60); ?>
|
||||
<a href="<?php echo G5_BBS_URL ?>/member_confirm.php?url=register_form.php" id="ol_after_info"><i class="fa fa-cog" aria-hidden="true"></i><span class="sound_only">정보수정</span></a>
|
||||
</span>
|
||||
<strong><?php echo $nick ?>님</strong>
|
||||
<?php if ($is_admin == 'super' || $is_auth) { ?><a href="<?php echo G5_ADMIN_URL ?>" class="btn_admin">관리자</a><?php } ?>
|
||||
</header>
|
||||
<ul id="ol_after_private">
|
||||
<li>
|
||||
<a href="<?php echo G5_BBS_URL ?>/memo.php" target="_blank" id="ol_after_memo" class="win_memo">
|
||||
<i class="fa fa-envelope-o" aria-hidden="true"></i> <span class="sound_only">안 읽은 쪽지</span>
|
||||
<strong><?php echo $memo_not_read ?></strong>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="<?php echo G5_BBS_URL ?>/point.php" target="_blank" id="ol_after_pt" class="win_point">
|
||||
<i class="fa fa-database" aria-hidden="true"></i> <span class="sound_only">포인트</span>
|
||||
<strong><?php echo $point ?></strong>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<button class="btn_member_mn">
|
||||
<span class="profile_img"><?php echo get_member_profile_img($member['mb_id'], 30, 30); ?></span>
|
||||
<span class="profile_name"><?php echo $nick ?></span>님
|
||||
<i class="fa fa-angle-down" aria-hidden="true"></i>
|
||||
</button>
|
||||
|
||||
<!-- 로그인 후 아웃로그인 시작 { -->
|
||||
<section id="ol_after" class="ol member_mn">
|
||||
<h2>회원정보</h2>
|
||||
<ul id="ol_after_private">
|
||||
<li><a href="<?php echo G5_BBS_URL ?>/member_confirm.php?url=register_form.php" >정보수정</a></li>
|
||||
<li><a href="<?php echo G5_BBS_URL ?>/point.php" target="_blank" class="win_point">포인트<strong><?php echo $point ?></strong></a></li>
|
||||
<li><a href="<?php echo G5_SHOP_URL ?>/coupon.php" target="_blank" class="win_coupon">쿠폰<strong><?php echo number_format(get_shop_member_coupon_count($member['mb_id'], true)); ?></strong></a></li>
|
||||
<li><a href="<?php echo G5_BBS_URL ?>/memo.php" target="_blank" class="win_memo"><span class="sound_only">안 읽은</span>쪽지<strong><?php echo $memo_not_read ?></strong></a></li>
|
||||
<li><a href="<?php echo G5_SHOP_URL; ?>/mypage.php">마이페이지</a></li>
|
||||
<li>
|
||||
<a href="<?php echo G5_SHOP_URL ?>/coupon.php" target="_blank" id="ol_after_scrap" class="win_scrap"><i class="fa fa-newspaper-o" aria-hidden="true"></i> <span class="sound_only">쿠폰</span>
|
||||
<strong><?php echo number_format($cp_count); ?></strong>
|
||||
</a>
|
||||
<?php if ($is_admin == 'super' || $is_auth) { ?>
|
||||
<a href="<?php echo G5_ADMIN_URL ?>">관리자</a>
|
||||
<?php } ?>
|
||||
</li>
|
||||
</ul>
|
||||
<footer id="ol_after_ft">
|
||||
<a href="<?php echo G5_BBS_URL ?>/logout.php" id="ol_after_logout" class="btn_b02">로그아웃</a>
|
||||
<a href="<?php echo G5_BBS_URL ?>/logout.php" id="ol_after_logout">로그아웃</a>
|
||||
</footer>
|
||||
</section>
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
@charset "utf-8";
|
||||
|
||||
/* 아웃로그인 스킨 */
|
||||
.ol {position:relative;border-bottom:1px solid #f3f3f3;padding:20px}
|
||||
.ol {position:relative}
|
||||
.ol h2 {margin:0;padding:0;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
|
||||
|
||||
.ol a.btn_admin {display:inline-block;padding:0 10px;height:25px;background:#d13f4a;color:#fff;text-decoration:none;line-height:25px;vertical-align:middle} /* 관리자 전용 버튼 */
|
||||
@ -9,34 +9,36 @@
|
||||
|
||||
#ol_before {}
|
||||
#ol_before fieldset {position:relative}
|
||||
#ol_id {display:block;width:100%;margin:5px 0 10px;}
|
||||
.ol_idlabel {color:#333;}
|
||||
#ol_pw {display:block;;width:100%;margin:5px 0;}
|
||||
.ol_pwlabel {color:#333;}
|
||||
#ol_id {display:block;width:100%;margin:5px 0 10px}
|
||||
.ol_idlabel {color:#333}
|
||||
#ol_pw {display:block;width:100%;margin:5px 0}
|
||||
.ol_pwlabel {color:#333}
|
||||
#auto_login {}
|
||||
#auto_login_label {letter-spacing:-0.1em}
|
||||
#ol_submit {width:100%;height:40px;border:0;border-radius:3px;color:#fff;font-weight:bold}
|
||||
#ol_before a {letter-spacing:-0.15em}
|
||||
#ol_svc {text-align:center;margin:10px 0 0}
|
||||
#ol_svc a{display:inline-block;color:#333;margin:0 5px}
|
||||
#ol_svc a {display:inline-block;color:#333;margin:0 5px}
|
||||
#ol_auto {position:relative;margin:5px 0;font-size:0.92em;color:#555}
|
||||
#ol_auto label {letter-spacing:-0.1em}
|
||||
#ol_auto input {width:13px;height:13px;vertical-align:bottom}
|
||||
|
||||
.btn_member_mn {min-width:150px;padding:5px 0;border:0;background:transparent;color:#fff;text-align:center}
|
||||
.btn_member_mn .profile_img {display:inline-block;margin-right:5px}
|
||||
.btn_member_mn .profile_img img {border-radius:50%}
|
||||
.btn_member_mn .profile_name {display:inline-block;max-width:70px;line-height:34px;vertical-align: bottom;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
|
||||
.btn_member_mn i {display:inline-block;margin-left:5px;font-size:1.2em;font-weight:bold}
|
||||
.btn_member_mn_on {background:#fff;color:#000;border:1px solid #d0d0d0;border-bottom:0}
|
||||
.member_mn {display:none;position:absolute;left:0;width:150px;background:#fff;z-index:99;border:1px solid #d0d0d0;border-top:0}
|
||||
|
||||
#ol_after {}
|
||||
#ol_after_hd {margin:0 0 10px;text-align:center}
|
||||
#ol_after_hd strong{display:block}
|
||||
#ol_after_hd .profile_img{margin:20px 0 10px;display:inline-block;position:relative;}
|
||||
#ol_after_hd .profile_img img{border-radius:50%}
|
||||
#ol_after_hd .profile_img a{display:block;position:absolute;bottom:-5px;right:-5px;width:30px;height:30px;line-height:30px;border-radius:50%;background:#fff;font-size:14px}
|
||||
#ol_after_hd .btn_admin {position:absolute;top:20px;right:20px;border-radius:3px;;;text-align:center}
|
||||
#ol_after_private {margin:0 0 3px;zoom:1}
|
||||
#ol_after_private {text-align:left}
|
||||
#ol_after_private:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#ol_after_private li {margin-bottom:1px;position:relative;float:left;width:33.333%;text-align:center}
|
||||
#ol_after_private a {display:block;color:#444;background:#ecf0f1;padding: 10px;line-height:20px;height:60px}
|
||||
#ol_after_private li:nth-child(even) a{background:#e5e9ea}
|
||||
#ol_after_private a strong {display:block;color:#ff6f6f}
|
||||
#ol_after_private li a:hover{background:#bec3c7}
|
||||
#ol_after_memo {;margin-right:1px}
|
||||
#ol_after_pt {margin-right:1px}
|
||||
#ol_after_logout{display:block;height:40px;font-size:1.083em;line-height:38px;text-align:center;font-weight:bold;border-radius:3px;margin:10px 0 0px}
|
||||
#ol_after_private li {margin-bottom:1px;position:relative}
|
||||
#ol_after_private li:hover a {background:#f7f7f7}
|
||||
#ol_after_private a {display:block;color:#444;padding:10px 15px;line-height:20px}
|
||||
#ol_after_private a strong {float:right;display:inline-block;color:#fff;overflow:hidden;white-space:nowrap;text-overflow:clip;padding:0 5px;border-radius:15px;font-weight:normal;font-size:0.92em}
|
||||
#ol_after_private .win_point strong {background:#37bc9b}
|
||||
#ol_after_private .win_coupon strong {background:#a352c1}
|
||||
#ol_after_private .win_memo strong {background:#ff8b77}
|
||||
#ol_after_logout {display:block;font-size:1.083em;line-height:45px;text-align:center;color:#3a8afd;border-top:1px solid #f6f6f6}
|
||||
|
||||
Reference in New Issue
Block a user