Hacked By AnonymousFox
<?
include("controlweb/manage/lib/config.php");
include("controlweb/manage/lib/connect.php");
$Id=$_GET["Id"];
$sqlnew="select * from moe_mod_news where moe_mod_news_ID='$Id'";
$querynew=mysql_query($sqlnew);
$rownew=mysql_fetch_array($querynew);
$Ids=$_GET["Ids"];
$sql="SELECT * FROM namealbum where Id='$Ids'" ;
$Query=mysql_query($sql);
$Row=mysql_fetch_array($Query);
?>
<!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=windows-874" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>:: ศูนย์แพทยศาสตร์ศึกษาชั้นคลินิกสำนักการแพทย์ ::</title>
<link href="ddmenu/ddmenu.css" rel="stylesheet" type="text/css" />
<script src="ddmenu/ddmenu.js" type="text/javascript"></script>
<style>
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-color: #FFF;
}
.style1 {
color: #FFFFFF;
font-weight: bold;
}
.style3 {color: #FFFFFF; font-weight: bold; font-size: 18.5px; }
</style>
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="left" bgcolor="#11145B"><table width="70%" border="0" align="center">
<tr>
<td><img src="ddmenu/bgnew1.gif" /></td>
</tr>
</table></td>
</tr>
</table>
<? include"header.php"; ?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#FFFFFF"><p><br />
</p>
<table width="82%" border="0" align="center">
<tr>
<td width="18%" align="center" valign="top"><table border="1" width="256" bordercolor="#ddd3d3" style="border-collapse:collapse" cellpadding="0" cellspacing="0">
<tr>
<td width="252" bgcolor="#efcf92"><div align="left"><img src="menusul.png" /><br />
<table width="100%" border="0" bgcolor="#FFFFFF">
<tr>
<td width="14%"><div align="right"><img src="star.jpg" /></div></td>
<td width="86%"><div align="left"><a href="sul-detail.php?Id=136"><strong> รายนามคณาจารย์
</strong></a></div></td>
</tr>
<tr>
<td colspan="2" align="center"><img src="separate.jpg" width="192" height="10" /></td>
</tr>
<tr>
<td><div align="right"><img src="star.jpg" /></div></td>
<td><div align="left"><a href="sul-detail.php?Id=142"><strong> ทำเนียบรุ่นแพทย์ประจำบ้าน </strong></a></div></td>
</tr>
<tr>
<td colspan="2" align="center"><img src="separate.jpg" width="192" height="10" /></td>
</tr>
<tr>
<td><div align="right"><img src="star.jpg" /></div></td>
<td><div align="left"><a href="sul-detail.php?Id=137"><strong> หลักสูตร </strong></a></div></td>
</tr>
<tr>
<td colspan="2" align="center"><img src="separate.jpg" width="192" height="10" /></td>
</tr>
<tr>
<td><div align="right"><img src="star.jpg" /></div></td>
<td><div align="left"><a href="sul-detail.php?Id=144"><strong> คู่มือ </strong></a></div></td>
</tr>
<tr>
<td colspan="2" align="center"><img src="separate.jpg" width="192" height="10" /></td>
</tr>
<tr>
<td><div align="right"><img src="star.jpg" /></div></td>
<td><div align="left"><a href="sul-detail.php?Id=139"><strong> ข่าวประชาสัมพันธ์ </strong></a></div></td>
</tr>
<tr>
<td colspan="2" align="center"><img src="separate.jpg" width="192" height="10" /></td>
</tr>
<tr>
<td><div align="right"><img src="star.jpg" /></div></td>
<td><div align="left"><a href="sul-detail.php?Id=141"><strong> ปฏิทินกิจกรรม </strong></a></div></td>
</tr>
<tr>
<td colspan="2" align="center"><img src="separate.jpg" width="192" height="10" /></td>
</tr>
<tr>
<td><div align="right"><img src="star.jpg" /></div></td>
<td><div align="left"><a href="sul-detail1.php"><strong> ภาพกิจกรรม </strong></a></div></td>
</tr>
<tr>
<td colspan="2" align="center"><img src="separate.jpg" width="192" height="10" /></td>
</tr>
<tr>
<td><div align="right"><img src="star.jpg" /></div></td>
<td><div align="left"><a href="sul-detail.php?Id=138"><strong> การรับสมัครแพทย์ประจำบ้าน </strong></a></div></td>
</tr>
<tr>
<td colspan="2" align="center"><img src="separate.jpg" width="192" height="10" /></td>
</tr>
<tr>
<td valign="top"><div align="right"><img src="star.jpg" /></div></td>
<td><div align="left"><a href="sul-detail.php?Id=146"><strong> ผลการคัดเลือก<br />
แพทย์ประจำบ้าน</strong></a></div></td>
</tr>
<tr>
<td colspan="2" align="center"><img src="separate.jpg" width="192" height="10" /></td>
</tr>
<tr>
<td valign="top"><div align="right"><img src="star.jpg" /></div></td>
<td><div align="left"><a href="sul-detail.php?Id=145"><strong> แบบประเมิน<br />
แพทย์ประจำบ้าน </strong></a></div></td>
</tr>
<tr>
<td colspan="2" align="center"><img src="separate.jpg" width="192" height="10" /></td>
</tr>
<tr>
<td valign="top"><div align="right"><img src="star.jpg" /></div></td>
<td><div align="left"><a href="sul-detail.php?Id=143"><strong> ผลการประเมิน<br />
แพทย์ประจำบ้าน </strong></a></div></td>
</tr>
</table>
</div></td>
</tr>
</table></td>
<td width="82%" valign="top"><table width="88%" border="0" align="center">
<tr>
<td width="49%" align="center" valign="top"><h2><b>อัลบั้มรูปภาพกิจกรรม</b><br />
</h2>
<h3><?=$Row[Name]?></h3>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<?
$sql="SELECT * FROM uploadimg where type='$Ids' order by upload_id desc" ;
$Query=MYSQL_DB_QUERY($System_DataBase_Name,$sql) OR DIE("Error: เกิดความผิดพลาด <br>$sql<br>\n");
$TotalRecordCount=mysql_num_rows($Query);
$RecordCount=mysql_num_rows( $Query);
if($RecordCount>0){
$count = 0;
while ($Row = mysql_fetch_array($Query)) {
$ID=$Row[upload_id];
$count++;
if ($count==0) { ?>
<tr >
<? } ?>
<td align="center" valign="top" width="25%"><table width="100%" border="0" align="center" cellspacing="0">
<tr style="border-bottom:1px #CCCCCC dotted; ">
<td align="center" valign="top"><br />
<a href="gallery/uploads/<?=$Row[image_name]?>" target="_blank" alt="ดูภาพขนาดต้นฉบับ"><img src="gallery/uploads/<?=$Row[image_name]?>" width="270" height="200" border="3" style="border-color:#3279C9" /></a> <br /></td>
</tr>
</table></td>
<? if ($count==3) { $count = 0; ?>
</tr>
<tr height="1">
<td height="1" colspan="2" background="images/h-line.gif"><img src="images/h-line.gif" width="1" height="1" /></td>
</tr>
<? } ?>
<? } ?>
<?
if ($count>0) {
for ($i=($count+1);$i<=2;$i++) echo '<td align="center" valign="top" width="25%"> </td>';
echo '</tr>';
}
?>
<? }else{ ?>
<tr>
<td align="center"><br />
ไม่มีข้อมูล<br /></td>
</tr>
<? } ?>
</table></td>
</tr>
</table></td>
</tr>
</table>
<p> </p>
</td></tr>
</table>
<table width="100%" border="0">
<tr>
<td background="footer.gif" height="153" bgcolor="#FFFFFF"><br />
<br />
<div align="center" class="style1">สำนักการแพทย์ กรุงเทพมหานคร เลขที่ 514 ถนนหลวง เขตป้อมปราบศัตรูพ่าย กรุงเทพฯ 10100 <br />
โทร. 0-2224-2954 , 0-2224-9711 , 0-2221-6020 , 0-2225-4966 โทรสาร 0-2226-1931 , 0-2221-6029 <br />
ติดต่อ Webmaster : webmaster@msdbangkok.go.th</div></td>
</tr>
</table>
</body>
</html>
Hacked By AnonymousFox1.0, Coded By AnonymousFox