get_by_days(31); $tasks = $tasko->get_by_days(31); $causes = $causo->get_by_days(31); $comments = $commo->get_by_days(31); $timeline = $helper->days_array_merge($issues, $tasks, $comments, $causes); $template['timeline'] = $timeline; $isso = new Issues(); $no = count($isso->get_filtered(array('state' => '0', 'coordinator' => $INFO['client']))); $template['my_issues'] = $no; $tasko = new Tasks(); $no = count($tasko->get_filtered(array('state' => '0', 'executor' => $INFO['client']))); $template['my_tasks'] = $no; $no = count($isso->get_filtered( array('state' => '-proposal') )); $template['proposals'] = $no; $template['client'] = $INFO['client']; /*pobieranie wersji beza na podstawie pliku plugin.info.txt*/ $info = $this->getInfo(); $template[version] = $info[date];