1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php
function get($a,$b,$c){
	$y = explode($b,$a);
	$x = explode($c,$y[1]);
return $x[0];
}
$user=file_get_contents("http://unrealsoftware.de/stats.php");
$user=get($user,'<a href="users.php?p=1">','</a>');
$user="There are currently $user people on cs2d, lets play!";
$im = @imagecreate(strlen($user)*9.5,20);
$background_color = imagecolorallocate($im,0,153,0);
$color = imagecolorallocate($im,255,255,255);
imagestring($im,20,10,1,$user,$color);
header("Content-Type: image/png");
imagepng($im);
imagedestroy($im);
?>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php
function get($a,$b,$c){
	$y = explode($b,$a);
	$x = explode($c,$y[1]);
return $x[0];
}
$user=file_get_contents("http://unrealsoftware.de/stats.php");
$user=get($user,'<a href="users.php?p=2">','</a>');
$user="There are currently $user people on CC, lets play!";
$im = @imagecreate(strlen($user)*9.5,20);
$background_color = imagecolorallocate($im,0,153,0);
$color = imagecolorallocate($im,255,255,255);
imagestring($im,20,10,1,$user,$color);
header("Content-Type: image/png");
imagepng($im);
imagedestroy($im);
?>