{php} if(!empty($obj['type_extend']['class'])) { $classArray=explode(',',$obj['type_extend']['class']); }elseif(!empty($obj['parent']['type_extend']['class'])){ $classArray=explode(',',$obj['parent']['type_extend']['class']); }else{ $classArray=explode(',',$GLOBALS['config']['app']['vod_extend_class']); } if(!empty($obj['type_extend']['area'])) { $areaArray=explode(',',$obj['type_extend']['area']); }elseif(!empty($obj['parent']['type_extend']['area'])){ $areaArray=explode(',',$obj['parent']['type_extend']['area']); }else{ $areaArray=explode(',',$GLOBALS['config']['app']['vod_extend_area']); } if(!empty($obj['type_extend']['year'])) { $yearArray=explode(',',$obj['type_extend']['year']); }elseif(!empty($obj['parent']['type_extend']['year'])){ $yearArray=explode(',',$obj['parent']['type_extend']['year']); }else{ $yearArray=explode(',',$GLOBALS['config']['app']['vod_extend_year']); } if(!empty($obj['type_extend']['lang'])) { $langArray=explode(',',$obj['type_extend']['lang']); }elseif(!empty($obj['parent']['type_extend']['lang'])){ $langArray=explode(',',$obj['parent']['type_extend']['lang']); }else{ $langArray=explode(',',$GLOBALS['config']['app']['vod_extend_lang']); } if(!empty($obj['type_extend']['version'])) { $versionArray=explode(',',$obj['type_extend']['version']); }elseif(!empty($obj['parent']['type_extend']['version'])){ $versionArray=explode(',',$obj['parent']['type_extend']['version']); }else{ $versionArray=explode(',',$GLOBALS['config']['app']['vod_extend_version']); } if(!empty($obj['type_extend']['state'])) { $stateArray=explode(',',$obj['type_extend']['state']); }elseif(!empty($obj['parent']['type_extend']['state'])){ $stateArray=explode(',',$obj['parent']['type_extend']['state']); }else{ $stateArray=explode(',',$GLOBALS['config']['app']['vod_extend_state']); } $letterArray=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'); if(!empty($obj['childids'])){ $parent_obj=$obj; }elseif(!empty($obj['parent'])){ $parent_obj=$obj['parent']; } {/php}
{include file="block/seo"} {include file="block/include"}
{include file="block/head"}
{maccms:type ids="parent" flag="vod" by="sort" order="asc" id="type" key="key_type"} {php} $classArray=array(); if(!empty($type['type_extend']['class'])) { $classArray=explode(',',$type['type_extend']['class']); } {/php}

## {$type.type_name}

{if !empty($type.childids)}

分类
  {$type.type_name} {maccms:type ids="child" parent="'.$type['type_id'].'" flag="vod" by="sort" order="asc"} {$vo.type_name} {/maccms:type}

{/if} {if !empty($classArray)}

类型
  全部 {maccms:foreach name="$classArray"} {$vo} {/maccms:foreach}

{/if}
{/maccms:type}

## 影视资讯

分类
  {maccms:type flag="art" by="sort" order="asc"} {$vo.type_name} {/maccms:type}

{include file="block/foot"}