<!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" />
<style>
th, td{padding:3px;}
</style>
{* 包含脚本文件 *}
{insert_scripts files='common.js,user.js,transport.js'}
</head>
<body>
  <div id="wrap">
    <!-- #BeginLibraryItem "/library/page_header.lbi" --><!-- #EndLibraryItem -->
    <div class="container">
      <div class="global_l">
        <img style="margin-bottom:20px;" src="images/login_left.gif" />
      </div>
      <div class="global_r">
        <!-- #BeginLibraryItem "/library/ur_here.lbi" --><!-- #EndLibraryItem -->
        <!--#登录界面 start-->
        <!-- {if $action eq 'login'} -->
        <div class="module goods_list">
          <p class="top"><span></span></p>
          <div class="content" style="padding:0 10px;">
            <p class="f6">{$lang.user_reg_info[0]}</p>
            <p class="f7">{$lang.user_reg_info[1]}</p>
            <p>{$lang.user_reg_info[2]},{$lang.user_reg_info[3]}</p>
            <ul style="padding-left:5px;">
							  <li>1. {$lang.user_reg_info[4]}</li>
								<li>2. {$lang.user_reg_info[5]}</li>
								<li>3. {$lang.user_reg_info[6]}</li>
								<li>4. {$lang.user_reg_info[7]}</li>
              <li><a href="user.php?act=register"><img src="images/jion_now.jpg" /></a></li>
							
            </ul>
          </div>
          <p class="bottom"><span></span></p>
        </div>
        <div class="module">
          <p class="top"><span></span></p>
          <div class="content">
            <h1><img src="images/menber_login.gif" /></h1>
            <form name="formLogin" action="user.php" method="post" onSubmit="return userLogin()">
              <table width="100%" border="0" align="left" cellpadding="3" cellspacing="5">
                <tr>
                  <td width="15%" align="right">{$lang.label_username}</td>
                  <td width="85%"><input name="username" type="text" size="25" class="inputBg" /></td>
                </tr>
                <tr>
                  <td align="right">{$lang.label_password}</td>
                  <td><input name="password" type="password" size="15"  class="inputBg"/>
                    <a href="user.php?act=get_password" class="f5">{$lang.get_password}</a> </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>&nbsp;</td>
                  <td align="left">
                    <input type="hidden" name="act" value="act_login" />
                    <input type="hidden" name="back_act" value="{$back_act}" />
                    <input type="submit" name="submit" value="" class="button_6" />
                  </td>
                </tr>
              </table>
            </form>
          </div>
          <p class="bottom"><span></span></p>
        </div>
        <!--{/if}-->
        <!--#登录界面 end-->
        <!--*会员注册界面 start-->
        <!--{if $action eq 'register'}-->
        <!-- {if $shop_reg_closed eq 1} -->
        <div class="module">
          <p class="top"><span></span></p>
          <div class="content">
            <div align="center" style="font-size:16px; color:red; line-height:50px;">{$lang.shop_register_closed}</div>
          </div>
          <p class="bottom"><span></span></p>
        </div>
        <!-- {else} -->
        {insert_scripts files='utils.js'}
        <div class="module">
          <p class="top"><span></span></p>
          <div class="content">
            <h1><img src="images/new_user.jpg" /></h1>
            <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="11%" align="right">{$lang.label_username}</td>
          <td width="89%">
          <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="password" 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>
        <tr>
          <td align="right">{$lang.other_msn}</td>
          <td>
          <input name="other[msn]" type="text" size="25" class="inputBg" />
           </td>
        </tr>
        <tr>
          <td align="right">{$lang.other_qq}</td>
          <td>
          <input name="other[qq]" type="text" size="25" class="inputBg"/>
           </td>
        </tr>
        <tr>
          <td align="right">{$lang.other_office_phone}</td>
          <td>
          <input name="other[office_phone]" size="25" type="text" class="inputBg"/>
           </td>
        </tr>
        <tr>
          <td align="right">{$lang.other_home_phone}</td>
          <td>
          <input name="other[home_phone]" type="text" size="25" class="inputBg" id="home_phone"/>
          </td>
        </tr>
        <tr>
          <td align="right">{$lang.other_mobile_phone}</td>
          <td>
          <input name="other[mobile_phone]" type="text" size="25" class="inputBg" />
          </td>
        </tr>
        <!-- {foreach from=$extend_info_list item=field} -->
        <tr>
          <td align="right">{$field.reg_field_name}</td>
          <td>
          <input name="extend_field{$field.id}" type="text" size="25" class="inputBg" />
          </td>
        </tr>
        <!-- {/foreach} -->
      <!-- 判断是否启用验证码{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?{$rand}" alt="captcha" style="vertical-align: middle;cursor: pointer;" onClick="this.src='captcha.php?'+Math.random()" /> </td>
      </tr>
      <!--{/if}-->
        <tr>
          <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">
          <input name="act" type="hidden" value="act_register" >
          <input type="hidden" name="back_act" value="{$back_act}" />
          <input name="Submit" type="submit" value="" class="button_7">
          </td>
        </tr>
        <tr>
          <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>
          <p class="bottom"><span></span></p>
        </div>
        <!--{/if}-->
        <!--{/if}-->
        <!--#会员注册界面 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="module">
          <p class="top"><span></span></p>
          <div class="content">
            <form action="user.php" method="post" name="getPassword" onsubmit="return submitPwdInfo();">
              <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="button_1" />
                    <input name="button" type="button" onclick="history.back()" value="{$lang.back_page_up}" class="button_2" />
                  </td>
                </tr>
              </table>
            </form>
          </div>
          <p class="bottom"><span></span></p>
        </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="module">
          <p class="top"><span></span></p>
          <div class="content">
            <form action="user.php" method="post" name="getPassword" onsubmit="return submitPwdInfo();">
              <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>
            </form>
          </div>
          <p class="bottom"><span></span></p>
        </div>
        <!--{/if}-->
        <!--#找回密码界面 end-->
      </div>
    </div>
    <!-- #BeginLibraryItem "/library/help.lbi" --><!-- #EndLibraryItem -->
    <!-- #BeginLibraryItem "/library/page_footer.lbi" --><!-- #EndLibraryItem -->
  </div>
</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>