first commit
This commit is contained in:
17
load.php
Executable file
17
load.php
Executable file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
//$pid=1;
|
||||
include_once 'classes/TestProjektSmarty.class.php';
|
||||
$smarty = new Smarty();
|
||||
include("config.inc.php");
|
||||
|
||||
$templatename = substr(basename($_SERVER['PHP_SELF']), 0, -3) . "html";
|
||||
include("language/german.inc.php");
|
||||
|
||||
if (isset($_GET["page"])) {
|
||||
$page = $_GET["page"];
|
||||
}
|
||||
|
||||
$smarty->assign('load_page', $page);
|
||||
|
||||
$smarty->display("$template/$templatename");
|
||||
?>
|
Reference in New Issue
Block a user