<{if $get_mode=="web"}> <{assign var="i" value=0}> <{assign var="total" value=1}>
<{foreach from=$data item=webs}> <{if $i==0}>
<{/if}>
<{$webs.WebTitle}>
<{assign var="i" value=$i+1}> <{if $i == 2 || $total==$count}>
<{assign var="i" value=0}> <{/if}> <{assign var="total" value=$total+1}> <{/foreach}> <{elseif $get_mode=="school"}> <{assign var="i" value=0}> <{assign var="total" value=1}>
<{foreach from=$data item=webs}> <{if $i==0}>
<{/if}>
<{$webs.SchoolName}> (<{$webs.counter}>)
<{assign var="i" value=$i+1}> <{if $i == 6 || $total==$count}>
<{assign var="i" value=0}> <{/if}> <{assign var="total" value=$total+1}> <{/foreach}> <{elseif $get_mode=="city"}> <{assign var="i" value=0}> <{assign var="total" value=1}>
<{foreach from=$data item=webs}> <{if $i==0}>
<{/if}>
<{$webs.city}> (<{$webs.counter}>)
<{assign var="i" value=$i+1}> <{if $i == 6 || $total==$count}>
<{assign var="i" value=0}> <{/if}> <{assign var="total" value=$total+1}> <{/foreach}> <{else}> <{assign var="i" value=0}> <{assign var="total" value=1}>
<{foreach from=$data item=webs}> <{if $i==0}>
<{/if}>
<{$webs.county}> (<{$webs.counter}>)
<{assign var="i" value=$i+1}> <{if $i == 6 || $total==$count}>
<{assign var="i" value=0}> <{/if}> <{assign var="total" value=$total+1}> <{/foreach}> <{/if}>