Beispiel #1
0
function bugs_quick_report($group_id, $title, $subtitle1, $sql1, $subtitle2, $sql2)
{
    global $bar_colors;
    bug_header(array("title" => $title));
    bug_reporting_header($group_id);
    echo "\n<H2>{$title}</H2>";
    reports_quick_graph($subtitle1, $sql1, $sql2, $bar_colors);
    bug_footer(array());
}
    ShowResultSet($result, "Bug Techs for " . group_getname($group_id));
    ?>
</TD>
			<TD  VALIGN="TOP"><?php 
    ShowResultSet($result2, "Bug Statuses");
    ?>
</TD>
			<TD  VALIGN="TOP"><?php 
    ShowResultSet($result3, "Bug Categories for " . group_getname($group_id));
    ?>
</TD>
		<TR>
		<TR>
			<TD  VALIGN="TOP"><?php 
    ShowResultSet($result4, "Bug Resolutions");
    ?>
</TD>
			<TD  VALIGN="TOP"><?php 
    ShowResultSet($result5, "Bug Groups");
    ?>
</TD>
			<TD>&nbsp;</TD>
		</TR>
	</TABLE>
	<?php 
} else {
    echo '
		<H2>You must be logged in before you can create personal filters for any given group</H2>';
}
bug_footer(array());