{php} $rq=date("w"); if($rq==0){ $rq=7; } $rqarray=array(1,2,3,4,5,6,7); {/php} {in name="vo5.type_id" value="3"}

{if condition="$rq eq 1"}
今天更新
{else /}
星期一更新
{/if}
  {maccms:vod num="6" type="'.$vo5['type_id'].'" weekday="1" order="desc" by="time" id="vo2" key="key2"}
  - {$vo2.vod_name}
  {/maccms:vod}
{if condition="$rq eq 2"}
今天更新
{else /}
星期二更新
{/if}
  {maccms:vod num="6" type="'.$vo5['type_id'].'" weekday="2" order="desc" by="time" id="vo2" key="key2"}
  - {$vo2.vod_name}
  {/maccms:vod}
{if condition="$rq eq 3"}
今天更新
{else /}
星期三更新
{/if}
  {maccms:vod num="6" type="'.$vo5['type_id'].'" weekday="3" order="desc" by="time" id="vo2" key="key2"}
  - {$vo2.vod_name}
  {/maccms:vod}
{if condition="$rq eq 4"}
今天更新
{else /}
星期四更新
{/if}
  {maccms:vod num="6" type="'.$vo5['type_id'].'" weekday="4" order="desc" by="time" id="vo2" key="key2"}
  - {$vo2.vod_name}
  {/maccms:vod}
{if condition="$rq eq 5"}
今天更新
{else /}
星期五更新
{/if}
  {maccms:vod num="6" type="'.$vo5['type_id'].'" weekday="5" order="desc" by="time" id="vo2" key="key2"}
  - {$vo2.vod_name}
  {/maccms:vod}
{if condition="$rq eq 6"}
今天更新
{else /}
星期六更新
{/if}
  {maccms:vod num="6" type="'.$vo5['type_id'].'" weekday="6" order="desc" by="time" id="vo2" key="key2"}
  - {$vo2.vod_name}
  {/maccms:vod}
{if condition="$rq eq 7"}
今天更新
{else /}
星期日更新
{/if}
  {maccms:vod num="6" type="'.$vo5['type_id'].'" weekday="7" order="desc" by="time" id="vo2" key="key2"}
  - {$vo2.vod_name}
  {/maccms:vod}

{else /}

{if condition="$rq eq 1"}
今天更新
{else /}
星期一更新
{/if}
  {maccms:vod num="6" type="'.$vo5['type_id'].'" weekday="1" order="desc" by="time" id="vo2" key="key2"}
  - {$vo2.vod_name}
  {/maccms:vod}
{if condition="$rq eq 2"}
今天更新
{else /}
星期二更新
{/if}
  {maccms:vod num="6" type="'.$vo5['type_id'].'" weekday="2" order="desc" by="time" id="vo2" key="key2"}
  - {$vo2.vod_name}
  {/maccms:vod}
{if condition="$rq eq 3"}
今天更新
{else /}
星期三更新
{/if}
  {maccms:vod num="6" type="'.$vo5['type_id'].'" weekday="3" order="desc" by="time" id="vo2" key="key2"}
  - {$vo2.vod_name}
  {/maccms:vod}
{if condition="$rq eq 4"}
今天更新
{else /}
星期四更新
{/if}
  {maccms:vod num="6" type="'.$vo5['type_id'].'" weekday="4" order="desc" by="time" id="vo2" key="key2"}
  - {$vo2.vod_name}
  {/maccms:vod}
{if condition="$rq eq 5"}
今天更新
{else /}
星期五更新
{/if}
  {maccms:vod num="6" type="'.$vo5['type_id'].'" weekday="5" order="desc" by="time" id="vo2" key="key2"}
  - {$vo2.vod_name}
  {/maccms:vod}
{if condition="$rq eq 6"}
今天更新
{else /}
星期六更新
{/if}
  {maccms:vod num="6" type="'.$vo5['type_id'].'" weekday="6" order="desc" by="time" id="vo2" key="key2"}
  - {$vo2.vod_name}
  {/maccms:vod}
{if condition="$rq eq 7"}
今天更新
{else /}
星期日更新
{/if}
  {maccms:vod num="6" type="'.$vo5['type_id'].'" weekday="7" order="desc" by="time" id="vo2" key="key2"}
  - {$vo2.vod_name}
  {/maccms:vod}

{/in}