📄 kebaaaaa.a
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" %>
<!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 runat="server">
<title>权限管理系统登录页面</title>
<link href="css/login.css" rel="stylesheet" type="text/css" />
<meta content="MSHTML 6.00.2900.3429" name="GENERATOR"/>
<style type="text/css" >
.colorfocus {
border-right: #0099cc 1px double; padding-right: 1px; border-top: #0099cc 1px double; padding-left: 1px; PADDING-BOTTOM: 1px; border-left: #0099cc 1px double;padding-top: 1px; border-bottom: #0099cc 1px double; background-color: #ffff99
}
.colorblur {
border-right: #000000 1px double; border-top: #000000 1px double; border-left: #000000 1px double; border-bottom: #000000 1px double; background-color: #ffffff
}
</style>
<script language="javascript" type="text/javascript">
function checkForm(){
if( document.getElementById('txtUserName').value ==""|document.getElementById('txtUserName').value==false){
window.alert("用户名不能为空");
//window.open("vv","vb","bvb","bvbvbv");
//window.prompt("用户名不能为空",1);
document.getElementById('txtUserName').focus();
return false;
}
if( document.getElementById('pwdLoginPass').value == ""|document.getElementById('pwdLoginPass').value==false ){
window.alert("密码不能为空");
document.getElementById('pwdLoginPass').focus();
return false;
}
if( document.getElementById('txtValidate').value == ""|document.getElementById('txtValidate').value==false ){
window.alert("验证码不能为空");
document.getElementById('txtValidate').focus();
return false;
}
}
</script>
<script type="text/javascript" src="js/cookie.js"></script>
</head>
<body>
<div id="page" style="margin-left:auto; margin-right:auto; font-size:12px; width:960px;">
<form id="frmIndex" name="frmIndex" onsubmit="return checkForm()" action="" method="post" runat="server">
<table style="text-align:center; height: 100%" cellspacing="0" width="960px"cellpadding="0">
<tbody>
<tr align="center">
<td><table style="text-align:center" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td><img
style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px"
height="1" alt="dfd" src="images/spacer.gif" width="318" /></td>
<td><img
style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px"
height="1" alt="gh" src="images/spacer.gif" width="192" /></td>
<td><img
style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px"
height="1" alt="hg" src="images/spacer.gif" width="49" /></td>
<td><img
style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px"
height="1" alt="ghj" src="images/spacer.gif" width="1" /></td>
</tr>
<tr>
<td colspan="3"><img
style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px"
height="172" alt="bnm" src="images/plogin_r1-OA.jpg" width="559" /></td>
<td><img
style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px"
height="172" alt="hg" src="images/spacer.gif" width="1" /></td>
</tr>
<tr>
<td style="height: 151px"><img
style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px; height: 150px;" alt="m" src="images/login_r2_c1.jpg" width="318" /></td>
<td style=" background-color:white; height: 151px;"><table id="Table1" style="width: 190px; height: 58px; font-size:12px;" cellspacing="1"
cellpadding="1" border="0">
<tbody>
<tr>
<td align="right">登录名:</td>
<td align="left">
<asp:TextBox ID="txtUserName" onfocus="this.className='colorfocus';" onblur="this.className='colorblur';" CssClass="colorblur" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td align="right" style="height: 24px">
密 码:</td>
<td align="left" style="height: 24px">
<asp:TextBox ID="pwdLoginPass" TextMode="Password" onfocus="this.className='colorfocus';" onblur="this.className='colorblur';" CssClass="colorblur" runat="server"></asp:TextBox></td>
</tr>
<tr><td align="right" style="height: 16px">验证码:</td><td align="left" style="height: 16px"><asp:TextBox ID="txtValidate" onfocus="this.className='colorfocus';" onblur="this.className='colorblur';" CssClass="colorblur" runat="server" Width="26px"></asp:TextBox> <asp:Image
ID="ImgCheckCode" runat="server" ImageUrl="CheckCode/CreateCheckCode.aspx" /><a href ="login.aspx">看不清楚</a></td></tr>
<tr><td colspan="2">
<asp:CheckBox ID="saveCookie" runat="server" Text="记住密码" />
<a href="GetPassword.aspx">忘记密码</a> </td></tr>
<tr>
<td style="height: 22px" align="center" colspan="2">
<asp:Button ID="btnSub" onmouseover="this.className='btn2'" onmouseout="this.className='btn1'" CssClass="btn1" Text="确 定" OnClick="btnSub_Click" runat="server"/>
<input class="btn1" id="btnReset" onmouseover="this.className='btn2'" onmouseout="this.className='btn1'" type="reset" value=" 重 置 " name="reset" style="width: 48px" /></td>
</tr>
</tbody>
</table>
</td>
<td style="height: 151px"><img
style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px; height: 151px;" alt="bnm" src="images/login_r2_c3.jpg" width="49" /></td>
<td style="height: 151px"><img
style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px"
height="133" alt="bnm" src="images/spacer.gif" width="1" /></td>
</tr>
<tr>
<td colspan="3"><img
style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px"
height="53" alt="bn" src="images/login_r3_c1.jpg" width="559" /></td>
<td><img
style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px"
height="53" alt="bnjh" src="images/spacer.gif"
width="1" /></td>
</tr>
</tbody>
</table></td>
</tr>
</tbody>
</table>
</form>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -