<!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" /> <title>::Insert Respond::</title> </head> <body> <table align="center" border="1" width="700"> <tr> <td colspan="2"> <?php include "../header.html"; ?> </td> </tr> <tr> <td valign="top" width="17"> <?php include "left_menu.html"; ?> </td> <td width="683" align="center" valign="top"> <table border="1"> <tr> <td align="center" colspan="2"> <font face="sans-serif" size="2"> Show Detial Employee </font> </td> </tr> <?php /*--------------------------Show Detail Employee------------------------------------------------------*/ $Id_Emp=$_REQUEST["id"]; include "../connect.php"; $strSQL = "SELECT * FROM employee WHERE Id_Emp='$Id_Emp'"; $objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]"); while($objResult = mysql_fetch_array($objQuery)){ $Id_Emp=$objResult["Id_Emp"]; $Sex=$objResult["Sex"]; $Status=$objResult["Status"]; $Department=$objResult["Id_Dept"]; ?> <tr> <td width="100" height="100"> <img src="../ImageEmployee/<?=$objResult["Image"];?>" border="0" width="100" height="100"> </td> <td align="left"> <font face="sans-serif" size="2">ID Employee:<?=$objResult["Id_Emp"];?></font><br /> <font face="sans-serif" size="2">Name:<?=$objResult["Name"];?></font><br /> <font face="sans-serif" size="2">Sex:<? if($Sex==1){ echo "Male";}else{echo "Female";} ?></font> <br /> <font face="sans-serif" size="2">Telephone:<?=$objResult["Telephone"];?></font><br /> <font face="sans-serif" size="2">Email:<?=$objResult["Email"];?></font><br /> <font face="sans-serif" size="2">Department:<? if($Department==1){ echo "Cs-Import";}else{echo "Cs-Export";} ?> </font> <br /> </td> </tr> <?php } ?> </table> <table border="1" align="center"> <tr> <td> <font face="sans-serif" size="2">Company Name:</font> </td> <td> <font face="sans-serif" size="2"> <select name="company"> <option value="">--กรุณาเลือก--</option> <?php /*---------Show List Of Company Name--------------------------------------------------------------------------*/ include "../connect.php"; mysql_query("SET NAMES UTF8"); $SQL="SELECT * FROM company"; $Result = mysql_query($SQL)or die ("Error Query [".$SQL."]"); while($objResult = mysql_fetch_array($Result)) { $Id_Company=$objResult["Id_Company"]; $Name_Company=$objResult["Name_Company"]; ?> <option value="<?= $Id_Company ?>"><?= $Name_Company ?></option> <?php } ?> </select> </font> </td> <td> <a href="add_respond_company.php?id=<?= $Id_Emp ?>&company=<?= $Id_Company ?>"> fdfd </a> </td> </tr> </table> </td> </tr> <tr> <td colspan="2"> <?php include "../footer.html"; ?> </td> </tr> </table> </body> </html>
<!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" /> <title>::Insert Respond::</title> <script type="text/javascript"> function submit_new(){ window.location = 'add_respond_company.php?id='+document.getElementById('id_emp').value+'&company='+document.getElementById('company').value; } </script> </head> <a href="add_respond_company.php?id=<?= $Id_Emp ?>&company=<?= $Id_Company ?>"> fdfd </a> <body> <table align="center" border="1" width="700"> <tr> <td colspan="2"> <?php include "../header.html"; ?> </td> </tr> <tr> <td valign="top" width="17"> <?php include "left_menu.html"; ?> </td> <td width="683" align="center" valign="top"> <table border="1"> <tr> <td align="center" colspan="2"> <font face="sans-serif" size="2"> Show Detial Employee </font> </td> </tr> <?php /*--------------------------Show Detail Employee------------------------------------------------------*/ $Id_Emp=$_REQUEST["id"]; include "../connect.php"; $strSQL = "SELECT * FROM employee WHERE Id_Emp='$Id_Emp'"; $objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]"); while($objResult = mysql_fetch_array($objQuery)){ $Id_Emp=$objResult["Id_Emp"]; $Sex=$objResult["Sex"]; $Status=$objResult["Status"]; $Department=$objResult["Id_Dept"]; ?> <tr> <input name="id_emp" id="idemp" type="hidden" value="<?php echo $Id_Emp; ?>" /> <td width="100" height="100"> <img src="../ImageEmployee/<?=$objResult["Image"];?>" border="0" width="100" height="100"> </td> <td align="left"> <font face="sans-serif" size="2">ID Employee:<?=$objResult["Id_Emp"];?></font><br /> <font face="sans-serif" size="2">Name:<?=$objResult["Name"];?></font><br /> <font face="sans-serif" size="2">Sex:<? if($Sex==1){ echo "Male";}else{echo "Female";} ?></font> <br /> <font face="sans-serif" size="2">Telephone:<?=$objResult["Telephone"];?></font><br /> <font face="sans-serif" size="2">Email:<?=$objResult["Email"];?></font><br /> <font face="sans-serif" size="2">Department:<? if($Department==1){ echo "Cs-Import";}else{echo "Cs-Export";} ?> </font> <br /> </td> </tr> <?php } ?> </table> <table border="1" align="center"> <tr> <td> <font face="sans-serif" size="2">Company Name:</font> </td> <td> <font face="sans-serif" size="2"> <select name="company" id="company"> <option value="">--กรุณาเลือก--</option> <?php /*---------Show List Of Company Name--------------------------------------------------------------------------*/ include "../connect.php"; mysql_query("SET NAMES UTF8"); $SQL="SELECT * FROM company"; $Result = mysql_query($SQL)or die ("Error Query [".$SQL."]"); while($objResult = mysql_fetch_array($Result)) { $Id_Company=$objResult["Id_Company"]; $Name_Company=$objResult["Name_Company"]; ?> <option value="<?= $Id_Company ?>"><?= $Name_Company ?></option> <?php } ?> </select> </font> </td> <td> <a href="#" onclick="submit_new();">fdfd</a> </td> </tr> </table> </td> </tr> <tr> <td colspan="2"> <?php include "../footer.html"; ?> </td> </tr> </table> </body> </html>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง