{extends file="layout.html"} {block name=title}::: LMS :{$layout.pagetitle|striphtml} :::{/block} {block name=module_content} {if $layout.module=="accountsearch"}{assign var=suffix value="&s=1"}{/if}
![]() ![]() |
{trans("ID:")} {if $listdata.order == "id"} |
{trans("Type (sh/mail/www/ftp/sql/cloud):")} {trans("Quota (sh/mail/www/ftp/sql/cloud):")} |
{trans("Last login:")}{if $listdata.order == "lastlogin"} {trans("Expiration date:")}{if $listdata.order == "expdate"} |
{t a=$listdata.total}Total: $a{/t} |
---|---|---|---|---|
{trans("New Account")} ![]() |
||||
{include file="scroller.html" loop=$accountlist adlink=$suffix} | ||||
![]() ![]() |
({$accountlist[accountlist].id|string_format:"%04d"}) |
{foreach $_ACCOUNTTYPES as $typeidx => $type}
{if ($accountlist[accountlist].type & $typeidx) == $typeidx}*{else}-{/if}
{if !$type@last}/{/if}
{/foreach}
{foreach $_ACCOUNTTYPES as $typeidx => $type} {$idx='quota_'|cat:$type.alias} {$accountlist[accountlist][$idx]} {$totalquota[$typeidx]=$totalquota[$typeidx]+$accountlist[accountlist][$idx]} {if !$type@last}/{/if} {/foreach} |
{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} |
{assign var=account value="`$accountlist[accountlist].login`@`$accountlist[accountlist].domain`"}
![]() ![]() ![]() ![]() ![]() |
{trans("No such accounts in database.")} {trans('Click $a to create.', ''|cat: trans("here")|cat: '')} |
||||
{include file="scroller.html" loop=$accountlist adlink=$suffix} | ||||
{trans("Total:")} {foreach $_ACCOUNTTYPES as $typeidx => $type} {$totalquota[$typeidx]} {if !$type@last}/{/if} {/foreach} |
{trans("New Account")} ![]() |