<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Login.aspx.vb" Inherits="Admin_Login" Theme="ManagerTheme"  %>
<!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 id="Head1" runat="server">
    <title><%=BaseFunction.PublicMethod.GetApplication("WebName")%>--管理登录</title>
    <style type="text/css">
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #0568A1;
}
</style> 
<link href="/App_Themes/ManagerTheme/skin.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="/App_Themes/ManagerTheme/Js/jquery.min.js"></script>
<script type="text/javascript" src="/App_Themes/ManagerTheme/Js/Cookie.js"></script>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<script language="JavaScript" type="text/javascript">
function correctPNG()
{
    var arVersion = navigator.appVersion.split("MSIE")
    var version = parseFloat(arVersion[1])
    if ((version >= 5.5) && (document.body.filters)) 
    {
       for(var j=0; j<document.images.length; j++)
       {
          var img = document.images[j]
          var imgName = img.src.toUpperCase()
          if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
          {
             var imgID = (img.id) ? "id='" + img.id + "' " : ""
             var imgClass = (img.className) ? "class='" + img.className + "' " : ""
             var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' "
             var imgStyle = "display:inline-block;" + img.style.cssText 
             if (img.align == "left") imgStyle = "float:left;" + imgStyle
             if (img.align == "right") imgStyle = "float:right;" + imgStyle
             if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle
             var strNewHTML = "<span " + imgID + imgClass + imgTitle
             + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
             + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
             + "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>" 
             img.outerHTML = strNewHTML
             j = j-1
          }
       }
    }    
}
window.attachEvent("onload", correctPNG);
function LoadImgCode() {
    $.cookie("CodeCookie", null); 
    var rndcode = new Date().getTime();
    $("#imgCode").attr('src', '/ResponseRndImage.gdr?Rnd=' + rndcode);
}
</script>
</head>
    <body style="background-color: #0568A1" >
    <form id="form1" runat="server">
    <table width="100%" height="166" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="42" valign="top"><table width="100%" height="42" border="0" cellpadding="0" cellspacing="0" class="login_top_bg">
      <tr>
        <td width="1%" height="21">&nbsp;</td>
        <td height="42">&nbsp;</td>
        <td width="17%">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td valign="top"><table width="100%" height="532" border="0" cellpadding="0" cellspacing="0" class="login_bg">
      <tr>
        <td width="49%" align="right"><table width="91%" height="532" border="0" cellpadding="0" cellspacing="0" class="login_bg2">
            <tr>
              <td height="138" valign="top" align="right"><table width="363" height="427" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td height="158">&nbsp;</td>
                </tr>
                <tr>
                  <td height="80" align="right" valign="top">
                      <img src="/App_Themes/ManagerTheme/Images/logo.png"></td>
                </tr>
                 <tr>
                  <td height="198" valign="top" style="text-align:right; padding:20px 25px 0px 0px;"></td>
                </tr>
              </table></td>
            </tr>
            
        </table></td>
        <td width="1%" >&nbsp;</td>
        <td width="50%" valign="bottom"><table width="100%" height="59" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td width="4%">&nbsp;</td>
              <td width="96%" height="38"><span class="login_txt_bt">登陆信息网后台管理</span></td>
            </tr>
            <tr>
              <td>&nbsp;</td>
              <td height="21"><table cellSpacing="0" cellPadding="0" width="100%" border="0" id="table211" height="328">
                  <tr>
                    <td height="164" colspan="2" align="middle">
                        <table cellSpacing="0" cellPadding="0" width="100%" border="0" height="143" id="table212">
                          <tr>
                            <td width="13%" height="38" ><span class="login_txt">管理员：&nbsp;&nbsp; </span></td>
                            <td height="38" colspan="2"  style=" text-align:left ">
                                <asp:TextBox ID="txtUserName" runat="server" Width="100px" TabIndex="1" 
                                    MaxLength="16"></asp:TextBox></td>
                          </tr>
                          <tr>
                            <td width="13%" height="35" class="top_hui_text"><span class="login_txt"> 密 码： &nbsp;&nbsp; </span></td>
                            <td height="35" colspan="2"  style=" text-align:left ">	
                                <asp:TextBox ID="txtPassWord" runat="server" Width="100px" TabIndex="2" TextMode="Password" MaxLength="16"></asp:TextBox><img src="/App_Themes/ManagerTheme/Images/luck.gif" width="19" height="18"> </td>
                          </tr>
                          <tr>
                            <td width="13%" height="35" ><span class="login_txt">验证码：</span></td>
                            <td height="35" colspan="2"  style=" text-align:left "><div style="float:left;"><asp:TextBox ID="txtCode" runat="server" Width="45px" TabIndex="3" MaxLength="4"></asp:TextBox></div>
                             <div style="float:left; cursor:hand; margin:1px 0px 0px 2px;"><img src="/ResponseRndImage.gdr" id="imgCode" alt="看不清，更换一张" onclick="javascript:LoadImgCode();" /></div></td>
                          </tr>
                          <tr>
                            <td height="35" colspan="2" >
	
	<asp:ImageButton ID="ibLogin" runat="server"  ImageUrl="~/App_Themes/ManagerTheme/Images/Login.jpg" TabIndex="4" />


	
							&nbsp;&nbsp;
	
	                            <img alt="" src="/App_Themes/ManagerTheme/Images/Cancel.jpg" /></td>
                            <td width="67%"  style=" text-align:left ">
	
	                            &nbsp;</td>
                          </tr>
                        </table>
                        <br>
                    </td>
                  </tr>
                  <tr>
                    <td width="433" height="164" align="right" valign="bottom"><img src="/App_Themes/ManagerTheme/Images/login-wel.gif" width="242" height="138"></td>
                    <td width="57" align="right" valign="bottom">&nbsp;</td>
                  </tr>
              </table></td>
            </tr>
          </table>
          </td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="20"><table width="100%" border="0" cellspacing="0" cellpadding="0" class="login-buttom-bg">
      <tr>
        <td align="center"><span class="login-buttom-txt">Copyright © 2009-2010 XianRen</span></td>
      </tr>
    </table></td>
  </tr>
</table>

    </form>
</body>
</html>
