Размер файла: 2.1Kb
<div class="title"><b><?=Lang::get('profile_of'); ?> <?=User::tnick($profile['id']); ?></b></div>
<div class="menu">
<?=User::photo($profile['id']); ?><br/>
<?php if($profile['name'] != ''): ?>
<b><?=Lang::get('name'); ?></b>: <?=$profile['name']; ?><br/>
<?php endif; ?>
<?php if($profile['surname'] != ''): ?>
<b><?=Lang::get('surname'); ?></b>: <?=$profile['surname']; ?><br/>
<?php endif; ?>
<b><?=Lang::get('gender'); ?></b>: <?=$profile['gender'] == 0 ? Lang::get('gender_0') : Lang::get('gender_1'); ?><br/>
<?php if($profile['year'] !=0): ?>
<b><?=Lang::get('birth'); ?></b>: <?=$profile['day']; ?>-<?=$profile['month']; ?>-<?=$profile['year']; ?><br/>
<?php endif; ?>
<?php if($profile['phone'] != ''): ?>
<b><?=Lang::get('phone'); ?></b>: <?=$profile['phone']; ?><br/>
<?php endif; ?>
<?php if($profile['icq'] !=0): ?>
<b>ICQ</b>: <?=$profile['icq']; ?><br/>
<?php endif; ?>
<?php if($profile['site'] != ''): ?>
<b><?=Lang::get('site'); ?></b>: <a href="http://<?=$profile['site']; ?>"><?=$profile['site']; ?></a><br/>
<?php endif; ?>
<?php if($profile['info'] != ''): ?>
<b><?=Lang::get('user_info'); ?></b>: <?=$profile['info']; ?><br/>
<?php endif; ?>
</div>
<?php if(User::Id() != $profile['id'] and User::loged()): ?>
<div class="block">
<?=System::image('mail.png'); ?> <a href="/user/dialog?id=<?=$profile['id']; ?>"><?=Lang::get('dialogs_write', 'dialogs'); ?></a>
</div>
<?php endif; ?>
<?=$this->widgets('profile'); ?>
<?php if(User::level() >=2 and $profile['level'] < 3 and User::Id() != $profile['id']): ?>
<div class="block">
<?=System::image('nav.png'); ?> <a href="/padmin/users/block?id=<?=$profile['id']; ?>"><?=Lang::get('padmin_users_block', 'padmin'); ?></a><br/>
<?=System::image('nav.png'); ?> <a href="/padmin/users/edit?id=<?=$profile['id']; ?>"><?=Lang::get('padmin_users_edit', 'padmin'); ?></a><br/>
<?=System::image('nav.png'); ?> <a href="/padmin/users/change?id=<?=$profile['id']; ?>"><?=Lang::get('padmin_users_level', 'padmin'); ?></a>
</div>
<?php endif ?>
<div class="block">
<?=System::image('back.png'); ?> <a href="/"><?=Lang::get('mainpage'); ?></a>
</div>