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