case "report": $reportissue = new ReportIssue(); $reportissue->report(); break; case "reportRes": $reportissue = new ReportIssue(); $reportissue->reportRes(); break; case "jumpback": $jumper = new JumpBack(); $jumper->jump(); break; case "jumpbackRes": $jumper = new JumpBack(); $jumper->jumpRes(); break; case "update": $update = new Updater(); $update->update(); break; case "updateRes": $update = new Updater(); $update->updateRes(); break; default: //$reportissue->report(); break; } if (getFromSessionParams('type') != "2") { $_SESSION[SURVEY_EXECUTION_MODE] = SURVEY_EXECUTION_MODE_NORMAL; }