function showExportRes() { /* update last page */ $_SESSION['LASTPAGE'] = substr($_SESSION['LASTPAGE'], 0, strripos($_SESSION['LASTPAGE'], "res")); require_once "exporter.php"; $exporter = new Exporter(loadvar(POST_PARAM_SUID)); $exporter->export(); $displaySysAdmin = new DisplaySysAdmin(); return $displaySysAdmin->showExport(); }