<{if $news_data}> <{if $WebID}>
<{foreach from=$news_data key=i item=news}>
<{if $news.NewsContent}>

### <{$news.Date}> <{$news.NewsTitle}> <{if $news.NewsEnable!=1}>[<{$smarty.const._MD_TCW_NEWS_DRAFT}>]<{/if}> <{if $isMyWeb or $news.isAssistant}> <{/if}>

<{if isset($news.cate.CateID)}> <{$news.cate.CateName}> <{/if}> <{$news.NewsContent}> <{if $news.more}> <{$smarty.const._MD_TCW_READ_MORE}> <{/if}>
<{else}>

### <{$news.Date}> <{$news.NewsTitle}> <{if $news.NewsEnable!=1}>[<{$smarty.const._MD_TCW_NEWS_DRAFT}>]<{/if}> <{if $isMyWeb or $news.isAssistant}> <{/if}>

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

### <{$news.PluginTitle}>

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

# <{$news.PluginTitle}>

<{/if}>

<{$smarty.const._MD_TCW_NEWSDATE}> | <{$smarty.const._MD_TCW_NEWS}> | <{$smarty.const._MD_TCW_NEWSCOUNTER}> <{if $web_display_mode=="index" or $web_display_mode=="index_plugin"}> | <{$smarty.const._MD_TCW_TEAMID}> <{/if}>
--- | --- | --- | ---
<{foreach from=$news_data item=news}>
<{$news.Date}> | <{if isset($news.cate.CateID)}> <{$news.cate.CateName}> <{/if}> <{$news.NewsTitle}> <{if $news.NewsEnable!=1}>[<{$smarty.const._MD_TCW_NEWS_DRAFT}>]<{/if}> <{if $news.isMyWeb or $news.isAssistant}> <{/if}> | <{$news.NewsCounter}> <{if $web_display_mode=="index" or $web_display_mode=="index_plugin"}> | <{$news.WebTitle}> <{/if}>
<{/foreach}>

<{/if}> <{if $news_data}> <{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_NEWS_SHORT}> <{elseif $web_display_mode=='home' or $NewsDefCateID}> <{$smarty.const._MD_TCW_MORE}><{$smarty.const._MD_TCW_NEWS_SHORT}> <{/if}> <{if $isMyWeb and $WebID}> <{$smarty.const._MD_TCW_ADD}><{$smarty.const._MD_TCW_NEWS_SHORT}> <{/if}>
<{/if}>