Jump to content

gamehead200

Patron
  • Posts

    6,876
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Canada

Everything posted by gamehead200

  1. Do you get paid from that or do you have to pay?
  2. No, the thing is that when the bar moves, so does the percentage, so it won't work that way...I think I have to change something in the bar properties as well...
  3. That's scary, lol!
  4. The BEFSR41 (4-ports) and the BEFSR81 (8-ports) are exactly the same, other than the fact that the second one has 4 extra ports (which I have and works great!)!
  5. Thanks...I got it off of http://www.mess.be !
  6. My site has been there since the start...
  7. Guys, I'm currently editing the code for my sig (which I found here). What I want is for the percentage to stay in the middle of the bar...This is how it looks right now: - removed - And I want to change the position of the percentage...This is the code I have to edit: <?php Header ('Content-type: image/jpeg'); Header('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0'); Header('Expires: Thu, 19 Nov 1981 08:52:00 GMT'); Header('Pragma: no-cache'); // Set the dimensions $img_width = 430; $img_height = 50; // Create the image $image = imagecreate(430, 50); // Set the colours $black = imagecolorallocate($image, 0, 0, 0); $white = imagecolorallocate($image, 255, 255, 255); $red = imagecolorallocate($image, 255, 0, 0); $grey = imagecolorallocate($image, 204, 204, 204); $green = imagecolorallocate($image, 128, 220, 0); // set the bg colour and border imagefilledrectangle($image, 0, 0, $img_width, $img_height, $white); imageline($image, 0, 0, 0, $img_height, $black); // left border imageline($image, 0, 0, $img_width, 0, $black); // top border imageline($image, 0, $img_height - 1, $img_width, $img_height - 1, $black); // bottom border imageline($image, $img_width - 1, 0, $img_width - 1, $img_height - 1, $black); // right border // Get song info from the text file $song_info = file("info.txt"); $main_info = explode(" - ", $song_info[0]); $artist = trim($main_info[0]); $title = trim($main_info[1]); $real_length = $song_info[1]; $for = time() - $song_info[2]; $total = trim($song_info[4]); $minutes = $for / 60; $break = explode(".", $minutes); $current_secs = $for % 60; $current_mins = $break[0]; $length = $song_info[4]; $totalmins = $current_mins * 60; $totalsecs = $current_secs + $totalmins; $percent = $totalsecs / $length * 100; $percent = round($percent, 0); $font = '/path/to/ttf/font'; if ($for <= $total) { ImageTTFText ($image, 8, 0, 10, 17, $black, $font, "gamehead200 is listening to ".$artist." - ".$title); // progress bar $width = $percent * 3; $width = round($width, 0); imagefilledrectangle($image, 11, 22, $width, 40, $red); imageline($image, 10, 21, 310, 21, $black); // top border imageline($image, 10, 21, 10, 41, $black); // left border imageline($image, 10, 41, 310, 41, $black); // bottom border imageline($image, 310, 21, 310, 41, $black); // right border if ($current_secs <= 9) { $current_secs = "0" . $current_secs; } ImageTTFText ($image, 11, 0, $width - 7, 37, $black, $font, $percent . "%"); ImageTTFText ($image, 11, 0, 315, 37, $black, $font, $current_mins .":".$current_secs."/".$real_length); } else { ImageTTFText ($image, 8, 0, 10, 27, $black, $font, "I am currently not listening to any music OR Winamp is not open!"); } // output and destroy imagepng($image); imagedestroy($image); ?> Any ideas on how to do this?
  8. Any e-mail address can be used with MSN Messenger as long as you register it as a .NET Passport... You can even use an e-mail your ISP gave you...
  9. Just checked the Sony website:
  10. LOL!
  11. About 375 British Pounds...
  12. Guys, I was at the store yesterday, and I was looking at a whole bunch of LCDs...The salesman told me that this LCD screen was better than the rest because it could handle a lot of graphic animation at the same time and would not give up on you, like the others he showed me...Is this one worth it?
  13. That's Windows Messenger...Someone must have opened the ports for it...
  14. I use this little proggie! MSNCPECrawler.zip
  15. Guys (and gurls), are there any sites out there that give you ideas on what to do with some of your old hardware? I don't mean giving it away, but re-use it for something else...Such as: - Hard Drives - CD-ROM Drives - Floppy Drives - IDE Cables - etc. Any ideas?
  16. Thank god my parents don't use my computer!
  17. Where on eMax Hosting can we find it?
  18. What's the site? Link please?
  19. Welcome to MSFN!
  20. Well, I guess we now know why he (SqueakyByte) was banned, again! :rofl:
  21. The article had a GIF in it...
  22. Nice find, Tris!
  23. Linksys 8-Port Router with Hardware Firewall!
  24. 4-6 hours on a normal day...10-12 on a boring day...
×
×
  • Create New...