53 lines
2.9 KiB
PHTML
53 lines
2.9 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('<a href="/admin/down">申请管理</a>');
|
|
$this->breadcrumb('离线数据申请管理</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">离线数据服务记录</div>
|
|
<a href="/admin/down/offline/add/1">添加新的离线服务记录</a> | <a href="/admin/down/offline/down/1">下载所有离线服务记录</a> | <a href="/admin/down/offline/update/1" onclick="return confirm('该操作需要较长时间,请不要中途刷新页面,是否确定继续?')">自动匹配离线下载用户与网站用户</a> | <a href="/admin/down/offline/emaillist/1">下载服务用户邮箱列表</a>
|
|
<?php if (count($this->paginator)): ?>
|
|
<div id="datalist">
|
|
<ul>
|
|
<?php $autoindex=0;?>
|
|
<?php foreach ($this->paginator as $item): ?>
|
|
<?php $autoindex++;?>
|
|
|
|
<li>
|
|
<label>姓名:</label><a href="/admin/down/user/show/<?php echo $item['userid'];?>"><?= $item['username']; ?></a><br />
|
|
<label>单位:</label><?= $item['unit']; ?><br />
|
|
<label>地址:</label><?= $item['address']; ?><br />
|
|
<label>邮编:</label><?= $item['postcode']; ?><br />
|
|
<label>用途:</label><br /><textarea readonly="readonly" style="width:500px;height:70px;font-size:12px;"><?= $item['project']; ?></textarea><br />
|
|
<label>数据清单:</label><br /><textarea readonly="readonly" style="width:500px;height:70px;font-size:12px;"><?= $item['datalist']; ?></textarea><br />
|
|
<label>申请时间:</label><?= date('Y-m-d',strtotime($item['ts_created'])); ?><br />
|
|
<label>操作:</label> <a href="/admin/down/offline/edit/<?= $item['id']; ?>">编辑</a> |
|
|
<a href="/admin/down/offline/delete/<?= $item['id']; ?>" title="该操作将删除此记录并且删除与此记录有关的申请记录!请谨慎操作" onclick="return confirm('请仅删除测试用途的离线服务记录!')">删除</a> |
|
|
<a href="/admin/down/offlineapp/view/<?= $item['id']; ?>">PDF</a> |
|
|
<a href="/admin/down/offline/show/<?= $item['id']; ?>">详细</a> |
|
|
<a href="/admin/down/offlineapp/finish/<?= $item['id']; ?>">重新通过</a>
|
|
</li>
|
|
<?php endforeach; ?>
|
|
</ul>
|
|
</div>
|
|
<?php endif; ?>
|
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
|
</div>
|