webmain/system/geren/rock_geren_vcard.php

(开头部分) 4KB

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

<?php if(!defined('HOST'))die('not access');?>
<script >
$(document).ready(function(){
	var pid,typeid=0,sspid=0;
	var at = $('#optionview_{rand}').bootstree({
		url:js.getajaxurl('gettreedata','option','system',{'num':'gerenvcard_'+adminid+''}),
		columns:[{
			text:'分组',dataIndex:'name',align:'left',xtype:'treecolumn',width:'79%'
		},{
			text:'排序号',dataIndex:'sort',width:'20%'
		}],
		load:function(d){
			if(sspid==0){
				typeid = d.pid;
				sspid = d.pid;
				c.loadfile('','所有联系人');
			}
		},
		itemdblclick:function(d){
			typeid = d.id;
			c.loadfile(d.name,d.name);
		}
	});;
	var modenum = 'vcard';
	var a = $('#view_{rand}').bootstable({
		tablename:modenum,celleditor:true,sort:'sort',dir:'asc',fanye:true,autoLoad:false,modenum:modenum,modename:'个人通讯录',
		columns:[{
			text:'姓名',dataIndex:'name'
		},{
			text:'性别',dataIndex:'sex'
		},{
			text:'单位',dataIndex:'unitname'
		},{
			text:'电话',dataIndex:'tel',editor:true
		},{
			text:'手机号',dataIndex:'mobile',editor:true
		},{
			text:'邮箱',dataIndex:'email'
		},{
			text:'所在组',dataIndex:'gname',editor:true
		},{
			text:'地址',dataIndex:'address'
		},{
			text:'排序号',dataIndex:'sort',editor:true,sortable:true
		},{
			text:'操作时间',dataIndex:'optdt'
		},{
			text:'',dataIndex:'caozuo'
		}]
	});


	var c = {
		reload:function(){
			at.reload();
		},
		loadfile:function(spd,nsd){
			$('#megss{rand}').html(nsd);
			a.setparams({'gname':spd}, true);
		},
后面还有 98 行代码,购买后查看完整代码

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

AI 解读 AI

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

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