<? include("config.inc.php")?> <table width="100%" border="1" cellpadding="0" cellspacing="1" > <? $sql = "SELECT * FROM product_main_menu ORDER BY id_order"; $rs = mysql_query($sql); while($row = mysql_fetch_array($rs)){?> <tr bgcolor="#CCCCCC"> <td height="27" align="left" background="img/bg_menu.png"><span class="micro14n style3"><strong> <?=$row["name_au"]."Title"?></strong></span> </td> </tr> <tr> <td> <? $id_main_me = $row["id_main_me"]; $sql3 = "SELECT * FROM product_sub_menu where id_main_me=".$row["id_main_me"]." ORDER BY id_order"; $rs3 = mysql_query($sql3); while($row3 = mysql_fetch_array($rs3)){ $ii++; echo"<table border=\"1\" cellspacing=\"1\" cellpadding=\"1\"><tr>"; echo "<td width='100'>$ii"; echo $row3["sub_menu"]; $sql4 = mysql_query("SELECT * FROM product_sub_detail WHERE id_sub_me=".$row3["id_sub_me"].""); $intRows = 0; while($row4 = mysql_fetch_array($sql4)){ $intRows++; ?> <img src="picture_upload/product/<?=$row4["pic_pro"];?>" width="334" height="162" border="0"><br> <? if($row3["new_prod"]==1){?> <img src="img/newmail.gif" /> <? }?><a href="<?=$row4["detail_name"];?>" target="_blank"><img src="img/seemore.gif" width="75" height="24" border="0"></a> <? echo"</td>"; if(($intRows)%2==0) { echo"</tr>"; } } echo"</table>"; ?> <? }?> <? }?> </td> </tr> </table>
<? include("../include/config.inc.php")?> <? $menu = $_GET["menu"]; $id_sub_me = $_GET["id_sub_me"];?> <title><?php include "title.txt"?></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link href="main.css" rel="stylesheet" type="text/css"> <style type="text/css"> <!-- .style3 {color: #FFFFFF} .style1 { color: #FFFFFF; font-weight: bold; } --> </style> <script type="text/JavaScript"> <!-- function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } //--> </script> <body onLoad="MM_preloadImages('images/b-wmdmanual180.png')"> <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC"> <? $sql = "SELECT * FROM product_main_menu ORDER BY id_order"; $rs = mysql_query($sql); while($row = mysql_fetch_array($rs)){?> <tr> <td height="27" align="left" background="images/bg_menu.png"><span class="micro14n style3"><strong> <?=$row["name_au"]?></strong></span></td> </tr> <tr> <td> <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"> <? $id_main_me = $row["id_main_me"]; $sql3 = "SELECT * FROM product_sub_menu where id_main_me=".$row["id_main_me"]." ORDER BY id_order"; $rs3 = mysql_query($sql3); while($row3 = mysql_fetch_array($rs3)){?> <tr> <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="334"><?=$row3["sub_menu"]?> <br> <? $sql4 = mysql_query("SELECT * FROM product_sub_detail WHERE id_sub_me=".$row3["id_sub_me"].""); while($row4 = mysql_fetch_array($sql4)){ ?> <img src="../admin/picture_upload/product/<?=$row4["pic_pro"];?>" width="334" height="162" border="0"><br> <center> <? if($row3["new_prod"]==1){?> <img src="images/newmail.gif" /> <? }?> <a href="<?=$row4["detail_name"];?>" target="_blank"><img src="../admin/images/icon_more-n.gif" width="46" height="19" border="0"></a> </center> <? }?></td> </tr> </table> </td><? } ?> </tr> </table></td></tr><? }?> </table> <p> </p> <p><br /> </p>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง