westdc-zf1/application/admin/views/scripts/review/invite.phtml

65 lines
3.2 KiB
PHTML

<?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('<a href="/admin">后台首页</a>');
$this->breadcrumb('元数据评审');
$this->breadcrumb()->setSeparator(' > ');
?>
<div class="row">
<div class="hidden-sm hidden-xs col-md-2">
<?= $this->partial('review/left.phtml'); ?>
</div>
<div class="col-md-10 col-sm-12">
<?php if ($this->msg or $this->messages) :?>
<div id="message" class="alert alert-info">
<?php if ($this->msg) : ?>
<p><?php echo $this->msg; ?></p>
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
<p><?php echo $msg; ?></p>
<?php endforeach;endif; ?>
</div>
<?php endif; ?>
<div class="input-group form-group">
<form action="" method="get" class="search_form input-group">
<input type="text" name="keyword" class="q form-control" value="<?php echo $this->keyword; ?>" placeholder="搜索关键字"/>
<input type="hidden" name="search" value='1' />
<span class="input-group-btn"><button type="submit" class="btn btn-default">搜索</button></span>
</form>
</div>
<form action="" method="get" class="form-group">
<input type="hidden" name="id" value='<?php echo $this->id;?>' />
<input type="hidden" name="submit" value="1" />
<table class="stylized table table-bordered table-striped table-hover">
<thead><tr>
<td width="40">选择</td>
<td width='80'>用户ID</td>
<td width='100'>用户名</td>
<td width='100'>姓名</td>
<td width="250">单位</td>
<td width="100">联系电话</td>
<td width="100">电子邮箱</td>
</tr></thead>
<?php if (count($this->paginator)): ?>
<?php $autoindex=0;?>
<?php foreach ($this->paginator as $item): ?>
<?php $autoindex++;?>
<tr>
<td style="text-align:center;"><input type="checkbox" name="exps[]" value="<?php echo $item['id']; ?>" /></td>
<td><?php echo $item['id']; ?></td>
<td><?php echo $item['username']; ?></td>
<td><?php echo $item['realname']; ?></td>
<td><?php echo $item['unit']; ?></td>
<td><?php echo $item['phone']; ?></td>
<td><?php echo $item['email']; ?></td>
</tr>
<?php endforeach; ?>
<?php endif; ?>
</table>
<input class="btn btn-primary" type="submit" value="邀请选中的专家评审《<?php echo $this->md['title'];?>》" onclick="return confirm('是否确定邀请已选择的专家')" />
</form>
<div class="pagenavi"><?= $this->paginator; ?></div>
</div>
</div>