setPageData($page,"pages"); include "inc/top.php"; $template->setTop($top); include "inc/footer.php"; $template->setFooter($footer); /* foreach ($_GET as $key => $value) { $$key = $_GET[$key]; } foreach ($_POST as $key => $value) { $$key = $_POST[$key]; } foreach ($_COOKIE as $key => $value) { $$key = $_COOKIE[$key]; }*/ if($_GET[page] != "admin" and $_POST[page] != "admin" and $pg != "admin") { viewRightButtons(); } $template->Compile(); ?>