{include file="header.html"}

{$layout.pagetitle}

{if $listdata.total != 0} {/if} {cycle values="light,lucid" print=false} {section name=accountlist loop=$accountlist start=$start max=$pagelimit} {sectionelse} {/section} {if $listdata.total != 0} {/if}
{t}Login:{/t} {if $listdata.order eq "login"}{/if}
{t}Owner:{/t} {if $listdata.order eq "customername"}{/if}
{t}Type (sh/mail/www/ftp):{/t}
{t}Quotas (sh/mail/www/ftp):{/t}
{t}ID:{/t} {if $listdata.order eq "id"}{/if}
{t}Domain:{/t} {if $listdata.order eq "domain"}{/if}
{t}Last login:{/t} {if $listdata.order eq "lastlogin"}{/if}
{t}Expiration date:{/t} {if $listdata.order eq "expdate"}{/if}
{t 0=$listdata.total}Total: $0{/t}

{t}Filter:{/t} {t}Owner:{/t}   {t}Type:{/t}   {t}State:{/t}   {t}Domain:{/t}

{t}Page:{/t} {if $page > 1}«««{else}«««{/if} {section name=pcnt loop=$accountlist 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})
{$accountlist[accountlist].login}
{if $accountlist[accountlist].ownerid} {$accountlist[accountlist].customername|truncate:50:"..."} ({$accountlist[accountlist].ownerid|string_format:"%04d"}) {/if}
{if ($accountlist[accountlist].type & 1) == 1}*{else}-{/if}/{if ($accountlist[accountlist].type & 2) == 2}*{else}-{/if}/{if ($accountlist[accountlist].type & 4) == 4}*{else}-{/if}/{if ($accountlist[accountlist].type & 8) == 8}*{else}-{/if}
{$accountlist[accountlist].quota_sh}/{$accountlist[accountlist].quota_mail}/{$accountlist[accountlist].quota_www}/{$accountlist[accountlist].quota_ftp}
({$accountlist[accountlist].id|string_format:"%04d"})
{$accountlist[accountlist].domain}
{if $accountlist[accountlist].lastlogin}{$accountlist[accountlist].lastlogin|date_format:"%Y/%m/%d %H:%M"}{/if}
{if $accountlist[accountlist].expdate}{$accountlist[accountlist].expdate|date_format:"%Y/%m/%d"}{/if}
[ {t}Delete{/t} ] [ {t}Edit{/t} ] [ {t}Change password{/t} ] [ {t}Create alias{/t} ]

 

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

 

{t}Page:{/t} {if $page > 1}«««{else}«««{/if} {section name=pcnt loop=$accountlist 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})
{t 0=$listdata.total}Total: $0{/t}  

{include file="footer.html"}