Вход Регистрация
Файл: darkworld/mp.php
Строк: 14
<?
Error_Reporting
(E_ALL & ~E_NOTICE);
include_once(
"files/check.php");

$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);

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);
}
?>
Онлайн: 1
Реклама