<{assign var="bc" value=$block.BlockContent}> <{if $isMyWeb}> <{$sweet_delete_schedule_func_code}> <{/if}> <{if $bc.main_data}> <{if $WebID==""}> <{if $web_display_mode=='index' or $web_display_mode=='home'}> <{includeq file="$xoops_rootpath/modules/tad_web/templates/tad_web_block_title_b3.html"}> <{/if}> <{assign var="i" value=0}> <{assign var="total" value=1}> <{foreach item=act from=$bc.main_data}> <{if $i==0}>
<{/if}>
<{$act.ScheduleName}>
<{assign var="i" value=$i+1}> <{if $i == 4 || $total==$bc.schedule_amount}>
<{assign var="i" value=0}> <{/if}> <{assign var="total" value=$total+1}> <{/foreach}> <{else}> <{foreach item=act from=$bc.main_data}>

## <{$act.cate.CateName}> <{$act.ScheduleName}> <{if $act.isMyWeb or $act.isAssistant}> <{/if}>

<{$act.schedule}>
<{/foreach}> <{/if}>
<{/if}>