{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"} {if $maccms.aid==11 && !empty($obj.childids)}
{maccms:vod level="9" type="current" num="6" by="time" order="desc"}

### {$vo.vod_name}

{include file="block/status"}

{/maccms:vod}

### 片库全部

- 最多播放
- 最好评
- 最近更新
- 最近上映

### 语言全部

{maccms:foreach name="langArray"} {if $key lt 12}
- {$vo}
{/if} {/maccms:foreach}

### 地区全部

{maccms:foreach name="areaArray"} {if $key lt 12}
- {$vo}
{/if} {/maccms:foreach}

### 年份全部

{maccms:foreach name="yearArray"} {if $key lt 12}
- {$vo}
{/if} {/maccms:foreach}

{maccms:type ids="child" flag="vod" parent="'.$obj['type_id'].'" by="sort" order="asc" id="type" key="key_type"}

## {$type.type_name}
更多>

{maccms:vod num="10" type="'.$type['type_id'].'" by="time" order="desc"}
- {if $key==1||$key==6} {php}$big_item=1;{/php} {/if} {include file="block/vod_item"}
{php}$big_item=0;{/php} {/maccms:vod}

## {$type.type_name}热播榜

{maccms:vod num="7" type="'.$type['type_id'].'" by="hits" order="desc"}
- {include file="block/vod_item_ranking"}
{/maccms:vod}

{/maccms:type}
{else/}

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

{if !empty($parent_obj.type_id)}

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

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

地区
  全部 {maccms:foreach name="$areaArray"} {$vo} {/maccms:foreach}

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

剧情
  全部 {maccms:foreach name="$classArray"} {$vo} {/maccms:foreach}

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

语言
  全部 {maccms:foreach name="$langArray"} {$vo} {/maccms:foreach}

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

年份
  全部 {maccms:foreach name="$yearArray"} {$vo} {/maccms:foreach}

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

字母
  全部 {maccms:foreach name="$letterArray"} {$vo} {/maccms:foreach}

{/if}

排序
  最近更新 最多播放 最好评

## {$obj.type_name}
共0个视频 · 第{$param.page}页

{php} if($maccms['aid']==11){ $myPageUrl='vod/type'; }elseif($maccms['aid']==12){ $myPageUrl='vod/show'; } {/php} {maccms:vod num="36" paging="yes" half="3" order="desc" by="time" pageurl="'.$myPageUrl.'"}
- {include file="block/vod_item"}
{/maccms:vod}

{include file="block/paging"}
{/if} {include file="block/foot"}