[cvs] / gkbweb / htdocs / adtest.php  

cvs: gkbweb/htdocs/adtest.php

File: [cvs] / gkbweb / htdocs / adtest.php (download) (as text)
Revision: 1.2, Sat Dec 18 20:27:04 2004 UTC (8 years, 5 months ago) by tmcnulty
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +11 -9 lines
new ad colors

<?php
//    error_reporting(E_ALL);
    
include($DOCUMENT_ROOT."/shared/inc/global.inc");
    
$page "home";
    
$title "PowerPC Linux Kernel Archives";
    
    
$host "www.ppckernel.org";
    
    if (!(
$dbh dbconnect())) {
        echo 
"FATAL ERROR: dbconnect() failed.";
        exit;
    }
    
    include(
$layout_top);
?>
<h2>PowerPC Kernel Archives</h2>
<p>Welcome to the PowerPC Kernel Archives at ppckernel.org.  We've completely redone our site to bring you not only up-to-date builds of the latest PowerPC kernel source trees, but a carefully selected set of specialized kernels as well.  Our specialized kernels are aimed at supporting specific hardware setups or PowerPC linux distributions, such as Yellow Dog or SuSE.  For more information visit the <a href="specialized.php">specialized kernel</a> page.</p>
<script type="text/javascript"><!--
google_ad_client = "pub-0471262337098631";
google_ad_width = 120;
google_ad_height = 240;
google_ad_format = "120x240_as";
google_ad_channel ="";
google_ad_type = "text";
google_color_border = "C0C0CC";
google_color_bg = "F0F0F0";
google_color_link = "303030";
google_color_url = "00015F";
google_color_text = "303030";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
  </script>

<h3>Default Builds</h3>
<p>One of the primary services of this site is to bring you up-to-date builds of the latest PowerPC Linux kernel source trees.  Below you will find a list of the current trees we're hosting, with download links to the kernel binaries.  For more information about the specific trees and links to their source code archives, select one of the items under the Kernel Trees menu to your left.</p>
<?php
    
echo "<table border=\"0\" cellpadding=\"5\" cellspacing=\"0\">\n";
    
    if (
$q mysql_query("select safename, fullname from builds where configfile = \"\" and patchfile = \"\" order by fullname"$dbh)) {
        
$i 0;
        while (
$r mysql_fetch_object($q)) {
            
$i++;
            
$info = new buildinfo($r->safename);
            
            
dlstart($r->fullname$info->version);
            
            if (
$info->version != "None") {
                echo 
"<p><b>Built on:</b> ".formatdate($info->date)."<br>\n";
                echo 
"<b>Download:</b> " binarylink($r->safename$info->version) . "</p>\n";
            } else {
                echo 
"<p>There are currently no builds of this kernel available.</p>";
            }
            
            if (!empty(
$info->failed))
                echo 
"<p><b>Note:</b> the source code for $info->failed 
is available but could not be built. Last build
attempted "
.formatdate($info->failed_date).".</p>\n";
            
            
            
dlend();
            
            if (
$i mysql_num_rows($q))
                echo 
"<tr><td colspan=\"2\">&nbsp;</td></tr>\n";
        }
    }
    
    echo 
"</table>";
    
    include(
"$html/shared/inc/subscribe.inc");
?>
<!--<h2>Older Builds</h2>
<p>An archive of older builds is also available for each kernel tree we host here.  To browse the archives, select one of the kernel trees below.</p>
<table border="0" cellpadding="2" cellspacing="0">
<?php
    dbconnect
();
    
    if (
$q mysql_query("select fullname, safename from builds")) {
        while (
$r mysql_fetch_object($q)) {
?>
<tr>
    <td align="right"><b><?php echo $r->fullname?>:</b></td>
    <td><a href="/<?php echo $r->safename?>/"><?php echo $r->safename?></a></td>
</tr>
<?php
        
}
    }
?>
</table>-->
<?php include($layout_tail); ?>

Tobias McNulty

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help