<?php
-$buildlogs_server = "buildlogs.pld.org.pl";
+$buildlogs_server = "buildlogs.pld-linux.org";
$url = "index.php";
$addr = array(
"/ac/i386",
"/ra/alpha",
"/ra/sparc",
"/ra/ppc",
- "/nest/athlon",
"/nest/i386",
"/nest/i586",
"/nest/i686",
+ "/nest/athlon",
"/nest/ppc"
);
-$qa_base = "http://ftp.pld.org.pl/.stat/builder";
+$qa_base = "http://ftp.pld-linux.org/.stat/builder";
$qa_addr = array(
+ "/ep/rpmqa-ac-i386.txt",
+ "/ep/rpmqa-ac-i386.txt",
+ "/ep/rpmqa-ac-i386.txt",
"",
- "/kenny/rpmqa-nest-i386.txt",
- "/kenny/rpmqa-nest-i586.txt",
- "/kenny/rpmqa-nest-i686.txt",
+ "/alpha/rpmqa-ac-alpha.txt",
+ "/newboss/rpmqa-ac-sparc.txt",
"",
"/ep/rpmqa-ra-i386.txt",
"/ep/rpmqa-ra-i586.txt",
"/mifgate/rpmqa-ra-alpha.txt",
"/team/rpmqa-ra-sparc.txt",
"",
- "/ep/rpmqa-ac-i386.txt",
- "/ep/rpmqa-ac-i386.txt",
- "/ep/rpmqa-ac-i386.txt",
- "/alpha/rpmqa-ac-alpha.txt",
- "/newboss/rpmqa-ac-sparc.txt",
+ "/kenny/rpmqa-nest-i386.txt",
+ "/kenny/rpmqa-nest-i586.txt",
+ "/kenny/rpmqa-nest-i686.txt",
+ "",
""
);
$local = 1; /* $local=0 for FTP */
-$root_directory = "/home/services/ftp/pub/logs";
+$root_directory = "/home/services/ftp/pub/pld-buildlogs";
$ftp_conn = 0;
/* It should be set */
if (isset($_GET["idx"]))$idx=$_GET["idx"];
if (isset($_GET["ok"]))$ok=$_GET["ok"];
+else $ok="";
if (isset($_GET["ns"]))$ns=$_GET["ns"];
+else $ns="";
if (isset($_GET["cnt"]))$cnt=$_GET["cnt"];
if (isset($_GET["action"]))$action=$_GET["action"];
+else $action="";
if (isset($_GET["off"]))$off=$_GET["off"];
if (isset($_GET["id"]))$id=$_GET["id"];
}
if (ftp_login($ftp, "anonymous",
- "buildlogs-iface@pld.org.pl") == false) {
+ "buildlogs-iface@pld-linux.org") == false) {
ftp_quit($ftp);
mydie(_("cannot ftp login to")." $buildlogs_server");
return false;
$dir = opendir("$root_directory$a");
$i = 0;
+ $list = array ();
while ($file = readdir($dir)) {
if (($file != ".") && ($file != "..")) {
$list[$i] = "$a/$file";
if ($ns != 1) {
$ns = 0;
- usort($list, cmp);
+ usort($list, "cmp");
} else {
sort($list);
}
function list_archs()
{
- global $addr, $url, $idx, $cnt;
+ global $addr, $url, $idx, $cnt,$ok,$ns;
if (!isset($cnt))
$cnt = 16;
echo "<a href=\"$big_url&action=adv_search\">"._("Advanced Search")."</a><br />\n";
echo "<a href=\"$url\">main()</a><hr />\n";
- echo "<a href=\"http://www.pld.org.pl/\"><img src=\"powpld.png\" ".
+ echo "<a href=\"http://www.pld-linux.org/\"><img src=\"powpld.png\" ".
"alt=\""._("Powered by PLD Linux")."\" border=\"0\" /></a><br />\n" .
"<small>(c) 2002 ".
- "<a href=\"mailto:feedback@pld.org.pl\">PLD Team</a>\n".
+ "<a href=\"mailto:feedback@pld-linux.org\">PLD Team</a>\n".
"</small></div>\n";
# smile ;)
"Real Operating System", "Real Computer",
"computron", "bogon", "quantum bogodynamics",
"BOFH", "/dev/ill", "nasi tu byli",
- "Paranoid Android", "Lunatic Corp", "Parallel thinking"
+ "Paranoid Android", "Lunatic Corp", "Parallel thinking",
+ "sfistak", "Linus", "The Golden Path", "Dark Side of the Force",
+ "Przewodniczacego Lepper-a", "KDE", "Microsoft Windows 2003"
# feel free to add sth if you change this file ;)
);
echo _("Powered by")." ";
global $qa_addr;
- if ($qa_addr[$idx] != "") {
+ if (isset($qa_addr[$idx]) && $qa_addr[$idx] != "") {
echo "<form action=\"index.php\" method=\"post\">";
echo "<input type=hidden name=idx value=$idx />";
echo "<input type=hidden name=action value=sqa />";
<p><?=_("Welcome to PLD Build Logs WWW interface.")?></p><p>
<?=_("Feel free to email bug reports, complaints and feature requests ")?>
<!-- ech... niech strace... -->
-<a href="mailto:feedback@pld.org.pl"><?=_("to us")?></a>. <?=_("Positive opinions are also")?>
-<a href="mailto:feedback@pld.org.pl"><?=_("welcome")?></a> ;)</p>
-<p>Version: $Id: index.php,v 1.55 2002/11/01 17:59:32 ankry Exp $</p>
+<a href="mailto:feedback@pld-linux.org"><?=_("to us")?></a>. <?=_("Positive opinions are also")?>
+<a href="mailto:feedback@pld-linux.org"><?=_("welcome")?></a> ;)</p>
+<p>Version: $Id: index.php,v 1.62 2003/06/07 17:18:35 blues Exp $</p>
</td><td width="20%"> </td></tr>
</table>
<?php