tree; $name = $r->name; $description = $r->description; } } $page = $tree; $title = $name; } else { $page = "error"; $title = "Error"; } include($layout_top); if (isset($id)) { echo "

$name

\n"; echo "

$description

\n"; if (!($dbh = dbconnect())) { echo "FATAL ERROR: dbconnect() failed."; exit; } //echo "
\n"; echo "\n"; if ($q = mysql_query("select name, safename, fullname, description from builds,mastertrees where mastertrees.tree=\"$tree\" and mastertree=mastertrees.name and configfile=\"\" and patchfile=\"\"", $dbh)) { $i=0; while ($r = mysql_fetch_object($q)) { $i++; showkernel($r->name, $r->safename, $r->fullname, $r->description, "", ""); if ($i < mysql_num_rows($q)) echo "\n"; } } else { echo mysql_error(); } echo "
 
\n"; // echo "
\n"; } else { echo "

Error

\n"; echo "

No tree ID was specified. What exactly do you want me to do here?

\n"; } include($layout_tail); ?>