isError()) { exit_error($report->getErrorMessage()); } $sw = getStringFromRequest('sw'); $typ = getStringFromRequest('typ'); $g_id = getIntFromRequest('g_id'); $type = getStringFromRequest('type'); $start = getIntFromRequest('start'); $end = getIntFromRequest('end'); if (!$start || !$end) $z =& $report->getMonthStartArr(); if (!$start) { $start = $z[0]; } if (!$end) { $end = $z[count($z)-1]; } if ($end < $start) list($start, $end) = array($end, $start); if ($typ != 'r' && $start == $end) { $error_msg .= _('Start and end dates must be different'); } report_header(_('Time Tracking By Project')); $a[]=_('By Task'); $a[]=_('By Category'); $a[]=_('By Subproject'); $a[]=_('By User'); $a2[]='tasks'; $a2[]='category'; $a2[]='subproject'; $a2[]='user'; ?>
:
:
:
:
labels; $data = $report->getData(); echo $HTML->listTableTop (array(_('Type'), _('Time'))); for ($i=0; $iboxGetAltRowStyle($i) .'>'. ''. $labels[$i] .''. $data[$i] .''; } echo $HTML->listTableBottom (); } elseif ($g_id && $start != $end) { ?>

" width="640" height="480" alt="" />