|
@@ 6998-7006 (lines=9) @@
|
| 6995 |
|
$title_line= get_lang('LoginsTitleMonthColumn').';'.get_lang('LoginsTitleCountColumn')."\n"; |
| 6996 |
|
$line=''; |
| 6997 |
|
$total = 0; |
| 6998 |
|
if (is_array($results)) { |
| 6999 |
|
for($j = 0 ; $j < count($results) ; $j++) { |
| 7000 |
|
$line .= $results[$j][0].';'.$results[$j][1]."\n"; |
| 7001 |
|
$total = $total + $results[$j][1]; |
| 7002 |
|
} |
| 7003 |
|
$line .= get_lang('Total').";".$total."\n"; |
| 7004 |
|
} else { |
| 7005 |
|
$line= get_lang('NoResult')."</center></td>"; |
| 7006 |
|
} |
| 7007 |
|
} else { |
| 7008 |
|
$new_view = substr_replace($view,'1',0,1); |
| 7009 |
|
} |
|
@@ 7050-7059 (lines=10) @@
|
| 7047 |
|
$results = StatsUtils::getManyResultsXCol($sql, 4); |
| 7048 |
|
$title_line = get_lang('ExercicesTitleExerciceColumn').";".get_lang('Date').';'.get_lang('ExercicesTitleScoreColumn')."\n"; |
| 7049 |
|
|
| 7050 |
|
if (is_array($results)) { |
| 7051 |
|
for($i = 0; $i < sizeof($results); $i++) |
| 7052 |
|
{ |
| 7053 |
|
$display_date = api_convert_and_format_date($results[$i][3], null, date_default_timezone_get()); |
| 7054 |
|
$line .= $results[$i][0].";".$display_date.";".$results[$i][1]." / ".$results[$i][2]."\n"; |
| 7055 |
|
} |
| 7056 |
|
} else { |
| 7057 |
|
// istvan begin |
| 7058 |
|
$NoTestRes = 1; |
| 7059 |
|
} |
| 7060 |
|
|
| 7061 |
|
// The Result of Tests |
| 7062 |
|
if (is_array($hpresults)) { |