Hacked By AnonymousFox

Current Path : C:/AppServ/www/new_msd/webengine/home/
Upload File :
Current File : C:/AppServ/www/new_msd/webengine/home/query.php

<? 
include("../lib/session.php"); 
include("../lib/config.php");
include("../lib/connect.php");
include("../lib/function.php");
$Hospi=$_GET["Hospi"];
?>
<html>
<head>

<title><?=$System_Variable_Title?>
</title>
 
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
 
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</script>
<link href="../css/mystyle.css" rel="stylesheet" type="text/css">  
<style type="text/css">
<!--
.style1 {color: #000000}
-->
</style>
</head> 
<body bgcolor="#E9E6DF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('../../images/thai.gif','../../images/eng.gif','../../images/chaina.gif','../../images/object/topbar-thai-over.gif','../../images/object/topbar-english-over.gif','../images/bullet/lang_over_02_1.gif','../images/bullet/lang_over_01_1.gif')">
<table width="100%" border="0">
  <tr>
    <td><A title="เรียง" href="sql.php?db=mfu_db&table=cmteacher&token=e2707fa48189b65f35af784e0fcb10df&pos=0&session_max_rows=30&disp_direction=horizontal&repeat_cells=100&dontlimitchars=0&sql_query=SELECT+%2AFROM+%60cmteacher%60++ORDER+BY+%60cmteacher%60.%60cmteacher_ID%60+ASC">cmteacher_ID</A></td>
    <td><A title="เรียง" href="sql.php?db=mfu_db&table=cmteacher&token=e2707fa48189b65f35af784e0fcb10df&pos=0&session_max_rows=30&disp_direction=horizontal&repeat_cells=100&dontlimitchars=0&sql_query=SELECT+%2AFROM+%60cmteacher%60++ORDER+BY+%60cmteacher%60.%60cmteacher_TeacherID%60+ASC">cmteacher_TeacherID</A></td>
    <td><A title="เรียง" href="sql.php?db=mfu_db&table=cmteacher&token=e2707fa48189b65f35af784e0fcb10df&pos=0&session_max_rows=30&disp_direction=horizontal&repeat_cells=100&dontlimitchars=0&sql_query=SELECT+%2AFROM+%60cmteacher%60++ORDER+BY+%60cmteacher%60.%60cmteacher_DetailoverallID%60+ASC">cmteacher_DetailoverallID</A></td>
    <td>Hos</td>
  </tr>
  <?
  $sql="select * from cmteacher";
  $query=mysql_query($sql);
  while($row=mysql_fetch_array($query)){
  ?>
  <tr>
    <td><?=$row[cmteacher_ID]?></td>
    <td><?=$row[cmteacher_TeacherID]?></td>
    <td><?=$row[cmteacher_DetailoverallID]?></td>
    <td><?
     $sqlh="select hptnm  from mfu_mod_teacher where Id ='$row[cmteacher_TeacherID]'";
	$queryh=mysql_query($sqlh);
	$rowh=mysql_fetch_array($queryh);
	if($rowh[hptnm]=="โรงพยาบาลกลาง"){  echo"1";   }
	if($rowh[hptnm]=="โรงพยาบาลเจริญกรุงประชารักษ์"){  echo"3";   }
	?></td>
  </tr>
  <? } ?>
</table>
<MM:EndLock>

Hacked By AnonymousFox1.0, Coded By AnonymousFox