[cvs] / gkbweb / htdocs / specialized.php  

cvs: gkbweb/htdocs/specialized.php

Diff for /gkbweb/htdocs/specialized.php between version 1.3 and 1.4

version 1.3, Sat Dec 18 04:37:09 2004 UTC version 1.4, Sat Dec 18 20:26:48 2004 UTC
Line 20 
Line 20 
                 $catclause="category='$category' and";                  $catclause="category='$category' and";
         else          else
                 $catclause="";                  $catclause="";
           /*
         if ($q = mysql_query("select id, safename, fullname, summary from builds where $catclause (configpath != '' or configfile != \"\" or patchfile != \"\") and status!='disabled' order by fullname", $dbh)) {          if ($q = mysql_query("select id, safename, fullname, summary from builds where $catclause (configpath != '' or configfile != \"\" or patchfile != \"\") and status!='disabled' order by fullname", $dbh)) {
                 $i = 0;                  $i = 0;
                 while ($r = mysql_fetch_object($q)) {                  while ($r = mysql_fetch_object($q)) {
Line 46 
Line 46 
                                 echo "<tr><td colspan=\"2\">&nbsp;</td></tr>\n";                                  echo "<tr><td colspan=\"2\">&nbsp;</td></tr>\n";
                 }                  }
         }          }
           */
           if ($q = mysql_query("select name, safename, fullname, description, patchfile, configfile,configpath from builds, mastertrees where $catclause (configpath != '' or configfile != \"\" or patchfile != \"\") and status!='disabled' and mastertrees.name=builds.mastertree order by fullname", $dbh)) {
                   echo "<table border=\"0\" cellpadding=\"5\" cellspacing=\"0\">\n";
                   $i=0;
                   while ($r = mysql_fetch_object($q)) {
                           $i++;
                           showkernel($r->name, $r->safename, $r->fullname, $r->description, $r->patchfile, $r->configfile, $r->configpath);
                           if ($i < mysql_num_rows($q))
                                   echo "<tr><td colspan=\"2\">&nbsp;</td></tr>\n";
                   }
                   echo "</table>\n";
           }
   
         echo "</table>";  
   
         include($layout_tail);          include($layout_tail);
 ?>  ?>


Generate output suitable for use with a patch program
Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

Tobias McNulty

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help