".$sql,"\n";
$result = db_query($db,$sql);
if ( PEAR::isError($result) )
{
echo "
$pkg1/$pkg2 -- ".$result->getMessage()."
\n";
}
else if ( $result->numRows()>0 )
{
echo "".$pkg1."/".$pkg2."
\n";
echo "\n";
echo "system | jobs | cpuhours | users | groups | accounts |
\n";
while ($result->fetchInto($row))
{
$rkeys=array_keys($row);
echo "";
foreach ($rkeys as $rkey)
{
$data[$rkey]=array_shift($row);
echo "".$data[$rkey]." | ";
}
echo "
\n";
}
echo "
\n";
}
}
$done[$pkg1."|".$pkg2] = 1;
$done[$pkg2."|".$pkg1] = 1;
echo "\n";
ob_flush();
flush();
}
}
bookmarkable_url();
db_disconnect($db);
}
else
{
begin_form("sw-multimatch.php");
system_chooser();
date_fields();
end_form();
}
page_footer();
?>