Location: PHPKode > projects > PBBoard > PBBoard_v2.1.4/Upload/look/styles/forum/main/templates/writer_info.tpl
<!-- action_find_addons_1 -->
<div class="writer_info">
<div align="center">
{if {$GroupInfo['usertitle_change']} == 1}
	{$Usertitle}
{else}
	{if !{$Info['user_title']}}
	{$GroupInfo['user_title']}
	{else}
	{$Info['user_title']}
	{/if}
{/if}
</div>
</div>
{if {$RatingInfo['posts']} > {$Info['posts']}}
{if {$RatingInfo['rating']} != 'look/images/rating/rating_0.gif'}
<div class="writer_info">
<div align="center">
<img border="0" alt="rating" src="{$RatingInfo['rating']}">
</div>
</div>
{/if}
{/if}
{if {$_CONF['info_row']['allow_avatar']} == '1'}
<div class="writer_info">
{if {$Info['avater_path']} != ''}
<div align="center" class="UserPhoto">
<a href="{$Info['avater_path']}" rel="facebox">
<img src="{$Info['avater_path']}" border="0" title="{$lang['Picture']}
{$Info['username']}
{$lang['Personal']}"
alt="{$lang['Picture']}
{$Info['username']}
{$lang['Personal']}" onload="ResizeAv(this)" /></a></div>
{else}
<div align="center" class="UserPhoto">
<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></div>

{/if}
</div>
{/if}
<!-- action_find_addons_2 -->
<div class="writer_info" align="right">
{$lang['user_num']} :
{$Info['id']}
</div>
<div class="writer_info" align="right">
{$lang['Case']} :
{$status}
</div>
<div class="writer_info" align="right">
{$lang['posts']} :
{$Info['posts']}
</div>
{if {$Info['user_country']} != ''}
<div class="writer_info" align="right">
{$lang['user_country']} :
{$Info['user_country']}
</div>
{/if}
<div class="writer_info" align="right">
{$lang['user_gender']} :
{if {$Info['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}
</div>
{if {$Info['bday_year']} != ''}
{if {$Info['bday_year']} != '0'}
<div class="writer_info" align="right">
{$lang['Birth_date']} :
{$Info['bday_day']}-{$Info['bday_month']}-{$Info['bday_year']}
</div>
{/if}
{/if}
{if {$Info['visitor']} != ''}
<div class="writer_info" align="right">
{$lang['visitor_num']} :
{$Info['visitor']}
</div>
{/if}
{if {$Info['invite_num']} != '0'}
<div class="writer_info" align="right">
{$lang['Invites']} :
{$Info['invite_num']}
</div>
{/if}
{if {$Info['warnings']} > 0}
<div class="writer_info" align="right">
{$lang['user_warnings']} :
{$Info['warnings']}
</div>
{/if}
{if {$Info['reputation']} != ''}
<div class="writer_info" align="right">
{$lang['user_reputation']} :
{$Info['reputation']}
</div>
<!-- action_find_addons_3 -->
{/if}
{if !empty({$Info['user_website']}) and {$Info['user_website']} != 'http://'}
<div class="writer_info">
{$lang['UserWebsite']} :
<?php if (strstr($PowerBB->_CONF['template']['Info']['user_website'],'http://')) {  ?>
<a target="_blank" href="{$Info['user_website']}">{$lang['Visit_my_website']}</a>
<?php }else{ ?>
<a target="_blank" href="http://{$Info['user_website']}">{$lang['Visit_my_website']}</a>
{/if}
</div>
{/if}
{if is_array({$while['extrafield']})==true }
{Des::while}{extrafield}
<?php if( $PowerBB->_CONF['template']['Info'][ $PowerBB->_CONF['template']['while']['extrafield'][$this->x_loop]['name_tag'] ]!='' ){ ?>
<div class="writer_info" align="right">
{$extrafield['name']} :
<?php $PowerBB->_CONF['template']['Info'][ $PowerBB->_CONF['template']['while']['extrafield'][$this->x_loop]['name_tag'] ] = $PowerBB->functions->CleanVariable($PowerBB->_CONF['template']['Info'][ $PowerBB->_CONF['template']['while']['extrafield'][$this->x_loop]['name_tag'] ],'html'); ?>
<?php echo $PowerBB->_CONF['template']['Info'][ $PowerBB->_CONF['template']['while']['extrafield'][$this->x_loop]['name_tag'] ] ?>
</div>
<?php }else{ ?>
<?php } ?>
{/Des::while}
{/if}
<br />
{if !{$admin_mod_toolbar}}
<a title="{$lang['send_warn_to_mem']}
{$Info['username']}"href="index.php?page=warn&index=1&amp;id={$Info['id']}"><img title="{$lang['send_warn_to_mem']}
{$Info['username']}" border="0" src="{$image_path}/warn.png"></a>
{/if}
{if {$_CONF['rows']['group_info']['admincp_allow']}}
{if {$Info['member_ip']} != ''}
&nbsp;&nbsp;<img title="{$lang['user_IP']}:
{$Info['member_ip']}" border="0" src="{$image_path}/ip.gif" width="25" height="15">
{/if}
{/if}
{if {$_CONF['info_row']['allow_apsent']} == '1'}
{if {$Info['away']}}
<br />
<fieldset>
<legend><font class="smallfont">{$lang['user_Absent']}</font></legend>
<font class="smallfont">
{$Info['away_msg']}
</font>
</fieldset>
{/if}
{/if}
<!-- action_find_addons_4 -->
Return current item: PBBoard