All pastes #546805 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-06-07 05:07 UTC
rendered paste body
<?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";

?>