www.gusucode.com > 因特达Access数据库在线管理系统 > 因特达Access数据库在线管理系统\code\access\login_sub.asp
<style type="text/css"> <!-- .box2 { height: 28px; width: 170px; vertical-align: bottom; font-size: 24px; font-family: Arial, Helvetica, sans-serif; } #code { font-size: 24px; } --> </style> <script> function chekforme() { if (document.all.name.value=="") { alert('用户名 不能为空'); document.all.name.focus(); return false; } if (document.all.password.value=="") { alert('密码 不能为空'); document.all.password.focus(); return false; } } </script> <form action="ChkUser.asp" method="post" onSubmit="return chekforme()" name=form1> <TABLE cellSpacing=1 cellPadding=0 align=center border=0> <TBODY> <TR> <TD class=eyou> <table style="float:left"> <tr> <td width="50" height="30" align="right" nowrap="nowrap">用户名:</td> <td width="90"><input name="name" class="box2" id="name" size="12" maxlength="20" /></td> </tr> </table> <table style="float:left"> <tr> <td width="50" height="30" align="right" nowrap="nowrap">密 码:</td> <td width="90"><input name="password" id="password" type="password" class="box2" size="12" /></td> </tr></table> <table style="float:left"> <tr> <td width="50" align="right" nowrap="nowrap">验证码:</td> <td width="36" nowrap="nowrap"><input name=code id=code style="height:28;width:67" size="4"></td> <td width="54" ><img src=getcode.asp alt='验证码,看不清楚?请点击刷新验证码' border="1" style='cursor:pointer; vertical-align:middle;' onClick="this.src='getcode.asp?t='+Math.random()"/> </td> </tr> </table> <table cellpadding="0" cellspacing="0" style="float:left"> <tr> <td width="55" align="right" style="padding-top:3px"> </td> <td align="right" style="padding-top:3px"><input id=but_submit type="image" src="images/button_login.gif" alt="登陆" border="0" /></td> <td> </td> <td valign="bottom"><input name="open_type" type="checkbox" id="open_type" checked="checked" /></td> <td valign="bottom" nowrap="nowrap" style="padding-top:3px"> <label for="open_type">新窗口中打开</label> </td> </tr> </table></TD> </TR> </TBODY></TABLE> </form>