fanstasic script! Must of took a while to make!
+Rep for this!

(((((((((((
why do none of the links work on my stupid computer![]()
I Bleed It OutDigging DeeperJust To Throw It Away
Which links?
Left. Or have I?
Ok it's uploading to my site now, i will notify if all goes well
What do we need the bg.psd file for?
Please say it will work
Hopefully,
Ver.
EDIT: DAMMIT IT DIDN'T WORK!
Lol http://andrehamon.evenhosting.com/habbo/:Andre
why not! *smashes computer*
Last edited by Verrou; 10-12-2006 at 06:16 AM.
Soz for double post but i couldn't edit it due to time limit.
Is this code right? Do i leave it as this or do i have to edit something?
?????PHP Code:<?php
header("Content-type: image/png");
$bg = $_GET['img'];
if($bg == "" or !$bg){
$im = imagecreatefrompng("bg.png");
}else{
$im = imagecreatefrompng($bg);
}
$habbo = $_GET['name'];
$home = file_get_contents("http://www.habbohotel.co.uk/home/".$habbo);
if (eregi("This page is not available anymore", $home)){
$im = imagecreatefrompng("banned.png");
}elseif (eregi("marked this page as private.", $home)){
$im = imagecreatefrompng("private.png");
}elseif (eregi("Habbo Home is your own Home page on Habbo", $home)){
$im = imagecreatefrompng("notfound.png");
}else{
$white = imagecolorallocate($im, 255, 255, 255);
imagettftext($im, 7, 0, 84, 32, $white, "volter.ttf", $habbo);
if (eregi("http://images.habbohotel.co.uk/web/web-2.0.1_b21/images/myhabbo/profile/habbo_online_anim.gif", $home)){
imagettftext($im, 7, 0, 261, 32, $white, "volter.ttf", "I'm Online!");
}else{
imagettftext($im, 7, 0, 260, 32, $white, "volter.ttf", "I'm Offline!");
}
if (eregi('<div class="profile-motto">', $home)){
$start = explode('<div class="profile-motto">', $home);
$end = explode('</div>', $start[1]);
$motto1 = trim($end[0]);
$motto = str_replace(' <div class="clear">','',$motto1);
$motto = str_replace('<img src="http://images.habbohotel.co.uk/web/web-2.0.1_b21/images/fonts/volter/165.gif" class="vchar" />', "¥", $motto);
imagettftext($im, 7, 0, 85, 62, $white, "volter.ttf", $motto);
}else{
imagettftext($im, 7, 0, 85, 62, $white, "volter.ttf", "NO MOTTO FOUND");
}
$div_start = explode('<div class="profile-figure">', $home, 2);
$div_end = explode('</div>', $div_start[1], 2);
$img = trim($div_end[0]);
$img = preg_replace('/<img alt=\"(.*?)\" src=\"(.*?)\" \/>/', '$2', $img);
$imag = "http://www.habbohotel.co.uk".$img;
$habim = imagecreatefromgif($imag);
imagecopy($im, $habim, 0, 0, -11, -18, 80, 122);
imagedestroy($habim);
}
imagepng($im);
imagedestroy($im);
?>
Ver.
I'm impressed.
You impressed teh 1337 scripter! It must definatly be worth using then lol! Congrats on the great script tom.
Now can anyone help me with my probz?
Ver.
lolololololol
eek.
whats the site or woteva to make it
none of the links workds
I Bleed It OutDigging DeeperJust To Throw It Away
Want to hide these adverts? Register an account for free!