12,109d11
< $lastoi="";
<
< function mapit($oone) {
< global $lastoi;
< if (isset($_GET['linkit']) || isset($_POST['linkit'])) {
< //file_put_contents("found.c",strlen($lastoi));
< if (file_exists($oone) && $lastoi == '') {
< ofinterest(file_get_contents($oone));
< }
< }
< if ($lastoi != "" && (isset($_GET['linkit']) || isset($_POST['linkit']))) {
< //file_put_contents("found.that","huh");
< file_put_contents($oone . ".html", "
" . str_replace("","&#", str_replace("\n","
", str_replace('<A ','
', str_replace('</SPAN>','', str_replace('ccc">','ccc">', str_replace("<","<",str_replace(">",">",$lastoi)))))))) ) . " ");
< return $oone . ".html";
< }
< //$lastoi="";
< return $oone;
< }
<
< function ofinterest($intobelinked) {
< global $lastoi;
< $spareintobelinked=$intobelinked;
< $outtobelinked=$intobelinked;
< $fns=explode("(", $intobelinked);
< for ($ifns=0; $ifns= "a" && substr(strtolower($fns[$ifns]),$jns,1) <= "z") {
< $fnidea=substr($fns[$ifns],$jns,1);
< $jns--;
< while (substr($fns[$ifns],$jns,1) == "." || substr($fns[$ifns], $jns,1) == "_" || (substr(strtolower($fns[$ifns]),$jns,1) >= "a" && substr(strtolower($fns[$ifns]),$jns,1) <= "z")) {
< $fnidea=substr($fns[$ifns], $jns,1) . $fnidea;
< $kns=$jns;
< $jns--;
< if ($jns < 0) { break; }
< if (substr($fns[$ifns],$kns,1) == ".") { break; }
< }
< if ($fnidea != "") {
< if (substr($fnidea,0,1) == ".") {
< if (strpos($outtobelinked, "this" . $fnidea . "=") !== false) {
< $outtobelinked=str_replace("this" . $fnidea . "=", "this." . substr($fnidea,1) . "=", $outtobelinked);
< } else if (strpos($outtobelinked, "this" . $fnidea . " =") !== false) {
< $outtobelinked=str_replace("this" . $fnidea . " =", "this." . substr($fnidea,1) . " =", $outtobelinked);
< } else if (strpos($spareintobelinked, "this" . $fnidea . " =") !== false) {
< $spareintobelinked=str_replace("this" . $fnidea . " =", "this." . substr($fnidea,1) . " =", $spareintobelinked);
< $fns=explode("(", $spareintobelinked);
< } else if (strpos($spareintobelinked, "this" . $fnidea . "=") !== false) {
< $spareintobelinked=str_replace("this" . $fnidea . "=", "this." . substr($fnidea,1) . "=", $spareintobelinked);
< $fns=explode("(", $spareintobelinked);
< }
< $fnidea=substr($fnidea,1);
< $jns++;
< }
< }
< //file_put_contents("found.this",$fnidea);
< if (strpos(($fns[$ifns] . "("), "function " . $fnidea . "(") !== false && strpos($outtobelinked, "" . $fnidea . "(";
< } else if (strlen($fnidea) > 3 && strpos($outtobelinked, ">" . $fnidea . "") === false && strpos($spareintobelinked, ">" . $fnidea . "") !== false) {
< $outtobelinked.=substr($fns[$ifns],0,($jns + 1)) . "" . $fnidea . "(";
< } else if (strlen($fnidea) > 3 && strpos($outtobelinked, ">" . $fnidea . "") === false && strpos($outtobelinked, ">" . $fnidea . "") !== false) {
< $outtobelinked.=substr($fns[$ifns],0,($jns + 1)) . "" . $fnidea . "(";
< } else if (strlen($fnidea) > 3 && strpos($outtobelinked, ">" . $fnidea . "") === false) {
< $outtobelinked.=substr($fns[$ifns],0,($jns + 1)) . "" . $fnidea . "(";
< } else {
< $outtobelinked.=$fns[$ifns] . "(";
< }
< } else {
< $outtobelinked.=$fns[$ifns] . "(";
< }
< } else {
< $outtobelinked.="(";
< }
< }
< if (isset($_GET['linkit']) || isset($_POST['linkit'])) {
< //file_put_contents("found.b", strlen($outtobelinked));
< $lastoi=$outtobelinked;
< }
< return $intobelinked;
< }
<
< function yourfile_get_contents($inuis) {
< global $lastoi;
< if (strpos(("~" . $inuis), "~//") !== false) {
< if (isset($_GET['linkit']) || isset($_POST['linkit'])) {
< //file_put_contents("found.it","huh");
< return ofinterest(file_get_contents("http:" . $inuis));
< }
< return file_get_contents("http:" . $inuis);
< }
< if (isset($_GET['linkit']) || isset($_POST['linkit'])) {
< //file_put_contents("found.oi","huh");
< return ofinterest(file_get_contents($inuis));
< }
< return file_get_contents($inuis);
< }
121c23
< $iframebits="Latest file ... Differences below this ... " . $_GET['one'] . "
";
---
> $iframebits="Latest file ... Differences below this ... " . $_GET['one'] . "
";
127c29
< $onec = yourfile_get_contents($_GET['one']);
---
> $onec = ourfile_get_contents($_GET['one']);
136c38
< $iframebits="Latest file ... Differences below this ... " . $_GET['one'] . "
";
---
> $iframebits="Latest file ... Differences below this ... " . $_GET['one'] . "
";
142c44
< $onec = yourfile_get_contents($_GET['one']);
---
> $onec = ourfile_get_contents($_GET['one']);
195c97
< $iframebits=$xprefix . "Latest file ... Differences below this " . $_GET['one'] . "
";
---
> $iframebits=$xprefix . "Latest file ... Differences below this " . $_GET['one'] . "
";
202c104
< $onec = yourfile_get_contents($_GET['one']);
---
> $onec = ourfile_get_contents($_GET['one']);
212c114
< $iframebits="Latest file ... Differences below this" . $_POST['one'] . "
";
---
> $iframebits="Latest file ... Differences below this" . $_POST['one'] . "
";
218c120
< $onec = yourfile_get_contents($_POST['one']);
---
> $onec = ourfile_get_contents($_POST['one']);
227c129
< $iframebits="Latest file ... Differences below this" . $_POST['one'] . "
";
---
> $iframebits="Latest file ... Differences below this" . $_POST['one'] . "
";
233c135
< $onec = yourfile_get_contents($_POST['one']);
---
> $onec = ourfile_get_contents($_POST['one']);
287c189
< $iframebits=$xprefix . "Latest file ... Differences below this " . $_POST['one'] . "
";
---
> $iframebits=$xprefix . "Latest file ... Differences below this " . $_POST['one'] . "
";
293c195
< $onec = yourfile_get_contents($_POST['one']);
---
> $onec = ourfile_get_contents($_POST['one']);
303d204
< //file_put_contents("found.a","");