rendered paste body<html>
<head>
<title>Ted Winder » Server Error</title>
<style type="text/css">
body { font: 12px 'Lucida Grande', LucidaGrande, Lucida, Helvetica, Arial, sans-serif; background: url(http://leomancini.net/error_pages/images/bg.png) repeat-x #cdcdcd;}
h1 { text-shadow: 0px 1px 1px #white; color: #333; }
h2 { text-shadow: 0px 1px 1px #white; color: #333; margin: 0px; padding: 0px;}
a { text-shadow: 0px 1px 1px #white; color: #000; text-decoration: none; text-align: left;}
a:hover { text-shadow: 0px 1px 1px #white; color: #646464; text-decoration: none; }
#content { text-shadow: 0px 1px 1px #white; color: #333; line-height: 37px; margin: auto;}
#content_box { background: url(http://leomancini.net/error_pages/images/content_box.png) no-repeat; text-shadow: 0px 1px 1px #white; color: #333; width: 513px; height: 144px; line-height: 27px; padding: 11px; margin: auto;}
#content_box_small{ background: url(http://leomancini.net/error_pages/images/content_box_small.png) no-repeat; text-shadow: 0px 1px 1px #white; color: #333; width: 525px; height: 144px; line-height: 27px; padding: 6px; margin: auto;}
</style>
</head>
<body>
<div id="content">
<br><br><br>
<center>
<h1>Oops!</h1>
</center>
<div id="content_box"><h2>
<?php
if($_GET['a'] == "") {
$badurl = $_GET['badurl'];
$type = $_GET['type'];
?>Grr! The all-knowing server says something went wrong. Stupid server...
<br>
<form action="?a=send" method="POST" style="display: inline;">
<input type="hidden" value="<?php echo $badurl; ?>" name="badurl">
<input type="hidden" value="<?php echo $type; ?>" name="type">
<input type="submit" value=" Tell Us About It " style="font-size: 12pt; margin-top: 12px;">
<input type="button" value=" Go Home " style="font-size: 12pt; margin-top: 12px;" onclick="window.location = 'http://www.tedwinder.org';"></form>
<form action="?a=fix" method="POST" style="display: inline;">
<input type="hidden" value="<?php echo $badurl; ?>" name="badurl">
<input type="hidden" value="<?php echo $type; ?>" name="type">
<input type="submit" value=" Try n' Fix It " style="font-size: 12pt; margin-top: 12px;"></form></h2>
<?php
} elseif($_GET['a'] == "send") {
$badurl = $_POST['badurl'];
$type = $_POST['type'];
$message = "Hi Ted,
Someone just reported an error on your site.
The URL: $badurl seems to be out of order ($type error).
This occurred on " . date("l, F j, Y") . " and the user's IP was " . $_SERVER['REMOTE_ADDR'] . ".
Please investigate as soon as possible! Thanks.
Sincerely,
Mr. PHP and Mrs. Apache";
$headers = 'From: report@tedwinder.org' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
?>
Thanks for reporting the error! Ted has just got an email about it and he'll try and fix it as soon as he can!
<br>
<input type="button" value=" Go Home " style="font-size: 12pt; margin-top: 12px;" onclick="window.location = 'http://www.tedwinder.org';">
<?php
} elseif($_GET['a'] == "fix") {
$badurl = $_POST['badurl'];
$type = $_POST['type'];
?>
<SCRIPT LANGUAGE="JavaScript">
<!--start stealth
//---------------------------------
//GoTo SCRIPT BY ALEX KEENE 1997
//INFO@FIRSTSOUND.COM
//---------------------------------
function GoToURL(j) {
window.status=('Connecting....')
var URLis;
URLis = document.URLframe.Dest.value
if (URLis == "" )
{
alert('Please enter a URL.');
window.status=('Missing data or Invalid. Try again?')
}
else
{
var location=(URLis);
this.location.href = location;
window.status=('Validating ...');
}
}
//-->
</SCRIPT>
Think the server made a mistake? Type a new URL and we'll see....
<br>
</h2>
<form name="URLframe">
<input type="text" name="Dest" size="49" style="font-size: 12pt;" value="<?php echo $badurl; ?>">
<input type="button" value=" Go Back " onclick="history.go(-1)" style="font-size: 12pt; margin-top: 12px;">
<input type="button" value=" Try It " onclick="GoToURL(this)" style="font-size: 12pt; margin-top: 12px;">
</form>
<?php
}
?>
</div>
<div id="content_box_small"><center>
Error: <?php echo $type; ?> | URL: <?php echo $badurl; ?>
</center>
</div>
</div>
</body>
</html>