'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'l2003214045_周斌_企業(yè)員工信息管理系統(tǒng)的設(shè)計與實現(xiàn).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'周斌-畢業(yè)設(shè)計代碼 (包含26個文件)', },{ id:'0000100001', pId:'00001', name:'Datasource (包含1個文件)', },{ id:'000010000100001', pId:'0000100001', name:'Datasource.mdb (308KB)', },{ id:'0000100002', pId:'00001', name:'Employee (包含7個文件)', },{ id:'000010000200001', pId:'0000100002', name:'AddNewUser.asp (10KB)', },{ id:'000010000200002', pId:'0000100002', name:'EmployeeInformation.asp (8KB)', },{ id:'000010000200003', pId:'0000100002', name:'EmployeeInformation1.asp (7KB)', },{ id:'000010000200004', pId:'0000100002', name:'md5.asp (11KB)', },{ id:'000010000200005', pId:'0000100002', name:'ModifyPersonalInformation.asp (10KB)', },{ id:'000010000200006', pId:'0000100002', name:'ModifyUserInformation.asp (12KB)', },{ id:'000010000200007', pId:'0000100002', name:'SystemManager.asp (6KB)', },{ id:'0000100003', pId:'00001', name:'html (包含1個文件)', },{ id:'000010000300001', pId:'0000100003', name:'home.asp (2KB)', },{ id:'0000100004', pId:'00001', name:'image (包含5個文件)', },{ id:'000010000400001', pId:'0000100004', name:'Employee.jpg (1KB)', click:'getBookinfo(8725928)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000400002', pId:'0000100004', name:'Employee.psd (154KB)', },{ id:'000010000400003', pId:'0000100004', name:'Employee1.jpg (10KB)', click:'getBookinfo(8725929)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000400004', pId:'0000100004', name:'HomepagePicture1.jpg (8KB)', click:'getBookinfo(8725930)', icon:'/Images/filetype/DOC16.PNG'},{ id:'000010000400005', pId:'0000100004', name:'Thumbs.db (43KB)', },{ id:'0000100005', pId:'00001', name:'ASPLogo3.JPG (13KB)', click:'getBookinfo(8725931)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'change.asp (0KB)', },{ id:'0000100007', pId:'00001', name:'Employee.JPG (1KB)', click:'getBookinfo(8725932)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100008', pId:'00001', name:'Employee1.JPG (10KB)', click:'getBookinfo(8725933)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100009', pId:'00001', name:'global.asa (0KB)', },{ id:'0000100010', pId:'00001', name:'login.asp (3KB)', },{ id:'0000100011', pId:'00001', name:'md5.asp (11KB)', },{ id:'0000100012', pId:'00001', name:'Thumbs.db (14KB)', },{ id:'00002', pId:'1', name:'L 2003214045_周斌_企業(yè)員工信息管理系統(tǒng)的設(shè)計與實現(xiàn).doc (454KB)', click:'getBookinfo(8725934)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'l2003214045_周斌_企業(yè)員工信息管理系統(tǒng)的設(shè)計與實現(xiàn).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'000010000400001', pId:'0000100004', name:'Employee.jpg',url:'http://facezit.com/p-8725928.html', target:'_blank' },{ id:'000010000400003', pId:'0000100004', name:'Employee1.jpg',url:'http://facezit.com/p-8725929.html', target:'_blank' },{ id:'000010000400004', pId:'0000100004', name:'HomepagePicture1.jpg',url:'http://facezit.com/p-8725930.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'ASPLogo3.JPG',url:'http://facezit.com/p-8725931.html', target:'_blank' },{ id:'0000100007', pId:'00001', name:'Employee.JPG',url:'http://facezit.com/p-8725932.html', target:'_blank' },{ id:'0000100008', pId:'00001', name:'Employee1.JPG',url:'http://facezit.com/p-8725933.html', target:'_blank' },{ id:'00002', pId:'1', name:'L 2003214045_周斌_企業(yè)員工信息管理系統(tǒng)的設(shè)計與實現(xiàn).doc',url:'http://facezit.com/p-8725934.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 = '3518202'; 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; }); });