`,
"script":[{"src":"https://cdn.confiant-integrations.net/d2ehZtyVAa1kXxOtMxFp7XciXcU/gpt_and_prebid/config.js","async":""},{"src":"https://jsc.mgid.com/site/940560.js","async":""}]
}
}
const wxcEnv = {
"base":{
"exe":[],
"src":[
{"src": "/bbs/js/jquery.tools.min.js"},
{"src": "/bbs/js/tools.js"},
{"src":"/members/js/topbar.js"},
{"src": "/bbs/js/view.js"},
{"src": "/news/js/recommendednews.js"},
{"src":"/js/wxcFunc.js?1"}
]
},
"func":{
"exe":[
"$(document).ready(function(){$(\"#todayHot\").hide();$(function () {$(window).scroll(function () {if ($(this).scrollTop() > 100) {$(\"#todayHot\").fadeIn();} else {$(\"#todayHot\").fadeOut();}});$(\"#back-top a\").click(function () {$(\"body,html\").animate({scrollTop: 0}, 400);return false;});});});",
"\nvar check={\n post:function(){\n if($(\"#title\").val() == \"\") {\n \twindow.location.hash = \"#maincontainer\";\n alert(\"帖子標題不能為空!\");\n document.getElementById(\"display\").style.display=\"inline\";\n return false;\n }\n \n $.ajax({\n \ttype: \"POST\",\n url: \"/include/plugins/jquery.php?app=bbs,checkpost&sess=true&func=checkpost\",\n data: {\n \tusername: $(\"#postUsername\").val(),\n \tpassword: $(\"#postPassword\").val(),\n \ttitle: $(\"#title\").val(),\n \tmsgbody: CKEDITOR.instances.editor1.getData(),\n \tsubid: $(\"#subid\").val(),\n \tautologin: $(\"#autologin\").val(),\n },\n success:function( val ){\n \teval(val);\n \tif(res==\"noerror\")\n \t\t//$(\"#postform\").submit();\n \t\tdocument.getElementById(\"postform\").submit();\n \telse{\n \t\t\talert(res);\n \t\t\tdocument.getElementById(\"display\").style.display=\"inline\";\n }\n }\n \t});\n }\n}\n \nfunction popTwitterWindow() {\n var reply = window.confirm(\"管理動作確定嗎?!\");\n if(reply == true) {\n window.open(\"https://twitter.com/wenxuecity_twit\");\n return true;\n }\n return false;\n}\n \nfunction popFBWindow() {\n var reply = window.confirm(\"管理動作確定嗎?!\");\n if(reply == true) {\n window.open(\"https://www.facebook.com/wenxuecity\");\n return true;\n }\n return false;\n}",
"\nfunction fetchImg(){\n\tvar postid=\"145785\";\n\tvar subid=\"cqrs\";\n \n\t$(\"#messagebox\").html(\"
正在獲取圖片...\");\n\t$.ajax({\n\t\ttype: \"POST\",\n\t url: \"/include/plugins/jquery.php?app=web2db,fetch&sess=true&func=updatePost\",\n \t data: {\n\t\t\tpostid: postid,\n\t\t\tsubid: subid,\n \t },\n\t success:function( val ){\n\t \teval(val);\n\t \tif(res[0]==\"0\"){$(\"#messagebox\").html(res[1]);return;}\n \n\t\t\t$(\"#msgbodyContent\").html(res[1]);\n\t\t\t$(\"#messagebox\").html(\"圖片獲取結束!\");\n\t }\n\t});\n}"
],
"src":[
{"src":"//count.wenxuecity.com/service/count/script/do.php?type=cqrs&id=145785&refresh=true&out=jsval"},
{'src':"//count.wenxuecity.com/service/buzz/script/bbs.php?act=view&subid=cqrs&postid=145785&position=buzzbox&username=&unique_id=9312"},
{"src": "/bbs/js/weixincode.js"},
{"src":"/members/js/md5.js"}
]
}
}