[Uber] StatisticPage [Uber]

Results 1 to 13 of 13
  1. #1
    Novice Xgum is offline
    MemberRank
    Sep 2010 Join Date
    1Posts

    information [Uber] StatisticPage [Uber]

    Hi I wanna release a Statistic page that u can add yo your hotel :)
    Sorry for my Bad English ^^
    I dont know if this is wrong section , lols, I'm new :)

    ow Btw if you seen this any other place please tell me, cause me and my friend just edited this a lil bit

    Here is a Picture:


    Credits:
    toperwin - 50%
    Me - 50%

    CODE:
    <body id="home" class=" ">
    <div id="overlay"></div>
    <div id="content-container">
    <div id="container">
    <div id="content">

    <div id="column2" class="column">
    <div class="habblet-container ">
    <div class="cbb clearfix ">


    <div id="notfound-looking-for" class="box-content">
    <b>About %habboName%</b><br>
    Gender: <?php echo $users->GetUserVar(USER_ID, 'gender'); ?><br />
    Motto: <?php echo $users->GetUserVar(USER_ID, 'motto'); ?><br />Credits: <?php echo $users->GetUserVar(USER_ID, 'credits'); ?><br />
    Pixels: <?php echo $users->GetUserVar(USER_ID, 'activity_points'); ?> <br />
    Last Online: <?php echo $users->GetUserVar(USER_ID, 'last_online'); ?><br />
    Registered Date: <?php echo $users->GetUserVar(USER_ID, 'account_created'); ?>
    <br />
    IP address: <?php echo $_SERVER["REMOTE_ADDR"]; ?><br /><br>
    Style: <img alt="%habboName%" src="http://www.habbo.nl/habbo-imaging/avatarimage?figure=<?php echo $users->GetUserVar(USER_ID, 'look'); ?>&direction=2&head_direction=3" width="64" height="110" class="welcome-habbo" />
    small style: <img alt="%habboName%" src="http://www.habbo.nl/habbo-imaging/avatarimage?figure=<?php echo $users->GetUserVar(USER_ID, 'look'); ?>&direction=2&head_direction=3" width="33" height="56" />
    </div>


    </div></div></div></div>


    <div id="column1" class="column">
    <div class="habblet-container ">
    <div class="cbb clearfix ">
    <div id="notfound-looking-for" class="box-content">

    <b>Statistics Hotel</b><br>
    Users online: <?php $sql = "SELECT COUNT(*) FROM users WHERE online = '1'";
    $query = mysql_query($sql) or die(mysql_error());
    $hoeveel = mysql_result($query,0,0);

    echo $hoeveel; ?> <br>
    Registered Members:
    <?php
    $query = mysql_query("SELECT COUNT(*) AS aantalleden FROM users") or die(mysql_error());
    $data = mysql_fetch_assoc($query);

    echo $data['aantalleden'];
    ?>
    <br />Rooms:
    <?php
    $query = mysql_query("SELECT COUNT(*) AS aantalkamers FROM rooms") or die(mysql_error());
    $data = mysql_fetch_assoc($query);

    echo $data['aantalkamers'];
    ?>
    <br />Badges:
    <?php
    $query = mysql_query("SELECT COUNT(*) AS aantalbadges FROM user_badges") or die(mysql_error());
    $data = mysql_fetch_assoc($query);

    echo $data['aantalbadges'];
    ?>
    <br />Favourite rooms:
    <?php
    $query = mysql_query("SELECT COUNT(*) AS aantalfavouritekamers FROM user_favorites") or die(mysql_error());
    $data = mysql_fetch_assoc($query);

    echo $data['aantalfavouritekamers'];
    ?>
    <br />Total pieces of furniture:
    <?php
    $query = mysql_query("SELECT COUNT(*) AS aantalmeubels FROM furniture") or die(mysql_error());
    $data = mysql_fetch_assoc($query); echo $data['aantalmeubels'];
    ?>
    <br />Total pieces of furniture in the catalog:

    <?php
    $query = mysql_query("SELECT COUNT(*) AS aantalmeubels FROM catalog_items") or die(mysql_error());
    $data = mysql_fetch_assoc($query);

    echo $data['aantalmeubels'];
    ?>
    <br /><br>
    <b>Statistics Website</b><br>
    Number Of tags:
    <?php
    $query = mysql_query("SELECT COUNT(*) AS aantaltags FROM user_tags") or die(mysql_error());
    $data = mysql_fetch_assoc($query);

    echo $data['aantaltags'];
    ?>


    <br>
    <br>


    </div>
    </div>
    </div></div>


    - Xgum
    Last edited by Sean; 14-10-10 at 04:03 PM. Reason: Added Credits


  2. #2
    Banned PEjump2 is offline
    BannedRank
    Jan 2010 Join Date
    The NetherlandsLocation
    2,838Posts

    Re: [Uber] StatisticPage [Uber]

    Credits to toperwin maybe? :P

  3. #3
    What about no. Davidaap is offline
    MemberRank
    Nov 2009 Join Date
    773Posts

    Re: [Uber] StatisticPage [Uber]

    yes credits to toperwin -,-

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

    Re: [Uber] StatisticPage [Uber]

    i Hate re-releases.

  5. #5
    Account Upgraded | Title Enabled! Milw0rm is offline
    MemberRank
    Jul 2007 Join Date
    660Posts

    Re: [Uber] StatisticPage [Uber]

    I love it, its in english :D

  6. #6
    League of Legends <3 toperwin is offline
    MemberRank
    Jan 2009 Join Date
    313Posts

    Re: [Uber] StatisticPage [Uber]

    Credits to me plz? its custommed at my version,.. i like at least 50% credits,.... u only replace some stuff and translated it,..

  7. #7
    8-bit Bitch Slapper Alpha Ducky is offline
    MemberRank
    Mar 2007 Join Date
    In My HouseLocation
    2,436Posts

    Re: [Uber] StatisticPage [Uber]

    right section ;)
    Thanks for releasing.
    Never seen it by toperwin, but if he did release it you should add creds.
    Wouldn't want ya to get flamed :p

  8. #8
    What about no. Davidaap is offline
    MemberRank
    Nov 2009 Join Date
    773Posts

    Re: [Uber] StatisticPage [Uber]

    Quote Originally Posted by rickymenier View Post
    right section ;)
    Thanks for releasing.
    Never seen it by toperwin, but if he did release it you should add creds.
    Wouldn't want ya to get flamed :p
    http://forum.ragezone.com/f353/stats...bercms-695502/

  9. #9
    I'm back! iJay is offline
    MemberRank
    Nov 2008 Join Date
    Down Under ;)Location
    602Posts

    Re: [Uber] StatisticPage [Uber]

    Not bad at all mate...

    Everyone is saying credits to toperwin, but Habmoon sent me a copy of this, but for PHPRetro (before toperwins release) with the EXACT same style etc. for Bobbalite (Late last year or early this year)

    I there for believe credits should go to Habmoon ;)

  10. #10
    Ex-Supervisor Sean is offline
    LegendRank
    Jun 2007 Join Date
    JerseyLocation
    4,097Posts

    Re: [Uber] StatisticPage [Uber]

    Not bad at all. I also added 50% credits to toperwin. But good release ;)

  11. #11
    Account Upgraded | Title Enabled! Milw0rm is offline
    MemberRank
    Jul 2007 Join Date
    660Posts

    Re: [Uber] StatisticPage [Uber]

    Get an error with it..
    Something about GetUser and something

  12. #12
    Not active anymore! Winter is offline
    MemberRank
    Aug 2009 Join Date
    AustraliaLocation
    461Posts

    Re: [Uber] StatisticPage [Uber]

    Nice release, i'm sure this will be useful to some people that have uberCMS.
    7/10

  13. #13
    Valued Member Fag is offline
    MemberRank
    Oct 2010 Join Date
    United StatesLocation
    129Posts

    Re: [Uber] StatisticPage [Uber]

    Thanks for the release



Advertisement