Server IP : 103.6.199.200 / Your IP : 18.191.165.192 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(); } ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_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; } } $colname_Recordset_kpi = "-1"; if (isset($_GET['list_subjeck'])) { $colname_Recordset_kpi = $_GET['list_subjeck']; } mysql_select_db($database_mentorpbs, $mentorpbs); $query_Recordset_kpi = sprintf("SELECT * FROM kpi WHERE kpi.subject LIKE %s", GetSQLValueString("%" . $colname_Recordset_kpi . "%", "text")); $Recordset_kpi = mysql_query($query_Recordset_kpi, $mentorpbs) or die(mysql_error()); $row_Recordset_kpi = mysql_fetch_assoc($Recordset_kpi); $totalRows_Recordset_kpi = mysql_num_rows($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>Untitled Document</title> <style type="text/css"> <!-- .style2 {color: #0000FF; font-size: 24px; } .style3 {color: #000000} --> </style> </head> <body> <table width="587" border="0" align="center"> <tr> <td><div align="center" class="style2">GURU MATA PELAJARAN TAHUN SEMASA</div></td> </tr> <tr> <td> </td> </tr> <tr> <td><div align="center" class="style2"> <p>TINGKATAN 1</p> <form id="form1" name="form1" method="post" action="kpi_matematik.php"> <label> <div align="left"></div> <label></label> </label> <label><img src="images/info_bidang/gs_t1.jpg" width="1342" height="408" /></label> <p class="style3"></p> </form> <p> </p> </div></td> </tr> <tr> <td><div align="center" class="style2"></div></td> </tr> <tr> <td><div align="center"><a href="kembali1.php">KEMBALI</a></div></td> </tr> </table> </body> </html> <?php mysql_free_result($Recordset_kpi); ?>