Вход Регистрация
Файл: DarkAge/mp1.php
Строк: 12
<?
Error_Reporting
(E_ALL & ~E_NOTICE);

$log htmlspecialchars(stripslashes($log));
$pas htmlspecialchars(stripslashes($pas));
/////////////////////////////////////////////////////
$text = @file("data/reg/$log.dat"); 
if (
$text!=""){
$udata explode(":||:",$text[0]);
$login=trim($udata[0]);
$password=trim($udata[1]);}
////////////////////////////////////////////////////////
if (md5($pas)==$password && $log==$login && $log!=="" && md5($pas)!=="") {

$max $udata[30];
$now $udata[29]; 
$health 100 / ($max $now); 

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

imagecolorallocate($img000);
$red imagecolorallocate($img00255);
$white imagecolorallocate($img255255255);
imagefilledpolygon($img, array(0,00,10$health,10$health,0), 4$red);

imagestring($img131"MP:  $now/$max"$white);
imagepolygon($img, array(0,00,999,999,0), 4$white);

imagegif($img);
}
?>
Онлайн: 0
Реклама