Server IP : 103.6.199.200 / Your IP : 3.147.13.220 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 if (!isset($_SESSION)) { session_start(); } $MM_authorizedUsers = ""; $MM_donotCheckaccess = "true"; // *** Restrict Access To Page: Grant or deny access to this page function isAuthorized($strUsers, $strGroups, $UserName, $UserGroup) { // For security, start by assuming the visitor is NOT authorized. $isValid = False; // When a visitor has logged into this site, the Session variable MM_Username set equal to their username. // Therefore, we know that a user is NOT logged in if that Session variable is blank. if (!empty($UserName)) { // Besides being logged in, you may restrict access to only certain users based on an ID established when they login. // Parse the strings into arrays. $arrUsers = Explode(",", $strUsers); $arrGroups = Explode(",", $strGroups); if (in_array($UserName, $arrUsers)) { $isValid = true; } // Or, you may restrict access to only certain users based on their username. if (in_array($UserGroup, $arrGroups)) { $isValid = true; } if (($strUsers == "") && true) { $isValid = true; } } return $isValid; } $MM_restrictGoTo = "../login_hem.php"; if (!((isset($_SESSION['MM_Username'])) && (isAuthorized("",$MM_authorizedUsers, $_SESSION['MM_Username'], $_SESSION['MM_UserGroup'])))) { $MM_qsChar = "?"; $MM_referrer = $_SERVER['PHP_SELF']; if (strpos($MM_restrictGoTo, "?")) $MM_qsChar = "&"; if (isset($QUERY_STRING) && strlen($QUERY_STRING) > 0) $MM_referrer .= "?" . $QUERY_STRING; $MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar . "accesscheck=" . urlencode($MM_referrer); header("Location: ". $MM_restrictGoTo); exit; } ?> <?php # $colname_DetailRS1 = "-1"; if (isset($_GET['recordID'])) { $colname_DetailRS1 = $_GET['recordID']; } mysqli_select_db($mentorpbs,$database_mentorpbs); $query_DetailRS1 = "SELECT * FROM buku_besar WHERE nokp = '$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>Maklumat Perhubungan Murid</title> <style type="text/css"> <!-- .style1 { font-size: 24px; color: #0000FF; } .style2 {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('smheader03_data_murid.php') ?> </div> <!-- ***** Kandungan akan skrol --> <div class="content"> <p align="center" class="style1">MAKLUMAT MURID UNTUK BUKU BESAR</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 width="300"> <div align="right" class="style3">Tarikh Masuk Sekolah:</div> </td> <td width="600"><span class="style2"><?php echo $row_DetailRS1['tarikhmasuksekolah']; ?></span> </td> </tr> <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 width="300"> <div align="right" class="style3">Nama Murid:</div> </td> <td width="600"><span class="style2"><?php echo $row_DetailRS1['nama']; ?></span> </td> </tr> <tr> <td width="300"> <div align="right" class="style3">Kelas:</div> </td> <td width="600"><span class="style2"><?php echo $row_DetailRS1['namakelas']; ?></span> </td> </tr> <tr> <td width="300"> <div align="right" class="style3">Jantina Murid:</div> </td> <td width="600"><span class="style2"><?php echo $row_DetailRS1['jantina']; ?></span> </td> </tr> <tr> <td width="300"> <div align="right" class="style3">Bangsa Murid:</div> </td> <td width="600"><span class="style2"><?php echo $row_DetailRS1['kaum']; ?></span> </td> </tr> <tr> <td width="300"> <div align="right" class="style3">Agama Murid:</div> </td> <td width="600"><span class="style2"><?php echo $row_DetailRS1['agama']; ?></span> </td> </tr> <tr> <td width="300"> <div align="right" class="style3">No. Kad Pengenalan Murid:</div> </td> <td width="600"><span class="style2"><?php echo $row_DetailRS1['nokp']; ?></span> </td> </tr> <tr> <td width="300"> <div align="right" class="style3">Tarikh Diperanakkan Murid:</div> </td> <td width="600"><span class="style2"><?php echo $row_DetailRS1['tarikhlahir']; ?></span> </td> </tr> <tr> <td width="300"> <div align="right" class="style3">Bilangan Surat Beranak Murid:</div> </td> <td width="600"><span class="style2"><?php echo $row_DetailRS1['nosijillahir']; ?></span> </td> </tr> <tr> <td width="300"> <div align="right" class="style3">Tempat Lahir Murid:</div> </td> <td width="600"><span class="style2"><?php echo $row_DetailRS1['tempatlahir']; ?></span> </td> </tr> <tr> <td width="300"> <div align="right" class="style3">Tingkatan dimasukkan:</div> </td> <td width="600"><span class="style2"><?php echo $row_DetailRS1['tingkatan']; ?></span> </td> </tr> <tr> <td width="300"> <div align="right" class="style3">Nama Penjaga 1:</div> </td> <td width="600"><span class="style2"><?php echo $row_DetailRS1['namapenjaga1']; ?></span> </td> </tr> <tr> <td width="300"> <div align="right" class="style3">Hubungan dengan Penjaga 1:</div> </td> <td width="600"><span class="style2"><?php echo $row_DetailRS1['hubunganpenjaga1']; ?></span> </td> </tr> <tr> <td width="300"> <div align="right" class="style3">Pekerjaan Penjaga 1:</div> </td> <td width="600"><span class="style2"><?php echo $row_DetailRS1['pekerjaanpenjaga1']; ?></span> </td> </tr> <tr> <td width="300"> <div align="right" class="style3">No. Telefon Bimbit Penjaga 1:</div> </td> <td width="600"><span class="style2"><?php echo $row_DetailRS1['nohppenjaga1']; ?></span> </td> </tr> <tr> <td width="300"> <div align="right" class="style3">No. Telefon Rumah Penjaga 1:</div> </td> <td width="600"><span class="style2"><?php echo $row_DetailRS1['notelefonrumahpenjaga1']; ?></span> </td> </tr> <tr> <td width="300"> <div align="right" class="style3">Nama Penjaga 2:</div> </td> <td width="600"><span class="style2"><?php echo $row_DetailRS1['namapenjaga2']; ?></span> </td> </tr> <tr> <td width="300"> <div align="right" class="style3">Hubungan dengan Penjaga 2:</div> </td> <td width="600"><span class="style2"><?php echo $row_DetailRS1['hubunganpenjaga2']; ?></span> </td> </tr> <tr> <td width="300"> <div align="right" class="style3">Pekerjaan Penjaga 2:</div> </td> <td width="600"><span class="style2"><?php echo $row_DetailRS1['pekerjaanpenjaga2']; ?></span> </td> </tr> <tr> <td width="300"> <div align="right" class="style3">No. Telefon Bimbit Penjaga 2:</div> </td> <td width="600"><span class="style2"><?php echo $row_DetailRS1['nohppenjaga2']; ?></span> </td> </tr> <tr> <td width="300"> <div align="right" class="style3">No. Telefon Rumah Penjaga 2:</div> </td> <td width="600"><span class="style2"><?php echo $row_DetailRS1['notelefonrumahpenjaga2']; ?></span> </td> </tr> <tr> <td width="300"> <div align="right" class="style3">Alamat Rumah:</div> </td> <td width="600"><span class="style2"><?php echo $row_DetailRS1['alamatrumah']; ?></span> </td> </tr> <tr> <td width="300"> <div align="right" class="style3">Sekolah Dahulu:</div> </td> <td width="600"><span class="style2"><?php echo $row_DetailRS1['namasekolahdulu']; ?></span> </td> </tr> </table> <p align="center"> <button onclick="window.print();" class="noPrint"> CETAK </button> </p> <p align="center"><a href="data_murid_buk.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); ?>