Location: PHPKode > projects > Talkboard Forum > tbf-2.1.6/template/tbfV2/userdb_profile.tpl
:###- TEMPLATE FILE V2.1 -###:
@author Archilles (http://tbforum.sourceforge.net/)
@id tbfV2.userdb_profile
@sub userdb_profile, userdb_profile_item
:###- BEGIN TEMPLATE DATA -###:
<!--@hide@address.com>

<!--@TEMPLATE:userdb_profile#hide@address.com>
<!-- ### PROFILE VIEW ### -->
<h2>{LANG:PROFILE} {LANG:OF} {@USER_NAME}</h2>

<!-- ### USER DATA ### -->
<div class="box_normal_left">
<ul class="box_common_nav">
<li><a href="{LINK:FILE_MEMBERS,action=member_list}">{LANG:BACK_TO_MEMBER_LIST}</a></li>
<li><a href="{LINK:FILE_SEARCH,action=init&preset=by_uid:{USER_NAME}}">{LANG:SEARCH_ALL_POSTINGS_FROM_USER}</a></li>
{@ADDITIONAL_LINKS}
<!--@IF_BLOCK:ADVANCED_PROFILE_LINK#hide@address.com>
<li><a href="{LINK:FILE_MOD,action=advanced_profile&uid={USER_NAME}}" class="link_moderator">{LANG:ADVANCED_USER_PROFILE}</a></li>
<!--@IF_BLOCK:ADVANCED_PROFILE_LINK#hide@address.com>
<!--@IF_BLOCK:USER_EXCLUSION_LINK#hide@address.com>
<li><a href="{LINK:FILE_GROUPCP,action=group_panel&subaction=view&demote_uid={USER_NAME}&kid={USER_GROUP_ID}}" class="link_moderator">{LANG:EXCLUDE_USER_FROM_CURRENT_GROUP}</a></li>
<!--@IF_BLOCK:USER_EXCLUSION_LINK#hide@address.com>
</ul>
</div>

<div class="box_normal_right">
<table width="100%" class="tbl_with_border">
<tr>
<td class="tbl_cell_dark">{LANG:USERNAME}</td>
<td class="tbl_cell_bright">{@USER_NAME}
</td>
<td width="25%" class="tbl_cell_dark" align="center" valign="top"><strong>{LANG:AVATAR}</strong></td>
</tr>

<tr>
<td class="tbl_cell_dark">{LANG:REALNAME}</td>
<td class="tbl_cell_bright">{@USER_REALNAME}&nbsp;</td>
<td align="center" valign="top" rowspan="3">{@USER_AVATAR}</td>
</tr>

<tr>
<td class="tbl_cell_dark">{LANG:GROUP}</td>
<td class="tbl_cell_bright">{@USER_GROUP}</td>
</tr>

<tr>
<td class="tbl_cell_dark">{LANG:LANGUAGE}</td>
<td class="tbl_cell_bright">{@USER_LANGUAGE}</td>
</tr>

<tr>
<td class="tbl_cell_dark">{LANG:USER_DATA}</td>
<td class="tbl_cell_bright">{@USER_DATA}</td>
</tr>

<tr>
<td class="tbl_cell_dark">{LANG:USER_STATUS}</td>
<td class="tbl_cell_bright">{@USER_STATUS}</td>
<td class="tbl_cell_dark" align="center"><strong>{LANG:CONTACTS}</strong></td>
</tr>

<tr>
<td class="tbl_cell_dark">{LANG:RATING}</td>
<td class="tbl_cell_bright">{@USER_RATING}&nbsp;</td>
<td align="center" valign="top" rowspan="{@USER_CUSTOM_PROFILE_USED}">
<!--@IF_BLOCK:USER_C_EMAIL#hide@address.com><a href="{LINK:FILE_GUESTCP,action=mail&to={USER_NAME}}">{LANG:E_MAIL}</a><br /><!--@IF_BLOCK:USER_C_EMAIL#hide@address.com>
<!--@IF_BLOCK:USER_C_PN#hide@address.com><a href="{LINK:FILE_PRIVMSG,action=message_new&to={USER_NAME}}">{LANG:PRIVATE_MESSAGE}</a><br /><!--@IF_BLOCK:USER_C_PN#hide@address.com>
<!--@IF_BLOCK:USER_C_WWW#hide@address.com><a href="{LINK:FILE_GUESTCP,action=redirect_url&uri={USER_HOMEPAGE_URL}}">{LANG:WEBSITE}</a><br /><!--@IF_BLOCK:USER_C_WWW#hide@address.com>
<!--@IF_BLOCK:USER_C_AIM#hide@address.com><a href="{@URL_FOR_AIM}">AIM</a><br /><!--@IF_BLOCK:USER_C_AIM#hide@address.com>
<!--@IF_BLOCK:USER_C_ICQ#hide@address.com><a href="{@URL_FOR_ICQ}">ICQ</a><br /><!--@IF_BLOCK:USER_C_ICQ#hide@address.com>
<!--@IF_BLOCK:USER_C_MSN#hide@address.com>MSN: {@URL_FOR_MSN}<br /><!--@IF_BLOCK:USER_C_MSN#hide@address.com>
<!--@IF_BLOCK:USER_C_YIM#hide@address.com><a href="{@URL_FOR_YIM}">YIM</a><!--@IF_BLOCK:USER_C_YIM#hide@address.com>
</td>
</tr>

<tr>
<td class="tbl_cell_dark" valign="top">{LANG:BIRTHDAY}</td>
<td class="tbl_cell_bright">{@USER_BIRTHDAY}</td>
</tr>

<tr>
<td colspan="2"><hr /></td>
</tr>

{@USER_CUSTOM_PROFILE_DATA}

</table>
<!-- ### /USER DATA ### -->

<!-- ### RATING FORM FOR USER ACCOUNT ### -->
<div class="box_normal_inline">

<table width="33%" class="tbl_with_border">
<tr>
<td class="tbl_head"><a href="{LINK:FILE_VOTE,action=view&class=US&kid={USER_NAME}}">{LANG:VOTE_USER}</a></td>
</tr>

<tr>
<td>
<form action="{VAR:FILE_VOTE}" method="post" onsubmit="TBF_Toggle_Loading_Screen();">
{INPUT:HIDDEN,action,exec_vote}
{INPUT:HIDDEN,class,user}
{INPUT:HIDDEN,uid,{USER_NAME}}

<!--@MULTI_BLOCK:RATING_FORM#hide@address.com>
<!--#B:1#-->
<span class="format_small">{@USER_YOU_CAN_VOTE}</span><br />
<textarea name="form_text" class="input_field" cols="40" rows="6" wrap="soft"></textarea><br />
{LANG:VOTE_MARK}: <select name="form_value" class="input_select" size="1">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option selected="selected">5</option>
<option>6</option>
<option>7</option>
<option>8</option>
<option>9</option>
<option>10</option>
</select>
{INPUT:SUBMIT,,{LANG:SEND_VOTE}}
<!--#E#-->
<!--#B:2#--><span class="format_small">{LANG:YOU_CANNOT_VOTE_FOR_OWN_DATA}</span><!--#E#-->
<!--#B:3#--><span class="format_small">{LANG:YOU_CANNOT_VOTE_MORE_TIMES}</span><!--#E#-->
<!--#B:4#--><span class="format_small">{LANG:YOU_CANNOT_VOTE_TARGET_DISALLOWS}</span><!--#E#-->
<!--#B:5#--><span class="format_small">{LANG:YOU_CANNOT_VOTE_BY_MISSING_PRIVILEGES}</span><!--#E#-->
<!--@MULTI_BLOCK:RATING_FORM#hide@address.com>

{@APPSID_P}
</form>
</td>
</tr>
</table>
<!-- ### /RATING FORM FOR USER ACCOUNT ### -->

</div>
</div>
<!-- ### /PROFILE VIEW ### -->
<!--@TEMPLATE:userdb_profile#hide@address.com>

<!--@TEMPLATE:userdb_profile_item#hide@address.com>
<!--@hide@address.com>
<tr>
<td class="tbl_cell_dark" valign="top">{@ITEM_NAME}</td>
<td class="tbl_cell_bright">{@ITEM_VALUE}</td>
</tr>
<!--@TEMPLATE:userdb_profile_item#hide@address.com>
Return current item: Talkboard Forum