delete error file
This commit is contained in:
parent
07d5e2163d
commit
6a442e9bdb
|
@ -1,86 +0,0 @@
|
|||
<?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/stat">统计</a>');
|
||||
$this->breadcrumb('在线下载记录');
|
||||
$this->breadcrumb()->setSeparator(' > ');
|
||||
$this->headScript()->appendFile('/js/prototype.js');
|
||||
?>
|
||||
<div id="divContent">
|
||||
|
||||
<div id="leftPanel">
|
||||
<ul>
|
||||
<li><a href="/admin/onlineapp">所有在线下载记录</a></li>
|
||||
<li><a href="/admin/onlineapp/datas">数据下载记录统计</a></li>
|
||||
<li><a href="/admin/onlineapp/users">用户下载记录统计</a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
<?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 id="rightPanel">
|
||||
<table>
|
||||
<tr style="color:#FFF;background:#0a3e68;line-height:30px;">
|
||||
<td width='350'>资料名称</td>
|
||||
<td width='150'>下载次数</td>
|
||||
<td width='150'>操作</td>
|
||||
</tr>
|
||||
<?php if (count($this->paginator)): ?>
|
||||
<?php $autoindex=0;?>
|
||||
<?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><?php echo $item['num']; ?></td>
|
||||
<td>
|
||||
<a href='/admin/onlineapp/showdata/uuid/<?php echo $item['uuid'];?>'>查看详细</a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</table>
|
||||
<div style="width:50%;text-align:left;">
|
||||
<?= $this->paginator; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="oxbox" style="display:none;">
|
||||
<div class="closeox"><a href="javascript:void(0);" onclick="$('oxbox').hide()">[关闭]</a></div>
|
||||
<div id="loading">加载中...</div>
|
||||
<div id="returninfo">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
function show(id)
|
||||
{
|
||||
var request_url = "/admin/onlineapp/show/";
|
||||
request_pars = 'id='+id;
|
||||
|
||||
var myAjax = new Ajax.Updater('returninfo', request_url,{
|
||||
method : 'get',
|
||||
parameters : request_pars,
|
||||
onFailure : reportError,
|
||||
onLoading : loading,
|
||||
onComplete : done,
|
||||
evalScripts: true
|
||||
});
|
||||
}
|
||||
function loading(){$('loading').style.display = 'block';}
|
||||
function done(){$('loading').style.display = 'none';}
|
||||
function reportError(request){alert('Sorry. There was an error.');}
|
||||
</script>
|
Loading…
Reference in New Issue