MINI SHELL

Server : Apache/2.2.2 (Fedora)
System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686
User : apache ( 48)
PHP Version : 5.2.9
Disable Function : NONE
Directory :  /var/www/html/pathumthani_vc/report/pdir/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/pathumthani_vc/report/pdir/officer_department.php
    <?		
	$bypass=1;
include ("../../config/conndb.qpass.php")   ;
		$sql2 = "  SELECT office_detail.banner, office_detail.th_name,  office_detail.en_name,  office_detail.th_address,  office_detail.tel1,    "; 
		$sql2 = $sql2 ."   office_detail.tel2,  office_detail.tel3,  office_detail.FX , office_detail.web,  office_detail.email1,  office_detail.email2,  office_detail.map   ";  
		$sql2 = $sql2 ."   FROM office_detail    ";
		$sql2 = $sql2 ."   WHERE office_detail.id = '$id'   ";
//		 echo $sql2;
		$query_result1=mysql_db_query($db_dataentry,$sql2);
		$result2=mysql_fetch_array($query_result1);
	?>
	
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE><?=$result2[th_name]?> </TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
<link href="../../common/basiccss.css" rel="stylesheet" type="text/css">
</HEAD>
<BODY bgColor=#EFEFEF leftMargin=1 text=#000000 topMargin=3> 

	<br>
<br>
<table width="700" border="0" align="center" cellspacing="1" bgcolor="#FFFFFF" class="tb_border">
  <tr>

    <td rowspan="2" align="center" bgcolor="#a3b2cc"> <span class="style1">
      <?	if 	   ($result2[banner] != ""){		?>
      <img src=show_img.php?id=<?=$id?>&sel=banner width="100" height="100" border="0">
      <?	} else  {   
	  
	 echo "ตราประจำหน่วยงาน : <img src='../../images_sys/no_pic.jpg' width='90' height='70' > ";
	   }?>
    </span><br></td>
    <td height="20"  colspan="3" align="center" bgcolor="#A5B2CE"> 
      <strong>
      <font color="#FFFFFF" size="+1">
      <?=$result2[th_name]?> </font></strong></td>
  </tr>
  <tr>
    <td height="55" colspan="3" align="center" valign="top" bgcolor="#EFEFEF"><br>
      <strong><font size="+1">
      <?=$result2[en_name]?>
</font></strong></td>
  </tr>
  <tr>
    <td width="128" height="25" bgcolor="#A5B2CE">&nbsp;ที่ตั้ง : &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </td>
    <td colspan="3" bgcolor="#EFEFEF"><strong>
      <?=$result2[th_address]?>
    </strong></td>
  </tr>
  <tr>
    <td height="25" bgcolor="#A5B2CE">Address</td>
    <td colspan="3" bgcolor="#EFEFEF"><strong>
      <?=$result2[en_address]?>
    </strong></td>
  </tr>
  <tr>
    <td height="25" bgcolor="#A5B2CE">&nbsp;โทร. (1) : &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </td>
    <td width="243" bgcolor="#EFEFEF"><strong>
      <?=$result2[tel1]?>
    </strong></td>
    <td width="66" bgcolor="#A5B2CE">&nbsp;โทร. (2) : </td>
    <td width="248" bgcolor="#EFEFEF"><strong>
      <?=$result2[tel2]?>
    </strong></td>
  </tr>
  <tr>
    <td height="25" bgcolor="#A5B2CE">&nbsp;โทร. (3) : </td>
    <td bgcolor="#EFEFEF"><strong>
      <?=$result2[tel3]?>
    </strong></td>
    <td bgcolor="#A5B2CE">&nbsp;โทรสาร :</td>
    <td bgcolor="#EFEFEF">   
      <strong>
      <?=$result2[FX]?>
    </strong></td>
  </tr>
  <tr>
    <td height="25" bgcolor="#A5B2CE">&nbsp;E-mail (1) :</td>
    <td bgcolor="#EFEFEF"><a href="mailto:=<?=$result2[email1]?>">
      <strong>
      <?=$result2[email1]?>
      </strong></a></td>
    <td bgcolor="#A5B2CE">&nbsp;E-mail (2) :</td>
    <td bgcolor="#EFEFEF"> 
     <a href="mailto:=<?=$result2[email2]?>">  <strong>
     <?=$result2[email2]?> 
     </strong></a></td>
  </tr>
  <tr>
    <td height="25" bgcolor="#A5B2CE">&nbsp;URL : </td>
    <td colspan="3" bgcolor="#EFEFEF"><a href="<?=$result2[web]?>" target="_blank" >
      <strong>
      <?=$result2[web]?>
      </strong></a></td>
  </tr>
</table>
<br>
<table width="700"  border="0" align="center" cellspacing="1" bgcolor="#FFFFFF" class="tb_border">
  <tr>
    <td height="25" align="center" bgcolor="#A5B2CE"><strong>แผนที่ตั้งหน่วยงาน</strong></td>
  </tr>
  <tr>
    <td align="center" bgcolor="#EFEFEF"><?	if 	   ($result2[map] != ""){		?>
      <img src=show_img.php?id=<?=$id?>&sel=map border="0">  
      <?	} else  {   
	  
	 echo " <img src='../../images_sys/no_pic.jpg' width='90' height='70' > ";
	   }?>      </td>
  </tr>
</table>
 


 


<br>
<table width="700"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center"><span class="style1">
      <input type="button" name="Button" value="       ปิด       " onClick="window.close();">
    </span></td>
  </tr>
</table>
</body>
</html>

Anon7 - 2021