westdc-zf1/application/admin/views/scripts/down/fixoffline.phtml

58 lines
2.2 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('<a href="/admin">后台首页</a>');
$this->breadcrumb()->setSeparator(' > ');
?>
<div id="leftPanel">
<?= $this->partial('down/left.phtml'); ?>
</div>
<div id="rightPanel">
<?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 class="right_title">离线申请中可能与网站会员关联的账户列表 (<?php echo $this->count;?> 条)</div>
<div><a href="/admin/down/fixoffline/nouserid/1">查看所有无用户ID的申请记录</a></div>
<form action="" method="get">
<table><thead>
<tr>
<td width='30'>选择</td>
<td width='80'>离线申请ID</td>
<td width='100'>离线申请姓名</td>
<td width='250'>离线申请单位</td>
<td width='100'>用户名</td>
<td width='100'>用户姓名</td>
<td width='250'>用户单位</td>
</tr></thead>
<?php if (count($this->paginator)): ?>
<?php $autoindex=0;?>
<?php foreach ($this->paginator as $item): ?>
<?php $autoindex++;?>
<tr class="<?php if($autoindex%2 == 0) echo 'even'; else echo 'odd'; ?>">
<td><input type="checkbox" name="orders[]" value="<?php echo $item['uid']?>,<?php echo $item['oid']?>" /></td>
<td><?php echo $item['oid']?></td>
<td><a href="/admin/down/offline/show/<?php echo $item['oid']; ?>"><?php echo $item['un'];?></a></td>
<td><?php echo $item['uu']; ?></td>
<td><a href="/admin/user/show/id/<?php echo $item['uid']; ?>"><?php echo $item['username'];?></a></td>
<td><?php echo $item['rn']; ?></td>
<td><?php echo $item['unit'];?></td>
</tr>
<?php endforeach; ?>
<?php endif; ?>
</table>
<div style="width:100%;text-align:left;">
<input type="hidden" name="fix" value='1' />
<input type="submit" value="匹配已选择的记录" onclick="return confirm('是否确定匹配这些用户')" />
</div>
</form>
<div class="pagenavi"><?= $this->paginator; ?></div>
</div>