{maccms:type ids="'.$mtpc['mtcms']['home']['indextypeid'].'" order="asc" by="sort" id="vo1" key="key1" flag="vod"}
{$vo1.type_name}
{if condition="$mtpc['mtcms']['home']['indextypeidbtn'] eq 1"}
{maccms:type parent="'.$vo1['type_id'].'" order="asc" by="sort" id="vo2" key="key2"} {/maccms:type}
{/if}
1
/
{maccms:vod num="'.$mtpc['mtcms']['home']['indextypenum'].'" type="'.$vo1['type_id'].'" order="'.$mtpc['mtcms']['home']['indextypeorder'].'" by="'.$mtpc['mtcms']['home']['indextypeby'].'" year="'.$mtpc['mtcms']['home']['indextypeyear'].'"} {include file="module/vod_list"} {/maccms:vod}
{php}$starto = $mtpc['mtcms']['home']['indextypenum'] + 1;{/php} {maccms:vod num="'.$mtpc['mtcms']['home']['indextypenum'].'" type="'.$vo1['type_id'].'" order="'.$mtpc['mtcms']['home']['indextypeorder'].'" by="'.$mtpc['mtcms']['home']['indextypeby'].'" year="'.$mtpc['mtcms']['home']['indextypeyear'].'" start="'.$starto.'"} {include file="module/vod_list"} {/maccms:vod}
{php}$startt = $mtpc['mtcms']['home']['indextypenum']*2 + 1;{/php} {maccms:vod num="'.$mtpc['mtcms']['home']['indextypenum'].'" type="'.$vo1['type_id'].'" order="'.$mtpc['mtcms']['home']['indextypeorder'].'" by="'.$mtpc['mtcms']['home']['indextypeby'].'" year="'.$mtpc['mtcms']['home']['indextypeyear'].'" start="'.$startt.'"} {include file="module/vod_list"} {/maccms:vod}
{/maccms:type}