/*
$file_headers = @get_headers($url);
if( preg_match("/404/i", $file_headers[0]) )
{ header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found", true, 404); include($_SERVER["DOCUMENT_ROOT"]."/notavailable.htm"); }
else if ( preg_match("/302/i", $file_headers[0]) && preg_match("/404/i", $file_headers[7]))
{ header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found", true, 404); include($_SERVER["DOCUMENT_ROOT"]."/notavailable.htm"); }
else {
$content = file_get_contents($url);
$patternsA = array();
$replacementsA = array();
$patternsA[1] = '/JAVASCRIPT APPENDED BY WAYBACK MACHINE([\s\S]*)/im';
$patternsA[2] = '/([\s\S]*)<\!-- End Wayback Rewrite JS Include -->/';
$patternsA[3] = '/\/web\/2\d*.?.?.?\/https?:(\/\/.?.?.?.?.?.?ocities\.html?)/';
$patternsA[4] = '/(\/web\/2\d*.?.?.?\/https?:\/\/.?.?.?.?.?.?ocities\.[a-z^h])/';
$replacementsA[1] = '';
$replacementsA[2] = ''; // Not available here. Checking web.archive.org Wayback Machine..... ';
$replacementsA[3] = '$1';
$replacementsA[4] = 'https://archive.org$1';
$content = preg_replace($patternsA, $replacementsA, $content);
$patterns = array();
$patterns[0] = '/src="http:/i';
$patterns[1] = '/(href=.h?t?t?p?s?:..)([a-z^w]*)\.g?e?o?ocities\.com/i';
$patterns[2] = '/(href.*)w*\.?g?e?o?ocities\.com/';
$patterns[3] = '/<\!-- text below generated by server. PLEASE REMOVE -->([\s\S]*)<\!--/im';
$patterns[4] = '/<\!-- following code added by server. PLEASE REMOVE -->([\s\S]*)\<\!-- preceding code added by server. PLEASE REMOVE -->/';
$patterns[5] = '/([\s\S]*)/';
$replacements = array();
$replacements[0] = 'src="//:';
$replacements[1] = '$1www.oocities.org/$2';
$replacements[2] = '$1www.oocities.org';
$replacements[3] = "" //
=========================================\n\n\n\n Again, this was an old website. \n\n We are a Museum. Have beautiful day and year 2020 :)\n\n\n\n\n\n\n\n\n\n";
$replacements[4] = '';
$replacements[5] = '';
if (preg_match ("/OFF-wikipedia.org/si",$_SERVER['HTTP_REFERER']))
{include("/var/www/footerwiki.html");} else {
if(preg_match("/[^a-z]sex[^a-z]|^sex|[^a-z]pussy|[^a-z]penis[^a-z]|[^a-z]hell[^a-z]|[^a-z]clitoris|[^a-z]pene[^a-z]|[^a-z]nazi[^a-z]|[^a-z]nazis[^a-z]|[^a-z]porn[^a-z]|[^a-z]hack[^a-z]|[^a-z]hacker[^a-z]|[^a-z]naturist|[^a-z]hottest[^a-z]|[^a-z]babes[^a-z]|[^a-z]teenies[^a-z]|[^a-z]orgasm|[^a-z]porno|[^a-z]pussies[^a-z]|[^a-z]muff[^a-z]|[^a-z]masturbat|[^a-z]sluts[^a-z]|jerk[^a-z]off|[^a-z]fisting[^a-z]|\bejaculat|[^a-z]cumshot[^a-z]|[^a-z]clits[^a-z]|at[^a-z]least[^a-z]18[^a-z]years|at[^a-z]least[^a-z]21[^a-z]years|age[^a-z]18[^a-z]or[^a-z]above|bdsm[^a-z]|gangbang|blowjob|[^a-z]gore[^a-z]|[^a-z]corpse[^a-z]|[^a-z]rape[^a-z]|[^a-z]raped[^a-z]|[^a-z]murder|[^a-z]piss[^a-z]|[^a-z]fuck[^a-z]|cunts[^a-z]|[^a-z]mistress|cocksucker|motherfucker[^a-z]|[^a-z]tits[^a-z]|[^a-z]femdom|[^a-z]breasts|[^a-z]crotch[^a-z]|[^a-z]bondage|[^a-z]slave[^a-z]|[^a-z]sissy[^a-z]|nude[^a-z]|[^a-z]putas[^a-z]|[^a-z]torture|[^a-z]punish|18\+|above[^a-z]18|[^a-z]xxx[^a-z]|[^a-z]mayat[^a-z]|dungeon|[^a-z]cadaver|[^a-z]satan[^a-z]|[^0-9]666[^0-9]|[^a-z]cadávere|[^a-z]cadáver|[^a-z]cadavre|[^a-z]incest|[^a-z]erotik|[^a-z]erotisch|[^a-z]erotic|[^a-z]erótic|[^a-z]muschi|[^a-z]bugil[^a-z]|[^a-z]seks[^a-z]|ficken|[^a-z]women[^a-z]|[^a-z]girls[^a-z]|hentai/si", $pfad, $match))
{
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found", true, 404); include($_SERVER["DOCUMENT_ROOT"]."/notavailable.htm");
//include("/var/www/footer.htmlC");
}
else {
if(preg_match("/\bpussy|\bpenis\b|\bclitoris|\bpene\b|\bnazi\b|\bnazis\b|\bporn\b|\bhack\b|\bhacker\b|\bnaturist|\bnudistm|\bhottest\b|\bbabes\b|\bteenies\b|\borgasm|\bporno|\bpussies\b|\bmuff\b|\bmasturbat|\bsluts\b|jerk\boff|\bfisting\b|\bejaculat|\bcumshot\b|\bclits\b|at\bleast\b18\byears|at\bleast\b21\byears|age\b18\bor\babove|bdsm\b|gangbang|blowjob|\bgore\b|\bcorpse\b|\brape\b|\braped\b|\bmurder|\bpiss\b|\bfuck|cunts\b|\bmistress|cocksucker|motherfucker\b|\btits\b|\bfemdom|\bbreasts|\bcrotch\b|\bbondage|\bslaves\b|\bsissy\b|\bputas\b|\btorture|\bpunish|18\+|above\b18|\bmayat\b|dungeon|\bcadaver|\bsatan\b|\b[^0-9=><#\"]666[^0-9\"]|[^0-9=><#\"]666[^\"0-9]|\bcadávere|\bcadáver|\bcadavre|\bincest|\berotik|\berotisch|\berotic|\berótic|\bmuschi|\bbugil\b|ficken|women.*pics|hardcore|\banal |\bboobs\b|\milf\b|pornstar|\bdildo|fingering|gaysex|sucking|stockings|threesome|doggystyle|vibrator\b|deep-throat|voyeur|handjob|assfuck|creampie|bukkake|squirting|suicide|suicido|marijuana|hentai/sim", $content, $result))
{
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found", true, 404); include($_SERVER["DOCUMENT_ROOT"]."/notavailable.htm");
// include("/var/www/footer.htmlC");
}
else {
include("/var/www/geoip.inc");
$gi = geoip_open("/var/www/GeoIP.dat",GEOIP_STANDARD);
if ($_SERVER["REMOTE_ADDR"]) {$ip=$_SERVER["REMOTE_ADDR"];} else {$ip=$_SERVER['HTTP_X_FORWARDED_FOR'];}
$c = geoip_country_code_by_addr($gi, $ip);
//$premium = array('US', 'UK', 'ES', 'FR', 'IT', 'NL', 'AU', 'BE', 'CA', 'DK', 'CH', 'AT', 'DE');
//$deutsch = array('DE', 'UK');
// if (in_array($c, $deutsch)) {include("/var/www/footer.htmlDE");}
//$aol = array('US', 'CA',);
//if (in_array($c,$aol)) {include("/var/www/footer.htmlAOL");}
/*
$ca = array('CA');
if (in_array($c, $ca)) {include("/var/www/footer.html");}
else {
*/
include("/var/www/header.html");
echo "";
echo preg_replace($patterns, $replacements, $content);
include("/var/www/footer.htmlR");
// } }
$c = "x";
geoip_close($gi);
/*
$btxt = fopen("b.txt","r+");
$b = fgets($btxt, 20);
$b++;
rewind($btxt);
fwrite($btxt, $b);
fclose($btxt);
*/
}}}
}
?>