##include templates\lheader.htm##

##if @TABLE.bInlineAdd##

##if @TABLE.bEdit## ##if GroupSecurity## {if $allow_edit} ##endif##
##message EDIT## ##if GroupSecurity## {/if} ##endif## ##endif## | ##if @TABLE.bInlineEdit## ##if GroupSecurity## {if $allow_edit} ##endif## ##message INLINE_EDIT## ##if GroupSecurity## {/if} ##endif## ##endif## ##if !@TABLE.bInlineEdit || GroupSecurity## ##if @TABLE.bInlineEdit## {if !$allow_edit} ##endif## ##if @TABLE.bInlineEdit## {/if} ##endif## ##endif## ##if @TABLE.bCopy## ##if GroupSecurity## {if $allow_add} ##endif## | ##message COPY## ##if GroupSecurity## {/if} ##endif## ##endif## ##if @TABLE.bView## | ##message VIEW## ##endif## ##if @TABLE.bDelete || @TABLE.arrKeyFields.len && (@TABLE.bExportTo || @TABLE.bPrinterFriendly) || @TABLE.bInlineEdit## ##if GroupSecurity## {if $allow_delete || $allow_export ##if @TABLE.bInlineEdit## || $allow_edit ##endif##} ##endif## | ##if GroupSecurity## {/if} ##endif## ##endif## ##foreach @BUILDER.Tables as @t filter @t.arrMasterTables[strMasterTable==@TABLE.strDataSourceTable].len## ##if GroupSecurity##{if $allow_##@t.strShortTableName##}##endif## | ##@t.strCaption h## ##if GroupSecurity##{/if}##endif## ##endfor##

##foreach Fields as @f filter bListPage order nListPageOrder##

##strLabel h## | ##endfor##

{if $display_records} ##endif## {foreach from=$rowinfo item=row}
##repeat @TABLE.nRecordsPerRowList @i## {if $row.##@i##show}

##if @TABLE.bEdit## ##if GroupSecurity## {if $allow_edit} ##endif## ##if SecurityEditOwn## {if $row.##@i##editable} ##endif## ##message EDIT## ##if SecurityEditOwn## {/if} ##endif## ##if GroupSecurity## {/if} ##endif## ##endif## ##if @TABLE.bInlineEdit## ##if GroupSecurity## {if $allow_edit} ##endif## ##if SecurityEditOwn## {if $row.##@i##editable} ##endif## ##message INLINE_EDIT## ##if SecurityEditOwn## {/if} ##endif## ##if GroupSecurity## {/if} ##endif## ##endif## ##if @TABLE.bCopy## ##if GroupSecurity## {if $allow_add} ##endif## ##message COPY## ##if GroupSecurity## {/if} ##endif## ##endif## ##if @TABLE.bView## ##message VIEW## ##endif## ##if @TABLE.bDelete || @TABLE.arrKeyFields.len && (@TABLE.bExportTo || @TABLE.bPrinterFriendly) || @TABLE.bInlineEdit## ##if GroupSecurity## {if $allow_delete || $allow_export ##if @TABLE.bInlineEdit## || $allow_edit ##endif##} ##endif## ##if SecurityEditOwn && !(@TABLE.arrKeyFields.len && (@TABLE.bExportTo || @TABLE.bPrinterFriendly))## {if $row.##@i##editable} ##endif## ##if SecurityEditOwn && !(@TABLE.arrKeyFields.len && (@TABLE.bExportTo || @TABLE.bPrinterFriendly))## {/if} ##endif## ##if GroupSecurity## {/if} ##endif## ##endif## ##foreach @BUILDER.Tables as @t filter @t.arrMasterTables[strMasterTable==@TABLE.strDataSourceTable].len## ##if GroupSecurity##{if $allow_##@t.strShortTableName##}##endif## ##@t.strCaption h## ##if GroupSecurity##{/if}##endif## ##endfor##

##foreach Fields as @f filter bListPage order nListPageOrder##

##strLabel h## | {$row.##@i####@f.strName g##_value} ##endfor##

{/if} ##if @i<@TABLE.nRecordsPerRowList## ##endif## ##endrepeat##
{/foreach} ##if @TABLE.bInlineAdd## {/if} ##endif## ##include templates\lfooter.htm##