<%@ page language="C#" masterpagefile="~/Passport/PassportMasterPage.master" autoeventwireup="true" inherits="Passport_Login, HoWaveIMSV5.0" title="会员登录" debug="false" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
   
 <div id="Content" style="width:760px; margin-left:auto; margin-right:auto;">
   
     <div id="content_left" style="float:left;width:400px;">
         <div id="login_title" style=" background:url(Images/login_title.gif) no-repeat top left; height:60px;"></div>
         <div id="login_form" style="padding:5px 20px;">
             <div style="background:url(Images/login_top.gif) no-repeat top; height:15px"></div>
             <div style="background:url(Images/login_body.gif) repeat-y top;">
                 <div style="width:340px; margin-left:20px;">                    
                   <asp:RequiredFieldValidator ID="err1" runat="server" ErrorMessage="请输入会员名" CssClass="login_err" Display="Dynamic" ControlToValidate="UserName"/>
                   <asp:RequiredFieldValidator ID="err2" runat="server" ErrorMessage="请输入密码" CssClass="login_err" Display="Dynamic" ControlToValidate="UserPassword"/>
                   <asp:Label ID="login_err_show" runat="server" CssClass="login_err"  Visible="false"/>
                     
                </div> 
                <div style="width:360px; margin-top:20px; ">   
                   <div id="login_left" style="width:70px;float:left;  text-align:right;">
                      会员名：</div> 
                   <div id="login_right" style="width:230px;float:left;">
                       <asp:TextBox ID="UserName" runat="server" MaxLength="20" Width="150px"/>
                   </div>           
                </div>
                <br />
                <div style="width:360px;">   
                   <div id="Div1" style="width:70px;float:left; text-align:right;">
                      密&nbsp; 码：</div> 
                   <div id="Div2" style="width:230px;float:left;">
                     <asp:TextBox ID="UserPassword" runat="server" TextMode="Password" MaxLength="20" Width="150px"/>
                       &nbsp; &nbsp;&nbsp;
                      <a href="forget_password.aspx" target="_self">忘记密码</a></div>           
                </div>
                <asp:PlaceHolder runat="server" Visible="false" ID="show_checkcode">
                    <div style="width:360px;">   
                       <div id="Div3" style="width:70px;float:left; text-align:right;">
                          验证码：</div> 
                       <div id="Div4" style="width:230px;float:left;">
                        <asp:TextBox ID="CheckCode" runat="server" Width="150px" />
                        <img src="../CheckCode.aspx" />
                          </div>           
                    </div>
                </asp:PlaceHolder>            
                <div style="width:360px;margin:20px 0; text-align:center;">   
                   <div style="width:150px;text-align:center;">                   
                    <asp:LinkButton ID="LoginSubmit" runat="server"  CssClass="login_submit" Text="登 录" Width="130px" Height="1px" OnClick="LoginSubmit_Click"    /></div>
               </div><div style="background:url(Images/login_bot.gif) no-repeat top; height:15px">
                </div>
            </div>  
         </div>
     </div>
     <div id="content_right" style="float:left;width:350px;">
         &nbsp;<p class="Features">
             <img alt="超人气商品" height="48" src="Images/icon_features_1.gif"
                 width="48" /><strong><span style="color: #0099ff">便宜有好货！</span></strong>多种商品任您选。</p>
         <p class="Features">
             
         <p class="Features">
             <img alt="超现实诱惑" height="48" src="Images/icon_features_4.gif"
                 width="48" /><strong><span style="color: #0099ff">免费开网店！</span></strong>轻松赚钱交朋友。</p>
         <p class="Features">
             <img alt="超精彩社区" height="48" src="Images/icon_features_3.gif"
                 width="48" /><strong><span style="color: #0099ff">超人气社区！</span></strong>精彩活动每一天。</p>
         <p class="Submit" style="text-align: center">
             <a href="UserReg.aspx">
                 <img alt="免费注册" border="0" height="47" src="Images/register_submit.gif"
                     width="173" /></a></p>
     
     
     </div>
 </div>
    <asp:HiddenField ID="H_ComeUrl" runat="server" /> 
    <script type="text/javascript" language="javascript">
     function keydown(){
	  if(event.keyCode==13){
	   WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$ContentPlaceHolder1$LoginSubmit", "", true, "", "", false, true));
	  }
    }    
    </script>
</asp:Content>

