| <h2>Specialized Kernels</h2> |
<h2>Specialized Kernels</h2> |
| <p>Welcome to the specialized kernel section of the PowerPC Kernel Archives. We have carefully selected a set of specialized kernels that work well with specific hardware setups or PowerPC Linux distributions. Please browse the list below for more information on the specific kernels.</p> |
<p>Welcome to the specialized kernel section of the PowerPC Kernel Archives. We have carefully selected a set of specialized kernels that work well with specific hardware setups or PowerPC Linux distributions. Please browse the list below for more information on the specific kernels.</p> |
| <?php |
<?php |
| echo "<table border=\"0\" cellpadding=\"5\" cellspacing=\"0\">\n"; |
if (!isset($category)) |
| |
$category=""; |
| |
|
| if ($q = mysql_query("select id, safename, fullname, summary from builds where configfile != \"\" or patchfile != \"\" order by fullname", $dbh)) { |
if (!empty($category)) |
| |
$catclause="category='$category' and"; |
| |
else |
| |
$catclause=""; |
| |
if ($q = mysql_query("select safename,name,descr from buildcategories where safename!='default' order by name")) { |
| |
echo "<form type='get' action='specialized.php'>\n"; |
| |
echo "<p><b>Build Categories:</b> "; |
| |
echo "<select name='category' onchange='this.form.submit()'>"; |
| |
echo "<option value=''>All</option>"; |
| |
while ($r = mysql_fetch_object($q)) { |
| |
echo "<option value='$r->safename'"; |
| |
if ($category == $r->safename) { |
| |
echo " selected"; |
| |
$descr = $r->descr; |
| |
} |
| |
echo ">$r->name</option>"; |
| |
|
| |
} |
| |
echo "</select>\n"; |
| |
echo " <input type='submit' name='display' value='Display'>\n"; |
| |
if (isset($descr)) { |
| |
echo "<br><br>"; |
| |
echo $descr; |
| |
} |
| |
} |
| |
echo "</p>"; |
| |
echo "</form>"; |
| |
/* |
| |
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)) { |
| $i++; |
$i++; |
| echo "<tr><td colspan=\"2\"> </td></tr>\n"; |
echo "<tr><td colspan=\"2\"> </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)) { |
| |
if (mysql_num_rows($q) > 0) { |
| |
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\"> </td></tr>\n"; |
| |
} |
| |
echo "</table>\n"; |
| |
} else { |
| |
echo "<p>No kernels found.</p>\n"; |
| |
} |
| |
} |
| |
|
| echo "</table>"; |
|
| |
|
| include($layout_tail); |
include($layout_tail); |
| ?> |
?> |