version 1.2, 2003/02/28 14:41:10
|
version 1.18, 2003/03/02 16:12:39
|
Line 5
|
Line 5
|
<a href="http://www.mozdev.org/bugs/enter_bug.cgi?product=cdn">new bug</a> |
<a href="http://www.mozdev.org/bugs/enter_bug.cgi?product=cdn">new bug</a> |
for cdn |
for cdn |
</li> |
</li> |
<LI>View <A | <li>View <a href="http://mozdev.org/bugs/buglist.cgi?email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&bugidtype=include&bug_id=&changedin=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&product=cdn&short_desc=&short_desc_type=allwordssubstr&long_desc=&long_desc_type=allwordssubstr&bug_file_loc=&bug_file_loc_type=allwordssubstr&field0-0-0=noop&type0-0-0=noop&value0-0-0=&cmdtype=doit&order=Bug+Number">all bugs</a> |
href="http://mozdev.org/bugs/buglist.cgi?email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&bugidtype=include&bug_id=&changedin=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&product=cdn&short_desc=&short_desc_type=allwordssubstr&long_desc=&long_desc_type=allwordssubstr&bug_file_loc=&bug_file_loc_type=allwordssubstr&field0-0-0=noop&type0-0-0=noop&value0-0-0=&cmdtype=doit&order=Bug+Number">all | <li>See all <a href="http://mozdev.org/bugs/buglist.cgi?bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&bugidtype=include&bug_id=&changedin=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&product=cdn&short_desc=&short_desc_type=allwordssubstr&long_desc=&long_desc_type=allwordssubstr&bug_file_loc=&bug_file_loc_type=allwordssubstr&field0-0-0=noop&type0-0-0=noop&value0-0-0=&cmdtype=doit&order=Bug+Number">open bugs</a></li> |
bugs</A> | |
<LI>See all <A | |
href="http://mozdev.org/bugs/buglist.cgi?bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&bugidtype=include&bug_id=&changedin=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&product=cdn&short_desc=&short_desc_type=allwordssubstr&long_desc=&long_desc_type=allwordssubstr&bug_file_loc=&bug_file_loc_type=allwordssubstr&field0-0-0=noop&type0-0-0=noop&value0-0-0=&cmdtype=doit&order=Bug+Number">open | |
bugs</A></LI> | |
<li>Search by Bug Number<br><br> |
<li>Search by Bug Number<br><br> |
<FORM action=http://mozdev.org/bugs/show_bug.cgi method=get><INPUT type=submit value=Find> <INPUT size=6 | <form action="http://mozdev.org/bugs/show_bug.cgi" method="get"><input type="submit" value="Find"> |
name=id></FORM> | <input size="6" name="id"></form> |
</li> |
</li> |
</ul><?php $doNotCapitalise = 1; ?> | </ul><?php $doNotCapitalise = 01; $project='mozdev'; $project = 'optimoz'; |
| |
| $bug_component = array('gestures', 'radial'); |
| |
| ?> |
|
|
<?php |
<?php |
|
|
Line 28 name=id></FORM>
|
Line 28 name=id></FORM>
|
$res = "resolution"; |
$res = "resolution"; |
$table = "bugs"; |
$table = "bugs"; |
$target = "product"; |
$target = "product"; |
$amount = 10; | $amount = 60; |
$bug_url = "http://mozdev.org/bugs/show_bug.cgi?id="; |
$bug_url = "http://mozdev.org/bugs/show_bug.cgi?id="; |
|
|
$component = 'component'; |
$component = 'component'; |
|
|
$product = ucwords($project); |
$product = ucwords($project); |
|
|
$query = " SELECT $id, $desc, $component, $res | $query = " SELECT $id, $desc, $component, $res |
FROM $table |
FROM $table |
WHERE $target='$product' | WHERE $target='$product' |
ORDER BY $id | AND $component='%" . $bug_component[1] . "%' |
DESC LIMIT $amount | ORDER BY $id DESC |
| LIMIT $amount |
"; |
"; |
|
|
$my_result = mysql_query($query, $connect); |
$my_result = mysql_query($query, $connect); |
Line 53 name=id></FORM>
|
Line 54 name=id></FORM>
|
if ( $doNotCapitalise ) |
if ( $doNotCapitalise ) |
$product = $project; |
$product = $project; |
|
|
print "<h4>Latest bugs filed for $product</h4>\n\n"; | print '<h4 id="BZ-h4">Latest bugs filed for ' . $product . "</h4>\n\n"; |
| |
print "<table cellspacing=\"2\" cellpadding=\"2\" border=0>\n"; | print '<table cellspacing="2" cellpadding="2" border=0>' . "\n"; |
| |
print "<thead>\n<tr>\n"; |
print "<thead>\n<tr>\n"; |
print '<th bgcolor="#990000"><font color="#ffffff">Bug #</font></th>' . | print '<th bgcolor="#990000"><font color="#ffffff">Bug #</font></th>'; |
| print '<th bgcolor="#FF9900">Component</th>' . "\n\n"; |
print '<th bgcolor="#FF9900">Description</th>' . "\n\n"; |
print '<th bgcolor="#FF9900">Description</th>' . "\n\n"; |
print "</tr>\n</thead>\n"; |
print "</tr>\n</thead>\n"; |
|
|
Line 78 name=id></FORM>
|
Line 80 name=id></FORM>
|
if ($printstrike) |
if ($printstrike) |
print "</strike>"; |
print "</strike>"; |
print "\n</td>\n<td>\n"; |
print "\n</td>\n<td>\n"; |
|
// print htmlspecialchars ( mysql_result($my_result, $i, $component),ENT_QUOTES); |
|
print mysql_result($my_result, $i, $component); |
|
print "\n</td>\n<td>\n"; |
print htmlspecialchars ( mysql_result($my_result, $i, $desc),ENT_QUOTES); |
print htmlspecialchars ( mysql_result($my_result, $i, $desc),ENT_QUOTES); |
print "</td>\n</tr>\n"; |
print "</td>\n</tr>\n"; |
} |
} |
print "</tbody>\n"; |
print "</tbody>\n"; |
print "</table>\n\n"; |
print "</table>\n\n"; |
|
|
?> |
|
|
|
|
?> |