public/main/my_space/coaches.php
Variable "tbl_user" is not in valid camel caps format Open
Open
FROM $tbl_user, $tbl_session_rel_course_rel_user srcru
- Exclude checks
Variable "sql_infos_coach" is not in valid camel caps format Open
Open
$sql_infos_coach = "SELECT lastname, firstname
- Exclude checks
Variable "timestamp_logout_date" is not in valid camel caps format Open
Open
$timestamp_logout_date = strtotime($logout_date);
- Exclude checks
Variable "id_coach" is not in valid camel caps format Open
Open
<a href="student.php?type=coach&user_id='.$id_coach.'">
- Exclude checks
Variable "id_coach" is not in valid camel caps format Open
Open
$data[$id_coach]["lastname"] = $lastname;
- Exclude checks
Variable "tbl_course_user" is not in valid camel caps format Open
Open
$tbl_course_user = Database::get_main_table(TABLE_MAIN_COURSE_USER);
- Exclude checks
Variable "tbl_course" is not in valid camel caps format Open
Open
$tbl_course as c
- Exclude checks
Variable "sql_infos_coach" is not in valid camel caps format Open
Open
$result_coachs_infos = Database::query($sql_infos_coach);
- Exclude checks
Variable "id_coach" is not in valid camel caps format Open
Open
<a href="student.php?type=coach&user_id='.$id_coach.'">
- Exclude checks
Variable "id_coach" is not in valid camel caps format Open
Open
$data[$id_coach]["connection_time"] = $s_connection_time;
- Exclude checks
Variable "result_coachs" is not in valid camel caps format Open
Open
if (Database::num_rows($result_coachs) > 0) {
- Exclude checks
Variable "s_connection_time" is not in valid camel caps format Open
Open
$s_connection_time = '';
- Exclude checks
Variable "id_coach" is not in valid camel caps format Open
Open
$data[$id_coach]["firstname"] = $firstname;
- 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_user" is not in valid camel caps format Open
Open
$tbl_user as user,
- 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 "sql_coachs" is not in valid camel caps format Open
Open
$result_coachs = Database::query($sql_coachs);
- Exclude checks
Variable "order_clause" is not in valid camel caps format Open
Open
$order_clause = api_sort_by_first_name() ? ' ORDER BY firstname, lastname' : ' ORDER BY lastname, firstname';
- Exclude checks
Variable "css_class" is not in valid camel caps format Open
Open
$css_class = "row_even";
- Exclude checks
Variable "id_coach" is not in valid camel caps format Open
Open
WHERE user_id='$id_coach'";
- Exclude checks
Variable "id_coach" is not in valid camel caps format Open
Open
<a href="course.php?type=coach&user_id='.$id_coach.'">
- Exclude checks
Variable "result_coachs_infos" is not in valid camel caps format Open
Open
$firstname = Database::result($result_coachs_infos, 0, "firstname");
- Exclude checks
Variable "login_date" is not in valid camel caps format Open
Open
$login_date = $connections["login_date"];
- Exclude checks
Variable "s_connection_time" is not in valid camel caps format Open
Open
$data[$id_coach]["connection_time"] = $s_connection_time;
- 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 "order_clause" is not in valid camel caps format Open
Open
$order_clause = api_is_western_name_order(PERSON_NAME_DATA_EXPORT) ? ' ORDER BY firstname, lastname' : ' ORDER BY lastname, firstname';
- Exclude checks
Variable "result_coachs" is not in valid camel caps format Open
Open
while ($coachs = Database::fetch_array($result_coachs)) {
- Exclude checks
Variable "s_connection_time" is not in valid camel caps format Open
Open
$s_connection_time = api_time_to_hms($nb_seconds);
- Exclude checks
Variable "id_coach" is not in valid camel caps format Open
Open
$id_coach = $coachs["id_coach"];
- Exclude checks
Variable "id_coach" is not in valid camel caps format Open
Open
WHERE login_user_id ='$id_coach' AND logout_date <> 'null'";
- Exclude checks
Variable "nb_seconds" is not in valid camel caps format Open
Open
$nb_seconds += ($timestamp_logout_date - $timestamp_login_date);
- Exclude checks
Variable "timestamp_logout_date" is not in valid camel caps format Open
Open
$nb_seconds += ($timestamp_logout_date - $timestamp_login_date);
- Exclude checks
Variable "tbl_session_rel_course_rel_user" is not in valid camel caps format Open
Open
FROM $tbl_session_rel_course_rel_user as srcru
- Exclude checks
Variable "timestamp_login_date" is not in valid camel caps format Open
Open
$timestamp_login_date = strtotime($login_date);
- Exclude checks
Variable "timestamp_login_date" is not in valid camel caps format Open
Open
$nb_seconds += ($timestamp_logout_date - $timestamp_login_date);
- Exclude checks
Variable "nb_seconds" is not in valid camel caps format Open
Open
if (0 == $nb_seconds) {
- Exclude checks
Variable "order_clause" is not in valid camel caps format Open
Open
srcru.status=".Session::COURSE_COACH." ".$order_clause;
- Exclude checks
Variable "sql_connection_time" is not in valid camel caps format Open
Open
$sql_connection_time = "SELECT login_date, logout_date
- Exclude checks
Variable "sql_connection_time" is not in valid camel caps format Open
Open
$result_connection_time = Database::query($sql_connection_time);
- Exclude checks
Variable "nb_seconds" is not in valid camel caps format Open
Open
$nb_seconds = 0;
- Exclude checks
Variable "id_coach" is not in valid camel caps format Open
Open
<a href="course.php?type=coach&user_id='.$id_coach.'">
- Exclude checks
Variable "tbl_course_user" is not in valid camel caps format Open
Open
$tbl_course_user as course_rel_user,
- Exclude checks
Variable "result_coachs_infos" is not in valid camel caps format Open
Open
$lastname = Database::result($result_coachs_infos, 0, "lastname");
- Exclude checks
Variable "logout_date" is not in valid camel caps format Open
Open
$timestamp_logout_date = strtotime($logout_date);
- Exclude checks
Variable "css_class" is not in valid camel caps format Open
Open
echo '<tr class="'.$css_class.'">
- Exclude checks
Variable "sql_coachs" is not in valid camel caps format Open
Open
$sql_coachs = "SELECT DISTINCT
- Exclude checks
Variable "s_connection_time" is not in valid camel caps format Open
Open
<td>'.$s_connection_time.'</td>
- 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 "tbl_session_rel_course_rel_user" is not in valid camel caps format Open
Open
$tbl_session_rel_course_rel_user as srcu,
- Exclude checks
Variable "result_connection_time" is not in valid camel caps format Open
Open
$result_connection_time = Database::query($sql_connection_time);
- Exclude checks
Variable "nb_seconds" is not in valid camel caps format Open
Open
$s_connection_time = api_time_to_hms($nb_seconds);
- 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
Variable "id_student" is not in valid camel caps format Open
Open
WHERE srcru.user_id='$id_student' AND srcru.status=".Session::COURSE_COACH;
- Exclude checks
Variable "tbl_track_login" is not in valid camel caps format Open
Open
FROM $tbl_track_login
- Exclude checks
Variable "css_class" is not in valid camel caps format Open
Open
$css_class = "row_odd";
- Exclude checks
Variable "id_coach" is not in valid camel caps format Open
Open
$data[$id_coach]["firstname"] = $firstname;
- Exclude checks
Variable "sql_coachs" is not in valid camel caps format Open
Open
$sql_coachs = "SELECT DISTINCT srcru.user_id as id_coach
- Exclude checks
Variable "id_coach" is not in valid camel caps format Open
Open
$data[$id_coach]["lastname"] = $lastname;
- Exclude checks
Variable "tbl_track_login" is not in valid camel caps format Open
Open
$tbl_track_login = Database::get_main_table(TABLE_STATISTIC_TRACK_E_LOGIN);
- Exclude checks
Variable "tbl_session_rel_course_rel_user" is not in valid camel caps format Open
Open
FROM $tbl_user, $tbl_session_rel_course_rel_user srcru
- Exclude checks
Variable "order_clause" is not in valid camel caps format Open
Open
".$order_clause;
- Exclude checks
Variable "result_coachs" is not in valid camel caps format Open
Open
$result_coachs = Database::query($sql_coachs);
- Exclude checks
Variable "result_coachs_infos" is not in valid camel caps format Open
Open
$result_coachs_infos = Database::query($sql_infos_coach);
- Exclude checks
Variable "this_section" is not in valid camel caps format Open
Open
$this_section = SECTION_TRACKING;
- 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_student" is not in valid camel caps format Open
Open
$id_student = intval($_GET["id_student"]);
- Exclude checks
Variable "sql_coachs" is not in valid camel caps format Open
Open
$sql_coachs = "SELECT DISTINCT user_id as id_coach, user.id as user_id, lastname, firstname
- Exclude checks
Variable "tbl_user" is not in valid camel caps format Open
Open
FROM $tbl_user
- Exclude checks
Variable "result_connection_time" is not in valid camel caps format Open
Open
while ($connections = Database::fetch_array($result_connection_time)) {
- Exclude checks
Variable "logout_date" is not in valid camel caps format Open
Open
$logout_date = $connections["logout_date"];
- Exclude checks
Variable "login_date" is not in valid camel caps format Open
Open
$timestamp_login_date = strtotime($login_date);
- Exclude checks
Variable "css_class" is not in valid camel caps format Open
Open
echo '<tr class="'.$css_class.'">
- Exclude checks
Variable "s_connection_time" is not in valid camel caps format Open
Open
<td>'.$firstname.'</td><td>'.$lastname.'</td><td>'.$s_connection_time.'</td>
- Exclude checks