아웃로그인 질문좀 올리겠습니다~
아웃로그인이 이상해요 문자셋 바꿔봐도 결과는 마찬가지입니다
그림에 로그인창 상단에 한문하고 네모하나 이거 어떻게 해야 사라질까요?
로그인하면 한문은 사라집니다.. 그러나 로그아웃하면 도 나타나요
한문좀 사라지게 해주세요..ㅠ.ㅠ
소스입니다
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<script type="text/javascript" language=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>
<style>
.login_input { border:1px solid #CCCCCC; height:18px; width:65px;}
</style>
<!-- 로그인 전 외부로그인 시작 -->
<table width="" border="0" cellpadding="0" cellspacing="0">
<form name="fhead" method="post" action="javascript:fhead_submit(document.fhead);" autocomplete="off">
<input type="hidden" name="url" value="<?=$urlencode?>">
<tr height="20">
<td width="40"><img src="<?=$outlogin_skin_path?>/img/text_id.gif" width="40" height="22"></td>
<td width="65" align="center"><input name="mb_id" type="text" maxlength="20" required itemname="아이디" value='아이디' onMouseOver='chkReset(this.form);' onfocus="this.value=''" class='login_input'></td>
<td width="47"><img src="<?=$outlogin_skin_path?>/img/text_pw.gif" width="45" height="22"></td>
<td id=pw1 width="65" align="center"><input type="text" maxlength="20" required itemname="패스워드" value='●●●●' onMouseOver='chkReset(this.form);' onfocus='chkReset(this.form);' class='login_input'></td>
<td id=pw2 style='display:none;' width="65" align="center"><input name="mb_password" type="password" maxlength="20" required itemname="패스워드" onMouseOver='chkReset(this.form);' onfocus='chkReset(this.form);' class='login_input'></td>
<td width="20" valign="top"><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; } }"></td>
<td width="40"><input type="image" src="<?=$outlogin_skin_path?>/img/login.gif" width="38" height="19"></td>
<td width="65"><a href="javascript:win_password_lost();"><img src="<?=$outlogin_skin_path?>/img/id_pw.gif" width="60" height="19" border="0"></a></td>
<td width="45"><div align="right"><a href="<?=$g4[bbs_path]?>/register.php"><img src="<?=$outlogin_skin_path?>/img/join.gif" width="40" height="19" border="0"></a></div></td>
</tr>
</form>
</table>
<script language="JavaScript">
function fhead_submit(f)
{
f.action = "<?=$g4[bbs_path]?>/login_check.php";
f.submit();
}
</script>
<!-- 로그인 전 외부로그인 끝 -->
그림에 로그인창 상단에 한문하고 네모하나 이거 어떻게 해야 사라질까요?
로그인하면 한문은 사라집니다.. 그러나 로그아웃하면 도 나타나요
한문좀 사라지게 해주세요..ㅠ.ㅠ
소스입니다
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<script type="text/javascript" language=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>
<style>
.login_input { border:1px solid #CCCCCC; height:18px; width:65px;}
</style>
<!-- 로그인 전 외부로그인 시작 -->
<table width="" border="0" cellpadding="0" cellspacing="0">
<form name="fhead" method="post" action="javascript:fhead_submit(document.fhead);" autocomplete="off">
<input type="hidden" name="url" value="<?=$urlencode?>">
<tr height="20">
<td width="40"><img src="<?=$outlogin_skin_path?>/img/text_id.gif" width="40" height="22"></td>
<td width="65" align="center"><input name="mb_id" type="text" maxlength="20" required itemname="아이디" value='아이디' onMouseOver='chkReset(this.form);' onfocus="this.value=''" class='login_input'></td>
<td width="47"><img src="<?=$outlogin_skin_path?>/img/text_pw.gif" width="45" height="22"></td>
<td id=pw1 width="65" align="center"><input type="text" maxlength="20" required itemname="패스워드" value='●●●●' onMouseOver='chkReset(this.form);' onfocus='chkReset(this.form);' class='login_input'></td>
<td id=pw2 style='display:none;' width="65" align="center"><input name="mb_password" type="password" maxlength="20" required itemname="패스워드" onMouseOver='chkReset(this.form);' onfocus='chkReset(this.form);' class='login_input'></td>
<td width="20" valign="top"><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; } }"></td>
<td width="40"><input type="image" src="<?=$outlogin_skin_path?>/img/login.gif" width="38" height="19"></td>
<td width="65"><a href="javascript:win_password_lost();"><img src="<?=$outlogin_skin_path?>/img/id_pw.gif" width="60" height="19" border="0"></a></td>
<td width="45"><div align="right"><a href="<?=$g4[bbs_path]?>/register.php"><img src="<?=$outlogin_skin_path?>/img/join.gif" width="40" height="19" border="0"></a></div></td>
</tr>
</form>
</table>
<script language="JavaScript">
function fhead_submit(f)
{
f.action = "<?=$g4[bbs_path]?>/login_check.php";
f.submit();
}
</script>
<!-- 로그인 전 외부로그인 끝 -->
첨부파일
|
댓글을 작성하시려면 로그인이 필요합니다.
댓글 3개
전번에도 답변주신것 같네요 더스키님 ㄳㄳ
$urlencode가 있네요...유니코드로 변환하면 공백이 유니코드로 변환되어 보여져요..