Server IP : 103.6.199.200 / Your IP : 18.117.8.177 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 : |
<?php require_once('connections/mentorpbs.php'); ?> <?php # $colname_DetailRS1 = "-1"; if (isset($_GET['recordID'])) { $colname_DetailRS1 = $_GET['recordID']; } mysqli_select_db($mentorpbs,$database_mentorpbs); $query_DetailRS1 = "SELECT namapak FROM pak21 WHERE namapak = '$colname_DetailRS1'"; $DetailRS1 = mysqli_query($mentorpbs,$query_DetailRS1) or die(mysql_error()); $row_DetailRS1 = mysqli_fetch_assoc($DetailRS1); $totalRows_DetailRS1 = mysqli_num_rows($DetailRS1); ?> <!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>Kaedah PAK21</title> <style type="text/css"> <!-- .style1 { font-size: 24px; color: #0000FF; } .style2 {color: #FF0000} .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('smheader03_pak21.php') ?> </div> <!-- ***** Kandungan akan skrol --> <div class="content"> <p align="center" class="style1">PENERANGAN PAK21</p> <p> </p> <p align="center"><img src="images/pak21/<?php echo $row_DetailRS1['namapak']; ?>.jpg" width="100%" height="auto" /></p> <p> </p> <table border="1" align="center"> <tr> <!-- A <span> element used to color a part of a text --> <!-- A <colspan, rowspan> element used to merge col or row of a table --> <td><span class="style2"><?php echo $row_DetailRS1['namapak']; ?></span> </td> </tr> </table> <p align="center"><a href="pak21.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($DetailRS1); ?>