public/main/survey/fillsurvey.php
Variable "survey_invitation" is not in valid camel caps format Open
Open
$survey_invitation['user_id'],
- Exclude checks
Variable "option_id" is not in valid camel caps format Open
Open
$option_id = $answer_key;
- Exclude checks
Variable "table_survey_question_option" is not in valid camel caps format Open
Open
$sql = "SELECT * FROM $table_survey_question_option
- Exclude checks
Variable "survey_invitation" is not in valid camel caps format Open
Open
$survey_invitation['survey_id'],
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
Open
if (0 == $user_id) {
- Exclude checks
Variable "table_user" is not in valid camel caps format Open
Open
$sql = "UPDATE $table_user SET";
- Exclude checks
Variable "my_user_id" is not in valid camel caps format Open
Open
sa.user='".$my_user_id."') AND
- Exclude checks
Variable "survey_invitation" is not in valid camel caps format Open
Open
$my_survey_id = (int) $survey_invitation['survey_id'];
- Exclude checks
Variable "equal_count" is not in valid camel caps format Open
Open
$equal_count = 0;
- Exclude checks
Variable "table_survey_invitation" is not in valid camel caps format Open
Open
$sql = "SELECT * FROM $table_survey_invitation
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
Open
$user_data = api_get_user_info($user_id);
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
is_array($user_data)
- Exclude checks
Variable "paged_questions_sec" is not in valid camel caps format Open
Open
$paged_questions_sec = [];
- Exclude checks
Variable "table_survey_question" is not in valid camel caps format Open
Open
$sql = "SELECT * FROM $table_survey_question
- Exclude checks
Variable "survey_invitation" is not in valid camel caps format Open
Open
(1 == $survey_invitation['answered'] && !isset($_GET['user_id']))
- Exclude checks
Variable "survey_question_id" is not in valid camel caps format Open
Open
if ('score' === $types[$survey_question_id]) {
- Exclude checks
Variable "option_value" is not in valid camel caps format Open
Open
$option_value = $answer_value;
- Exclude checks
Variable "survey_question_id" is not in valid camel caps format Open
Open
if (isset($types[$survey_question_id]) && 'open' === $types[$survey_question_id]) {
- Exclude checks
Variable "paged_questions" is not in valid camel caps format Open
Open
$paged_questions[$counter][] = $row['iid'];
- Exclude checks
Variable "table_survey_question" is not in valid camel caps format Open
Open
FROM $table_survey_question survey_question
- Exclude checks
Variable "answer_list" is not in valid camel caps format Open
Open
$answer_list = [];
- Exclude checks
Variable "sub_result" is not in valid camel caps format Open
Open
foreach ($final_results as $key => &$sub_result) {
- Exclude checks
Variable "_cid" is not in valid camel caps format Open
Open
$_cid = $_GET['cidReq'];
- Exclude checks
Variable "answer_value" is not in valid camel caps format Open
Open
foreach ($value as $answer_key => &$answer_value) {
- Exclude checks
Variable "survey_question_answer" is not in valid camel caps format Open
Open
$survey_question_answer = $value;
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
Open
$user_id = api_get_user_id();
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
Open
$user_id = $survey_invitation['user_id'];
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
if (is_array($user_data)) {
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
foreach ($user_data as $key => $value) {
- Exclude checks
Variable "my_survey_id" is not in valid camel caps format Open
Open
survey_question.survey_id='".$my_survey_id."' AND
- Exclude checks
Variable "answer_value" is not in valid camel caps format Open
Open
$option_id = $answer_value;
- Exclude checks
Variable "survey_question_id" is not in valid camel caps format Open
Open
$survey_question_id = str_replace('question', '', $key);
- Exclude checks
Variable "survey_question_id" is not in valid camel caps format Open
Open
if (empty($survey_question_id)) {
- Exclude checks
Variable "option_value" is not in valid camel caps format Open
Open
$option_value
- Exclude checks
Variable "form_fields" is not in valid camel caps format Open
Open
foreach ($form_fields as $field) {
- Exclude checks
Variable "field_value" is not in valid camel caps format Open
Open
if (isset($field_value[1]) && 1 == $field_value[1]) {
- Exclude checks
Variable "paged_questions_sec" is not in valid camel caps format Open
Open
$paged_questions_sec = [];
- Exclude checks
Variable "survey_invitation" is not in valid camel caps format Open
Open
SurveyManager::updateSurveyAnswered($survey, $survey_invitation['user_id']);
- Exclude checks
Variable "question_counter_max" is not in valid camel caps format Open
Open
$question_counter_max = Database::num_rows($result);
- Exclude checks
Variable "my_survey_id" is not in valid camel caps format Open
Open
survey_answer.survey_id='".$my_survey_id."' AND
- Exclude checks
Variable "table_survey_question_option" is not in valid camel caps format Open
Open
INNER JOIN $table_survey_question_option as survey_question_option
- Exclude checks
Variable "final_results" is not in valid camel caps format Open
Open
$final_results = [];
- Exclude checks
Variable "final_results" is not in valid camel caps format Open
Open
arsort($final_results);
- Exclude checks
Variable "final_results" is not in valid camel caps format Open
Open
$groups = array_keys($final_results);
- Exclude checks
Variable "table_survey_question" is not in valid camel caps format Open
Open
$table_survey_question = Database::get_course_table(TABLE_SURVEY_QUESTION);
- Exclude checks
Variable "answer_key" is not in valid camel caps format Open
Open
$option_id = $answer_key;
- Exclude checks
Variable "option_id" is not in valid camel caps format Open
Open
$option_id,
- Exclude checks
Variable "survey_question_id" is not in valid camel caps format Open
Open
$survey_question_id
- Exclude checks
Variable "survey_question_id" is not in valid camel caps format Open
Open
$questionList[$survey_question_id],
- Exclude checks
Variable "form_fields" is not in valid camel caps format Open
Open
$form_fields = explode('@', $survey->getFormFields());
- Exclude checks
Variable "field_value" is not in valid camel caps format Open
Open
$val = api_substr($field_value[0], 8, api_strlen($field_value[0]));
- Exclude checks
Variable "jquery_ready_content" is not in valid camel caps format Open
Open
'.$jquery_ready_content.'
- Exclude checks
Variable "paged_questions" is not in valid camel caps format Open
Open
$paged_questions = [];
- Exclude checks
Variable "table_survey_question" is not in valid camel caps format Open
Open
FROM $table_survey_question as survey_question
- Exclude checks
Variable "count_result" is not in valid camel caps format Open
Open
$count_result = 0;
- Exclude checks
Variable "table_survey" is not in valid camel caps format Open
Open
$table_survey = Database::get_course_table(TABLE_SURVEY);
- Exclude checks
Variable "survey_invitation" is not in valid camel caps format Open
Open
$survey_invitation['survey_id'],
- Exclude checks
Variable "field_value" is not in valid camel caps format Open
Open
if (isset($field_value[1]) && 1 == $field_value[1]) {
- Exclude checks
Variable "field_value" is not in valid camel caps format Open
Open
if ('' != $field_value[0]) {
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
$user_data = $form->exportValues();
- Exclude checks
Variable "questions_displayed" is not in valid camel caps format Open
Open
$questions_displayed = [];
- Exclude checks
Variable "paged_questions" is not in valid camel caps format Open
Open
if (empty($paged_questions)) {
- Exclude checks
Variable "my_user_id" is not in valid camel caps format Open
Open
$my_user_id = 1 == $survey->getAnonymous() ? $surveyUserFromSession : api_get_user_id();
- Exclude checks
Variable "table_survey_question" is not in valid camel caps format Open
Open
INNER JOIN $table_survey_question as survey_question
- Exclude checks
Variable "final_results" is not in valid camel caps format Open
Open
foreach ($final_results as $key => &$sub_result) {
- Exclude checks
Variable "table_survey_invitation" is not in valid camel caps format Open
Open
$table_survey_invitation = Database::get_course_table(TABLE_SURVEY_INVITATION);
- Exclude checks
Variable "survey_question_id" is not in valid camel caps format Open
Open
$survey_question_id
- Exclude checks
Variable "survey_invitation" is not in valid camel caps format Open
Open
$survey_invitation['user_id'],
- Exclude checks
Variable "survey_invitation" is not in valid camel caps format Open
Open
$survey_invitation['user_id'],
- Exclude checks
Variable "option_value" is not in valid camel caps format Open
Open
$option_value = $row['value'];
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
is_array($user_data) &&
- Exclude checks
Variable "paged_questions" is not in valid camel caps format Open
Open
$paged_questions[$counter][] = $row['iid'];
- Exclude checks
Variable "paged_questions" is not in valid camel caps format Open
Open
survey_question.iid IN (".implode(',', $paged_questions[$_GET['show']]).")
- Exclude checks
Variable "answer_list" is not in valid camel caps format Open
Open
$results[] = $answer_list;
- Exclude checks
Variable "table_survey_invitation" is not in valid camel caps format Open
Open
FROM $table_survey_invitation
- Exclude checks
Variable "survey_invitation" is not in valid camel caps format Open
Open
'tool_id' => $survey_invitation['iid'],
- Exclude checks
Variable "survey_invitation" is not in valid camel caps format Open
Open
$survey_invitation['survey_id'] = $surveyId;
- Exclude checks
Variable "survey_question_id" is not in valid camel caps format Open
Open
$question = $questionList[$survey_question_id] ?? null;
- Exclude checks
Variable "survey_invitation" is not in valid camel caps format Open
Open
$survey_invitation['user_id'],
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
$extraFieldValue->saveFieldValues($user_data);
- Exclude checks
Variable "survey_invitation" is not in valid camel caps format Open
Open
SurveyUtil::flagSurveyAsAnswered($survey->getCode(), $survey_invitation['c_id']);
- Exclude checks
Variable "table_survey_answer" is not in valid camel caps format Open
Open
FROM ".$table_survey_answer." sa
- Exclude checks
Variable "table_survey_question" is not in valid camel caps format Open
Open
FROM $table_survey_question survey_question
- Exclude checks
Variable "current_user" is not in valid camel caps format Open
Open
$current_user = Database::escape_string($survey_invitation['user_id']);
- Exclude checks
Variable "answer_list" is not in valid camel caps format Open
Open
$answer_list['value'] = $row['value'];
- Exclude checks
Variable "count_result" is not in valid camel caps format Open
Open
$count_result++;
- Exclude checks
Variable "survey_question_id" is not in valid camel caps format Open
Open
$other = isset($_POST['other_question'.$survey_question_id]) ? $_POST['other_question'.$survey_question_id] : '';
- Exclude checks
Variable "option_value" is not in valid camel caps format Open
Open
$option_value = $row['option_text'];
- Exclude checks
Variable "field_value" is not in valid camel caps format Open
Open
$field_value = explode(':', $field);
- Exclude checks
Variable "final_results" is not in valid camel caps format Open
Open
$final_results[$group] = $porcen;
- Exclude checks
Variable "table_survey_answer" is not in valid camel caps format Open
Open
$table_survey_answer = Database::get_course_table(TABLE_SURVEY_ANSWER);
- Exclude checks
Variable "table_survey_question_option" is not in valid camel caps format Open
Open
$table_survey_question_option = Database::get_course_table(TABLE_SURVEY_QUESTION_OPTION);
- Exclude checks
Variable "table_user" is not in valid camel caps format Open
Open
$table_user = Database::get_main_table(TABLE_MAIN_USER);
- Exclude checks
Variable "answer_key" is not in valid camel caps format Open
Open
foreach ($value as $answer_key => &$answer_value) {
- Exclude checks
Variable "answer_value" is not in valid camel caps format Open
Open
$option_value = $answer_value;
- Exclude checks
Variable "option_id" is not in valid camel caps format Open
Open
$option_id = $answer_value;
- Exclude checks
Variable "option_value" is not in valid camel caps format Open
Open
$option_value,
- Exclude checks
Variable "survey_question_answer" is not in valid camel caps format Open
Open
$survey_question_answer = $value;
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
$form->setDefaults($user_data);
- Exclude checks
Variable "survey_invitation" is not in valid camel caps format Open
Open
$current_user = Database::escape_string($survey_invitation['user_id']);
- Exclude checks
Variable "answer_list" is not in valid camel caps format Open
Open
$answer_list['group'] = $row['survey_group_pri'];
- Exclude checks
Variable "option_value" is not in valid camel caps format Open
Open
$option_value = '';
- Exclude checks
Variable "option_value" is not in valid camel caps format Open
Open
$option_value
- Exclude checks
Variable "survey_question_id" is not in valid camel caps format Open
Open
$survey_question_id
- Exclude checks
Variable "survey_invitation" is not in valid camel caps format Open
Open
$user_id = $survey_invitation['user_id'];
- Exclude checks
Variable "paged_questions_sec" is not in valid camel caps format Open
Open
$paged_questions_sec = [];
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
if (count($user_data) > 0) {
- Exclude checks
Variable "paged_questions" is not in valid camel caps format Open
Open
if (array_key_exists($_GET['show'], $paged_questions)) {
- Exclude checks
Variable "equal_count" is not in valid camel caps format Open
Open
$equal_count++;
- Exclude checks
Variable "table_survey_invitation" is not in valid camel caps format Open
Open
Database::insert($table_survey_invitation, $params);
- Exclude checks
Variable "option_value" is not in valid camel caps format Open
Open
$option_value = 0;
- Exclude checks
Variable "paged_questions" is not in valid camel caps format Open
Open
Session::write('paged_questions', $paged_questions);
- Exclude checks
Variable "table_survey_question_option" is not in valid camel caps format Open
Open
LEFT JOIN $table_survey_question_option survey_question_option
- Exclude checks
Variable "current_user" is not in valid camel caps format Open
Open
survey_answer.user='".$current_user."'
- Exclude checks
Variable "survey_invitation" is not in valid camel caps format Open
Open
$survey_invitation = Database::fetch_assoc($result);
- Exclude checks
Variable "survey_question_id" is not in valid camel caps format Open
Open
$other = isset($_POST['other_question'.$survey_question_id]) ? $_POST['other_question'.$survey_question_id] : '';
- Exclude checks
Variable "survey_invitation" is not in valid camel caps format Open
Open
$survey_invitation['user_id'],
- Exclude checks
Variable "jquery_ready_content" is not in valid camel caps format Open
Open
$jquery_ready_content = $returnParams['jquery_ready_content'];
- Exclude checks
Variable "my_survey_id" is not in valid camel caps format Open
Open
$my_survey_id = (int) $survey_invitation['survey_id'];
- Exclude checks
Variable "table_survey_answer" is not in valid camel caps format Open
Open
FROM $table_survey_answer as survey_answer
- Exclude checks
Variable "table_survey_question_option" is not in valid camel caps format Open
Open
$sql = "SELECT value FROM $table_survey_question_option
- Exclude checks
Variable "survey_invitation" is not in valid camel caps format Open
Open
$survey_invitation['user_id'],
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
$user_data = api_get_user_info($user_id);
- Exclude checks
Variable "field_value" is not in valid camel caps format Open
Open
$val = api_substr($field_value[0], 8, api_strlen($field_value[0]));
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
Open
$sql .= " WHERE id = $user_id";
- Exclude checks
Variable "table_survey_question_option" is not in valid camel caps format Open
Open
LEFT JOIN $table_survey_question_option survey_question_option
- Exclude checks
Variable "count_result" is not in valid camel caps format Open
Open
if ($count_result > 0) {
- Exclude checks
Variable "survey_invitation" is not in valid camel caps format Open
Open
SurveyUtil::isSurveyAnsweredFlagged($survey->getCode(), $survey_invitation['c_id'])
- Exclude checks
Variable "survey_question_id" is not in valid camel caps format Open
Open
$survey_question_id = str_replace('question', '', $key);
- Exclude checks
Variable "survey_question_id" is not in valid camel caps format Open
Open
if (empty($survey_question_id)) {
- Exclude checks
Variable "survey_question_id" is not in valid camel caps format Open
Open
if (isset($types[$survey_question_id]) && 'percentage' === $types[$survey_question_id]) {
- Exclude checks
Variable "survey_question_id" is not in valid camel caps format Open
Open
if (isset($types[$survey_question_id]) && 'percentage' === $types[$survey_question_id]) {
- Exclude checks
Variable "survey_question_id" is not in valid camel caps format Open
Open
if (isset($types[$survey_question_id]) && 'open' === $types[$survey_question_id]) {
- Exclude checks
Variable "option_value" is not in valid camel caps format Open
Open
$option_value = $value;
- Exclude checks
Variable "survey_invitation" is not in valid camel caps format Open
Open
$courseId = $survey_invitation['c_id'];
- Exclude checks
Variable "sub_result" is not in valid camel caps format Open
Open
$result[] = ['group' => $key, 'value' => $sub_result];
- Exclude checks
Variable "group_cant" is not in valid camel caps format Open
Open
$group_cant = 0;
- Exclude checks
Variable "equal_count" is not in valid camel caps format Open
Open
$equal_count = 10;
- Exclude checks
Variable "group_cant" is not in valid camel caps format Open
Open
$group_cant = 1;
- Exclude checks
Variable "order_sql" is not in valid camel caps format Open
Open
$order_sql = ' BY question_id ';
- Exclude checks
Variable "paged_questions" is not in valid camel caps format Open
Open
$imploded = Database::escape_string(implode(',', $paged_questions[$val]));
- Exclude checks
Variable "survey_invitation" is not in valid camel caps format Open
Open
survey_question.survey_id = '".intval($survey_invitation['survey_id'])."' AND
- Exclude checks
Variable "g_ic" is not in valid camel caps format Open
Open
$g_ic = isset($_GET['invitationcode']) ? Security::remove_XSS($_GET['invitationcode']) : '';
- Exclude checks
Variable "equal_count" is not in valid camel caps format Open
Open
if ($equal_count < 4) {
- Exclude checks
Variable "group_cant" is not in valid camel caps format Open
Open
for ($i = 0; $i <= $group_cant; $i++) {
- Exclude checks
Variable "group2" contains numbers but this is discouraged Open
Open
$secondary .= " OR ( survey_group_sec1 = '$group2' AND survey_group_sec2 = '$group1' ) ";
- Exclude checks
Variable "paged_questions_sec" is not in valid camel caps format Open
Open
$paged_questions_sec[$counter][] = $row['question_id'];
- Exclude checks
Variable "group_cant" is not in valid camel caps format Open
Open
if (2 == $group_cant && $i == $group_cant) {
- Exclude checks
Variable "group1" contains numbers but this is discouraged Open
Open
$secondary .= " OR ( survey_group_sec1 = '$group2' AND survey_group_sec2 = '$group1' ) ";
- Exclude checks
Variable "my_survey_id" is not in valid camel caps format Open
Open
survey_id = '".$my_survey_id."' AND
- Exclude checks
Variable "g_cr" is not in valid camel caps format Open
Open
$g_cr = isset($_GET['cidReq']) ? Security::remove_XSS($_GET['cidReq']) : '';
- Exclude checks
Variable "group2" contains numbers but this is discouraged Open
Open
$secondary .= " OR ( survey_group_sec1 = '$group1' AND survey_group_sec2 = '$group2') ";
- Exclude checks
Variable "group1" contains numbers but this is discouraged Open
Open
$secondary .= " OR ( survey_group_sec1 = '$group2' AND survey_group_sec2 = '$group1' ) ";
- Exclude checks
Variable "paged_questions_sec" is not in valid camel caps format Open
Open
$paged_questions_sec[$counter][] = $row['question_id'];
- Exclude checks
Variable "table_survey_question_option" is not in valid camel caps format Open
Open
LEFT JOIN $table_survey_question_option survey_question_option
- Exclude checks
Variable "paged_questions_sec" is not in valid camel caps format Open
Open
$paged_questions_sec = [];
- Exclude checks
Variable "group_cant" is not in valid camel caps format Open
Open
if ($group_cant > 0) {
- Exclude checks
Variable "group2" contains numbers but this is discouraged Open
Open
$secondary .= " OR ( survey_group_sec1 = '$group2' AND survey_group_sec2 = '$group1' ) ";
- Exclude checks
Variable "paged_questions" is not in valid camel caps format Open
Open
$pagesIndexes = array_keys($paged_questions);
- Exclude checks
Variable "p_l" is not in valid camel caps format Open
Open
$form->addHidden('language', $p_l);
- Exclude checks
Variable "group_cant" is not in valid camel caps format Open
Open
$group_cant = $equal_count;
- Exclude checks
Variable "group_cant" is not in valid camel caps format Open
Open
if (2 == $group_cant && $i == $group_cant) {
- Exclude checks
Variable "group1" contains numbers but this is discouraged Open
Open
$secondary .= " OR ( survey_group_sec1 = '$group1' AND survey_group_sec2 = '$group2') ";
- Exclude checks
Variable "group2" contains numbers but this is discouraged Open
Open
$secondary .= " OR ( survey_group_sec1 = '$group1' AND survey_group_sec2 = '$group2') ";
- Exclude checks
Variable "question_counter_max" is not in valid camel caps format Open
Open
$question_counter_max = Database::num_rows($result);
- Exclude checks
Variable "paged_questions" is not in valid camel caps format Open
Open
$paged_questions[$counter][] = $row['question_id'];
- Exclude checks
Variable "question_counter_max" is not in valid camel caps format Open
Open
$question_counter_max = Database :: num_rows($result);
- Exclude checks
Variable "g_c" is not in valid camel caps format Open
Open
$g_c = isset($_GET['course']) ? Security::remove_XSS($_GET['course']) : '';
- Exclude checks
Variable "add_parameters" is not in valid camel caps format Open
Open
$add_parameters = isset($_GET['user_id']) ? '&user_id='.intval($_GET['user_id']) : '';
- Exclude checks
Variable "ch_type" is not in valid camel caps format Open
Open
$display = new $ch_type();
- Exclude checks
Variable "table_survey_question" is not in valid camel caps format Open
Open
$sql = "SELECT * FROM $table_survey_question
- Exclude checks
Variable "table_survey_question" is not in valid camel caps format Open
Open
FROM $table_survey_question survey_question
- Exclude checks
Variable "paged_questions" is not in valid camel caps format Open
Open
$paged_questions[$counter][] = $row['question_id'];
- Exclude checks
Variable "order_sql" is not in valid camel caps format Open
Open
ORDER $order_sql ";
- Exclude checks
Variable "add_parameters" is not in valid camel caps format Open
Open
$url = api_get_self().'?cid='.$courseId.'&sid='.$sessionId.$add_parameters.
- Exclude checks
Variable "order_sql" is not in valid camel caps format Open
Open
$order_sql = ' BY survey_question.sort, survey_question_option.sort ASC ';
- Exclude checks
Variable "table_survey_question_option" is not in valid camel caps format Open
Open
LEFT JOIN $table_survey_question_option survey_question_option
- Exclude checks
Variable "p_l" is not in valid camel caps format Open
Open
$p_l = isset($_POST['language']) ? Security::remove_XSS($_POST['language']) : '';
- Exclude checks
Variable "ch_type" is not in valid camel caps format Open
Open
$form->addHtml('<div class="survey_question '.$ch_type.' '.$parentClass.'">');
- Exclude checks
Variable "paged_questions_sec" is not in valid camel caps format Open
Open
if (!empty($paged_questions_sec) && count($paged_questions_sec) > 0) {
- Exclude checks
Variable "group1" contains numbers but this is discouraged Open
Open
$secondary .= " OR ( survey_group_sec1 = '$group2' AND survey_group_sec2 = '$group1' ) ";
- Exclude checks
Variable "paged_questions_sec" is not in valid camel caps format Open
Open
Session::write('page_questions_sec', $paged_questions_sec);
- Exclude checks
Variable "order_sql" is not in valid camel caps format Open
Open
ORDER ".$order_sql." ";
- Exclude checks
Variable "paged_questions" is not in valid camel caps format Open
Open
foreach ($paged_questions as $keyQuestion => $list) {
- Exclude checks
Variable "paged_questions_sec" is not in valid camel caps format Open
Open
if (!empty($paged_questions_sec) && count($paged_questions_sec) > 0) {
- Exclude checks
Variable "group_cant" is not in valid camel caps format Open
Open
$group_cant = 2;
- Exclude checks
Variable "group2" contains numbers but this is discouraged Open
Open
$secondary .= " OR ( survey_group_sec1 = '$group2' AND survey_group_sec2 = '$group1' ) ";
- Exclude checks
Variable "order_sql" is not in valid camel caps format Open
Open
$order_sql = $shuffle;
- Exclude checks
Variable "table_survey_question" is not in valid camel caps format Open
Open
$sql = "SELECT * FROM $table_survey_question
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
Open
if (!empty($userAnswerData[$user_id])) {
- Exclude checks
Variable "paged_questions" is not in valid camel caps format Open
Open
$numberOfPages = count($paged_questions);
- Exclude checks
Variable "group_cant" is not in valid camel caps format Open
Open
$group_cant = 0;
- Exclude checks
Variable "group1" contains numbers but this is discouraged Open
Open
$secondary .= " OR ( survey_group_sec1 = '$group1' AND survey_group_sec2 = '$group2') ";
- Exclude checks
Variable "my_survey_id" is not in valid camel caps format Open
Open
survey_question.survey_id = '".$my_survey_id."'
- Exclude checks
Variable "table_survey_question" is not in valid camel caps format Open
Open
FROM $table_survey_question survey_question
- Exclude checks
Variable "g_ic" is not in valid camel caps format Open
Open
'&invitationcode='.$g_ic.
- Exclude checks
Variable "group2" contains numbers but this is discouraged Open
Open
$secondary .= " ( survey_group_sec1 = '$group1' AND survey_group_sec2 = '$group2') ";
- Exclude checks
Variable "order_sql" is not in valid camel caps format Open
Open
$order_sql = ' BY survey_question.sort, survey_question_option.sort ASC ';
- Exclude checks
Variable "equal_count" is not in valid camel caps format Open
Open
if (0 === $equal_count || 1 === $equal_count) {
- Exclude checks
Variable "equal_count" is not in valid camel caps format Open
Open
$group_cant = $equal_count;
- Exclude checks
Variable "paged_questions_sec" is not in valid camel caps format Open
Open
$paged_questions_sec = Session::read('page_questions_sec');
- Exclude checks
Variable "paged_questions_sec" is not in valid camel caps format Open
Open
survey_question.iid IN (".implode(',', $paged_questions_sec[$val]).")
- Exclude checks
Variable "paged_questions" is not in valid camel caps format Open
Open
$paged_questions = Session::read('paged_questions');
- Exclude checks
Variable "order_sql" is not in valid camel caps format Open
Open
$order_sql = $shuffle;
- Exclude checks
Variable "g_c" is not in valid camel caps format Open
Open
'&course='.$g_c.
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
Open
$userAnswer = $userAnswerData[$user_id];
- Exclude checks
Variable "paged_questions_sec" is not in valid camel caps format Open
Open
$numberOfPages += count($paged_questions_sec);
- Exclude checks
Variable "equal_count" is not in valid camel caps format Open
Open
if (0 === $equal_count || 1 === $equal_count) {
- Exclude checks
Variable "group1" contains numbers but this is discouraged Open
Open
$secondary .= " ( survey_group_sec1 = '$group1' AND survey_group_sec2 = '$group2') ";
- Exclude checks
Variable "paged_questions_sec" is not in valid camel caps format Open
Open
$paged_questions_sec = [];
- Exclude checks
Variable "ch_type" is not in valid camel caps format Open
Open
$ch_type = 'ch_'.$question['type'];
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
Open
} elseif (!is_array($user_data)) {
- Exclude checks
Variable "paged_questions" is not in valid camel caps format Open
Open
$paged_questions = Session::read('paged_questions'); // For the sake of pages counting
- Exclude checks
Variable "paged_questions_sec" is not in valid camel caps format Open
Open
if (is_array($paged_questions_sec)) {
- Exclude checks
Variable "paged_questions" is not in valid camel caps format Open
Open
Session::write('paged_questions', $paged_questions);
- Exclude checks
Variable "paged_questions" is not in valid camel caps format Open
Open
$numberOfPages = count($paged_questions);
- Exclude checks
Expected 0 spaces after opening bracket; newline found Open
Open
if (
- Exclude checks
Expected 0 spaces before closing bracket; newline found Open
Open
header('Location: '.
- Exclude checks
Expected 0 spaces after opening bracket; newline found Open
Open
if (
- Exclude checks