<!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>::รายชื่อ Agent::</title> </head> <body> <table border="0" cellpadding="0" cellspacing="0" width="800" align="center"> <tr> <td align="center"> <?php include "header.html"; ?> </td> </tr> <tr> <td align="center"> <?php include "topmenu.html"; ?> </td> </tr> <tr> <td align="center"> </td> </tr> <tr> <td align="center"> <table align="center" border="0" cellpadding="0" cellspacing="0" width="850"> <tr> <td align="center" colspan="6"> <img src="Image/data.gif" border="0" width="850" height="50" /> </td> </tr> <tr> <td align="center"> <table width="850" border="1" cellpadding="0" cellspacing="0"> <tr> <td align="center"> <font face="sans-serif" size="2"><b>NAME</b></font> </td> <td align="center"> <font face="sans-serif" size="2"><b>ADDRESS</b></font> </td> <td align="center"> <font face="sans-serif" size="2"><b>TELEPHONE</b></font> </td> <td align="center"> <font face="sans-serif" size="2"><b>FAX</b></font> </td> <td align="center"> <font face="sans-serif" size="2"><b>EMAIL</b></font> </td> <td align="center"> <font face="sans-serif" size="2"><b>WEBSITE</b></font> </td> </tr> <?php include "connect.php"; mysql_query("SET NAMES UTF8"); $strSQL = "SELECT * FROM agent"; $objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]"); while($Row = mysql_fetch_array($objQuery)){ $Name_Agent=$Row["Name_Agent"]; $Address_laem=$Row["Address_laem"]; $Tel_laem=$Row["Tel_laem"]; $Fax_laem=$Row["Fax_laem"]; $Email_laem=$Row["Email_laem"]; $Address_bkk=$Row["Address_bkk"]; $Tel_bkk=$Row["Tel_bkk"]; $Fax_bkk=$Row["Fax_bkk"]; $Email_bkk=$Row["Email_bkk"]; $Website=$Row["website"]; $i++; if($i%2==0) { $bg = "#CCCCCC"; }else{ $bg = "#FFFFFF"; } ?> <tr valign="middle"> <td width="150" align="left" bgcolor="<?=$bg;?>"> <font face="sans-serif" size="1"><?=$Name_Agent; ?></font> </td> <td width="200" align="left"> <font face="sans-serif" size="1"><b><u>BANGKOK</u></b></font><br /> <?php if($Address_bkk==""){ echo "<font face=\"sans-serif\" size=\"1\">ยังไม่มีข้อมูล</font>"; }else{ echo "<font face=\"sans-serif\" size=\"1\">$Address_bkk</font>"; } ?> </td> <td width="100" align="left"> <?php if($Tel_bkk==""){ echo "<font face=\"sans-serif\" size=\"1\">ยังไม่มีข้อมูล</font>"; }else{ echo "<font face=\"sans-serif\" size=\"1\">$Tel_bkk</font>"; } ?> </td> <td width="100" align="left"> <?php if($Fax_bkk==""){ echo "<font face=\"sans-serif\" size=\"1\">ยังไม่มีข้อมูล</font>"; }else{ echo "<font face=\"sans-serif\" size=\"1\">$Fax_bkk</font>"; } ?> </td> <td width="200" align="left"> <?php if($Email_bkk==""){ echo "<font face=\"sans-serif\" size=\"1\">ยังไม่มีข้อมูล</font>"; }else{ echo "<font face=\"sans-serif\" size=\"1\">$Email_bkk</font>"; } ?> </td> <td width="200" align="left"> <?php if($Website==""){ echo "<font face=\"sans-serif\" size=\"1\">ยังไม่มีข้อมูล</font>"; }else{ echo "<font face=\"sans-serif\" size=\"1\">$Website</font>"; } ?> </td> </tr> <tr valign="middle"> <td width="150" align="left" bgcolor="<?=$bg;?>"> <font face="sans-serif" size="1"><?=$Name_Agent; ?></font> </td> <td width="200" align="left"> <font face="sans-serif" size="1"><b><u>LAEMCHABANG</u></b></font><br /> <?php if($Address_laem==""){ echo "<font face=\"sans-serif\" size=\"1\">ยังไม่มีข้อมูล</font>"; }else{ echo "<font face=\"sans-serif\" size=\"1\">$Address_laem</font>"; } ?> </td> <td width="100" align="left"> <?php if($Tel_laem==""){ echo "<font face=\"sans-serif\" size=\"1\">ยังไม่มีข้อมูล</font>"; }else{ echo "<font face=\"sans-serif\" size=\"1\">$Tel_laem</font>"; } ?> </td> <td width="100" align="left"> <?php if($Fax_laem==""){ echo "<font face=\"sans-serif\" size=\"1\">ยังไม่มีข้อมูล</font>"; }else{ echo "<font face=\"sans-serif\" size=\"1\">$Fax_laem</font>"; } ?> </td> <td width="200" align="left"> <?php if($Email_laem==""){ echo "<font face=\"sans-serif\" size=\"1\">ยังไม่มีข้อมูล</font>"; }else{ echo "<font face=\"sans-serif\" size=\"1\">$Email_laem</font>"; } ?> </td> <td width="200" align="left"> <?php if($Website==""){ echo "<font face=\"sans-serif\" size=\"1\">ยังไม่มีข้อมูล</font>"; }else{ echo "<font face=\"sans-serif\" size=\"1\">$Website</font>"; } ?> </td> </tr> <?php } ?> </table> <tr> <td align="center" colspan="6"> <img src="Image/bottom-data.gif" border="0" width="850" height="50" /> </td> </tr> <tr> <td align="center"> <?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>::ข้อมูลเบื้องต้น Agent::</title> </head> <body> <table border="0" cellpadding="0" cellspacing="0" width="800" align="center"> <tr> <td align="center"> <?php include "header.html"; ?> </td> </tr> <tr> <td align="center"> <?php include "topmenu.html"; ?> </td> </tr> <tr> <td align="center"> </td> </tr> <tr> <td align="center"> <table align="center" border="0" cellpadding="0" cellspacing="0" width="850"> <tr> <td align="center" colspan="6"> <img src="Image/data.gif" border="0" width="850" height="50" /> </td> </tr> <tr> <td align="center"> <table width="850" border="1" cellpadding="0" cellspacing="0"> <tr> <td align="center"> <font face="sans-serif" size="2"><b>NAME</b></font> </td> <td align="center"> <font face="sans-serif" size="2"><b>ADDRESS</b></font> </td> <td align="center"> <font face="sans-serif" size="2"><b>TELEPHONE</b></font> </td> <td align="center"> <font face="sans-serif" size="2"><b>FAX</b></font> </td> <td align="center"> <font face="sans-serif" size="2"><b>EMAIL</b></font> </td> <td align="center"> <font face="sans-serif" size="2"><b>WEBSITE</b></font> </td> </tr> <?php include "connect.php"; mysql_query("SET NAMES UTF8"); $strSQL = "SELECT * FROM agent ORDER BY Name_Agent ASC"; $objQuery = mysql_query($strSQL) or die ("Error Query [".$strSQL."]"); while($Row = mysql_fetch_array($objQuery)){ $Name_Agent=$Row["Name_Agent"]; $Address_laem=$Row["Address_laem"]; $Tel_laem=$Row["Tel_laem"]; $Fax_laem=$Row["Fax_laem"]; $Email_laem=$Row["Email_laem"]; $Address_bkk=$Row["Address_bkk"]; $Tel_bkk=$Row["Tel_bkk"]; $Fax_bkk=$Row["Fax_bkk"]; $Email_bkk=$Row["Email_bkk"]; $Website=$Row["website"]; $i++; if($i%2==0) { $bg = "#CCCCCC"; }else{ $bg = "#FFFFFF"; } ?> <tr valign="middle"> <td rowspan="2" width="150" align="left" bgcolor="<?=$bg;?>">//------>จุดที่ใช้ rowspan ครับ <font face="sans-serif" size="1"><?=$Name_Agent; ?></font> </td> <td width="200" align="left"> <font face="sans-serif" size="1"><b><u>BANGKOK</u></b></font><br /> <?php if($Address_bkk==""){ echo "<font face=\"sans-serif\" size=\"1\">ยังไม่มีข้อมูล</font>"; }else{ echo "<font face=\"sans-serif\" size=\"1\">$Address_bkk</font>"; } ?> </td> <td width="100" align="left"> <?php if($Tel_bkk==""){ echo "<font face=\"sans-serif\" size=\"1\">ยังไม่มีข้อมูล</font>"; }else{ echo "<font face=\"sans-serif\" size=\"1\">$Tel_bkk</font>"; } ?> </td> <td width="100" align="left"> <?php if($Fax_bkk==""){ echo "<font face=\"sans-serif\" size=\"1\">ยังไม่มีข้อมูล</font>"; }else{ echo "<font face=\"sans-serif\" size=\"1\">$Fax_bkk</font>"; } ?> </td> <td width="200" align="left"> <?php if($Email_bkk==""){ echo "<font face=\"sans-serif\" size=\"1\">ยังไม่มีข้อมูล</font>"; }else{ echo "<font face=\"sans-serif\" size=\"1\">$Email_bkk</font>"; } ?> </td> <td width="200" align="left"> <?php if($Website==""){ echo "<font face=\"sans-serif\" size=\"1\">ยังไม่มีข้อมูล</font>"; }else{ echo "<font face=\"sans-serif\" size=\"1\">$Website</font>"; } ?> </td> </tr> <tr valign="middle"> <td width="200" align="left"> <font face="sans-serif" size="1"><b><u>LAEMCHABANG</u></b></font><br /> <?php if($Address_laem==""){ echo "<font face=\"sans-serif\" size=\"1\">ยังไม่มีข้อมูล</font>"; }else{ echo "<font face=\"sans-serif\" size=\"1\">$Address_laem</font>"; } ?> </td> <td width="100" align="left"> <?php if($Tel_laem==""){ echo "<font face=\"sans-serif\" size=\"1\">ยังไม่มีข้อมูล</font>"; }else{ echo "<font face=\"sans-serif\" size=\"1\">$Tel_laem</font>"; } ?> </td> <td width="100" align="left"> <?php if($Fax_laem==""){ echo "<font face=\"sans-serif\" size=\"1\">ยังไม่มีข้อมูล</font>"; }else{ echo "<font face=\"sans-serif\" size=\"1\">$Fax_laem</font>"; } ?> </td> <td width="200" align="left"> <?php if($Email_laem==""){ echo "<font face=\"sans-serif\" size=\"1\">ยังไม่มีข้อมูล</font>"; }else{ echo "<font face=\"sans-serif\" size=\"1\">$Email_laem</font>"; } ?> </td> <td width="200" align="left"> <?php if($Website==""){ echo "<font face=\"sans-serif\" size=\"1\">ยังไม่มีข้อมูล</font>"; }else{ echo "<font face=\"sans-serif\" size=\"1\">$Website</font>"; } ?> </td> </tr> <?php } ?> </table> <tr> <td align="center" colspan="6"> <img src="Image/bottom-data.gif" border="0" width="850" height="50" /> </td> </tr> <tr> <td align="center"> <?php include "footer.html"; ?> </td> </tr> </table> </table> </body> </html>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง