<{if $setting.columNum gt 1}>
<{foreach from=$data item=titleDate key=key1}> <{if $key1 == $setting.onSelect }>
onClick<{/if}><{if $setting.changeEffect==2}>onMouseOver<{/if}> ="ef_<{$widgets_id}>.changeTableing(<{$key1}>)"><{$setting.explain.$key1}>
<{else}>
onClick<{/if}><{if $setting.changeEffect==2}>onMouseOver<{/if}> ="ef_<{$widgets_id}>.changeTableing(<{$key1}>)"><{$setting.explain.$key1}>
<{/if}> <{/foreach}>
<{foreach from=$data item=data key=key1}>
style="display:none"<{else}><{/if}>>

<{counter start=1 assign="result" print=false }> <{foreach from=$data item=sData key=key2}> <{if ($result mod $setting.colums) eq 1 }>
<{if $setting.smallPic==6 }> <{if $setting.picaddress}> <{/if}> <{else}> <{img src=$setting.smallPic path="icons"}> <{/if}> <{$sData.title|cut:$setting.max_length}> <{elseif ($result mod $setting.colums) eq 0}> | <{if $setting.smallPic==6 }> <{if $setting.picaddress}> <{/if}> <{else}> <{img src=$setting.smallPic path="icons"}> <{/if}> <{$sData.title|cut:$setting.max_length}>
<{else}> | <{if $setting.smallPic==6 }> <{if $setting.picaddress}> <{/if}> <{else}> <{img src=$setting.smallPic path="icons"}> <{/if}> <{$sData.title|cut:$setting.max_length}> <{/if}> <{counter assign="result" print=false }> <{/foreach}>

<{if $setting.showMore == "on"}>
more...
<{/if}>
<{/foreach}>
<{else}>

<{counter start=1 assign="result" print=false }> <{foreach from=$data item=data key=key}> <{if ($result mod $setting.colums) eq 1 }>
<{if $setting.smallPic==6 }> <{if $setting.picaddress}> <{/if}> <{else}> <{img src=$setting.smallPic path="icons"}> <{/if}> <{$data.title|cut:$setting.max_length}> <{elseif ($result mod $setting.colums) eq 0}> | <{if $setting.smallPic==6 }> <{if $setting.picaddress}> <{/if}> <{else}> <{img src=$setting.smallPic path="icons"}> <{/if}> <{$data.title|cut:$setting.max_length}>
<{else}> | <{if $setting.smallPic==6 }> <{if $setting.picaddress}> <{/if}> <{else}> <{img src=$setting.smallPic path="icons"}> <{/if}> <{$data.title|cut:$setting.max_length}> <{/if}> <{counter assign="result" print=false }> <{/foreach}>

<{if $setting.showMore == "on"}>
more...
<{/if}>
<{/if}>