'; } else if ($_SERVER["REQUEST_URI"] == "/?categories") { $headers = header('HTTP/1.1 200 OK'); $pagetitle = 'Sexy XXX'; $metdesc = 'Sexy XXX - Free Porn Categories'; include'server_includes/keywords.php'; } else if ($_SERVER["REQUEST_URI"] == "/?new") { $headers = header('HTTP/1.1 200 OK'); $pagetitle = 'Sexy XXX Adult Porn XXX Sex Images Pictures Movie Video Free Links Just Added'; $metdesc = 'Sexy XXX - Hot New Links Just Added'; include 'server_includes/justadded.php'; } else if ($_GET["keyword"]) { $term = $_GET["keyword"]; $term = str_replace("_"," ",$term); $term = str_replace("'","'",$term); $term = str_replace("\'","'",$term); $headers = header('HTTP/1.1 200 OK'); $pagetitle = "Sexy XXX Free $term Porn"; $metdesc = "Sexy XXX Results For $term"; include 'server_includes/search.php'; } else { $headers = header("HTTP/1.1 404 Not Found"); $pagetitle = '404 Not Found'; $metdesc = '404 Not Found'; $body = "404 Not Found"; } $replaceTags = array("pagetitle","metdesc","body","term"); $output = file_get_contents('server_includes/site_template.html'); foreach($replaceTags as $value) { $output = str_replace("[#*$value*#]",$$value,$output); } echo $headers; echo $output; ?>