function TreeApplyTasks() { $cron = new cron(); $html = $cron->SockApplyCrons(); $tpl = new templates(); echo $tpl->_ENGINE_parse_body($html); }