'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'計算機(jī)實(shí)驗(yàn)室教學(xué)管理系統(tǒng)的設(shè)計與實(shí)現(xiàn).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'MySystem (包含32個文件)', },{ id:'0000100001', pId:'00001', name:'images (包含13個文件)', },{ id:'000010000100001', pId:'0000100001', name:'Ajax.js (0KB)', },{ id:'000010000100002', pId:'0000100001', name:'css.css (1KB)', },{ id:'000010000100003', pId:'0000100001', name:'loading.gif (1KB)', click:'getBookinfo(8571674)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100004', pId:'0000100001', name:'Logo.gif (2KB)', click:'getBookinfo(8571675)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100005', pId:'0000100001', name:'Pass.gif (0KB)', click:'getBookinfo(8571676)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100006', pId:'0000100001', name:'Passed.gif (1KB)', click:'getBookinfo(8571677)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100007', pId:'0000100001', name:'photo.gif (0KB)', click:'getBookinfo(8571678)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100008', pId:'0000100001', name:'photo_1.gif (1KB)', click:'getBookinfo(8571679)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100009', pId:'0000100001', name:'photo_2.gif (3KB)', click:'getBookinfo(8571680)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100010', pId:'0000100001', name:'photo_3.gif (1KB)', click:'getBookinfo(8571681)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100011', pId:'0000100001', name:'photo_4.gif (1KB)', click:'getBookinfo(8571682)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000100012', pId:'0000100001', name:'Thumbs.db (38KB)', },{ id:'000010000100013', pId:'0000100001', name:'top_bottom.gif (0KB)', click:'getBookinfo(8571683)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100002', pId:'00001', name:'install (包含1個文件)', },{ id:'000010000200001', pId:'0000100002', name:'Create_Table.asp (1KB)', },{ id:'0000100003', pId:'00001', name:'1.BAK (978KB)', },{ id:'0000100004', pId:'00001', name:'Admin_Index.asp (0KB)', },{ id:'0000100005', pId:'00001', name:'Admin_Left.asp (3KB)', },{ id:'0000100006', pId:'00001', name:'Admin_Main.asp (3KB)', },{ id:'0000100007', pId:'00001', name:'Admin_Top.asp (1KB)', },{ id:'0000100008', pId:'00001', name:'Admin_User.asp (19KB)', },{ id:'0000100009', pId:'00001', name:'Article.asp (7KB)', },{ id:'0000100010', pId:'00001', name:'ChkAjax.asp (0KB)', },{ id:'0000100011', pId:'00001', name:'Class.asp (3KB)', },{ id:'0000100012', pId:'00001', name:'Conn.asp (3KB)', },{ id:'0000100013', pId:'00001', name:'index.asp (3KB)', },{ id:'0000100014', pId:'00001', name:'Logout.asp (0KB)', },{ id:'0000100015', pId:'00001', name:'Manage_Article.asp (9KB)', },{ id:'0000100016', pId:'00001', name:'MyFlag.asp (1KB)', },{ id:'0000100017', pId:'00001', name:'Password.asp (3KB)', },{ id:'0000100018', pId:'00001', name:'System.asp (4KB)', },{ id:'00002', pId:'1', name:'2003032178_王曉春_計算機(jī)實(shí)驗(yàn)室教學(xué)管理系統(tǒng)的設(shè)計與實(shí)現(xiàn).doc (294KB)', click:'getBookinfo(8571684)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'計算機(jī)實(shí)驗(yàn)室教學(xué)管理系統(tǒng)的設(shè)計與實(shí)現(xiàn).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000100003', pId:'0000100001', name:'loading.gif',url:'http://algolinternational.com/p-8571674.html', target:'_blank' },{ id:'000010000100004', pId:'0000100001', name:'Logo.gif',url:'http://algolinternational.com/p-8571675.html', target:'_blank' },{ id:'000010000100005', pId:'0000100001', name:'Pass.gif',url:'http://algolinternational.com/p-8571676.html', target:'_blank' },{ id:'000010000100006', pId:'0000100001', name:'Passed.gif',url:'http://algolinternational.com/p-8571677.html', target:'_blank' },{ id:'000010000100007', pId:'0000100001', name:'photo.gif',url:'http://algolinternational.com/p-8571678.html', target:'_blank' },{ id:'000010000100008', pId:'0000100001', name:'photo_1.gif',url:'http://algolinternational.com/p-8571679.html', target:'_blank' },{ id:'000010000100009', pId:'0000100001', name:'photo_2.gif',url:'http://algolinternational.com/p-8571680.html', target:'_blank' },{ id:'000010000100010', pId:'0000100001', name:'photo_3.gif',url:'http://algolinternational.com/p-8571681.html', target:'_blank' },{ id:'000010000100011', pId:'0000100001', name:'photo_4.gif',url:'http://algolinternational.com/p-8571682.html', target:'_blank' },{ id:'000010000100013', pId:'0000100001', name:'top_bottom.gif',url:'http://algolinternational.com/p-8571683.html', target:'_blank' },{ id:'00002', pId:'1', name:'2003032178_王曉春_計算機(jī)實(shí)驗(yàn)室教學(xué)管理系統(tǒng)的設(shè)計與實(shí)現(xiàn).doc',url:'http://algolinternational.com/p-8571684.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 = '7267209'; 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; }); });