아웃로그인 스킨
This commit is contained in:
2
head.php
2
head.php
@ -44,7 +44,7 @@ if ($config['cf_title'] == $g4['title']) $g4['title'] = '';
|
||||
</form>
|
||||
</header>
|
||||
|
||||
<?//=outlogin('basic'); // 외부 로그인 ?>
|
||||
<?=outlogin('neo'); // 외부 로그인 ?>
|
||||
<?//=poll('basic'); // 설문조사 ?>
|
||||
<?//=visit('basic'); // 방문자수 ?>
|
||||
<?//=connect(); // 현재 접속자수 ?>
|
||||
|
||||
@ -13,10 +13,6 @@ g4s 강좌 홈페이지에 오신 것을 환영합니다.
|
||||
<a href="<?=$g4['path']?>/bbs/board.php?bo_table=1">테스트용 게시판</a>
|
||||
</p>
|
||||
|
||||
<?=latest("neo",1,5)?>
|
||||
<?=latest("neo",1,5)?>
|
||||
<?=latest("neo",1,5)?>
|
||||
<?=latest("neo",1,5)?>
|
||||
<?=latest("neo",1,5)?>
|
||||
<?=latest("neo",1,5)?>
|
||||
|
||||
|
||||
@ -25,60 +25,25 @@ else {
|
||||
}
|
||||
?>
|
||||
|
||||
<script type="text/javascript" src="<?=$g4[path]?>/js/capslock.js"></script>
|
||||
<script type="text/javascript">
|
||||
// 엠파스 로긴 참고
|
||||
var bReset = true;
|
||||
function chkReset(f)
|
||||
{
|
||||
if (bReset) { if ( f.mb_id.value == '아이디' ) f.mb_id.value = ''; bReset = false; }
|
||||
document.getElementById("pw1").style.display = "none";
|
||||
document.getElementById("pw2").style.display = "";
|
||||
}
|
||||
</script>
|
||||
|
||||
2
|
||||
<!-- 로그인 전 외부로그인 시작 -->
|
||||
<form name="fhead" method="post" onsubmit="return fhead_submit(this);" autocomplete="off" style="margin:0px;">
|
||||
<input type="hidden" name="url" value="<?=$outlogin_url?>">
|
||||
<div style="width:220px;">
|
||||
<div style="clear:both;"><img src="<?=$outlogin_skin_path?>/img/login_top.gif" width="220" height="42"></div>
|
||||
<div style="clear:both; float:left; width:5px; height:115px; background:#F8F8F8;"></div>
|
||||
<div style="width:210px; float:left; margin-top:10px;">
|
||||
<table width="210" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td width="141">
|
||||
<table width="141" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td width="35" height="23"><img src="<?=$outlogin_skin_path?>/img/login_id.gif" width="35" height="23"></td>
|
||||
<td width="106" height="23" colspan="2" align="center"><input name="mb_id" type="text" class=ed size="12" maxlength="20" required itemname="아이디" value='아이디' onMouseOver='chkReset(this.form);' onFocus='chkReset(this.form);'></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="35" height="23"><img src="<?=$outlogin_skin_path?>/img/login_pw.gif" width="35" height="23"></td>
|
||||
<td id=pw1 width="106" height="23" colspan="2" align="center"><input type="text" class=ed size="12" maxlength="20" required itemname="패스워드" value='패스워드' onMouseOver='chkReset(this.form);' onfocus='chkReset(this.form);'></td>
|
||||
<td id=pw2 style='display:none;' width="106" height="23" colspan="2" align="center"><input name="mb_password" id="outlogin_mb_password" type="password" class=ed size="12" maxlength="20" itemname="패스워드" onMouseOver='chkReset(this.form);' onfocus='chkReset(this.form);' onKeyPress="check_capslock(event, 'outlogin_mb_password');"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td width="69" height="46" rowspan="2" align="center"><input type="image" src="<?=$outlogin_skin_path?>/img/login_button.gif" width="52" height="46"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div style="clear:both; padding:2px 0 0 42px;">
|
||||
<div style="float:left;"><input type="checkbox" name="auto_login" value="1" onclick="if (this.checked) { if (confirm('자동로그인을 사용하시면 다음부터 회원아이디와 패스워드를 입력하실 필요가 없습니다.\n\n\공공장소에서는 개인정보가 유출될 수 있으니 사용을 자제하여 주십시오.\n\n자동로그인을 사용하시겠습니까?')) { this.checked = true; } else { this.checked = false; } }"></div>
|
||||
<div style="float:left; padding-left:5px;"><img src="<?=$outlogin_skin_path?>/img/login_auto.gif" width="46" height="28"></div>
|
||||
</div>
|
||||
<div style="clear:both; padding:0 0 0 42px;">
|
||||
<!-- <a href="javascript:win_password_forget();"><img src="<?=$outlogin_skin_path?>/img/login_pw_find_button.gif" width="90" height="20" border="0"></a> -->
|
||||
<a href="javascript:win_password_lost();"><img src="<?=$outlogin_skin_path?>/img/login_pw_find_button.gif" width="90" height="20" border="0"></a>
|
||||
<a href="<?=$g4[bbs_path]?>/register.php"><img src="<?=$outlogin_skin_path?>/img/login_join_button.gif" width="69" height="20" border="0"></a>
|
||||
</div>
|
||||
</div>
|
||||
<div style="float:left; width:5px; height:115px; background:#F8F8F8;"></div>
|
||||
<div style="clear:both;"><img src="<?=$outlogin_skin_path?>/img/login_down.gif" width="220" height="14"></div>
|
||||
</div>
|
||||
<form name="fhead" method="post" onsubmit="return fhead_submit(this);" autocomplete="off">
|
||||
<fieldset>
|
||||
<legend>로그인</legend>
|
||||
<input type="hidden" name="url" value="<?=$outlogin_url?>">
|
||||
<label for="mb_id">아이디</label>
|
||||
<input type="text" id="mb_id" name="mb_id" maxlength="20" required>
|
||||
<label for="mb_password">패스워드</label>
|
||||
<input type="password" id="mb_password" name="mb_password" maxlength="20" onKeyPress="check_capslock(event, 'outlogin_mb_password');">
|
||||
<input type="submit" value="로그인">
|
||||
<input type="checkbox" name="auto_login" value="1" onclick="if (this.checked) { if (confirm('자동로그인을 사용하시면 다음부터 회원아이디와 패스워드를 입력하실 필요가 없습니다.\n\n\공공장소에서는 개인정보가 유출될 수 있으니 사용을 자제하여 주십시오.\n\n자동로그인을 사용하시겠습니까?')) { this.checked = true; } else { this.checked = false; } }"></div>
|
||||
<label for="auto_login">자동로그인</label>
|
||||
<a href="javascript:win_password_lost();">아이디/패스워드 찾기</a>
|
||||
<a href="<?=$g4[bbs_path]?>/register.php">회원가입</a>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script src="<?=$g4[path]?>/js/capslock.js"></script>
|
||||
<script>
|
||||
function fhead_submit(f)
|
||||
{
|
||||
if (!f.mb_id.value) {
|
||||
@ -87,7 +52,7 @@ function fhead_submit(f)
|
||||
return false;
|
||||
}
|
||||
|
||||
if (document.getElementById('pw2').style.display!='none' && !f.mb_password.value) {
|
||||
if (!f.mb_password.value) {
|
||||
alert("패스워드를 입력하십시오.");
|
||||
f.mb_password.focus();
|
||||
return false;
|
||||
|
||||
@ -3,58 +3,18 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<!-- 로그인 후 외부로그인 시작 -->
|
||||
<table width="220" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td width="220" colspan="5"><img src="<?=$outlogin_skin_path?>/img/login_ing_top.gif" width="220" height="42"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="5" rowspan="4" background="<?=$outlogin_skin_path?>/img/login_left_bg.gif"></td>
|
||||
<td width="210" colspan="3"></td>
|
||||
<td width="5" rowspan="4" background="<?=$outlogin_skin_path?>/img/login_right_bg.gif"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<table width="210" height="27" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td width="25" height="27"><img src="<?=$outlogin_skin_path?>/img/login_ing_icon.gif" width="25" height="27"></td>
|
||||
<td width="139" height="27"><span class='member'><strong><?=$nick?></strong></span>님</td>
|
||||
<td width="46" height="27"><? if ($is_admin == "super" || $is_auth) { ?><a href="<?=$g4['admin_path']?>/"><img src="<?=$outlogin_skin_path?>/img/admin.gif" width="33" height="15" border="0" align="absmiddle"></a><? } ?></td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="25"></td>
|
||||
<td width="160" height="25" align="center" bgcolor="#F9F9F9"><a href="javascript:win_point();"><font color="#737373">포인트 : <?=$point?>점</font></a></td>
|
||||
<td width="25"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<table width="210" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td>
|
||||
<table width="210" height="50" border="0" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td width="25"></td>
|
||||
<td width="82"><a href="<?=$g4['bbs_path']?>/logout.php"><img src="<?=$outlogin_skin_path?>/img/logout_button.gif" width="78" height="20" border="0"></a></td>
|
||||
<td width="78"><a href="<?=$g4['bbs_path']?>/member_confirm.php?url=register_form.php"><img src="<?=$outlogin_skin_path?>/img/login_modify.gif" width="78" height="20" border="0"></a></td>
|
||||
<td width="25"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td align="center"><a href="javascript:win_memo();"><FONT color="#ff8871;"><B>쪽지 (<?=$memo_not_read?>)</B></FONT></a></td>
|
||||
<td><a href="javascript:win_scrap();"><img src="<?=$outlogin_skin_path?>/img/scrap_button.gif" width="78" height="20" border="0"></a></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5"><img src="<?=$outlogin_skin_path?>/img/login_down.gif" width="220" height="14"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<section>
|
||||
<h2>회원정보</h2>
|
||||
<?=$nick?>님
|
||||
<? if ($is_admin == 'super' || $is_auth) { ?><a href="<?=$g4['admin_path']?>/">관리자</a><? } ?>
|
||||
<a href="javascript:win_point();">포인트 : <?=$point?>점</a>
|
||||
<a href="<?=$g4['bbs_path']?>/logout.php">로그아웃</a>
|
||||
<a href="<?=$g4['bbs_path']?>/member_confirm.php?url=register_form.php">정보수정</a>
|
||||
<a href="javascript:win_memo();">쪽지 <?=$memo_not_read?>통</a>
|
||||
<a href="javascript:win_scrap();">스크랩</a>
|
||||
</section>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
// 탈퇴의 경우 아래 코드를 연동하시면 됩니다.
|
||||
function member_leave()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user