{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}
{eyou:sql sql="SELECT id FROM ey_arctype WHERE area_id=$site_pro_id and parent_id=38 and topid=38 and is_del=0 and status=1 ORDER BY id" cachetime='3600' empty='没有数据' id='kp'}
{eyou:type typeid="$kp.id" id='field2'}
{$field2.typename}
{/eyou:type}
{/eyou:sql}
热门城市:
{eyou:sql sql='SELECT id,name,domain,parent_id FROM __PREFIX__citysite WHERE is_hot=1 and level=2 and status=1 order by update_time desc limit 0,4' cachetime='3600'}
{$field.name}
{/eyou:sql}