assign('user',$user); $smarty->assign('session_var','BTSESSID'); $smarty->assign('session_id',session_id());*/ $smarty->template_dir = './include/templates/'; $smarty->compile_dir = './include/gum_tmp/templates_c'; $smarty->cache_dir = './include/gum_tmp/cache'; $smarty->display($template_file.'.tpl'); } ?>