Вход Регистрация
Файл: cp.php
Строк: 15
<?

/////////////////////////////////////////////////////
$text = @file("MySql/base123/reg/$log.dat");
if (
$text!=""){
$udata explode(":||:",$text[0]);
$login=trim($udata[0]);
$password=trim($udata[1]);}
////////////////////////////////////////////////////////
include_once("include/sesi.php");
if (isset(
$user)) {


$max $udata[43];
$now $udata[42];
$health 100 / ($max $now);

$img="pic/cp.gif";
$pic ImageCreateFromgif($img);
header('Content-Type: image/gif');

$black imagecolorallocate($pic000);
$white imagecolorallocate($pic000);
imagefilledpolygon($pic, array(255,00,20$health,20$health,0), 4$black);

imagepolygon($pic, array(0,00,1199,1199,0), 4$white);
imagestring($pic132'CP:  '.number_format($now).'/'.number_format($max).''$white);


imagegif($pic);

}
?>
Онлайн: 0
Реклама