assign('GET', $_GET); if(isset($results)) $oSmarty->assign('results', $results); echo (microtime()); $oSmarty->display('index.tpl');