修改链接

This commit is contained in:
wlx 2011-09-14 05:06:43 +00:00
parent c8d34ba075
commit 8555a89098
5 changed files with 16 additions and 26 deletions

View File

@ -29,7 +29,7 @@
<div id="rightPanel">
<table>
<tr style="color:#FFF;background:#0a3e68;line-height:30px;">
<td width='350'>资料名称</td>
<td width='350'>数据</td>
<td width='150'>下载次数</td>
<td width='150'>操作</td>
</tr>
@ -38,10 +38,10 @@
<?php foreach ($this->paginator as $item): ?>
<?php $autoindex++;?>
<tr <?php if($autoindex%2 == 0) echo 'bgcolor="#CCCCCC"'; else echo 'bgcolor="#FFFFFF"'; ?>>
<td><a href="/data/<?php echo $item['uuid'];?>" target="_blank"><?php echo $item['title'];?></a></td>
<td><a href="/data/<?php echo $item['uuid'];?>" target="_blank"><img src="/images/data.gif" /></a><a href="/admin/down/data/show/<?php echo $item['uuid'];?>"><?php echo $item['title'];?></a></td>
<td><?php echo $item['num']; ?></td>
<td>
<a href='/admin/down/data/ac/show/uuid/<?php echo $item['uuid'];?>'>查看详细</a>
<a href='/admin/down/data/ac/show/uuid/<?php echo $item['uuid'];?>'>详细</a>
</td>
</tr>
<?php endforeach; ?>

View File

@ -5,6 +5,7 @@
$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');

View File

@ -31,7 +31,6 @@
<div style="font-size:16px;line-height:30px;"><?php echo $this->infos['title']; ?>” 的下载记录</div>
<table>
<tr style="color:#FFF;background:#0a3e68;line-height:30px;">
<td width='80'>id</td>
<td width='100'>姓名</td>
<td width='350'>资料名称</td>
<td width='150'>下载时间</td>
@ -42,19 +41,14 @@
<?php foreach ($this->paginator as $item): ?>
<?php $autoindex++;?>
<tr <?php if($autoindex%2 == 0) echo 'bgcolor="#CCCCCC"'; else echo 'bgcolor="#FFFFFF"'; ?>>
<td><?= $item['id']?></td>
<td><?= $item['username']?></td>
<td><a href="/data/<?php echo $item['uuid'];?>" target="_blank"><?php echo $item['title'];?></a></td>
<td><a href="/admin/user/show/<?php echo $item['userid'];?>"><img src="/images/user.gif" /></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"><img src="/images/data.gif" /></a><a href="/admin/down/data/show/<?php echo $item['uuid'];?>"><?php echo $item['title'];?></a></td>
<td><?php echo date('Y-m-d H:i:s', strtotime($item['ts_created'])); ?></td>
<td>
<a href='/admin/down/online/ac/show/id/<?php echo $item['id'];?>'>查看详细</a>
<a href='/admin/down/online/ac/delete/id/<?= $item['id'];?>/' onclick="return confirm('确定将此记录删除?')">删除</a>
<a href='/admin/down/online/ac/show/id/<?php echo $item['id'];?>'>详细</a>
</td>
</tr>
<?php endforeach; ?>
<?php endif; ?>
</table>
<div style="width:50%;text-align:left;">
<?= $this->paginator; ?>
</div>
</div>

View File

@ -5,8 +5,8 @@
$this->headLink()->appendStylesheet('/css/admin.css');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/admin">后台管理首页</a>');
$this->breadcrumb('<a href="/admin/stat">统计</a>');
$this->breadcrumb('在线下载记录');
$this->breadcrumb('<a href="/admin/down">申请管理</a>');
$this->breadcrumb('用户下载记录');
$this->breadcrumb()->setSeparator(' > ');
$this->headScript()->appendFile('/js/prototype.js');
?>
@ -31,9 +31,8 @@
<div style="font-size:16px;line-height:30px;">用户 “<?php echo $this->infos['username']; ?>” 的下载记录</div>
<table>
<tr style="color:#FFF;background:#0a3e68;line-height:30px;">
<td width='80'>id</td>
<td width='100'>姓名</td>
<td width='350'>资料名称</td>
<td width='350'>数据</td>
<td width='150'>下载时间</td>
<td width='150'>操作</td>
</tr>
@ -42,19 +41,14 @@
<?php foreach ($this->paginator as $item): ?>
<?php $autoindex++;?>
<tr <?php if($autoindex%2 == 0) echo 'bgcolor="#CCCCCC"'; else echo 'bgcolor="#FFFFFF"'; ?>>
<td><?= $item['id']?></td>
<td><?= $item['username']?></td>
<td><a href="/data/<?php echo $item['uuid'];?>" target="_blank"><?php echo $item['title'];?></a></td>
<td><a href="/admin/user/show/id/<?php echo $item['userid'];?>"><img src="/images/user.gif" /></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"><img src="/images/data.gif" /></a><a href="/admin/down/data/show/<?php echo $item['uuid'];?>"><?php echo $item['title'];?></a></td>
<td><?php echo date('Y-m-d H:i:s', strtotime($item['ts_created'])); ?></td>
<td>
<a href='/admin/down/online/ac/show/id/<?php echo $item['id'];?>'>查看详细</a>
<a href='/admin/down/online/ac/delete/id/<?= $item['id'];?>/' onclick="return confirm('确定将此记录删除?')">删除</a>
<a href='/admin/down/online/show/<?php echo $item['id'];?>'>详细</a>
</td>
</tr>
<?php endforeach; ?>
<?php endif; ?>
</table>
<div style="width:50%;text-align:left;">
<?= $this->paginator; ?>
</div>
</div>

View File

@ -5,6 +5,7 @@
$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');
@ -38,10 +39,10 @@
<?php foreach ($this->paginator as $item): ?>
<?php $autoindex++;?>
<tr <?php if($autoindex%2 == 0) echo 'bgcolor="#CCCCCC"'; else echo 'bgcolor="#FFFFFF"'; ?>>
<td><a href="/admin/user/show/id/<?php echo $item['uid'];?>" target="_blank"><?php echo $item['realname'];?></a></td>
<td><a href="/admin/user/show/<?php echo $item['uid'];?>"><img src="/images/user.gif" /></a> <a href="/admin/down/user/show/<?php echo $item['uid'];?>"><?= $item['realname']?></a> </td>
<td><?php echo $item['num']; ?></td>
<td>
<a href='/admin/down/user/ac/show/id/<?php echo $item['uid'];?>'>查看详细</a>
<a href='/admin/down/user/show/<?php echo $item['uid'];?>'>详细</a>
</td>
</tr>
<?php endforeach; ?>