require('config.php'); if (empty($_GET['f'])) { $file_to_display = "home.htm"; } else { if (file_exists($_GET['f'])) { $file_to_display = $_GET['f']; } else $file_to_display = "home.htm"; } ?>
require($right_file); ?> |
if (file_exists($head))
{
require($head);
}
else require('header.htm');
?>
if (file_exists($file_to_display)) { require($file_to_display); } else require('home.htm'); ?> if (file_exists($foot)) { require($foot); } else require('footer.htm'); ?> |