Empire CMS 7.2版本引入了全面的多接入終端功能,使網站更方便地制作多個移動接入終端。版本7.5中的多訪問者升級:支持主端的后臺刷新以生成每個訪問端的靜態頁面,并且多訪問端在靜態模式下使用更方便。
頁面頭部
JS代碼在body前面加上以下HTML源代碼
<script type="text/javascript">try {var urlhash = window.location.hash;if (!urlhash.match("fromapp")){if ((navigator.userAgent.match(/(ipod|iphone|android|coolpad|mmp|smartphone|midp|wap|xoom|symbian|j2me|blackberry|wince)/i))){window.location="https://m.daixiao#/";}}}catch(err){}</script><meta name="mobile-agent" content="format=xhtml;url=https://m.VeVb.com/">
列表頁
動態頁:https://m.VeVb.com/e/action/ListInfo/?classid=[!--self.classid--]
靜態頁:https://m.VeVb.com<?$r['classid']=$GLOBALS[navclassid];$classurl=sys_ReturnBqClassname($r,9);echo $classurl;?>
內容頁
動態頁:https://m.VeVb.com/e/action/ListInfo/?classid=[!--self.classid--]
靜態頁:https://m.VeVb.com<?$r['classid']=$GLOBALS[navclassid];$classurl=sys_ReturnBqClassname($r,9);echo $classurl;?>
分成動態與靜態頁面,可自行選擇更換VeVb.com為自己的子域名。
新聞熱點
疑難解答