| 1 : |
tmcnulty
|
1.2
|
<?php |
| 2 : |
|
|
error_reporting(E_ALL); |
| 3 : |
|
|
|
| 4 : |
|
|
include("$html/shared/inc/xorsis_ad.inc"); |
| 5 : |
|
|
|
| 6 : |
|
|
dbconnect(); |
| 7 : |
|
|
|
| 8 : |
|
|
if (file_exists("$html/db.lock")) { |
| 9 : |
|
|
include("update.html"); |
| 10 : |
|
|
exit; |
| 11 : |
|
|
} |
| 12 : |
|
|
|
| 13 : |
|
|
if (!isset($page)) |
| 14 : |
|
|
$page = ""; |
| 15 : |
|
|
|
| 16 : |
|
|
/* $http_referer = getenv("HTTP_REFERER"); |
| 17 : |
|
|
$remote_addr = getenv("REMOTE_ADDR"); |
| 18 : |
|
|
$http_user_agent = getenv("HTTP_USER_AGENT"); |
| 19 : |
|
|
mysql_query("INSERT INTO kernel_hits VALUES(0,CURRENT_TIMESTAMP,\"$page\",\"$http_referer\",\"$remote_addr\",\"$http_user_agent\")"); |
| 20 : |
|
|
*/ |
| 21 : |
|
|
function space($x,$y) { |
| 22 : |
|
|
echo "<img src=\"/images/pixel.gif\" height=\"$x\" width=\"$y\" alt=\"\">"; |
| 23 : |
|
|
} |
| 24 : |
|
|
|
| 25 : |
|
|
function echonav($nav, $target) { |
| 26 : |
|
|
global $page; |
| 27 : |
|
|
|
| 28 : |
|
|
if ($target != "") |
| 29 : |
|
|
$targetdata = " target=\"$target\""; |
| 30 : |
|
|
else |
| 31 : |
|
|
$targetdata = ""; |
| 32 : |
|
|
echo "<p>\n"; |
| 33 : |
|
|
for ($i = 0; $i < count($nav); $i++) { |
| 34 : |
|
|
if ($page == $nav[$i]["page"] && !empty($page)) |
| 35 : |
|
|
echo "<b><em>" . $nav[$i]["text"] . "</em></b><br>"; |
| 36 : |
|
|
else |
| 37 : |
|
|
echo "<b><a href=\"" . $nav[$i]["address"] . "\"$targetdata>" . $nav[$i]["text"] . "</a></b><br>"; |
| 38 : |
|
|
} |
| 39 : |
|
|
echo "</p>"; |
| 40 : |
|
|
} |
| 41 : |
|
|
|
| 42 : |
|
|
$sitelinks = array( array("page"=>"home","address"=>"/","text"=>"Home"), |
| 43 : |
|
|
array("page"=>"specialized","address"=>"/specialized.php","text"=>"Specialized Kernels"), |
| 44 : |
|
|
array("page"=>"choosing","address"=>"/choosing.php","text"=>"Choosing a Kernel"), |
| 45 : |
|
|
// array("page"=>"benh","address"=>"/benh.php","text"=>"Ben Kernels"), |
| 46 : |
|
|
// array("page"=>"paulus","address"=>"/paulus.php","text"=>"Paulus Kernels"), |
| 47 : |
|
|
// array("page"=>"bitkeeper","address"=>"/bitkeeper.php","text"=>"BitKeeper Kernels"), |
| 48 : |
|
|
// array("page"=>"prepatch","address"=>"/prepatch.php","text"=>"Prepatch Kernels"), |
| 49 : |
|
|
// array("page"=>"official","address"=>"/official.php","text"=>"Official Kernels"), |
| 50 : |
|
|
array("page"=>"installation","address"=>"/installation.php","text"=>"Installation Instructions"), |
| 51 : |
|
|
array("page"=>"forums","address"=>"/forums/","text"=>"Discussion Forums"), |
| 52 : |
|
|
array("page"=>"list","address"=>"/list.php","text"=>"Mailing List"), |
| 53 : |
|
|
array("page"=>"source","address"=>"/source.php","text"=>"Source Code"), |
| 54 : |
|
|
array("page"=>"contact","address"=>"/contact.php","text"=>"Contact Information")); |
| 55 : |
|
|
|
| 56 : |
|
|
$kerneltrees = array(); |
| 57 : |
|
|
|
| 58 : |
tmcnulty
|
1.3
|
if ($localq = mysql_query("select id, tree, name from treeinfo where tree!='pmac' and tree!='tss' order by name")) |
| 59 : |
tmcnulty
|
1.2
|
while ($localr = mysql_fetch_object($localq)) |
| 60 : |
|
|
$kerneltrees[] = array("page"=>"$localr->tree","address"=>"/tree.php?id=$localr->id","text"=>str_replace(" "," ","$localr->name")); |
| 61 : |
|
|
|
| 62 : |
tmcnulty
|
1.4
|
$distributions = array(array("page"=>"","address"=>"http://www.gentoo.org/","text"=>"Gentoo Linux"), |
| 63 : |
|
|
array("page"=>"","address"=>"http://www.debian.org/","text"=>"Debian GNU/Linux"), |
| 64 : |
tmcnulty
|
1.2
|
array("page"=>"","address"=>"http://www.yellowdoglinux.com/","text"=>"Yellow Dog Linux"), |
| 65 : |
|
|
array("page"=>"","address"=>"http://www.mandrake.org/","text"=>"Mandrake Linux"), |
| 66 : |
|
|
array("page"=>"","address"=>"http://www.suse.com/","text"=>"SuSE Linux"), |
| 67 : |
|
|
array("page"=>"","address"=>"http://cruxppc.sunsite.dk","text"=>"CRUX GNU/Linux"), |
| 68 : |
|
|
array("page"=>"","address"=>"http://www.rocklinux.org/powerpc.html","text"=>"ROCK Linux"), |
| 69 : |
|
|
array("page"=>"","address"=>"http://www.mklinux.org/","text"=>"MkLinux"), |
| 70 : |
|
|
|
| 71 : |
|
|
//array("page"=>"","address"=>"http://www.darwinlinux.org/","text"=>"Darwin Linux") |
| 72 : |
|
|
); |
| 73 : |
|
|
|
| 74 : |
|
|
$linuxlinks = array(array("page"=>"","address"=>"http://www.penguinppc.org/","text"=>"PenguinPPC"), |
| 75 : |
tmcnulty
|
1.4
|
array("page"=>"","address"=>"http://www.kernel.org/","text"=>"Kernel.Org"), |
| 76 : |
tmcnulty
|
1.2
|
array("page"=>"","address"=>"http://www.freshmeat.net/","text"=>"Freshmeat")); |
| 77 : |
|
|
|
| 78 : |
|
|
$maclinks = array(array("page"=>"","address"=>"http://www.macdiscussion.com/","text"=>"MacDiscussion"), |
| 79 : |
|
|
array("page"=>"","address"=>"http://www.macnn.com/","text"=>"Mac News Network"), |
| 80 : |
|
|
array("page"=>"","address"=>"http://www.macsurfer.com/","text"=>"Mac Surfer"), |
| 81 : |
|
|
array("page"=>"","address"=>"http://www.applelinks.com/","text"=>"AppleLinks"), |
| 82 : |
|
|
array("page"=>"","address"=>"http://www.macintouch.com/","text"=>"Macintouch"), |
| 83 : |
|
|
array("page"=>"","address"=>"http://www.macfixit.com/","text"=>"MacFixIt"), |
| 84 : |
|
|
array("page"=>"","address"=>"http://www.macresource.com/","text"=>"Mac Resource"), |
| 85 : |
|
|
array("page"=>"","address"=>"http://www.macosrumors.com/","text"=>"Mac OS Rumors"), |
| 86 : |
|
|
array("page"=>"","address"=>"http://www.macslash.com/","text"=>"MacSlash"), |
| 87 : |
|
|
array("page"=>"","address"=>"http://www.maccentral.com/","text"=>"MacCentral")); |
| 88 : |
|
|
|
| 89 : |
|
|
?> |
| 90 : |
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" |
| 91 : |
|
|
"http://www.w3.org/TR/REC-html40/loose.dtd"> |
| 92 : |
|
|
<html> |
| 93 : |
|
|
<head> |
| 94 : |
|
|
<meta name="resource-type" content="document"> |
| 95 : |
|
|
<meta http-equiv="pragma" content="no-cache"> |
| 96 : |
|
|
<meta name="revisit-after" content="10"> |
| 97 : |
|
|
<meta name="classification" content="Linux"> |
| 98 : |
|
|
<meta name="description" content="The PowerPC Kernel Archives are a compilation of the different PowerPC Linux kernel source trees and binary builds of all of those trees. The site also includes some information on the different trees and discussion forums for talking about Linux and the Linux kernel."> |
| 99 : |
|
|
<meta name="keywords" content="xorsis, linux, powerpc, ppc, kernel, source, build, compile, archive, forum, ppc kernel, powerpc kernel, kernel source, kernel build, kernel builds, ppc source, ppc build, ppc builds, powerpc source, powerpc build, powerpc builds, ppc linux powerpc linux, linux powerpc, linux ppc, linuxpowerpc, linuxppc, powerpclinux, ppclinux"> |
| 100 : |
|
|
<meta name="robots" content="ALL"> |
| 101 : |
|
|
<meta name="distribution" content="Global"> |
| 102 : |
|
|
<meta name="rating" content="General"> |
| 103 : |
|
|
<meta name="copyright" content="Copyright 2000-2001 Xorsis Software. All rights reserved."> |
| 104 : |
|
|
<meta name="author" content="Xorsis Software"> |
| 105 : |
|
|
<meta http-equiv="reply-to" content="webmaster@ppckernel.org"> |
| 106 : |
|
|
<meta name="language" content="English"> |
| 107 : |
|
|
<meta name="doc-type" content="Web Page"> |
| 108 : |
|
|
<meta name="doc-class" content="Living Document"> |
| 109 : |
|
|
<meta name="doc-rights" content="Copywritten Work"> |
| 110 : |
|
|
<title><?php echo $title; ?></title> |
| 111 : |
|
|
<link rel="stylesheet" type="text/css" href="/shared/style/css.php"> |
| 112 : |
|
|
</head> |
| 113 : |
|
|
<body bgcolor="#FFFFFF"> |
| 114 : |
|
|
<table cellspacing="0" cellpadding="0" border="0" width="100%"><tr><td class="border"> |
| 115 : |
|
|
<table cellpadding="10" cellspacing="1" border="0" width="100%"> |
| 116 : |
|
|
<tr> |
| 117 : |
|
|
<td class="header" colspan="2"> |
| 118 : |
|
|
<h1>PowerPC Kernel Archives</h1> |
| 119 : |
|
|
<p><b>Your source for the latest builds of stable and development Linux kernels for PowerPC computers.</b></p> |
| 120 : |
|
|
</td> |
| 121 : |
|
|
</tr> |
| 122 : |
|
|
<tr> |
| 123 : |
|
|
<td class="navbar" valign="top"> |
| 124 : |
|
|
<h2>Kernel Trees</h2> |
| 125 : |
|
|
<?php echonav($kerneltrees, ""); ?> |
| 126 : |
|
|
<h2>Site Links</h2> |
| 127 : |
|
|
<?php echonav($sitelinks, ""); ?> |
| 128 : |
|
|
<h2>Linux Links</h2> |
| 129 : |
|
|
<?php echonav($linuxlinks, "external"); ?> |
| 130 : |
|
|
<h2>Distributions</h2> |
| 131 : |
|
|
<?php echonav($distributions, "external"); ?> |
| 132 : |
|
|
<h2>Mac Links</h2> |
| 133 : |
|
|
<?php echonav($maclinks, "external"); ?> |
| 134 : |
|
|
</td> |
| 135 : |
|
|
<td class="body" valign="top" width="100%"> |
| 136 : |
|
|
<!--table cellpadding="1" cellspacing="0" border="0" align="center"> |
| 137 : |
|
|
<tr><td><?php /*xorsis_ad("kn");*/ ?></td></tr> |
| 138 : |
|
|
</table> |
| 139 : |
|
|
<br--> |