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