⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 login.asp

📁 在线考试系统的设计与实现
💻 ASP
字号:
<html>
<head>
<title>请您登录</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<Script language="VBScript">
Sub datacheck()
dim username
username=trim(logto.username.value)
If username = Empty Then
     MsgBox "「用户名」不得为空白!", 64, "Oh no!"
     logto.username.focus
     Exit Sub
End if
If logto.psw.value = Empty Then
     MsgBox "「密码」不得为空白!", 64, "Oh no!"
     logto.psw.focus
     Exit Sub
End if
logto.submit
end sub
</script>
<BODY vLink=#333333 aLink=#333333 link=#333333 bgColor=#ffffff leftMargin=0 
topMargin=0 background="images/background.gif">
<LINK href="forum.css" type=text/css 
rel=stylesheet>
<TABLE cellSpacing=0 cellPadding=1 width="95%" align=center bgColor=#0099cc border=0>
  <TBODY>
  <TR>
    <TD>
      <TABLE style="COLOR: #000000" cellSpacing=0 cellPadding=4 width="100%" 
      border=0>
        <TBODY>
        <TR bgColor=#99ccff>
          <td width="27%" height="2"><font color="#FF0000">&gt;&gt;</font>欢迎您!<b>
            <%if session("loginname")="" then %>
            请先登录!
            <%end if%>
            <%=session("loginname")%></b></td>
          <td height="2" width="62%"><img src="images/reg.gif" width="16" height="16" align="absmiddle"><a href="reg.asp">用户注册</a>|<img src="images/pmlogin.gif" width="16" height="16" align="absmiddle"><a href="login.asp">用户登录</a>|<img src="images/update.gif" width="16" height="16"><a href="usermodify.asp">修改资料</a>|<img src="images/message.gif" width="21" height="14">现在时间:<%=now()%></td>
    <td width="11%" height="2"><img src="images/home.gif" width="14" height="14" align="absmiddle">返回首页</td>
  </TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<!--#include file="loginbody.asp"-->
<form name="logto" method="post" action="login2.asp">
  <table width="70%" border="0" align="center" bgcolor="#0099cc" cellpadding="1" cellspacing="1">
    <tr bgcolor="#99ccff"> 
      <td colspan="2" height="21"> 
        <div align="center"><b> 登录入口</b></div>
      </td>
    </tr>
    <tr bgcolor="#e8f4ff"> 
      <td height="10"> 
        <div align="left"><img src="images/login.gif" width="16" height="16">用户名: 
          <input type="text" name="username" size="20" maxlength="20">
        </div>
      </td>
      <td height="10"><img src="images/icon_aim.gif" width="15" height="15">密码: 
        <input type="password" name="psw" size="20" maxlength="20">
      </td>
    </tr>
    <tr bgcolor="#e8f4ff"> 
      <td colspan="2" height="10"> 
        <div align="center"> 
          <input type="button" value="登录" onclick="datacheck">
        </div>
      </td>
    </tr>
  </table>
</form>
<hr width="95%" align="center" noshade size="1">
<!--#include file="footer.asp"-->
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -