$mudules = $_GET['modules']; $id= $_GET['id'];
<? function GETMODULE($name,$file){ global $MODPATH, $MODPATHFILE ; if(!$name){$name = "index";} if(!$file){$file = "index";} $modpathfile="modules/".$name."/".$file.".php"; if (file_exists($modpathfile)) { $MODPATHFILE = $modpathfile; $MODPATH = "modules/".$name."/"; }else{ die ("No File<meta http-equiv='refresh' content='3;url=index.php'>"); } } ?>
<? require_once("mainfile.php"); $PHP_SELF = "index.php"; GETMODULE($_GET[name],$_GET[file]); ?> <!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>ThaiCreate</title> </head> <table> <tr> <td> <ul> <li><a href="index.php">หน้าแรก</a> <li><a href="?name=contact">ติดต่อสอบถาม</a> </ul> </td> </tr> <tr> <td> <? include ("".$MODPATHFILE."");?> </td> </tr> </table> <body> </body> </html>
<table> <tr> <td>ติดต่อสอบถาม</td> </tr> </table>
<table> <tr> <td>หน้าแรก</td> </tr> </table>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง