<%@ Page Language="C#" AutoEventWireup="false" CodeBehind="Login.aspx.cs" Inherits="web.Template.moban.Login" %>

<%@ Register TagPrefix="uc1" TagName="NavBar" Src="Modules/NavBar.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>

		<title>会员登录 －－ <%=config.SiteTitle%></title><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<link href="img/css/base.css" rel="stylesheet" type="text/css" media="all" />

<link href="img/css/index.css" rel="stylesheet" type="text/css" media="all" />
<link href="img/css/style.css" rel="stylesheet" type="text/css" media="all" />

		 <script type="text/javascript">
 function SetCwinHeight(cs){
  var bobo=document.getElementById(cs); //iframe id
  if (bobo){
   if (bobo && !window.opera){
    if (bobo.contentDocument && bobo.contentDocument.body.offsetHeight){
     bobo.height = bobo.contentDocument.body.offsetHeight;
    }else if(bobo.Document && bobo.Document.body.scrollHeight){ bobo.height = bobo.Document.body.scrollHeight-0;
         }
   }
    else
    {
        if(bobo.contentWindow.document && bobo.contentWindow.document.body.scrollHeight)
            bobo.height = bobo.contentWindow.document.body.scrollHeight;//Opera
    }
  }
 }
 function Button1_onclick() 
 {
   document.getElementById('zx').style.display="block";
 }
 function Button3_onclick() 
 {
 document.getElementById('zx').style.display="none";
}

</script>
    <script type="text/javascript">
     function openQQ() {
         var A = window.open("tencentlogin.aspx", "TencentLogin", "width=450,height=320,menubar=0,scrollbars=0, status=1,titlebar=0,toolbar=0,location=1");
     }
    </script>
	</HEAD>
	<body>	 
			
  <iframe id=head src="modHtml/header.html" onload="Javascript:SetCwinHeight('head')" width=100% height="196" frameborder=no  MARGINWIDTH=0 MARGINHEIGHT=0 SCROLLING=no></iframe>	<div class="twidth">

	   <div class="news_dt">
    <ul>
    <li class="dt_left"></li>
      <li class="dt_bg">
        <div align="left" style="font-weight: normal;">你的位置：<a href="default.html">首页</a> 
        → 会员登录</div>
      </li>
      <li class="dt_right"></li>
    </ul>
    </div>	

  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" >
    <tr>
				
      <td > 
        <table align="center" width="100%" cellspacing="0" cellpadding="0">
          <tr>
								<td width="1" class="ml"></td>
			  <td width="100%" class="mm">
<form id="Form1" method="post" runat="server">
            
                
             <table width="95%" border="0" align="center" cellpadding="0" cellspacing="1">
                        <tr> 
                          <td width="60%" valign="top" style="height: 200px"> 
                            <table width="83%" border="0" align="center" cellpadding="0" cellspacing="6">
                        <tr> 
                          <td width="17%" height="15">&nbsp;</td>
                          <td width="83%" class="black14"><strong><img src="img/dl-2.gif" width="141" height="51"></strong></td>
                        </tr>
                        <tr> 
                          <td height="25">
<div align="right"> 
                              <%=GetResourceString("LoginTextAccount")%>
                            </div></td>
                          <td>&nbsp; <asp:TextBox ID="txtName" Runat="server" Width="240px" tabIndex="1" class="input1" Height="25px"></asp:TextBox></td>
                        </tr>
                        <tr> 
                          <td height="28">
<div align="right"> 
                              <%=GetResourceString("LoginTextPassword")%>
                            </div></td>
                          <td>&nbsp; <asp:TextBox ID="txtPass" TextMode="Password" runat="server" Width="240px" TabIndex="2" class="input1" Height="25px"></asp:TextBox></td>
                        </tr>
                        <tr> 
                          <td><div align="right"> 
                              <%=GetResourceString("LoginTextCode")%>
                            </div></td>
                          <td>&nbsp; <asp:TextBox ID="logincode" runat="server" TabIndex="3" size="7" MaxLength="5" class="input1"   Width="130px" Height="25px"></asp:TextBox> 
                            <img id="safecode" width="100px" height="25px" src="Handler.ashx" onClick="this.src='Handler.ashx?t='+Math.random()" title="点击更换验证码" style="cursor:pointer;" ></td>
                        </tr>
                                <asp:Panel ID="Panel1" Visible="false" runat="server" >
                                
                        <tr> 
                          <td height="31"><div align="right">附加码：</div></td>
                          <td>&nbsp;
                              <asp:TextBox ID="fjm" runat="server" Height="26px" Width="128px"></asp:TextBox>
                              该附加码是您注册成功后发送到你手机上的4位码！<input id="Button1" type="button" value="我没有，重新发给我" onclick="return Button1_onclick()" />
                              
                              <div id="zx" style="display:none;">
                                  &nbsp;&nbsp;<br />
                                  &nbsp; 输入你的手机号码：<asp:TextBox ID="sjh" runat="server"></asp:TextBox>&nbsp;<asp:Button
                                      ID="Button2" runat="server" Text="发送给我" OnClick="Button2_Click" />
                                  <input id="Button3" type="button" value="关闭" onclick="return Button3_onclick()" /></div>
							  </td>
                        </tr>
                        </asp:Panel>
                        <tr style="display:none"> 
                          <td><div align="right"> 
                              <%=GetResourceString("LoginTextActive")%>
                            </div></td>
                          <td>&nbsp;&nbsp; <asp:DropDownList ID="ddlKeepLogin" runat="server" Width="168px"> 
                              <asp:ListItem Value="0">不保留</asp:ListItem>
                              <asp:ListItem Value="1">保留一天</asp:ListItem>
                              <asp:ListItem Value="7">保留一周</asp:ListItem>
                              <asp:ListItem Value="30">保留一月</asp:ListItem>
                              <asp:ListItem Value="365">保留一年</asp:ListItem>
                            </asp:DropDownList></td>
                        </tr>
                        <tr > 
                          <td>&nbsp;</td>
                          <td><table width="66%" border="0" align="left" cellpadding="0" cellspacing="6">
                              <tr> 
                                <td style="width: 519px"> <div align="left"> 
                                    <asp:ImageButton ID="btnLogin" runat="server" ImageUrl="../../Img/denglu_13.gif" OnClick="btnLogin_Click1" />
                                    &nbsp;<img src="img/why.gif" width="21" height="21" border="0"><a href="Reg.aspx"> 
                                    <%=GetResourceString("LoginButtonRegister")%>
                                    </a> &nbsp;<img src="img/why.gif" width="21" height="21" border="0"><a href="ForgetPws.aspx"> 
                                    <%=GetResourceString("LoginButtonForgotPassword")%>
                                    </a> 
                                    <br />   <br />
                                  <div>
                                     <input type="image" src="/images/Connect_logo_4.png" name="btQQLogin"
                                value="腾讯QQ登录" id="Image1"  onclick="openQQ();return false;"/>
                                </div>
                                </div></td>
                              </tr>
                            </table></td>
                        </tr>
                      </table> 
                            
                      <br>
                    </td>
                  
                        </tr>
                      </table>
                <br>
              </form>
								</td>
			<td width="1" class="mr"></td>
						  </tr>
						</table>
				  
    </td>
			</tr>
		</table>	</div>
<iframe id="help" src="modHtml/helper.html" onload="Javascript:SetCwinHeight('help')" width=100% frameborder=no  MARGINWIDTH=0 MARGINHEIGHT=0 SCROLLING=no></iframe>
	
    <script language="JavaScript" src="stat.aspx" type="text/JavaScript"></script>

	</body>
</HTML>



