webmain/flow/page/rock_page_worcword.php

(开头部分) 9KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<?php
/**
*	模块:文档中心
*/
defined('HOST') or die ('not access');
?>
<script >
$(document).ready(function(){
	
	
	var cqid = 0,typeid = 0,lboss=false,fqarr={},isnotquan=true,isup=false;
	var at = $('#optionview_{rand}').bootstree({
		url:publicmodeurl('worc','getworc'),
		columns:[{
			text:'文档分区',dataIndex:'name',align:'left',xtype:'treecolumn',width:'74%'
		},{
			text:'文件数',dataIndex:'wcount',width:'25%'
		}],
		load:function(d){
			if(!lboss && d.ids)a.setparams({'cqids':d.ids}, true);
			lboss = true;
			for(var i=0;i<d.rows.length;i++)fqarr[d.rows[i].id]=d.rows[i];//记录是否管理权限
		},
		itemdblclick:function(d){
			c.openfenqu(d.id,d.name);
		},
		itemclick:function(d){
			
		}
	});
	
	var a = $('#view_{rand}').bootstable({
		tablename:'word',celleditor:true,autoLoad:false,checked:true,url:publicmodeurl('worc','getfiledata'),fanye:true,
		columns:[{
			text:'',dataIndex:'fileext',renderer:function(v,d){
				if(!isempt(d.thumbpath))return '<img src="'+d.thumbpath+'" width="24" height="24">';
				if(v!='folder'){
					var lxs = js.filelxext(v);
					return '<img src="web/images/fileicons/'+lxs+'.gif">';
				}else{
					return '<img src="images/folder.png" height="24">';
				}
			}
		},{
			text:'名称',dataIndex:'name',editor:true,align:'left',editorbefore:function(d){
				if(isnotquan){
					return false;
				}else{
					return true;
				}
			}
		},{
			text:'大小',dataIndex:'filesizecn',sortable:true
		},{
			text:'创建者',dataIndex:'optname'
		},{
			text:'时间',dataIndex:'optdt'
		},{
			text:'共享给',dataIndex:'shate'
		},{
后面还有 248 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。