";
- print __("No packages matched your search criteria.");
- print "
";
+ // figure out the results to use
+ $first = $O + 1;
+
+ if (($PP+$O) > $total) {
+ $last = $total;
} else {
- // print out package search results
- //
-
- // SO_next used to change sort order on header click
- if ($_REQUEST["SO"] == "d"){
- $SO_next="a";
- $SO = 'd';
- } else {
- $SO_next="d";
- $SO = 'a';
- }
- print "\n";
- if ($SID) {
- if ($row["OutOfDate"]) {
- $c = "outofdate";
- }
- print " ";
- print "";
- if ($row["OutOfDate"]) {
- print "";
- }
- print " | \n";
- }
- print " ";
- print $row["Location"]." | \n";
- print " ";
- print $row["Category"]." | \n";
- print " ";
- $url = "";
- $url.="";
- $url.=$row["Name"];
- $url.= " ".$row["Version"]."";
- print $url." | \n";
- print " ";
- print " ".$row["NumVotes"]." | \n";
- if ($SID) {
- print " ";
- if (isset($row["Voted"])) {
- print " ".__("Yes")." | \n";
- } else {
- print " \n";
- }
- print " ";
- if (isset($row["Notify"])) {
- print " ".__("Yes")." | \n";
- } else {
- print " \n";
- }
- }
- print " ";
- print $row["Description"]." | \n";
- print " ";
-
- if (isset($row["Maintainer"])) {
- print "".$row['Maintainer']."";
- } else {
- print "";
- print __("orphan");
- print "";
- }
- print " | \n";
- print "
\n";
-
- }
- print "