mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-27 02:50:53 +00:00
22 lines
No EOL
515 B
PHP
22 lines
No EOL
515 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"];
|
|
}
|
|
$pageElements = array();
|
|
$pageElements['USERNAME_ERROR'] = 'TRUE';
|
|
$pageElements['Username'] = 'testuser';
|
|
helpers::loadTemplate( 'register' , $pageElements); |