<table id="mytable" border="1" align="center" width="1280" class="fix" > <tr > <td height="51" align="center" ><font color="#CCCCCC" size="+1">No.</font></td> <td align="center"><font color="#CCCCCC" size="+1">Product P/N</font></td> <td align="center"><font color="#CCCCCC" size="+1"><p>Product Description</p> </font></td> <td align="center"><font color="#CCCCCC" size="+1">Start</font></td> <td align="center"><font color="#CCCCCC" size="+1">End</font></td> <td align="center"><font color="#CCCCCC" size="+1">Transaction Details</font></td> <td align="center"><font color="#CCCCCC" size="+1">Serial</font></td> <td align="center"><font color="#CCCCCC" size="+1">Project</font></td> <td align="center"><font color="#CCCCCC" size="+1">Transaction Code</font></td> <td align="center" ><font color="#CCCCCC" size="+1">Image</font></td> <td align="center"><font color="#CCCCCC" size="+1">Edit</font></td> <td align="center"><font color="#CCCCCC" size="+1">Delete</font></td> <td align="center"><font color="#CCCCCC" size="+1">Select</font></td> </tr> <tbody> <?php include_once"connect.php"; $select=mysql_query("SELECT * FROM exstock ") or die (mysql_error()); while ($show=mysql_fetch_array($select)) { ?> <tr > <td align="center" ><? echo ++$n ?></td> <td width="200" ><?=$show['product_id'];?></td> <td class="fix"><?=$show['product_des'];?></td> <td width="180" align="center"><?=$show['start_date'];?></td> <td width="180" align="center"><?=$show['end_date'];?></td> <td width="800"><?=$show['detail'];?> </td> <td class="fix"><?=$show['serial'];?></td> <td class="fix" ><a href="stock.php"><?=$show['project'];?></a></td> <td width="25" align="center"><?=$show['trans_code'];?></td> <td ><a href="../myproject/storeimage/<?=$show['image'];?>"><center><img src='<?=$show['image'];?>' /></center></a></td> <td title="Edit" ><a href="stock2.php?id=<?=$show['id'];?>"><img src="images/home/edit2.png" /></a></td> <td align="center" title="Delete" ><a href="stock_delete.php?id=<?=$show['id'];?>" onclick="return confirm('ยืนยันการลบ')"><img src="images/home/dele.gif" /></a></td> <td align="center" title="Export"> <a href="select.php?id=<?=$show['id'];?>"> <input type="checkbox" name="id[]" id="id[]" value="<?=$show['id'];?>" /></a></td> </tr> <? }?> </table></form> </table>
<table id="mytable" border="1" align="center" width="1280" class="fix" > <tr > <td align="center" ><font color="#CCCCCC" size="+1">No.</font></td> <td align="center"><font color="#CCCCCC" size="+1">Product P/N</font></td> <td align="center"><font color="#CCCCCC" size="+1"><p>Product Description</p> </font></td> <td align="center"><font color="#CCCCCC" size="+1">Start</font></td> <td align="center"><font color="#CCCCCC" size="+1">End</font></td> <td align="center"><font color="#CCCCCC" size="+1">Transaction Details</font></td> <td align="center"><font color="#CCCCCC" size="+1">Serial</font></td> <td align="center"><font color="#CCCCCC" size="+1">Project</font></td> <td align="center"><font color="#CCCCCC" size="+1">Transaction Code</font></td> <td align="center" ><font color="#CCCCCC" size="+1">Image</font></td> </tr> <tbody> <?php include_once"connect.php"; $id=$_POST['id']; for($i=0;$i<count($id);$i++) { $select=mysql_query("SELECT * FROM exstock WHERE id ='".$id[$i]."'") or die (mysql_error()); $show=mysql_fetch_array($select); ?> <tr > <td align="center" ><? echo ++$n ?></td> <td width="200" ><?=$show['product_id'];?></td> <td class="fix"><?=$show['product_des'];?></td> <td width="180" align="center"><?=$show['start_date'];?></td> <td width="180" align="center"><?=$show['end_date'];?></td> <td width="800"><?=$show['detail'];?> </td> <td class="fix"><?=$show['serial'];?></td> <td class="fix" ><a href="stock.php"><?=$show['project'];?></a></td> <td width="25" align="center"><?=$show['trans_code'];?></td> <td ><a href="../myproject/storeimage/<?=$show['image'];?>"><center><img src='<?=$show['image'];?>' /></center></a></td> </tr> <? } ?> </table>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง