slitaz-dev-tools diff mirror-tools/mirror-info/graphs.php @ rev 125

tazwikiss/wkp_Upload: fix data links
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 11 22:08:34 2011 +0200 (2011-08-11)
parents da3f5c898394
children
line diff
     1.1 --- a/mirror-tools/mirror-info/graphs.php	Sun Feb 27 12:19:23 2011 +0100
     1.2 +++ b/mirror-tools/mirror-info/graphs.php	Thu Aug 11 22:08:34 2011 +0200
     1.3 @@ -9,59 +9,7 @@
     1.4  	<meta name="author" content="SliTaz Contributors" />
     1.5  	<link rel="shortcut icon" href="/css/favicon.ico" />
     1.6  	<link rel="stylesheet" type="text/css" href="/css/slitaz.css" />
     1.7 -</head>
     1.8 -<body>
     1.9 -
    1.10 -<!-- Header -->
    1.11 -<div id="header">
    1.12 -    <a href="http://<?php echo $_SERVER["HTTP_HOST"]; ?>/info/"><img id="logo"
    1.13 -		src="/css/pics/website/logo.png" 
    1.14 -		title="<?php echo $_SERVER["HTTP_HOST"]; ?>/info/" alt="<?php echo $_SERVER["HTTP_HOST"]; ?>/info/" /></a>
    1.15 -    <p id="titre">#!/project/<?php echo preg_replace('/(\w+).*/i','$1',$_SERVER["HTTP_HOST"]); ?></p>
    1.16 -</div>
    1.17 -
    1.18 -<!-- Content -->
    1.19 -<div id="content-full">
    1.20 -
    1.21 -<!-- Block begin -->
    1.22 -<div class="block">
    1.23 -	<!-- Nav block begin -->
    1.24 -	<div id="block_nav">
    1.25 -		<h4>SliTaz Network</h4>
    1.26 -		<ul>
    1.27 -			<li><a href="http://www.slitaz.org/">Main Website</a></li>
    1.28 -			<li><a href="http://doc.slitaz.org/">Documentation</a></li>
    1.29 -			<li><a href="http://forum.slitaz.org/">Community Forum</a></li>
    1.30 -			<li><a href="http://scn.slitaz.org/">Community Platform</a></li>
    1.31 -			<li><a href="http://labs.slitaz.org/">SliTaz Laboratories</a></li>
    1.32 -			<li><a href="http://pkgs.slitaz.org/">Packages Database</a></li>
    1.33 -			<li><a href="http://boot.slitaz.org/">SliTaz Web Boot</a></li>
    1.34 -			<li><a href="http://tank.slitaz.org/">SliTaz main server</a></li>
    1.35 -			<li><a href="http://bb.slitaz.org/">SliTaz Build Bot</a></li>
    1.36 -			<li><a href="http://hg.slitaz.org/">SliTaz Repositories</a></li>
    1.37 -			<li><a href="http://twitter.com/slitaz">SliTaz on Twitter</a></li>
    1.38 -			<li><a href="http://www.distrowatch.com/slitaz">SliTaz on DistroWatch</a></li>
    1.39 -		</ul>
    1.40 -	<!-- Nav block end -->
    1.41 -	</div>
    1.42 -	<!-- Top block begin -->
    1.43 -	<div id="block_top">
    1.44 -		<h1>Mirror RRD stats</h1>
    1.45 -		<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
    1.46 -		<meta name="description" content="slitaz mirror rrdtool graphs" />
    1.47 -		<meta name="robots" content="noindex" />
    1.48 -		<meta name="author" content="SliTaz Contributors" />
    1.49 -		<link rel="shortcut icon" href="/css/favicon.ico" />
    1.50 -		<link rel="stylesheet" type="text/css" href="/css/slitaz.css" />
    1.51 -		<style type="text/css">
    1.52 -#nav {
    1.53 -	right: 4%;
    1.54 -}
    1.55 -
    1.56 -#content {
    1.57 -	padding: 0px 40px 60px 4%;
    1.58 -}
    1.59 -
    1.60 +	<style type="text/css">
    1.61  #copy {
    1.62  	text-align: center;
    1.63  }
    1.64 @@ -69,9 +17,44 @@
    1.65  #bottom {
    1.66  	text-align: center;
    1.67  }
    1.68 +	</style>
    1.69 +</head>
    1.70 +<body>
    1.71  
    1.72 -	</style>
    1.73 +<!-- Header -->
    1.74 +<div id="header">
    1.75 +	<div id="logo"></div>
    1.76 +	<div id="network">
    1.77 +		<a href="http://www.slitaz.org/">
    1.78 +		<img src="/css/pics/network.png" alt="network.png" /></a>
    1.79 +		<a href="http://scn.slitaz.org/">Community</a>
    1.80 +		<a href="http://doc.slitaz.org/" title="SliTaz Community Documentation">Doc</a>
    1.81 +		<a href="http://forum.slitaz.org/" title="Slitaz Forum">Forum</a>
    1.82 +		<a href="http://bugs.slitaz.org/" title="Bug Tracking System">Bugs</a>
    1.83 +		<a href="http://hg.slitaz.org/" title="SliTaz repositories">Hg</a>
    1.84 +	</div>
    1.85 +	<h1><a href="http://<?php echo $_SERVER["HTTP_HOST"]; ?>/">SliTaz 
    1.86 +	<?php $host=preg_replace('/(\w+).*/i','$1',$_SERVER["HTTP_HOST"]); echo $host; ?></a></h1>
    1.87 +</div>
    1.88  
    1.89 +<!-- Block -->
    1.90 +<div id="block">
    1.91 +	<!-- Navigation -->
    1.92 +	<div id="block_nav">
    1.93 +		<h4><img src="/css/pics/development.png" alt="development.png" />Developers Corner</h4>
    1.94 +		<ul>
    1.95 +			<li><a href="http://www.slitaz.org/en/devel/">Website devel</a></li>
    1.96 +			<li><a href="http://scn.slitaz.org/">Community</a></li>
    1.97 +			<li><a href="http://labs.slitaz.org/">Laboratories</a></li>
    1.98 +			<li><a href="http://hg.slitaz.org/">Mercurial Repos</a></li>
    1.99 +			<li><a href="http://cook.slitaz.org/">Build Bot</a></li>
   1.100 +			<li><a href="http://tank.slitaz.org/">Tank Server</a></li>
   1.101 +			<li><a href="http://mirror.slitaz.org/info/">Mirror Server</a></li>
   1.102 +		</ul>
   1.103 +	</div>
   1.104 +	<!-- Information/image -->
   1.105 +	<div id="block_info">
   1.106 +	<h4>Codename: <?php echo $host; ?></h4>
   1.107  		<p>
   1.108  			This is the SliTaz GNU/Linux main mirror. The server runs naturally SliTaz 
   1.109  			(stable) in an lguest virtual machine provided by 
   1.110 @@ -89,12 +72,11 @@
   1.111  			<code>system()</code> Mirror is also monitored by RRDtool which provides 
   1.112  			<a href="graphs.php">graphical stats</a>.
   1.113  		</p>
   1.114 -	<!-- Top block end -->
   1.115  	</div>
   1.116 -<!-- Block end -->
   1.117  </div>
   1.118  
   1.119 -
   1.120 +<!-- Content -->
   1.121 +<div id="content">
   1.122  
   1.123  <?php
   1.124