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

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

{if $actionPanel or $searchPanel }
{foreach item=elem from=$searchPanel} {if $elem.type!='InputDateRangePicker'} {if $elem.label}{$elem.label} {/if} {$elem.element} {/if} {/foreach}
{foreach item=elem from=$searchPanel} {if $elem.type=='InputDateRangePicker'} {$elem.element}{/if} {/foreach} {foreach item=elem from=$actionPanel} {$elem.element} {/foreach}
{/if}

{$dataPanel.elems.fld_icon.label} | {$dataPanel.elems.fld_name.label} | {$dataPanel.elems.fld_desc.label} | {$dataPanel.elems.fld_release_time.label} | {$dataPanel.elems.fld_detail.label}
{assign var=row_counter value=0} {foreach item=row from=$dataPanel.data} {if $row.$row_style_name != ''} {assign var=row_style value=$dataPanel.data.$row_counter.$row_style_name} {else} {assign var=row_style value=''} {/if} {if $row_style != ''}
{elseif $form.currentRecordId == $dataPanel.ids[$row_counter]} {assign var=default_selected_id value=$dataPanel.ids[$row_counter]}
{elseif $row_counter == 0 and $form.currentRecordId == ""} {assign var=default_selected_id value=$dataPanel.ids[$row_counter]}
{elseif $row_counter is odd}
{else}
{/if} {$dataPanel.data.$row_counter.fld_icon} | {$dataPanel.data.$row_counter.fld_name} {$dataPanel.data.$row_counter.fld_author} | {$dataPanel.data.$row_counter.fld_desc} | {$dataPanel.data.$row_counter.fld_release_time} | {$dataPanel.data.$row_counter.fld_detail} {assign var=row_counter value=$row_counter+1}
{/foreach}

{$default_selected_id}
{if $errors}
{foreach item=errMsg from=$errors}
{$errMsg}
{/foreach} {literal}
{/literal}
{/if} {if $notices}
{foreach item=noticeMsg from=$notices}
{$noticeMsg}
{/foreach}
{literal}
{/literal}
{/if}