建筑流程
<!--#include file="lib/system.asp"--><!--#include file="lib/md5.asp"--><%if request("t") = "logout" thensession("us_group") = ""session("us_id") = ""session("us_name") = ""session("us_password") = ""alifun.jsalert "my","成功退出系统。|index1.asp"end ifif request("state") = "LOGIN" thenCall ConnectionDatabase()dim rs,sql,username,passwordusername = alifun.chksql(trim(request("username")))password = alifun.chksql(trim(request("password")))if username = "" or password = "" thenalifun.jsalert "my","用户名或密码不允许空,请输入完整的登陆帐号信息。|index1.asp"end ifset rs = server.createobject("adodb.recordset")sql ="select us_id,us_name,us_password,us_group,us_xclist,us_loginip,us_logindate,isok,us_powercode,isonline from us_table where us_name = '"&username&"' and us_password='"&md5(password)&"'"rs.open sql,conn,1,3if not rs.eof thenif rs("isok") = 0 thenalifun.jsalert "my","您的帐号未通过审核,无法登陆!\n如需帮助请联系系统管理员。|index1.asp"end ifsession("us_group") = rs("us_group")session("us_id") = rs("us_id")session("us_name") = rs("us_name")session("us_password") = rs("us_password")session("us_powercode") = rs("us_powercode")session("us_xclist") = rs("us_xclist")rs("us_loginip") = alifun.userip()rs("us_logindate") = now()rs("isonline")=1rs.updateresponse.redirect("welcome.asp")elsealifun.jsalert "my","您的用户名或密码错误,请重新输入。|index1.asp"end ifend if%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD><TITLE>四海建筑信息管理平台</TITLE><META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK href="images/Styles.css" type=text/css rel=stylesheet><SCRIPT language=JavaScript><!--if (navigator.appName.indexOf("Internet Explorer") != -1) document.onmousedown = noSourceExplorerfunction noSourceExplorer(){if (event.button == 2 | event.button == 3){alert(src="警告:请勿非法操作!")}}function chkform(f){var hWndif(f.username.value=='') {alert('请输入用户名!');f.username.focus();return false;}else if(f.password.value==''){alert('请输入密码!');f.password.focus();return false;}else {f.submit();}}//--></SCRIPT><META content="MSHTML 6.00.3790.2817" name=GENERATOR><STYLE type=text/css>.loginEntries {FONT-SIZE: 8pt; WIDTH: 200px; COLOR: #000000; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif}.loginTreeEntry {FONT-SIZE: 8pt; WIDTH: 200px; COLOR: #000000; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #a7a7a7}.appsettingsEntries {FONT-SIZE: 8pt; COLOR: #000000; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif}.xxsNorm {FONT-SIZE: xx-small; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif}.xxsItalic {FONT-SIZE: xx-small; FONT-STYLE: italic; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif}.xxsBold {FONT-WEIGHT: bold; FONT-SIZE: 9pt; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif}.xxsBoldm {FONT-SIZE: 9pt; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif}.xxsInput {FONT-SIZE: 12pt; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif}.xsNorm {FONT-SIZE: x-small; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif}.xsRedItalic {FONT-SIZE: x-small; COLOR: red; FONT-STYLE: italic; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif}.xsRed {FONT-SIZE: x-small; COLOR: red; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif}.xsBold {FONT-WEIGHT: bold; FONT-SIZE: x-small; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif}.sBold {FONT-WEIGHT: bold; FONT-SIZE: small; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif}.sBoldWhite {FONT-WEIGHT: bold; FONT-SIZE: small; COLOR: #ffffff; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif}.mBold {FONT-WEIGHT: bold; FONT-SIZE: medium; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif}.title {FONT-WEIGHT: bold; FONT-SIZE: 13pt; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif}A.appLinks {FONT-SIZE: 10pt; COLOR: #000000; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; TEXT-DECORATION: none}A.appLinks:hover {COLOR: #cccccc}A.appLinksSmall {FONT-SIZE: 9pt; COLOR: #ffffcc; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; TEXT-DECORATION: none}A.appLinksSmall:hover {COLOR: #cccccc}A.appLinksOff {FONT-SIZE: 9pt; COLOR: #efefef; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; TEXT-DECORATION: none}A.appLinksOff:hover {TEXT-DECORATION: line-through}.typeInfo {BORDER-RIGHT: black 0px groove; BORDER-TOP: black 0px groove; PADDING-LEFT: 15px; FONT-SIZE: 10px; BORDER-LEFT: black 0px groove; COLOR: #003399; BORDER-BOTTOM: #999999 0px groove; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #ffffff}</STYLE></HEAD><BODY text=#000000 vLink=#ff9900 aLink=#ff9900 link=#ff9900 bgColor=#193073 background="images/Pilot_Welcome_15.gif"><FORM name=NFuseForm action=index1.asp method=post autocomplete="off"> <INPUT type=hidden value=LOGIN name=state> <INPUT type=hidden value=Explicit name=LoginType> <DIV align=center> <TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%" border=0> <TBODY> <TR> <TD><TABLE cellSpacing=0 cellPadding=0 width=770 align=center border=0> <TBODY> <TR> <TD><IMG height=5 src="images/Pilot_left_top.gif" width=5></TD> <TD background="images/Pilot_conter_top.gif"><IMG height=5 src="images/Pilot_conter_top.gif" width=5></TD> <TD><IMG height=5 src="images/Pilot_right_top.gif" width=5></TD> </TR> <TR> <TD background="images/Pilot_left.gif"></TD> <TD><TABLE id=___01 height=350 cellSpacing=0 cellPadding=0 width=760 bgColor=#000000 border=0> <TBODY> <TR> <TD colSpan=2><IMG height=70 alt="" src="images/Pilot_Welcome_01.gif" width=550></TD> <TD><A href="#"><IMG height=70 alt="" src="images/Pilot_Welcome_02.gif" width=210 border=0></A></TD> </TR> <TR> <TD colSpan=2><IMG height=56 alt="" src="images/Pilot_Welcome_03.gif" width=550></TD> <TD rowSpan=3><IMG height=282 alt="" src="images/Pilot_Welcome_04.gif" width=210></TD> </TR> <TR> <TD width=283 background="images/Pilot_Welcome_05_bg.gif"><IMG height=137 alt="" src="images/Pilot_Welcome_05.gif" width=283> </TD> <TD width=267 background="images/Pilot_Welcome_06.gif" height=137><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0><TBODY> <TR vAlign=top> <TD width="43%" height=35><DIV align=right><SPAN class=xxsinput><FONT color=#333333>用户名:</FONT></SPAN></DIV></TD> <TD width="57%"><DIV align=center> <INPUT class=typeInfo id=textUser12 style="BORDER-RIGHT: #003399 1px solid; PADDING-RIGHT: 4px; BORDER-TOP: #003399 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 12px; PADDING-BOTTOM: 1px; BORDER-LEFT: #003399 1px solid; WIDTH: 100px; COLOR: black; PADDING-TOP: 1px; BORDER-BOTTOM: #003399 1px solid; FONT-FAMILY: sans-serif, geneva, helvetica, arial; BACKGROUND-COLOR: white;" value="" name="username" colspan="2" onKeyDown="if(event.keyCode=='13') chkform(NFuseForm);"> </DIV></TD> </TR> <TR vAlign=top> <TD height=35><DIV align=right><SPAN class=xxsinput><FONT color=#333333>密 码:</FONT></SPAN></DIV></TD> <TD><DIV align=center> <INPUT class=typeInfo style="BORDER-RIGHT: #003399 1px solid; PADDING-RIGHT: 4px; BORDER-TOP: #003399 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 12px; PADDING-BOTTOM: 1px; BORDER-LEFT: #003399 1px solid; WIDTH: 100px; COLOR: black; PADDING-TOP: 1px; BORDER-BOTTOM: #003399 1px solid; FONT-FAMILY: sans-serif, geneva, helvetica, arial; BACKGROUND-COLOR: white; td: " type="password" value="" name="password" colspan="2" onKeyDown="if(event.keyCode=='13') chkform(NFuseForm);"> </DIV></TD> </TR> <TR vAlign=top> <TD height=35><DIV align=right><SPAN class=xxsinput><FONT color=#333333></FONT></SPAN></DIV></TD> <TD><P align=center> </P></TD> </TR> <TR vAlign=top> <TD colSpan=2><DIV align=center></DIV></TD> </TR></TBODY> </TABLE></TD> </TR> <TR> <TD colSpan=2 height=87><img style="cursor:hand;" onMouseOver="src='images/Pilot_Welcome_08_B.gif'" onMouseOut="src='images/Pilot_Welcome_08.gif'" height=87 alt="点击登陆" width=550 src="images/Pilot_Welcome_08.gif" border=0 onClick="chkform(NFuseForm);"></TD> </TR> </TBODY> </TABLE></TD> <TD background="images/Pilot_right.gif"></TD> </TR> <TR> <TD><IMG height=5 src="images/Pilot_left_bottom.gif" width=5></TD> <TD background="images/Pilot_conter.gif"><IMG height=5 src="images/Pilot_conter.gif" width=5></TD> <TD><IMG height=5 src="images/Pilot_right_bottom.gif" width=5></TD> </TR> </TBODY> </TABLE> <TABLE height=44 cellSpacing=0 width=760 align=center border=0> <TBODY> <TR> <TD class=style18 width=550 height=44><FONT color=#999999 size=-1>©</FONT> <SPAN class=xxsBoldm><FONT color=#999999>2006-2007 年@Net SYSTEM版权所有,保留所有权利。</FONT></SPAN><BR> <SPAN class=xxsBoldm><FONT color=#999999>Copyright © 2000-2005 @Net SYSTEM.All Rights Reserved.</FONT></SPAN></TD> <TD width=206><DIV align=center><SPAN class=style26><FONT color=#ff0000 size=2>| </FONT><A class=style11 style="TEXT-DECORATION: none" href="#"><SPAN class=xxsBoldm><FONT color=#ffffff>使用帮助</FONT></SPAN></A></SPAN> <FONT size=2><SPAN class=style26><FONT color=#ff0000>| </FONT><A class=style11 style="TEXT-DECORATION: none" href="javascript:window.close()"><SPAN class=xxsBoldm><FONT color=#ffffff>关闭窗口</FONT></SPAN></A></SPAN> <SPAN class=style26><FONT color=#ff0000>| </FONT></SPAN></FONT></DIV></TD> </TR> </TBODY> </TABLE></TD> </TR> </TBODY> </TABLE> </DIV></FORM></BODY></HTML>
评论