Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
home
/
getwphos
/
pos.getwphost.com
/
metrothemes
/
themes
/
default
/
views
/
gift_cards
/
File Content:
index.php
<?php (defined('BASEPATH')) OR exit('No direct script access allowed'); ?> <script type="text/javascript"> $(document).ready(function() { var table = $('#GCData').DataTable({ 'ajax' : { url: '<?=site_url('gift_cards/get_gift_cards');?>', type: 'POST', "data": function ( d ) { d.<?=$this->security->get_csrf_token_name();?> = "<?=$this->security->get_csrf_hash()?>"; }}, "buttons": [ { extend: 'copyHtml5', 'footer': false, exportOptions: { columns: [ 0, 1, 2, 3, 4, 5 ] } }, { extend: 'excelHtml5', 'footer': false, exportOptions: { columns: [ 0, 1, 2, 3, 4, 5 ] } }, { extend: 'csvHtml5', 'footer': false, exportOptions: { columns: [ 0, 1, 2, 3, 4, 5 ] } }, { extend: 'pdfHtml5', orientation: 'landscape', pageSize: 'A4', 'footer': false, exportOptions: { columns: [ 0, 1, 2, 3, 4, 5 ] } }, { extend: 'colvis', text: 'Columns'}, ], "columns": [ { "data": "id", "visible": false }, { "data": "card_no" }, { "data": "value", "mRender": currencyFormat }, { "data": "balance", "mRender": currencyFormat }, { "data": "created_by" }, { "data": "expiry", "mRender": hrsd }, { "data": "Actions", "searchable": false, "orderable": false } ] }); $('#search_table').on( 'keyup change', function (e) { var code = (e.keyCode ? e.keyCode : e.which); if (((code == 13 && table.search() !== this.value) || (table.search() !== '' && this.value === ''))) { table.search( this.value ).draw(); } }); }); </script> <section class="content"> <div class="row"> <div class="col-xs-12"> <div class="box box-primary"> <div class="box-header"> <h3 class="box-title"><?= lang('list_results'); ?></h3> </div> <div class="box-body"> <div class="table-responsive"> <table id="GCData" class="table table-bordered table-hover table-striped"> <thead> <tr> <th style="max-width:30px;"><?= lang("id"); ?></th> <th><?= lang("card_no"); ?></th> <th><?= lang("value"); ?></th> <th><?= lang("balance"); ?></th> <th><?= lang("created_by"); ?></th> <th><?= lang("expiry"); ?></th> <th style="width:75px;"><?= lang("actions"); ?></th> </tr> </thead> <tbody> <tr> <td colspan="7" class="dataTables_empty"><?= lang('loading_data_from_server') ?></td> </tr> </tbody> <tfoot> <tr> <td colspan="7" class="p0"><input type="text" class="form-control b0" name="search_table" id="search_table" placeholder="<?= lang('type_hit_enter'); ?>" style="width:100%;"></td> </tr> </tfoot> </table> </div> <div class="clearfix"></div> </div> </div> </div> </div> </section>
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
add.php
3065 bytes
0644
edit.php
3128 bytes
0644
index.html
117 bytes
0644
index.php
3681 bytes
0644
view.php
4783 bytes
0644
N4ST4R_ID | Naxtarrr