{{if $table->pages > 1}}
{template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit"}

{{endif}} {template="buttons" params="$table->rootButtons, ''" group="global" app="core" if="isset( $headers['_buttons'] )"}
{{if $quickSearch !== NULL or $table->advancedSearch or !empty( $table->filters )}}
{{if $quickSearch !== NULL or $table->advancedSearch}} {{if $table->advancedSearch}} '1', 'filter' => $table->filter, 'sortby' => $table->sortBy, 'sortdirection' => $table->sortDirection ) )}' data-ipsDialog data-ipsDialog-title='{lang="search"}'> {{endif}} {{if $quickSearch !== NULL}} quicksearch"}"> {{endif}} {{endif}} {{if !empty( $table->filters )}} {{endif}}
{{endif}}
{$table->extraHtml|raw}
{{foreach $headers as $k => $header}} {{if $header !== '_buttons'}} {{elseif $header === '_buttons'}} {{endif}} {{endforeach}} {template="$table->rowsTemplate[1]" params="$table, $headers, $rows" object="$table->rowsTemplate[0]"}
sortBy, mb_strrpos( $table->sortBy, ',' ) + 1 ) ) : $table->sortBy )}}ipsTable_sortableActive ipsTable_sortable{{if $table->sortDirection == 'asc'}}Asc{{else}}Desc{{endif}} {{else}}ipsTable_sortableAsc{{endif}}{{endif}} {{if array_key_exists( $header, $table->classes )}}{$table->classes[ $header ]}{{endif}}' data-key="{$header}" {{if !in_array( $header, $table->noSort )}}data-action="tableSort" {{if $header == ( mb_strrpos( $table->sortBy, ',' ) !== FALSE ? trim( mb_substr( $table->sortBy, mb_strrpos( $table->sortBy, ',' ) + 1 ) ) : $table->sortBy )}}aria-sort="{{if $table->sortDirection == 'asc'}}ascending{{else}}descending{{endif}}"{{endif}}{{endif}} {{if isset( $table->widths[ $header ] )}}style="width: {$table->widths[ $header ]}%"{{endif}}> {{if !in_array( $header, $table->noSort )}} {{if $header == $table->sortBy and $table->sortDirection == 'desc'}} $table->filter, 'sortby' => $header, 'sortdirection' => 'asc' ) )}'> {{else}} $table->filter, 'sortby' => $header, 'sortdirection' => 'desc' ) )}'> {{endif}} {lang="{$table->langPrefix}{$header}"} {{else}} {lang="{$table->langPrefix}{$header}"} {{endif}}  

{{if $table->pages > 1}}
{template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit"}
{{endif}}