westdc-zf1/application/admin/views/scripts/user/index.phtml

43 lines
1.8 KiB
PHTML
Raw Normal View History

<?php
$this->headTitle($this->config->title->site);
$this->headTitle('后台管理');
$this->headTitle()->setSeparator(' - ');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('后台管理首页');
$this->breadcrumb()->setSeparator(' > ');
?>
<div class="row-fluid">
<div class="span3">
<?= $this->partial('user/left.phtml'); ?>
</div>
<div class="span9">
<h3>用户总数: <?php echo $this->su['total'];?>,其中管理员: <?php echo $this->suadmin['total'];?></h3>
<hr />
<form action="/admin/user/search/" method="get">
<div class="control-group">
<label class="control-label" for="inputName">姓名/用户名</label>
<div class="controls">
<input type="text" id="inputName" placeholder="Name or Username" name="realname" class="input-xxlarge">
</div>
</div>
<div class="control-group">
<label class="control-label" for="inputUnit">单位</label>
<div class="controls">
<input type="text" id="inputUnit" placeholder="Unit" name="unit" class="input-xxlarge">
</div>
</div>
<div class="control-group">
<label class="control-label" for="inputProject">项目</label>
<div class="controls">
<input type="text" id="inputProject" placeholder="Project" name="project" class="input-xxlarge">
</div>
</div>
<div class="control-group">
<input type="hidden" name="search" value="1" />
<button type="submit" class="btn">搜索</button>
</div>
</form>
</div>
</div>