whoami7 - Manager
:
/
proc
/
self
/
root
/
home
/
papecmvm
/
public_html
/
application
/
views
/
webapp
/
master
/
tax
/
Upload File:
files >> //proc/self/root/home/papecmvm/public_html/application/views/webapp/master/tax/view.php
<?php require_once(APPPATH.'views/webapp/header.php');?> <?php require_once(APPPATH.'views/webapp/menu.php');?> <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> Tax </h1> <ol class="breadcrumb"> <li><a href="<?php echo site_url('webapp/welcome')?>"><i class="fa fa-dashboard"></i> Dashboard</a></li> <li class="active">Tax</li> </ol> </section> <!-- Main content --> <section class="content"> <?php $attributes = array('id' => 'formid'); echo form_open("",$attributes); ?> <!-- /.row --> <div class="row"> <div class="col-xs-12"> <div class="box box-primary"> <div class="box-header"> <div class="text-left"> <!---<button class="btn btn-danger" id='deletedata' type="button"><i class="fa fa-trash"></i> Trash </button>--> <?php if(empty($customer)){ ?> <a href="<?php echo base_url(); ?>webapp/master/tax/edit" class="btn btn-primary"> Edit Tax </a> <?php } ?> </div> </div><!-- /.box-header --> <div class="box-body"> <?php //$emp = ["111","222","333"]; print_r($emp); myprint($emp); //$var = getLoginUserData(); myprint($var); ?> <?php if($this->session->flashdata('msg')){ echo $this->session->flashdata('msg'); } ?> <table id="" class="table table-bordered table-striped"> <thead> <tr> <th>SGST</th> <th>CGST</th> <th>UGST</th> <th>IGST</th> </tr> </thead> <tbody> <?php foreach ($tax as $tx) { ?> <tr> <td> <?php $exs = explode('|', $tx['sgst']); $si = 1; for ($i=0; $i < count($exs); $i++) { echo 'SGST '.$si.' <i class="fa fa-long-arrow-right" aria-hidden="true"></i> <strong><span class="text-danger"> '.$exs[$i]; echo '</strong></span><br>'; $si++; } ?> </td> <td> <?php $exc = explode('|', $tx['cgst']); $ci = 1; for ($k=0; $k < count($exc); $k++) { echo 'CGST '.$ci.' <i class="fa fa-long-arrow-right" aria-hidden="true"></i> <strong><span class="text-danger"> '.$exc[$k]; echo '</strong></span><br>'; $ci++; } ?> </td> <td> <?php $exu = explode('|', $tx['ugst']); $ui = 1; for ($j=0; $j < count($exu); $j++) { echo 'UGST '.$ui.' <i class="fa fa-long-arrow-right" aria-hidden="true"></i> <strong><span class="text-danger"> '.$exu[$j]; echo '</strong></span><br>'; $ui++; } ?> </td> <td> <?php $exi = explode('|', $tx['igst']); $ii = 1; for ($v=0; $v < count($exi); $v++) { echo 'IGST '.$ii.' <i class="fa fa-long-arrow-right" aria-hidden="true"></i> <strong><span class="text-danger">'.$exi[$v]; echo '</strong></span><br>'; $ii++; } ?> </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/webapp/footer.php');?> <script type="text/javascript"> $(document).ready(function(){ //---------------- delete message ------------------------------------- $('#deletedata').click(function() { var exists = $('input[type=checkbox][name^=ck]:checked').filter(':checked').length; if( !exists ) { alert('Please select at least 1 checkbox!'); return false; } else if(confirm('Are you sure you want to delete this Data?')) { var cct = $.cookie("<?php echo $this->config->item('csrf_cookie_name'); ?>"); var postData = $('input[type=checkbox][name^=ck]:checked').serialize(); $.post("postmanagement/deletepostselected",{ck: postData,'<?php echo $this->security->get_csrf_token_name(); ?>': cct}, function(data,status){ location.reload(); }); //$('#formid').submit(); } else { return false; } }); }); </script>
Copyright ©2021 || Defacer Indonesia