diff --git a/wizzardRedux/admin/onlinecheck.php b/wizzardRedux/admin/onlinecheck.php index 2b20db0..b5d8a4b 100644 --- a/wizzardRedux/admin/onlinecheck.php +++ b/wizzardRedux/admin/onlinecheck.php @@ -15,6 +15,7 @@ TODO: Remember to replace GLOBALS GET and POST with the proper $_GET, $_POST TODO: Document all required GET and POST vars for each page TODO: Direct connect to EAB with FTP (ftp:any@ftp.grandis.nu) TODO: Comment all of the code... +TODO: Remove external and import only */ // Site whose checkers have been once-overed (not all checked for dead) @@ -61,13 +62,19 @@ $checked = array ( "Demotopia", "DigitalDream", "DigitalDungeon", - "DuncanTwain", // Empy checker page? + "DuncanTwain", // Import only "EAB", "Edicolac64", "EludeVisibility", "ep128hu", "Fandal", "Gamebase64", + "good", // Import only + "GratisSaugen", + "hackedroms", + "heranbago", + "HHUG", + "i-mockery", ); if (!isset($_GET["source"])) diff --git a/wizzardRedux/sites/GratisSaugen.php b/wizzardRedux/sites/GratisSaugen.php index e2ab4f8..f2c31bc 100644 --- a/wizzardRedux/sites/GratisSaugen.php +++ b/wizzardRedux/sites/GratisSaugen.php @@ -1,11 +1,10 @@ "; - $r_query=implode ('', file ($_GET["source"]."/ids.txt")); - $r_query=explode ("\r\n","\r\n".$r_query); - $r_query=array_flip($r_query); - -$pages=Array( +$pages = array( "http://www.gratissaugen.de/erbsen/c64dash.html", "http://www.gratissaugen.de/erbsen/liste.html", "http://www.gratissaugen.de/erbsen/plans.html", @@ -17,38 +16,41 @@ foreach ($pages as $page) { print "load ".$page."\n"; - $content=implode ('', file ($page)); - $content=str_replace("\r\n",'',$content); - $content=explode ('1) + if (count($ext) > 1) { - $name=explode ('',$row); - $name=strip_tags('
";
 	
-	foreach($URLs as $row)
+	foreach($found as $row)
 	{
 		print $row[0]."\n";
 	}
 	
 	print "
";
 	
-	foreach($URLs as $row)
+	foreach($found as $row)
 	{
 		print "".$row[1]."\n";
 	}
diff --git a/wizzardRedux/sites/HHUG.php b/wizzardRedux/sites/HHUG.php
index ca521c3..93ac743 100644
--- a/wizzardRedux/sites/HHUG.php
+++ b/wizzardRedux/sites/HHUG.php
@@ -1,46 +1,49 @@
 ";
 
-	$r_query=implode ('', file ($_GET["source"]."/ids.txt"));
-	$r_query=explode ("\r\n","\r\n".$r_query);
-	$r_query=array_flip($r_query);
+for ($x = 1; $x <= 10; $x++)
+{
+	$new = 0;
+	$old = 0;
+	
+	$url = "http://hhug.me/?tags=dumps&page=".$x;
 
-	$URL_Array=array();
+	print "load: ".$url."\n";
 
-	for($x=1;$x<=10;$x++)
+	$query = implode('', file($url));
+	$query = explode("".$row."\n";
+		break;
 	}
+}
+
+foreach ($found as $row)
+{
+	print "".$row."\n";
+}
 
 ?>
\ No newline at end of file
diff --git a/wizzardRedux/sites/good.php b/wizzardRedux/sites/good.php
index e69de29..a869523 100644
--- a/wizzardRedux/sites/good.php
+++ b/wizzardRedux/sites/good.php
@@ -0,0 +1,5 @@
+
\ No newline at end of file
diff --git a/wizzardRedux/sites/hackedroms.php b/wizzardRedux/sites/hackedroms.php
index e9261ae..994c3d2 100644
--- a/wizzardRedux/sites/hackedroms.php
+++ b/wizzardRedux/sites/hackedroms.php
@@ -1,36 +1,53 @@
 check folders:\n\n";
 
-$newURLs=Array();
+foreach ($dirs as $dir)
+{
+	listDir($dir);
+}
 
-function listDir($dir){
-	GLOBAL $newURLs, $r_query;
+print "\nnew urls:\n\n";
+
+print "
";
+
+foreach ($found as $url)
+{
+	print "".$url."\n";
+}
+
+print "
"; + +function listDir($dir) +{ + GLOBAL $found, $r_query; print "load: ".$dir."\n"; - $query=implode ('', file ($dir)); - $query=explode('check folders:\n\n"; - -foreach($dirs as $dir) -{ - listDir($dir); -} - -print "\nnew urls:\n\n"; - -print "
";
-
-foreach($newURLs as $url)
-{
-	print "".$url."\n";
-}
-
-print "
"; ?> \ No newline at end of file diff --git a/wizzardRedux/sites/heranbago.php b/wizzardRedux/sites/heranbago.php index ece5135..2f2cf6c 100644 --- a/wizzardRedux/sites/heranbago.php +++ b/wizzardRedux/sites/heranbago.php @@ -1,42 +1,47 @@ "; - $r_query=implode ('', file ($_GET["source"]."/ids.txt")); - $r_query=explode ("\r\n","\r\n".$r_query); - $r_query=array_flip($r_query); - -$newfiles=Array( +$newfiles = array( 'http://heranbago.com/hax/hax/hack.htm', 'http://sonar.heranbago.com/top.html', ); - $found = Array(); - -foreach($newfiles as $newfile){ +foreach ($newfiles as $newfile) +{ print "load ".$newfile."\n"; - $query=implode ('', file ($newfile)); - $query=explode ('
".$row."\n"; - } +foreach ($found as $row) +{ + print "".$row."\n"; +} ?> \ No newline at end of file diff --git a/wizzardRedux/sites/i-mockery.php b/wizzardRedux/sites/i-mockery.php index 777ef63..3868230 100644 --- a/wizzardRedux/sites/i-mockery.php +++ b/wizzardRedux/sites/i-mockery.php @@ -1,36 +1,52 @@ check folders:\n\n"; -$newURLs=Array(); +foreach ($dirs as $dir) +{ + listDir($dir); +} -function listDir($dir){ - GLOBAL $newURLs, $r_query; +print "\nnew urls:\n\n"; + +print "
";
+
+foreach ($found as $url)
+{
+	print "".$url."\n";
+}
+
+print "
"; + +function listDir($dir) +{ + GLOBAL $found, $r_query; print "load: ".$dir."\n"; - $query=implode ('', file ($dir)); - $query=explode('check folders:\n\n"; - -foreach($dirs as $dir) -{ - listDir($dir); -} - -print "\nnew urls:\n\n"; - -print "
";
-
-foreach($newURLs as $url)
-{
-	print "".$url."\n";
-}
-
-print "
"; - ?> \ No newline at end of file