{eyou:php} $route_param = request()->route(); //处理域名获取当前域名名称 $route_domain = request()->domain(); $domain = explode('//',$route_domain); $domain = explode('.',$domain[1]); $site = $domain[0]; //var_dump($site); if(!empty($site) || $site != 'zc' || $site != 'www'){ //判定为二级域名 }else{ $site = 'www'; } //处理城市参数 if(!empty($route_param['site'])){ $city_domain = $route_param['site']; }else{ $city_domain = 'none'; } {/eyou:php} {eyou:sql sql='$sql' cachetime='3600' id='seo_cat'} {eyou:notempty name='$seo_cat' /} {eyou:assign name='cityid' value="$seo_cat.id" /} {eyou:php} $seo_title = $seo_cat['seo_title']; $seo_keywords = $seo_cat['seo_keywords']; $seo_description = $seo_cat['seo_description']; {/eyou:php} {/eyou:notempty} {/eyou:sql} {eyou:if condition='(empty($seo_title) && isset($seo_title))'} {eyou:sql sql='$sql2' cachetime='3600' id='area'} {eyou:php} $area_name = ''.$area['name'].''; $area_id = ''.$area['id'].''; {/eyou:php} {/eyou:sql} {eyou:sql sql='$sql1' cachetime='3600' id='seo_cat2'} {eyou:notempty name='$seo_cat2' /} {eyou:php} $seo_title = $seo_cat2['seo_title']; $seo_keywords = $seo_cat2['seo_keywords']; $seo_description = $seo_cat2['seo_description']; {/eyou:php} {/eyou:notempty} {/eyou:sql} {eyou:else /} {/eyou:if} {$seo_title} {eyou:global name='web_title' /} {eyou:include file='/template/mobile/common/background.htm' /} {eyou:assign name='page' value='city' /}
职称专业分类对照表
route(); //var_dump(); //$route_param['site'] ?>
{eyou:assign name='sitename' value='$route_param.site' /} {eyou:sql sql="SELECT id,parent_id,name,domain FROM ey_citysite WHERE domain = '$sitename'" cachetime='3600' id="res2"} {eyou:assign name='siteid' value='$res2.parent_id' /} {eyou:sql sql="SELECT id,parent_id,name,domain FROM ey_citysite WHERE id = $siteid" cachetime='3600' id="res3"} {eyou:assign name='site_pro_id' value='$res3.id' /} {eyou:assign name='site_pro_name' value='$res3.name' /} 热门职称推荐 {/eyou:sql} {/eyou:sql}
{eyou:sql sql="$sql" cachetime='3600' empty='没有数据' id='kp'} {eyou:type typeid="$kp.id" id='field2'} {$field2.typename} {/eyou:type} {/eyou:sql}
{eyou:php} $num = 1; {/eyou:php} {eyou:artlist typeid='33' titlelen='30' infolen='160' orderby='aid asc'}
  • ">
  • {eyou:php} $num++; {/eyou:php} {/eyou:artlist}
    {eyou:include file='/template/mobile/components/list/style_11.htm' /}
    {eyou:include file='/template/mobile/components/list/style_3.htm' /}
    {eyou:type typeid='120' empty='暂时没有数据'} 职称评审成功案例展示 {/eyou:type}
    {eyou:type typeid='120' empty='暂时没有数据'} 更多 {/eyou:type}  
    {eyou:artlist stypeid='0' typeid="120" limit='0,14' flag='c' titlelen='30' infolen='160' orderby='update_time desc'}
  • {$field.add_time|MyDate='Y-m-d',###}
  • {/eyou:artlist}
    {eyou:adv pid='12' loop='3'} {$field.title} {/eyou:adv}
    {eyou:type typeid='120' empty='暂时没有数据'} 职称评审证书案例展示 {/eyou:type}
    {eyou:type typeid='120' empty='暂时没有数据'} 更多 {/eyou:type}  
    {eyou:artlist stypeid='0' typeid="120" limit='0,4' flag='h' titlelen='30' infolen='160' orderby='update_time desc'}
  • {$field.title|msubstr=###,0,10,true}
  • {/eyou:artlist}
    {eyou:include file='/template/mobile/components/list/style_6.htm' /}
    {eyou:include file='/template/mobile/common/common_bot.htm' /}