template_dir = './/templates/'; $oSmarty->compile_dir = './templates_c/'; $oSmarty->assign('POST', $_POST); $oSmarty->assign('UM', $_SET['UM']); if(isset($results)) $oSmarty->assign('results', $results); echo (microtime()); $oSmarty->display('index.tpl.html');