사용자: neo -> basic

This commit is contained in:
whitedot
2013-02-12 11:44:40 +09:00
parent 59e4ee310c
commit c4c16359c6
309 changed files with 1858 additions and 6055 deletions

View File

@ -1,126 +1,54 @@
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
if ($g4['https_url']) {
$login_url = $_GET['url'];
if ($login_url) {
if (preg_match("/^\.\.\//", $url)) {
$login_url = urlencode($g4[url]."/".preg_replace("/^\.\.\//", "", $login_url));
}
else {
$purl = parse_url($g4[url]);
if ($purl[path]) {
$path = urlencode($purl[path]);
$urlencode = preg_replace("/".$path."/", "", $urlencode);
}
$login_url = $g4[url].$urlencode;
}
}
else {
$login_url = $g4[url];
}
}
else {
$login_url = $urlencode;
}
?>
<script type="text/javascript" src="<?=$g4[path]?>/js/capslock.js"></script>
<div id="mb_login">
<h1><?=$g4['title']?></h1>
<form name="flogin" method="post" onsubmit="return flogin_submit(this);" autocomplete="off">
<input type="hidden" name="url" value='<?=$login_url?>'>
<form name="flogin" method="post" action="<?=$login_action_url?>" onsubmit="return flogin_submit(this);">
<input type="hidden" name="url" value='<?=$login_url?>'>
<table width="668" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="26"></td>
<td width="628"></td>
<td width="20"></td>
</tr>
<tr>
<td width="20" height="2"></td>
<td width="628" bgcolor="#8F8F8F"></td>
<td width="20"></td>
</tr>
<tr>
<td width="20" height="48"></td>
<td width="628" align="right" background="<?=$member_skin_path?>/img/login_table_bg_top.gif"><img src="<?=$member_skin_path?>/img/login_img.gif" width="344" height="48"></td>
<td width="20"></td>
</tr>
<tr>
<td width="20" height="223"></td>
<td width="628" align="center" background="<?=$member_skin_path?>/img/login_table_bg.gif">
<table width="460" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="460" height="223" align="center" bgcolor="#FFFFFF">
<table width="350" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="250">
<table width="250" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="10"><img src="<?=$member_skin_path?>/img/icon.gif" width="3" height="3"></td>
<td width="90" height="26"><b>아이디</b></td>
<td width="150"><INPUT type=text class=ed maxLength=20 size=15 name=mb_id itemname="아이디" required minlength="2"></td>
</tr>
<tr>
<td><img src="<?=$member_skin_path?>/img/icon.gif" width="3" height="3"></td>
<td height="26"><b>패스워드</b></td>
<td><INPUT type=password class=ed maxLength=20 size=15 name=mb_password id="login_mb_password" itemname="패스워드" required onkeypress="check_capslock(event, 'login_mb_password');"></td>
</tr>
<tr>
<td><img src="<?=$member_skin_path?>/img/icon.gif" width="3" height="3"></td>
<td height="26"><b>자동로그인</b></td>
<td><INPUT onclick="if (this.checked) { if (confirm('자동로그인을 사용하시면 다음부터 회원아이디와 패스워드를 입력하실 필요가 없습니다.\n\n\공공장소에서는 개인정보가 유출될 수 있으니 사용을 자제하여 주십시오.\n\n자동로그인을 사용하시겠습니까?')) { this.checked = true; } else { this.checked = false;} }" type=checkbox name=auto_login>
<b>사용</b></td>
</tr>
</table>
</td>
<td width="100" valign="top"><INPUT type=image width="65" height="52" src="<?=$member_skin_path?>/img/btn_login.gif" border=0></td>
</tr>
<tr>
<td height="5" colspan="2"></td>
</tr>
<tr>
<td height="1" background="<?=$member_skin_path?>/img/dot_line.gif" colspan="2"></td>
</tr>
<tr>
<td height="5" colspan="2"></td>
</tr>
<tr>
<td height="26" colspan="2"><img src="<?=$member_skin_path?>/img/icon.gif" width="3" height="3"> 아직 회원이 아니십니까?&nbsp;&nbsp;&nbsp;&nbsp;<a href="./register.php"><img width="72" height="20" src="<?=$member_skin_path?>/img/btn_register.gif" border=0 align="absmiddle"></a></td>
</tr>
<tr>
<!-- <td height="26" colspan="2"><img src="<?=$member_skin_path?>/img/icon.gif" width="3" height="3"> 아이디/패스워드를 잊으셨습니까?&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:;" onclick="win_password_forget('./password_forget.php');"><img src="<?=$member_skin_path?>/img/btn_password_forget.gif" width="108" height="20" border=0 align="absmiddle"></td> -->
<td height="26" colspan="2"><img src="<?=$member_skin_path?>/img/icon.gif" width="3" height="3"> 아이디/패스워드를 잊으셨습니까?&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:;" onclick="win_password_lost();"><img src="<?=$member_skin_path?>/img/btn_password_forget.gif" width="108" height="20" border=0 align="absmiddle"></td>
</tr>
</table></td>
</tr>
</table></td>
<td width="20"></td>
</tr>
<tr>
<td width="20" height="1"></td>
<td width="628" bgcolor="#F0F0F0"></td>
<td width="20"></td>
</tr>
<tr>
<td height="20" colspan="3"></td>
</tr>
</table>
<fieldset class="cbg">
<label for="login_id" class="login_id">회원아이디<strong class="sound_only">필수</strong></label>
<input type="text" id="login_id" name="mb_id" class="fs_input" maxLength="20" size="20" required>
<label for="login_pw" class="login_pw">패스워드<strong class="sound_only">필수</strong></label>
<input type="password" id="login_pw" class="fs_input" name="mb_password" maxLength="20" size="20" required>
<input type="submit" class="btn_submit" value="로그인">
<input type="checkbox" id="login_auto_login" name="auto_login">
<label for="login_auto_login">자동로그인</label>
</fieldset>
</form>
<section>
<h2>회원로그인 안내</h2>
<p>
회원아이디 및 패스워드가 기억 안나실 때는 아이디/패스워드 찾기를 이용하십시오.<br>
아직 회원이 아니시라면 회원으로 가입 후 이용해 주십시오.
</p>
<div>
<a href="<?=$g4['bbs_url']?>/password_lost.php" id="login_password_lost" class="btn03" target="win_password_lost">아이디 패스워드 찾기</a>
<a href="./register.php" class="btn01">회원 가입</a>
</div>
</section>
<script type='text/javascript'>
document.flogin.mb_id.focus();
<div class="btn_confirm">
<a href="<?=G4_URL?>/">메인으로 돌아가기</a>
</div>
</form>
</div>
<script>
$(function(){
$("#login_auto_login").click(function(){
if (this.checked) {
this.checked = confirm("자동로그인을 사용하시면 다음부터 회원아이디와 패스워드를 입력하실 필요가 없습니다.\n\n공공장소에서는 개인정보가 유출될 수 있으니 사용을 자제하여 주십시오.\n\n자동로그인을 사용하시겠습니까?");
}
});
});
function flogin_submit(f)
{
<?
if ($g4[https_url])
echo "f.action = '$g4[https_url]/$g4[bbs]/login_check.php';";
else
echo "f.action = '$g4[bbs_path]/login_check.php';";
?>
return true;
}
</script>