kopia lustrzana https://github.com/magicbug/Cloudlog
56 wiersze
1.2 KiB
PHP
56 wiersze
1.2 KiB
PHP
<div class="container">
|
|
|
|
<br>
|
|
|
|
<div class="card">
|
|
<div class="card-header">
|
|
<?php echo $this->session->userdata('user_name')."'s profile"; ?>
|
|
</div>
|
|
<div class="card-body">
|
|
<h5 class="card-title"></h5>
|
|
<p class="card-text"></p>
|
|
<table class="profile">
|
|
<tr>
|
|
<td width="100px">Username</td>
|
|
<td><?php if(isset($user_name)) { echo $user_name; } ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Level</td>
|
|
<td><?php $l = $this->config->item('auth_level'); echo $l[$user_type]; ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>E-mail</td>
|
|
<td><?php if(isset($user_email)) { echo $user_email; } ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Callsign</td>
|
|
<td><?php if(isset($user_callsign)) { echo $user_callsign; } ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Gridsquare</td>
|
|
<td><?php if(isset($user_locator)) { echo $user_locator; } ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>First name</td>
|
|
<td><?php if(isset($user_firstname)) { echo $user_firstname; } ?></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Last name</td>
|
|
<td><?php if(isset($user_lastname)) { echo $user_lastname; } ?></td>
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<a class="btn btn-primary" href="<?php echo site_url('user/edit')."/".$this->session->userdata('user_id'); ?>">Edit profile</a>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div>
|