Solltest du später dann so 30 seiten haben wird das aber ettttttttttttwas lang das script..
Darf ich dir was kürzeres geben?!

PHP-Code:
<?php
if ( $action == "" )
{
$action "main";
}


if ( 
file_exists($action.php) )
{
include(
"$action.php");
}else{
include(
"main.php");
}
?>