PHPretro ~ Habbo Club Page

Results 1 to 12 of 12
  1. #1
    Enthusiast Loucky is offline
    MemberRank
    Oct 2009 Join Date
    NederlandLocation
    32Posts

    PHPretro ~ Habbo Club Page

    Hey, I made a habbo club page where all members stand. This should not replace club.php This is just an extra page. Have fun!
    SCREEN:http://plaatjesupload.nl/bekijk/2010...101145-590.png


    PHP Code:
    <?php
    /*================================================================+\
    || # PHPRetro - An extendable virtual hotel site and management
    |+==================================================================
    || # Copyright (C) 2009 Yifan Lu. All rights reserved.
    || # http://www.yifanlu.com
    || # Parts Copyright (C) 2009 Meth0d. All rights reserved.
    || # http://www.meth0d.org
    || # All images, scripts, and layouts
    || # Copyright (C) 2009 Sulake Ltd. All rights reserved.
    |+==================================================================
    || # RELEASED EN MADE BY LOUCKY
    \+================================================================*/

    $page['allow_guests'] = true;
    require_once(
    './includes/core.php');
    require_once(
    './includes/session.php');
    $data = new community_sql;
    $lang->addLocale("community.community");

    $page['id'] = "hc";
    $page['name'] = "hc";
    $page['bodyid'] = "home";
    $page['cat'] = "credits";

    require_once(
    './templates/community_header.php');
    ?>
    <div id="wrapper">
    <div id="container22">
    <div id="container">
        <div id="content">
        <div id="column1" class="column">
                    <div class="habblet-container ">
                            <div class="cbb clearfix red ">

                                <h2 class="title"><span style="float: left;"><?php echo SHORTNAME?> Club Members</span><span style="float: right; font-weight: normal; font-size: 75%;">These are the club members</span>
                                </h2>

                            <div class="habblet box-content">

                            <?php
        $sql 
    "SELECT
                    name,mission,rank,figure,id,hbirth,tickets,credits,lastvisit
                FROM
                    users
                WHERE
                    rank = 2
                ORDER BY
                    rank DESC"
    ;
        
    $result mysql_query($sql) OR die(mysql_error());
        if(
    mysql_num_rows($result)) {
            while(
    $row mysql_fetch_assoc($result)) {

            
    $userid $row['id'];
                    if(
    $row['rank'] == "2")
            {
            
    $rank="<b/>Club Member</b>";
            }




    echo 
    "<p><img src='http://www.habbo.nl/habbo-imaging/avatarimage?figure=".$row['figure']."&size=b&head_direction=3&action=wlk,wav&gesture=sml' alt='".$row['name']."' align='left' />
    <b><a href='home/"
    .$row['name']."'>".$row['name']."</a></b>&nbsp;<br />

    <i><b>"
    .$row['mission']."</b></i><br/><br>
    Rank: "
    .$rank."<br />
    Laatste Bezoek: <b>"
    .$row['lastvisit']."<br/></b>
    </b>
    <img src='http://www.habbo.nl/v2/images/newhc/badge_hc.png' />"
    ;
            }
    }
    ?>







    </div>
                        </div>
                    </div>
                    <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>

    </div>

                    
                    

        <div id="column2" class="column">
          <div class="habblet-container ">
            <div class="cbb clearfix orange ">
              <h2 class="title"><?php echo SHORTNAME?> Club</h2><div class="habblet box-content"> 
              <p><b>If <?php echo SHORTNAME?> club member you get many benefits. Below are the benefits.</b></p>
              <p>________________________________________</p><br>
              <p><b>1. More clothes</b><br></p>
              <p><b>2. More furniture in the catalog</b><br></p>
              <p><b>3. Special room types</b><br></p>
              <p><b>4. No more waiting for rooms</b><br></p>
              <p><b>5. Extra space to your home</b><br></p>
              <p><b>6. You can add more friends</b><br></p>
              <p><b>7. Two commands :chooser and :furni</b><img src="http://www.habbo.nl/v2/images/newhc/badge_hc.png" align="right" /><br></p>
              <p><b>8. You get this <? php SHORT NAME;?> club badge</b></p><br>
              <p>________________________________________</p>
              <p><b>If you are not yet <? php SHORT NAME;?> Club member? And do you want to do? <a href="/credits/club" class="userlink" id="signout">Click here</b></a>
              </div>
            </div>
          </div>
         </div>
                    </div>
                    <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>

    </div>

        <script type="text/javascript">
    HabboView.run();
    </script>
    <?php require_once('./templates/community_footer.php'); ?>


  2. #2
    The one and only! Hejula is offline
    MemberRank
    Nov 2008 Join Date
    4,128Posts

    Re: PHPretro ~ Habbo Club Page

    This is actually quite nice.. I might make a version of this for uberCMS!

  3. #3
    Live Ocottish Sverlord Joopie is offline
    LegendRank
    Jun 2010 Join Date
    The NetherlandsLocation
    2,773Posts

    Re: PHPretro ~ Habbo Club Page

    Quote Originally Posted by Hejula View Post
    This is actually quite nice.. I might make a version of this for uberCMS!
    Can you better do it for VIP, Everybody buy's hc, So it's not special

  4. #4
    The one and only! Hejula is offline
    MemberRank
    Nov 2008 Join Date
    4,128Posts

    Re: PHPretro ~ Habbo Club Page

    There is already one for VIP's too my knowledge. This one would be for HC members.

  5. #5
    Web Developer Papercup is offline
    MemberRank
    Nov 2009 Join Date
    WalesLocation
    1,607Posts

    Re: PHPretro ~ Habbo Club Page

    This is a staff page linked up to rank 2?

  6. #6
    Account Upgraded | Title Enabled! .ICE. is offline
    MemberRank
    Dec 2010 Join Date
    Jurassic ParkLocation
    572Posts

    Re: PHPretro ~ Habbo Club Page

    Nice Mate!

  7. #7
    Enthusiast Loucky is offline
    MemberRank
    Oct 2009 Join Date
    NederlandLocation
    32Posts

    Re: PHPretro ~ Habbo Club Page


  8. #8
    Apprentice PsychHotel is offline
    MemberRank
    Aug 2009 Join Date
    7Posts

    Re: PHPretro ~ Habbo Club Page

    So whoever buys HC, they go on that page? What happens if 50 people buy it? Does it go one 1 page and extend to the bottom or go onto a new page?

  9. #9
    Alpha Member Zak© is offline
    MemberRank
    Oct 2007 Join Date
    2,693Posts

    Re: PHPretro ~ Habbo Club Page

    guys its easy to change a badge and change rank 2 to 3 simples.
    I Like this but imagine you own a hotel with over 2000 users registered and im pretty sure all of them were hc/ haaha

    ---------- Post added at 09:53 PM ---------- Previous post was at 09:34 PM ----------

    Page Dont work.

  10. #10
    Apprentice RubberBands is offline
    MemberRank
    Dec 2010 Join Date
    New ZealandLocation
    21Posts

    Re: PHPretro ~ Habbo Club Page

    Nice Release, i basically dont like the Normal HC Page. But agreeing to Zaktm. Nearly everyone buys HC.

    -Shaun

  11. #11
    Member Win is offline
    MemberRank
    Aug 2010 Join Date
    70Posts

    Re: PHPretro ~ Habbo Club Page

    This is pretty sweet, but not really needed
    thanks tho

  12. #12
    son, i am disappointed Squashing is offline
    MemberRank
    Apr 2011 Join Date
    CaliforniaLocation
    683Posts

    Re: PHPretro ~ Habbo Club Page

    Thx it works

    ---------- Post added at 01:30 PM ---------- Previous post was at 01:29 PM ----------

    And it works xd



Advertisement