56 lines
2.4 KiB
PHTML
Executable File
56 lines
2.4 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('<a href="/admin/down">申请管理</a>');
|
|
$this->breadcrumb('用户下载记录');
|
|
$this->breadcrumb()->setSeparator(' > ');
|
|
$this->headScript()->appendFile('/js/prototype.js');
|
|
?>
|
|
<div class="row">
|
|
<div class="hidden-sm hidden-xs col-md-2">
|
|
<?= $this->partial('down/left.phtml'); ?>
|
|
</div>
|
|
<?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="col-md-10 col-sm-12">
|
|
<h4>用户 “<?php echo $this->infos['username']; ?>” 的下载记录dd</h4>
|
|
<hr />
|
|
<table class="stylized table table-bordered table-striped table-hover">
|
|
<thead><tr>
|
|
<td width='100'>姓名</td>
|
|
<td width='350'>数据</td>
|
|
<td width='150'>下载时间</td>
|
|
<td width='150'>操作</td>
|
|
</tr></thead>
|
|
<?php if (count($this->paginator)): ?>
|
|
<?php $autoindex=0;?>
|
|
<?php foreach ($this->paginator as $item): ?>
|
|
<?php $autoindex++;?>
|
|
<tr>
|
|
<td><a href="/admin/user/show/id/<?php echo $item['userid'];?>"><span class="glyphicon glyphicon-user"></span></a> <a href="/admin/down/user/show/<?php echo $item['userid'];?>"><?= $item['username']?></a> </td>
|
|
<td><a href="/data/<?php echo $item['uuid'];?>" target="_blank"><span class="glyphicon glyphicon-hdd"></span></a><a href="/admin/down/data/show/<?php echo $item['uuid'];?>"><?php echo $item['title'];?></a>(<?php echo $item['filesize'];?>MB)</td>
|
|
<td><?php echo date('Y-m-d H:i:s', strtotime($item['ts_created'])); ?></td>
|
|
<td>
|
|
<?php if($item['onlineappid']>0){echo '<a href="/admin/down/online/show/'.$item['onlineappid'].'">详细</a>';} ?>
|
|
<?php if ($item['offlineappid']>0) : ?>
|
|
<a href='/admin/down/offline/show/<?php echo $item['offlineappid'];?>'>详细</a>
|
|
<?php endif; ?>
|
|
</td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
<?php endif; ?>
|
|
</table>
|
|
<div class="pagenavi"><?= $this->paginator; ?></div>
|
|
</div>
|
|
</div>
|