if (! isset($tab))
$tab = 0;
?>
-<h1><?php echo $this->lang->line('user_appelation')
- . ' <em>'. $userdata['username']. '</em>' ?></h1>
+
+<h1>
+ <?php echo $this->lang->line('user_appelation')
+ . ' <em>'. $userdata['username']. '</em>' ?>
+</h1>
+
<div id="profile-tabs">
<ul>
<li><a href="#tab-profile">Profile</a></li>
</ul>
<div id="tab-profile">
<table class="form">
+ <tr>
+ <td>
+ <?php if ($userdata['picture']): ?>
+ <a href="<?php echo $userdata['picture'] ?>"><img src="<?php echo $userdata['picture_thumb'] ?>" style="float: left" /></a>
+ <?php endif ?>
+ </td>
+ <td></td>
+ </tr>
+
<tr>
<th><?php echo $this->lang->line('user_username'). ': ' ?></th>
<td><?php echo $userdata['username'] ?></td>
<th><?php echo $this->lang->line('user_last_name'). ': ' ?></th>
<td><?php echo $userdata['last_name'] ?></td>
</tr>
+
+ <tr>
+ <th><?php echo $this->lang->line('user_sex'). ': ' ?></th>
+ <td><?php
+ echo ($userdata['sex']
+ ? $this->lang->line('user_sex_female')
+ : $this->lang->line('user_sex_male') ) ?></td>
+ </tr>
<tr>
<th><?php echo $this->lang->line('user_birth_date'). ': ' ?></th>