%PDF-1.7 GIF89;
Server IP : 5.161.254.237 / Your IP : 216.73.216.162 Web Server : Apache System : Linux diamond.sialwebvps.com 4.18.0-553.8.1.el8_10.x86_64 #1 SMP Tue Jul 2 07:26:33 EDT 2024 x86_64 User : stellasp ( 1131) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/stellasp/www/application/views/admin/ |
Upload File : |
<?php defined('BASEPATH') OR exit('No direct script access allowed');?> <?php $this->load->view('backend/Common/Head'); ?> <?php $this->load->view('backend/Common/Header'); ?> <?php $this->load->view('backend/Common/Sidebar'); ?> <?php $this->load->view('backend/Common/Menu'); ?> <script type="text/javascript"> function areyousure() { return confirm('<?php echo lang('confirm_delete');?>'); } </script> <!-- page content --> <div class="right_col" role="main"> <div class=""> <div class="page-title"> <div class="title_left"> <h3>Admin <small> </small></h3> </div> <div class="title_right"> <div class="col-md-5 col-sm-5 col-xs-12 form-group pull-right top_search"> </div> </div> </div> <div class="clearfix"></div> <div class="row"> <div class="col-md-12"> <div class="x_panel"> <div class="x_title"> <h2>Categories</h2> <ul class="nav navbar-right panel_toolbox"> <div class="button_set"> <a class="btn btn-sm btn-primary" href="<?php echo site_url($this->config->item('admin_folder').'/admin/form'); ?>"><?php echo lang('add_new_admin');?></a> </div> </ul> <div class="clearfix"></div> </div> <div class="x_content"> <!-- start project list --> <table class="table table-striped projects" cellspacing="0" cellpadding="0"> <thead> <tr> <th class="gc_cell_left"><?php echo lang('firstname');?></th> <th><?php echo lang('lastname');?></th> <th><?php echo lang('email');?></th> <th><?php echo lang('access');?></th> <th class="gc_cell_right"></th> </tr> </thead> <tbody> <?php foreach ($admins as $admin):?> <tr> <td><?php echo $admin->firstname; ?></td> <td><?php echo $admin->lastname; ?></td> <td><a href="mailto:<?php echo $admin->email;?>"><?php echo $admin->email; ?></a></td> <td><?php echo $admin->access; ?></td> <td class="gc_cell_right list_buttons"> <?php $current_admin = $this->session->userdata('admin'); $margin = 30; if ($current_admin['id'] != $admin->id): ?> <a href="<?php echo site_url($this->config->item('admin_folder').'/admin/delete/'.$admin->id); ?>" onclick="return areyousure();"><?php echo lang('delete');?></a> <?php endif; ?> <a href="<?php echo site_url($this->config->item('admin_folder').'/admin/form/'.$admin->id);?>"><?php echo lang('edit');?></a> </td> </tr> <?php endforeach; ?> </tbody> </table> <!-- end project list --> </div> </div> </div> </div> </div> </div> <!-- /page content --> <?php $this->load->view('backend/Common/Footer'); ?> </div> </div> <?php $this->load->view('backend/Common/Script'); ?> </body> </html>