\t<tr> \t\t<td class="bug_head">All</td> \t\t<td class="bug_bg0">{$total}</td> OUTPUT; $i = 1; foreach ($titles as $key => $val) { echo ' <td class="bug_bg', $i++ % 2, '">'; echo bugstats($key, 'all'), "</td>\n"; } echo "\t</tr>\n"; $stat_row = 1; foreach ($pkg[$sort_by] as $name => $value) { if ($name != 'all') { // Output a new header row every 40 lines if ($stat_row++ % 40 == 0) { echo display_stat_header($total, false); } echo <<<OUTPUT \t<tr> \t\t<td class="bug_head">{$name}</td> \t\t<td class="bug_bg0">{$pkg_total[$name]}</td> OUTPUT; $i = 1; foreach ($titles as $key => $val) { echo ' <td class="bug_bg', $i++ % 2, '">'; echo bugstats($key, $name), "</td>\n"; } echo "\t</tr>\n"; } } echo "</table>\n";
echo bugstats($key, 'all') . "</td>\n"; } echo ' </tr>' . "\n"; $stat_row = 1; foreach ($pkg[$sort_by] as $name => $value) { // Check if the logged in user maintains this package if (isset($packages) && in_array($name, $packages)) { $class = ' bug_bg_selected'; } else { $class = ''; } $unm = isset($pkg_unm[$name]) ? '*' : ''; if ($name != 'all') { /* Output a new header row every 30 lines */ if ($stat_row++ % 30 == 0) { echo display_stat_header($total, false, $titles); } echo " <tr>\n"; echo ' <td class="bug_head' . $class . '">' . $unm . package_link($name) . "</td>\n"; echo ' <td class="bug_bg0' . $class . '">' . $pkg_total[$name]; echo "</td>\n"; $i = 1; foreach ($titles as $key => $val) { echo ' <td class="bug_bg' . $i++ % 2 . '' . $class . '">'; echo bugstats($key, $name) . "</td>\n"; } echo ' </tr>' . "\n"; } } ?> </tbody>