<{$bootstrap}> <{$jquery}> <{$toolbar}> <{if $op=="tad_link_form"}> <{if $isAdmin}> <{includeq file="db:tad_link_form_tpl.html"}> <{/if}> <{elseif $op=="show_one_tad_link"}>
<{$push_url}>
<{$facebook_comments}> <{elseif $op=="batch" and $isAdmin and $show_cate_sn}>
<{$smarty.const._MD_TADLINK_SHOW_CATE}><{$smarty.const._TAD_FOR}> <{if $isAdmin and $show_cate_sn!=""}> <{$smarty.const._MD_TADLINK_BACK}> <{/if}>
<{foreach item=link from=$all_content}> <{/foreach}>
<{$smarty.const._MD_TADLINK_DRAG_SORT}> <{$smarty.const._MD_TADLINK_BATCH_DEL}>
<{else}> <{if $all_content}>
<{$smarty.const._MD_TADLINK_SHOW_CATE}><{$smarty.const._TAD_FOR}> <{if $isAdmin and $show_cate_sn!=""}> <{$smarty.const._MD_TADLINK_BATCH}> <{/if}>
<{assign var="i" value=0}> <{assign var="total" value=1}> <{foreach item=link from=$all_content}> <{if $i==0}>
<{/if}> <{assign var="i" value=$i+1}> <{assign var="total" value=$total+1}> <{if $i == 2 || $total==$count}>
<{assign var="i" value=0}> <{/if}> <{/foreach}>
<{$bar}>
<{/if}> <{if $isAdmin}> <{includeq file="db:tad_link_form_tpl.html"}> <{/if}> <{/if}>