public/main/session/session_course_user_list.php
Variable "tbl_course" is not in valid camel caps format Open
Open
INNER JOIN $tbl_course c ON c.id = src.c_id
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
Open
$courseInfo = api_get_course_info($course_code);
- Exclude checks
Multi-line function call not indented correctly; expected 8 spaces but found 12 Open
Open
.'?id_session='.$id_session.'&course_code='.urlencode($course_code).'&sort='.$sort);
- Exclude checks
Variable "tbl_session" is not in valid camel caps format Open
Open
INNER JOIN $tbl_session s ON s.id = src.session_id
- Exclude checks
Variable "session_name" is not in valid camel caps format Open
Open
if (!list($session_name, $course_title) = Database::fetch_row($result)) {
- 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 "course_code" is not in valid camel caps format Open
Open
SessionManager::subscribe_users_to_session_course($idChecked, $id_session, $course_code);
- Exclude checks
Variable "session_name" is not in valid camel caps format Open
Open
$tool_name = get_lang('Session').': '.$session_name.' - '.get_lang('Course').': '.$course_title;
- Exclude checks
Variable "tbl_session_rel_user" is not in valid camel caps format Open
Open
$tbl_session_rel_user = Database::get_main_table(TABLE_MAIN_SESSION_USER);
- Exclude checks
Multi-line function call not indented correctly; expected 8 spaces but found 12 Open
Open
.'?id_session='.$id_session.'&course_code='.urlencode($course_code).'&sort='.$sort);
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
Open
.'?id_session='.$id_session.'&course_code='.urlencode($course_code).'&sort='.$sort);
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
Open
.'?id_session='.$id_session.'&course_code='.urlencode($course_code).'&sort='.$sort);
- Exclude checks
Variable "tbl_user" is not in valid camel caps format Open
Open
INNER JOIN $tbl_user u
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
s.session_id = $id_session AND
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
Open
$course_code = Database::escape_string(trim($_GET['course_code']));
- Exclude checks
Variable "is_western_name_order" is not in valid camel caps format Open
Open
.($is_western_name_order ? 'u.firstname, u.lastname' : 'u.lastname, u.firstname')
- Exclude checks
Variable "nbr_results" is not in valid camel caps format Open
Open
$nbr_results = count($users);
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
Open
$tool_name = get_lang('Session').': '.$session_name.' - '.get_lang('Course').': '.$course_title;
- Exclude checks
Variable "course_title" is not in valid camel caps format Open
Open
$tool_name = get_lang('Session').': '.$session_name.' - '.get_lang('Course').': '.$course_title;
- Exclude checks
Variable "default_sort" is not in valid camel caps format Open
Open
$default_sort = api_sort_by_first_name() ? 'firstname' : 'lastname';
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
.'?id_session='.$id_session.'&course_code='.urlencode($course_code).'&sort='.$sort);
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
.'?id_session='.$id_session.'&course_code='.urlencode($course_code).'&sort='.$sort);
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
SessionManager::unSubscribeUserFromCourseSession($idChecked, $courseId, $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 "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 "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 "tbl_session_rel_course" is not in valid camel caps format Open
Open
FROM $tbl_session_rel_course src
- Exclude checks
Variable "is_western_name_order" is not in valid camel caps format Open
Open
$is_western_name_order = api_is_western_name_order();
- Exclude checks
Variable "tbl_session_rel_course_rel_user" is not in valid camel caps format Open
Open
LEFT JOIN $tbl_session_rel_course_rel_user scru
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
header('Location: session_course_list.php?id_session='.$id_session);
- Exclude checks
Variable "tbl_session_rel_user" is not in valid camel caps format Open
Open
FROM $tbl_session_rel_user s
- Exclude checks
Variable "tbl_user" is not in valid camel caps format Open
Open
$tbl_user = Database::get_main_table(TABLE_MAIN_USER);
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
$session = api_get_session_entity($id_session);
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
if (empty($id_session)) {
- Exclude checks
Variable "my_temp" is not in valid camel caps format Open
Open
$idChecked = $my_temp;
- Exclude checks
Variable "course_title" is not in valid camel caps format Open
Open
if (!list($session_name, $course_title) = Database::fetch_row($result)) {
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
SessionManager::subscribe_users_to_session_course($idChecked, $id_session, $course_code);
- 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 "default_sort" is not in valid camel caps format Open
Open
: $default_sort;
- Exclude checks
Variable "my_temp" is not in valid camel caps format Open
Open
$my_temp = [];
- Exclude checks
Variable "my_temp" is not in valid camel caps format Open
Open
$my_temp[] = (int) $id;
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
WHERE src.session_id='$id_session' AND src.c_id='$courseId' ";
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
SessionManager::unSubscribeUserFromCourseSession($userId, $courseId, $id_session);
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
<a href="<?php echo api_get_self(); ?>?id_session=<?php echo $id_session; ?>&course_code=<?php echo urlencode($course_code); ?>&page=<?php echo $page
- Exclude checks
Closing brace indented incorrectly; expected 24 spaces, found 16 Open
Open
} else {
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
Open
<a href="<?php echo api_get_self(); ?>?id_session=<?php echo $id_session; ?>&course_code=<?php echo urlencode($course_code); ?>&page=<?php echo $page
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
Open
echo Display::page_header($tool_name);
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
Open
<a href="<?php echo api_get_self(); ?>?id_session=<?php echo $id_session; ?>&course_code=<?php echo urlencode($course_code); ?>&page=<?php echo $page
- Exclude checks
Variable "is_western_name_order" is not in valid camel caps format Open
Open
<?php if ($is_western_name_order) {
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
<a href="<?php echo api_get_self(); ?>?id_session=<?php echo $id_session; ?>&course_code=<?php echo urlencode($course_code); ?>&sort=firstname&direction=<?php echo urlencode($direction); ?>">
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
Open
<a href="<?php echo api_get_self(); ?>?id_session=<?php echo $id_session; ?>&course_code=<?php echo urlencode($course_code); ?>&sort=<?php echo $sort; ?>&action=add&idChecked[]=<?php echo $enreg['user_id']; ?>"
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
<a href="<?php echo api_get_self(); ?>?id_session=<?php echo $id_session; ?>&course_code=<?php echo urlencode($course_code); ?>&page=<?php echo $page
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
<a href="<?php echo api_get_self(); ?>?id_session=<?php echo $id_session; ?>&course_code=<?php echo urlencode($course_code); ?>&sort=username&direction=<?php echo urlencode($direction); ?>">
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
<a href="<?php echo api_get_self(); ?>?id_session=<?php echo $id_session; ?>&course_code=<?php echo urlencode($course_code); ?>&sort=lastname&direction=<?php echo urlencode($direction); ?>">
- Exclude checks
Variable "tool_name" is not in valid camel caps format Open
Open
Display::display_header($tool_name);
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
Open
<a href="<?php echo api_get_self(); ?>?id_session=<?php echo $id_session; ?>&course_code=<?php echo urlencode($course_code); ?>&page=<?php echo $page
- Exclude checks
Closing brace indented incorrectly; expected 16 spaces, found 12 Open
Open
} else {
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
Open
<a href="<?php echo api_get_self(); ?>?id_session=<?php echo $id_session; ?>&course_code=<?php echo urlencode($course_code); ?>&sort=<?php echo $sort; ?>&action=delete&idChecked[]=<?php echo $enreg['user_id']; ?>"
- Exclude checks
Variable "nbr_results" is not in valid camel caps format Open
Open
if ($nbr_results > $limit) {
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
Open
<a href="<?php echo api_get_self(); ?>?id_session=<?php echo $id_session; ?>&course_code=<?php echo urlencode($course_code); ?>&sort=lastname&direction=<?php echo urlencode($direction); ?>">
- Exclude checks
Closing brace indented incorrectly; expected 20 spaces, found 16 Open
Open
} else {
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
Open
<a href="<?php echo api_get_self(); ?>?id_session=<?php echo $id_session; ?>&course_code=<?php echo urlencode($course_code); ?>&sort=firstname&direction=<?php echo urlencode($direction); ?>">
- Exclude checks
Variable "nbr_results" is not in valid camel caps format Open
Open
if ($nbr_results > $limit) {
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
Open
<a href="<?php echo api_get_self(); ?>?id_session=<?php echo $id_session; ?>&course_code=<?php echo urlencode($course_code); ?>&sort=lastname&direction=<?php echo urlencode($direction); ?>">
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
Open
action="<?php echo api_get_self(); ?>?id_session=<?php echo $id_session; ?>&course_code=<?php echo urlencode($course_code); ?>&sort=<?php echo $sort; ?>"
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
Open
<a href="<?php echo api_get_self(); ?>?id_session=<?php echo $id_session; ?>&course_code=<?php echo urlencode($course_code); ?>&sort=firstname&direction=<?php echo urlencode($direction); ?>">
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
<a href="<?php echo api_get_self(); ?>?id_session=<?php echo $id_session; ?>&course_code=<?php echo urlencode($course_code); ?>&sort=firstname&direction=<?php echo urlencode($direction); ?>">
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
<a href="<?php echo api_get_self(); ?>?id_session=<?php echo $id_session; ?>&course_code=<?php echo urlencode($course_code); ?>&page=<?php echo $page
- Exclude checks
Variable "is_western_name_order" is not in valid camel caps format Open
Open
<?php if ($is_western_name_order) {
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
<a href="<?php echo api_get_self(); ?>?id_session=<?php echo $id_session; ?>&course_code=<?php echo urlencode($course_code); ?>&sort=<?php echo $sort; ?>&action=delete&idChecked[]=<?php echo $enreg['user_id']; ?>"
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
<a href="<?php echo api_get_self(); ?>?id_session=<?php echo $id_session; ?>&course_code=<?php echo urlencode($course_code); ?>&page=<?php echo $page
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
action="<?php echo api_get_self(); ?>?id_session=<?php echo $id_session; ?>&course_code=<?php echo urlencode($course_code); ?>&sort=<?php echo $sort; ?>"
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
<a href="<?php echo api_get_self(); ?>?id_session=<?php echo $id_session; ?>&course_code=<?php echo urlencode($course_code); ?>&sort=<?php echo $sort; ?>&action=add&idChecked[]=<?php echo $enreg['user_id']; ?>"
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
<a href="<?php echo api_get_self(); ?>?id_session=<?php echo $id_session; ?>&course_code=<?php echo urlencode($course_code); ?>&sort=lastname&direction=<?php echo urlencode($direction); ?>">
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
Open
<a href="<?php echo api_get_self(); ?>?id_session=<?php echo $id_session; ?>&course_code=<?php echo urlencode($course_code); ?>&page=<?php echo $page
- Exclude checks
Variable "id_session" is not in valid camel caps format Open
Open
'url' => "resume_session.php?id_session=".$id_session,
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
Open
<a href="<?php echo api_get_self(); ?>?id_session=<?php echo $id_session; ?>&course_code=<?php echo urlencode($course_code); ?>&sort=username&direction=<?php echo urlencode($direction); ?>">
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 12 Open
Open
} else {
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 12 Open
Open
} ?>
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 16 Open
Open
} ?>
- Exclude checks
Closing brace indented incorrectly; expected 24 spaces, found 16 Open
Open
} else {
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 16 Open
Open
} ?>
- Exclude checks
Closing brace indented incorrectly; expected 16 spaces, found 12 Open
Open
} else {
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 16 Open
Open
} else {
- Exclude checks
Closing brace indented incorrectly; expected 20 spaces, found 16 Open
Open
} else {
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 16 Open
Open
} else {
- Exclude checks