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_popup2.php
    <?				
		include ("inc/conndb.inc.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.office_id = '$id'   ";
		//echo $sql2;
		//die;
		$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="basiccss.css" rel="stylesheet" type="text/css">
</HEAD>

<BODY bgColor=#ffffff leftMargin=1 text=#000000 topMargin=3><div align="left">
<form name="form2" method="post" action="">
	<table width="489" border=0 align="left" cellpadding=4 cellspacing=1>
         <tr>
           <td rowspan="4" align="center" bgcolor=#a3b2cc class=style1><?=$result2[banner]?></td>
              <td height=20 align="left" bgcolor=#a3b2cc class=style1>&nbsp;ชื่อหน่วยงาน : </td>
              <td bgcolor="#DDDDDD">&nbsp;<?=$result2[th_name]?></td>
      </tr>
          <tr>
            <td height=20 align="left" bgcolor=#a3b2cc class=style1>&nbsp;ชื่อหน่วยงาน (Eng) :</td>
            <td bgcolor="#EFEFEF">&nbsp;<?=$result2[en_name]?></td>
          </tr>
          <tr>
            <td height=20 align="left" bgcolor=#a3b2cc class=style1>&nbsp;ที่อยู่ : </td>
              <td bgcolor="#DDDDDD">&nbsp;<?=$result2[th_address]?></td>
     </tr>
           <tr>
             <td height=20 align="left" bgcolor=#a3b2cc class=style1>&nbsp;โทร. (1) : </td>
               <td bgcolor="#EFEFEF">
			   <?
							if ($result2[tel1] == 0 ){
									echo "-----";	
							}else{
									echo $result2[tel1] ;
							}
						?>
               </td>
      </tr>
			<tr>
			  <td width=81 rowspan="7"  align="left" bgcolor=#a3b2cc class=style1>&nbsp;</td>
              <td width=121 height=20  align="left" bgcolor=#a3b2cc class=style1>&nbsp;โทร. (2) : </td>
                <td width=259 bgcolor="#DDDDDD">
				<?
					if ($result2[tel2] == 0 ){
							echo "-----";	
					}else{
							echo $result2[tel2] ;
					}
				?>
				</td>
			</tr>
			<tr>
			  <td height=20  align="left" bgcolor=#a3b2cc class=style1>&nbsp;โทร. (3) : </td>
                <td width=259 bgcolor="#EFEFEF">
				<?
					if ($result2[tel3] == 0 ){
							echo "-----";	
					}else{
							echo $result2[tel3] ;
					}
				?>
				</td>
	  </tr>
			<tr>
			  <td height=20  align="left" bgcolor=#a3b2cc class=style1>&nbsp;Fax : </td>
                <td width=259 bgcolor="#DDDDDD">
				<?
					if ($result2[FX] == 0 ){
							echo "-----";	
					}else{
							echo $result2[FX] ;
					}
				?>
				</td>
	  </tr>
			<tr>
			  <td height=20  align="left" bgcolor=#a3b2cc class=style1>&nbsp;URL :</td>
			  <td bgcolor="#EFEFEF">&nbsp;<?=$result2[web]?></td>
	  </tr>
			<tr>
			  <td height=20  align="left" bgcolor=#a3b2cc class=style1>&nbsp;e-mail (1) : </td>
			  <td bgcolor="#DDDDDD">&nbsp;<?=$result2[email1]?></td>
	  </tr>
			<tr>
			  <td height=20  align="left" bgcolor=#a3b2cc class=style1>&nbsp;e-mail (2) : </td>
			  <td bgcolor="#EFEFEF">&nbsp;<?=$result2[email2]?></td>
	  </tr>
			<tr>
			  <td height=20  align="left" bgcolor=#a3b2cc class=style1>แผนที่ตั้ง</td>
			  <td bgcolor="#DDDDDD">&nbsp;<?=$result2[map]?></td>
	  </tr>
			<tr>
			  <td height=20>&nbsp;</td>
			  <td>&nbsp;</td>
			  <td>&nbsp;</td>
	  </tr>
			<tr>
			  <td height=20 align="center" colspan="3"><input type="button" name="Button" value="ปิดหน้าต่างนี้" onClick="window.close();"></td>
            </tr>
	</table>					
</form>
</span></p>
</div>
</body>
</html>

Anon7 - 2021