'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'asp家教信息管理系統(tǒng)(源代碼論文).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'ASP家教信息管理系統(tǒng)(源代碼+論文) (包含41個文件)', },{ id:'0000100001', pId:'00001', name:'db (包含1個文件)', },{ id:'000010000100001', pId:'0000100001', name:'info.mdb (308KB)', },{ id:'0000100002', pId:'00001', name:'image (包含5個文件)', },{ id:'000010000200001', pId:'0000100002', name:'0.gif (5KB)', click:'getBookinfo(8406367)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200002', pId:'0000100002', name:'01.gif (1KB)', click:'getBookinfo(8406368)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200003', pId:'0000100002', name:'img3_3.jpg (4KB)', click:'getBookinfo(8406369)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200004', pId:'0000100002', name:'more.gif (1KB)', click:'getBookinfo(8406370)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200005', pId:'0000100002', name:'Thumbs.db (12KB)', },{ id:'0000100003', pId:'00001', name:'search (包含3個文件)', },{ id:'000010000300001', pId:'0000100003', name:'sdealsearch.asp (2KB)', },{ id:'000010000300002', pId:'0000100003', name:'search.asp (2KB)', },{ id:'000010000300003', pId:'0000100003', name:'tdealsearch.asp (2KB)', },{ id:'0000100004', pId:'00001', name:'student (包含5個文件)', },{ id:'000010000400001', pId:'0000100004', name:'dealstudentreg.asp (1KB)', },{ id:'000010000400002', pId:'0000100004', name:'studentdetailreg.asp (3KB)', },{ id:'000010000400003', pId:'0000100004', name:'studentdetailreg.htm (2KB)', },{ id:'000010000400004', pId:'0000100004', name:'studentreg.asp (2KB)', },{ id:'000010000400005', pId:'0000100004', name:'studentreg.htm (1KB)', },{ id:'0000100005', pId:'00001', name:'teacher (包含5個文件)', },{ id:'000010000500001', pId:'0000100005', name:'dealteacherreg.asp (1KB)', },{ id:'000010000500002', pId:'0000100005', name:'teacherdetailreg.asp (4KB)', },{ id:'000010000500003', pId:'0000100005', name:'teacherdetailreg.htm (3KB)', },{ id:'000010000500004', pId:'0000100005', name:'teacherreg.asp (2KB)', },{ id:'000010000500005', pId:'0000100005', name:'teacherreg.htm (1KB)', },{ id:'0000100006', pId:'00001', name:'teacheralter (包含9個文件)', },{ id:'000010000600001', pId:'0000100006', name:'chagepw.asp (1KB)', },{ id:'000010000600002', pId:'0000100006', name:'chagepw.htm (0KB)', },{ id:'000010000600003', pId:'0000100006', name:'changepersoninfo.asp (3KB)', },{ id:'000010000600004', pId:'0000100006', name:'delinfo.asp (0KB)', },{ id:'000010000600005', pId:'0000100006', name:'head.asp (1KB)', },{ id:'000010000600006', pId:'0000100006', name:'left.htm (0KB)', },{ id:'000010000600007', pId:'0000100006', name:'putout.asp (1KB)', },{ id:'000010000600008', pId:'0000100006', name:'right.asp (0KB)', },{ id:'000010000600009', pId:'0000100006', name:'teacheralter.asp (0KB)', },{ id:'0000100007', pId:'00001', name:'head.htm (0KB)', },{ id:'0000100008', pId:'00001', name:'index.asp (3KB)', },{ id:'0000100009', pId:'00001', name:'index.htm (1KB)', },{ id:'0000100010', pId:'00001', name:'studentinfo.asp (3KB)', },{ id:'0000100011', pId:'00001', name:'teacherinfo.asp (3KB)', },{ id:'0000100012', pId:'00001', name:'家教信息管理系統(tǒng).doc (1392KB)', click:'getBookinfo(8406371)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100013', pId:'00001', name:'目錄.doc (26KB)', click:'getBookinfo(8406372)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'asp家教信息管理系統(tǒng)(源代碼論文).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000200001', pId:'0000100002', name:'0.gif',url:'http://m.facezit.com/p-8406367.html', target:'_blank' },{ id:'000010000200002', pId:'0000100002', name:'01.gif',url:'http://m.facezit.com/p-8406368.html', target:'_blank' },{ id:'000010000200003', pId:'0000100002', name:'img3_3.jpg',url:'http://m.facezit.com/p-8406369.html', target:'_blank' },{ id:'000010000200004', pId:'0000100002', name:'more.gif',url:'http://m.facezit.com/p-8406370.html', target:'_blank' },{ id:'0000100012', pId:'00001', name:'家教信息管理系統(tǒng).doc',url:'http://m.facezit.com/p-8406371.html', target:'_blank' },{ id:'0000100013', pId:'00001', name:'目錄.doc',url:'http://m.facezit.com/p-8406372.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 = '7247081'; 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; }); });