|
|
|
|
$id = $_GET['id']; // $_GET[''] is what you get in the url eg ?id= or &id= etc etc
switch ($page) // replace id with whatever you want to use, eg page
{
case "diplomancy":
include('diplomancy.php');
break;
case "servers":
include('server.php');
break;
case "aboutus":
include('about.php');
break;
case "members":
include('members.php');
break;
case "wars":
include('wars.php');
break;
case "challenge":
include('challengeus.htm');
break;
case "joinus":
include('joinus.php');
break;
default:
include "test.php";
}
?>
|
|
|