<!--<?php 
print <<<EOT
-->
<table width='$tablewidth' cellspacing=0 cellpadding=0 align=center><tr><td align=left>
<img src='$imgpath/$stylepath/index/home.gif' align=absbottom> <b><a href='./$db_bfn'>$db_bbsname </a> {#msg_guide}</b></td></tr></table>
<br>
<table width='$tablewidth' cellspacing='1' cellpadding='3' $i_table align=center>
<tr class=head><td colspan=2 class=head>$db_bbsname {#msg_info}</td></tr>
<!--
EOT;
if(!$dejump && $groupid=='guest' && !strpos($REQUEST_URI,'register') && !strpos($REQUEST_URI,'login')){
$hideback=1;print <<<EOT
-->
<tr class=f_one>
<td><br>
{#msg_noright}
<ol>
<li>$msg_info
<li>{#msg_unlogin}
</ol>
<form action="login.php?" method="post" name="login">
<fieldset style="margin:0% 22% 0% 22%;">
<legend>{#header_login}</legend>
<table width="85%" cellpadding=5 cellspacing=1 align="center">
<tr class=f_one>
	<td width=30%>{#username}</td><td> <input type=text size="40" tabindex="1" name='pwuser'></td>
</tr>
<tr class=f_one>
	<td>{#password}</td><td> <input type='password' size="40" tabindex="2" name='pwpwd'></td>
</tr>
<!--
EOT;
list(,$logingd)=explode("\t",$db_gdcheck);
if($logingd){
$rawwindid=addslashes($windid);
print <<<EOT
-->
<tr class=f_one>
	<td>{#gd_check}</td>
	<td>
		<input type='text' maxLength=4 name='gdcode' size=8  tabindex="3">&nbsp;
		<img src="ck.php?windid=$rawwindid" align=absmiddle>
	</td>
</tr>
<!--
EOT;
}print <<<EOT
-->
<tr><td>{#login_hide}</td>
	<td>
		<input name=hideid type=radio value='1'>          {#_yes} &nbsp
		<input name=hideid type=radio value='0' checked tabindex="4">  {#_no} &nbsp 
	</td>
</tr>
</table>
</fieldset><br>
<center><input type=submit value="{#pw_login}" tabindex="4" ></center>
<input type='hidden' name='jumpurl' value='$REQUEST_URI'>
<input type='hidden' name='step' value=2>
<input type='hidden' name='cktime' value='31536000'></form><br><br>
<script language="JavaScript">
document.login.pwuser.focus();
</script>
<!--
EOT;
}else{
$hideback=0;
print <<<EOT
-->
<tr class=f_one>
<td>
<center><br><br><br>$msg_info<br>
{$ifjiami}{$printmsgpwd}
<br>
</center> <br><br>
</td></tr>
<!--
EOT;
}print <<<EOT
-->
</table><br><br>
<!--
EOT;
if(!$hideback){print <<<EOT
-->
<center><input type='submit' value='{#msg_back}' onclick='javascript:history.go(-1);'></center>
<br><br>
<!--
EOT;
}footer();
?>
-->