From: alison benjamin Date: Mon, 29 Aug 2011 17:08:49 +0000 (-0000) Subject: Reverting this file to what is in the atutor trunk. X-Git-Url: https://iam.tj/gitweb/gitweb.cgi?p=atutor.git;a=commitdiff_plain;h=92b4added80c88024d401dd3c5816c09c70ec791 Reverting this file to what is in the atutor trunk. --- diff --git a/docs/mods/_standard/statistics/course_stats.php b/docs/mods/_standard/statistics/course_stats.php index 2b32f4189..0a3de05c6 100644 --- a/docs/mods/_standard/statistics/course_stats.php +++ b/docs/mods/_standard/statistics/course_stats.php @@ -98,22 +98,107 @@ $month = intval($_GET['month']); $last_month = $month - 1; $last_year = $year; } -//$short_name = $month_name_con['en'][$this->month-1]; require(AT_INCLUDE_PATH.'header.inc.php'); -$savant->assign('last_month', $last_month); -$savant->assign('last_year', $last_year); -$savant->assign('month', $month); -$savant->assign('next_month', $next_month); -$savant->assign('next_year', $next_year); -$savant->assign('num_days', $num_days); -$savant->assign('empty', $empty); -$savant->assign('total_logins', $total_logins); -$savant->assign('min_total_logins', $min_total_logins); -$savant->assign('max_total_logins', $max_total_logins); -$savant->assign('avg_total_logins', $avg_total_logins); -$savant->assign('days', $days); -$savant->assign('result', $result); -$savant->assign('short_name', $short_name); -$savant->display('instructor/statistics/course_stats.tmpl.php'); -require(AT_INCLUDE_PATH.'footer.inc.php'); ?> \ No newline at end of file + +?> + + + + +'; + echo ''; + echo ''; + echo '
'; + echo ' '.AT_date('%F', $last_month, AT_DATE_INDEX_VALUE ); ?> | + | '; + echo AT_date('%F', $next_month, AT_DATE_INDEX_VALUE); ?>
'._AT('no_month_data').'
'; + require(AT_INCLUDE_PATH.'footer.inc.php'); + exit; + } +?> + + : + + + + + : + + + + + + : + + + + + : + + + + + + : + + + + + + $logins) { + $dd++; + echo ''; + + } while ($row = mysql_fetch_array($result)); +?> + + + + + +

'.$logins[0].' '._AT('guests').' ('.($logins[0]+$logins[1]).' '._AT('total').')
'.$logins[1].' '._AT('members').' ('.($logins[1]+$logins[0]).' '._AT('total').')
'.$dd.' 
0
+ + : <?php echo _AT('red_members'); ?> , + <?php echo _AT('blue_guests'); ?> . + + + + + : + + + + + + + + + + + + + $logins):?> + + + + + + + +
+ + + + + \ No newline at end of file