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

📄 login.asp

📁 物流管理系统,可以用于中小企业,建立自己的内部物流管理.
💻 ASP
字号:
<%@ codepage ="936" %><%
'┌─  风云ASP在线  ────────────────────────┐
'│                                                                 │
'│  作者:赵振波.	http://www.fyasp.com	    				    │
'│                                                                 │
'│   Q Q:176189168  										   	    │
'│                                                                 │
'│ Email:fy96@163.com                                             │
'│                                                                 │
'│ 程序定做,系统开发,网站制作,提供高质量的网络产品、技术和服务!│
'│                                                                 │
'│【版权声明】                                                     │
'│                                                                 │
'│     本程序版权归坐看风云所有,未经授权擅自复制或散布本程序的部分│
'│                                                                 │
'│ 或全部,将承受严厉的民事和刑事处罚,对已知的违反者将给予法律范围│
'│                                                                 │
'│ 内的全面制裁。对非法使用此程序所造成的一切后果本人概不负责!    │
'│                                                                 │
'└───────────────────  http://www.fyasp.com ──┘
%>
<!--#include file="../inc/config.asp"-->
<!--#include file="../conn/dbconn1.asp" -->
<LINK href="style.css" rel=stylesheet type=text/css><html>
<%
'-------------定义随机码
dim rndnum,verifycode
Randomize
Do While Len(rndnum)<4
num1=CStr(Chr((57-48)*rnd+48))
rndnum=rndnum&num1
loop
session("verifycode")=rndnum
'-------------定义随机码结束
%>
<HTML><HEAD><TITLE><%=WebName%>[后台管理]</TITLE>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<script language="javascript">
function show_sader(mylink)
{
window.open(mylink,'','top=140,left=135,width=480,height=280,scrollbars=no')
}
</script>
<SCRIPT language=JavaScript>
<!--
function recheck()
{ 
if (document.loginForm.userid.value =="")
{
alert("请填写您的用户名!");
document.loginForm.userid.focus();
return false;
}
var filter=/^\s*[.A-Za-z0-9_-]{5,15}\s*$/;
if (!filter.test(document.loginForm.userid.value)) { 
alert("用户名填写不正确,请重新填写!可使用的字符为(A-Z a-z 0-9 _ - .)长度不小于5个字符,不超过15个字符,注意不要使用空格。"); 
document.loginForm.userid.focus();
document.loginForm.userid.select();
return false; 
} 
if (document.loginForm.password.value =="") 
{
alert("请填写您的密码!");
document.loginForm.password.focus();
return false; 
}
var filter=/^\s*[.A-Za-z0-9_-]{5,20}\s*$/;
if (!filter.test(document.loginForm.password.value)) { 
alert("密码填写不正确,请重新填写!可使用的字符为(A-Z a-z 0-9 _ - .)长度不小于5个字符,不超过20个字符,注意不要使用空格。"); 
document.loginForm.password.focus();
document.loginForm.password.select();
return false; 
} 

if (loginForm.verifycode.value=="")
{
alert("请输入验证码!");
loginForm.verifycode.focus();
return false;
}
if (document.loginForm.verifycode.value!=document.loginForm.verifycode2.value ){
alert("输入的验证码不正确,请看清后填写!"); 
document.loginForm.verifycode.focus();
return false; 
} 
loginForm.submit();
return true;
}
//-->
</SCRIPT>

<head>
<title>网站资源管理系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<%if session("flag_fyadmin")="" and session("username_fyadmin")="" then%>
<BODY bgColor=#f6f6f6 leftMargin=0 topMargin=0 marginwidth="0" marginheight="0">
<TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%" border=0>
  <TBODY>
    <TR> 
      <TD align=middle> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
          <TBODY>
            <TR> 
              <TD height=1></TD>
            </TR>
            <TR> 
              <TD align=middle>
				<IMG height=247 src="Images/login_image3.gif" 
            width=525 border=0></TD>
            </TR>
            <TR> 
              <TD height=55> </TD>
            </TR>
            <TR> 
              <TD background=../Images/Login_topSpace.gif height=10><SPAN 
            style="FONT-SIZE: 1pt">&nbsp;</SPAN></TD>
            </TR>
            <TR> 
              <TD align=middle bgColor=white><FORM action=login_check.asp method=POST name=loginForm onsubmit="return recheck()" target="_top">
                  <TABLE cellSpacing=0 cellPadding=0 width=706 align=center 
              border=0>
                    <TBODY>
                      <TR> 
                        <TD width=355 rowSpan=4> </TD>
                        <TD width=86 align="center" vAlign=center> 管理账号:</TD>
                        <TD width=265>
						<INPUT 
                  style="BORDER-RIGHT: rgb(182,182,182) 1px solid; BORDER-TOP: rgb(182,182,182) 1px solid; FONT-WEIGHT: normal; FONT-SIZE: 12px; BORDER-LEFT: rgb(182,182,182) 1px solid; BORDER-BOTTOM: rgb(182,182,182) 1px solid; FONT-FAMILY: 奔覆" name=userid size="20"> </TD>
                      </TR>
                      <TR> 
                        <TD align="center" vAlign=center> 授权密码:</TD>
                        <TD><INPUT 
                  style="BORDER-RIGHT: rgb(182,182,182) 1px solid; BORDER-TOP: rgb(182,182,182) 1px solid; FONT-WEIGHT: lighter; FONT-SIZE: 12px; BORDER-LEFT: rgb(182,182,182) 1px solid; BORDER-BOTTOM: rgb(182,182,182) 1px solid; FONT-FAMILY: 奔覆" 
                  type=password name=password> 
						</TD>
                      </TR>
                      <TR> 
                        <TD align="center" vAlign=center>验 证 码:</TD>
                        <TD>
						<INPUT 
                  style="BORDER-RIGHT: rgb(182,182,182) 1px solid; BORDER-TOP: rgb(182,182,182) 1px solid; FONT-WEIGHT: normal; FONT-SIZE: 12px; BORDER-LEFT: rgb(182,182,182) 1px solid; BORDER-BOTTOM: rgb(182,182,182) 1px solid; FONT-FAMILY: 奔覆" name=verifycode size="9"><b><font color=#ff0000><%=session("verifycode")%>
                            <input type="hidden" name="verifycode2" value="<%=session("verifycode")%>">
                            </font></b> 
						<INPUT name="submit" type=submit value="登录" ></TD>
                      </TR>
                      <TR> 
                        <TD> </TD>
                        <TD>&nbsp;&nbsp; </TD>
                      </TR>
                    </TBODY>
                  </TABLE>
                </FORM></TD>
            </TR>
            <TR> 
              <TD background=../Images/Login_bottomSpace.gif height=10><SPAN 
            style="FONT-SIZE: 1pt">&nbsp;</SPAN></TD>
            </TR>
            <TR> 
              <TD height="12" align="center" valign="bottom"> Copyright &copy 
                2005-2010 <a href=http://www.fyasp.com target="_blank"><font face=Verdana, arial, helvetica, sans-serif size=1><b> 
                <font color="#800000">www.FyAsp</font><font color=#428EFF>.Com</font></b></font></a> 
                All Rights Reserved .</TD>
            </TR>
          </TBODY>
        </TABLE></TD>
    </TR>
  </TBODY>
</TABLE>
</body>
</html><%
else
set rs=Server.CreateObject("ADODB.recordset")
sql="select * from company where userid='"&session("userid")&"'" 
rs.Open sql,conn,1,1

sql1="select count(id) from qyml where uflag=0"
set totle=conn.execute(sql1)
totle=totle(0)

sql1="select count(id) from qyml where uflag=1"
set totle1=conn.execute(sql1)
totle1=totle1(0)

sql1="select count(info_id) from info where flag=0"
set news=conn.execute(sql1)
news=news(0)

sql1="select count(info_id) from info where flag=1"
set olds=conn.execute(sql1)
olds=olds(0)


sql1="select count(id) from spzs where flag=0"
set o_news=conn.execute(sql1)
o_news=o_news(0)

sql1="select count(id) from spzs where flag=1"
set o_olds=conn.execute(sql1)
o_olds=o_olds(0)

sql1="select count(id) from qyml where cflag=0"
set n_olds=conn.execute(sql1)
n_olds=n_olds(0)

sql1="select count(id) from qyml where cflag=1"
set n_news=conn.execute(sql1)
n_news=n_news(0)
%>
<div align="center">
<center>
<table width="600" border="0" cellspacing="5" cellpadding="5" style="border-collapse: collapse" ><tr> 
<td width="619" height="48">
<p align="center"><a href="#" onclick="{if(confirm('免费版无此功能!')){return false;}return false;}">查看安全日志</a></td>
</tr>
<tr>
<td width="624" height="150">
<div align="center">
<center>
<table width="90%" border="1" cellpadding="4" style="border-collapse: collapse" bordercolor="#C0C0C0">
<tr>
<td> <b>
<span style="font-weight: 400"><font face=arial color="#FF0000">
<%=session("username_fyadmin")%></font></span></b>,您最后一次登录时间是在 
<font color="#000080"><%=session("LastLogin")%></font></td>
</tr>
<tr> 
<td> 目前注册会员 <font color="#000080"> <%=totle+totle1%></font> 其中已审核会员<font color=#ff0000><%=totle1%></font>名,等审核会员<u><b><font color=#ff0000><%=totle%></font></b></u>名</td>
</tr>
<tr> 
<td>目前共有<font color=#ff0000> <%=news+olds%> </font>条供求信息,其中已审核<font color=#ff0000> <%=olds%> </font>条,未审核<font color=#ff0000> <%=news%> </font>条。</td>
</tr>
<tr> 
<td>目前您共发布了<font color=#ff0000> <%=n_totle%> </font>条行业新闻信息。</td>
</tr>
<tr> 
<td>目前产品展厅共有<font color=#ff0000> <%=o_news+o_olds%> </font>种产品,其中已审核<font color=#ff0000> <%=o_olds%> </font>条,未审核<font color=#ff0000> <%=o_news%> </font>条。</td>
</tr>
<tr> 
<td>目前公司名录中共有<font color=#ff0000> <%=n_news+n_olds%> </font>个公司,其中已审核<font color=#ff0000> <%=n_news%> </font>条,未审核<font color=#ff0000> <%=n_olds%> </font>条。</td>
</tr>
</table> 
</center>
</div>
</td>
</tr>
</table>
</center>
</div>
<div align="center">
<center>
<table border="0" style="border-collapse: collapse" bordercolor="#111111" width="437" id="AutoNumber2" height="36">
<tr>
        <td width="435" height="34" valign="bottom"> <p align="right"><font color="#808080"><%=WebName%></font> 
            <br>
          
        </td>
</tr>
</table>
</center>
</div>
<%
rs.close
set rs=nothing
conn.close
set conn=nothing
end if
%>

⌨️ 快捷键说明

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