Hitman
17-09-2006, 02:35 PM
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.
<!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
$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.
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.
<!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
$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.