wok rev 7595
mirror-tools: add scm
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 11 12:04:25 2010 +0100 (2010-12-11) |
parents | 530725b34a83 |
children | 6e1a5b42a90d |
files | mirror-tools/stuff/var/www/mirror-info/index.php |
line diff
1.1 --- a/mirror-tools/stuff/var/www/mirror-info/index.php Fri Dec 10 14:19:24 2010 +0000 1.2 +++ b/mirror-tools/stuff/var/www/mirror-info/index.php Sat Dec 11 12:04:25 2010 +0100 1.3 @@ -18,7 +18,7 @@ 1.4 <a href="http://mirror-info.slitaz.org/"><img id="logo" 1.5 src="pics/website/logo.png" title="mirror-info.slitaz.org" alt="mirror-info.slitaz.org" 1.6 style="border: 0px solid ; width: 200px; height: 74px;" /></a> 1.7 - <p id="titre">#!/project/mirror</p> 1.8 + <p id="titre">#!/project/<?php echo preg_replace('/(\w+).*/i','$1',$_SERVER["HTTP_HOST"]); ?></p> 1.9 </div> 1.10 1.11 <!-- Navigation menu --> 1.12 @@ -65,7 +65,8 @@ 1.13 <div id="content"> 1.14 1.15 <h1><font color="#3E1220">Server</font></h1> 1.16 -<h2><font color="#DF8F06">Codename: mirror</font></h2> 1.17 +<h2><font color="#DF8F06">Codename: 1.18 +<?php echo preg_replace('/(\w+).*/i','$1',$_SERVER["HTTP_HOST"]); ?></font></h2> 1.19 1.20 <p> 1.21 Mirror CPU is a <?php system("sed -e '/^model name/!d;s/.*Intel(R) //;" . 1.22 @@ -130,6 +131,8 @@ 1.23 <ul> 1.24 <li><a href="http://mirror.slitaz.org/">mirror.slitaz.org</a> - SliTaz Mirror. 1.25 (<a href="http://mirror.slitaz.org/stats" target="_blank">stats</a>)</li> 1.26 + <li><a href="http://scn.slitaz.org/">scn.slitaz.org</a> - SliTaz Community Network. 1.27 + (<a href="http://mirror.slitaz.org/awstats.pl?config=scn.slitaz.org" target="_blank">stats</a>)</li> 1.28 <li><a href="http://pizza.slitaz.org/">pizza.slitaz.org</a> - SliTaz Flavor builder. 1.29 (<a href="http://mirror.slitaz.org/awstats.pl?config=pizza.mirror.slitaz.org" target="_blank">stats</a>)</li> 1.30 <li><a href="https://ajaxterm.slitaz.org/">ajaxterm.slitaz.org</a> - Slitaz Web Console.