if(!$_GET['lap']) { $_GET['lap'] = "home"; } if(!file_exists("lapok/".$_GET['lap'].".php") ) { $_GET['lap'] = "home"; } include("lapok/".$_GET['lap'].".php"); ?>