<%@ Page language="c#" Codebehind="default.aspx.cs" AutoEventWireup="True" Inherits="sakq._default" %>
<%@ Register Assembly="Vincent.AutoAuthCode" Namespace="Vincent.AutoAuthCode" TagPrefix="cc1" %>

<HTML>
	<HEAD>
		<title>考勤假期管理系统</title>
		<META http-equiv="Content-Type" content="text/html; charset=gb2312">
		<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">

		<LINK href="css/style.css" type="text/css" rel="stylesheet">
		<style>
		    body {  background-image: url(Image/bodybg.gif)}
  		    .ms_bg_right0 { FILTER: progid:DXImageTransform.Microsoft.Gradient(startColorStr='#ffffff', endColorStr='#CEDFF6', gradientType='1') }
		</style>
		<script language="JavaScript" src="js/common.js" type="text/javascript"></script>        

	</HEAD>
	<body  onload="document.all['tb_user'].focus();">
		<form id="Form1" method="post" runat="server">
			<table id="tb9" border="0" width="100%"  >
                <tr>
                   <td height="150px">                    
                   </td>
                </tr>
				<tr>
					<td align="center" valign=top style="height:auto"> 
                        <TABLE id="Table2"  borderColorDark="#ffffff" borderColorLight="#000000" cellSpacing="0" cellPadding="0" border="0" frame="border" style="WIDTH: 500px; HEIGHT: 280px; background-image: url(Image/loginkq2.jpg); background-repeat: no-repeat;">
							<TR style="height:45px">
								<TD  colSpan="3"></TD>
							</TR>
							<TR >
								<TD  colSpan="3">&nbsp;&nbsp;&nbsp;<asp:Label id="Label3" runat="server" Font-Bold="True" Font-Size="19pt" Font-Names="仿宋_GB2312"  >考勤假期管理系统</asp:Label>&nbsp;</TD>
							</TR>						
							<TR>
								<TD colSpan="3" valign=top >
									<TABLE id="Table4" cellSpacing="0" cellPadding="0" width="100%" border="0" align="right" >													
										<TR>
											<td valign="middle" align="right" >
												<asp:Image id="Image2" runat="server" ImageUrl="~/Image/logo.gif" ></asp:Image> <br>                                    
                                            </td>
											<TD align="center" valign=top>
												<TABLE id="Table3" cellSpacing="3" cellPadding="0" border="0" height="120" style="width: 280px">
													<TR>
														<TD width="97" class="sys_grid_cell_label" style="width: 30%">
															<asp:label id="Label1" runat="server">用户名</asp:label></TD>
														<TD>
															<INPUT class="sys_editbox" id="tb_user" onkeydown="if(event.keyCode==13)event.keyCode=9"
																style="WIDTH:120px;" type="text" name="tb_user" runat="server" tabIndex="0"
																value="admin" size="14"></TD>
													</TR>
													<TR>
														<TD width="97" class="sys_grid_cell_label" colspan="" rowspan="" style="width: 30%;">
															<asp:label id="Label2" runat="server">密码</asp:label></TD>
														<TD>
															<INPUT class="sys_editbox" id="tb_password" onkeydown="if(event.keyCode==13)event.keyCode=9"
																type="password" name="tb_password" runat="server" tabIndex="0" size="14" style="WIDTH: 120px;">
														</TD>
													</TR>
                                                    <tr>
                                                        <td style="width: 30%" class="sys_grid_cell_label">
                                                            <asp:Label ID="Label4" runat="server" Text="验证码"></asp:Label></td>
                                                        <td>
                                                            <cc1:AuthCode ID="AuthCode1" runat="server"  IsShowNextImgText="False"
                                                                NextImgText="换一张" onkeydown="if(event.keyCode==13)event.keyCode=9" CssClass="sys_editbox" TextControlWidth="60px" />
                                                            </td>
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 30%">
                                                        </td>
                                                        <td>
                                                            </td>
                                                    </tr>
													<TR>
														<TD align="center" colSpan="2">
															<asp:button id="btn_ok" runat="server" Width="60px" Text="登 录" Height="22px" CssClass="sys_button" onclick="Submit1_ServerClick" ></asp:button>&nbsp;&nbsp;&nbsp;<asp:button id="btn_cancel" runat="server" Width="60px" Text="取 消" Height="22px" CssClass="sys_button" OnClientClick="window.opener = null;window.close();" OnClick="btn_cancel_Click"></asp:button></TD>
													</TR>
                                                    <tr>
                                                        <td align="center" colspan="2" >
                                                            <asp:HyperLink ID="link_pwd" runat="server" ForeColor="Red" NavigateUrl="aspx/sys/password.aspx"
                                                                Target="_blank">忘记密码</asp:HyperLink></td>
                                                    </tr>
												</TABLE>														

											</td>
										</tr>
									</table>
								</TD>
							</TR>
							<TR>
								<TD style="HEIGHT: 25px" align="center" valign=top>								   
                                        <asp:Label ID="lb_copy" runat="server" Text="珠海新瑞信息科技有限公司 版权所有"></asp:Label>&nbsp;
                                </TD>
							</TR>
						</TABLE>
				     </td>						
				</tr>
				<tr valign=top>
				  <td align=center >
                      <table border="0" cellpadding="0" cellspacing="0" style="width: 500px;" >
                          <tr>
                              <td >
                                  <asp:Image ID="Image3" runat="server" ImageUrl="~/Image/dept.gif" />
                                  <asp:Label ID="Label7" runat="server" Font-Bold="True" Font-Size="10pt" ForeColor="Red" Text="公告信息"></asp:Label></td>
                          </tr>
                      </table>
				      <div style="width:500px;height:120px;OVERFLOW-Y: auto; OVERFLOW-X:hidden;" align=left><asp:Label ID="lb_sm" runat="server"></asp:Label></div>
				</td></tr>
			</table>
			
			</form>
					<script language="javascript">
					<%=msg %>
					</script>
	</body>
</HTML>