Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 4 of 4

Thread: Powerpanel

  1. #1
    Join Date
    Oct 2006
    Location
    BUXTON
    Posts
    2,191
    Tokens
    0

    Latest Awards:

    Default Powerpanel

    Does any one really know how to fix the spotlight i get this message..


    http://www.thebobbas.net/djpanel/fro...p?image=create

    http://www.thebobbas.net/djpanel/frontend/spotlight.php


    +rep any help!

  2. #2
    Join Date
    Jul 2006
    Location
    Athens
    Posts
    842
    Tokens
    0

    Default

    That Means it doesn't exist
    Not Found

    The requested URL /djpanel/frontend/spotlight.php was not found on this server.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    Apache/1.3.37 Server at www.thebobbas.net Port 80


  3. #3
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    PHP Code:
    <? include("../includes/config.php"); ?>
    <?php

    if($_GET['image'] == "create") {
    header("Content-Type: image/gif");


    $im imagecreatefrompng("images/spotlight.PNG");

    // Get habbo name

    $loll mysql_fetch_array(mysql_query("SELECT * FROM spotlight"));
    $name $loll[habbo];
    $name2 urldecode($name);
    $name ucfirst($name);

    // We have to get the habbo's image first! :)

    $thumbWidth "60";
    $thumbHeight "120";
    $url "http://www.habbohotel.co.uk/habbo-imaging/collagepr?name_2_txt=0&name_2_y=-117&name_2_x=-491&h_2_dir=1&h_2_name=0&h_2_frame=0&h_2_gesture=0&h_2_action=0&h_2_y=0&h_2_x=0&name_1_txt=No%20Such%20User!&name_1_y=-597&name_1_x=-471&stampY=-1048&stampX=-1019&h_1_dir=4&h_1_name="$name2 ."&h_1_frame=0&h_1_gesture=sml&h_1_action=std&h_1_y=1&h_1_x=0&overlay=0&overlayY=-95&overlayX=-39&logoY=-300&logoX=-300&bkg=0&bkgY=-95&bkgX=-38&bkgColor=ffffff&picH=320&picW=61&quality5&img-format=png&xml-template=imageCreator_1_name";
    $srcImg imagecreatefrompng($url);
    $origWidth imagesx($srcImg); 
    $origHeight imagesy($srcImg);  
    $thumbImg imagecreate($thumbWidth$thumbHeight);
    imagecopyresized($thumbImg$srcImg0000$thumbWidth$thumbHeightimagesx($thumbImg), imagesy($thumbImg));
    $ImgWhite imagecolorallocate($thumbImg255255255);
    imagefill($thumbImg00$ImgWhite);
    imagecolortransparent($thumbImg$ImgWhite);  
                            
    $habbo2 imagecopy($im$thumbImg28195850100);
    // We have placed their habbo on the spotlight o;

    $font "Volter-Bold (Goldfish).ttf"// This font should be included in the folder, SOZ if i forgot to add xox.
    $size "6.5";
    $black imagecolorallocate($im000);
    $text $name;
        
    $img_w imagesx($im);
        
    $img_h imagesy($im);

    imagettftext($im$size0, ($img_w 2)-(strlen($name)*imagefontwidth($font) /2), 130$black$font$name);


    imagegif($im);
    imagedestroy($im);

    die();
    }
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Spotlight</title>
    <style type="text/css">
    <!--
    body {
            font-family: Verdana, Arial, Helvetica, sans-serif;
            font-size: 10px;
    }
    -->
    </style>
    </head>

    <body>
    <table width="23%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="63%" height="87" align="left" valign="top">We're taking sneaky photos of random Habbos and making them famous by placing them right here on the <? echo(""$site[sitename] .""); ?> homepage.<br />
          <br />
        So, watch this space for <strong>your face</strong> as you could be next! </td>
        <td width="37%" align="left" valign="top"><img src="spotlight.php?image=create" width="105" height="143" /></td>
      </tr>
      <tr>
        <td colspan="2">&nbsp;</td>
      </tr>
    </table>
    </body>
    </html>

  4. #4
    Join Date
    Oct 2006
    Location
    BUXTON
    Posts
    2,191
    Tokens
    0

    Latest Awards:

    Default

    thx ill try in a sec updating my VPS to cpanel 11

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •