projects
/
living-lab-site.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
users can add pictures to their profiles; users can like and dislike videos
[living-lab-site.git]
/
application
/
views
/
user
/
profile_view.php
diff --git
a/application/views/user/profile_view.php
b/application/views/user/profile_view.php
index
3491ec4
..
d8db9ac
100644
(file)
--- a/
application/views/user/profile_view.php
+++ b/
application/views/user/profile_view.php
@@
-2,8
+2,12
@@
if (! isset($tab))
$tab = 0;
?>
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>
<div id="profile-tabs">
<ul>
<li><a href="#tab-profile">Profile</a></li>
@@
-11,6
+15,15
@@
</ul>
<div id="tab-profile">
<table class="form">
</ul>
<div id="tab-profile">
<table class="form">
+ <tr>
+ <td>
+ <?php if ($userdata['picture']): ?>
+ <img src="<?php echo site_url("data/user_pictures/{$userdata['picture']}") ?>" style="float: left" />
+ <?php endif ?>
+ </td>
+ <td></td>
+ </tr>
+
<tr>
<th><?php echo $this->lang->line('user_username'). ': ' ?></th>
<td><?php echo $userdata['username'] ?></td>
<tr>
<th><?php echo $this->lang->line('user_username'). ': ' ?></th>
<td><?php echo $userdata['username'] ?></td>