<{if $homework_data}> <{if $isMyWeb}> <{$sweet_delete_homework_func_code}> <{/if}> <{if $WebID}>

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

<{$homework_data.0.HomeworkContent}>

<{foreach from=$homework_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=$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}>

<{else}> <{if $web_display_mode=='index' and $homework_data}>

### <{$homework.PluginTitle}>

<{elseif $web_display_mode=='index_plugin'}>

# <{$homework.PluginTitle}>

<{elseif $web_display_mode=='home_plugin'}>

# <{$homework.PluginTitle}>

<{/if}>

<{$smarty.const._MD_TCW_HOMEWORK}> | <{$smarty.const._MD_TCW_HOMEWORKCOUNTER}> <{if $web_display_mode=="index" or $web_display_mode=="index_plugin"}> | <{$smarty.const._MD_TCW_TEAMID}> <{/if}>
--- | --- | ---
<{foreach item=homework from=$homework_data}>
<{$homework.WebName}> <{$homework.toCal}> (<{$homework.Week}>) <{$smarty.const._MD_TCW_HOMEWORK}> <{if $homework.isMyWeb}> <{/if}> | <{$homework.HomeworkCounter}> <{if $web_display_mode=="index" or $web_display_mode=="index_plugin"}> | <{$homework.WebTitle}> <{/if}>
<{/foreach}>

<{$homework_bar}> <{/if}>
<{if $web_display_mode=='home' or $web_display_mode=='index' or $HomeworkDefCateID}> <{$smarty.const._MD_TCW_MORE}><{$smarty.const._MD_TCW_HOMEWORK_SHORT}> <{/if}> <{if $isMyWeb and $WebID}> <{$smarty.const._MD_TCW_ADD}><{$smarty.const._MD_TCW_HOMEWORK_SHORT}> <{/if}>
<{/if}>