<{assign var="bc" value=$block.BlockContent}> <{if $bc.main_data}> <{if $isMyWeb}> <{$sweet_delete_homework_func_code}> <{/if}>

### <{$bc.main_data.0.toCal}> (<{$bc.main_data.0.Week}>) <{$smarty.const._MD_TCW_HOMEWORK}> <{if $isMyWeb}> <{/if}>

<{$bc.main_data.0.HomeworkContent}>

<{foreach from=$bc.main_data key=i item=homework}> <{if $i > 0}>
- <{$homework.HomeworkCounter}> <{$homework.toCal}> (<{$homework.Week}>) <{$smarty.const._MD_TCW_HOMEWORK}> <{if $homework.isMyWeb}> <{/if}>
<{/if}> <{/foreach}>

<{foreach from=$bc.yet_data key=i item=homework}> <{if $i > 0}>
- <{$homework.HomeworkCounter}> <{$homework.toCal}> (<{$homework.Week}>) <{$smarty.const._MD_TCW_HOMEWORK}> <{if $homework.isMyWeb}> <{/if}> <{$homework.display_at}>
<{/if}> <{/foreach}>

<{/if}>