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

📄 login.asp

📁 OFFICE办公自动化
💻 ASP
字号:
<html>
<head><!--#include file="../inc/Secure.asp"-->
<!--#include file="../inc/conn.asp"-->
<!--#include file="../inc/const.asp"-->
<%
strID=request("strID")
strSQL="select * from tbioaUser where ID="& strID
set rs=Server.CreateObject("ADODB.RecordSet")
rs.open strSQL,oConn
%>
<title>欢迎使用bicq</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language="javascript">
function check(){
if(form1.username.value==""){
alert("用户名不能为空!");
return false;
}
else if(form1.password.value==""){
alert("密码不能为空!");
return false;
}
else {
return true;
}
}
</script>
<style type="text/css">
<!--
td {  font-size: 9pt}
-->
</style>
<SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
<!--
function window_onresize() {
	window.resizeTo(260,180)
}


function window_onload() {
w=screen.width /2 -130
h=screen.height /2 -90
window.moveTo (w,h)
window.resizeTo(260,180)

form1.username.focus ()
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function MM_callJS(jsStr) { //v2.0
  return eval(jsStr)
}
function window_onblur() {
//window.focus ()
}

//-->
</SCRIPT>
<script language="javascript">
<!--
function document_onkeydown() {
if(event.ctrlKey && window.event.keyCode==78)
  {
  
     window.alert ("欢迎使用B-ICQ")

  }
}

//-->
</SCRIPT>
<SCRIPT LANGUAGE=javascript FOR=document EVENT=onkeydown>
<!--
 document_onkeydown()
//-->
</SCRIPT>
</head>

<body  oncontextmenu=self.event.returnValue=false bgcolor=menu text="#000000" leftmargin="0" topmargin="0" onload="document.form1.submit()" LANGUAGE=javascript onresize="return window_onresize()" onload="return window_onload()" onblur="return window_onblur()">
<table width="250" border="0" cellspacing="0" cellpadding="0" align="center" height="150">
  <tr> 
    <td rowspan="2" align="center">登 陆<br>----
     </td>
    <td> </td>
    <td> </td>
  </tr>
  <form name="form1" method="post" action="chklogin.asp" onsubmit="return check()">
    <tr> 
      <td>用户号码:</td>
      <td> 
        <input type="text" name="username" style="width:110" value="<%=rs("Name")%>" size="1">
      </td>
    </tr>
    <tr> 
      <td width="50"> </td>
      <td> 用户口令:</td>
      <td> 
        <input type="password" name="password" style="width:110" value="111111" size="1">
      </td>
    </tr>
    <tr align="center"> 
      <td colspan="3"> 
        <table width="98%" border="0" cellspacing="0" cellpadding="2" align="center">
          <tr> 
            <td align="center" style="border-bottom:1px solid #808080"> 
              <input type="checkbox" disabled name="checkbox" value="checkbox">
              记住密码 
              <input type="checkbox" disabled name="checkbox2" value="checkbox">
              隐身登陆 </td>
          </tr>
          <tr> 
            <td align="center" style="border-top:1px solid #ffffff;border-bottom:1px solid #808080"><b> 
              <input type="submit" name="login" value="确定" style="width:60">
              <input type="button" name="reset2" value="取消" style="width:60" onClick="MM_callJS('window.close()')">
              <input type="button" name="Button" value="注册向导" style="width:60" onClick="self.location='register.asp'">
              </b></td>
          </tr>
          <tr> 
            <td align="right" style="border-top:1px solid #ffffff"> 
              <div align="center"><b> </b></div>
              </td>
          </tr>
        </table>
      </td>
    </tr>
  </form>
</table>
</body>
</html>

⌨️ 快捷键说明

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