## 猜你喜欢

{php} $related_num=12; $rel_num=0; $my_key=1; $related_id=$obj['vod_id']; if (!empty($obj['vod_rel_vod'])){ $rel_num=count(explode(',',trim($obj['vod_rel_vod'],','))); if ($rel_num > $related_num) { $rel_num=$related_num; } $related_num-=$rel_num; } {/php} {if !empty($rel_num)} {maccms:vod num="'.$rel_num.'" rel="'.$obj['vod_rel_vod'].'"} {if $vo.vod_id != $obj.vod_id}
- {include file="block/vod_item"}
{php}$related_id.=",".$vo['vod_id'];$my_key++;{/php} {else/} {php}$rel_num--;$related_num++;{/php} {/if} {/maccms:vod} {/if} {if !empty($related_num)} {maccms:vod num="'.$related_num.'" not="'.$related_id.'" type="current" by="hits_week" order="desc"}
- {include file="block/vod_item"}
{php}$related_id.=",".$vo['vod_id'];$rel_num++;$related_num--;$my_key++;{/php} {/maccms:vod} {/if} {if !empty($related_num)} {maccms:vod num="'.$related_num.'" not="'.$related_id.'" by="hits_week" order="desc"}
- {include file="block/vod_item"}
{php}$related_id.=",".$vo['vod_id'];$rel_num++;$related_num--;$my_key++;{/php} {/maccms:vod} {/if}