|
|
|
@ -162,11 +162,17 @@ function get_users($from, $limit, $column, $direction) |
|
|
|
|
$row[] = $string_date; |
|
|
|
|
|
|
|
|
|
if (isset($_GET['id_coach']) && intval($_GET['id_coach']) != 0) { |
|
|
|
|
$detailsLink = '<a href="myStudents.php?student='.$student_id.'&id_coach='.$coach_id.'&id_session='.$sessionId.'"> |
|
|
|
|
'.Display::return_icon('2rightarrow.png', get_lang('Details').' '.$student_data['username']).'</a>'; |
|
|
|
|
$detailsLink = Display::url( |
|
|
|
|
Display::return_icon('2rightarrow.png', get_lang('Details').' '.$student_data['username']), |
|
|
|
|
"myStudents.php?student=$student_id&id_coach=$coach_id&id_session=$sessionId", |
|
|
|
|
['id' => 'details_'.$student_data['username']] |
|
|
|
|
); |
|
|
|
|
} else { |
|
|
|
|
$detailsLink = '<a href="myStudents.php?student='.$student_id.'"> |
|
|
|
|
'.Display::return_icon('2rightarrow.png', get_lang('Details').' '.$student_data['username']).'</a>'; |
|
|
|
|
$detailsLink = Display::url( |
|
|
|
|
Display::return_icon('2rightarrow.png', get_lang('Details').' '.$student_data['username']), |
|
|
|
|
"myStudents.php?student=$student_id", |
|
|
|
|
['id' => 'details_'.$student_data['username']] |
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
$lostPasswordLink = ''; |
|
|
|
|