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

47 lines
2.1 KiB
PHTML
Executable File

<?php
$this->headTitle($this->config->title->site);
$this->headTitle('后台管理');
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/admin.css');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('后台管理首页');
$this->breadcrumb()->setSeparator(' > ');
?>
<div class="row">
<div class="hidden-sm hidden-xs col-md-2">
<?= $this->partial('user/left.phtml'); ?>
</div>
<div class="col-md-10 col-sm-12">
<h4>用户总数:<?php echo $this->su['total'];?>,其中管理员: <?php echo $this->suadmin['total'];?></h4>
<hr>
<div class="clearfix"></div>
<div class="nav-divider"></div>
<form action="/admin/user/search/" method="get" class="form-horizontal">
<input type="hidden" name="search" value='1' />
<div class="form-group">
<label for="title" class="col-md-1 col-sm-1 col-xs-2 control-label">姓名</label>
<div class="col-md-4 col-sm-8 col-xs-8">
<input type="text" name="realname" class="form-control" placeholder="姓名关键字" />
</div>
</div>
<div class="form-group">
<label for="title" class="col-md-1 col-sm-1 col-xs-2 control-label">单位</label>
<div class="col-md-4 col-sm-8 col-xs-8">
<input type="text" name="unit" class="form-control" placeholder="单位关键字" />
</div>
</div>
<div class="form-group">
<label for="title" class="col-md-1 col-sm-1 col-xs-2 control-label">项目</label>
<div class="col-md-4 col-sm-8 col-xs-8">
<input type="text" name="project" class="form-control" placeholder="项目关键字" />
</div>
</div>
<div class="form-group">
<input type="hidden" name="search" value='1' />
<div class="col-md-5 col-sm-9 col-xs-10">
<input type="submit" value="搜索" class="btn btn-primary pull-right" />
</div>
</div>
</form>
</div>
</div>