allora
Home
Codice PHP:
<?
function getmicrotime(){
static $var_controllo = 0;
static $tempo1;
if ($var_controllo == 0) {
list($usec, $sec) = explode(" ",microtime());
$tempo1 = (float)$usec + (float)$sec;
$var_controllo = 1;
} else if ($var_controllo == 1) {
list($usec, $sec) = explode(" ",microtime());
$tempo2 = (float)$usec + (float)$sec;
$tempo_esecuzione = $tempo2 - $tempo1;
$var_controllo = 0;
return round($tempo_esecuzione,3);
}
}
getmicrotime();
?>
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#525252" text="#000000" link="#FFFFFF"
vlink="#FFFFFF" alink="#FFFFFF">
<div align="center"><center>
<table border="0" cellpadding="0" cellspacing="0" width="693">
<tr>
<td><img src="top.gif" width="693" height="18"></td>
</tr>
<tr>
<td bgcolor="#000000"><img src="cslogo.jpg" width="256"
height="64"><img src="clan.gif" width="354" height="64"><br>
<font color="#FFFFFF">| <a href="Home.php">Home</a> |
<a href="Home.php?p=1">Chi siamo</a> | <a href="Home.php?p=2">Nostri Lavori</a> | <a href="Home.php?p=3">Download</a> | <a href="Home.php?p=4">Forum</a> |
</font></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><div align="center"><center><table
border="1" cellpadding="0" cellspacing="0" width="100%"
bordercolor="#000000">
<tr>
<td width="100%"><p align="center"><font size="5"
face="Arial Black"><strong>NEWS:</strong></font></p>
<p align="center"> </p>
<p align="center"><?
switch ($_GET[p]) {
case 1 :
include("Chisiamo.php");
break;
case 2:
include("Lavori.php");
break;
case 3:
include("index.php");
break;
case 4:
include("Forum.php");
break;
default:
include("Home1.php");
}
?>
</p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
</td>
</tr>
</table>
</center></div></td>
</tr>
</table>
</center></div>
<? echo"<html>
<head>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">
<link href=\"css.css\" rel=\"stylesheet\" type=\"text/css\">
</head>
<body>
<div align=\"center\"><span class=\"text5\">Pagina generata in ".getmicrotime()." secondi</span><br></div>
</body>
</html>";
?>