<{assign var="bc" value=$block.BlockContent}> <{if $bc.main_data}> <{if $isMyWeb}> <{$sweet_delete_news_func_code}> <{/if}> <{if $block.config.show_mode=="list"}>
<{if $block.config.show_title!='0'}>

### <{$block.BlockTitle}>

<{/if}>

<{foreach from=$bc.main_data key=i item=news}>
- <{$news.NewsCounter}> <{$news.Date}> <{if $news.cate.CateID}> <{$news.cate.CateName}> <{/if}> <{$news.NewsTitle}> <{if $news.isMyWeb}> <{/if}>
<{/foreach}>

<{elseif $block.config.show_mode=="full"}> <{foreach from=$bc.main_data key=i item=news}>
<{if $news.NewsContent}>

### <{$news.Date}> <{$news.NewsTitle}> <{if $isMyWeb}> <{/if}>

<{if $news.cate.CateID}> <{$news.cate.CateName}> <{/if}> <{$news.NewsContent}>
<{else}>

### <{$news.Date}> <{$news.NewsTitle}> <{if $isMyWeb}> <{/if}>

<{/if}>
<{/foreach}> <{else}>
<{if $bc.main_data.0.NewsContent}>

### <{$bc.main_data.0.Date}> <{$bc.main_data.0.NewsTitle}> <{if $isMyWeb}> <{/if}>

<{if $bc.main_data.0.cate.CateID}> <{$bc.main_data.0.cate.CateName}> <{/if}> <{$bc.main_data.0.NewsContent}>
<{else}>

### <{$bc.main_data.0.Date}> <{$bc.main_data.0.NewsTitle}> <{if $isMyWeb}> <{/if}>

<{/if}>

<{foreach from=$bc.main_data key=i item=news}> <{if $i > 0}>
- <{$news.NewsCounter}> <{$news.Date}> <{if $news.cate.CateID}> <{$news.cate.CateName}> <{/if}> <{$news.NewsTitle}> <{if $news.isMyWeb}> <{/if}>
<{/if}> <{/foreach}>

<{/if}> <{/if}>