whoami7 - Manager
:
/
proc
/
self
/
root
/
home
/
papecmvm
/
public_html
/
application
/
views
/
users
/
Upload File:
files >> //proc/self/root/home/papecmvm/public_html/application/views/users/view_user.php
<?php require_once(APPPATH.'views/header.php');?> <?php require_once(APPPATH.'views/menu.php');?> <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> Users </h1> <ol class="breadcrumb"> <li><a href="<?php echo site_url('admin/Welcome')?>"><i class="fa fa-dashboard"></i> Dashboard</a></li> <li class="active">Users</li> </ol> </section> <!-- Main content --> <section class="content"> <!-- /.row --> <div class="row"> <div class="col-xs-12"> <div class="box"> <div class="box-header"> <div class="text-left"> <a href="<?php echo base_url();?>admin/usermanagement/adduser" class="btn btn-success"><i class="fa fa-plus"></i> Add User</a> </div> </div><!-- /.box-header --> <div class="box-body"> <?php if(isset($error)){echo $error['errormsg'];} ?> <table id="example1" class="table table-bordered table-striped"> <thead> <tr> <th>Username</th> <th>Type</th> <th>Email</th> <th>Last Access Time</th> <th>Status</th> <th>Action</th> </tr> </thead> <tbody> <?php foreach($data as $key) { ?> <tr> <td><?php echo $key['username']; ?></td> <td><?php echo $key['type']; ?></td> <td><?php echo $key['email']; ?></td> <td><?php echo $key['last_login']; ?></td> <td><?php echo $key['status']; ?></td> <td> <?php $this->load->model('alldata','model'); $encrypted_id = $this->model->encryptdata($key['uid']); ?> <a class="btn btn-primary" href="<?php echo base_url(); ?>admin/usermanagement/editUserData/<?php echo $encrypted_id; ?>" title="Edit"><i class="glyphicon glyphicon-edit text-center"></i></a> <?php if($key["status"]=='active') { ?> <a class="btn btn-info" href="<?php echo base_url(); ?>admin/usermanagement/deactiveUserData/<?php echo $key['uid']; ?>" onclick="return delete_user();" title="Deactive"><i class="fa fa-minus-circle text-center"></i></a> <?php } else { ?> <a class="btn btn-danger" href="<?php echo base_url(); ?>admin/usermanagement/activeUserData/<?php echo $key['uid']; ?>" title="Active"><i class="fa fa-plus-circle text-center"></i></a> <?php }?> </td> </tr> <?php }?> </tbody> </table> </div><!-- /.box-body --> </div><!-- /.box --> </div> </div> <!-- /.row --> </section><!-- /.content --> </div><!-- /.content-wrapper --> <?php require_once(APPPATH.'views/footer.php');?>
Copyright ©2021 || Defacer Indonesia