{include file="header.html"} {include file="adminheader.html"} {literal} {/literal}

{$layout.pagetitle}

{if $page} {if $executetime}

Zapytanie: {$query}
Czas wykonania: {$executetime|string_format:"%0.3f"} s
Ilość wierszy: {$nrows}
Wykonaj ponownie   Drukuj   Anuluj

{/if} {if $result}
{foreach from=$colnames item=col} {/foreach} {$result} {if $nrows > $pagelimit} {/if}
lp.{$col}
Strona: {if $page > 1} «««{else}««« {/if} {section name=pcnt loop=$nrows step=$pagelimit} {if $page eq $smarty.section.pcnt.rownum}[{else} {/if} {$smarty.section.pcnt.rownum} {if $page eq $smarty.section.pcnt.rownum}]{else}{/if} {/section} {if $page < $smarty.section.pcnt.rownum} »»»{else}»»» {/if} (rekordy {math equation="x + 1" x=$start} - {if $start + $pagelimit > $nrows}{$nrows}{else}{math equation="x + y" x=$start y=$pagelimit}{/if} z {$nrows})
{/if} {else}
Zapytanie SQL do bazy danych
Treść zapytania:
Wyślij zapytanie
{/if}
{include file="footer.html"}