"survey.php", "name" => get_lang('CreateSurvey')); $coursePathWeb = api_get_path(WEB_COURSE_PATH); $coursePathSys = api_get_path(SYS_COURSE_PATH); $surveyid=$_GET['surveyid']; $groupid = $_GET['groupid']; if (isset($_POST['back'])) { $surveyid=$_POST['surveyid']; $groupid=$_POST['groupid']; $cidReq=$_REQUEST['cidReq']; header("Location:create_new_group.php?surveyid=$surveyid&cidReq=$cidReq"); exit; } if(isset($_POST['next'])) { $cidReq=$_REQUEST['cidReq']; if($_POST['radiobutton']=="1") { $surveyid=$_POST['surveyid']; $groupid=$_POST['groupid']; header("Location:select_question_type.php?surveyid=$surveyid&groupid=$groupid&cidReq=$cidReq"); exit; } elseif($_POST['radiobutton']=="2") { header("Location:question_type.php"); } else { $sid=$_POST['newsurveyid']; $gid=$_POST['newgroupid']; header("Location:group_list.php?surveyid=$surveyid&groupid=$groupid&cidReq=$cidReq"); } } Display::display_header($tool_name1); $GName = get_lang('GroupName'); api_display_tool_title($tool_name); $name = surveymanager :: get_groupname($gid); ?>
exit; default: /* -- JavaScript */ ?> } exit; } /* ============================================================================== FOOTER ============================================================================== */ Display :: display_footer(); ?>