Miscellany
public text v1 · immutable<?php
include "header.php";
$act = $_GET['act'];
if(!$act) {
$act = "home";
}
if(file_exists("pages/". $act .".php")) {
include "pages/". $act .".php";
}
else {
echo "Page does not exist";
}
include "footer.php";
?>