<!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>
<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
<meta name="Keywords" content="{$keywords}" />
<meta name="Description" content="{$description}" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>{$page_title}</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
<link rel="shortcut icon" href="favicon.ico" />
<link rel="icon" href="animated_favicon.gif" type="image/gif" />
<link href="{$ecs_css_path}" rel="stylesheet" type="text/css" />
<link href="themes/68ecshopcom_ssqyfree/css/reg.css" rel="stylesheet" type="text/css" />


{* 包含脚本文件 *}
{insert_scripts files='common.js,user.js,transport.js'}

<body>
<!-- #BeginLibraryItem "/library/page_header.lbi" --><!-- #EndLibraryItem -->

<!--当前位置 start-->
<div class="block box">
 <div id="ur_here">
  <!-- #BeginLibraryItem "/library/ur_here.lbi" --><!-- #EndLibraryItem -->
  </div>
</div>
<!--当前位置 end-->
<div class="blank"></div>

<!--#登录界面 start-->
<!-- {if $action eq 'login'} -->
<!--用户登录界面--> 
<div class="container " style=" width:990px; margin-bottom:0px;">
	<div class="reg clearfix" style="width:990px;">
		
          <!--用户登录-->
			<div class="us_login" style=" float:left">
            <div class="login_tit"><strong style="font-size:14px;">登录</strong> &nbsp;&nbsp;&nbsp;&nbsp;已经注册，请在此登录</div>
			<div class="mbox" style="width:488px; height:430px;">
				<div class="title">

				</div>
				
				<div class="contentNew">
					<div class="l_box">
						<p style="padding-left: 40px;">已注册用户请从这里登录</p>
					<form action="user.php" method="post" name="loginForm" id="loginForm" onSubmit="return userLogin()">
                            <label>
								<span>{$lang.label_username}</span><input type="text" class="inputBg" name="username" size="25" />
							</label>
							<label>
								<span>{$lang.label_password}</span><input type="password" class="inputBg" name="password" size="15" />
							</label>
                            <!-- 判断是否启用验证码{if $enabled_captcha} -->
							<label class="verify">
								<span>{$lang.comment_captcha}</span><input type="text" size="8" name="captcha" class="inputBg" /><img src="captcha.php?is_login=1&{$rand}" name="captcha" alt="captcha" id="captchaImg" style="vertical-align: middle;cursor: pointer;" onClick="this.src='captcha.php?is_login=1&'+Math.random()" />
							</label>
							<p class="verify">点击图片换一张</p>
                            <!--{/if}-->
							<div class="btns">
								<input type="submit" value="" class="btn_submit_b" />
								<input type="hidden" name="act" value="act_login" />
                                <input type="hidden" name="back_act" value="{$back_act}" />
                                <p class="forgot1"><a href="user.php?act=qpassword_name">{$lang.get_password_by_question}</a></p>
							</div>
							
                            <div class="tempotherLoginTail"></div>
						</form>	
					</div>
					
				</div>
			</div>
          </div>
            <!--注册新用户-->
			<div class="us_login" style="float:right;">
            <div class="reg2_tit" style="width:490px;"><strong style="font-size:14px;">注册</strong> &nbsp;&nbsp;&nbsp;&nbsp; 新用户？ 立即注册，享受多重惊喜。</div>
			<div class="mbox" style="width:488px; height:430px;">
				<div class="title">

				</div>
				<div class="contentNew">
					<div class="l_box">
						<p><strong>{$lang.user_reg_info[0]}</strong></p>
					    <p><strong class="f4">{$lang.user_reg_info[1]}：</strong></p>
                        <!-- {if $car_off eq 1} -->
					    <p>{$lang.user_reg_info[2]}</p>
                        <!--{/if}-->
    					<!-- {if $car_off eq 0} -->
					    <p>{$lang.user_reg_info[8]}</p>
                        <!--{/if}-->
                        <p>{$lang.user_reg_info[3]}：</p>
					    <p>1. {$lang.user_reg_info[4]}</p>
					    <p>2. {$lang.user_reg_info[5]}</p>
					    <p>3. {$lang.user_reg_info[6]}</p>
					    <p>4. {$lang.user_reg_info[7]}</p>
					    <p><a href="user.php?act=register"><img src="images/login_sign_btn.gif" /></a></p>
				    </div>
				</div>
			</div>
			</div>
		
	</div>
</div>
<!--{/if}-->
<!--#登录界面 end-->


<!--*会员注册界面 start-->
<div class="block box" style="width:990px;">
    <!--{if $action eq 'register'}-->
    <!-- {if $shop_reg_closed eq 1} -->
    
    <div class="usBox">
      <div class="usBox_2 clearfix">
        <div class="f1 f5" align="center">{$lang.shop_register_closed}</div>
      </div>
    </div>
    <!-- {else} -->
    
    
    {insert_scripts files='utils.js'}
        <div class="regTop"><strong style="font-size:14px;">注册</strong> &nbsp;&nbsp;&nbsp;&nbsp; 新用户？ 立即注册，享受多重惊喜 。马上加入我们惊喜多多，好运连连。</div>
<div class="usBox" style="width:980px;">
  <div class="usBox_2 clearfix">  

   <div class="blank1" style="margin-top:15px;"></div>
    <form action="user.php" method="post" name="formUser" onsubmit="return register();">
      <table width="100%"  border="0" align="left" cellpadding="5" cellspacing="3">
        <tr><!--用户名-->
          <td width="30%" align="right">{$lang.label_username}</td>
          <td width="70%">
          <input name="username" type="text" size="25" id="username" onblur="is_registered(this.value);" class="inputBg"/>
            <span id="username_notice" style="color:#FF0000"> *</span>
          </td>
        </tr>
        <tr><!--电子邮箱-->
          <td align="right">{$lang.label_email}</td>
          <td>
          <input name="email" type="text" size="25" id="email" onblur="checkEmail(this.value);"  class="inputBg"/>
            <span id="email_notice" style="color:#FF0000"> *</span>
          </td>
        </tr>
        <tr>
          <td align="right">{$lang.label_password}</td>
          <td>
          <input name="password" type="password" id="password1" onblur="check_password(this.value);" onkeyup="checkIntensity(this.value)" class="inputBg" style="width:179px;" />
            <span style="color:#FF0000" id="password_notice"> *</span>
          </td>
        </tr>
        <tr>
          <td align="right">{$lang.label_password_intensity}</td>
          <td>
            <table width="145" border="0" cellspacing="0" cellpadding="1">
              <tr align="center">
                <td width="33%" id="pwd_lower">{$lang.pwd_lower}</td>
                <td width="33%" id="pwd_middle">{$lang.pwd_middle}</td>
                <td width="33%" id="pwd_high">{$lang.pwd_high}</td>
              </tr>
            </table>
          </td>
        </tr>
        <tr>
          <td align="right">{$lang.label_confirm_password}</td>
          <td>
          <input name="confirm_password" type="password" id="conform_password" onblur="check_conform_password(this.value);"  class="inputBg" style="width:179px;"/>
            <span style="color:#FF0000" id="conform_password_notice"> *</span>
          </td>
        </tr>
        <!-- {foreach from=$extend_info_list item=field} -->
	<!-- {if $field.id eq 6} -->
        <tr style=" display: none">
          <td align="right">{$lang.passwd_question}</td>
          <td>
          <select name='sel_question'>
	  <option value='0'>{$lang.sel_question}</option>
	  {html_options options=$passwd_questions}
	  </select>
          </td>
        </tr>
        <tr style=" display: none">
          <td align="right" <!-- {if $field.is_need} -->id="passwd_quesetion"<!--{/if}-->>{$lang.passwd_answer}</td>
          <td>
	  <input name="passwd_answer" type="text" size="25" class="inputBg" maxlengt='20'/><!-- {if $field.is_need} --><span style="color:#FF0000"> *</span><!-- {/if} -->
          </td>
        </tr>
	<!-- {else} -->
        <tr style=" display: none">
          <td align="right" <!-- {if $field.is_need} -->id="extend_field{$field.id}i"<!--{/if}-->>{$field.reg_field_name}
          <td>
          <input name="extend_field{$field.id}" type="text" size="25" class="inputBg" /><!-- {if $field.is_need} --><span style="color:#FF0000"> *</span><!-- {/if} -->
          </td>
        </tr>
	<!-- {/if} -->
	<!-- {/foreach} -->
      <!-- 判断是否启用验证码{if $enabled_captcha} -->
      <tr style=" display: none">
      <td align="right">{$lang.comment_captcha}</td>
      <td><input type="text" size="8" name="captcha" class="inputBg" />
      <img src="captcha.php?{$rand}" alt="captcha" style="vertical-align: middle;cursor: pointer;" onClick="this.src='captcha.php?'+Math.random()" /> </td>
      </tr>
      <!--{/if}-->
        <tr style=" display: none">
          <td>&nbsp;</td>
          <td><label>
            <input name="agreement" type="checkbox" value="1" checked="checked" />
            {$lang.agreement}</label></td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td align="left">
          <div class="btns">
				<input class="btn_submit" name="Submit" type="submit" value="" />
				<input name="act" type="hidden" value="act_register" >
				<input type="hidden" name="back_act" value="{$back_act}" />
		  </div>
          
          
          </td>
        </tr>
        <tr style=" display: none">
          <td colspan="2">&nbsp;</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td class="actionSub">
          <a href="user.php?act=login">{$lang.want_login}</a><br />
          <a href="user.php?act=get_password">{$lang.forgot_password}</a>
          </td>
        </tr>
      </table>
    </form>
  </div>
</div>
<!--{/if}-->
<!--{/if}-->
</div>
<!--#会员注册界面 end-->


 
<!--*找回密码界面 -->
    <!--{if $action eq 'get_password'} -->
    {insert_scripts files='utils.js'}
    <script type="text/javascript">
    {foreach from=$lang.password_js item=item key=key}
      var {$key} = "{$item}";
    {/foreach}
    </script>
    <div class="block">
<div class="usBox">
  <div class="usBox_2 clearfix">
    <form action="user.php" method="post" name="getPassword" onsubmit="return submitPwdInfo();">
        <br />
        <table width="70%" border="0" align="center">
          <tr>
            <td colspan="2" align="center"><strong>{$lang.username_and_email}</strong></td>
          </tr>
          <tr>
            <td width="29%" align="right">{$lang.username}</td>
            <td width="61%"><input name="user_name" type="text" size="30" class="inputBg" /></td>
          </tr>
          <tr>
            <td align="right">{$lang.email}</td>
            <td><input name="email" type="text" size="30" class="inputBg" /></td>
          </tr>
          <tr>
            <td></td>
            <td><input type="hidden" name="act" value="send_pwd_email" />
              <input type="submit" name="submit" value="{$lang.submit}" class="bnt_blue" style="border:none;" />
              <input name="button" type="button" onclick="history.back()" value="{$lang.back_page_up}" style="border:none;" class="bnt_blue_1" />
	    </td>
          </tr>
        </table>
        <br />
      </form>
  </div>
</div>
</div>
<!--{/if}-->

<!--*通过问题找回密码的确认找回账号界面 -->
    <!--{if $action eq 'qpassword_name'} -->
     <div class="block">
<div class="usBox">
  <div class="usBox_2 clearfix">
    <form action="user.php" method="post">
        <br />
        <table width="70%" border="0" align="center">
          <tr>
            <td colspan="2" align="center"><strong>{$lang.get_question_username}</strong></td>
          </tr>
          <tr>
            <td width="29%" align="right">{$lang.username}</td>
            <td width="61%"><input name="user_name" type="text" size="30" class="inputBg" /></td>
          </tr>
          <tr>
            <td></td>
            <td><input type="hidden" name="act" value="get_passwd_question" />
              <input type="submit" name="submit" value="{$lang.submit}" class="bnt_blue" style="border:none;" />
              <input name="button" type="button" onclick="history.back()" value="{$lang.back_page_up}" style="border:none;" class="bnt_blue_1" />
	    </td>
          </tr>
        </table>
        <br />
      </form>
  </div>
</div>
</div>
<!--{/if}-->

<!--*根据输入账号显示密码问题界面 -->

    <!--{if $action eq 'get_passwd_question'} -->
     <div class="block">
<div class="usBox">
  <div class="usBox_2 clearfix">
    <form action="user.php" method="post">
        <br />
        <table width="70%" border="0" align="center">
          <tr>
            <td colspan="2" align="center"><strong>{$lang.input_answer}</strong></td>
          </tr>
          <tr>
            <td width="29%" align="right">{$lang.passwd_question}：</td>
            <td width="61%">{$passwd_question}</td>
          </tr>
          <tr>
            <td align="right">{$lang.passwd_answer}：</td>
            <td><input name="passwd_answer" type="text" size="20" class="inputBg" /></td>
          </tr>
          <!-- 判断是否启用验证码{if $enabled_captcha} -->
          <tr>
            <td align="right">{$lang.comment_captcha}</td>
            <td><input type="text" size="8" name="captcha" class="inputBg" />
            <img src="captcha.php?is_login=1&{$rand}" alt="captcha" style="vertical-align: middle;cursor: pointer;" onClick="this.src='captcha.php?is_login=1&'+Math.random()" /> </td>
          </tr>
          <!--{/if}-->
          <tr>
            <td></td>
            <td><input type="hidden" name="act" value="check_answer" />
              <input type="submit" name="submit" value="{$lang.submit}" class="bnt_blue" style="border:none;" />
              <input name="button" type="button" onclick="history.back()" value="{$lang.back_page_up}" style="border:none;" class="bnt_blue_1" />
	    </td>
          </tr>
        </table>
        <br />
      </form>
  </div>
</div>
</div>
<!--{/if}-->

<!-- {if $action eq 'reset_password'} -->
    <script type="text/javascript">
    {foreach from=$lang.password_js item=item key=key}
      var {$key} = "{$item}";
    {/foreach}
    </script>
     <div class="block">
<div class="usBox">
  <div class="usBox_2 clearfix">
    <form action="user.php" method="post" name="getPassword2" onSubmit="return submitPwd()">
      <br />
      <table width="80%" border="0" align="center">
        <tr>
          <td>{$lang.new_password}</td>
          <td><input name="new_password" type="password" size="25" class="inputBg" /></td>
        </tr>
        <tr>
          <td>{$lang.confirm_password}:</td>
          <td><input name="confirm_password" type="password" size="25"  class="inputBg"/></td>
        </tr>
        <tr>
          <td colspan="2" align="center">
            <input type="hidden" name="act" value="act_edit_password" />
            <input type="hidden" name="uid" value="{$uid}" />
            <input type="hidden" name="code" value="{$code}" />
            <input type="submit" name="submit" value="{$lang.confirm_submit}" />
          </td>
        </tr>
      </table>
      <br />
    </form>
  </div>
</div>
</div>
<!--{/if}-->
<!--#找回密码界面 end-->
<div class="blank"></div>
<!-- #BeginLibraryItem "/library/help.lbi" --><!-- #EndLibraryItem -->
<!-- #BeginLibraryItem "/library/page_footer.lbi" --><!-- #EndLibraryItem -->
</body>
<script type="text/javascript">
var process_request = "{$lang.process_request}";
{foreach from=$lang.passport_js item=item key=key}
var {$key} = "{$item}";
{/foreach}
var username_exist = "{$lang.username_exist}";
</script>
</html>

