<div align="center"> <? include "connect.php"; $strSQL="select * from on_files order by fileid desc"; $objQuery=mysql_query($strSQL); echo"<table border=\"1\" cellspacing=\"1\" cellpadding=\"1\"><tr>"; $intRows = 0; while($r=mysql_fetch_array( $objQuery)) { $fileid=$r[fileid]; $icon=$r[icon]; $title=$r[title]; $intRows++; } echo "<td>"; ?> <div style="width=200px; hieght=250px; float=left; margin:5px padding:0;"> <div style="width=200px; hieght=200px; margin:0; padding:0;"><?php echo"<img src='files/image/$icon' width='200' hieght='200'>";?></div> <div><?php echo '$title';?></div> </div> <? echo"</td>"; if(($intRows)%3==0) { echo"</tr>"; }else{ echo "<td>"; } echo"</tr></table>"; ?> </div>
<html> <head> <title>ThaiCreate.Com Tutorial</title> </head> <body> <? include "connect.php"; $strSQL = "SELECT * FROM on_files"; $objQuery = mysql_query($strSQL); echo"<table border=\"1\" cellspacing=\"1\" cellpadding=\"1\"><tr>"; $intRows = 0; while($objResult = mysql_fetch_array($objQuery)) { echo "<td width='164'>"; $intRows++; ?> <center> <A HREF='http://games.chaosiam.com/file.php?f=<?=$objResult["fileid"] ;?>' target='_blank'><img src="../files/image/<?=$objResult["icon"] ;?>"></a><br> <A HREF='http://games.chaosiam.com/file.php?f=<?=$objResult["fileid"] ;?>' target='_blank'><?=$objResult["title"];?></a> <br> </center> <? echo"</td>"; if(($intRows)%4==0) { echo"</tr>"; } } echo"</tr></table>"; ?> </body> </html> <? mysql_close($objConnect); ?>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง