Hacked By AnonymousFox
<?
include("../lib/config.php");
include("../lib/connect.php");
?>
<!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" />
<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;
}
</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/bgnew.gif" /></td>
</tr>
</table></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#FFFFFF"><br />
<table width="80%" border="0" align="center">
<tr>
<td colspan="2" align="center" valign="top"><h2>อัลบั้มรูปภาพกิจกรรม</h2><br />
<br /></td>
</tr>
<tr>
<td width="13%" align="center" valign="top"><table border="1" width="192" bordercolor="#ddd3d3" style="border-collapse:collapse" cellpadding="0" cellspacing="0">
<tr>
<td width="192" bgcolor="#b39759"><div align="center"><br />
<strong><font color="#FFFFFF">รูปภาพกิจกรรม</font>
</strong><br />
<table width="95%" border="0">
<tr>
<td width="28%"><div align="right"><img src="star.jpg" /></div></td>
<td width="72%"><div align="left"><a href="albumst.php?al=2562"><strong>
ปี 2562
</strong></a></div></td>
</tr>
<tr>
<td colspan="2"><img src="separate.jpg" width="192" height="10" /></td>
</tr>
<tr>
<td width="28%"><div align="right"><img src="star.jpg" /></div></td>
<td width="72%"><div align="left"><a href="albumst.php?al=2563"><strong>
ปี 2563
</strong></a></div></td>
</tr>
</table>
</div></td>
</tr>
</table></td>
<td width="87%" align="center" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<?
$sql="SELECT * FROM namealbum order by 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[moe_mod_news_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"><?
$sql1="SELECT * FROM uploadimg where type='$Row[Id]' order by upload_id desc" ;
$Query1=MYSQL_DB_QUERY($System_DataBase_Name,$sql1);
$Row1=mysql_fetch_array($Query1);
?>
<br />
<a href="albumst-view.php?Ids=<?=$Row[Id]?>">
<? if($Row1[image_name]!=""){ ?>
<img src="gallery/uploads/<?=$Row1[image_name]?>" width="300" height="200" border="3" style="border-color:#3279C9" /> <br />
<? }else{ ?>
<img src="bg-pic-s.gif" width="300" height="200" border="0" />
<? } ?>
<br />
<?=$Row[Name]?>
</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>
<br /></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