Commit dc59be3a authored by 汪波's avatar 汪波

Merge remote-tracking branch 'origin/test' into test

parents 9b05d2b8 5d9a3021
...@@ -164,7 +164,7 @@ ...@@ -164,7 +164,7 @@
<span class="download-now">立即下载</span> <span class="download-now">立即下载</span>
</a> </a>
<span class="tip-expore" style="display: none"><img src="img/up-tip.png"></span> <span class="tip-expore" id="tip-expore" style="display: none"><img src="img/up-tip.png"></span>
</div> </div>
......
(function (global) { (function (global) {
global.onload = function() { function inWechat() {
var ua = navigator.userAgent.toLowerCase();
return (/micromessenger/.test(ua) ? true : false);
}
global.onload = function () {
var md = new MobileDetect(window.navigator.userAgent); var md = new MobileDetect(window.navigator.userAgent);
var appStoreUrl = 'https://itunes.apple.com/cn/app/wei-xiu-hui-shi-fu-ban/id1034283227?mt=8'; var appStoreUrl = 'https://itunes.apple.com/cn/app/wei-xiu-hui-shi-fu-ban/id1034283227?mt=8';
var yingYongBaoUrl ='http://a.app.qq.com/o/simple.jsp?pkgname=com.wxhkj.weixiuhui'; var yingYongBaoUrl = 'http://a.app.qq.com/o/simple.jsp?pkgname=com.wxhkj.weixiuhui';
var urgency = false;
if (urgency) {
yingYongBaoUrl = 'http://www.weixiuhui.cn/app_publish/banshou.apk';
if (inWechat()) {
//显示遮罩
$('#tip-expore').show();
}
}
//判断是否为移动端 //判断是否为移动端
if (md.mobile()) { if (md.mobile()) {
setTimeout(function() { setTimeout(function () {
if(md.is('iPhone') || md.is('iPad')){ if (md.is('iPhone') || md.is('iPad')) {
window.location.href = appStoreUrl; window.location.href = appStoreUrl;
}else{ } else {
window.location.href = yingYongBaoUrl; window.location.href = yingYongBaoUrl;
} }
}, 1000); }, 1000);
} }
}; };
})(window); })(window);
\ No newline at end of file
...@@ -123,7 +123,7 @@ document.write('<script src="/e/member/login/loginjs.php?t='+Math.random()+'"><' ...@@ -123,7 +123,7 @@ document.write('<script src="/e/member/login/loginjs.php?t='+Math.random()+'"><'
<td align="left" valign="top"><table width="100%" border="0" cellpadding="4" cellspacing="0" bgcolor="#FFFFFF"> <td align="left" valign="top"><table width="100%" border="0" cellpadding="4" cellspacing="0" bgcolor="#FFFFFF">
<tr> <tr>
<td height="100%" valign="top" bgcolor="#FFFFFF"> <td height="100%" valign="top" bgcolor="#FFFFFF">
<?php <?
while($r=$empire->fetch($sql)) while($r=$empire->fetch($sql))
{ {
$r['retext']=nl2br($r[retext]); $r['retext']=nl2br($r[retext]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment