'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'c局域網(wǎng)聊天軟件設(shè)計與實現(xiàn).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'c++局域網(wǎng)聊天軟件設(shè)計與實現(xiàn) (包含46個文件)', },{ id:'0000100001', pId:'00001', name:'代碼 (包含40個文件)', },{ id:'000010000100001', pId:'0000100001', name:'chat_client (包含30個文件)', },{ id:'00001000010000100001', pId:'000010000100001', name:'image (包含9個文件)', },{ id:'0000100001000010000100001', pId:'00001000010000100001', name:'groupchat.png (570KB)', click:'getBookinfo(8847435)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100001000010000100002', pId:'00001000010000100001', name:'login.png (77KB)', click:'getBookinfo(8847436)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100001000010000100003', pId:'00001000010000100001', name:'privatechat.png (752KB)', click:'getBookinfo(8847437)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100001000010000100004', pId:'00001000010000100001', name:'register.png (298KB)', click:'getBookinfo(8847438)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100001000010000100005', pId:'00001000010000100001', name:'textbold.png (1KB)', click:'getBookinfo(8847439)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100001000010000100006', pId:'00001000010000100001', name:'textcolor.png (4KB)', click:'getBookinfo(8847440)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100001000010000100007', pId:'00001000010000100001', name:'textitalic.png (1KB)', click:'getBookinfo(8847441)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100001000010000100008', pId:'00001000010000100001', name:'textunder.png (1KB)', click:'getBookinfo(8847442)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100001000010000100009', pId:'00001000010000100001', name:'userlist.png (36KB)', click:'getBookinfo(8847443)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00001000010000100002', pId:'000010000100001', name:'chatclient.cpp (9KB)', },{ id:'00001000010000100003', pId:'000010000100001', name:'chatclient.h (2KB)', },{ id:'00001000010000100004', pId:'000010000100001', name:'chat_client.pro (0KB)', },{ id:'00001000010000100005', pId:'000010000100001', name:'chat_client.pro.user (27KB)', },{ id:'00001000010000100006', pId:'000010000100001', name:'groupchat.cpp (8KB)', },{ id:'00001000010000100007', pId:'000010000100001', name:'groupchat.h (1KB)', },{ id:'00001000010000100008', pId:'000010000100001', name:'image.qrc (0KB)', },{ id:'00001000010000100009', pId:'000010000100001', name:'logindialog.cpp (2KB)', },{ id:'00001000010000100010', pId:'000010000100001', name:'logindialog.h (0KB)', },{ id:'00001000010000100011', pId:'000010000100001', name:'main.cpp (0KB)', },{ id:'00001000010000100012', pId:'000010000100001', name:'mytextedit.cpp (0KB)', },{ id:'00001000010000100013', pId:'000010000100001', name:'mytextedit.h (0KB)', },{ id:'00001000010000100014', pId:'000010000100001', name:'privatechat.cpp (7KB)', },{ id:'00001000010000100015', pId:'000010000100001', name:'privatechat.h (1KB)', },{ id:'00001000010000100016', pId:'000010000100001', name:'registerdialog.cpp (2KB)', },{ id:'00001000010000100017', pId:'000010000100001', name:'registerdialog.h (0KB)', },{ id:'00001000010000100018', pId:'000010000100001', name:'thread.cpp (3KB)', },{ id:'00001000010000100019', pId:'000010000100001', name:'thread.h (0KB)', },{ id:'00001000010000100020', pId:'000010000100001', name:'userlist.cpp (0KB)', },{ id:'00001000010000100021', pId:'000010000100001', name:'userlist.h (0KB)', },{ id:'000010000100002', pId:'0000100001', name:'chat_server (包含8個文件)', },{ id:'00001000010000200001', pId:'000010000100002', name:'chat_server.pro (0KB)', },{ id:'00001000010000200002', pId:'000010000100002', name:'chat_server.pro.user (27KB)', },{ id:'00001000010000200003', pId:'000010000100002', name:'client_vector.cpp (3KB)', },{ id:'00001000010000200004', pId:'000010000100002', name:'client_vector.h (1KB)', },{ id:'00001000010000200005', pId:'000010000100002', name:'mysql.h.autosave (0KB)', },{ id:'00001000010000200006', pId:'000010000100002', name:'mysql_operation.cpp (1KB)', },{ id:'00001000010000200007', pId:'000010000100002', name:'mysql_operation.h (0KB)', },{ id:'00001000010000200008', pId:'000010000100002', name:'server.cpp (8KB)', },{ id:'0000100002', pId:'00001', name:'c++局域網(wǎng)聊天軟件設(shè)計與實現(xiàn).doc (528KB)', click:'getBookinfo(8847444)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100003', pId:'00001', name:'中期檢查表、中期報告-王宇 .doc (37KB)', click:'getBookinfo(8847445)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100004', pId:'00001', name:'數(shù)據(jù)庫建表.txt (0KB)', click:'getBookinfo(8847446)', icon:'/Images/filetype/TXT16.PNG'},{ id:'0000100005', pId:'00001', name:'王宇-任務(wù)書.doc (25KB)', click:'getBookinfo(8847447)', icon:'/Images/filetype/DOC16.PNG'},{ id:'0000100006', pId:'00001', name:'論文答辯演示--王宇.ppt (520KB)', click:'getBookinfo(8847448)', icon:'/Images/filetype/PPT16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'c局域網(wǎng)聊天軟件設(shè)計與實現(xiàn).rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'0000100001000010000100001', pId:'00001000010000100001', name:'groupchat.png',url:'http://canyonlakefaqs.com/p-8847435.html', target:'_blank' },{ id:'0000100001000010000100002', pId:'00001000010000100001', name:'login.png',url:'http://canyonlakefaqs.com/p-8847436.html', target:'_blank' },{ id:'0000100001000010000100003', pId:'00001000010000100001', name:'privatechat.png',url:'http://canyonlakefaqs.com/p-8847437.html', target:'_blank' },{ id:'0000100001000010000100004', pId:'00001000010000100001', name:'register.png',url:'http://canyonlakefaqs.com/p-8847438.html', target:'_blank' },{ id:'0000100001000010000100005', pId:'00001000010000100001', name:'textbold.png',url:'http://canyonlakefaqs.com/p-8847439.html', target:'_blank' },{ id:'0000100001000010000100006', pId:'00001000010000100001', name:'textcolor.png',url:'http://canyonlakefaqs.com/p-8847440.html', target:'_blank' },{ id:'0000100001000010000100007', pId:'00001000010000100001', name:'textitalic.png',url:'http://canyonlakefaqs.com/p-8847441.html', target:'_blank' },{ id:'0000100001000010000100008', pId:'00001000010000100001', name:'textunder.png',url:'http://canyonlakefaqs.com/p-8847442.html', target:'_blank' },{ id:'0000100001000010000100009', pId:'00001000010000100001', name:'userlist.png',url:'http://canyonlakefaqs.com/p-8847443.html', target:'_blank' },{ id:'0000100002', pId:'00001', name:'c++局域網(wǎng)聊天軟件設(shè)計與實現(xiàn).doc',url:'http://canyonlakefaqs.com/p-8847444.html', target:'_blank' },{ id:'0000100003', pId:'00001', name:'中期檢查表、中期報告-王宇 .doc',url:'http://canyonlakefaqs.com/p-8847445.html', target:'_blank' },{ id:'0000100004', pId:'00001', name:'數(shù)據(jù)庫建表.txt',url:'http://canyonlakefaqs.com/p-8847446.html', target:'_blank' },{ id:'0000100005', pId:'00001', name:'王宇-任務(wù)書.doc',url:'http://canyonlakefaqs.com/p-8847447.html', target:'_blank' },{ id:'0000100006', pId:'00001', name:'論文答辯演示--王宇.ppt',url:'http://canyonlakefaqs.com/p-8847448.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 = '3595942'; 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; }); });