'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'phpsql公共課平時成績查詢系統(tǒng).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001000010000300003', pId:'000010000100003', name:'teacher_chaxun_detail.php.mno (0KB)', },{ id:'000010000100004', pId:'0000100001', name:'banner.jpg (46KB)', click:'getBookinfo(8087260)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'grade1.htm (3KB)', },{ id:'000010000100006', pId:'0000100001', name:'grade2.htm (3KB)', },{ id:'000010000100007', pId:'0000100001', name:'grade3.htm (2KB)', },{ id:'000010000100008', pId:'0000100001', name:'PortMainFTU.gif (34KB)', click:'getBookinfo(8087261)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100009', pId:'0000100001', name:'student_chaxun.php (3KB)', },{ id:'000010000100010', pId:'0000100001', name:'student_chaxun111.php (3KB)', },{ id:'000010000100011', pId:'0000100001', name:'student_chaxun2.php (4KB)', },{ id:'000010000100012', pId:'0000100001', name:'student_chaxun_detail.php (4KB)', },{ id:'000010000100013', pId:'0000100001', name:'teacher_chaxun.php (3KB)', },{ id:'000010000100014', pId:'0000100001', name:'teacher_chaxun_answer.php (5KB)', },{ id:'000010000100015', pId:'0000100001', name:'teacher_chaxun_detail.php (8KB)', },{ id:'0000100002', pId:'00001', name:'數(shù)據(jù)庫 (包含16個文件)', },{ id:'000010000200001', pId:'0000100002', name:'mydatabase (包含15個文件)', },{ id:'00001000020000100001', pId:'000010000200001', name:'input_file.frm (8KB)', },{ id:'00001000020000100002', pId:'000010000200001', name:'input_file.MYD (0KB)', },{ id:'00001000020000100003', pId:'000010000200001', name:'input_file.MYI (2KB)', },{ id:'00001000020000100004', pId:'000010000200001', name:'statistic.frm (8KB)', },{ id:'00001000020000100005', pId:'000010000200001', name:'statistic.MYD (0KB)', },{ id:'00001000020000100006', pId:'000010000200001', name:'statistic.MYI (1KB)', },{ id:'00001000020000100007', pId:'000010000200001', name:'student_tijiao.frm (8KB)', },{ id:'00001000020000100008', pId:'000010000200001', name:'student_tijiao.MYD (0KB)', },{ id:'00001000020000100009', pId:'000010000200001', name:'student_tijiao.MYI (2KB)', },{ id:'00001000020000100010', pId:'000010000200001', name:'teacher_fbchengji.frm (8KB)', },{ id:'00001000020000100011', pId:'000010000200001', name:'teacher_fbchengji.MYD (0KB)', },{ id:'00001000020000100012', pId:'000010000200001', name:'teacher_fbchengji.MYI (2KB)', },{ id:'00001000020000100013', pId:'000010000200001', name:'user.frm (8KB)', },{ id:'00001000020000100014', pId:'000010000200001', name:'user.MYD (0KB)', },{ id:'00001000020000100015', pId:'000010000200001', name:'user.MYI (2KB)', },{ id:'0000100003', pId:'00001', name:'2005年2001級畢業(yè)生論文答辯情況綜合表.doc (41KB)', click:'getBookinfo(8087262)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'2005年2001級畢業(yè)生論文答辯情況表.doc (35KB)', click:'getBookinfo(8087263)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100005', pId:'00001', name:'代碼.doc (100KB)', click:'getBookinfo(8087264)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'封面 .doc (20KB)', click:'getBookinfo(8087265)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100007', pId:'00001', name:'畢業(yè)設(shè)計指導(dǎo)書.doc (52KB)', click:'getBookinfo(8087266)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'演示文稿.ppt (811KB)', click:'getBookinfo(8087267)', icon:'/Images/filetype/PPT16.PNG'},{ id:'0000100009', pId:'00001', name:'論 文 指 導(dǎo) 教 師 評 語.doc (24KB)', click:'getBookinfo(8087268)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100010', pId:'00001', name:'論文主體.doc (748KB)', click:'getBookinfo(8087269)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001', pId:'1', name:'PHP+SQL公共課平時成績查詢系統(tǒng) (包含47個文件)', },{ id:'0000100001', pId:'00001', name:'代碼 (包含21個文件)', },{ id:'000010000100001', pId:'0000100001', name:'Connections (包含1個文件)', },{ id:'00001000010000100001', pId:'000010000100001', name:'con1.php (0KB)', },{ id:'000010000100002', pId:'0000100001', name:'_mmServerScripts (包含2個文件)', },{ id:'00001000010000200001', pId:'000010000100002', name:'MMHTTPDB.php (2KB)', },{ id:'00001000010000200002', pId:'000010000100002', name:'mysql.php (10KB)', },{ id:'000010000100003', pId:'0000100001', name:'_notes (包含3個文件)', },{ id:'00001000010000300001', pId:'000010000100003', name:'student_chaxun_detail.php.mno (0KB)', },{ id:'00001000010000300002', pId:'000010000100003', name:'teacher_chaxun_answer.php.mno (0KB)', }]; var zNodes2 = [{ id:'1', pId:'0', name:'phpsql公共課平時成績查詢系統(tǒng).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'banner.jpg',url:'http://canyonlakefaqs.com/p-8087260.html', target:'_blank' },{ id:'000010000100008', pId:'0000100001', name:'PortMainFTU.gif',url:'http://canyonlakefaqs.com/p-8087261.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'2005年2001級畢業(yè)生論文答辯情況綜合表.doc',url:'http://canyonlakefaqs.com/p-8087262.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'2005年2001級畢業(yè)生論文答辯情況表.doc',url:'http://canyonlakefaqs.com/p-8087263.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'代碼.doc',url:'http://canyonlakefaqs.com/p-8087264.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'封面 .doc',url:'http://canyonlakefaqs.com/p-8087265.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'畢業(yè)設(shè)計指導(dǎo)書.doc',url:'http://canyonlakefaqs.com/p-8087266.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'演示文稿.ppt',url:'http://canyonlakefaqs.com/p-8087267.html', target:'_blank' },{ id:'0000100009', pId:'00001', name:'論 文 指 導(dǎo) 教 師 評 語.doc',url:'http://canyonlakefaqs.com/p-8087268.html', target:'_blank' },{ id:'0000100010', pId:'00001', name:'論文主體.doc',url:'http://canyonlakefaqs.com/p-8087269.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 = '3594482'; 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; }); });