41 lines
1.7 KiB
PHTML
41 lines
1.7 KiB
PHTML
|
<?php
|
||
|
$this->headTitle($this->config->title->site);
|
||
|
$this->headTitle('用户登录');
|
||
|
$this->headTitle()->setSeparator(' - ');
|
||
|
$this->breadcrumb('<a href="/">首页</a>');
|
||
|
$this->breadcrumb('<a href="/account/login">用户登录</a>');
|
||
|
$this->breadcrumb()->setSeparator(' > ');
|
||
|
?>
|
||
|
<div class="row-fluid">
|
||
|
<?php if(!empty($this->error)) { ?>
|
||
|
<?= $this->error ?>
|
||
|
<?php } ?>
|
||
|
<form method="post" class="form-horizontal">
|
||
|
<div class="control-group">
|
||
|
<label class="control-label" for="username">用户名</label>
|
||
|
<div class="controls">
|
||
|
<input id="username" type="text" value="" name="username" />
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="control-group">
|
||
|
<label class="control-label" for="password">密码</label>
|
||
|
<div class="controls">
|
||
|
<input id="password" type="password" value="" name="password" />
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="control-group">
|
||
|
<label class="control-label" for="confirm_password">确认密码</label>
|
||
|
<div class="controls">
|
||
|
<input id="confirm_password" type="password" value="" name="confirm_password" />
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="control-group">
|
||
|
<div class="controls">
|
||
|
<input type="hidden" name="submit" value="1" />
|
||
|
<input type="hidden" name="salt" value="<?= $this->salt ?>" />
|
||
|
<button type="submit" class="btn">提交</button>
|
||
|
<a href="/account/login">登录 </a> <a href="/account/register">注册新用户</a>
|
||
|
</div>
|
||
|
</div>
|
||
|
</form>
|
||
|
</div>
|