var bloghost = "http://zblogphp.neirong.org/zbdesign/"; var cookiespath = "/zbdesign/"; var ajaxurl = "http://zblogphp.neirong.org/zbdesign/zb_system/cmd.php?act=ajax&src="; var lang_comment_name_error = "名称不能为空或格式不正确"; var lang_comment_email_error = "邮箱格式不正确,可能过长或为空"; var lang_comment_content_error = "评论内容不能为空或过长"; $(function () {var $cpLogin = $(".cp-login").find("a");var $cpVrs = $(".cp-vrs").find("a");SetCookie("timezone", (new Date().getTimezoneOffset()/60)*(-1));var $addoninfo = GetCookie("addinfozbdesign");if(!$addoninfo){LoadRememberInfo();return ;}$addoninfo = eval("("+$addoninfo+")");if($addoninfo.chkadmin){$(".cp-hello").html("欢迎 " + $addoninfo.useralias + " (" + $addoninfo.levelname + ")");if ($cpLogin.length == 1 && $cpLogin.html().indexOf("[") > -1) { $cpLogin.html("[后台管理]");} else {$cpLogin.html("后台管理");};}if($addoninfo.chkarticle){if ($cpLogin.length == 1 && $cpVrs.html().indexOf("[") > -1) {$cpVrs.html("[新建文章]"); } else {$cpVrs.html("新建文章");};$cpVrs.attr("href", bloghost + "zb_system/cmd.php?act=ArticleEdt");}}); document.writeln("");$(function(){var compatibility={as3:"actionscript","c#":"csharp",delphi:"pascal",html:"markup",xml:"markup",vb:"basic",js:"javascript",plain:"markdown",pl:"perl",ps:"powershell"};if(document.querySelectorAll){var runFunction=function(doms,callback){for(var i=0;i