📄 onlineusers.tpl
字号:
{strip}
<table width="100%" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td class="module_detail" width="100%">
{assign var="page_hdr01_text" value="{lang mkey='online_users'}"}
{include file="admin/admin_page_hdr01.tpl"}
<table align="center" class="table" cellspacing="{$config.cellspacing}" cellpadding="{$config.cellpadding}" border="0" >
<tbody>
{if $error == 1 }
<tr>
<td colspan="2">{lang mkey='no_record_found'}</td>
</tr>
{else}
<tr><td colspan="2">{lang mkey='total_profiles_found'} {$totalrecs}</td></tr>
<tr>
<td colspan="2" align="center">
{lang mkey='results_per_page'} <br/>
<select name="results_per_page">
{html_options options=$lang.search_results_per_page selected=$psize}
</select>
<input type="button" value="{lang mkey='show'}" onclick="document.location='?{$querystring|escape:url}&results_per_page=' + results_per_page.value" />
</td>
</tr>
<tr><td colspan="2">Showing {$start+1}{lang mkey='to'}{assign var="totl" value=$data|@count}{$start+$totl}
</td>
</tr>
<tr>
<td >
<table width="100%" cellpadding="0" cellspacing="8" border="0">
{assign var="ccount" value="0"}
{foreach item=item key=key from=$data}
{if $ccount==0}
<tr>
{/if}
<td>{include file="admin/userresultviewsmall.tpl"}</td>
{if $ccount==1}
</tr>
{/if}
{math equation="$ccount+1" assign="ccount"}
{math equation="$ccount%2" assign="ccount"}
{/foreach}
</table>
</td>
</tr>
{/if}
</tbody>
</table>
{if $pages neq ""}
<table align="center" border="0" cellpadding="0" cellspacing="0" >
<tbody>
<tr>
{if $prev != "" }
<td>
<a href="?page={$prev}&{$querystring|escape:url}" ><-- {lang mkey='previous'}<a/>
</td>
{/if}
{if $cpage != "" && $pages != "" }
<td>
{lang mkey='pageno'} {$cpage} {lang mkey='of'}{$pages}
</td>
{/if}
{if $next != "" }
<td>
<a href="?page={$next}&{$querystring|escape:url}">{lang mkey='next'} --></a>
</td>
{/if}
</tr>
</tbody>
</table>
{/if}
</td>
</tr>
</table>
{/strip}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -