if(!isset($_GET['id']) || empty($_GET['id']))
{
include('content.php');
}
else
{
if (eregi("\.", $_GET['id']) || eregi("\/", $_GET['id']))
{
print('
Nie ma takiej strony, b±dĽ adres nieprawidłowy
');
}
else
{
if(file_exists($_GET['id'].'.php'))
{
include($_GET['id'].'.php');
}
else
{
print('
Nie ma takiej strony, b±dĽ adres nieprawidłowy
');
}
}
}
?>