www.gusucode.com > 中网景企业网站源码时尚版 2009.73码程序 > admin/index.asp
<!--#include file="opendb.asp" --> <% Response.Buffer = True Response.Expires = -1 Response.ExpiresAbsolute = Now() - 1 Response.Expires = 0 Response.CacheControl = "no-cache" 'Call CheckUserLogin(username) Dim ranNum randomize ranNum=int(90000*rnd) session("checkcode")=ranNum %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <meta name="Author" content="CNKBBS Powered by websys.cn - Leung" /> <style type="text/css"> <!-- html,body { height: 100%; margin: 0px; padding: 0px; } #login { background-image: url(images/admin_login_bg.jpg); text-align: center; height: 155px; } td { text-align: left; } --> </style> <link href="admin.css" rel="stylesheet" type="text/css" /> <script> <!-- function CheckBrowser() { var app=navigator.appName; var verStr=navigator.appVersion; if (app.indexOf('Netscape') != -1) { alert("中网景友情提示:\n 你使用的非IE浏览器,可能会导致无法使用后台的部分功能。建议您使用IE或IE内核浏览器。"); } else if (app.indexOf('Microsoft') != -1) { if (verStr.indexOf("MSIE 3.0")!=-1 || verStr.indexOf("MSIE 4.0") != -1 || verStr.indexOf("MSIE 5.0") != -1 || verStr.indexOf("MSIE 5.1") != -1) alert("中网景友情提示:\n 您的浏览器版本太低,可能会导致无法使用后台的部分功能。建议您使用 IE6.0 或以上版本。"); } } CheckBrowser(); //--> </script> </head> <body> <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td><div id="login"> <table width="500" border="0" cellpadding="0" cellspacing="0"> <tr> <td><img src="images/admin_login_01.jpg" width="500" height="96" /></td> </tr> </table> <table width="500" border="0" cellpadding="0" cellspacing="0"> <form id="form1" name="form1" method="post" action="access.asp"> <tr> <td width="55" valign="top"><img src="images/admin_login_02.jpg" width="55" height="59" /></td> <td width="376" background="images/admin_login_03.jpg"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="30%">用户:</td> <td width="30%">密码:</td> <td width="40%">验证码:</td> </tr> <tr> <td><input name="AdminName" type="text" class="input" id="AdminName" onfocus="this.select()" onmouseover="this.focus()" size="16" maxlength="20" /></td> <td><input name="AdminPassword" type="password" class="input" id="AdminPassword" onfocus="this.select()" onmouseover="this.focus()" size="16" maxlength="20" /></td> <td><input name="checkcode" type="text" class="input" id="checkcode" size="10" maxlength="5" /> <%= ranNum %></td> </tr> </table> </td> <td width="49"><input type="image" name="imageField" src="images/admin_login_04.jpg" /></td> <td width="20" valign="top"><img src="images/admin_login_05.jpg" width="20" height="59" /></td> </tr> </form> </table> </div></td> </tr> </table> </body> </html>