Hacked By AnonymousFox

Current Path : C:/AppServ/www/ressurgmsd/
Upload File :
Current File : C:/AppServ/www/ressurgmsd/sul-detail.php

<?
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);
?>
<!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%" rowspan="2" 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>&nbsp;&nbsp;รายนามคณาจารย์
                       </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>&nbsp;ทำเนียบรุ่นแพทย์ประจำบ้าน </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>&nbsp;&nbsp;หลักสูตร </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>&nbsp;&nbsp;คู่มือ </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>&nbsp;&nbsp;ข่าวประชาสัมพันธ์ </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>&nbsp;&nbsp;ปฏิทินกิจกรรม </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>&nbsp;&nbsp;ภาพกิจกรรม </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>&nbsp;&nbsp;การรับสมัครแพทย์ประจำบ้าน </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>&nbsp;ผลการคัดเลือก<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>&nbsp;แบบประเมิน<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>&nbsp;ผลการประเมิน<br />
แพทย์ประจำบ้าน </strong></a></div></td>
                     </tr>
                   </table>
                 </div></td>
               </tr>
             </table></td>
             <td width="82%" align="left" valign="top">
				 
				 <? if($Id!="136"){ ?>
				 <p><?=$rownew[moe_mod_news_HTMLFileName]?><br />
				<? } ?>	 
					 
               <table width="95%" border="0">
                 <tr>
                   <td></td>
                 </tr>
               </table>
              
    </td>
           </tr>
           <tr>
             <td valign="top">

				 <? if($Id!="136"){ ?>
				 <img src="bar-insidedoc.jpg" width="699" height="70" /><br />
               <table width="98%" border="0" align="center">
                 <tr>
                   <td><div align="left">
				   	<?
			$sqlfile="select * from moe_mod_news_fileuploadonnews where moe_mod_news_fileuploadonnews_NewsID='$Id'";
			$queryfile=mysql_query($sqlfile);
			while($rowfile=mysql_fetch_array($queryfile)){
			?>
				   - <a href="controlweb/upload/sul/FileUpload/<?=$rowfile[moe_mod_news_fileuploadonnews_FileUpload]?>" target="_blank"><?=$rowfile[moe_mod_news_fileuploadonnews_UploadFileName]?></a><br />
				   <? } ?>
				</div></td>
                 </tr>
               </table>
			   <? } ?>
			   <table width="80%" border="0" align="center" cellpadding="0" cellspacing="0">
           <tr>
             <td width="49%" align="center" valign="top">
				 
				 <? if($Id=="136") { 
				include("../mfu/webengine/lib/config.php");
				include("../mfu/webengine/lib/connect.php");
				 $fc=3;
				 ?>
				 <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
               <tr>
                 <td align="left">
                          <?
/*		 $sql = "SELECT * FROM moe_mod_about  WHERE moe_mod_about_ModuleKey='fc$fc'";
		$Query = mysql_query($sql);
		$Row = mysql_fetch_array($Query);
					  
				 $myModule_Path_HTMLFiles="controlweb/upload/fc$fc/htmlfiles";	  
				
		   		$FilePath=$myModule_Path_HTMLFiles."/".$Row[moe_mod_about_HTMLFileName];		
				 @$getSize=filesize($FilePath);
				 if ($getSize>0) {
					 $fp=fopen($FilePath,"r");
					 $Content=fread($fp,$getSize);
					 fclose($fp);
					 echo  $Content;
				 } */
				 
				// if($fc==1)
				 //	{
				 	?>
					<TABLE border=0 width="90%" align=center>
<TBODY>
<TR>
<TD width="100%">
	
	<img src="cover/cover1-3new.jpg" />
                   <br />
	
	<IMG src="faculty1/top.jpg" width=906 height=31></TD></TR>
<TR>
  <TD><div align="center">
  <?
  			  # Check to set default value #########################
			  # Count total record size ######################### 
			  
			  if($fc==1){ $depart="อายุร"; }
			  if($fc==2){ $depart="กุมาร"; }
			  if($fc==3){ $depart="ศัลยกรรม"; }
			  if($fc==4){ $depart="สูติ"; }
			  if($fc==5){ $depart="กระดูก"; }
			  if($fc==6){ $depart="เวชศาสตร์"; }
			  if($fc==7){ $depart="จักษุ"; }
			  if($fc==8){ $depart="โสต"; }
			  if($fc==9){ $depart="วิสัญญี"; }
			  if($fc==10){ $depart="ฟื้นฟู"; }
			  if($fc==11){ $depart="รังสี"; }
			  if($fc==12){ $depart="พยาธิ"; }
			  if($fc==13){ $depart="อนามัย"; }
			  if($fc==14){ $depart="จิตเวช"; }			
			  
   $sqlhead="SELECT  *   FROM mfu_mod_teacher  WHERE dspnm like '%$depart%' and Choose='1'" ;
     if($fc==3||$fc==5){
     $sqlhead="SELECT  *   FROM mfu_mod_teacher  WHERE dspnm like '%$depart' and Choose='1'" ;
	 } 
  $queryhead=mysql_query($sqlhead);
  $rowhead=mysql_fetch_array($queryhead);
  ?>
  <img src="../mfu/upload/member/<?=$rowhead[picture]?>" border="3" style="border-color:#3279C9" /><br />
       <font color="#7E0C00"><b><span class="style2"><?=$rowhead[prefix]?><?=$rowhead[name]?>&nbsp;&nbsp;<?=$rowhead[lname]?></span></b></font><br />
  <span class="style6"><b>หัวหน้าภาควิชา<br />
  ตำแหน่ง <strong><?=$rowhead[posnmfull]?><br />
  <?=$rowhead[hptnm]?></b></span><br />
  <br />
  <?
  $sqlsub="SELECT  *   FROM mfu_mod_teacher  WHERE dspnm like '%$depart%' and Choose='2'" ;
     if($fc==3||$fc==5){
     $sqlsub="SELECT  *   FROM mfu_mod_teacher  WHERE dspnm like '%$depart' and Choose='2'" ;
	 } 

  $querysub=mysql_query($sqlsub);
  $rowsub=mysql_fetch_array($querysub);
  $numsub=mysql_num_rows($querysub);
  if($numsub>0){
  ?>
  <img src="../mfu/upload/member/<?=$rowsub[picture]?>" border="3" style="border-color:#3279C9" /><br />
  <font color="#7E0C00"><b><span class="style2"><?=$rowsub[prefix]?><?=$rowsub[name]?>&nbsp;&nbsp;<?=$rowsub[lname]?></span></b></font><br />
<span class="style6"><b>รองหัวหน้าภาควิชา<br />
ตำแหน่ง <strong><?=$rowsub[posnmfull]?><br />
  <?=$rowsub[hptnm]?></b></span></div>
  <? } ?>
  </TD>
</TR>
</TBODY></TABLE>
	<?
	include("lib/config.php");
	include("lib/connect.php");
	?>
					<br />
					<br />
					<table width="95%" border="0" align="center">
					  <tr>
                        <td><strong>คุณวุฒิของอาจารย์ผู้เชี่ยวชาญในสาขา/อนุสาขาประจำกลุ่มงานศัลยกรรมโรงพยาบาลกลาง</strong></td>
                      </tr>
                </table>
					<table width="95%" border="0" style="border-collapse:collapse" bordercolor="#000000" align="center" cellpadding="10">
					  <tbody>
					    <?
							$sql="select * from sul_teacher where Hos='1'";
							$query=mysql_query($sql);
							$i=1;
							while($row=mysql_fetch_array($query)){
						?>
					    <tr>
					      <td width="36%"><?=$i?>.<?=$row[Name]?></td>
					      <td width="64%"><?=$row[Position]?></td>
					      </tr>
						<? $i++;
							} ?>
					    </tbody>
					  </table>
					<br />
					<table width="95%" border="0" align="center">
					  <tr>
					    <td><strong>คุณวุฒิของอาจารย์ผู้เชี่ยวชาญในสาขา/อนุสาขาประจำกลุ่มงานศัลยกรรมโรงพยาบาลเจริญกรุงประชารักษ์</strong></td>
					    </tr>
					  </table>
                    <table width="95%" border="0" style="border-collapse:collapse" bordercolor="#000000" align="center" cellpadding="10">
                      <tbody>
                        <?
							$sql="select * from sul_teacher where Hos='2'";
							$query=mysql_query($sql);
							$i=1;
							while($row=mysql_fetch_array($query)){
						?>
                        <tr>
                          <td width="36%"><?=$i?>
                            .
                            <?=$row[Name]?></td>
                          <td width="64%"><?=$row[Position]?></td>
                        </tr>
                        <? $i++;
							} ?>
                      </tbody>
                    </table>
                    <br />
                    <table width="95%" border="0" align="center">
                      <tr>
                        <td><strong>คุณวุฒิของอาจารย์ผู้เชี่ยวชาญในสาขา/อนุสาขาประจำกลุ่มงานศัลยกรรมโรงพยาบาลตากสิน</strong></td>
                      </tr>
                    </table>
                    <table width="95%" border="0" style="border-collapse:collapse" bordercolor="#000000" align="center" cellpadding="10">
                      <tbody>
                        <?
							$sql="select * from sul_teacher where Hos='3'";
							$query=mysql_query($sql);
							$i=1;
							while($row=mysql_fetch_array($query)){
						?>
                        <tr>
                          <td width="36%"><?=$i?>
                            .
                            <?=$row[Name]?></td>
                          <td width="64%"><?=$row[Position]?></td>
                        </tr>
                        <? $i++;
							} ?>
                      </tbody>
                    </table>
                    <p align="center">                      <br />
                    </p>
				 </td>
                 </tr>
               </table>
<? } ?>
                 <p>&nbsp;</p>
               <br /></td>
           </tr>
           </table>
			   </td>
           </tr>
         </table>
           <p>&nbsp;</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