webmain/system/word/rock_word_guan.php

(开头部分) 9KB

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

<?php if(!defined('HOST'))die('not access');?>
<script >
$(document).ready(function(){
	{params};
	var num = params.num,pid,optlx=0,movefid='',showlx=params.showlx;
	var typeid=0,sspid=0;
	if(!showlx)showlx = '0';
	var sname = '个人';
	if(showlx=='1'){
		sname = '部门';
	}
	var at = $('#optionview_{rand}').bootstree({
		url:js.getajaxurl('getmywordtype','word','system'),params:{showlx:showlx},
		columns:[{
			text:''+sname+'文档类型',dataIndex:'name',align:'left',xtype:'treecolumn',width:'79%',renderer:function(v,d){
				var s1 = v;
				if(!isempt(d.recename))s1+='&nbsp;<span style="font-size:10px;color:#888888"><i  title="共享给:'+d.recename+'" class="icon-share-alt"></i></span>';
				return s1;
			}
		},{
			text:'序号',dataIndex:'sort',width:'20%'
		}],
		load:function(d){
			if(sspid==0){
				typeid = d.pid;
				sspid = d.pid;
				c.loadfile('0','所有文档');
			}
		},
		itemdblclick:function(d){
			typeid = d.id;
			c.loadfile(d.id,d.name);
		},
		itemclick:function(d){
			c.typeclidks(d);
			c.ismoveok(d);
		}
	});
	
	var a = $('#view_{rand}').bootstable({
		tablename:'file',celleditor:true,autoLoad:false,checked:true,modedir:'{mode}:{dir}',storebeforeaction:'wordbeforeaction',fanye:true,params:{showlx:showlx},
		columns:[{
			text:'',dataIndex:'fileext',renderer:function(v){
				var lxs = js.filelxext(v);
				return '<img src="web/images/fileicons/'+lxs+'.gif">';
			}
		},{
			text:'名称',dataIndex:'filename',editor:true,align:'left'
		},{
			text:'大小',dataIndex:'filesizecn',sortable:true
		},{
			text:'添加时间',dataIndex:'optdt',sortable:true
		},{
			text:'分类',dataIndex:'typename'
		},{
			text:'上传者',dataIndex:'optname'
		},{
			text:'共享给',dataIndex:'shate'
		},{
			text:'文件ID',dataIndex:'id'
后面还有 252 行代码,购买后查看完整代码

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

AI 解读 AI

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

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