아 도대체 ...왜 저건 아래로 안내려갈가요... 정보
아 도대체 ...왜 저건 아래로 안내려갈가요...
본문
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.
오류 주소 :
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$url = '';
if ($g4['https_url']) {
if (preg_match("/^\./", $urlencode))
$url = $g4[url];
else
$url = $g4[url].$urlencode;
} else {
$url = $urlencode;
}
?>
<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>
<!-- 로그인 전 외부로그인 시작 -->
<form name="fhead" method="post" onsubmit="return fhead_submit(this);" autocomplete="off" style="margin:0px;">
<input type="hidden" name="url" value="<?=$url?>">
<table border="1" cellpadding="0" cellspacing="0" height="500">
<tr>
<td valign="bottom">
<img src="<?=$outlogin_skin_path?>/img/background-top.gif" />
</td>
</tr>
<tr>
<td style="background-image:url('<?=$outlogin_skin_path?>/img/background-middle.gif');">
<BR><BR><BR><BR>
</td>
<tr>
<td valign="top">
<img src="<?=$outlogin_skin_path?>/img/background-bottom.gif" />
</td>
</tr>
</table>
<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="<?=$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>
</form>
<script language="JavaScript">
function fhead_submit(f)
{
if (!f.mb_id.value) {
alert("회원아이디를 입력하십시오.");
f.mb_id.focus();
return false;
}
if (document.getElementById('pw2').style.display!='none' && !f.mb_password.value) {
alert("패스워드를 입력하십시오.");
f.mb_password.focus();
return false;
}
<?
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>
<!-- 로그인 전 외부로그인 끝 -->
오류 주소 :
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$url = '';
if ($g4['https_url']) {
if (preg_match("/^\./", $urlencode))
$url = $g4[url];
else
$url = $g4[url].$urlencode;
} else {
$url = $urlencode;
}
?>
<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>
<!-- 로그인 전 외부로그인 시작 -->
<form name="fhead" method="post" onsubmit="return fhead_submit(this);" autocomplete="off" style="margin:0px;">
<input type="hidden" name="url" value="<?=$url?>">
<table border="1" cellpadding="0" cellspacing="0" height="500">
<tr>
<td valign="bottom">
<img src="<?=$outlogin_skin_path?>/img/background-top.gif" />
</td>
</tr>
<tr>
<td style="background-image:url('<?=$outlogin_skin_path?>/img/background-middle.gif');">
<BR><BR><BR><BR>
</td>
<tr>
<td valign="top">
<img src="<?=$outlogin_skin_path?>/img/background-bottom.gif" />
</td>
</tr>
</table>
<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="<?=$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>
</form>
<script language="JavaScript">
function fhead_submit(f)
{
if (!f.mb_id.value) {
alert("회원아이디를 입력하십시오.");
f.mb_id.focus();
return false;
}
if (document.getElementById('pw2').style.display!='none' && !f.mb_password.value) {
alert("패스워드를 입력하십시오.");
f.mb_password.focus();
return false;
}
<?
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>
<!-- 로그인 전 외부로그인 끝 -->
댓글 전체

저기
아웃로그인 윗쪽 그림이....맨 밑까지 안내려가요....미챠불것어요..ㅠㅠ
아웃로그인 윗쪽 그림이....맨 밑까지 안내려가요....미챠불것어요..ㅠㅠ

<tr>
<td valign="bottom">
<img src="<?=$outlogin_skin_path?>/img/background-top.gif" />
이거 하고
<tr>
<td valign="top">
<img src="<?=$outlogin_skin_path?>/img/background-bottom.gif" />
이거 두개요
height 값을 주세요
<td valign="bottom">
<img src="<?=$outlogin_skin_path?>/img/background-top.gif" />
이거 하고
<tr>
<td valign="top">
<img src="<?=$outlogin_skin_path?>/img/background-bottom.gif" />
이거 두개요
height 값을 주세요

background-bottom.gif 이미지의 세로값이 15 라면
<tr>
<td valign="top" height=15>
<img src="<?=$outlogin_skin_path?>/img/background-bottom.gif" />
<tr>
<td valign="top" height=15>
<img src="<?=$outlogin_skin_path?>/img/background-bottom.gif" />

아, 그리고
td 안에 img 소스를 사용해서 이미지를 넣으셨는데요.
배경으로 사용할 거라면,
<td valign="top" height=15 background="<?=$outlogin_skin_path?>/img/background-bottom.gif">
이렇게 하셔도 돼요
td 안에 img 소스를 사용해서 이미지를 넣으셨는데요.
배경으로 사용할 거라면,
<td valign="top" height=15 background="<?=$outlogin_skin_path?>/img/background-bottom.gif">
이렇게 하셔도 돼요