'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'學(xué)科建設(shè).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'學(xué)科建設(shè) (包含44個文件)', },{ id:'0000100001', pId:'00001', name:'Connections (包含2個文件)', },{ id:'000010000100001', pId:'0000100001', name:'conn.asp (0KB)', },{ id:'000010000100002', pId:'0000100001', name:'新建 文本文檔.txt (0KB)', click:'getBookinfo(8863226)', icon:'/Images/filetype/TXT16.PNG'},{ id:'0000100002', pId:'00001', name:'data (包含2個文件)', },{ id:'000010000200001', pId:'0000100002', name:'k_Data.MDF (1024KB)', },{ id:'000010000200002', pId:'0000100002', name:'k_Log.LDF (1024KB)', },{ id:'0000100003', pId:'00001', name:'img (包含5個文件)', },{ id:'000010000300001', pId:'0000100003', name:'200582823194317821.jpg (4KB)', click:'getBookinfo(8863227)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000300002', pId:'0000100003', name:'200582823271444691.gif (7KB)', click:'getBookinfo(8863228)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000300003', pId:'0000100003', name:'banner.jpg (7KB)', click:'getBookinfo(8863229)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000300004', pId:'0000100003', name:'menu-01.gif (0KB)', click:'getBookinfo(8863230)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000300005', pId:'0000100003', name:'z.css (0KB)', },{ id:'0000100004', pId:'00001', name:'uploadimg (包含4個文件)', },{ id:'000010000400001', pId:'0000100004', name:'200852921372592906.gif (74KB)', click:'getBookinfo(8863231)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000400002', pId:'0000100004', name:'200852921384720795.gif (98KB)', click:'getBookinfo(8863232)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000400003', pId:'0000100004', name:'200852921392169472.jpg (2KB)', click:'getBookinfo(8863233)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000400004', pId:'0000100004', name:'2008530025135614.jpg (22KB)', click:'getBookinfo(8863234)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'_notes (包含4個文件)', },{ id:'000010000500001', pId:'0000100005', name:'admin.asp.mno (0KB)', },{ id:'000010000500002', pId:'0000100005', name:'s.asp.mno (0KB)', },{ id:'000010000500003', pId:'0000100005', name:'t.asp.mno (1KB)', },{ id:'000010000500004', pId:'0000100005', name:'w.asp.mno (0KB)', },{ id:'0000100006', pId:'00001', name:'admin.asp (14KB)', },{ id:'0000100007', pId:'00001', name:'cg.htm (0KB)', },{ id:'0000100008', pId:'00001', name:'cg1.htm (0KB)', },{ id:'0000100009', pId:'00001', name:'cg2.htm (0KB)', },{ id:'0000100010', pId:'00001', name:'cg3.htm (0KB)', },{ id:'0000100011', pId:'00001', name:'cg4.htm (0KB)', },{ id:'0000100012', pId:'00001', name:'foot.htm (0KB)', },{ id:'0000100013', pId:'00001', name:'index.asp (6KB)', },{ id:'0000100014', pId:'00001', name:'k_Data.MDF (1024KB)', },{ id:'0000100015', pId:'00001', name:'k_Log.LDF (1024KB)', },{ id:'0000100016', pId:'00001', name:'s.asp (16KB)', },{ id:'0000100017', pId:'00001', name:'t.asp (25KB)', },{ id:'0000100018', pId:'00001', name:'top.asp (0KB)', },{ id:'0000100019', pId:'00001', name:'top1.asp (1KB)', },{ id:'0000100020', pId:'00001', name:'upfile.asp (1KB)', },{ id:'0000100021', pId:'00001', name:'upload.asp (0KB)', },{ id:'0000100022', pId:'00001', name:'upload.inc (5KB)', },{ id:'0000100023', pId:'00001', name:'w.asp (15KB)', },{ id:'0000100024', pId:'00001', name:'y.asp (2KB)', },{ id:'0000100025', pId:'00001', name:'學(xué)科建設(shè)論文.doc (622KB)', click:'getBookinfo(8863235)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100026', pId:'00001', name:'數(shù)據(jù)庫.txt (1KB)', click:'getBookinfo(8863236)', icon:'/Images/filetype/TXT16.PNG'},{ id:'0000100027', pId:'00001', name:'說明.txt (0KB)', click:'getBookinfo(8863237)', icon:'/Images/filetype/TXT16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'學(xué)科建設(shè).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100002', pId:'0000100001', name:'新建 文本文檔.txt',url:'http://m.facezit.com/p-8863226.html', target:'_blank' },{ id:'000010000300001', pId:'0000100003', name:'200582823194317821.jpg',url:'http://m.facezit.com/p-8863227.html', target:'_blank' },{ id:'000010000300002', pId:'0000100003', name:'200582823271444691.gif',url:'http://m.facezit.com/p-8863228.html', target:'_blank' },{ id:'000010000300003', pId:'0000100003', name:'banner.jpg',url:'http://m.facezit.com/p-8863229.html', target:'_blank' },{ id:'000010000300004', pId:'0000100003', name:'menu-01.gif',url:'http://m.facezit.com/p-8863230.html', target:'_blank' },{ id:'000010000400001', pId:'0000100004', name:'200852921372592906.gif',url:'http://m.facezit.com/p-8863231.html', target:'_blank' },{ id:'000010000400002', pId:'0000100004', name:'200852921384720795.gif',url:'http://m.facezit.com/p-8863232.html', target:'_blank' },{ id:'000010000400003', pId:'0000100004', name:'200852921392169472.jpg',url:'http://m.facezit.com/p-8863233.html', target:'_blank' },{ id:'000010000400004', pId:'0000100004', name:'2008530025135614.jpg',url:'http://m.facezit.com/p-8863234.html', target:'_blank' },{ id:'0000100025', pId:'00001', name:'學(xué)科建設(shè)論文.doc',url:'http://m.facezit.com/p-8863235.html', target:'_blank' },{ id:'0000100026', pId:'00001', name:'數(shù)據(jù)庫.txt',url:'http://m.facezit.com/p-8863236.html', target:'_blank' },{ id:'0000100027', pId:'00001', name:'說明.txt',url:'http://m.facezit.com/p-8863237.html', target:'_blank' }]; $(document).ready(function(){ if(JSON.stringify(zNodes)=="{}") { $("#ysyl").hide(); }else { $.fn.zTree.init($("#treeDemo"), setting, zNodes); $.fn.zTree.init($("#treeDemo2"), setting, zNodes2); } }); $(function() { $("#jubao input[type='radio']").click(function() { $("#hidTypeID").val($(this).val()); }); }); function jubao() { var userid = '0'; if (userid != "" && userid != undefined && userid != "0") { $("#jubao").show(); } else { alert("請登錄!");window.location.href='login.aspx'; } } function saveJuBao() { var bookid = '3694001'; var type = $("#hidTypeID").val(); if (type != "" && type != undefined && bookid != "" && bookid != undefined) { $.ajax({ type: "post", url: "View.aspx/JuBao", data: "{bookid: '" + bookid + "', type: '" + type + "' }", contentType: "application/json; charset=utf-8", dataType: "json", success: function(data) { $("#jubao").hide(); $("#jubaoResponse").show(); if (data.d != "0") { $("#jubaoResponse h4").html("您的舉報提交成功"); } else { $("#jubaoResponse h4").html("您的舉報提交失敗"); } } }); } else { alert("請選擇投訴類型或者數(shù)據(jù)錯誤請刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });