\n";
print " \n";
print "# of hits: \n";
print " \n";
}
?>
";
?>
|
';
print ' ';
print ' ';
print "".date ("l dS o F Y")." \n";
if (file_exists("$pg.shtml")) {
readfile("$pg.shtml");
}
if ($pg=='Books') {
readfile("http://www.vex.net/~schrist/b5/books.cgi");
} elseif ($pg=='CD') {
readfile("http://www.vex.net/~schrist/b5/cd.cgi");
} elseif ($pg=='Video' or $pg=='DVD') {
readfile("http://www.vex.net/~schrist/b5/video.cgi?$pg");
} elseif ($pg=='') {
$bodypage = @file_get_contents('http://www.vex.net/~schrist/b5/news.cgi');
if ($bodypage === FALSE) {
echo " FALSE";
$error = error_get_last();
echo "HTTP request failed. Error was: " . $error['message'];
} else {
echo " - - - - - - smc - - - - - [".strlen ( $bodypage )."] ";
echo $bodypage;
echo " - - - - - - smc - - - - - ";
}
$feed = 'http://www.vex.net/~schrist/b5/news.cgi';
$bodypage = curl($feed);
echo " - - - - - - smc - - - - - [".strlen ( $bodypage )."] ";
echo $bodypage;
echo " - - - - - - smc - - - - - ";
} elseif ($pg=='prev') {
readfile("http://www.vex.net/~schrist/b5/news.cgi?previous");
} elseif ($pg=='space') {
readfile("http://www.vex.net/~schrist/b5/space.cgi");
} elseif ($pg=='canalz') {
readfile("http://www.vex.net/~schrist/b5/canalz.cgi");
} elseif ($pg=='jeremiah') {
readfile("http://www.vex.net/~schrist/b5/jeremiah.cgi");
} else {
}
if (file_exists($pg."_bottom.shtml")) {
readfile($pg."_bottom.shtml");
}
readfile("http://www.vex.net/~schrist/b5/disclaimer.shtml");
?>
|
|