Add simple user profiles
This commit is contained in:
10
application/views/users/index.html
Executable file
10
application/views/users/index.html
Executable file
@@ -0,0 +1,10 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>403 Forbidden</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>Directory access is forbidden.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
20
application/views/users/profile.php
Normal file
20
application/views/users/profile.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php $this->load->view('header');?>
|
||||
|
||||
<div id="content">
|
||||
|
||||
<div class="title">
|
||||
<h2><?=$user->firstname;?> <?=$user->lastname;?></h2>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<h3><?=_('Personal information');?></h3>
|
||||
<p>
|
||||
<strong><?=_('Name');?>:</strong> <?=$user->firstname;?> <?=$user->lastname;?><br />
|
||||
<strong><?=_('Institution');?>:</strong> <?=$user->institution;?><br />
|
||||
<strong><?=_('Phone number');?>:</strong> <?=$user->phone;?><br />
|
||||
</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<?php $this->load->view('footer');?>
|
||||
Reference in New Issue
Block a user