123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- <?php
- //var_dump($son_id);
- //catid="0"
- ?>
- {eyou:if condition='($page == "article_list" || $page=="article-detail")'}
-
-
-
- <?php
- /*
- * 基本上是评审攻略 具体排查 引用style4 然后看看son_id 是多少
- */
- //and is_recom=0
- if((int)$site_pro_id === 10000 || empty($site_pro_id)){
- $site_pro_id = 0;
- }
-
- if(!empty($provid)){
- $site_pro_id = $provid;
- }
- $where = " typeid=".$son_id." and is_del=0 and status=1 and province_id=".$site_pro_id." ";
- $sql = "select aid from ey_archives where $where order by update_time desc limit 0,15";
- //echo $sql;
- ?>
- {eyou:sql sql='$sql' cachetime='3600' id="listSql"}
- {eyou:arcview aid='$listSql.aid'}
- <li>
- <a href="{:get_tid_url_2($field['arcurl'],$field['typeid'],$field['stypeid'],'0','',0,$field['province_id'],$field['city_id'])}" class="active-{$i}">
- {eyou:if condition='($ty == "left")'}
- {$field.title|msubstr=###,0,36,true}
- {eyou:else /}
- {$field.title|msubstr=###,0,18,true}
- {/eyou:if}
- </a>
-
- {eyou:if condition='($ty == "left")'}
- <span>{$field.add_time|MyDate='Y-m-d',###}</span>
- {eyou:else /}
-
- {/eyou:if}
- </li>
- {/eyou:arcview}
- {/eyou:sql}
-
- <!--不存在分站数据-->
- {eyou:empty name='$listSql' /}
- <?php
- $where = " typeid=".$son_id." and is_del=0 and status=1 and province_id=0 ";
- $sql = "select aid from ey_archives where $where order by update_time desc limit 0,15";
- ?>
- {eyou:sql sql='$sql' cachetime='3600' id="listSql2"}
- {eyou:arcview aid='$listSql2.aid'}
- <li>
- <a href="{:get_tid_url_2($field['arcurl'],$field['typeid'],$field['stypeid'],'0','',0,$field['province_id'],$field['city_id'])}" class="active-{$i}">
- {eyou:if condition='($ty == "left")'}
- {$field.title|msubstr=###,0,36,true}
- {eyou:else /}
- {$field.title|msubstr=###,0,18,true}
- {/eyou:if}
- </a>
-
- {eyou:if condition='($ty == "left")'}
- <span>{$field.add_time|MyDate='Y-m-d',###}</span>
- {eyou:else /}
-
- {/eyou:if}
- </li>
- {/eyou:arcview}
- {/eyou:sql}
- {/eyou:empty}
-
-
-
-
- {eyou:elseif condition='($page == "provincial")'}
-
-
- {eyou:include file='/template/pc/components/list/sub/data/tid_111.htm' /}
-
- {eyou:elseif condition='($page == "zccat-detail-list")'}
-
- <?php
- $limit = "0,9";
- /*
- * 常见问题
- */
- ?>
- {eyou:include file='/template/pc/components/list/sub/data/tid_111.htm' /}
-
- {eyou:else /}
-
- <!--职称相关问题 现在不需要了-->
- {eyou:artlist catid="$eyou.field.typeid" stypeid='0' typeid="122" limit='0,15' titlelen='30' infolen='160' orderby='update_time desc'}
-
- <li>
- <a href="{:get_tid_url_2($field['arcurl'],$field['typeid'],$field['stypeid'])}" class="active-{$i}">{$field.title|msubstr=###,0,18,true}</a>
- </li>
-
- {/eyou:artlist}
- {/eyou:if}
|