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

@ -5,25 +5,26 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
add_stylesheet('<link rel="stylesheet" href="'.$outlogin_skin_url.'/style.css">', 0);
?>
<!-- 로그인 전 아웃로그인 시작 { -->
<section id="ol_before" class="ol">
<h2>회원로그인</h2>
<!-- 로그인 전 외부로그인 시작 -->
<form name="foutlogin" action="<?php echo $outlogin_action_url; ?>" onsubmit="return fhead_submit(this);" method="post" autocomplete="off">
<form name="foutlogin" action="<?php echo $outlogin_action_url ?>" onsubmit="return fhead_submit(this);" method="post" autocomplete="off">
<fieldset>
<input type="hidden" name="url" value="<?php echo $outlogin_url; ?>">
<label for="ol_id" id="ol_idlabel">회원아이디<strong class="sound_only"> 필수</strong></label>
<input type="text" id="ol_id" name="mb_id" required class="required" maxlength="20">
<label for="ol_pw" id="ol_pwlabel">비밀번호<strong class="sound_only"> 필수</strong></label>
<input type="password" name="mb_password" id="ol_pw" required class="required" maxlength="20">
<input type="submit" id="ol_submit" value="로그인">
<div id="ol_svc">
<a href="<?php echo G5_BBS_URL; ?>/register.php"><b>회원가입</b></a>
<a href="<?php echo G5_BBS_URL; ?>/password_lost.php" id="ol_password_lost">정보찾기</a>
</div>
<input type="hidden" name="url" value="<?php echo $outlogin_url ?>">
<label for="ol_id" id="ol_idlabel" class="sound_only">회원아이디<strong>필수</strong></label>
<input type="text" id="ol_id" name="mb_id" required class="required frm_input" maxlength="20" placeholder="아이디">
<label for="ol_pw" id="ol_pwlabel" class="sound_only">비밀번호<strong>필수</strong></label>
<input type="password" name="mb_password" id="ol_pw" required class="required frm_input" maxlength="20" placeholder="비밀번호">
<div id="ol_auto">
<input type="checkbox" name="auto_login" value="1" id="auto_login">
<label for="auto_login" id="auto_login_label">자동로그인</label>
</div>
<input type="submit" id="ol_submit" value="로그인" class="btn_b02">
<div id="ol_svc">
<a href="<?php echo G5_BBS_URL ?>/register.php"><b>회원가입</b></a> /
<a href="<?php echo G5_BBS_URL ?>/password_lost.php" id="ol_password_lost">정보찾기</a>
</div>
</fieldset>
</form>
</section>
@ -37,20 +38,6 @@ $omp_label = $('#ol_pwlabel');
$omp_label.addClass('ol_pwlabel');
$(function() {
$omi.focus(function() {
$omi_label.css('visibility','hidden');
});
$omp.focus(function() {
$omp_label.css('visibility','hidden');
});
$omi.blur(function() {
$this = $(this);
if($this.attr('id') == "ol_id" && $this.attr('value') == "") $omi_label.css('visibility','visible');
});
$omp.blur(function() {
$this = $(this);
if($this.attr('id') == "ol_pw" && $this.attr('value') == "") $omp_label.css('visibility','visible');
});
$("#auto_login").click(function(){
if ($(this).is(":checked")) {
@ -65,4 +52,4 @@ function fhead_submit(f)
return true;
}
</script>
<!-- 로그인 전 외부로그인 끝 -->
<!-- } 로그인 전 아웃로그인 끝 -->

View File

@ -3,35 +3,55 @@ 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>
<strong><?php echo $nick; ?>님</strong>
<?php if ($is_admin == 'super' || $is_auth) { ?><a href="<?php echo G5_ADMIN_URL; ?>/shop_admin" class="btn_admin">관리자 모드</a><?php } ?>
<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">
<span class="sound_only">안 읽은 </span>쪽지
<strong><?php echo $memo_not_read; ?></strong>
<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">
포인트
<strong><?php echo $point; ?></strong>
<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>
<li>
<a href="<?php echo G5_BBS_URL ?>/scrap.php" target="_blank" id="ol_after_scrap" class="win_scrap">스크랩</a>
<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>
</li>
</ul>
<footer id="ol_after_ft">
<a href="<?php echo G5_BBS_URL; ?>/member_confirm.php?url=register_form.php" id="ol_after_info">정보수정</a>
<a href="<?php echo G5_BBS_URL; ?>/logout.php?url=shop" id="ol_after_logout">로그아웃</a>
<a href="<?php echo G5_BBS_URL ?>/logout.php" id="ol_after_logout" class="btn_b02">로그아웃</a>
</footer>
</section>
@ -40,7 +60,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$outlogin_skin_url.'/style.css">'
function member_leave()
{
if (confirm("정말 회원에서 탈퇴 하시겠습니까?"))
location.href = "<?php echo G5_BBS_URL; ?>/member_confirm.php?url=member_leave.php";
location.href = "<?php echo G5_BBS_URL ?>/member_confirm.php?url=member_leave.php";
}
</script>
<!-- 로그인 후 외부로그인 끝 -->
<!-- } 로그인 후 아웃로그인 끝 -->

View File

@ -1,38 +1,42 @@
@charset "utf-8";
/* 아웃로그인 스킨 */
.ol {position:relative;margin:0 0 5px;width:150px}
.ol {position:relative;border-bottom:1px solid #f3f3f3;padding:20px}
.ol h2 {margin:0;padding:0;width:1px;height:1px;font-size:0;line-height:0;overflow:hidden}
.ol ul {margin:0;padding:0;list-style:none}
.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} /* 관리자 전용 버튼 */
.ol a.btn_admin:focus, .ol a.btn_admin:hover {text-decoration:none}
#ol_before {}
#ol_before fieldset {position:relative}
#ol_id {display:block;margin:0 0 5px !important;margin:0 0 3px;padding:0 5px;width:138px;height:22px;border:1px solid #b8c9c2;background:#f7f7f7;line-height:1.6em}
.ol_idlabel {position:absolute;top:6px;left:5px;color:#626870;font-size:0.95em}
#ol_pw {display:block;margin:0 0 5px !important;margin:0 0 3px;padding:0 5px;width:138px;height:22px;border:1px solid #b8c9c2;background:#f7f7f7;vertical-align:top;line-height:1.6em}
.ol_pwlabel {position:absolute;top:35px;left:5px;color:#626870;font-size:0.95em}
#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 {display:inline-block;margin:0 0 4px;width:150px;height:24px;border:0;background:#626870;color:#fff;font-size:0.9em;font-weight:bold}
#ol_before ul {float:right;margin:7px 0 13px;zoom:1}
#ol_before ul:after {display:block;visibility:hidden;clear:both;content:""}
#ol_before li {float:left;margin-left:5px;padding-top:2px}
#ol_before a {letter-spacing:-0.1em}
#ol_svc {margin:0 0 5px}
#ol_svc a {display:inline-block;padding:5px 0;width:71px;border:1px solid #e9e9e9;background:#faf9f5;text-align:center;text-decoration:none}
#ol_auto {margin:0 0 5px;padding:2px 0 5px;text-align:right}
#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_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}
#ol_after {}
#ol_after_hd {margin:0 0 5px}
#ol_after_hd .btn_admin {display:block;margin-top:5px;text-align:center}
#ol_after_private {margin:0 0 5px;zoom:1}
#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:after {display:block;visibility:hidden;clear:both;content:""}
#ol_after_private li {margin:0 0 1px}
#ol_after_private a {display:block;position:relative;padding:6px 8px 5px;background:#f7f7f7}
#ol_after_private a strong {position:absolute;top:6px;right:8px;color:#000;font-weight:normal}
#ol_after_private a:focus,
#ol_after_private a:hover {background:#626870;color:#fff;text-decoration:none}
#ol_after_private a:focus strong,
#ol_after_private a:hover strong {color:#fff;text-decoration:none}
#ol_after_ft {text-align:justify}
#ol_after_ft a {display:inline-block;padding:4px 0 3px;width:73px;background:#626870;color:#fff;text-align:center}
#ol_after_ft a:focus,
#ol_after_ft a:hover {text-decoration:none !important}
#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}