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 2 of 2 FirstFirst 12
Results 11 to 13 of 13
  1. #11
    Join Date
    May 2006
    Location
    Hull
    Posts
    7,701
    Tokens
    2,430
    Habbo
    Moh

    Latest Awards:

    Default

    I need it so if level = 3,4 - DJ Name becomes name

    File Content
    PHP Code:
    <? 
    ob_start
    (); 
    include(
    "config.php"); 
    if (!
    $_GET[user]) 

    $getuser mysql_query("SELECT * from users order by level asc"); 
    while (
    $user mysql_fetch_array($getuser)) 

    // gets all the users information.  
    echo ("<font face=\"Verdana\" size=\"1\" color=\"#000000\"><a href=\"members.php?view=Profile&user=$user[username]\">$user[username]</a><br />\n"); 
    // links to a page to view the user's profile. 


    ELSE 

    $getuser mysql_query("SELECT * from users where username = '$_GET[user]'"); 
    $usernum mysql_num_rows($getuser); 
    if (
    $usernum == 0

    echo (
    "<table cellpadding=\"2\" width=\"359\" id=\"table1\" height=\"369\">
        <tr>
            <td colspan=\"2\" height=\"16\" width=\"351\"><b>
            <div class=\"header\">
                <font face=\"Verdana\" size=\"1\" color=\"#D75C03\">
    $_GET[user]'s Information:</font></div>
            </b>
            <div class=\"underheader\">
                <i><font size=\"1\" face=\"Verdana\" color=\"#D75C03\">View some information about 
                
    $_GET[user]</font></i></div>
            <font size=\"1\" face=\"Verdana\"><br></font></td>
        </tr>
        <tr>
            <td colspan=\"2\" bgcolor=\"#D75C03\" height=\"16\" width=\"351\">
            <font color=\"#ffffff\" size=\"1\" face=\"Verdana\"><b>General Information:</b></font></td>
        </tr>
        <tr>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"157\"><b>
            <font size=\"1\" face=\"Verdana\">DJ Name:</font></b></td>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"188\">
            <font size=\"1\" face=\"Verdana\">DJ 
    $_GET[user]</font></td>
        </tr>
        <tr>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"157\"><b>
            <font size=\"1\" face=\"Verdana\">Habbo Name:</font></b></td>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"188\">
            <font size=\"1\" face=\"Verdana\" color=\"#FF9933\">w</font></td>
        </tr>
        <tr>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"157\"><b>
            <font size=\"1\" face=\"Verdana\">Forum Name:</font></b></td>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"188\">
            <font face=\"Verdana\" size=\"1\" color=\"#FF9933\">w</font></td>
        </tr>
        <tr>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"157\"><b>
            <font size=\"1\" face=\"Verdana\">Site Title:</font></b></td>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"188\">
            <font face=\"Verdana\" size=\"1\" color=\"#FF9933\">w</font></td>
        </tr>
        <tr>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"157\"><b>
            <font size=\"1\" face=\"Verdana\">Age:</font></b></td>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"188\">
            <font face=\"Verdana\" size=\"1\" color=\"#FF9933\">w</font></td>
        </tr>
        <tr>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"157\"><b>
            <font size=\"1\" face=\"Verdana\">Main Hotel:</font></b></td>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"188\">
            <font face=\"Verdana\" size=\"1\" color=\"#FF9933\">w</font></td>
        </tr>
        <tr>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"157\"><b>
            <font size=\"1\" face=\"Verdana\">Gender:</font></b></td>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"188\">
            <font face=\"Verdana\" size=\"1\" color=\"#FF9933\">w</font></td>
        </tr>
        <tr>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"157\"><b>
            <font size=\"1\" face=\"Verdana\">Favourite Song:</font></b></td>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"188\">
            <font face=\"Verdana\" size=\"1\" color=\"#FF9933\">w</font></td>
        </tr>
        <tr>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"157\"><b>
            <font size=\"1\" face=\"Verdana\">Favourite Genre:</font></b></td>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"188\">
            <font face=\"Verdana\" size=\"1\" color=\"#FF9933\">w</font></td>
        </tr>
        <tr>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"157\"><b>
            <font size=\"1\" face=\"Verdana\">Favourite CH Management:</font></b></td>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"188\">
            <font face=\"Verdana\" size=\"1\" color=\"#FF9933\">w</font></td>
        </tr>
        <tr>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"157\"><b>
            <font size=\"1\" face=\"Verdana\">Best Habbo Friend:</font></b></td>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"188\">
            <font face=\"Verdana\" size=\"1\" color=\"#FF9933\">w</font></td>
        </tr>
        <tr>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"157\"><b>
            <font size=\"1\" face=\"Verdana\">Best Real Friend:</font></b></td>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"188\">
            <font face=\"Verdana\" size=\"1\" color=\"#FF9933\">wow</font></td>
        </tr>
        <tr>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"157\"><b>
            <font size=\"1\" face=\"Verdana\">Interests:</font></b></td>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"188\">
            <font face=\"Verdana\" size=\"1\" color=\"#FF9933\">w</font></td>
        </tr>
        <tr>
            <td height=\"16\" width=\"157\"></td>
            <td height=\"16\" width=\"188\"></td>
        </tr>
        <tr>
            <td colspan=\"2\" bgcolor=\"#D75C03\" height=\"16\" width=\"351\">
            <font color=\"#ffffff\" size=\"1\" face=\"Verdana\"><b>A Bit About </b></font>
            <b><font size=\"1\" face=\"Verdana\" color=\"#FFFFFF\">
    $_GET[user]</font></b><font color=\"#ffffff\" size=\"1\" face=\"Verdana\"><b>:</b></font></td>
        </tr>
        <tr>
            <td colspan=\"2\" bgcolor=\"#FF9933\" height=\"16\" width=\"351\">
            <font size=\"1\" face=\"Verdana\">
    $profile[about]</font></td>
        </tr>
    </table>
    <div style=\"opacity: 0.4;\">
        <font size=\"1\" face=\"Verdana\">&nbsp;</font><table cellpadding=\"2\" width=\"359\" id=\"table2\" height=\"17\">
        <tr>
            <td bgcolor=\"#D75C03\" height=\"16\" width=\"169\">
            <b><font size=\"1\" face=\"Verdana\" color=\"#FFFFFF\">
    $_GET[user]'s 
            Habbo Image</font></b></td>
            <td bgcolor=\"#D75C03\" height=\"16\" width=\"176\">
            <b><font face=\"Verdana\" size=\"1\" color=\"#FFFFFF\">
    $_GET[user]'s Habbo 
            is:</font></b><img border=\"0\" src=\"status/status.php?name=
    $_GET[user]\" width=\"50\" height=\"16\"></td>
        </tr>
        <tr>
            <td height=\"13\" width=\"169\" bgcolor=\"#FF9933\">
            <p align=\"center\">
            <img border=\"0\" src=\"figure/figure.php?name=
    $_GET[user]\"></td>
            <td height=\"13\" width=\"176\">
            <p align=\"center\"></td>
        </tr>
    </table>
    </div>"
    ); 

    else 

    $profile mysql_fetch_array($getuser); 
    echo (
    "<table cellpadding=\"2\" width=\"359\" id=\"table1\" height=\"369\">
        <tr>
            <td colspan=\"2\" height=\"16\" width=\"351\"><b>
            <div class=\"header\">
                <font face=\"Verdana\" size=\"1\" color=\"#D75C03\">
    $profile[username]'s Information:</font></div>
            </b>
            <div class=\"underheader\">
                <i><font size=\"1\" face=\"Verdana\" color=\"#D75C03\">View some information about 
                
    $profile[username]</font></i></div>
            <font size=\"1\" face=\"Verdana\"><br></font></td>
        </tr>
        <tr>
            <td colspan=\"2\" bgcolor=\"#D75C03\" height=\"16\" width=\"351\">
            <font color=\"#ffffff\" size=\"1\" face=\"Verdana\"><b>General Information:</b></font></td>
        </tr>
        <tr>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"157\"><b>
            <font size=\"1\" face=\"Verdana\">DJ Name:</font></b></td>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"188\">
            <font size=\"1\" face=\"Verdana\">DJ 
    $profile[username]</font></td>
        </tr>
        <tr>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"157\"><b>
            <font size=\"1\" face=\"Verdana\">Habbo Name:</font></b></td>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"188\">
            <font size=\"1\" face=\"Verdana\">
    $profile[habboname]</font></td>
        </tr>
        <tr>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"157\"><b>
            <font size=\"1\" face=\"Verdana\">Forum Name:</font></b></td>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"188\">
            <font size=\"1\" face=\"Verdana\">
    $profile[forumname]</font></td>
        </tr>
        <tr>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"157\"><b>
            <font size=\"1\" face=\"Verdana\">Site Title:</font></b></td>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"188\">
            <font size=\"1\" face=\"Verdana\">
    $profile[sitetitle]</font></td>
        </tr>
        <tr>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"157\"><b>
            <font size=\"1\" face=\"Verdana\">Age:</font></b></td>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"188\">
            <font size=\"1\" face=\"Verdana\">
    $profile[age]</font></td>
        </tr>
        <tr>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"157\"><b>
            <font size=\"1\" face=\"Verdana\">Main Hotel:</font></b></td>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"188\">
            <font size=\"1\" face=\"Verdana\">
    $profile[hotel]</font></td>
        </tr>
        <tr>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"157\"><b>
            <font size=\"1\" face=\"Verdana\">Gender:</font></b></td>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"188\">
            <font size=\"1\" face=\"Verdana\">
    $profile[gender]</font></td>
        </tr>
        <tr>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"157\"><b>
            <font size=\"1\" face=\"Verdana\">Favourite Song:</font></b></td>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"188\">
            <font size=\"1\" face=\"Verdana\">
    $profile[favouritesong]</font></td>
        </tr>
        <tr>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"157\"><b>
            <font size=\"1\" face=\"Verdana\">Favourite Genre:</font></b></td>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"188\">
            <font size=\"1\" face=\"Verdana\">
    $profile[favouritegenre]</font></td>
        </tr>
        <tr>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"157\"><b>
            <font size=\"1\" face=\"Verdana\">Favourite CH Management:</font></b></td>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"188\">
            <font size=\"1\" face=\"Verdana\">
    $profile[favmanagement]</font></td>
        </tr>
        <tr>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"157\"><b>
            <font size=\"1\" face=\"Verdana\">Best Habbo Friend:</font></b></td>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"188\">
            <font size=\"1\" face=\"Verdana\">
    $profile[besthabbofriend]</font></td>
        </tr>
        <tr>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"157\"><b>
            <font size=\"1\" face=\"Verdana\">Best Real Friend:</font></b></td>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"188\">
            <font size=\"1\" face=\"Verdana\">
    $profile[bestfriend]</font></td>
        </tr>
        <tr>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"157\"><b>
            <font size=\"1\" face=\"Verdana\">Interests:</font></b></td>
            <td bgcolor=\"#FF9933\" height=\"16\" width=\"188\">
            <font size=\"1\" face=\"Verdana\">
    $profile[interests]</font></td>
        </tr>
        <tr>
            <td height=\"16\" width=\"157\"></td>
            <td height=\"16\" width=\"188\"></td>
        </tr>
        <tr>
            <td colspan=\"2\" bgcolor=\"#D75C03\" height=\"16\" width=\"351\">
            <font color=\"#ffffff\" size=\"1\" face=\"Verdana\"><b>A Bit About </b></font>
            <b><font size=\"1\" face=\"Verdana\" color=\"#FFFFFF\">
    $profile[username]</font></b><font color=\"#ffffff\" size=\"1\" face=\"Verdana\"><b>:</b></font></td>
        </tr>
        <tr>
            <td colspan=\"2\" bgcolor=\"#FF9933\" height=\"16\" width=\"351\">
            <font size=\"1\" face=\"Verdana\">
    $profile[about]</font></td>
        </tr>
    </table>
    <div style=\"opacity: 0.4;\">
        <font size=\"1\" face=\"Verdana\">&nbsp;</font><table cellpadding=\"2\" width=\"359\" id=\"table2\" height=\"17\">
        <tr>
            <td bgcolor=\"#D75C03\" height=\"16\" width=\"169\">
            <b><font size=\"1\" face=\"Verdana\" color=\"#FFFFFF\">
    $profile[habboname]'s Habbo Image</font></b></td>
            <td bgcolor=\"#D75C03\" height=\"16\" width=\"176\">
            <b><font size=\"1\" face=\"Verdana\" color=\"#FFFFFF\">
    $profile[username]'s 
            Habbo is:</font></b><img border=\"0\" src=\"status/status.php?name=
    $profile[habboname]\" width=\"50\" height=\"16\"></td>
        </tr>
        <tr>
            <td height=\"13\" width=\"169\" bgcolor=\"#FF9933\">
            <p align=\"center\">
            <img border=\"0\" src=\"figure/figure.php?name=
    $profile[habboname]\"></td>
            <td height=\"13\" width=\"176\">
            <p align=\"center\"></td>
        </tr>
    </table>
    </div>"
    ); 
    // in the above code, we display the user's information. 


    ?> 

    <body link="#000000" vlink="#000000" alink="#000000"><link rel="stylesheet" type="text/css" href="http://www.crazyhabbo.net/halloween/stylesheet.css">

    <title>Staff List</title>

  2. #12
    Join Date
    Mar 2006
    Location
    Scotland
    Posts
    1,012
    Tokens
    175

    Latest Awards:

    Default

    Don't listen to my dodgy PHP.
    Last edited by YouFail; 27-11-2006 at 08:19 PM.


    You don't like me
    Chances are I don't like you.

  3. #13
    Join Date
    May 2006
    Location
    Hull
    Posts
    7,701
    Tokens
    2,430
    Habbo
    Moh

    Latest Awards:

    Default

    Quote Originally Posted by RichardKnox View Post
    Don't listen to my dodgy PHP.
    lol.

    Well you got most of the Auto Staff page done.

    Priview here.
    http://www.crazyhabbo.net/profile/test3.php

    I just Need the users to be in rows, and the profiles need to be different

Page 2 of 2 FirstFirst 12

Posting Permissions

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