function sys_process_output() { if (empty($_REQUEST["export"]) and empty($_REQUEST["import"])) { sys::shutdown(); sys_build_output(); } else { if (sys::$alert) { exit; } if (method_exists("export", $_REQUEST["export"])) { call_user_func(array("export", $_REQUEST["export"])); } else { sys_die(sprintf("{t}Function does not exist: %s{/t}", "export::" . $_REQUEST["export"])); } } }