Hacked By AnonymousFox

Current Path : C:/AppServ/www/th/
Upload File :
Current File : C:/AppServ/www/th/albumst-view.php

<?
include("lib/config.php");
include("lib/connect.php");
$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=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
    <title>:: ศูนย์แพทยศาสตร์ศึกษาชั้นคลินิกสำนักการแพทย์ ::</title>
    <link href="ddmenu/ddmenu_g.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="#215553">
		<div align="center">
		<table width="80%" border="0" align="center">
      <tr>
        <td><img src="ddmenu/bggreen2.gif" onClick="window.location='index.php'" style="cursor: pointer" /></td>
      </tr>
    </table>
	  </div>
	  </td>
  </tr>
</table>
<nav id="ddmenu">
    <div class="menu-icon"></div>
    <ul>
	<li class="no-sub">
            <a class="top-heading" href="index.php">&nbsp;หน้าหลัก&nbsp;</a>
			</li>
		        <li>
            <span class="top-heading">&nbsp;เกี่ยวกับเรา&nbsp;</span>
			<i class="caret"></i>           
 <div class="dropdown">
                <div class="dd-inner1">                       
				<a href="abouthall5.php"><img src="bullet_yellow.png" width="15" height="15" border="0" />ประวัติความเป็นมา</a>
					<a href="about.php?Key=goal"><img src="bullet_yellow.png" width="15" height="15" border="0" />เป้าหมาย/นโยบาย</a>
					<a href="about.php?Key=vision"><img src="bullet_yellow.png" width="15" height="15" border="0" />วิสัยทัศน์/พันธกิจ</a>
					<a href="about.php?Key=niyom"><img src="bullet_yellow.png" width="15" height="15" border="0" />ค่านิยม/ปณิธาน/ปรัชญา</a>
					<a href="about.php?Key=structure"><img src="bullet_yellow.png" width="15" height="15" border="0" />โครงสร้างการบริหารงาน</a>
					<img src="bullet_yellow.png" width="15" height="15" border="0" />ฝ่ายงาน</a>
					<a href="about.php?Key=c1"> - งานบริหารหลักสูตร</a>
					<a href="about.php?Key=c2"> - งานประเมินผลการศึกษา</a>
					<a href="about.php?Key=c3"> - งานประกันคุณภาพการศึกษา</a>
					<a href="about.php?Key=c4"> - งานกิจการนักศึกษา</a>
					<a href="about.php?Key=c5"> - งานพัฒนาอาจารย์</a>
					<a href="about.php?Key=c6"> - งานเทคโนโลยีสารสนเทศ</a>
					<a href="about.php?Key=c7"> - งานบริหารงานทั่วไป</a>
                      
                                              </div>
                </div>
        </li>
        <li>
            <a class="top-heading" href="#">&nbsp;การศึกษาชั้นคลินิก&nbsp;</a>
			<i class="caret"></i>           
            <div class="dropdown">
                <div class="dd-inner1">
				 <a href="abouthall3.php"><img src="bullet_yellow.png" width="15" height="15" border="0" />ศูนย์แพทยศาสตรศึกษาชั้นคลินิก รพ.กลาง</a>
			    <a href="abouthall4.php"><img src="bullet_yellow.png" width="15" height="15" border="0" />ศูนย์แพทยศาสตรศึกษาชั้นคลินิก รพ.เจริญกรุง</a>
			   <a href='about.php?Key=h3'><img src="bullet_yellow.png" width="15" height="15" border="0" />ศูนย์แพทยศาสตรศึกษาชั้นคลินิก
โรงพยาบาลสิรินธร</a>
			   <a href='about.php?Key=h4'><img src="bullet_yellow.png" width="15" height="15" border="0" />ศูนย์แพทยศาสตรศึกษาชั้นคลินิก
โรงพยาบาลตากสิน</a>
               <a href='about.php?Key=h5'><img src="bullet_yellow.png" width="15" height="15" border="0" />ศูนย์แพทยศาสตรศึกษาชั้นคลินิก
โรงพยาบาลราชพิพัฒน์</a>
			  <a href='news.php'><img src="bullet_yellow.png" width="15" height="15" border="0" />ปฏิทินการศึกษา</a>
              <a href='activity.php'><img src="bullet_yellow.png" width="15" height="15" border="0" />ปฏิทินกิจกรรม</a>
			   <a href='news.php'><img src="bullet_yellow.png" width="15" height="15" border="0" />ประกาศสอบ</a>
               <a href='research.php'><img src="bullet_yellow.png" width="15" height="15" border="0" />ผลงานวิจัย</a>
			   <a href="http://msdmec.go.th/timetable_teacher/risk_ck.php" target="_blank"><img src="bullet_yellow.png" width="15" height="15" border="0" />รายงานความเสี่ยง</a>
              <a href='download.php'><img src="bullet_yellow.png" width="15" height="15" border="0" />Download</a>
			   <a href='#'><img src="bullet_yellow.png" width="15" height="15" border="0" />ระเบียบที่เกี่ยวข้อง</a>
                         </div>
            </div>
        </li>
	  <li class="no-sub">
            <a class="top-heading" href="../ressurgmsd" target="_blank">&nbsp;&nbsp;การศึกษาหลังปริญญา</font>&nbsp;&nbsp;</a></li>		
            
		  <li class="no-sub">
            <a class="top-heading" href="#">&nbsp;&nbsp;ข่าวประชาสัมพันธ์&nbsp;&nbsp;</a>        </li> 
             <li class="no-sub">
            <a class="top-heading" href="download.php">&nbsp;&nbsp;Download&nbsp;&nbsp;</a>        </li> 
			 <li class="no-sub">
            <a class="top-heading" href="contact.php">&nbsp;&nbsp;ติดต่อเรา&nbsp;&nbsp;</a>        </li> 
			 <li class="no-sub">
            <a class="top-heading" href="albumst.php">&nbsp;&nbsp;ภาพกิจกรรม&nbsp;&nbsp;</a></li>
		   
    </ul>
</nav>
	 <table width="100%" border="0" cellpadding="0" cellspacing="0">
       <tr>
         <td bgcolor="#FFFFFF"><br />
         <table width="80%" border="0" align="center">
           <tr>
             <td width="49%" align="center" valign="top"><h2>อัลบั้มรูปภาพกิจกรรม : <?=$Row[Name]?></h2><br />
             <br />
			   
			   <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: &#3648;&#3585;&#3636;&#3604;&#3588;&#3623;&#3634;&#3617;&#3612;&#3636;&#3604;&#3614;&#3621;&#3634;&#3604; <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="300" height="200" border="3" style="border-color:#3279C9" /></a> 
					<br />                   
					  </td>
                    </tr>
              </table></td>
              <? if ($count==4) { $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%">&nbsp;</td>';
							echo '</tr>';
						}
						?>
						<? }else{ ?> 
						<tr><td align="center"><br />
						  &#3652;&#3617;&#3656;&#3617;&#3637;&#3586;&#3657;&#3629;&#3617;&#3641;&#3621;<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