"; $pages = array( "http://pokeysoft.no/games/atari/a8arc.htm", "http://pokeysoft.no/games/atari/a8str.htm", "http://pokeysoft.no/games/atari/a8util.htm", "http://pokeysoft.no/games/atari/a8demo.htm", ); foreach ($pages as $page) { $count = 0; $new = 0; print "load ".$page."\n"; $query = get_data($page); $query = explode('', $row[6]); $type = trim($type[0]); if ($type == 'Disk') { if ($author && $author != '?' && !strstr($title, $author)) { $title = $title." (".$author.")"; } if ($year && !strstr($year, '?')) { $title = $title." (".$year.")"; } } if (!$r_query[$id]) { $found[$id] = array(); $found[$id][url] = $id; } $found[$id][name][] = str_replace(array('/', ':'), array(', ', '-'), $title); } } } } print "found: ".$count.", new: ".$new."\n\n"; } print "\nurls:\n\n"; print "
";

foreach ($found as $row)
{
	print $row[url]."\n";
}

print "
";

foreach ($found as $row)
{
	print "".implode(', ',$row[name]).".zip\n";
}

print "
"; ?>