From: alison benjamin Date: Mon, 29 Aug 2011 17:39:49 +0000 (-0000) Subject: (no commit message) X-Git-Url: https://iam.tj/gitweb/gitweb.cgi?p=atutor.git;a=commitdiff_plain;h=f760d7fff311d95815966b2a25125172d8aeea9a --- diff --git a/docs/mods/_standard/statistics/course_stats.php b/docs/mods/_standard/statistics/course_stats.php index 0a3de05c6..412f355a6 100644 --- a/docs/mods/_standard/statistics/course_stats.php +++ b/docs/mods/_standard/statistics/course_stats.php @@ -101,104 +101,21 @@ $month = intval($_GET['month']); require(AT_INCLUDE_PATH.'header.inc.php'); -?> - - - - -'; - 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 +$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('multiplyer_height', $multiplyer_height); +$savant->assign('block_height', $block_height); +$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