delete error file

This commit is contained in:
Li Jianxuan 2011-09-13 08:29:38 +00:00
parent 6a442e9bdb
commit 68b62c02fd
3 changed files with 0 additions and 270 deletions

View File

@ -1,92 +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">
<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>
<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><?= $item['id']?></td>
<td><?= $item['username']?></td>
<td><a href="/data/<?php echo $item['uuid'];?>" target="_blank"><?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/onlineapp/show/id/<?php echo $item['id'];?>'>查看详细</a>
<a href='/admin/onlineapp/delete/id/<?= $item['id'];?>/' onclick="return confirm('确定将此记录删除?')">删除</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>

View File

@ -1,92 +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">
<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='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><?= $item['id']?></td>
<td><?= $item['username']?></td>
<td><a href="/data/<?php echo $item['uuid'];?>" target="_blank"><?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/onlineapp/show/id/<?php echo $item['id'];?>'>查看详细</a>
<a href='/admin/onlineapp/delete/id/<?= $item['id'];?>/' onclick="return confirm('确定将此记录删除?')">删除</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>

View File

@ -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="/admin/user/show/id/<?php echo $item['uid'];?>" target="_blank"><?php echo $item['realname'];?></a></td>
<td><?php echo $item['num']; ?></td>
<td>
<a href='/admin/onlineapp/showuser/id/<?php echo $item['uid'];?>'>查看详细</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>