📄 newmemberslist.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='newmemberlist'}"}
{include file="page_hdr01.tpl"}
<form action="newmemberslist.php" method="get">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr >
<td class="module_detail_inside">
<table width="100%" border="0" cellspacing="{$config.cellspacing}" cellpadding="{$config.cellpadding}">
<tr>
<td >{lang mkey='results_per_page'}:
<select name="results_per_page">
{html_options options=$lang.search_results_per_page selected=$psize}
</select>
<input type="submit" class="formbutton" value="{lang mkey='show'}" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
<table border="0" cellpadding="{$config.cellpadding}" cellspacing="{$config.cellspacing}" width="100%" class="module_detail_inside">
<tr class="table_head">
<th width="20%"><a href="?orderby=username&sortorder={$sortorder}">{lang mkey='username_hdr'}</a></th>
<th width="8%"><a href="?orderby=gender&sortorder={$sortorder}">{lang mkey='sex_without_colon'}</a></th>
<th width="8%"><a href="?orderby=age&sortorder={$sortorder}">{lang mkey='age'}</a></th>
<th width="20%"><a href="?orderby=country&sortorder={$sortorder}">{lang mkey='col_head_country'}</a></th>
<th width="25%"><a href="?orderby=city&sortorder={$sortorder}">{lang mkey='col_head_city'}</a></th>
<th width="19%"><a href="?orderby=sincedate&sortorder={$sortorder}">{lang mkey='member_since'}</a></th>
</tr>
{foreach from=$newmemberslist item=user_info}
{cycle values="oddrow,evenrow" assign="class"}
<tr class="{$class}">
<td class="$class}">
{if $config.enable_mod_rewrite == 'Y'}
<a href="javascript:popUpScrollWindow2('{$docroot}{if $config.seo_username == 'Y'}{$user_info.username}{else}{$user_info.id}.htm{/if}','top',650,600)">
{else}
<a href="javascript:popUpScrollWindow2('{$docroot}showprofile.php?{if $config.seo_username == 'Y'}username={$user_info.username}{else}id={$user_info.id}{/if}','top',650,600)">
{/if}
{$user_info.username}</a>
</td>
<td class="{$class}">{mylang mkey='signup_gender_values' skey=$user_info.gender}</td>
<td class="{$class}">{$user_info.age}</td>
<td class="{$class}">{$lang.countries[$user_info.country]}</td>
<td class="{$class}">{get_cityname city=$user_info.city state=$user_info.state_province country=$user_info.country county=$user_info.county}
</td>
<td class="{$class}">{$user_info.regdate|date_format:$lang.DATE_FORMAT}
</td>
</tr>
{/foreach}
</table>
{if $pages > 1 }
<table align="center" border="0" cellpadding="0" cellspacing="0" >
<tbody>
<tr>
{if $prev != "" }
<td>
<a href="newmemberslist.php?page={$prev}" ><-- {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="newmemberslist.php?page={$next}">{lang mkey='next'} --></a>
</td>
{/if}
</tr>
</tbody>
</table>
{/if}
</td>
</tr>
</table>
{/strip}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -