<?cs include:"super_util.cs" ?>
<?cs def:print_content() ?>
<?cs with:lng=lang.super_view_usage_report ?>
<fieldset>
 <legend>
   <?cs var:lng.page_title ?>
 </legend>





<table width="100%">
<tr><td align="center">

<table border="1" cellspacing="0" cellpadding="2" width="50%">
<tr><th><?cs var:lng.group_label ?></th><td><?cs var:group_internal_name ?> (<?cs var:group_description ?>)</td></tr>
<tr><th><?cs var:lng.timestamp_label ?></th><td><?cs var:analysis_timestamp ?></td></tr>
<tr><th><?cs var:lng.classroom_count_label ?></th><td><?cs var:classroom_count ?></td></tr>
</table>

<br />
<table border="1" cellspacing="0" cellpadding="2" width="50%">
<tr><th colspan="2" style="background-color: #99CCFF"><?cs var:lng.disk_usage_summary_heading ?></th></tr>
<tr><th><?cs var:lng.grp_disk_total_label ?></th><td><?cs var:disk_usage ?></td></tr>
<tr><th><?cs var:lng.grp_disk_avg_label ?></th><td><?cs var:avg_disk_usage ?></td></tr>
<tr><th><?cs var:lng.grp_disk_median_label ?></th><td><?cs var:median_disk_usage ?></td></tr>
</table>



<br />
<table border="1" cellspacing="0" cellpadding="2" width="50%">
<tr><th colspan="2" style="background-color: #99CCFF"><?cs var:lng.grp_disk_file_type_heading ?></th></tr>
<tr><th><?cs var:lng.grp_msg_usage_label ?></th><td><?cs var:msg_disk_usage ?></td></tr>
<tr><th><?cs var:lng.grp_file_usage_label ?></th><td><?cs var:file_disk_usage ?></td></tr>
<tr><th><?cs var:lng.grp_website_usage_label ?></th><td><?cs var:website_disk_usage ?></td></tr>
<tr><th><?cs var:lng.grp_misc_usage_label ?></th><td><?cs var:misc_disk_usage ?></td></tr>
</table>


<br />
<table border="1" cellpadding="2" cellspacing="0" width="50%">
<tr><th colspan="2" style="background-color: #99CCFF"><?cs var:lng.grp_count_heading ?></th></tr>
<tr><th><?cs var:lng.grp_msg_count_label ?></th><td><?cs var:msg_count ?> --- <?cs var:avg_msg_count ?> --- <?cs var:median_msg_count ?></td></tr>
<tr><th><?cs var:lng.grp_file_count_label ?></th><td><?cs var:file_count ?> --- <?cs var:avg_file_count ?> --- <?cs var:median_file_count ?></td></tr>
<tr><th><?cs var:lng.grp_website_count_label ?></th><td><?cs var:website_count ?> --- <?cs var:avg_website_count ?> --- <?cs var:median_website_count ?></td></tr>
<tr><th><?cs var:lng.grp_chat_count_label ?></th><td><?cs var:chat_msg_count ?> --- <?cs var:avg_chat_msg_count ?> --- <?cs var:median_chat_msg_count ?></td></tr>
<tr><th><?cs var:lng.grp_student_count_label ?></th><td><?cs var:student_count ?> --- <?cs var:avg_student_count ?> --- <?cs var:median_student_count ?></td></tr>
</table>



<br />
<table border="1" cellpadding="2" width="50%" cellspacing="0" >
<tr><th colspan="2" style="background-color: #99CCFF"><?cs var:lng.grp_module_heading ?></th></tr>
<tr><th><?cs var:lng.grp_assignments_label ?></th><td><?cs var:assignments ?></td></tr>
<tr><th><?cs var:lng.grp_handouts_label ?></th><td><?cs var:handouts_notices ?></td></tr>
<tr><th><?cs var:lng.grp_discussion_label ?></th><td><?cs var:class_discussion ?></td></tr>
<tr><th><?cs var:lng.grp_postoffice_label ?></th><td><?cs var:post_office ?></td></tr>
<tr><th><?cs var:lng.grp_internet_label ?></th><td><?cs var:internet ?></td></tr>
<tr><th><?cs var:lng.grp_lounge_label ?></th><td><?cs var:lounge ?></td></tr>

<tr><th><?cs var:lng.grp_chat_label ?></th><td><?cs var:chat ?></td></tr>
<tr><th><?cs var:lng.grp_anonymous_label ?></th><td><?cs var:anonymous ?></td></tr>
<tr><th><?cs var:lng.grp_team_label ?></th><td><?cs var:team ?></td></tr>
<tr><th><?cs var:lng.grp_teamteach_label ?></th><td><?cs var:team_teach ?></td></tr>
<tr><th><?cs var:lng.grp_grades_label ?></th><td><?cs var:grades ?></td></tr>


<tr><th><?cs var:lng.grp_selftest_label ?></th><td><?cs var:selftest ?></td></tr>
<tr><th><?cs var:lng.grp_lectures_label ?></th><td><?cs var:lectures ?></td></tr>
<tr><th><?cs var:lng.grp_surveys_label ?></th><td><?cs var:surveys ?></td></tr>
<tr><th><?cs var:lng.grp_podcasts_label ?></th><td><?cs var:podcasts ?></td></tr>
<tr><th><?cs var:lng.grp_people_label ?></th><td><?cs var:people ?></td></tr>
</table>

<div style="margin-top:5em; margin-bottom:1em"><hr><br /><?cs var:lng.classroom_stats_description ?></div>

<?cs each:c=class ?>
<br />
<table border="1" cellpadding="2" width="75%" cellspacing="0">
 <tr>
  <th><?cs var:lng.class_label ?></th>
  <td>
   <?cs var:c.dir ?><br />
   <?cs var:c.course_no ?><br />
   <?cs var:c.title ?><br />
   <?cs var:c.semester ?><br />
   <?cs var:c.instructor ?>
  </td>
</tr>


 <tr>
  <th><?cs var:lng.members_label ?></th>
  <td>
   <table border="0">
   <tr><td align="right"><?cs var:c.teachers ?></td><td><?cs var:lng.teachers_label ?></td></tr>
   <tr><td align="right"><?cs var:c.students ?></td><td><?cs var:lng.students_label ?></td></tr>
   </table>
  </td>
</tr>


 <tr>
  <th><?cs var:lng.disk_usage_label ?></th>
  <td>
   <table border="0">
   <tr><td align="right"><?cs var:c.disk_usage ?></td><td><?cs var:lng.total_label ?></td></tr>
   <tr><td align="right"><?cs var:c.msg_disk_usage ?></td><td><?cs var:lng.msgs_label ?></td></tr>
   <tr><td align="right"><?cs var:c.file_disk_usage ?></td><td><?cs var:lng.files_label ?></td></tr>
   <tr><td align="right"><?cs var:c.website_disk_usage ?></td><td><?cs var:lng.website_label ?></td></tr>
   <tr><td align="right"><?cs var:c.misc_disk_usage ?></td><td><?cs var:lng.misc_label ?></td></tr>
   </table>
  </td>
</tr>


 <tr>
  <th><?cs var:lng.counts_label ?></th>
  <td>
   <table border="0">
   <tr><td align="right"><?cs var:c.msg_count ?></td><td><?cs var:lng.msgs_count_label ?></td></tr>
   <tr><td align="right"><?cs var:c.file_count ?></td><td><?cs var:lng.files_count_label ?></td></tr>
   <tr><td align="right"><?cs var:c.website_count ?></td><td><?cs var:lng.website_count_label ?></td></tr>
   <tr><td align="right"><?cs var:c.chat_msg_count ?></td><td><?cs var:lng.chat_msgs_count_label ?></td></tr>
   </table>
  </td>
</tr>



 <tr>
  <th><?cs var:lng.modules_label ?></th>
  <td>
   <table border="0">
    <?cs each:m=c.module ?>
    <?cs if:m.msg_count ?>
       <tr>
            <td align="right"><b><?cs var:lng[name(m)] ?></b></td>
            <td>
                 <?cs var:m.msg_count ?> <?cs var:lng.msgs_count_label ?><br />
                 <?cs if:m.file_count ?><?cs var:m.file_count ?> <?cs var:lng.files_count_label ?><br /><?cs /if ?>
                 <?cs if:m.website_count ?><?cs var:m.website_count ?> <?cs var:lng.website_count_label ?><br /><?cs /if ?>
                 <?cs var:m.disk_usage ?> <?cs var:lng.total_label ?>
            </td>
    <?cs /if ?>
    <?cs /each ?>
   </table>
  </td>
</tr>





</table>
<?cs /each ?>




</td></tr>
</table>
</fieldset>
<?cs /with ?>
<?cs /def ?>


<?cs call:html_header() ?>
   <head>
      <title><?cs var:lang.super_view_usage_report.page_title ?></title>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
   <link rel="StyleSheet" href="<?cs var:image_path ?>super_template.css" type="text/css"  />
    <?cs call:addDoIMenu() ?>
  </head>
<body>
 <div id="container">
  <?cs call:top_container() ?>
  <?cs call:doIMenu() ?>
  <div id="content">
   <?cs call:print_content() ?>
  </div>
</div>
</body>
</html>
<?cs call:runtime() ?>

