📄 userresultviewsmall.tpl
字号:
{strip}
<table width="100%" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td class="module_detail_inside" width="100%" >
{assign var="page_hdr02_text" value=$item.username}
{include file="page_hdr02.tpl"}
<table border="0" width="100%">
<tr>
<td valign="top">
<table border="0" width="100%">
<tbody>
<tr class="addrow">
<td valign="top" ><b>{lang mkey='age'}:</b></td>
<td>{$item.age}</td>
</tr>
<tr class="evenrow">
<td valign="top" ><b>{lang mkey='sex'}</b></td>
<td>{mylang mkey='signup_gender_values' skey=$item.gender}</td>
</tr>
{if $config.accept_lookgender == 'Y' or $config.accept_lookgender == '1'}
{* Display only if lookgender is accepted *}
<tr class="addrow">
<td valign="top" ><b>{lang mkey='looking_for'}:</b></td>
<td>{mylang mkey='signup_gender_look' skey=$item.lookgender}</td>
</tr>
{/if}
{if $config.accept_country == 'Y' or $config.accept_country == '1'}
{* Display only if country is accepted *}
<tr class="evenrow">
<td valign="top" ><b>{lang mkey='location_col'}</b></td>
<td>{if $item.city != ''}
{get_cityname city=$item.city state=$item.state_province country=$item.country county=$item.county},<br />
{/if}
{if $item.statename != ''}
{$item.statename},<br />
{/if}
{if $item.countryname != ''}
{$item.countryname}
{/if}</td>
</tr>
{/if}
</tbody>
</table>
</td>
<td>
<table border="0">
<tbody>
<tr>
<td width="100" valign="middle" align="center">
{if ($smarty.session.UserId != '' && $smarty.session.security.seepictureprofile == 1) or $smarty.session.UserId == ''}
{if $config.enable_mod_rewrite == 'Y'}
<a href="javascript:popUpScrollWindow2('{$docroot}{if $config.seo_username == 'Y'}{$item.username}{else}{$item.id}.htm{/if}','top',650,600)">
{else}
<a href="javascript:popUpScrollWindow2('{$docroot}showprofile.php?{if $config.seo_username == 'Y'}username={$item.username}{else}id={$item.id}{/if}','top',650,600)">
{/if}
<img src="getsnap.php?id={$item.id}&typ=tn" class="smallpic" alt="" />
</a>
{/if}
</td>
</tr>
<tr>
<td align="center" width="100">
{checkuser userid=$item.id checkfor='picscnt' }
</td>
</tr>
</tbody>
</table>
</td>
</tr>
{if $config.about_me_in_smallprofile == 'Y' && $item.about_me != ''}
<tr>
<td colspan="2" style="padding-left: 3px;">
{$item.about_me|stripslashes|truncate:34:" ...":true}
</td>
</tr>
{/if}
<tr>
<td colspan="2" align="center">
{checkuser userid=$item.id checkfor='online'}
</td>
</tr>
<tr>
<td colspan="2" align="center" height="20" class="statusbar">
{if $config.enable_mod_rewrite == 'Y'}
<a href="javascript:popUpScrollWindow2('{$docroot}{if $config.seo_username == 'Y'}{$item.username}{else}{$item.id}.htm{/if}','top',650,600)">
{else}
<a href="javascript:popUpScrollWindow2('{$docroot}showprofile.php?{if $config.seo_username == 'Y'}username={$item.username}{else}id={$item.id}{/if}','top',650,600)">
{/if}
{lang mkey='view_profile'}</a>
{if $smarty.session.security.message == 1 && $item.id != $smarty.session.UserId && $smarty.session.UserId != '' }
<a href="javascript:popUpScrollWindow2('{$docroot}compose.php?recipient={$item.id}','center',650,600)">{lang mkey='send_mail'}</a>
{/if}
</td>
</tr>
</table>
</td>
</tr>
</table>
<br />
{/strip}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -