<table align="center" border="0" cellspacing="1" width="98%">
<tr>
<td valign='top'>
<!-- MAIN TABLE -->
<div class='pp-name'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td width='1%'>
<div align="center" class="UserPhoto">
{if {$_CONF['info_row']['allow_avatar']}}
{if {$MemberInfo['avater_path']} != ''}
<a href="{$MemberInfo['avater_path']}" rel="facebox">
<img src="{$MemberInfo['avater_path']}" border="0" title="{$lang['Picture']}
{$MemberInfo['username']}
{$lang['Personal']}"
alt="{$lang['Picture']}
{$MemberInfo['username']}
{$lang['Personal']}" onload="ResizeAv(this)" /></a>
{else}
<a href="{$image_path}/
{$_CONF['info_row']['default_avatar']}" rel="facebox">
<img src="{$image_path}/
{$_CONF['info_row']['default_avatar']}" border="0"
alt="{$lang['no_photo']}"
title="{$lang['no_photo']}" onload="ResizeAv(this)" />
</a>
{/if}
{/if}
</div>
</td>
<td width='98%' style='padding-left:30px'>
<h3 style='font-size:20px'> {$MemberInfo['username_style_cache']}</h3>
{if {$GroupInfo['usertitle_change']} == '1'}
<strong>{$Usertitle}</strong>
{else}
<strong>{$MemberInfo['user_title']}</strong>
{/if}
<br />
<br />
{$status}
</td>
</tr>
</table>
</div>
<br />
<!-- My Stuff -->
<div class='pp-tabwrap'>
<div class='pp-taboff' id='pp-content-visitor_messages'>{$lang['Visitor_Messages_pp']}</div>
<div class='pp-taboff' id='pp-content-tab-information'>{$lang['About_Me']}</div>
<div class='pp-taboff' id='pp-content-tab-friends'>{$lang['friends_list']}</div>
<div class='pp-taboff' id='pp-content-tab-static'>{$lang['static']}</div>
</div>
<div id='visitor_messages_table' class='pp-contentbox-back'>
<div class="pp-tabclear">{$lang['Visitor_Messages_pp']}</div>
<div class="borderwrap">
{template}visitor_messag{/template}
</div>
</div>
<div id='information_table' class='pp-contentbox-back'>
<div class="pp-tabclear">{$lang['About_Me']}</div>
<div class="borderwrap">
<table border="0" width="100%" cellspacing="1" cellpadding="0">
<tr>
<td class="row1" width="20%">{$lang['Nickusername']}
{$MemberInfo['username']}
</td>
</tr>
<tr>
<td class="row1" width="20%">{$lang['usergroup']}
{$MemberInfo['usergroup']}
</td>
</tr>
<tr>
<td class="row1" width="20%">
{if {$GroupInfo['usertitle_change']} == '1'}
{$Usertitle}
{else}
{if !{$MemberInfo['user_title']}}
{$GroupInfo['user_title']}
{else}
{$MemberInfo['user_title']}
{/if}
{/if}
</td>
</tr>
<tr>
<td class="row1" width="20%">
{$lang['register']} : {$MemberInfo['register_date']}
</td>
</tr>
{if {$MemberInfo['bday_year']} != ''}
{if {$MemberInfo['bday_year']} != '0'}
<tr>
<td class="row1" width="20%">{$lang['Birth_date']} :
{$MemberInfo['bday_day']}-{$MemberInfo['bday_month']}-{$MemberInfo['bday_year']}
</td>
</tr>
{/if}
{/if}
{if !empty({$MemberInfo['user_country']})}
<tr>
<td class="row1" width="20%">{$lang['user_country']} :
{$MemberInfo['user_country']}
</td>
</tr>{/if}
<tr>
<td class="row1" width="20%">{$lang['user_gender']} :
{if {$MemberInfo['user_gender']} == 'm'}
<img title="{$lang['gender_m']}"
src="{$image_path}/gender_male.gif" />
{else}
<img title="{$lang['gender_f']}"
src='{$image_path}/gender_female.gif'>
{/if}
</td>
</tr>{if !empty({$MemberInfo['user_website']}) and {$MemberInfo['user_website']} != 'http://'}
<tr>
<td class="row1" width="20%">{$lang['user_website']} :
<a target="_blank" href="{$MemberInfo['user_website']}">{$lang['Visit_my_website']}</a>
</td>
</tr>{/if}
<tr>
<td class="row1" width="20%">{$lang['user_time']} :
<font class="smallfont">
{$MemberInfo['user_time']}
</font>
</td>
</tr>
<tr>
<td class="row1" width="20%">{$lang['IsOnline']} :
{$status}
</td>
</tr>
{if {$MemberInfo['user_info']} !=''}
<tr>
<td width="100%" class="row1" align="right">
<fieldset>
<legend>{$lang['information_About']}
{$MemberInfo['username']}</legend>
<?php echo $PowerBB->_CONF['template']['MemberInfo']['user_info'] = wordwrap($PowerBB->_CONF['template']['MemberInfo']['user_info'], '70', "\n", true); ?>
</fieldset>
</td>
</tr>
{/if}
</table>
</div>
</div>
<div id='friends_table' class='pp-contentbox-back'>
<div class="pp-tabclear">{$lang['friends_list']}</div>
<div class="borderwrap">
{if {$_CONF['info_row']['active_friend']} == '1'}
<table align="center" border="0" cellspacing="1" width="98%">
<tr>
<td width="60%" class="tcat" colspan="1">
{$lang['friends']}
{$MemberInfo['username']}
</td>
</tr>
<tr>
<td width="60%" class="row1">
{if {$No_Friends}}
{$lang['nofriends']}
{/if}
{Des::while}{FriendsList}
{if {$_CONF['info_row']['rewriterule']} == '1'}
<a href="u{$FriendsList['userid_friend']}.html">
{else}
<a href="index.php?page=profile&show=1&id={$FriendsList['userid_friend']}">
{/if}
{$FriendsList['username_friend']}</a> ,
{/Des::while}
</td>
</tr>
{if {$_CONF['rows']['member_row']['username']} == {$MemberInfo['username']}}
<tr>
<td class="row1" align="left">
{if {$edit_friend}}
<a href="index.php?page=usercp&options=1&friends=1&main=1">
{$lang['edit_friend']}
</a>
{/if}
</td>
</tr>
{/if}
</table>
{/if}
<br />
</div>
</div>
<div id='static_table' class='pp-contentbox-back'>
<div class="pp-tabclear">{$lang['static']}</div>
<div class="borderwrap">
<table align="center" border="0" cellspacing="1" width="98%">
<tr>
<td width="100%" class="row1" align="right">
<?php $PowerBB->_CONF['template']['LastSubject']['title'] = $PowerBB->functions->CleanVariable($PowerBB->_CONF['template']['LastSubject']['title'],'html'); ?>
<?php $PowerBB->_CONF['template']['LastSubject']['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['LastSubject']['title']); ?>
{if {$MemberInfo['posts']} == '0'}
{$lang['user_no_subject']}
{else}
{$lang['user_last_subject']}
<a href="index.php?page=topic&show=1&id={$LastSubject['id']}">{$LastSubject['title']}</a>
{/if}
</td>
</tr>
<tr>
<td width="100%" class="row1" align="right">
<?php $PowerBB->_CONF['template']['LastReply']['title'] = $PowerBB->functions->CleanVariable($PowerBB->_CONF['template']['LastReply']['title'],'html'); ?>
<?php $PowerBB->_CONF['template']['LastReply']['title'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['LastReply']['title']); ?>
{if {$MemberInfo['posts']} == '0'}
{$lang['user_no_reply']}
{else}
{$lang['last_reply_in']}
<a href="index.php?page=topic&show=1&id={$LastReply['id']}#{$LastReply['reply_id']}">{$LastReply['title']}</a>
{/if}
</td>
</tr>
<tr>
<td class="row1" width="20%">{$lang['visitor_num']} :
{$MemberInfo['visitor']}
</td>
</tr>
<tr>
<td class="row1" width="20%">{$lang['user_invite']}
{$MemberInfo['invite_num']}
</td>
</tr>
<tr>
<td class="row1" width="20%">{$lang['user_reputation']} :
{if {$MemberInfo['reputation']} == '0'}
0
{else}
{$MemberInfo['reputation']}
{/if}
</td>
</tr>{if {$MemberInfo['warnings']} != '0' && $MemberInfo['warnings'] != ''}
<tr>
<td class="row1" width="20%">{$lang['user_warnings']} :
{$MemberInfo['warnings']}
</td>
</tr>{/if}
<tr>
<td width="100%" class="row1" align="right">
{$lang['user_lastvisit']} :
(<?php echo $PowerBB->_CONF['template']['MemberInfo']['lastvisit'] = $PowerBB->functions->date($PowerBB->_CONF['template']['MemberInfo']['lastvisit']); ?>)
</td>
</tr>
{if {$MemberInfo['edit_member']}}
<tr>
<td width="100%" class="row1" align="right">
<a target="_blank" href="admin.php?page=member&edit=1&main=1&id={$MemberInfo['id']}">
{$lang['edit_member_data']}
{$MemberInfo['username']}
</a>
</td>
</tr>
{/if}
{if {$_CONF['info_row']['active_friend']} == '1'}
{if {$dont_shwo_friend} == 3}
{if {$is_friend} == 1}
<tr>
<td width="100%" class="row1" align="right">
<a href="index.php?page=usercp&options=1&friends=1&del=1&id={$friendship_id}">
{$lang['remove_friend_1']}
{$MemberInfo['username']}
{$lang['remove_friend_2']}</a>
</td>
</tr>
{elseif {$is_friend} == 2}
<tr>
<td width="100%" class="row1" align="right">
<a href="index.php?page=usercp&options=1&friends=1&add=1&username_friend={$MemberInfo['username']}">
{$lang['add_friend_1']}
{$MemberInfo['username']}
{$lang['add_friend_2']}</a>
</td>
</tr>
{/if}
{/if}
{/if}
{if {$MemberInfo['Warnings']}}
<tr>
<td width="100%" class="row1" align="right">
<a href="index.php?page=warn&index=1&id={$MemberInfo['id']}">
{$lang['user_send_warning']}
{$MemberInfo['username']}
</a>
</td>
</tr>
{/if}
{if {$_CONF['group_info']['onlinepage_allow']} == 1}
{if {$Location['user_location']}}
<tr>
<td width="100%" class="row1" align="right">
{$lang['user_location_']}
<a target="_blank" href="index.php?{$Location['path']}">{$Location['user_location']}</a>
</td>
</tr>
{/if}
{/if}
<tr>
<td width="100%" class="row1" align="right">
<fieldset>
<legend>{$lang['send_a_message_to']}
{$MemberInfo['username']}</legend>
<a href="index.php?page=pm_send&send=1&index=1&username={$MemberInfo['username']}">
{$lang['send_a_private_message_to']}
{$MemberInfo['username']}
</a>
<?php if (!$PowerBB->_CONF['template']['MemberInfo']['send_allow']== 0 OR $PowerBB->_CONF['template']['_CONF']['rows']['group_info']['admincp_allow']) { ?>
<br />
<a href="index.php?page=send&member=1&index=1&id={$MemberInfo['id']}">
{$lang['send_a_message_to_the_mailing']}
{$MemberInfo['username']}
</a>
{/if}
</fieldset>
</td>
</tr>
<tr>
<td width="100%" class="row1" align="right">
<fieldset>
<legend>{$lang['user_subjects_and_replys']}</legend>
{$lang['posts']} :
{$MemberInfo['posts']}
<br />
<a href="index.php?page=search&option=3&username={$MemberInfo['username']}&starteronly=0§ion=all&exactname=1&sort_order=DESC">
{$lang['user_search_subjects']}
{$MemberInfo['username']} </a> <br />
<a href="index.php?page=search&option=4&username={$MemberInfo['username']}&starteronly=0§ion=all&exactname=1&sort_order=DESC">
{$lang['user_search_replys']}
{$MemberInfo['username']} </a>
</fieldset>
</td>
</tr>
{if {$_CONF['rows']['member_row']['username']} == {$MemberInfo['username']}}
<tr>
<td width="100%" class="row1" align="right">
<fieldset>
<legend>{$lang['inviteyuorfrinds']}</legend>
<font class="smallfont">
{$lang['linkinviteit']} <br />
<input name="linkinviteit" value="<?php echo $PowerBB->functions->GetForumAdress() ?>index.php?page=register&index=1&agree=1&invite={$MemberInfo['id']}" size="80" type="text" dir="ltr">
</font>
</fieldset>
</td>
</tr>
{/if}
</table>
</div>
</div>
<!-- / My Stuff -->
<!-- / MAIN TABLE -->
</td>
</tr>
</table>
<script type='text/javascript'>
function ShowstuffVisitorMessagesTable()
{
if ($("#pp-content-visitor_messages").click)
{
$("#visitor_messages_table").fadeIn();
$("#friends_table").hide();
$("#information_table").hide()
$("#static_table").hide()
document.getElementById('pp-content-visitor_messages').className="pp-tabon";
document.getElementById('pp-content-tab-friends').className="pp-taboff";
document.getElementById('pp-content-tab-information').className="pp-taboff";
document.getElementById('pp-content-tab-static').className="pp-taboff";
}
else
{
$("#visitor_messages_table").fadeOut();
}
}
function ShowstuffInformationTable()
{
if ($("#pp-content-tab-information").click)
{
$("#static_table").hide()
$("#information_table").fadeIn();
$("#visitor_messages_table").hide();
$("#friends_table").hide();
document.getElementById('pp-content-tab-information').className="pp-tabon";
document.getElementById('pp-content-visitor_messages').className="pp-taboff";
document.getElementById('pp-content-tab-friends').className="pp-taboff";
document.getElementById('pp-content-tab-static').className="pp-taboff";
}
else
{
$("#information_table").fadeOut();
}
}
function ShowstuffFriendsTable()
{
if ($("#pp-content-tab-friends").click)
{
$("#friends_table").fadeIn();
$("#visitor_messages_table").hide();
$("#information_table").hide();
$("#static_table").hide()
document.getElementById('pp-content-tab-friends').className="pp-tabon";
document.getElementById('pp-content-visitor_messages').className="pp-taboff";
document.getElementById('pp-content-tab-information').className="pp-taboff";
document.getElementById('pp-content-tab-static').className="pp-taboff";
}
else
{
$("friends_table").fadeOut();
}
}
function ShowstuffStaticTable()
{
if ($("#pp-content-tab-static").click)
{
$("#static_table").fadeIn();
$("#friends_table").hide();
$("#information_table").hide()
$("#visitor_messages_table").hide();
document.getElementById('pp-content-tab-static').className="pp-tabon";
document.getElementById('pp-content-visitor_messages').className="pp-taboff";
document.getElementById('pp-content-tab-friends').className="pp-taboff";
document.getElementById('pp-content-tab-information').className="pp-taboff";
}
else
{
$("#static_table").fadeOut();
}
}
function Ready()
{
$("#pp-content-visitor_messages").click(ShowstuffVisitorMessagesTable);
document.getElementById('pp-content-visitor_messages').className="pp-tabon";
$("#pp-content-tab-information").click(ShowstuffInformationTable);
$("#information_table").hide();
$("#pp-content-tab-friends").click(ShowstuffFriendsTable);
$("#friends_table").hide();
$("#pp-content-tab-static").click(ShowstuffStaticTable);
$("#static_table").hide();
}
$(document).ready(Ready);
</script>