| 1 : |
tmcnulty
|
1.1
|
<?php
|
| 2 : |
|
|
include($DOCUMENT_ROOT."/shared/inc/global.inc");
|
| 3 : |
|
|
$page = "specialized";
|
| 4 : |
|
|
$title = "Specialized Kernels";
|
| 5 : |
|
|
|
| 6 : |
|
|
$host = "www.ppckernel.org";
|
| 7 : |
|
|
|
| 8 : |
|
|
if (!($dbh = dbconnect())) {
|
| 9 : |
|
|
echo "FATAL ERROR: dbconnect() failed.";
|
| 10 : |
|
|
exit;
|
| 11 : |
|
|
}
|
| 12 : |
|
|
|
| 13 : |
|
|
include($layout_top);
|
| 14 : |
|
|
?>
|
| 15 : |
|
|
<h2>Specialized Kernels</h2>
|
| 16 : |
|
|
<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>
|
| 17 : |
|
|
<?php
|
| 18 : |
|
|
echo "<table border=\"0\" cellpadding=\"5\" cellspacing=\"0\">\n";
|
| 19 : |
|
|
|
| 20 : |
|
|
if ($q = mysql_query("select id, safename, fullname, summary from builds where configfile != \"\" or patchfile != \"\" order by fullname", $dbh)) {
|
| 21 : |
|
|
$i = 0;
|
| 22 : |
|
|
while ($r = mysql_fetch_object($q)) {
|
| 23 : |
|
|
$i++;
|
| 24 : |
|
|
$info = new buildinfo($r->safename);
|
| 25 : |
|
|
|
| 26 : |
|
|
dlstart($r->fullname, $info->version);
|
| 27 : |
|
|
|
| 28 : |
|
|
if ($info->version != "None") {
|
| 29 : |
|
|
echo "<p>$r->summary</p>\n";
|
| 30 : |
|
|
echo "<p><b>Latest build:</b> $info->version<br>\n";
|
| 31 : |
|
|
echo "<b>Built on:</b> $info->date</p>\n";
|
| 32 : |
|
|
|
| 33 : |
|
|
} else {
|
| 34 : |
|
|
echo "<p>There are currently no builds of this kernel available.</p>";
|
| 35 : |
|
|
}
|
| 36 : |
|
|
|
| 37 : |
|
|
echo "<p><a href=\"kernel.php?id=$r->id\">More info...</a></p>\n";
|
| 38 : |
|
|
|
| 39 : |
|
|
dlend();
|
| 40 : |
|
|
|
| 41 : |
|
|
if ($i < mysql_num_rows($q))
|
| 42 : |
|
|
echo "<tr><td colspan=\"2\"> </td></tr>\n";
|
| 43 : |
|
|
}
|
| 44 : |
|
|
}
|
| 45 : |
|
|
|
| 46 : |
|
|
echo "</table>";
|
| 47 : |
|
|
|
| 48 : |
|
|
include($layout_tail);
|
| 49 : |
|
|
?>
|