From c5b6c37c7f09116ef1784a04144c7f46f21f0ccf Mon Sep 17 00:00:00 2001 From: Romain d'Alverny Date: Tue, 21 Feb 2012 18:57:35 +0000 Subject: other layout *sigh* --- en/downloads/debug/index.php | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) (limited to 'en') diff --git a/en/downloads/debug/index.php b/en/downloads/debug/index.php index c49310917..e5add963b 100644 --- a/en/downloads/debug/index.php +++ b/en/downloads/debug/index.php @@ -12,18 +12,13 @@ if (isset($_SERVER['HTTP_X_FORWARDED_FOR']) else $ips['ip'] = $_SERVER['REMOTE_ADDR']; -$s = ''; +echo '
Testing IP, country, continent',
+    "\n------------------------------\n\n";
+
 foreach ($ips as $label => $ip) {
-    $s .= sprintf('
  • %s is in %s, %s
  • ', - geoip_country_code_by_name($ip), - geoip_continent_code_by_name($ip)); + echo ' * ', $label, ': ', $ip, ' => '; + echo geoip_country_code_by_name($ip), ', '; + echo geoip_continent_code_by_name($ip), "\n"; } -echo << -

    Testing your IP, country, continent.

    -
      $s
    -
    - -S; - +echo '----
    '; -- cgit v1.2.1