AnonSec Shell
Server IP : 172.67.216.113  /  Your IP : 172.71.28.146   [ Reverse IP ]
Web Server : Apache
System : Linux cpanel01wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.59.el6.x86_64 #1 SMP Thu Dec 6 05:11:00 EST 2018 x86_64
User : cp648411 ( 1354)
PHP Version : 7.2.34
Disable Function : NONE
Domains : 0 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home2/cp648411/public_html/ilawasia.onnud20.com/themes_v1/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /home2/cp648411/public_html/ilawasia.onnud20.com/themes_v1/taxinvoice.php
<?php
$PageSize = 10;
$PageNumber = 1;
if(isset($_GET['PageNumber'])){$PageNumber = $_GET['PageNumber'];}
 ?>
<input type="hidden" id="page-menu-id" name="" value="#menu_account" />
<div class="d-sm-flex align-items-center justify-content-between mb-4">
    <h1 class="h3 mb-0 text-gray-800">Account > Tax Invoice List</h1>
</div>
<?php if(@$_SESSION['Success']!=''){ ?>
  <div class="alert alert-success">
      <?php echo $_SESSIOn['Success']; ?>
  </div>
<?php } ?>

<?php if(@$_SESSION['Error']!=''){ ?>
  <div class="alert alert-danger">
      <?php echo $_SESSION['Error']; ?>
  </div>
<?php } ?>
<form action="index.php" method="get">
    <div class="row">
        <div class="col-md-2">
            TaxInvoice No:
        </div>
        <div class="col-md-2">
            <input class="form-control" name="TaxInvoiceNo" value="<?php echo @$_GET['TaxInvoiceNo']; ?>" />
        </div>
        <div class="col-md-1">
            Customer:
        </div>
        <div class="col-md-3">
            <input type="text" class="form-control" id="customer-filter" name="CustomerName" value="<?php echo @$_GET['CustomerName']; ?>" autocomplete="off" />
            <input type="hidden" value="" name="CustomerId" id="hd-customer-id" />
        </div>


    </div>
    <div class="row col-md-12">&nbsp;</div>
    <div class="row">
        <div class="col-md-12 text-right">
            <button class="btn btn-success"><i class="fa fa-search"></i> Search</button>
        </div>
    </div>
</form>
<div class="row col-md-12">&nbsp;</div>
<p>
    <a class="btn btn-danger" href="add.php"><i class="fas fa-plus-square"></i> เพิ่มรายการ</a>
</p>
<div id="taxinvoice_pagination" style="position:relative;">
    <div class="table-loader text-center" style="display:none;">
        <div class="overlay">
            <i class="fas fa-3x fa-spinner fa-pulse"></i>
        </div>


    </div>
    <table class="table table-hover table-bordered ">
        <thead>
            <tr>
                <th><a href="javascript:;" onclick="sortTable('#taxinvoice_pagination',this,'loadTaxInvoiceList')" data-by="TaxInvoiceNo" data-direction="" class="order sorting">Tax Invoice No.</a></th>
                <th><a href="javascript:;" onclick="sortTable('#taxinvoice_pagination',this,'loadTaxInvoiceList')" data-by="CustomerCode" data-direction="" class="order sorting">Customer No.</a></th>
                <th><a href="javascript:;" onclick="sortTable('#taxinvoice_pagination',this,'loadTaxInvoiceList')" data-by="CustomerName" data-direction="" class="order sorting">Customer Name</a></th>
                <th>Invoice No.</th>
                <th style="width:180px;">-</th>
            </tr>
        </thead>
        <tbody>
        </tbody>
    </table>

    <br /><br />
    <div class="supplierPager">
        <div class="row">
            <div class="col-md-6">
                <input type="hidden" class="page" value="<?php echo @$PageNumber; ?>" />
                <input type="hidden" class="page-size" value="<?php echo @$PageSize; ?>" />
                <input type="hidden" class="numrows" value="0" />
                <input type="hidden" class="orderBy" value="TaxInvoiceId" />
                <input type="hidden" class="orderDirection" value="Desc" />
                <input type="hidden" class="params" value="TaxInvoiceNo=<?php echo @$_GET['TaxInvoiceNo']; ?>&CustomerId=<?php echo @$_GET['CustomerId']; ?>" />
                แสดงรายการ <span class="start-record"></span> ถึง <span class="end-record"></span> จากทั้งหมด <span class="total-record"></span> รายการ
            </div>
            <div class="col-md-6 text-right pagination-zone">

            </div>
        </div>
    </div>
</div>

    <link href="<?php echo $path; ?>Assets/Backend/vendor/jquery-ui/jquery-ui.min.css" rel="stylesheet" />
    <script src="<?php echo $path; ?>Assets/Backend/vendor/jquery-ui/jquery-ui.min.js"></script>
    <script>
        var urlLoadCustomerAuto = "LoadCustomerAutoComplete.php"//"@Url.Action("LoadCustomerAutoComplete","Customer")";
        var urlLoadTaxInvoiceList = "LoadTaxInvoiceList.php";//"@Url.Action("LoadTaxInvoiceList")";
        var urlEdit = "Edit.php";//"@Url.Action("Edit")";
        var urlDelete = "Delete.php";//"@Url.Action("Delete")";
        var urlExport = "ExportPdf.php";//"@Url.Action("ExportPdf")";

        function deleteTaxInvoice(id) {
            if (confirm('Confirm to delete ?')) {
                var formToken = $('#__AjaxAntiForgeryForm');
                var token = $('input[name="__RequestVerificationToken"]', formToken).val();
                $.ajax({
                    url: urlDelete + '?Id=' + id,
                    data: { __RequestVerificationToken: token },
                    type: 'POST',
                    success: function (resp) {
                        loadTaxInvoiceList();
                    },
                    error: function (jqXHR, textStatus, errorThrown) {
                        if (jqXHR.status == 400) {
                            alert(jqXHR.responseJSON.Message);
                        }
                    }
                })
            }
        }
    </script>
    <script src="<?php echo $path; ?>Scripts/pages_v1/taxInvoice.js?t=<?php echo $date_ticks; ?>"></script>

Anon7 - 2022
AnonSec Team