{literal}
{/literal}
{include file="system_appbuilder_btn.tpl.html"}

{if $form.icon !='' } {/if} ## {$form.title} {$form.description}

{if $actionPanel or $searchPanel }
{foreach item=elem from=$actionPanel} {$elem.element} {/foreach}
{foreach item=elem key=name from=$searchPanel} {if $name=='qry_name' || $name=='btn_dosearch' || $name=='data_filter' || $name=='type_selector'} {if $elem.label} {$elem.label} {/if} {$elem.element} {/if} {/foreach}
{foreach item=elem key=name from=$searchPanel} {if $name!='qry_name' && $name!='btn_dosearch' && $name!='data_filter' && $name!='type_selector'} {if $elem.label} {$elem.label} {/if} {$elem.element} {/if} {/foreach}
{/if}
{assign var=row_counter value=0}

{foreach item=row name=mygrid from=$dataPanel.data} {if ($smarty.foreach.mygrid.iteration-1)%6 == 0}
{/if} {if $row_counter == 0} {else} {/if} {if $row.fld_photo !=""} {else} {/if} #### {$row.fld_name} {$row.fld_type} {$row.fld_share} {assign var=row_counter value=$row_counter+1} {/foreach}

{assign var=row_counter value=0} {foreach item=row from=$dataPanel.data} {if $row_counter == 0}
{/if} {/foreach}