Speedtest Source |
Speedtest |
Source of:
Speedtest - Source page - Stylesheet
#!/usr/bin/php-cgi
<!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" media="all" type="text/css" href="speedtest.css">
<title>Speedtest Source</title>
</head>
<body>
<table class="page"><tr>
<td align="left"><span class="title">Speedtest</span> <span class="subtitle">Source</span></td>
<td align="right"><a href="index.php">Speedtest</a></td>
</tr></table><br>
<b>Source of:</b>
<?php
if (in_array($_GET['page'], array('index.php', 'source.php', 'speedtest.css'))) {
$page_file = $_GET['page'];
} else {
$page_file = "";
}
print ($page_file == "index.php" ? "<u>Speedtest</u>" : "<a href=\"?page=index.php\">Speedtest</a>");
print " - ";
print ($page_file == "source.php" ? "<u>Source page</u>" : "<a href=\"?page=source.php\">Source page</a>");
print " - ";
print ($page_file == "speedtest.css" ? "<u>Stylesheet</u>" : "<a href=\"?page=speedtest.css\">Stylesheet</a>");
if (!empty($page_file)) {
print "
<br><br>
<div class=\"border\"><br></div>
";
highlight_file($page_file);
}
?>
<br>
<br>
<div class="border copyright"><b>© <?php print date("Y"); ?></b> Joakim "firetech" Andersson</div>
</body>
</html>
© 2024 Joakim "firetech" Andersson