EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > General Discussion > Chit-Chat

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #11  
Unread 01-27-2005, 04:51 AM
Findarato's Avatar
Findarato Findarato is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Nagafen
Posts: 339
Default

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 ^_^
__________________


Reply With Quote
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 06:54 AM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI