UNIX_TIMESTAMP(NOW())-" . $cutoff . " GROUP BY `mirror_statuses`.`url`" . ") AS `ls`" . " JOIN `mirror_statuses` AS `l_ms`" . " ON `ls`.`url`=`l_ms`.`url`" . " AND `ls`.`start`=`l_ms`.`start`" . " GROUP BY SUBSTRING(`l_ms`.`url`,LENGTH(`l_ms`.`protocol`)+4)" ); $last_check = 0; $max_count = 0; while($row = $result->fetch_assoc()) $rows[] = $row; print_header("Mirror Overview"); ?>
Server | Country | ISOs | Protocols | \n"; print " " . $row["url"] . "\n"; print " | \n"; print "\n"; print " \n"; print " \n"; print " " . $row["country"] . "\n"; print " | \n"; print "\n"; if ($row["isos"]) print " Yes\n"; else print " No\n"; print " | \n"; print "\n"; print " " . $row["protocols"] . "\n"; print " | \n"; print " \n"; if ($oddity == "odd") $oddity = "even"; else $oddity = "odd"; } ?>
---|