{eyou:assign name='sitename' value='$route_param.site' /} {eyou:sql sql="SELECT id,parent_id,name,domain FROM ey_citysite WHERE domain = '$site'" cachetime='3600' id="res2"} {eyou:assign name='site_pro_id' value='$res2.id' /} {eyou:assign name='site_pro_name' value='$res2.name' /} {eyou:if condition='($site == "shandong" && $domain[0] == "www")'} 当前: {$res2.name} {eyou:else /} 当前: {$res2.name} {/eyou:if} {/eyou:sql}
{eyou:sql sql="SELECT id,parent_id,name,domain FROM ey_citysite WHERE parent_id=$site_pro_id and is_hot=1" cachetime='3600' empty='没有数据' id='kp'} {eyou:if condition='($site == "shandong" && $domain[0] == "www")'} {$kp.name} {eyou:else /} {$kp.name} {/eyou:if} {/eyou:sql}
{eyou:if condition='($site == "shandong" && $domain[0] == "www")'} {$site_pro_name}所有城市 {eyou:else /} {$site_pro_name}所有城市 {/eyou:if}
{eyou:sql sql="SELECT id,parent_id,name,domain FROM ey_citysite WHERE parent_id=$site_pro_id" cachetime='3600' empty='没有数据' id='kp'} {eyou:if condition='($site == "shandong" && $domain[0] == "www")'} {$kp.name} {eyou:else /} {$kp.name} {/eyou:if} {/eyou:sql}
{eyou:if condition='($site == "shandong" && $domain[0] == "www")'} {$site_pro_name}热门职称推荐 {eyou:else /} {$site_pro_name}热门职称推荐 {/eyou:if}
{eyou:sql sql="SELECT id FROM __PREFIX__arctype where $where1 order by add_time asc limit 0,10" cachetime='3600' id='res'} {eyou:foreach name='$res' item='cat'} {eyou:type typeid='$cat' empty='暂时没有数据' id='item'} {$item.typename} {/eyou:type} {/eyou:foreach} {/eyou:sql}