<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="MicroERP.Login" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link href="css/Login.css" type="text/css" rel="stylesheet" />
    <title>MicroERP远程查询系统登录</title>
</head>
<body background="Image/Login_bg.jpg">
    <form id="form1" runat="server">
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td height="80" align="center" style="font-size: x-large; font-family: 微软雅黑; font-weight: bold; color: #EBEBEB;">
						MicroERP&nbsp;&nbsp;远程查询系统</td>
				</tr>
				<tr>
					<td>
						<table border="0" cellpadding="0" cellspacing="0" class="LoginBox" align="center">
							<tr>
								<td valign="top">
									<table width="680" border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td width="285" height="240">
												&nbsp;</td>
											<td>&nbsp;</td>
										</tr>
										<tr>
											<td>
												&nbsp;</td>
											<td>
												<table id="tblLogin" width="160" border="0" cellspacing="0" cellpadding="3">
													<tr>
														<td align="right" style="WIDTH: 40px">
															<span id="lblLoginID" style="FONT-SIZE: 12px;
                                                            VERTICAL-ALIGN: text-bottom;
                                                            COLOR: #5fb2db;
                                                            TEXT-DECORATION: none">帐户</span>
														</td>
														<td align="left">
															<asp:TextBox id="tbLoginName" runat="server" CssClass="LoginInput" Width="96"></asp:TextBox>&nbsp;
														</td>
													</tr>
													<tr>
														<td align="right"  style="WIDTH: 40px">
															<span id="lblPassword" style="FONT-SIZE: 12px; VERTICAL-ALIGN: text-bottom; COLOR: #5fb2db; TEXT-DECORATION: none">
																口令</span>
														</td>
														<td align="left">
															<asp:TextBox id="tbPassword" runat="server" CssClass="LoginInput" Width="96px" 
                                                                TextMode="Password"></asp:TextBox>&nbsp;
														</td>
													</tr>
													<tr>
														<td align="right" style="WIDTH: 40px">
															<span id="Span1" style="FONT-SIZE: 12px;
                                                            VERTICAL-ALIGN: text-bottom;
                                                            COLOR: #5fb2db;
                                                            TEXT-DECORATION: none">验证码</span></td>
														<td align="left">
															<asp:TextBox id="tbCode" runat="server" CssClass="LoginInput" Width="39px"></asp:TextBox>&nbsp;<asp:Image 
                                                                ID="Image1" runat="server" ImageUrl="CheckCode.aspx" 
                                                                ImageAlign="AbsMiddle" />
                                                        </td>
													</tr>
													<tr>
														<td style="height: 27px" >
															</td>
														<td align="right" style="height: 27px" >
															</td>
													</tr>
													<tr>
														<td style="WIDTH: 42px">
															&nbsp;</td>
														<td align="right">
															<table width="84" border="0" cellspacing="0" cellpadding="0" style="WIDTH: 84px; HEIGHT: 16px">
																<tr>
																	<td align="right">
																		<asp:Button id="btnLogin" runat="server" CssClass="LoginButton" Text="登  录" 
                                                                            Width="61px" onclick="btnLogin_Click"></asp:Button>&nbsp;
                                                                        
																	</td>
																</tr>
															</table>
														</td>
													</tr>
												</table>
											</td>
										</tr>
									</table>

								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
        									<asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ErrorMessage="请输入帐户名" ControlToValidate="tbLoginName"
										Display="None"></asp:RequiredFieldValidator>
									<asp:RequiredFieldValidator id="RequiredFieldValidator2" runat="server" ErrorMessage="请输入口令" ControlToValidate="tbPassword"
										Display="None"></asp:RequiredFieldValidator>
									<asp:RequiredFieldValidator id="RequiredFieldValidator3" runat="server" 
                                        ErrorMessage="请输入验证码" ControlToValidate="tbCode"
										Display="None"></asp:RequiredFieldValidator>
						<asp:ValidationSummary id="ValidationSummary1" style="Z-INDEX: 101; LEFT: 72px; POSITION: absolute; TOP: 536px"
				runat="server" ShowMessageBox="True" ShowSummary="False"></asp:ValidationSummary>
    </form>
</body>
</html>
