westdc-zf1/application/default/views/scripts/data/offlineapp.phtml

30 lines
981 B
PHTML

<?php
$this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->data);
$this->headTitle('最近20条离线数据申请');
$this->headTitle($this->codename);
$this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/offlineapp.css');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
$this->breadcrumb('最近20条离线数据申请');
$this->breadcrumb()->setSeparator(' > ');
?>
<div id="offlinelist">
<table>
<thead><tr>
<td class="name">姓名</td>
<td class="unit">单位</td>
<td class="date">申请日期</td>
<td class="datalist">申请数据</td>
</tr></thead>
<?php foreach($this->rows as $r) : ?>
<tr>
<td class="name"><?= $r['username']; ?></td>
<td class="unit"><?= $r['unit']; ?></td>
<td class="date"><?= date('Y-m-d',strtotime($r['ts_created'])); ?></td>
<td class="datalist"><?= $r['datalist']; ?></td>
</tr>
<?php endforeach; ?>
</table>
</div>