42 lines
2.0 KiB
PHTML
Executable File
42 lines
2.0 KiB
PHTML
Executable File
<?php
|
|
$this->headTitle($this->config->title->site);
|
|
$this->headTitle('后台管理');
|
|
$this->headTitle()->setSeparator(' - ');
|
|
$this->breadcrumb('<a href="/">首页</a>');
|
|
$this->breadcrumb('<a href="/admin/">后台首页</a>');
|
|
$this->breadcrumb('<a href="/admin/user">用户管理</a>');
|
|
$this->breadcrumb()->setSeparator(' > ');
|
|
?>
|
|
<div class="row-fluid">
|
|
<div class="span3">
|
|
<?= $this->partial('user/left.phtml'); ?>
|
|
</div>
|
|
|
|
<div class="span9">
|
|
<form name="form1" method="post" action="/admin/user/edit">
|
|
<table class="table">
|
|
<tr><td width="100">ID</td><td width="600"><?= $this->infos['id'];?></td></tr>
|
|
<tr><td>用户名</td><td><?= $this->infos['username'];?></td></tr>
|
|
<tr><td>真实姓名</td><td><?= $this->infos['realname'];?></td></tr>
|
|
<tr><td>电子邮箱</td><td><?= $this->infos['email'];?></td></tr>
|
|
<tr><td>注册时间</td><td><?=$this->infos['ts_created'];?></td></tr>
|
|
<tr><td>最后登陆时间</td><td><?= $this->infos['ts_last_login'];?></td></tr>
|
|
<tr><td>单位</td><td><?= $this->infos['unit'];?></td></tr>
|
|
<tr><td>地址</td><td><?= $this->infos['address'];?></td></tr>
|
|
<tr><td>电话</td><td><?= $this->infos['phone'];?></td></tr>
|
|
<tr><td>项目</td><td><?= $this->infos['project'];?></td></tr>
|
|
<tr><td>用户组</td><td>
|
|
<select name="usertype">
|
|
<?php foreach($this->usertypes as $k=>$v){ ?>
|
|
<option value="<?= $v ?>" <?= $this->infos['usertype'] == $v ? 'selected="selected"':"" ?>><?= $k ?></option>
|
|
<?php } ?>
|
|
</select>
|
|
</td></tr>
|
|
<tr><td>用户密码</td><td><input type='password' name="newpwd" /></td></tr>
|
|
<tr><td>确认用户密码</td><td><input type='password' name="cfnewpwd" /></td></tr>
|
|
</table>
|
|
<input type='hidden' value="<?php echo $this->infos['id'];?>" name='id' />
|
|
<input type="submit" value="提交" class="btn btn-primary" />
|
|
</form>
|
|
</div>
|
|
</div>
|