📄 profileview.tpl
字号:
{strip}
{include file="popheader.tpl"}
{if $err == 28 }
<table width="80%" align="center" border="0" cellspacing="5">
<tr><td colspan="2" align="center" class="subtitle">{lang mkey='profile_details'}</td></tr>
<tr><td colspan="2" align="center">{lang mkey='view_profile_restricted'}</td></tr>
</table>
{elseif $err == 31 }
<table width="80%" align="center" border="0" cellspacing="5">
<tr><td colspan="2" align="center" class="subtitle">{lang mkey='profile_details'}</td></tr>
<tr><td colspan="2" align="center">{lang mkey='profile_notset'}</td></tr>
</table>
{else}
<table width="100%" border="0" cellpadding="{$config.cellpadding}" cellspacing="{$config.cellspacing}">
<tr>
<td class="module_detail_inside" width="100%" valign="top">
{assign var="page_hdr01_text" value=$user.username|cat:"{lang mkey='profile_s'}"}
{assign var="lastvst" value=$user.lastvisit|date_format:$lang.DATE_FORMAT}
{assign var="page_hdr01_text_r" value="{lang mkey='lastlogged'} "|cat:$lastvst}
{include file="page_hdr01.tpl"}
<table width="100%" border="0" cellpadding="{$config.cellpadding}" cellspacing="{$config.cellspacing}">
{if $errid ne ''}
<tr>
<td width="100%">
<font color="{lang mkey='error_msg_color'}">
{mylang mkey='errormsgs' skey=$errid}</font>
</td>
</tr>
{/if}
<tr>
<td width="100%">
{include file="basicprofileview.tpl"}
<table width="100%" border="0" cellpadding="{$config.cellpadding}" cellspacing="{$config.cellspacing}">
<tr>
<td>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td >
{if $found == 1}
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="13%"><img src="{$image_dir}blue_window_3_bars.jpg" width="100%" height="25" alt="" /></td>
<td class="module_head" width="87%">
{lang mkey='profile_details'}
</td>
</tr>
</table>
<table align="center" border="0" width="100%" cellspacing="10" cellpadding="0">
{assign var="ccount" value="0"}
{foreach item=item from=$pref}
{if $ccount is div by 2}
<tr>
<td valign="top" align="center">
{include file="sectionview.tpl"}</td>
{else}
<td valign="top" align="center">
{include file="sectionview.tpl"}</td>
</tr>
{/if}
{math equation="$ccount+1" assign="ccount"}
{/foreach}
{if $ccount is not div by 2}
<td valign="top" align="center"> </td>
</tr>
{/if}
</table>
{else}
{if $smarty.session.UserId != '' && $smarty.session.UserId == $smarty.get.id}
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="13%"><img src="{$image_dir}blue_window_3_bars.jpg" width="100%" height="25" alt="" /></td>
<td class="module_head" width="87%">
{lang mkey='profile_details'}
</td>
</tr>
</table>
<table width="80%" align="center" border="0" cellspacing="5">
<tr>
<td colspan="2" align="center">
{lang mkey='view_profile_errmsg1'}
<a href="edituser.php" onclick="javascript:window.opener.document.location = 'edituser.php';window.close();">
{lang mkey='view_profile_errmsg2'}</a>
</td>
</tr>
</table>
{else}
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="13%"><img src="{$image_dir}blue_window_3_bars.jpg" width="100%" height="25" alt="" /></td>
<td class="module_head" width="87%">
{lang mkey='profile_details'}
</td>
</tr>
</table>
<table width="80%" align="center" border="0" cellspacing="5">
<tr>
<td colspan="2" align="center">
{lang mkey='view_profile_errmsg3'}
</td>
</tr>
</table>
{/if}
{/if}
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
{if $smarty.session.UserId != '' && $smarty.session.UserId != $user.id }
<tr>
<td align="center">
{if $smarty.session.security.favouritelist == 1}
<input type="button" class="formbutton" value="{lang mkey='addtobuddylist'}" onclick="javascript:window.location='buddybanlist.php?act=buddy&ref_id={$user.id}&rtnurl=showprofile.php';"/>
<input type="button" class="formbutton" value="{lang mkey='addtobanlist'}" onclick="javascript:window.location='buddybanlist.php?act=ban&ref_id={$user.id}&rtnurl=showprofile.php';"/>
<input type="button" class="formbutton" value="{lang mkey='addtohotlist}'" onclick="javascript:window.location='buddybanlist.php?act=hot&ref_id={$user.id}&rtnurl=showprofile.php';"/>
{/if}
{if $smarty.session.security.sendwinks == 1}
<input type="button" class="formbutton" value="{lang mkey='send_wink'}" onclick="javascript:window.location='sendwinks.php?ref_id={$user.id}&rtnurl=showprofile.php';"/>
{/if}
{if $smarty.session.security.message == 1 && $user.id != $smarty.session.UserId}
<!-- MOD START -->
<a href="compose.php?recipient={$user.id}" class="footerlink"><input type="button" class="formbutton" value="{lang mkey='send_mail'}"/></a>
<!-- MOD END -->
{/if}
{if $smarty.session.security.seepictureprofile == 1 && $snaps_cnt > 0 }
<a onclick="javascript:popUpWindow('userpicgallery.php?id={$user.id}','center',600,600);"><input type="button" class="formbutton" value="{lang mkey='pic_gallery'}"/></a>
{/if}
</td>
</tr>
{/if}
<tr>
<td align="center">
{if $smarty.session.UserId != '' && $smarty.session.UserId != $user.id && $has_rated == 0 }
{include file="rate.tpl"}
<br />
{/if}
</td>
</tr>
</table>
</td>
</tr>
{/if}
</table>
{include file="popfooter.tpl"}
{/strip}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -