first commit 2
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 1.0 KiB |
@@ -0,0 +1,55 @@
|
||||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
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">
|
||||
<fieldset>
|
||||
<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/PW 찾기</a>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
</section>
|
||||
|
||||
<script>
|
||||
$omi = $('#ol_id');
|
||||
$omp = $('#ol_pw');
|
||||
$omi_label = $('#ol_idlabel');
|
||||
$omi_label.addClass('ol_idlabel');
|
||||
$omp_label = $('#ol_pwlabel');
|
||||
$omp_label.addClass('ol_pwlabel');
|
||||
|
||||
$(function() {
|
||||
|
||||
$("#auto_login").click(function(){
|
||||
if ($(this).is(":checked")) {
|
||||
if(!confirm("자동로그인을 사용하시면 다음부터 회원아이디와 비밀번호를 입력하실 필요가 없습니다.\n\n공공장소에서는 개인정보가 유출될 수 있으니 사용을 자제하여 주십시오.\n\n자동로그인을 사용하시겠습니까?"))
|
||||
return false;
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
function fhead_submit(f)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
<!-- } 로그인 전 아웃로그인 끝 -->
|
||||
@@ -0,0 +1,43 @@
|
||||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$outlogin_skin_url.'/style.css">', 0);
|
||||
?>
|
||||
|
||||
|
||||
<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>
|
||||
<?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">로그아웃</a>
|
||||
</footer>
|
||||
</section>
|
||||
|
||||
<script>
|
||||
// 탈퇴의 경우 아래 코드를 연동하시면 됩니다.
|
||||
function member_leave()
|
||||
{
|
||||
if (confirm("정말 회원에서 탈퇴 하시겠습니까?"))
|
||||
location.href = "<?php echo G5_BBS_URL ?>/member_confirm.php?url=member_leave.php";
|
||||
}
|
||||
</script>
|
||||
<!-- } 로그인 후 아웃로그인 끝 -->
|
||||
@@ -0,0 +1,44 @@
|
||||
@charset "utf-8";
|
||||
|
||||
/* 아웃로그인 스킨 */
|
||||
.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} /* 관리자 전용 버튼 */
|
||||
.ol a.btn_admin:focus, .ol a.btn_admin:hover {text-decoration:none}
|
||||
|
||||
#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}
|
||||
#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_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_private {text-align:left}
|
||||
#ol_after_private:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#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