Hacked By AnonymousFox
<?
include("../lib/session.php");
include("../lib/config.php");
include("../lib/connect.php");
include("../lib/function.php");
?>
<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">
</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="95%" height="26" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td background="../../images/main/main-t-bg.gif" bgcolor="#162C41"><img src="../../webengine/bar.jpg" width="567" height="70" alt="กระทรวงศึกษาธิการ" /><br></td>
</tr>
</table>
<table width="95%" height="6" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td width="1" bgcolor="#10202F"> </td>
</tr>
</table>
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td width="1" bgcolor="#10202F"><img src="../../images/blank.gif" width="1" height="1"></td>
<td align="center" valign="top"><table width="100%" height="480" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top" bgcolor="#E9E6DF">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="16" valign="top" bgcolor="#C4BDB1"> </td>
<td align="center" valign="top" bgcolor="#C4BDB1"> </td>
<td valign="top" bgcolor="#C4BDB1"> </td>
</tr>
<tr>
<td width="20" valign="top" background="../images/object/border_03.gif"><img src="../images/object/border_16.gif" width="20" height="83"></td>
<td align="center" valign="top" bgcolor="#FFFFFF">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="15" height="300"> </td>
<td align="left" valign="top"><br>
<table width="97%" border="1" align="center" style="border-collapse:collapse">
<tr>
<td colspan="5"><strong>ข้อมูลการรายงานความเสี่ยง</strong></td>
</tr>
<tr>
<td width="28%"><div align="center"><strong>สถานที่เกิดเหตุ </strong></div></td>
<td width="21%"><div align="center"><strong>วันที่เกิดเหตุ </strong></div></td>
<td width="19%"><div align="center"><strong>เวลา</strong></div></td>
<td width="17%"><div align="center"><strong>ผู้รายงาน</strong></div></td>
<td width="15%"><div align="center"><strong>ดูข้อมูล</strong></div></td>
</tr>
<?
$sql="select * from risk_refermainnew order by Id desc";
$query=mysql_query($sql);
while($row=mysql_fetch_array($query)){
?>
<tr>
<td><?=$row[Place]?></td>
<td><?=ShowDateLongTh($row[Date])?></td>
<td><?=$row[Time]?></td>
<td><? if($row[Rad3]=="1"){ echo"อาจารย์แพทย์"; } ?><? if($row[Rad3]=="2"){ echo"พยาบาล"; } ?><? if($row[Rad3]=="3"){ echo"นักศึกษาแพทย์"; } ?>
<? if($row[Rad3]=="4"){ echo"บุคลากรด้านแพทยศาสตรศึกษา"; } ?><? if($row[Rad3]=="5"){?><?=$row[Text5]?><? } ?></td>
<td align="center"><a href="viewadminrisk2.php?Id=<?=$row[Id]?>" target="_blank">ดูข้อมูล</a></td>
</tr>
<? } ?>
</table> </p>
<p align="right"> </p>
</div> </td>
<td width="15"> </td>
</tr>
</table> </td>
<td width="17" valign="top" background="../images/object/border_07.gif"><img src="../images/object/border_17.gif" width="17" height="119"></td>
</tr>
<tr>
<td height="16"><img src="../images/object/border_09.gif" width="20" height="16"></td>
<td height="16" background="../images/object/border_11.gif"><img src="../images/object/border_11.gif" width="1" height="16"></td>
<td><img src="../images/object/border_13.gif" width="17" height="16"></td>
</tr>
</table></td>
</tr>
</table></td>
<td width="1" bgcolor="#10202F"><img src="../../images/blank.gif" width="1" height="1"></td>
</tr>
</table>
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="4" height="30" align="left" valign="bottom" background="../../images/main/main-t-bg.gif"> </td>
<td height="30" align="center" background="../../images/main/main-t-bg.gif"> </td>
<td width="4" height="30" align="right" valign="bottom" background="../../images/main/main-t-bg.gif"> </td>
</tr>
</table>
</body>
</html>
<?
include("../lib/disconnect.php");
?>
Hacked By AnonymousFox1.0, Coded By AnonymousFox