<?php

include str_replace("\\", "/", dirname(__FILE__)) . "/config.examples.php";
$GLOBALS['_CONFIG']['autoLink'] = true;
if (!isset($GLOBALS['_CONFIG']['lang'])) {
    $GLOBALS['_CONFIG']['lang'] = 'de';
}
$smartertemplate = new SmarterTemplate('sprachsupport.html');
echo $smartertemplate->result();
        if ($currentOk === true) {
            try {
                $user = $userManager->createUser($_POST['userName'], $_POST['userPassword'], $_POST['userEmail']);
            } catch (exceptionUserLogin $error) {
                $currentOk = false;
                $tplvar['error'][]['value'] = $error->getMessage();
            } catch (exceptionUserProblem $error) {
                $currentOk = false;
                $tplvar['error'][]['value'] = $error->getMessage();
            } catch (exceptionUserSql $error) {
                $currentOk = false;
                $tplvar['error'][]['value'] = $error->getMessage();
            } catch (exceptionUserSet $error) {
                $currentOk = false;
                $tplvar['error'][]['value'] = $error->getMessage();
            }
            unset($user);
        }
        if ($currentOk === true) {
            require $directoryRoot . '/Admin/Overview.php';
            die;
        }
        $tplvar['userName'] = $_REQUEST['userName'];
        $tplvar['userPassword'] = $_REQUEST['userPassword'];
        $tplvar['userEmail'] = $_REQUEST['userEmail'];
    }
}
$tplvar['currentRequestFile'] = 'AddUser.php';
$tpl = new SmarterTemplate($directoryRoot . '/Admin/Templates/AddUser.html');
$tpl->assign($tplvar);
echo $tpl->result();
<?php

include str_replace("\\", "/", dirname(__FILE__)) . "/config.examples.php";
$smartertemplate = new SmarterTemplate('schleife.html');
$smartertemplate->assign('zeile', array('Zeile1' => array('Spalte1' => 'Spalte 1.1', 'Spalte2' => 'Spalte 2.1', 'Spalte3' => 'Spalte 3.1'), 'Zeile2' => array('Spalte1' => 'Spalte 1.2', 'Spalte2' => 'Spalte 2.2', 'Spalte3' => 'Spalte 3.2'), 'Zeile3' => array('Spalte1' => 'Spalte 1.3', 'Spalte2' => 'Spalte 2.3', 'Spalte3' => 'Spalte 3.3'), 'Zeile4' => array('Spalte1' => 'Spalte 1.4', 'Spalte2' => 'Spalte 2.4', 'Spalte3' => 'Spalte 3.4')));
echo $smartertemplate->result();
<?php

include str_replace("\\", "/", dirname(__FILE__)) . "/config.examples.php";
$smartertemplate = new SmarterTemplate('grundlagen.html');
$smartertemplate->assign('VARIABLER_TEXT', 'irgendwas');
echo $smartertemplate->result();
<?php

if (!defined('OK')) {
    require str_replace('\\', '/', dirname(__FILE__)) . '/../Include.php';
}
$currentPage = 0;
if (isset($_POST['currentPage'])) {
    $currentPage = (int) $_POST['currentPage'];
}
if ($currentPage < 0) {
    $currentPage = 0;
}
$userList = $userManager->getUserlist('%', $currentPage, 30);
$tplVar['userList'] = $userList;
$tplVar['POST'] = $_POST;
$tpl = new SmarterTemplate($directoryRoot . '/Admin/Templates/Overview.html');
$tpl->assign($tplVar);
$page = $tpl->Result();
echo $page;