ASP.NET----租车登录界面
目前为加快客户浏览速度,直接通过页面整合脚本的开发较为流行,此项目初始也是如此:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta name="keywords" content="租车,客车租赁,接送机,旅游" />
<meta name="description" content="为客户提供准时,快捷的租车服务" />
<title>用户登陆</title>
<script src="source/js/jquery-1.4.2.min.js" type="text/javascript"></script>
<link href="source/css/main1.css" rel="stylesheet" type="text/css" />
<link href="CoreValidator/CORE.TagValitator.css" rel="stylesheet" type="text/css" />
<script src="CoreValidator/CORE.TagValitator.js" type="text/javascript"></script>
</head>
<body>
<!--#include file="contentparts/head4.aspx"-->
<div id="bannerpic"><img src="Source/Img/bannerpic.gif" /></div>
<div id="path">
<div id="path_mark"></div>
<div id="path_text">
<a href="index.aspx">东方巴士租赁</a> --
<a href="console_userinfo.aspx">用户管理</a> --
<a href="login.aspx">登录</a>
</div>
</div>
<div style="position:relative; width:988px; height:310px; text-align:center; margin:2px auto 10px auto; border:1px solid #c5ddf6;">
<span style=" font-family:宋体; font-size:16px;font-weight:bold; color:#188718; line-height:80px;">填写登录信息</span>
<table cellpadding="0" cellspacing="0" style=" padding:0px 0px; width:37%; border:1px solid #e6e6e6;margin:auto; border-left-width:0px; border-right-width:0px;">
<tr><td style=" height:10px;background-color:#188718;"></td><td style=" height:10px;width:10px;background-color:#51a601;"></td><td style=" height:10px;background-color:#51a601;"></td></tr>
<tr>
<td style=" width:30%; text-align:right;background-color:#f7f7f7;"><span style=" font-family:宋体; font-size:14px; color:#000; line-height:45px;">用户名:</span></td>
<td style="width:10px;background-color:#f7f7f7;"></td>
<td style=" text-align:left;background-color:#f7f7f7;"><input type="text" style=" width:120px;height:20px;" id="username"/></td>
</tr>
<tr><td style=" height:1px;background-color:#fff;"></td><td tyle=" height:1px;width:10px;background-color:#000;></td><td tyle=" height:1px;background-color:#000;></td></tr>
<tr>
<td style=" width:30%; text-align:right;background-color:#f7f7f7;"><span style=" font-family:宋体; font-size:14px; color:#000;line-height:45px;">密码:</span></td>
<td style="width:10px;background-color:#f7f7f7;"></td>
<td style=" text-align:left;background-color:#f7f7f7;"><input type="password" style=" width:120px;height:20px;" id="password"/><a style="font-size:12px;color:#f00;text-decoration:underline;line-height:12px;" href="getpassword.aspx">忘记密码</a></td>
</tr>
<tr>
<td style=" background-color:#f7f7f7;"></td>
<td style=" background-color:#f7f7f7;"></td>
<td style=" text-align: center;background-color:#f7f7f7;display:none" ><a href="getpassword.aspx" style="font-size:12px;color:#f00;text-decoration:underline;line-height:12px;"> 忘记密码?</a></td>
</tr>
<tr><td style=" height:10px;background-color:#188718;"></td><td style=" height:10px;background-color:#51a601;"></td><td style=" height:10px;background-color:#51a601;"></td></tr>
</table>
<div style="position:relative; margin:10px auto; top: 0px; left: 0px;">
<%-- <table cellpadding="0" style=" padding:0px 0px; width:30%;margin:auto;">
<tr>
<td><span style=" font-family:宋体; font-size:12px; line-height:30px;"><a class="red" style=" color:Blue;" href="registor.aspx">用户注册</a></span></td>
<td style="width:200px">
<input type="button" class="button1" value="登录" id="login_log" />
</td>
</tr>
</table>--%>
<table cellpadding="0" style=" padding:0px 0px; width:30%;margin:auto;">
<tr>
<td><span style=" font-family:宋体; font-size:12px; line-height:30px;"><a class="red" style=" color:#188718;" href="registor.aspx">用户注册</a></span></td>
<td> <input id="loginsubmit" type="button" value="" style=" background-image:url('Source/Img/buttonbg_3.gif');border:none; width:84px; height:26px; color:#fff; line-height:30px; cursor:pointer;" /></td>
</tr>
</table>
</div>
</div>
<input type="hidden" id="operator" value="login" />
<span validator="validator" vSubmit="loginsubmit" vSubmitPath="common/ClientUserOperator.aspx" vSubmitFunction="" vSubmitCallbackFunction="userlogincallback">
<span vTarget="username" vTargetValue="value" vType="required" vParameter1="^[@\.0-9a-zA-Z\u4e00-\u9fa5]{2,18}$" vParameterTip1="用户名为2到18位"></span>
<span vTarget="password" vTargetValue="value" vType="required" vParameter1="^[0-9a-zA-z]{4,24}$" vParameterTip1="密码为6到20个数字或字母"></span>
<span vTarget="operator" vTargetValue="value" vType="none"></span>
<script type="text/javascript">
function userlogincallback(result)
{
if(result == "Succeed")
{
window.location = "x_RentalProcessOk.aspx";
}
else
{
alert("用户名或密码错误");
}
}
$(document).ready(function(){
registorValidator();
})
</script>
</span>
<!--#include file="contentparts/foot.aspx"-->
</body>
</html>
广积粮,筑高墙,缓称王
浙公网安备 33010602011771号