public/main/session/session_course_list.php
Variable "session_name" is not in valid camel caps format Open
Open
if (!list($session_name) = Database::fetch_row($result)) {
- Exclude checks
Variable "tbl_session_rel_course" is not in valid camel caps format Open
Open
FROM $tbl_session_rel_course, $tbl_course c
- Exclude checks
Variable "tbl_session_rel_course_rel_user" is not in valid camel caps format Open
Open
$tbl_session_rel_course_rel_user = Database::get_main_table(TABLE_MAIN_SESSION_COURSE_USER);
- Exclude checks
Variable "nbr_affected_rows" is not in valid camel caps format Open
Open
$nbr_affected_rows = Database::affected_rows($result);
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
$session = api_get_session_entity($id_session);
- Exclude checks
Variable "nbr_affected_rows" is not in valid camel caps format Open
Open
Database::query("UPDATE $tbl_session SET nbr_courses=nbr_courses-$nbr_affected_rows WHERE id='$id_session'");
- Exclude checks
Variable "tbl_course" is not in valid camel caps format Open
Open
FROM $tbl_session_rel_course, $tbl_course c
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
<form method="post" action="<?php echo api_get_self(); ?>?id_session=<?php echo $id_session; ?>&sort=<?php echo $sort; ?>" onsubmit="javascript:if(!confirm('<?php echo get_lang('Please confirm your choice'); ?>')) return false;">
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
<a href="'.api_get_self().'?id_session='.$id_session.'&sort='.$sort.'&action=delete&idChecked[]='.$enreg['id'].'" onclick="javascript:if(!confirm(\''.addslashes(api_htmlentities(get_lang("Please confirm your choice"), ENT_QUOTES)).'\')) return false;">'.
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
$result = Database::query("DELETE FROM $tbl_session_rel_course WHERE session_id='$id_session' AND c_id IN($idChecked)");
- Exclude checks
Variable "tbl_session_rel_course_rel_user" is not in valid camel caps format Open
Open
Database::query("DELETE FROM $tbl_session_rel_course_rel_user WHERE session_id='$id_session' AND c_id IN($idChecked)");
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
Database::query("UPDATE $tbl_session SET nbr_courses=nbr_courses-$nbr_affected_rows WHERE id='$id_session'");
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
$result = Database::query("SELECT name FROM $tbl_session WHERE id='$id_session'");
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
WHERE c_id = c.id AND session_id='$id_session'
- Exclude checks
Variable "tbl_course" is not in valid camel caps format Open
Open
$tbl_course = Database::get_main_table(TABLE_MAIN_COURSE);
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
if (empty($id_session)) {
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
Open
$tool_name = api_htmlentities($session_name, ENT_QUOTES).' : '.get_lang('Courses in this session');
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
Open
Display::display_header($tool_name);
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
$id_session = isset($_GET['id_session']) ? (int) $_GET['id_session'] : 0;
- Exclude checks
Variable "my_temp" is not in valid camel caps format Open
Open
$idChecked = $my_temp;
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
header('Location: '.api_get_self().'?id_session='.$id_session.'&sort='.$sort);
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
<a href="session_course_edit.php?id_session='.$id_session.'&page=session_course_list.php&course_code='.$enreg['code'].'">'.
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
Database::query("DELETE FROM $tbl_session_rel_course_rel_user WHERE session_id='$id_session' AND c_id IN($idChecked)");
- Exclude checks
Variable "Courses" is not in valid camel caps format Open
Open
foreach ($Courses as $key => $enreg) {
- Exclude checks
Variable "tbl_session" is not in valid camel caps format Open
Open
$tbl_session = Database::get_main_table(TABLE_MAIN_SESSION);
- Exclude checks
Variable "my_temp" is not in valid camel caps format Open
Open
$my_temp[] = Database::escape_string($id); // forcing the escape_string
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
$course[] = '<a href="'.api_get_path(WEB_COURSE_PATH).$enreg['code'].'/?id_session='.$id_session.'">'.
- Exclude checks
Variable "this_section" is not in valid camel caps format Open
Open
$this_section = SECTION_PLATFORM_ADMIN;
- Exclude checks
Variable "tbl_session_rel_course" is not in valid camel caps format Open
Open
$tbl_session_rel_course = Database::get_main_table(TABLE_MAIN_SESSION_COURSE);
- Exclude checks
Variable "tbl_session" is not in valid camel caps format Open
Open
$result = Database::query("SELECT name FROM $tbl_session WHERE id='$id_session'");
- Exclude checks
Variable "tbl_session_rel_course" is not in valid camel caps format Open
Open
$result = Database::query("DELETE FROM $tbl_session_rel_course WHERE session_id='$id_session' AND c_id IN($idChecked)");
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
Open
echo Display::page_header($tool_name);
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
$course[] = '<a href="session_course_user_list.php?id_session='.$id_session.'&course_code='.$enreg['code'].'">'.$enreg['nbr_users'].' '.get_lang('Users').'</a>';
- Exclude checks
Variable "tbl_session" is not in valid camel caps format Open
Open
Database::query("UPDATE $tbl_session SET nbr_courses=nbr_courses-$nbr_affected_rows WHERE id='$id_session'");
- Exclude checks
Variable "Courses" is not in valid camel caps format Open
Open
$Courses = Database::store_result($result);
- Exclude checks
Variable "my_temp" is not in valid camel caps format Open
Open
$my_temp = [];
- Exclude checks
Variable "session_name" is not in valid camel caps format Open
Open
$tool_name = api_htmlentities($session_name, ENT_QUOTES).' : '.get_lang('Courses in this session');
- Exclude checks