Quote:HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.
<? include("config/session.php"); session_login(); if($_GET['p'] == "login"){ $username = $_POST['username']; $password = $_POST['password']; login($username,$password); }elseif($_GET['p'] == "logout"){ logout(); } ?> <!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>Test</title> <script src="http://code.jquery.com/jquery-latest.js"></script> <link href="css/bootstrap.min.css" rel="stylesheet" media="screen"> <script src="js/bootstrap.min.js"></script> <style> </style> </head> <body> <div class="centersss"> <div class="navbar"> <div class="navbar-inner"> <ul class="nav"> <? if($_GET['p'] == "" or $_GET['p'] == "index"){ ?> <li class="active divider-vertical"><a href="index.php">Home</a></li> <li class="divider-vertical"><a href="?p=donate">Donate</a></li> <li class="divider-vertical"><a href="?p=event">Event</a></li> <li class="divider-vertical"><a href="#">Shop</a></li> <li class="divider-vertical"><a href="#">Map</a></li> <li class="divider-vertical"><a href="#">Wiki</a></li> <li class="divider-vertical"><a href="http://www.mediafire.com/?cp89eg8bjla1o71">Download</a></li> <li class="divider-vertical"><a href="http://bbs.phumin.net">WebBoard</a></li> <? }elseif($_GET['p'] == "donate"){?> <li class="divider-vertical"><a href="index.php">Home</a></li> <li class="active divider-vertical"><a href="?p=donate">Donate</a></li> <li class="divider-vertical"><a href="?p=event">Event</a></li> <li class="divider-vertical"><a href="#">Shop</a></li> <li class="divider-vertical"><a href="#">Map</a></li> <li class="divider-vertical"><a href="#">Wiki</a></li> <li class="divider-vertical"><a href="http://www.mediafire.com/?cp89eg8bjla1o71">Download</a></li> <li class="divider-vertical"><a href="http://bbs.phumin.net">WebBoard</a></li> <? }elseif($_GET['p'] == "event"){?> <li class="divider-vertical"><a href="index.php">Home</a></li> <li class="divider-vertical"><a href="?p=donate">Donate</a></li> <li class="active divider-vertical"><a href="?p=event">Event</a></li> <li class="divider-vertical"><a href="#">Shop</a></li> <li class="divider-vertical"><a href="#">Map</a></li> <li class="divider-vertical"><a href="#">Wiki</a></li> <li class="divider-vertical"><a href="http://www.mediafire.com/?cp89eg8bjla1o71">Download</a></li> <li class="divider-vertical"><a href="http://bbs.phumin.net">WebBoard</a></li> <? }elseif($_GET['p'] == "shop"){?> <li class="divider-vertical"><a href="index.php">Home</a></li> <li class="divider-vertical"><a href="?p=donate">Donate</a></li> <li class="divider-vertical"><a href="?p=event">Event</a></li> <li class="active divider-vertical"><a href="#">Shop</a></li> <li class="divider-vertical"><a href="#">Map</a></li> <li class="divider-vertical"><a href="#">Wiki</a></li> <li class="divider-vertical"><a href="http://www.mediafire.com/?cp89eg8bjla1o71">Download</a></li> <li class="divider-vertical"><a href="http://bbs.phumin.net">WebBoard</a></li> <? }elseif($_GET['p'] == "map"){?> <li class="divider-vertical"><a href="index.php">Home</a></li> <li class="divider-vertical"><a href="?p=donate">Donate</a></li> <li class="divider-vertical"><a href="?p=event">Event</a></li> <li class="divider-vertical"><a href="#">Shop</a></li> <li class="active divider-vertical"><a href="#">Map</a></li> <li class="divider-vertical"><a href="#">Wiki</a></li> <li class="divider-vertical"><a href="http://www.mediafire.com/?cp89eg8bjla1o71">Download</a></li> <li class="divider-vertical"><a href="http://bbs.phumin.net">WebBoard</a></li> <? }elseif($_GET['p'] == "wiki"){?> <li class="divider-vertical"><a href="index.php">Home</a></li> <li class="divider-vertical"><a href="?p=donate">Donate</a></li> <li class="divider-vertical"><a href="?p=event">Event</a></li> <li class="divider-vertical"><a href="#">Shop</a></li> <li class="divider-vertical"><a href="#">Map</a></li> <li class="active divider-vertical"><a href="#">Wiki</a></li> <li class="divider-vertical"><a href="http://www.mediafire.com/?cp89eg8bjla1o71">Download</a></li> <li class="divider-vertical"><a href="http://bbs.phumin.net">WebBoard</a></li> <? }elseif($_GET['p'] == "download"){?> <li class="divider-vertical"><a href="index.php">Home</a></li> <li class="divider-vertical"><a href="?p=donate">Donate</a></li> <li class="divider-vertical"><a href="?p=event">Event</a></li> <li class="divider-vertical"><a href="#">Shop</a></li> <li class="divider-vertical"><a href="#">Map</a></li> <li class="divider-vertical"><a href="#">Wiki</a></li> <li class="active divider-vertical"><a href="http://www.mediafire.com/?cp89eg8bjla1o71">Download</a></li> <li class="divider-vertical"><a href="http://bbs.phumin.net">WebBoard</a></li> <? }elseif($_GET['p'] == "webboard"){?> <li class="divider-vertical"><a href="index.php">Home</a></li> <li class="divider-vertical"><a href="?p=donate">Donate</a></li> <li class="divider-vertical"><a href="?p=event">Event</a></li> <li class="divider-vertical"><a href="#">Shop</a></li> <li class="divider-vertical"><a href="#">Map</a></li> <li class="divider-vertical"><a href="#">Wiki</a></li> <li class="divider-vertical"><a href="http://www.mediafire.com/?cp89eg8bjla1o71">Download</a></li> <li class="active divider-vertical"><a href="http://bbs.phumin.net">WebBoard</a></li> <? }else{?> <li class="divider-vertical"><a href="index.php">Home</a></li> <li class="divider-vertical"><a href="?p=donate">Donate</a></li> <li class="divider-vertical"><a href="?p=event">Event</a></li> <li class="divider-vertical"><a href="#">Shop</a></li> <li class="divider-vertical"><a href="#">Map</a></li> <li class="divider-vertical"><a href="#">Wiki</a></li> <li class="divider-vertical"><a href="http://www.mediafire.com/?cp89eg8bjla1o71">Download</a></li> <li class="divider-vertical"><a href="http://bbs.phumin.net">WebBoard</a></li> <? } ?> </ul> <ul class="nav pull-right"> <? if($_GET['p'] == "register"){?> <li class="active divider-vertical"><a href="?p=register">สมัคร</a></li> <? }else{ ?> <li class="divider-vertical"><a href="?p=register">สมัคร</a></li> <? }else if($_SESSION['uid'] != "" or $_SESSION['uid'] == "0"){} ?> </ul> <form class="navbar-form pull-right" method="post" action="<? if($_SESSION['uid'] == ""){ echo "index.php?p=login"; }else{ echo "index.php?p=logout"; } ?>"> <? if($_SESSION['username'] == ""){ ?> <input name="username" type="text" class="span2" placeholder="Username"> <input name="password" type="password" class="span2" placeholder="Password"> <button type="submit" class="btn"><i class="icon-lock"></i> Login</button> <? } else { ?> <ul class="nav"> <? if($_GET['p'] == "profile" and $_GET['uid'] == $_SESSION['uid']){?> <li class="active divider-vertical"><a href="<?=$_SESSION['username'];?>"><?=$_SESSION['username'];?></a></li> <? }else{ ?> <li class="divider-vertical"><a href="index.php?p=profile&uid=<?=$_SESSION['uid'];?>"><?=$_SESSION['username'];?></a></li> <? } ?> <li class="divider-vertical"><button type="submit" class="btn">Logout</button></li> </ul> <? } ?> </form> </div> </div> </div> <center> <div class="hero-unit" style="width:800px; padding-bottom:100%;"> <? if($_GET['p'] == "") { include("temp/index/1.php"); } elseif($_GET['p'] == "index") { include("temp/index/1.php"); } elseif($_GET['p'] == "donate") { include("temp/topup.php"); } elseif($_GET['p'] == "404") { include("temp/topup.php"); } elseif($_GET['p'] == "login") { echo "เข้าสู่ระบบสำเร็จ"; } elseif($_GET['p'] == "logout") { echo "ออกจากระบบสำเร็จ"; } elseif($_GET['p'] == "register") { include("temp/register.php"); } elseif($_GET['p'] == "sucregister") { echo "<center>สมัครเสร็จสิ้น ท่านสามรถเข้าสู่ระบบได้ทันที</center>"; } elseif($_GET['p'] == "event") { echo "<iframe src='temp/event/main.php' scrolling='no' frameborder='0' width='100%' height='800' >"; } else { include("temp/404.php"); } ?> </div> </center> </body> </html>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง