';
echo "\n \n";
echo " {$siteBig} Bug Search Results\n";
echo " {$site_method}://{$site_url}{$basedir}/rss/search.php?" , clean(http_build_query($_GET)) , "\n";
echo " Search Results\n";
echo " en-us\n";
echo " {$site}-webmaster@lists.php.net\n";
echo " {$site}-webmaster@lists.php.net\n";
echo " \n";
echo " hourly\n";
echo " 1\n";
echo " 2000-01-01T12:00+00:00\n";
echo '
';
$items = '';
if ($total_rows > 0) {
foreach ($result as $row) {
$desc = "{$row['package_name']} ({$row['bug_type']})\nReported by ";
if (preg_match('/@php.net$/i', $row['email'])) {
$desc .= substr($row['email'], 0, strpos($row['email'], '@')) ."\n";
} else {
$desc .= substr($row['email'], 0, strpos($row['email'], '@')) . "@...\n";
}
$desc .= date(DATE_ATOM, $row['submitted']) . "\n";
$desc .= "PHP: {$row['php_version']}, OS: {$row['php_os']}\n\n";
$desc .= $row['ldesc'];
$desc = '' . clean($desc) . '
';
echo " \n";
$items .= " - \n";
$items .= ' ' . clean("{$row['bug_type']} {$row['id']} [{$row['status']}] {$row['sdesc']}") . "\n";
$items .= " {$site_method}://{$site_url}{$basedir}/{$row['id']}\n";
$items .= ' \n";
$items .= ' \n";
if (!$row['unchanged']) {
$items .= ' ' . date(DATE_ATOM, $row['submitted']) . "\n";
} else {
$items .= ' ' . date(DATE_ATOM, $row['modified']) . "\n";
}
$items .= ' ' . clean(spam_protect($row['email'])) . "\n";
$items .= ' ' . clean($row['package_name']) . ' ' . clean($row['bug_type']) . "\n";
$items .= "
\n";
}
} else {
$warnings[] = "No bugs matched your criteria";
}
echo <<< DATA
{$siteBig} Bugs
{$site_method}://{$site_url}{$basedir}/images/{$site}-logo.gif
{$site_method}://{$site_url}{$basedir}
{$items}
DATA;
?>