You are here

course.tpl.php in Opigno Statistics App 7

course template file

File

templates/group/course/course.tpl.php
View source
<?php

/**
 * @file
 * course template file
 *
 * @param array $general_statistics
 * @param array $total_number_of_page_view
 * @param array $number_of_interactions
 * @param array $course_lessons
 * @param array $students_results
 */
?>
<div id="opigno-statistics-app-course">
  <?php

$form = drupal_get_form('opigno_statistics_app_group_filter_form');
print drupal_render($form);
?>
  <div class="col col-4-out-of-4 clearfix">
    <?php

print theme('opigno_statistics_app_course_widget_general_statistics', compact('general_statistics'));
?>
    <?php

print theme('opigno_statistics_app_course_widget_total_number_of_page_view', compact('total_number_of_page_view'));
?>
  </div>
  <div class="col col-4-out-of-4">
    <?php

print theme('opigno_statistics_app_course_widget_course_lessons', compact('course_lessons'));
?>
  </div>
  <div class="col col-4-out-of-4">
    <?php

print theme('opigno_statistics_app_course_widget_number_of_interactions', compact('number_of_interactions'));
?>
  </div>
  <div class="col col-4-out-of-4">
    <?php

print theme('opigno_statistics_app_course_widget_students_results', compact('students_results'));
?>
  </div>
</div>