webmain/system/geren/rock_geren_file.php
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?php if(!defined('HOST'))die('not access');?>
<script >
$(document).ready(function(){
{params};
var atype=params.atype;
var checkeds = adminid==1;
var a = $('#veiw_{rand}').bootstable({
tablename:'file',celleditor:true,sort:'id',dir:'desc',modedir:'{mode}:{dir}',params:{'atype':atype},fanye:true,checked:checkeds,
storebeforeaction:'filebefore',storeafteraction:'fileafter',
columns:[{
text:'类型',dataIndex:'fileext',renderer:function(v, d){
if(!isempt(d.thumbpath))return '<img src="'+d.thumbpath+'" width="24" height="24">';
var lxs = js.filelxext(v);
return '<img src="web/images/fileicons/'+lxs+'.gif">';
}
},{
text:'名称',dataIndex:'filename',align:'left',renderer:function(v,d){
var ss='';
if(d.status==2)ss='<img title="远程文件" src="web/images/fileicons/html.gif">';
return ''+v+''+ss+'';
}
},{
text:'大小',dataIndex:'filesizecn',sortable:true
},{
text:'上传时间',dataIndex:'adddt',sortable:true
},{
text:'创建人',dataIndex:'optname',sortable:true
},{
text:'IP',dataIndex:'ip'
},{
text:'浏览器',dataIndex:'web'
},{
text:'下载次数',dataIndex:'downci',sortable:true,renderer:function(v,d,oi){
return ''+v+'<a href="javascript:;" onclick="showvies{rand}('+oi+',2)">查看</a>';
}
},{
text:'关联表',dataIndex:'mtype'
},{
text:'关联表ID',dataIndex:'mid'
},{
text:'ID',dataIndex:'id',sortable:true
},{
text:'关联模块',dataIndex:'mknum'
},{
text:'',dataIndex:'opt',renderer:function(v,d,oi){
if(d.status=='0'){
return '已删';
}else{
return '<a href="javascript:;" onclick="showvies{rand}('+oi+',0)">预览</a> <a href="javascript:;" onclick="showvies{rand}('+oi+',1)"><i class="icon-arrow-down"></i></a>';
}
}
}],
itemclick:function(){
btn(false);
},
itemdblclick:function(d){
c.openlogs(d);
}
});
后面还有 79 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
