rendered paste body<?php $validpages = array("main", "about", "play", "gallery", "download"); $_GET["page"] = isset($_GET["page"]) && in_array($_GET["page"], $validpages) ? $_GET["page"] : "main";?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>News Mod</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta name="Description" content="News Mod" /> <meta name="keywords" content="News Mod" /> <style type="text/css">body { background:#ffffe0; color:#000000; font-family:tahoma;}A { color:#ffffe0; font-weight:bold; font-size: small;}A:link {text-decoration: none;}A:visited {text-decoration: none; }A:hover {text-decoration: underline;}A:active {text-decoration: underline;} </style> </head> <body> <div style="position:relative; width:1000px; height:500px"> <div style="position:absolute; top:0px; left:0px; background-image:url(pictures/topbanner.gif); background-repeat:no-repeat; width:1000px; height:60px;"> </div> <div style="position:absolute; top:60px; bottom:60px; left:0px; background:#6f6f6f; background-repeat:no-repeat; width:1000px; height:380px;"> <div style="position:absolute; top:0px; left:0px; width:340px; height:20px; text-align:center;"><a href="?page=main">Welcome</a></div> <div style="position:absolute; top:0px; left:340px; width:165px; height:20px; text-align:center; background:#ffffff;"><a href="?page=about" style="color:#000000;">About</a></div> <div style="position:absolute; top:0px; left:505px; width:165px; height:20px; text-align:center;"><a href="?page=play">How to Play</a></div> <div style="position:absolute; top:0px; left:670px; width:165px; height:20px; text-align:center; background:#ffffff;"><a href="?page=gallery" style="color:#000000;">Gallery</a></div> <div style="position:absolute; top:0px; left:835px; width:165px; height:20px; text-align:center;"><a href="?page=download">Downloads</a></div> <div style="position:absolute; top:20px; left:0px; width:320px; height:340px; padding:10px; overflow:auto;"> <!-- left content here --><?php if (file_exists("include/".$_GET["page"]."_left.inc.php")) { include("include/".$_GET["page"]."_left.inc.php"); }?> </div> <div style="position:absolute; top:20px; left:340px; width:640px; height:340px; padding:10px; overflow:auto; background:#ffffff;"> <!-- right content here --><?php if (file_exists("include/".$_GET["page"]."_right.inc.php")) { include("include/".$_GET["page"]."_right.inc.php"); }?> </div> </div> <div style="position:absolute; bottom:0px; left:0px; background-image:url(pictures/bottombanner.gif); background-repeat:no-repeat; width:1000px; height:60px;"> </div> </div> </body></html>