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!


Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1
    Join Date
    Jun 2006
    Posts
    4,832
    Tokens
    0

    Latest Awards:

    Default Find out what a Habbo looks like - code.

    Hey, me and some other HabboxForum members (Ryannnnn and Organised and some others [sorry can't remember names ]) found out how to make the habbos wave or smile etc.

    Well, I put it all together in a code. The other thread is here btw: http://habboxforum.com/showthread.php?t=225112

    Preview of code (With css): http://team-x-labs.net/testin/form.html

    This one has no css. PM me if you want it, and what colours etc.

    Code:
    <!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>Find a Habbo!</title>
    </head>
    
    <body>
    <form action="habbo.php" method="post"><br />
    Enter Habbo Name: <input type="text" name="name" />
    <br /><br />
    Face:
    <br />
    None: <input type="radio" value="nrm" name="face" /><br />
    Smile: <input type="radio" value="sml" name="face" /><br />
    Sad: <input type="radio" value="sad" name="face" /><br />
    Angry: <input type="radio" value="agr" name="face" />
    <br /><br />
    Other:
    <br />
    Stand: <input type="radio" value="std" name="arm" /><br />
    Wave: <input type="radio" value="wav" name="arm" /><br />
    Sitting: <input type="radio" value="sit" name="arm" />
    <br /><br />
    Position:
    <br />
    Facing left: <input type="radio" value="4" name="position" /><br />
    Facing right: <input type="radio" value="2" name="position" /><br />
    Facing center: <input type="radio" value="3" name="position" /><br />
    <br />
    <input type="submit" value="Submit!" name="submit" />
    </form>
    </body>
    </html>
    Save this file as form.html

    PHP Code:
    <?php
    $name 
    $_POST['name'];
    $face $_POST['face'];
    $arm $_POST['arm'];
    $position $_POST['position'];
    if (
    $name == null|$face == null|$arm == null|$position == null){
    echo 
    "You missed something!";
    } else {
    echo 
    "$name looks like: <br> <img src=\"http://www.habbohotel.co.uk/habbo-imaging/collagepr?name_2_txt=0&name_2_y=-117&name_2_x=-491&h_2_dir=3&h_2_name=0&h_2_frame=5&h_2_gesture=0&h_2_action=0&h_2_y=0&h_2_x=50&name_1_txt=$name&name_1_y=-597&name_1_x=-471&stampY=-1048&stampX=-1019&h_1_dir=$position&h_1_name=$name&h_1_frame=0&h_1_gesture=$face&h_1_action=$arm&h_1_y=0&h_1_x=0&overlay=&overlayY=-95&overlayX=-39&logoY=-300&logoX=-300&bkg=&bkgY=-95&bkgX=-39&bkgColor=ffffff&picH=300&picW=65&quality=5&img-format=png&xml-template=imageCreator_1_name\"><br> If no image shows, the Habbo doesn't exist!";
    }
    ?>
    Save this as habbo.php

    The only thing I want in return is for you to link people to this thread if they also want it. Oh, and rep wouldn't hurt :p If you want.

    Have fun.

    - Tom.
    Last edited by Hitman; 17-09-2006 at 02:44 PM.

  2. #2
    Join Date
    May 2006
    Location
    Wakefield, West Yorkshire
    Posts
    1,118
    Tokens
    0

    Latest Awards:

    Default

    Thanks +rep

  3. #3
    Join Date
    Jun 2006
    Posts
    4,832
    Tokens
    0

    Latest Awards:

    Default

    No problem and thanks

  4. #4
    Join Date
    Nov 2004
    Location
    Reading, UK
    Posts
    3,060
    Tokens
    1,780

    Latest Awards:

    Default

    Thanks +rep
    I tested it and i clicked wave and sitting and it came up as stand and wave

  5. #5
    Join Date
    Oct 2004
    Posts
    10,922
    Tokens
    0

    Latest Awards:

    Default

    Well when I try yours

    And I do angry face, sitting. It says

    You missed something!

  6. #6
    Join Date
    Jun 2006
    Posts
    4,832
    Tokens
    0

    Latest Awards:

    Default

    Thanks for telling me, try the code above now, i fixed it.

  7. #7
    Join Date
    May 2006
    Location
    Wakefield, West Yorkshire
    Posts
    1,118
    Tokens
    0

    Latest Awards:

    Default

    can u post the css file so we can edit the hex codes please?

  8. #8
    Join Date
    Jun 2006
    Posts
    4,832
    Tokens
    0

    Latest Awards:

    Default

    Yeah, I will just re-make it, I overwrote it by mistake

    Code:
    <style>
    <!--
    {
    color: #781351;
    background: #fee3ad;
    border: 1px solid #781351;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    	font-size: 10px;
    	color: #000000;
    }
    input
    {
    color: #000;
    background: #ffa20f;
    border: 2px outset #d7b9c9;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    	font-size: 10px;
    	color: #000000;
    }
    -->
    </style>
    Put that above the </head> tag.
    Last edited by Hitman; 17-09-2006 at 02:48 PM.

  9. #9
    Join Date
    May 2006
    Location
    Wakefield, West Yorkshire
    Posts
    1,118
    Tokens
    0

    Latest Awards:

    Default

    ok thanks

  10. #10
    Join Date
    Jul 2005
    Posts
    1,653
    Tokens
    50

    Latest Awards:

    Default

    omg dont rep him rep us all tehe.

Page 1 of 2 12 LastLast

Posting Permissions

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