'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'vb題庫管理系統(tǒng)設(shè)計(源代碼論文).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'vb題庫管理系統(tǒng)設(shè)計(源代碼+論文) (包含37個文件)', },{ id:'0000100001', pId:'00001', name:'vb題庫管理系統(tǒng)設(shè)計(源代碼+論文) (包含36個文件)', },{ id:'000010000100001', pId:'0000100001', name:'DataEnvironment1.DCA (3KB)', },{ id:'000010000100002', pId:'0000100001', name:'DataEnvironment1.Dsr (3KB)', },{ id:'000010000100003', pId:'0000100001', name:'DataEnvironment1.log (0KB)', },{ id:'000010000100004', pId:'0000100001', name:'DataReport1.DCA (46KB)', },{ id:'000010000100005', pId:'0000100001', name:'DataReport1.Dsr (8KB)', },{ id:'000010000100006', pId:'0000100001', name:'DataReport1.dsx (0KB)', },{ id:'000010000100007', pId:'0000100001', name:'db1.mdb (932KB)', },{ id:'000010000100008', pId:'0000100001', name:'Form1.frm (2KB)', },{ id:'000010000100009', pId:'0000100001', name:'Form1.frx (0KB)', },{ id:'000010000100010', pId:'0000100001', name:'Form10.frm (8KB)', },{ id:'000010000100011', pId:'0000100001', name:'Form10.frx (0KB)', },{ id:'000010000100012', pId:'0000100001', name:'Form2.frm (3KB)', },{ id:'000010000100013', pId:'0000100001', name:'Form2.frx (2KB)', },{ id:'000010000100014', pId:'0000100001', name:'Form2.log (0KB)', },{ id:'000010000100015', pId:'0000100001', name:'Form3.frm (5KB)', },{ id:'000010000100016', pId:'0000100001', name:'Form3.frx (0KB)', },{ id:'000010000100017', pId:'0000100001', name:'Form4.frm (15KB)', },{ id:'000010000100018', pId:'0000100001', name:'Form4.frx (0KB)', },{ id:'000010000100019', pId:'0000100001', name:'Form5.frm (5KB)', },{ id:'000010000100020', pId:'0000100001', name:'Form5.frx (0KB)', },{ id:'000010000100021', pId:'0000100001', name:'Form6.frm (5KB)', },{ id:'000010000100022', pId:'0000100001', name:'Form6.frx (0KB)', },{ id:'000010000100023', pId:'0000100001', name:'Form7.frm (15KB)', },{ id:'000010000100024', pId:'0000100001', name:'Form7.frx (0KB)', },{ id:'000010000100025', pId:'0000100001', name:'Form8.frm (7KB)', },{ id:'000010000100026', pId:'0000100001', name:'Form8.frx (0KB)', },{ id:'000010000100027', pId:'0000100001', name:'Form9.frm (12KB)', },{ id:'000010000100028', pId:'0000100001', name:'Form9.frx (0KB)', },{ id:'000010000100029', pId:'0000100001', name:'KYGL.MDB (676KB)', },{ id:'000010000100032', pId:'0000100001', name:'Module1.bas (0KB)', },{ id:'000010000100033', pId:'0000100001', name:'MSDATGRD.OCX (256KB)', },{ id:'000010000100034', pId:'0000100001', name:'MSSCCPRJ.SCC (0KB)', },{ id:'000010000100036', pId:'0000100001', name:'工程1.vbp (1KB)', },{ id:'000010000100037', pId:'0000100001', name:'工程1.vbw (0KB)', },{ id:'000010000100038', pId:'0000100001', name:'論文.DOC (1869KB)', click:'getBookinfo(8610651)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100039', pId:'0000100001', name:'題庫.exe (92KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'vb題庫管理系統(tǒng)設(shè)計(源代碼論文).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100038', pId:'0000100001', name:'論文.DOC',url:'http://canyonlakefaqs.com/p-8610651.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 = '3595046'; 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; }); });