'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'aspaccess酒店房間預(yù)約系統(tǒng)設(shè)計(源代碼論文).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'asp+ACCESS酒店房間預(yù)約系統(tǒng)設(shè)計(源代碼+論文) (包含47個文件)', },{ id:'0000100001', pId:'00001', name:'database (包含1個文件)', },{ id:'000010000100001', pId:'0000100001', name:'hotel.mdb (340KB)', },{ id:'0000100002', pId:'00001', name:'image (包含3個文件)', },{ id:'000010000200001', pId:'0000100002', name:'Thumbs.db (4KB)', },{ id:'000010000200002', pId:'0000100002', name:'top.gif (33KB)', click:'getBookinfo(8403647)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000200003', pId:'0000100002', name:'top_admin.gif (25KB)', click:'getBookinfo(8403648)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'include (包含7個文件)', },{ id:'000010000300001', pId:'0000100003', name:'admin_head.asp (0KB)', },{ id:'000010000300002', pId:'0000100003', name:'foot.asp (0KB)', },{ id:'000010000300003', pId:'0000100003', name:'head.asp (0KB)', },{ id:'000010000300004', pId:'0000100003', name:'is_admin.asp (0KB)', },{ id:'000010000300005', pId:'0000100003', name:'is_email.asp (1KB)', },{ id:'000010000300006', pId:'0000100003', name:'is_name.asp (0KB)', },{ id:'000010000300007', pId:'0000100003', name:'is_user.asp (0KB)', },{ id:'0000100004', pId:'00001', name:'admin.asp (0KB)', },{ id:'0000100005', pId:'00001', name:'adminerr.asp (0KB)', },{ id:'0000100006', pId:'00001', name:'administrator.asp (2KB)', },{ id:'0000100007', pId:'00001', name:'adminlogin.asp (2KB)', },{ id:'0000100008', pId:'00001', name:'admin_addnew.asp (2KB)', },{ id:'0000100009', pId:'00001', name:'admin_addnewchk.asp (2KB)', },{ id:'0000100010', pId:'00001', name:'admin_chk.asp (4KB)', },{ id:'0000100011', pId:'00001', name:'admin_edit.asp (3KB)', },{ id:'0000100012', pId:'00001', name:'admin_editchk.asp (3KB)', },{ id:'0000100013', pId:'00001', name:'admin_room.asp (2KB)', },{ id:'0000100014', pId:'00001', name:'admin_rword.asp (2KB)', },{ id:'0000100015', pId:'00001', name:'admin_total.asp (4KB)', },{ id:'0000100016', pId:'00001', name:'cancel.asp (3KB)', },{ id:'0000100017', pId:'00001', name:'chkcancel.asp (3KB)', },{ id:'0000100018', pId:'00001', name:'chkpre.asp (4KB)', },{ id:'0000100019', pId:'00001', name:'default.asp (6KB)', },{ id:'0000100020', pId:'00001', name:'del.asp (2KB)', },{ id:'0000100021', pId:'00001', name:'delword.asp (1KB)', },{ id:'0000100022', pId:'00001', name:'error.asp (1KB)', },{ id:'0000100023', pId:'00001', name:'hotel.asp (0KB)', },{ id:'0000100024', pId:'00001', name:'index.asp (6KB)', },{ id:'0000100025', pId:'00001', name:'login.asp (2KB)', },{ id:'0000100026', pId:'00001', name:'logout.asp (0KB)', },{ id:'0000100027', pId:'00001', name:'lword.asp (4KB)', },{ id:'0000100028', pId:'00001', name:'mine.asp (3KB)', },{ id:'0000100029', pId:'00001', name:'preengage.asp (4KB)', },{ id:'0000100030', pId:'00001', name:'reg.asp (5KB)', },{ id:'0000100031', pId:'00001', name:'reg2.asp (4KB)', },{ id:'0000100032', pId:'00001', name:'room.asp (2KB)', },{ id:'0000100033', pId:'00001', name:'room_edit.asp (3KB)', },{ id:'0000100034', pId:'00001', name:'search.asp (5KB)', },{ id:'0000100035', pId:'00001', name:'style.css (0KB)', },{ id:'0000100036', pId:'00001', name:'崔.doc (502KB)', click:'getBookinfo(8403649)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'aspaccess酒店房間預(yù)約系統(tǒng)設(shè)計(源代碼論文).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000200002', pId:'0000100002', name:'top.gif',url:'http://m.facezit.com/p-8403647.html', target:'_blank' },{ id:'000010000200003', pId:'0000100002', name:'top_admin.gif',url:'http://m.facezit.com/p-8403648.html', target:'_blank' },{ id:'0000100036', pId:'00001', name:'崔.doc',url:'http://m.facezit.com/p-8403649.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 = '7247029'; 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; }); });