CasperSecurity
<?php include ('header.php'); ?>
<div class="page-title">
<div class="title_left">
<h3>
<small>Home / User Profile</small> / View Individual
</h3>
</div>
</div>
<div class="clearfix"></div>
<div class="row">
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="x_panel">
<div class="x_title">
<h2><i class="fa fa-info"></i> Individual Information</h2>
<ul class="nav navbar-right panel_toolbox">
<li>
<a href="user.php" style="background:none;">
<button class="btn btn-primary"><i class="fa fa-arrow-left"></i> Back</button>
</a>
</li>
<li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a></li>
<!-- If needed
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
<i class="fa fa-wrench"></i>
</a>
<ul class="dropdown-menu" role="menu">
<li><a href="#">Settings 1</a></li>
<li><a href="#">Settings 2</a></li>
</ul>
</li>
-->
<li><a class="close-link"><i class="fa fa-close"></i></a></li>
</ul>
<div class="clearfix"></div>
</div>
<div class="x_content">
<!-- content starts here -->
<div class="table-responsive">
<table cellpadding="0" cellspacing="0" border="0" class="table table-striped table-bordered">
<thead>
<tr>
<!--- <th>User Image</th> -->
<th>Member Full Name</th>
<th>Contact</th>
<th>Gender</th>
<th>Address</th>
<th>Type</th>
<th>Level</th>
<th>Status</th>
<th>User Added</th>
</tr>
</thead>
<tbody>
<?php
if (isset($_GET['user_id']))
$id=$_GET['user_id'];
$result1 = mysqli_query($conn,"SELECT * FROM user WHERE user_id='$id'");
while($row = mysqli_fetch_array($result1)){
?>
<tr>
<!--- <td>
<?php // if($row['user_image'] != ""): ?>
<img src="upload/<?php // echo $row['user_image']; ?>" width="100px" height="100px" style="border:4px groove #CCCCCC; border-radius:5px;">
<?php // else: ?>
<img src="images/user.png" width="100px" height="100px" style="border:4px groove #CCCCCC; border-radius:5px;">
<?php // endif; ?>
</td> -->
<td><?php echo $row['firstname']." ".$row['middlename']." ".$row['lastname']; ?></td>
<td><?php echo $row['contact']; ?></td>
<td><?php echo $row['gender']; ?></td>
<td><?php echo $row['address']; ?></td>
<td><?php echo $row['type']; ?></td>
<td><?php echo $row['level']; ?></td>
<td><?php echo $row['status']; ?></td>
<td><?php echo date("M d, Y h:m:s a", strtotime($row['user_added'])); ?></td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
<!-- content ends here -->
</div>
</div>
</div>
</div>
<?php include ('footer.php'); ?>