瀏覽代碼

同步线上的

zxb 5 年之前
父節點
當前提交
426d8a8f22
共有 1 個文件被更改,包括 9 次插入39 次删除
  1. 9 39
      public/themes/mjmls/index/block/meta_xm.html

+ 9 - 39
public/themes/mjmls/index/block/meta_xm.html

@@ -1,77 +1,47 @@
 <!DOCTYPE html>
-
 <html lang="zh-cmn-Hans">
-
 <head>
-
     <meta charset="UTF-8">
-
     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
-
-    <title><?php
-
+    <title><?php 
+         
         if($param['aid']!=0){ 
+
               foreach($areaList as $k=>$v){
-                   if($param['aid']==$k){ echo $v;}}}
-           if($param['lv']!=-1){
+                   if($param['aid']==$k){ echo $v."";}
+               }
+         }
+           if($param['lv']!=-1 && substr($_SERVER["REQUEST_URI"],1,2)=='xm'){
                 foreach($touziarr as $key=>$value){
-                    if($param['lv']==$key){echo $value;}}}
+                    if($param['lv']==$key){echo $value.'';}}}
      if(isset($seo_title)){ ?>{$seo_title}
-    <?php }else{ ?>{$site_info.site_seo_title_xm} 
+    <?php }else{ ?>{$site_info.site_seo_title_news} 
     <?php } ?>-{$site_info.site_name}
-
   </title>
-
     <meta name="keywords" content="<?php if(isset($seo_keywords)){ ?>{$seo_keywords}<?php }else{ ?>{$site_info.site_seo_keywords_xm}<?php } ?>" />
-
     <meta name="description" content="<?php if(isset($seo_desc)){ ?>{$seo_desc}<?php }else{ ?>{$site_info.site_seo_desc_xm}<?php } ?>" />
-
     <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
-
     <meta name="applicable-device" content="pc,mobile">
-
     <meta http-equiv="Cache-Control" content="no-transform">
-
     <meta http-equiv="Cache-Control" content="no-siteapp">
-
     <meta name="format-detection" content="telephone=no,email=no" />
-
     <link rel="stylesheet" href="__TMPL__/static/css/font-awesome.min.css">
-
     <link rel="stylesheet" href="__TMPL__/static/css/swiper.min.css">
-
     <link rel="stylesheet" href="__TMPL__/static/css/master.min.css">
-
     <script src="__TMPL__/static/js/jquery-1.8.3.min.js" type="text/javascript"></script>
-
     <!--[if lt IE 9]>
-
     <script src="__TMPL__/static/js/html5shiv.js"></script>
-
     <script src="__TMPL__/static/js/respondshiv.js"></script>
-
     <![endif]-->
-
     <script>
-
         function imageError(ele){
-
             ele.src="/upload/jdxm-img.jpg";
-
             ele.οnerrοr=null;
-
         }
-
         function resetSize(ele){
-
             var w = $(ele).outerWidth();
-
             $(ele).css('height', w/1.3333);
-
         }
-
     </script>
-
 </head>
-
 <body>