login.asp
来自「top-cms内容管理系统」· ASP 代码 · 共 77 行
ASP
77 行
<%
'###########################################################################################
'* 程序名称: Top-CMS
'*---------------------------------------------------------------------------------------
'* 系统版本: 1.0 0215
'* 版权所有: www.Net-Develop.com
'* 程序设计: 江南行客
'* 联系方式:
'* OICQ:2503086
'* EMAIL:net-oa@sohu.com
'* 网站地址:
'* http://www.net-develop.com
'* http://www.top-cms.com
'*---------------------------------------------------------------------------------------
'* Copyright 2004 www.net-develop.com - All Rights Reserved.
'###########################################################################################
%>
<!--#include file="../common/common.asp" -->
<%if Initial<>1 then response.redirect "../common/initial.asp"%>
<html>
<head>
<title>:::WWW.NET-DEVELOP.COM:::</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../css/style.css">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p> </p>
<p> </p>
<%
If Request.ServerVariables("REQUEST_METHOD")="POST" Then
Set objCMS = Server.CreateObject("TopCMS.Logon")
SystemI_Init
objCMS.OpenDB()
objCMS.ChkLogon()
objCMS.CloseDB()
set objCMS=nothing
else
%>
<form name="form1" method="post" action="login.asp">
<table width="80" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#000000">
<tr>
<td bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="../Images/Default_Login.gif" width="375" height="77"></td>
</tr>
<tr>
<td height="135">
<table width="100%" border="0" cellspacing="3" cellpadding="0" align="center">
<tr>
<td width="123" align="right"><font color="#336699">用户名:</font></td>
<td width="243"> <input name="uUser" type="text" class="input" size="18" maxlength="50"> </td>
</tr>
<tr>
<td align="right"><font color="#336699">密 码:</font></td>
<td> <input name="uPassword" type="password" class="input" size="18" maxlength="50">
</td>
</tr>
<tr>
<td height="35" colspan="2" align="center"> <input name="S1" type="submit" value=" 登录 ">
<input type="button" name="S2" value=" 取消 " onclick="history.back();">
</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
</form>
<%
end if
%>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?