mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-19 05:36:13 +00:00
c256187ead
--HG-- branch : rc-botanic-webdev
24 lines
No EOL
476 B
PHP
24 lines
No EOL
476 B
PHP
<?php
|
|
|
|
require( '../config.php' );
|
|
|
|
require( '../../ams_lib/libinclude.php' );
|
|
|
|
if (isset($_POST["function"])){
|
|
require("inc/".$_POST["function"].".php");
|
|
$_POST["function"]();
|
|
}
|
|
|
|
function loadpage ($page){
|
|
require_once('autoload/'.$page.'.php');
|
|
}
|
|
|
|
$page = 'home';
|
|
if (isset($_GET["page"])) {
|
|
$page = $_GET["page"];
|
|
}
|
|
|
|
|
|
helpers::loadtemplate('templates/header.phtml');
|
|
loadpage($page);
|
|
helpers::loadtemplate('templates/footer.phtml'); |