<? include 'connect.php'; $productname=$_GET[name_prd]; ?> <table width="900" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td align="left" valign="top" bgcolor="#FFFFFF"><table width="900" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="200" align="left" valign="top"><? include('menu.php'); ?></td> <td width="615" align="left" valign="top"><table width="600" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="200" valign="top"><table width="100%" border="0" cellspacing="4"> <? $sql="select * from product where name_prd='$productname' "; $result=mysql_db_query($dbname,$sql); while ($rs=mysql_fetch_array($result)) { $id_prd=$rs[id_prd]; $code=sprintf("%05d",$id_prd); $name_prd=$rs[name_prd]; $detail_prd=$rs[detail_prd]; $ref_id_type=$rs[ref_id_type]; $price_prd=$rs[price_prd]; $photo_prd=$rs[photo_prd]; if ($photo_prd=="") { $photo_prd="temp.jpg"; } echo "<TR> <TD WIDTH='50%' VALIGN='top'> </B>$name_prd <BR>$detail_prd </TD> <TD WIDTH='50%' VALIGN='top'> </TD> </TR>"; } ?> </table> </td> </tr> </table></td> </tr> </table> <? include('footer.php'); ?></td> </tr> </table>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง