function getCookie(Name) {
var search = Name + "=";
if (window.document.cookie.length > 0) { // if there are any cookies
offset = window.document.cookie.indexOf(search);
if (offset != -1) { // if cookie exists
offset += search.length; // set index of beginning of value
end = window.document.cookie.indexOf(";", offset) // set index of end of cookie value
if (end == -1)
end = window.document.cookie.length;
return unescape(window.document.cookie.substring(offset, end));
}
}
return null;
}
var username
username=String(getCookie("DedeUserIDckMd5")).toLowerCase();
if (username.length<2 || username=="null")
{ document.writeln("<a rel="nofollow noopener noreferrer" href=\&;http:\/\/www.xkzzz.com\&; target=\&;_blank\&;>演示:侠客站工站<\/a>")
}
红色部分为广告代码