织梦精仿AB模板网修复版

源码说明:“织梦精仿AB模板网独家修复版 修复图片链接 强大VIP用户中心+手机版 可完美运营”板子不错,效果相当的炫酷,相当简洁大气高端,div+css编写代码简洁,独家修复图片链接,去掉很多隐藏的后门,修复后台上传漏洞。带强大VIP会员中心+手机版,手机版访问乱码问题已修复、
修改footer.htm文件;红色的链接地址改为你的手机版目录即可
<script language="javascript">
(function(){
var res = GetRequest();
var par = res['index'];
if(par!='gfan'){
var ua=navigator.userAgent.toLowerCase();
var contains=function (a, b){
if(a.indexOf(b)!=-1){return true;}
};
//将下面的http://m.baidu.com改成你的wap手机版地址
var toMobileVertion = function(){
window.location.href = 'http://www.xxxx.cn/m/index.php'
}

if(contains(ua,"ipad")||(contains(ua,"rv:1.2.3.4"))||(contains(ua,"0.0.0.0"))||(contains(ua,"8.0.552.237"))){return false}
if((contains(ua,"android") && contains(ua,"mobile"))||(contains(ua,"android") && contains(ua,"mozilla")) ||(contains(ua,"android") && contains(ua,"opera"))
||contains(ua,"ucweb7")||contains(ua,"iphone")){toMobileVertion();}
}
})();
function GetRequest() {
var url = location.search; //获取url中"?"符后的字串
var theRequest = new Object();
if (url.indexOf("?") != -1) {
var str = url.substr(1);
strs = str.split("&");
for(var i = 0; i < strs.length; i ++) {
theRequest[strs.split("=")[0]]=unescape(strs.split("=")[1]);
}
}
return theRequest;
}
</script>
AB模板网

此内容 评论 本文后刷新可见!开通免审核权限

评论1

请先

  1. 看一下
    ALG2020-04-12
没有账号? 忘记密码?
'); })();