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

<{else}> <{if $web_display_mode=='index' and $homework_data}> <{if "$xoops_rootpath/uploads/tad_web/0/image/`$dirname`.png"|file_exists}> <{else}>

### <{$homework.PluginTitle}>

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

<{if $web_display_mode=='index_plugin' or $web_display_mode=='home_plugin'}> <{$bar}> <{/if}> <{/if}>
<{if $web_display_mode=='index'}> <{$smarty.const._MD_TCW_MORE}><{$smarty.const._MD_TCW_HOMEWORK_SHORT}> <{elseif $web_display_mode=='home' 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}> <{if $yet_data and $isMyWeb}>

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

<{/if}>