<{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'}> <{if $block.config.show_title!='0'}>

### <{$block.BlockTitle}>

<{/if}> <{/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}> <{/if}>

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