Custom Query\n";
/* This logic matches up to equivalent logic in the macro_RunReport
* function in inc/report */
$params = array();
if (strlen($_SERVER['QUERY_STRING'])) {
$qs = $_SERVER['QUERY_STRING'];
} else {
$qs = mtrack_get_pathinfo();
}
list ($params, $mparams) = MTrack_Report::parseQuery($qs);
echo "