62,046
社区成员
发帖
与我相关
我的任务
分享
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>登陆</title>
<link href="Css/Style.css" type="text/css" rel="stylesheet"/>
<script type="text/javascript">
function closeMe()
{
window.opener = null;
close();
}
function clear()
{
document.getElementById("txtUID").setAttribute("value","");
}
</script>
</head>
<body style="margin:0; font-size:9pt; font-family:宋体; overflow:hidden; scrollbar-3dlight-color:lightslategray;scrollbar-base-color:#f7f7f7; scrollbar-darkshadow-color:#f7f7f7;" oncontextmenu="return false;" scroll="no">
<form id="form1" method="post" runat="server" >
<table style="height:764px; border:0;" align="center">
<tr>
<td valign="top" align="center">
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<table cellpadding="0" cellspacing="0" border="1" style="height:238px; width: 397px; border-color:silver;">
<tr>
<td colspan="2" style="height:35px;border-color:black;background-position: center center; background-attachment: fixed; background-image: url(Img/login.jpg); background-repeat: no-repeat;" >
</td>
</tr>
<tr style="height:180px">
<td style="background-image: url(Img/login_bg.jpg); background-position: center center; background-repeat: no-repeat;">
<table cellpadding="0" cellspacing="0">
<tr style="height:70" valign="bottom">
<td align="right" style="width: 134px">
<font size="9pt" style="font-size: 9pt; font-family: 宋体">用户名: </font>
</td>
<td align="left" style="width: 288px; height: 50px;">
<input id="txtUID" type="text" value="" runat="server" style=" border:solid 1px; width:150px; height: 18px;"/>
<asp:RequiredFieldValidator ID="validatorUserName" runat="server" ErrorMessage="请输入用户名" ControlToValidate="txtUID" Font-Names="宋体" Font-Size="9pt"></asp:RequiredFieldValidator></td>
</tr>
<tr style="height:70" valign="bottom">
<td align="right" style="width: 134px; height: 50px;">
<font size="9pt" style="font-size: 9pt; font-family: 宋体;">密 码: </font>
</td>
<td align="left" style="width: 288px; height: 50px;">
<input id="txtPWD" type="password" runat="server" style="width: 150px; border-right: 1px solid; border-top: 1px solid; border-left: 1px solid; border-bottom: 1px solid; height: 18px;"/>
<asp:RequiredFieldValidator ID="validatorPWD" runat="server" ControlToValidate="txtPWD"
ErrorMessage="请输入密码" Font-Names="宋体" Font-Size="9pt"></asp:RequiredFieldValidator></td>
</tr>
<tr style="height:90" valign="bottom">
<td style="width: 134px; height: 90px;" align="right"/>
<td style="width: 288px; height: 90px;" align="left">
<asp:ImageButton ID="btnLoginIn" runat="server" AlternateText="登陆" BorderWidth="1px" ForeColor="White" Height="25px" ImageUrl="Img/LoginIn.gif" Width="60px" BorderColor="Black" OnClick="btnLoginIn_Click" />
<a onclick="clear();"><img src="Img/loginOut.gif" alt="退出" border="1px" /></a>
<br />
<asp:Label ID="labMsg" runat="server" ForeColor="Red" Font-Names="宋体" Font-Size="9pt"></asp:Label>
<br />
<br />
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</body>
</html>