slitaz-forge diff pangolin/web/index.php @ rev 714

Virtual machines have moved
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 01 10:43:39 2021 +0000 (2021-02-01)
parents 61a312917e44
children cfad9fa3f53c
line diff
     1.1 --- a/pangolin/web/index.php	Wed Jan 01 18:26:56 2020 +0100
     1.2 +++ b/pangolin/web/index.php	Mon Feb 01 10:43:39 2021 +0000
     1.3 @@ -21,7 +21,6 @@
     1.4  		<a href="http://doc.slitaz.org/">Doc</a>
     1.5  		<a href="http://forum.slitaz.org/">Forum</a>
     1.6  		<a href="http://irc.slitaz.org/">IRC</a>
     1.7 -		<a href="http://shop.slitaz.org/">Shop</a>
     1.8  		<a href="http://bugs.slitaz.org">Bugs</a>
     1.9  		<a href="http://hg.slitaz.org/?sort=lastchange">Hg</a>
    1.10  	</div>
    1.11 @@ -54,11 +53,12 @@
    1.12  		<p>
    1.13  			This is the SliTaz GNU/Linux main server and build host. 
    1.14  			The server runs naturally SliTaz and provides some services
    1.15 -			to all contributors.
    1.16 +			to all contributors. The virtual machine provided by 
    1.17 +			<a href="https://www.linkedin.com/company/balinor-technologies/">balinor-technologies</a>.
    1.18  		</p>
    1.19  		<p>
    1.20  			Pangolin CPU is a <?php system("sed -e '/^model name/!d;s/.*Intel(R) //;" .
    1.21 -			"s/@//;s/(.*)//;s/CPU //;s/.*AMD //;s/.*: //;s/Processor //' </proc/cpuinfo |" .
    1.22 +			"s/@//;s/(.*)//;s/CPU //;s/.*AMD //;s/.*: //;s/Processor //' </etc/cpuinfo |" .
    1.23  			" awk '{ s=$0; n++ } END { if (n == 2) printf \"dual \";" .
    1.24  			"if (n == 4) printf \"quad \"; print s }' ")?> -
    1.25  			<?php system("free | awk '/Mem:/ { x=2*$2-1; while (x >= 1024) { x /= 1024; ".
    1.26 @@ -230,8 +230,17 @@
    1.27  	array(	"flag"  => "de",
    1.28  		"http"  => "http://ftp.uni-stuttgart.de/slitaz/",
    1.29  		"ftp"   => "ftp://ftp.uni-stuttgart.de/slitaz/"),
    1.30 +	array(	"flag"  => "de",
    1.31 +		"ftp"	=> "ftp://fb04272.mathematik.tu-darmstadt.de/pub/linux/distributions/slitaz/",
    1.32 +		"ftp"	=> "ftp://linux.mathematik.tu-darmstadt.de/pub/linux/distributions/misc/slitaz/"),
    1.33 +	array(	"flag"  => "pl",
    1.34 +		"ftp"	=> "ftp://ftp.icm.edu.pl/vol/rzm5/linux-ibiblio/distributions/slitaz/"),
    1.35  	array(	"flag"  => "au",
    1.36  		"http"  => "http://mirror.iprimus.com/slitaz/"),
    1.37 +	array(	"flag"  => "fr",
    1.38 +		"http"	=> "https://dl.aurorafoss.org/slitaz/"),
    1.39 +	array(	"flag"  => "us",
    1.40 +		"http"	=> "http://mirror.math.princeton.edu/pub/slitaz/"),
    1.41  	array(	"flag"  => "us",
    1.42  		"http"  => "http://mirror.clarkson.edu/slitaz/",
    1.43  		"rsync" => "rsync://mirror.clarkson.edu/slitaz/")) as $mirror) {
    1.44 @@ -240,8 +249,10 @@
    1.45  	foreach(array("http", "ftp", "rsync") as $proto) {
    1.46  		if (!isset($mirror[$proto])) continue;
    1.47  		$link = $mirror[$proto];
    1.48 +		$serveur = parse_url($link, PHP_URL_HOST);
    1.49  		if (!test_url($link, $proto)) continue;
    1.50 -		$serveur = parse_url($link, PHP_URL_HOST);
    1.51 +		#if (!test_url($link, $proto)) $link2 = "<del>".$link."</del>";
    1.52 +		#else $link2 = $link;
    1.53  		if ($head) echo <<<EOT
    1.54  	<li><a href="http://en.utrace.de/?query=$serveur">
    1.55  		<img title="map" src="$flag" alt="map" /></a>