lol
sharing isnt caring
but which part you looking for?
Code:
require("eq2player.php");
if(isset($_GET[jpg]))
header("Content-type: image/jpeg");
else
header("Content-type: image/png");
//$diff=time();
if(isset($_GET[small]))
{
if(!isset($_GET[x]) && !isset($_GET[y]))
{
$x=500;
$y=35;
}
}
//Get's the Months left!
$months = ($usedtime - ($usedtime % 2592000)) / 2592000;
$usedtime = $usedtime - ($months * 2592000);
$days = ($usedtime - ($usedtime % 86400)) / 86400;
$usedtime = $usedtime - ($days * 86400);
// Get's the hours left!
$hours = ($usedtime - ($usedtime % 3600)) / 3600;
$usedtime = $usedtime - ($hours * 3600);
// Get's the minutes left!
$minutes = ($usedtime - ($usedtime % 60)) / 60;
$usedtime = $usedtime - ($minutes * 60);
// Get's the seconds left!
$seconds = ($usedtime - ($usedtime % 1)) / 1;
Code:
if(isset($_GET[h]))
$three.="Heat:".$data['Heat Resist']." ";
if(isset($_GET[p]))
$three.="Poison:".$data['Poison Resist']." ";
if(isset($_GET[d]))
$three.="Disease:".$data['Disease Resist']." ";
if(isset($_GET[m]))
$three.="Divine:".$data['Divine Resist']." ";
if(isset($_GET[me]))
$three.="Mental:".$data['Mental Resist']." ";
/////////////////////////////Display//////////////////////////////////////
imagestring($im, 2, 0, 0,$one, $text_color);
imagestring($im, 2, 0, 10,$two, $text_color);
imagestring($im, 2, 0, 20,$three, $text_color);
}
if(isset($_GET[jpg]))
imagejpeg($im);
else
imagepng($im);
imagedestroy($im);
?>
Thats just the display code. not the parse code. That stuff you cant have ^_^