<div id="body">
<div class="link_path"><a href="{$_config[siteurl]}">首页</a>&nbsp;&raquo;&nbsp;用户登录</div>
<div class="mainrail rail-border-1">
    <h1 class="rail-h-1 rail-h-bg-1">用户登录</h1>
    <!--{if $error}--><div class="formerror">$error</div><!--{/if}-->
    <div class="post">
        <form method="post" action="{$_config[siteurl]}member/login.php">
        <input type="hidden" name="forward" value="$forward" />
        <table class="table" cellspacing="0" cellpadding="0" align="center">
            <tr>
                <td width="10%" align="right">用户名：</td>
                <td width="*"><input type="text" name="username" value="" class="t_input" /></td>
            </tr>
            <tr>
                <td align="right">密码：</td>
                <td><input type="password" name="password" class="t_input" /></td>
            </tr>
            <!--{if $_seccode['login']}-->
            <tr>
                <td align="right">验证码：</td>
                <td><div id="seccode"></div><input type="text" name="seccode" class="t_input" onfocus="show_seccode();" /></td>
            </tr>
            <!--{/if}-->
            <tr>
                <td align="right"></td>
                <td><input type="checkbox" name="life" id="life" value="2592000" /><label for="life">记住密码(30天)</label></td>
            </tr>
            <tr>
                <td></td>
                <td><a href="{$_config[siteurl]}member/reg.php">还不是会员，请注册</a>&nbsp;&nbsp;<a href="{$_config[siteurl]}member/login.php?forget=yes">忘记密码了？</a></td>
            </tr>
            <tr>
                <td></td>
                <td><button type="submit" value="yes" name="loginsubmit">&nbsp;登&nbsp;录&nbsp;</button></td>
            </tr>
        </table>
        </form>
    </div>
</div>
</div>