?> <i class="caret"></i></span> </a> <ul class="dropdown-menu"> <!-- User image --> <li class="user-header bg-light-blue"> <img src="<?php echo base_url(); ?> inc/img/avatar3.png" class="img-circle" alt="User Image" /> <p> <?php echo ucfirst($this->session->userdata('username')); ?> <small><?php echo roleDesc($this->session->userdata('role')); ?> </small> </p> </li> <!-- Menu Body --> <!--li class="user-body"> <div class="col-xs-4 text-center"> <a href="#">Followers</a> </div> <div class="col-xs-4 text-center"> <a href="#">Sales</a> </div> <div class="col-xs-4 text-center"> <a href="#">Friends</a> </div>
?> </td> <td><?php echo $r['username']; ?> </td> <td><?php echo $r['fullname']; ?> </td> <td><?php echo $r['email']; ?> </td> <td><?php echo roleDesc($r['role']); ?> </td> <td> <button class="btn btn-info" type="button" id="edit_user" onclick="edit_user(<?php echo $r['id_user']; ?> )"><i class="fa fa-pencil"></i></button> </td> <td> <button class="btn btn-warning" type="button" id="remove_user" onclick="remove_user(<?php echo $r['id_user']; ?> )"><i class="fa fa-trash"></i></button> </td> </tr>