{include file="header.html"}

{$layout.pagetitle}

{if $listdata.total != 0} {/if} {cycle values="light,lucid" print=false} {section name=domainlist loop=$domainlist start=$start max=$pagelimit} {sectionelse} {/section} {if $listdata.total != 0} {/if}
{t}Name:{/t} {if $listdata.order eq "name"}{/if} {t}ID:{/t} {if $listdata.order eq "id"}{/if} {t}Description:{/t} {if $listdata.order eq "description"}{/if} {t 0=$listdata.total}Total: $0{/t}
{t}Page:{/t} {if $page > 1}«««{else}«««{/if} {section name=pcnt loop=$domainlist 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} {math equation="x + 1" x=$start assign=startx} {if $start + $pagelimit > $listdata.total} {assign var=endx value=$listdata.total}{else}{math equation="x + y" x=$start y=$pagelimit assign=endx} {/if} ({t 0=$startx 1=$endx 2=$listdata.total}records $0 - $1 of $2{/t})
{$domainlist[domainlist].name} ({$domainlist[domainlist].id|string_format:"%04d"}) {$domainlist[domainlist].description} [ {t}Edit{/t} ] [ {t}Delete{/t} ]

 

{t}No such domains in database.{/t}

 

{t}Page:{/t} {if $page > 1}«««{else}«««{/if} {section name=pcnt loop=$domainlist 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} {math equation="x + 1" x=$start assign=startx} {if $start + $pagelimit > $listdata.total} {assign var=endx value=$listdata.total}{else}{math equation="x + y" x=$start y=$pagelimit assign=endx} {/if} ({t 0=$startx 1=$endx 2=$listdata.total}records $0 - $1 of $2{/t})

{include file="footer.html"}