Server IP : 103.6.199.200 / Your IP : 3.144.41.200 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 (!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_DetailRS1 = "-1"; if (isset($_GET['recordID'])) { $colname_DetailRS1 = $_GET['recordID']; } mysql_select_db($database_mentorpbs, $mentorpbs); $query_DetailRS1 = sprintf("SELECT * FROM ahli_robotik INNER JOIN bangsa ON bangsa.id_bangsa=ahli_robotik.bangsa_id INNER JOIN agama ON agama.id_agama=ahli_robotik.agama_id INNER JOIN jantina ON jantina.id_jantina=ahli_robotik.jantina_id WHERE id_ahli = %s", GetSQLValueString($colname_DetailRS1, "int")); $DetailRS1 = mysql_query($query_DetailRS1, $mentorpbs) or die(mysql_error()); $row_DetailRS1 = mysql_fetch_assoc($DetailRS1); $totalRows_DetailRS1 = mysql_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>Untitled Document</title> <style type="text/css"> <!-- .style1 { color: #000099; font-size: 24px; } .style2 {color: #006600} --> </style> </head> <body> <form id="form1" name="form1" method="post" action=""> <div align="center" class="style1">MAKLUMAT ALUMNI KELAB ROBOTIK</div> </form> <p> </p> <p align="center"><img src="images/robotik/<?php echo $row_DetailRS1['nama_ahli']; ?>.jpg" alt="" width="165" height="189" /></p> <p> </p> <table width="839" border="1" align="center"> <tr> <td width="146"><div align="right" class="style2">No Rujukan:</div></td> <td width="677"><?php echo $row_DetailRS1['id_ahli']; ?> </td> </tr> <tr> <td><div align="right" class="style2">Nama:</div></td> <td><?php echo $row_DetailRS1['nama_ahli']; ?> </td> </tr> <tr> <td><div align="right" class="style2">Jantina:</div></td> <td><?php echo $row_DetailRS1['jantina']; ?> </td> </tr> <tr> <td><div align="right" class="style2">Tahun Jadi Ahli:</div></td> <td><?php echo $row_DetailRS1['tahun_ahli']; ?> </td> </tr> <tr> <td><div align="right" class="style2">Bangsa:</div></td> <td><?php echo $row_DetailRS1['bangsa']; ?> </td> </tr> <tr> <td><div align="right" class="style2">Agama:</div></td> <td><?php echo $row_DetailRS1['agama']; ?> </td> </tr> <tr> <td><div align="right" class="style2">Alamat 1:</div></td> <td><?php echo $row_DetailRS1['alamat1']; ?> </td> </tr> <tr> <td><div align="right" class="style2">Alamat 2:</div></td> <td><?php echo $row_DetailRS1['alamat2']; ?> </td> </tr> <tr> <td><div align="right" class="style2">Alamat 3:</div></td> <td><?php echo $row_DetailRS1['alamat3']; ?> </td> </tr> <tr> <td><div align="right" class="style2">Poskos:</div></td> <td><?php echo $row_DetailRS1['poskod']; ?> </td> </tr> <tr> <td><div align="right" class="style2">Bandar:</div></td> <td><?php echo $row_DetailRS1['bandar']; ?> </td> </tr> <tr> <td><div align="right" class="style2">Negeri:</div></td> <td><?php echo $row_DetailRS1['negeri']; ?> </td> </tr> <tr> <td><div align="right" class="style2">No Hand Phone:</div></td> <td><?php echo $row_DetailRS1['nohp_ahli']; ?> </td> </tr> <tr> <td><div align="right" class="style2">Gmail:</div></td> <td><?php echo $row_DetailRS1['gmail_ahli']; ?> </td> </tr> </table> <p> </p> <p align="center"><a href="logout_robotik_ahli_cari.php">KEMBALI</a></p> </body> </html><?php mysql_free_result($DetailRS1); ?>