频道
{maccms:type ids="parent" order="asc" by="sort"}
  {$vo.type_name|mac_filter_html}
{/maccms:type}

{if$obj.childids||$obj.parent.childids}

分类
  全部
{maccms:type ids="current" order="asc" by="sort"}
  {$vo.type_name|mac_filter_html}
{/maccms:type}

{/if}{if$maccms.mid==1||$maccms.mid==2}

类型
  全部
{if$obj.type_extend.class} {maccms:foreach name=":explode(',',$obj.type_extend.class)"}
  {$vo}
{/maccms:foreach} {elseif$obj.parent.type_extend.class} {maccms:foreach name=":explode(',',$obj.parent.type_extend.class)"}
  {$vo}
{/maccms:foreach} {else} {maccms:foreach name=":explode(',',$maccms[mac_get_mid_code(in_array($maccms['mid'],array('2'))?$maccms['mid']:1).'_extend_class'])"}
  {$vo}
{/maccms:foreach} {/if}

{elseif$maccms.mid==8}

星座
  全部
{maccms:foreach name=":explode(',','白羊座,金牛座,双子座,巨蟹座,狮子座,处女座,天秤座,天蝎座,射手座,摩羯座,水瓶座,双鱼座')"}
  {$vo}
{/maccms:foreach}

{/if}{if$maccms.mid!=2}

地区
  全部
{if$obj.type_extend.area} {maccms:foreach name=":explode(',',$obj.type_extend.area)"}
  {$vo}
{/maccms:foreach} {elseif$obj.parent.type_extend.area} {maccms:foreach name=":explode(',',$obj.parent.type_extend.area)"}
  {$vo}
{/maccms:foreach} {else} {maccms:foreach name=":explode(',',$maccms[mac_get_mid_code(!in_array($maccms['mid'],array('1'))?1:$maccms['mid']).'_extend_area'])"}
  {$vo}
{/maccms:foreach} {/if}

{/if}{if$maccms.mid==1||$maccms.mid==11}

语言
  全部
{if$obj.type_extend.lang} {maccms:foreach name=":explode(',',$obj.type_extend.lang)"}
  {$vo}
{/maccms:foreach} {elseif$obj.parent.type_extend.lang} {maccms:foreach name=":explode(',',$obj.parent.type_extend.lang)"}
  {$vo}
{/maccms:foreach} {else} {maccms:foreach name=":explode(',',$maccms[mac_get_mid_code(in_array($maccms['mid'],array('2'))?$maccms['mid']:1).'_extend_lang'])"}
  {$vo}
{/maccms:foreach} {/if}

{/if}

推荐
  全部
{maccms:foreach name=":explode(',','1,2,3,4,5,6,7,8,9')"}
  推荐{$vo}
{/maccms:foreach}

{if$maccms.mid==1}

年代
  全部
{if$obj.type_extend.year} {maccms:foreach name=":explode(',',$obj.type_extend.year)"}
  {$vo}
{/maccms:foreach} {elseif$obj.parent.type_extend.year} {maccms:foreach name=":explode(',',$obj.parent.type_extend.year)"}
  {$vo}
{/maccms:foreach} {else} {maccms:foreach name=":explode(',',$maccms.vod_extend_year)"}
  {$vo}
{/maccms:foreach} {/if}

{/if}

字母
  全部
{maccms:foreach name=":explode(',','A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,1,2,3,4,5,6,7,8,9,0')"}
  {$vo}
{/maccms:foreach}