You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
306 B
11 lines
306 B
<?php |
|
include $smartyInstallDir . DIRECTORY_SEPARATOR . 'libs' . DIRECTORY_SEPARATOR . 'Smarty.class.php'; |
|
|
|
$tpl = new Smarty(); |
|
$tpl->template_dir = $smartyTemplateDir; |
|
$tpl->compile_dir = $smartyCache; |
|
|
|
if (array_key_exists('loginuser', $_SESSION)) |
|
{ |
|
$tpl->assign('username', $_SESSION['loginuser']); |
|
}
|
|
|