whoami7 - Manager
:
/
proc
/
self
/
root
/
home
/
papecmvm
/
www
/
application
/
views
/
setting
/
Upload File:
files >> //proc/self/root/home/papecmvm/www/application/views/setting/setting.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> Setting </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">Setting</li> </ol> </section> <!-- Main content --> <section class="content"> <?php echo form_open("admin/setting/delete_setting", array('id'=>'formid')); ?> <!-- /.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/setting/add_setting" class="btn btn-success"><i class="fa fa-plus"></i> Add Setting</a> <button class="btn btn-danger" id="delete" type="mit"><i class="fa fa-trash"></i> Trash </button> </div> </div><!-- /.box-header --> <div class="box-body"> <?php if($this->session->flashdata('msg')){ echo $this->session->flashdata('msg'); } ?> <table id="example1" class="table table-bordered table-striped"> <thead> <tr> <th> <input type="checkbox" class="minimal-red" name="checkall" id="checkall" /></th> <th>Title</th> <th>Category</th> <th>Text</th> <th>Action</th> </tr> </thead> <tbody> <?php foreach($view as $key) { $this->load->model('alldata','model'); $encrypted_id = $this->model->encryptdata($key['other_id']); ?> <tr> <td> <input type="checkbox" name="ck[]" class="minimal-red" value="<?php echo $encrypted_id;?>"/> </td> <td><?php echo $key['other_title']; ?></td> <td><?php echo $key['other_cat']; ?></td> <td><?php echo $key['other_text']; ?></td> <td> <a class="btn btn-primary" href="<?php echo base_url(); ?>admin/setting/edit_setting/<?php echo $encrypted_id; ?>" title="Edit"><i class="glyphicon glyphicon-edit text-center"></i></a> </td> </tr> <?php } ?> </tbody> </table> </div><!-- /.box-body --> </div><!-- /.box --> </div> </div> <!-- /.row --> <?php echo form_close(); ?> </section><!-- /.content --> </div><!-- /.content-wrapper --> <?php require_once(APPPATH.'views/footer.php');?>
Copyright ©2021 || Defacer Indonesia