Hey everyone, I have my user system and I have made a page where it has the exact same scheme as Habbo so it displays the users information as the old Habbo slate (no one steal the idea cos it's just gay if you do.) but it just shows a blank page, I don't know what's wrong, could someone try and figure it out?
It's a very simple code and yet it's being so perdantic.PHP Code:<?
oB_start();
include("config.php");
switch($_GET[go])
{
default:
if (!$_GET[user]){
$getuser = mysql_query("SELECT * FROM users WHERE username = '$_GET[user]'");
$usernum = mysql_num_rows($getuser);
if ($usernum == 0){
echo ("User Not Found");
} else {
$profile = mysql_fetch_array($getuser);
if($profile[hotels] == "UK"){
?>
<img src="images/big_slate.png" id="Image1" alt="" align="top" border="0" width="164" height="55" style="position:absolute;left:8px;top:80px;width:164px;height:55px;z-index:0">
<div id="bv_" style="position:absolute;left:15px;top:117px;width:150px;height:13px;z-index:1" align="center">
<font style="font-size:10px" color="#FFFFFF" face="Verdana"><b><? echo $profile[user]; ?></b></font></div>
<img src="http://www.habbo.co.uk/habbo-imaging/avatarimage?user=<? echo $profile[habboname]; ?>&action=&direction=4&head_direction=4&gesture=sml&size=l" id="Image2" alt="" align="top" border="0" style="position:absolute;left:95px;top:0px;z-index:2">
<img src="management.gif" id="Image3" alt="" align="top" border="0" width="56" height="56" style="position:absolute;left:142px;top:27px;width:56px;height:56px;z-index:3">
<div id="bv_" style="position:absolute;left:14px;top:135px;width:152px;height:13px;z-index:4" align="right">
<font style="font-size:10px" color="#000000" face="Verdana"><? echo $profile[mission]; ?></font></div>
<?
}
if($profile[hotels] == "USA"){
?>
<img src="images/big_slate.png" id="Image1" alt="" align="top" border="0" width="164" height="55" style="position:absolute;left:8px;top:80px;width:164px;height:55px;z-index:0">
<div id="bv_" style="position:absolute;left:15px;top:117px;width:150px;height:13px;z-index:1" align="center">
<font style="font-size:10px" color="#FFFFFF" face="Verdana"><b><? echo $profile[user]; ?></b></font></div>
<img src="http://www.habbo.com/habbo-imaging/avatarimage?user=<? echo $profile[habboname]; ?>&action=&direction=4&head_direction=4&gesture=sml&size=l" id="Image2" alt="" align="top" border="0" style="position:absolute;left:95px;top:0px;z-index:2">
<img src="<? echo $profile[displaybadge]; ?>" id="Image3" alt="" align="top" border="0" width="56" height="56" style="position:absolute;left:142px;top:27px;width:56px;height:56px;z-index:3">
<div id="bv_" style="position:absolute;left:14px;top:135px;width:152px;height:13px;z-index:4" align="right">
<font style="font-size:10px" color="#000000" face="Verdana"><? echo $profile[mission]; ?></font></div>
<?
}
if($profile[hotels] == "CA"){
?>
<img src="images/big_slate.png" id="Image1" alt="" align="top" border="0" width="164" height="55" style="position:absolute;left:8px;top:80px;width:164px;height:55px;z-index:0">
<div id="bv_" style="position:absolute;left:15px;top:117px;width:150px;height:13px;z-index:1" align="center">
<font style="font-size:10px" color="#FFFFFF" face="Verdana"><b><? echo $profile[user]; ?></b></font></div>
<img src="http://www.habbo.ca/habbo-imaging/avatarimage?user=<? echo $profile[habboname]; ?>&action=&direction=4&head_direction=4&gesture=sml&size=l" id="Image2" alt="" align="top" border="0" style="position:absolute;left:95px;top:0px;z-index:2">
<img src="management.gif" id="Image3" alt="" align="top" border="0" width="56" height="56" style="position:absolute;left:142px;top:27px;width:56px;height:56px;z-index:3">
<div id="bv_" style="position:absolute;left:14px;top:135px;width:152px;height:13px;z-index:4" align="right">
<font style="font-size:10px" color="#000000" face="Verdana"><? echo $profile[mission]; ?></font></div>
<?
}
if($profile[hotels] == "AU"){
?>
<img src="images/big_slate.png" id="Image1" alt="" align="top" border="0" width="164" height="55" style="position:absolute;left:8px;top:80px;width:164px;height:55px;z-index:0">
<div id="bv_" style="position:absolute;left:15px;top:117px;width:150px;height:13px;z-index:1" align="center">
<font style="font-size:10px" color="#FFFFFF" face="Verdana"><b><? echo $profile[user]; ?></b></font></div>
<img src="http://www.habbo.com.au/habbo-imaging/avatarimage?user=<? echo $profile[habboname]; ?>&action=&direction=4&head_direction=4&gesture=sml&size=l" id="Image2" alt="" align="top" border="0" style="position:absolute;left:95px;top:0px;z-index:2">
<img src="management.gif" id="Image3" alt="" align="top" border="0" width="56" height="56" style="position:absolute;left:142px;top:27px;width:56px;height:56px;z-index:3">
<div id="bv_" style="position:absolute;left:14px;top:135px;width:152px;height:13px;z-index:4" align="right">
<font style="font-size:10px" color="#000000" face="Verdana"><? echo $profile[mission]; ?></font></div>
<?
}
if($profile[hotels] == "SG"){
?>
<img src="images/big_slate.png" id="Image1" alt="" align="top" border="0" width="164" height="55" style="position:absolute;left:8px;top:80px;width:164px;height:55px;z-index:0">
<div id="bv_" style="position:absolute;left:15px;top:117px;width:150px;height:13px;z-index:1" align="center">
<font style="font-size:10px" color="#FFFFFF" face="Verdana"><b><? echo $profile[user]; ?></b></font></div>
<img src="http://www.habbo.com.sg/habbo-imaging/avatarimage?user=<? echo $profile[habboname]; ?>&action=&direction=4&head_direction=4&gesture=sml&size=l" id="Image2" alt="" align="top" border="0" style="position:absolute;left:95px;top:0px;z-index:2">
<img src="management.gif" id="Image3" alt="" align="top" border="0" width="56" height="56" style="position:absolute;left:142px;top:27px;width:56px;height:56px;z-index:3">
<div id="bv_" style="position:absolute;left:14px;top:135px;width:152px;height:13px;z-index:4" align="right">
<font style="font-size:10px" color="#000000" face="Verdana"><? echo $profile[mission]; ?></font></div>
<?
}
}
}
}
?>
Thanks for any help given!




Reply With Quote





