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

74 lines
2.6 KiB
PHTML
Raw Normal View History

2011-10-08 08:40:07 +00:00
<?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 id="divContent">
<div id="leftPanel">
<?= $this->partial('review/left.phtml'); ?>
</div>
<?php if ($this->msg or $this->messages) :?>
<div id="message">
<?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 id="rightPanel">
<div class="search">
<form action="" method="get">
<input type="hidden" name="search" value='1' />
<input type="hidden" name="id" value='<?php echo $this->id;?>' />
<ul>
<li><label>搜索关键字</label><input type="text" name="keyword" value="<?php echo $this->keyword; ?>" /></li>
<li><input type="submit" class="searchbtn" value="搜索" /></li>
</ul>
</form>
</div><!-- search DIV -->
<form action="" method="get">
<input type="hidden" name="id" value='<?php echo $this->id;?>' />
<input type="hidden" name="submit" value="1" />
<table>
<tr style="color:#FFF;background:#0a3e68;line-height:30px;">
<td width="50">选择</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>
<?php if (count($this->paginator)): ?>
<?php $autoindex=0;?>
<?php foreach ($this->paginator as $item): ?>
<?php $autoindex++;?>
<tr <?php if($autoindex%2 == 0) echo 'bgcolor="#CCCCCC"'; else echo 'bgcolor="#FFFFFF"'; ?>>
<td><input type="checkbox" name="exps[]" value="<?php echo $item['id']; ?>" /></td>
2011-10-08 08:40:07 +00:00
<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 type="submit" value="邀请选中的专家评审《<?php echo $this->md['title'];?>》" onclick="return confirm('是否确定邀请已选择的专家')" />
2011-10-08 08:40:07 +00:00
</form>
<div style="width:50%;text-align:left;">
<?= $this->paginator; ?></div>
</div>
</div>