1<?php 2include_once DOKU_PLUGIN."bez/models/issues.php"; 3include_once DOKU_PLUGIN."bez/models/comments.php"; 4include_once DOKU_PLUGIN."bez/models/causes.php"; 5include_once DOKU_PLUGIN."bez/models/tasks.php"; 6 7$isso = new Issues(); 8$tasko= new Tasks(); 9 10$issues = $isso->get_by_days(); 11$tasks = $tasko->get_by_days(); 12 13$timeline = $helper->days_array_merge($issues, $tasks); 14 15$template['timeline'] = $timeline; 16 17$stats_i = $isso->get_stats(); 18$template['issues_opened'] = $stats_i['opened']; 19$template['issues_all'] = $stats_i['all']; 20 21$stats_t = $tasko->get_stats(); 22$template['tasks_opened'] = $stats_t['opened']; 23$template['tasks_all'] = $stats_t['all']; 24