home
/
zktecojo
/
public_html
/
app
/
storage
/
views
/
test
➕ New
📤 Upload
✎ Editing:
b62a92e5a44eef7bb722af416d26250c
← Back
<?php echo $__env->make('admin.common.header', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?> <?php echo $__env->make('admin.common.leftmenu', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?> <aside class="right-side"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> Dashboard <small>Control panel</small> </h1> <ol class="breadcrumb"> <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li> <li class="active">Users</li> </ol> </section> <!-- Main content --> <section class="content"> <div class="box"> <div class="box-header"> <h3 class="box-title">Users List</h3> </div><!-- /.box-header --> <div class="box-body table-responsive no-padding"> <?php if(!empty($users)){?> <table id="example1" class="table table-bordered table-hover"> <thead> <tr> <th>ID</th> <th>Name</th> <th>Email</th> <th>Phone Number</th> <th>Address</th> <th>Type</th> <th>Status</th> <th>Options</th> </tr></thead> <tbody> <?php $inc=1; foreach ($users as $user){ $activeUrl= URL::to('admin/users/changestatus/'.$user->id.'/'.$user->status); $DeactiveUrl= URL::to('admin/users/changestatus/'.$user->id.'/'.$user->status); ?> <tr> <td><?php echo $inc++; ?></td> <td><?php echo $user->username; ?></td> <td><?php echo $user->email; ?></td> <td><?php echo $user->user_phone_number; ?></td> <td><?php echo $user->user_address; ?></td> <td><?php echo ($user->is_admin==1)?"Admin":"Parent"; ?></td> <td><?php echo ($user->status==1)?"<a href='".$activeUrl."' class='btn btn-success btn-sm'><i class='fa fa-check-square'></i></a>":"<a href='".$DeactiveUrl."' class='btn btn-danger btn-sm'><i class='fa fa-times-circle'></i></a>"; ?></td> <td><a href="<?php echo URL::to('admin/users/edit/'.$user->id); ?>" class="btn btn-primary btn-sm" title="edit"><i class="fa fa-edit"></i></a> <?php if($user->id!=1){ ?><a href="<?php echo URL::to('admin/users/delete/'.$user->id); ?>" class="btn btn-danger btn-sm" title="delete" onclick="return confirm('Are you sure want to delete?');"><i class="fa fa-trash-o"></i></a><?php } ?></td> </tr> <?php } ?> </tbody> </table> <?php }else{ ?><div clas="row col-sm-6"> <div class="alert alert-danger alert-dismissable"> <i class="fa fa-ban"></i> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> <b>Alert!</b> No Records Found!. </div> </div> <?php } ?> </div><!-- /.box-body --> </div> </section><!-- /.content --> </aside> <?php echo $__env->make('admin.common.footer', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
💾 Save Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel