Server IP : 103.6.199.200 / Your IP : 3.142.172.190 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 session_start(); ?> <?php require_once('Connections/mentorpbs.php'); ?> <?php $colname_Recordset_kpi = "-1"; if (isset($_GET['list_subjek'])) { $colname_Recordset_kpi = $_GET['list_subjek']; } mysqli_select_db($mentorpbs,$database_mentorpbs); $query_Recordset_kpi = "SELECT * FROM kpi WHERE subject = '$colname_Recordset_kpi'"; $Recordset_kpi = mysqli_query($mentorpbs,$query_Recordset_kpi) or die(mysqli_error()); $row_Recordset_kpi = mysqli_fetch_assoc($Recordset_kpi); $totalRows_Recordset_kpi = mysqli_num_rows($Recordset_kpi); ?> <?php require_once('Connections/mentorpbs.php'); ?> <?php $currentPage = $_SERVER["PHP_SELF"]; $queryString_Recordset_kpi = ""; if (!empty($_SERVER['QUERY_STRING'])) { $params = explode("&", $_SERVER['QUERY_STRING']); $newParams = array(); foreach ($params as $param) { if (stristr($param, "pageNum_Recordset_kpi") == false && stristr($param, "totalRows_Recordset_kpi") == false) { array_push($newParams, $param); } } if (count($newParams) != 0) { $queryString_Recordset_kpi = "&" . htmlentities(implode("&", $newParams)); } } $queryString_Recordset_kpi = sprintf("&totalRows_Recordset_kpi=%d%s", $totalRows_Recordset_kpi, $queryString_Recordset_kpi); ?> <!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>Data KPI</title> <style type="text/css"> <!-- .style1 { font-size: 24px; 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_kpi.php') ?> </div> <!-- ***** Kandungan akan skrol --> <div class="content"> <div align="center" class="style1">MAKLUMAT KPI MENGIKUT MATA PELAJARAN</div> <p> </p> <form id="form1" name="form1" method="get" action=""> <label> <div align="center"> <select name="list_subjek" id="list_subjek"> <option value="-" selected="selected">-</option> <option value="Matematik SPM">Matematik SPM</option> <option value="Matematik Tambahan">Matematik Tambahan</option> <option value="Sains SPM">Sains SPM</option> <option value="Biologi">Biologi</option> <option value="Fizik">Fizik</option> <option value="Kimia">Kimia</option> <option value="Matematik PT3">Matematik PT3</option> <option value="Sains PT3">Sains PT3</option> </select> <label> <input type="submit" name="button_cari" id="button_cari" value="CARI" /> </label> </div> </label> </form> <p align="center" class="style1">DASHBOARD <p align="center"><img src="images/info_bidang/<?php echo $row_Recordset_kpi['dashboard']; ?>.jpg" alt="" width="100%" height="auto" /> <p align="center" class="style1">HCI <p align="center"><img src="images/info_bidang/<?php echo $row_Recordset_kpi['hc1']; ?>.jpg" alt="" width="100%" height="auto" /> <p align="center"> <p align="center"><a href="info_bidang.php">KEMBALI</a> </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_kpi); ?>