?? login.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 + -