📄 nickpage.tpl
字号:
{if $config.use_profilepopups == 'Y'}
<?xml version="1.0" encoding="{lang mkey='ENCODING}'"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
{if $title != '' }
<title>{$title} </title>
{else}
<title>{$config.site_title}</title>
{/if}
<script type="text/javascript">
/* <![CDATA[ */
var loadingTag = "{lang mkey='loading'}";
var modeRewrite = "{$config.enable_mod_rewrite}";
var docRoot = "{$smarty.const.DOC_ROOT}";
{if $config.use_popups == 'N'}
var use_popups = false;
{else}
var use_popups = true;
{/if}
{if $config.use_profilepopups == 'N'}
var use_profilepopups = false;
{else}
var use_profilepopups = true;
{/if}
/* ]]> */
function insufficientPrivileges(){ldelim}
alert("{lang mkey='insufficientPrivileges'}");
return false;
{rdelim}
</script>
<link href="{$css_path}default.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="{$DOC_ROOT}javascript/check.js"></script>
<script type="text/javascript" src="{$DOC_ROOT}javascript/validate.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset={lang mkey='ENCODING'}" />
</head>
<body dir="{lang mkey='DIRECTION'}" >
{/if}
<script type="text/javascript" src="{$DOC_ROOT}javascript/functions.js"></script>
{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}
{ if $config.use_profilepopups == 'Y'}
<table class="main_outer_table" align="center" width="100%">
<tr><td align="center" width="100%">
{/if}
{include file="nickpage_logo.tpl"}
{include file="nickpage_navi.tpl"}
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
{if $config.use_profilepopups == 'Y'}
<td class="module_detail_inside" valign="top" align="center">
{else}
<td valign="top" align="center" width="100%">
{/if}
<div class="nickwidth" align="center">
{if $errid ne ''}
<table cellspacing="{$config.cellspacing}" cellpadding="{$config.cellpadding}" border="0" width="100%">
<tr>
<td style="margin-left:4px;" colspan="2">
<font color="{lang mkey='error_msg_color}">
{mylang mkey='errormsgs' skey=$errid}</font>
</td>
</tr>
<tr><td height="2"></td></tr>
</table>
{/if}
{include file="nickpage_basic.tpl"}
{* display all pictures in public album *}
{if $user.pub_pics|@count > 1}
<br />
<table border=0 cellspacing=0 cellpadding=0 width="100%">
<tr>
<td class="module_head" style="text-align:left;" height="18">
{lang mkey='additional_pics'}
</td>
</tr>
<tr><td height="3"></td></tr>
{assign var="mcnt" value=0}
{foreach from=$user.pub_pics item=pic}
{if $mcnt == 0}<tr><td>{/if}
{assign var="mcnt" value=$mcnt+1}
<a href="#" onClick="javascript:popUpScrollWindow2('userpicgallery.php?id={$user.id}&galpicid={$pic.picno}','center',600,600);">
<img src="getsnap.php?id={$user.id}&picid={$pic.picno}&typ=tn&width=45&height=45" class="smallpic" style="margin:2px 1px 1px 1px;" alt="" />
</a>
{if $mcnt == ($config.album_tnpics_cnt * 2)}
</td></tr>
{assign var="mcnt" value=0}
{/if}
{/foreach}
<tr>
<td align="right">
<a href="#" onClick="javascript:popUpScrollWindow2('userpicgallery.php?id={$user.id}','center',600,600);" >{lang mkey='view_all_pics'}..</a>
</td>
</tr>
<tr><td height="3"></td></tr>
</table>
{/if}
{* small snaps display end *}
<br />
{include file="nickpage_content.tpl"}
{if count($ratings) > 0}
<table width="100%" border="0" cellspacing="0" cellpadding="0" >
<tr><td class="module_detail_inside">
<!-- removed old ratings section -->
<!-- MOD START -->
<table cellspacing="0" cellpadding="0" border="0" width="100%" class="headbg">
<tr>
<td class="headerfooter" style="text-align:left; width:33%;" height="22"> {lang mkey='rating'}</td>
<td class="headerfooter" style="text-align:center; width:33%;"> </td>
<td class="headerfooter" style="text-align:right; width:33%;"> </td>
</tr>
</table>
{include file="nickpage_newrating.tpl"}
<!-- MOD END -->
</td>
</tr>
</table>
{/if}
{if count($blogs) > 0}
{include file="nickpage_bloglist.tpl"}
{/if}
{if $questionid > 0}
{include file="nickpage_polllist.tpl"}
{/if}
<!-- MOD END -->
</div>
</td>
</tr>
</table>
<table cellspacing="0" cellpadding="0" border="0" width="100%" class="headbg">
<tr>
<td class="headerfooter" style="text-align:left; width:33%;"> </td>
<td class="headerfooter" style="text-align:center; width:33%;"> </td>
<td class="headerfooter" style="text-align:right; width:33%;">
{$profile_views} {lang mkey='views'}
</td>
</tr>
</table>
{*if $smarty.get.id != $smarty.session.UserId}
<script type='text/javascript'>
var thisUid = "{$smarty.get.id}";
var thisUname = "{$user.username}";
selectedUser(thisUname, thisUid);
</script>
{/if*}
{if $config.use_profilepopups == 'Y'}
</td>
</tr>
</table>
{/if}
{if $config.use_profilepopups == 'Y'}
<script type="text/javascript"> /* <![CDATA[ */ window.focus(); /* ]]> */</script>
{/if}
{if $config.use_profilepopups == 'Y'}
{closedb}
</body>
</html>
{/if}
{/if}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -