| | |
| | | <?php |
| | | |
| | | /* |
| | | Copyright (c) 2005, Till Brehm, projektfarm Gmbh |
| | | Copyright (c) 2007, Till Brehm, projektfarm Gmbh |
| | | All rights reserved. |
| | | |
| | | Redistribution and use in source and binary forms, with or without modification, |
| | |
| | | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| | | */ |
| | | |
| | | error_reporting(E_ALL|E_STRICT); |
| | | |
| | | require_once('../lib/config.inc.php'); |
| | | require_once('../lib/app.inc.php'); |
| | | |
| | | $app->uses('tpl'); |
| | | $app->tpl->newTemplate("main.tpl.htm"); |
| | | $app->tpl->newTemplate('main.tpl.htm'); |
| | | |
| | | /* |
| | | |
| | | // Checke User Login and current module |
| | | if(!is_array($_SESSION["s"]['user']) or !is_array($_SESSION["s"]["module"])) { |
| | |
| | | $app->tpl->setVar('startpage',$_SESSION["s"]["module"]["startpage"]); |
| | | $app->tpl->setVar('navframe_page',$_SESSION["s"]["module"]["navframe_page"]); |
| | | |
| | | */ |
| | | |
| | | $app->tpl_defaults(); |
| | | $app->tpl->pparse(); |
| | | ?> |