diff --git a/Info/image.php b/Info/image.php index 22e55f1..ae2becc 100644 --- a/Info/image.php +++ b/Info/image.php @@ -25,7 +25,7 @@ function imagewritestring($img, $font_size, $string) { $color = imagecolorallocate($img, 180, 180, 180); static $y = 110; - $y += $font_size + 12; + $y += $font_size + 14; $x = 40; imagettftext($img, $font_size, 0, $x, $y, $color, "fonts/consola.ttf", $string); } diff --git a/Info/image0.php b/Info/image0.php new file mode 100644 index 0000000..f1af044 --- /dev/null +++ b/Info/image0.php @@ -0,0 +1,30 @@ +host->ip); +imagewritestring($img, 2, $user->host->city . " , " . $user->os->name . " " . $user->os->version); +imagewritestring($img, 3, $user->browser->name . " , " . $user->browser->version . " " . 'Pays: ' . $user->host->country); +imagejpeg($img, NULL, 100); +imagedestroy($img); + +function imagewritestring($img, $font_size, $string) +{ + $color = imagecolorallocate($img, 180, 180, 180); + static $y = 2; + $y += $font_size + 10; + $x = 10; + imagettftext($img, $font_size, 0, $x, $y, $color, "fonts/consola.ttf", $string); +} + diff --git a/Info/index.php b/Info/index.php index 88c39f6..e5762a4 100644 --- a/Info/index.php +++ b/Info/index.php @@ -30,8 +30,6 @@ $user = new uInfo($userAgent, $_SERVER["REMOTE_ADDR"]) ;
uInfo Retour -
diff --git a/index.php b/index.php index 9e2d95f..b7bee74 100755 --- a/index.php +++ b/index.php @@ -5,6 +5,7 @@ Your IP info + @@ -446,6 +447,26 @@ text-shadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px text-transform:lowercase; } + +@media only screen and (max-width: 520px) { + #middle { + width: 100%; + height: 70%; + margin: 25px 0 25px 0; + } + #img { + max-width: 80%; + } + #img img { + width: 100%; + } +} + +#img { + width: 520px; + margin: 0 auto; +} +




Scroll

-
+
@@ -506,7 +527,7 @@ $geoip_longitude = getenv('GEOIP_LONGITUDE'); -
+
Cette adresse a été localisée dans la belle ville de '.$geoip_city.'
'; ?> @@ -519,9 +540,12 @@ echo 'Latitude: '. echo 'Longitude: '.$geoip_longitude.'
'; ?>
-




- Map
+





+
+

Map
+
+

@@ -537,18 +561,33 @@ echo 'Longitude: '
- + Map
+ +



NEW

Your IP image.


- - + +
+ +
+ + + +
+
@@ -563,6 +602,8 @@ echo 'Longitude: '
+ +