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

@ -0,0 +1,63 @@
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="'.$outlogin_skin_url.'/style.css">', 0);
?>
<aside 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 ?>">
<input type="text" name="mb_id" id="ol_id" placeholder="아이디" required maxlength="20">
<input type="password" id="ol_pw" name="mb_password" placeholder="비밀번호" required maxlength="20">
<div id="ol_svc">
<input type="checkbox" id="auto_login" name="auto_login" value="1">
<label for="auto_login" id="auto_login_label">자동로그인</label>
</div>
<input type="submit" id="ol_submit" value="로그인" class="btn_submit">
</fieldset>
</form>
</aside>
<script>
<?php if (!G5_IS_MOBILE) { ?>
$omi = $('#ol_id');
$omp = $('#ol_pw');
$omp.css('display','inline-block').css('width',104);
$omi_label = $('#ol_idlabel');
$omi_label.addClass('ol_idlabel');
$omp_label = $('#ol_pwlabel');
$omp_label.addClass('ol_pwlabel');
$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');
});
<?php } ?>
$("#auto_login").click(function(){
if (this.checked) {
this.checked = confirm("자동로그인을 사용하시면 다음부터 회원아이디와 비밀번호를 입력하실 필요가 없습니다.\n\n공공장소에서는 개인정보가 유출될 수 있으니 사용을 자제하여 주십시오.\n\n자동로그인을 사용하시겠습니까?");
}
});
function fhead_submit(f)
{
return true;
}
</script>
<!-- 로그인 전 외부로그인 끝 -->

View File

@ -0,0 +1,51 @@
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="'.$outlogin_skin_url.'/style.css">', 0);
?>
<!-- 로그인 후 외부로그인 시작 -->
<aside id="ol_after" class="ol">
<h2>나의 회원정보</h2>
<div id="ol_after_hd">
<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>
<div id="ol_after_btn">
<?php if ($is_admin == 'super' || $is_auth) { ?><a href="<?php echo G5_ADMIN_URL ?>" class="btn_admin">관리자</a><?php } ?>
<a href="<?php echo G5_BBS_URL ?>/logout.php" id="ol_after_logout">로그아웃</a>
</div>
</div>
<ul id="ol_after_private">
<li id="ol_after_memo">
<a href="<?php echo G5_BBS_URL ?>/memo.php" target="_blank">
<i class="fa fa-envelope" aria-hidden="true"></i><span class="sound_only">안 읽은 쪽지</span>
<strong><?php echo $memo_not_read ?></strong>
</a>
</li>
<li id="ol_after_pt">
<a href="<?php echo G5_BBS_URL ?>/point.php" target="_blank">
<i class="fa fa-database" aria-hidden="true"></i><span class="sound_only"> 포인트</span>
<strong><?php echo $point ?></strong>
</a>
</li>
</ul>
</aside>
<script>
// 탈퇴의 경우 아래 코드를 연동하시면 됩니다.
function member_leave()
{
if (confirm("정말 회원에서 탈퇴 하시겠습니까?"))
location.href = "<?php echo G5_BBS_URL ?>/member_confirm.php?url=member_leave.php";
}
</script>
<!-- 로그인 후 외부로그인 끝 -->

View File

@ -0,0 +1,27 @@
@charset "utf-8";
.ol {position:relative;margin:0 0 10px;padding:10px 0 ;text-align:center;}
.ol h2 {width:0;height:0;overflow:hidden}
#ol_before input[type=text], #ol_before input[type=password] {width:100%;border:1px solid #d4d4d4;background:none;height:35px;;margin:0 0 5px;padding:10px;}
#ol_submit {width:100%;height:35px;background:#333;font-weight:bold;font-size:1.083em; }
#ol_svc {text-align:left;color:#777;font-size:0.92em;margin: 0 0 5px}
#ol_password_lost{border-left:1px solid #777}
#ol_after_hd{padding-left:70px;text-align:left;position:relative;height:80px}
#ol_after_hd strong {display:block;color:#000;}
#ol_after_hd .profile_img{display:inline-block;position:absolute;top:0px;left:0px;margin:0 0 10px}
#ol_after_hd .profile_img img{border-radius:50%;}
#ol_after_info{position:absolute;bottom:-5px;right:-5px;text-align:center;background:#fff;width:30px;height:30px;line-height:30px;font-size:15px;border-radius:50%}
#ol_after_private {margin:0;padding:0;list-style:none;}
#ol_after_private:after {display:block;visibility:hidden;clear:both;content:""}
#ol_after_private li {position:relative;float:left;width:50%;}
#ol_after_private li:first-child{border-right:1px solid #ddd}
#ol_after_private a {color:#333;line-height:20px;background:#f3f3f3;display:block;border-bottom:1px solid #ddd;text-align:center;padding:10px}
#ol_after_private i{display:block;font-size:15px;margin: 5px 0}
#ol_after_btn {margin:5px 0}
#ol_after_btn a{display:inline-block;padding:0 10px;line-height:25px;font-weight:bold;border:1px solid #ddd;vertical-align:top}
#ol_after_btn .btn_admin {display:inline-block;padding:0 10px;border:0;text-align:center;margin:0;line-height:27px}
#ol_after_logout{background:#fff;color:#555}