RevCMS Top Credits and Pixels Page

Results 1 to 12 of 12
  1. #1
    Apprentice Eurz is offline
    MemberRank
    Nov 2013 Join Date
    United KingdomLocation
    22Posts

    thumbs up RevCMS Top Credits and Pixels Page

    Hey RZ,today I am going to release a RevCMS Top Credits & Pixels page.

    Here's the screenie: LightShot

    PHP Code:
    <?php include_once('checktheban.php'); ?><!DOCTYPE html><html lang="en">    <head>        <meta http-equiv="content-type" content="text/html; charset=utf-8">        <title>{hotelName} - Community</title>                <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/common.css" type="text/css">        <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/libs2.js"></script>        <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/visual.js"></script>        <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/libs.js"></script>        <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/common.js"></script>        <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/fullcontent.js"></script>                <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/lightweightmepage.css" type="text/css" />        <script src="{url}/app/tpl/skins/Habbo/js/lightweightmepage.js" type="text/javascript"></script>        <script type="text/javascript">            document.habboLoggedIn = true;            var habboName = "{username}";            var habboId = {userid};            var habboReqPath = "";            var habboStaticFilePath = "{url}/app/tpl/skins/Habbo";            var habboImagerUrl = "http://www.habbo.com/habbo-imaging/";            var habboPartner = "";            var habboDefaultClientPopupUrl = "{url}/client";            window.name = "habboMain";            if (typeof HabboClient != "undefined") {                HabboClient.windowName = "eac955c8dbc88172421193892a3e98fc7402021a";                HabboClient.maximizeWindow = true;            }        </script>                <!--[if IE 8]>            <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/ie8.css" type="text/css">        <![endif]-->        <!--[if lt IE 8]>            <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/ie.css" type="text/css" />        <![endif]-->        <!--[if lt IE 7]>            <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/ie6.css" type="text/css" />            <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/pngfix.js"></script>            <script type="text/javascript">                try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}            </script>            <style type="text/css">                body { behavior: url({url}/app/tpl/skins/Habbo/js/csshover.htc); }            </style>        <![endif]-->    </head>        <body id="home">             <div id="overlay"></div>        <div id="header-container">            <div id="header" class="clearfix">                <h1><a href="{url}/index"></a></h1>                                <div id="subnavi">                    <div id="subnavi-user">                         <ul>                             <li id="myfriends"><a href="#"><span>My Friends</span></a><span class="r"></span></li>                             <li id="mygroups"><a href="#"><span>My Groups</span></a><span class="r"></span></li>                             <li id="myrooms"><a href="#"><span>My Rooms</span></a><span class="r"></span></li>                         </ul>                         <script type="text/javascript">                         L10N.put("purchase.group.title", "Create a group");                        document.observe("dom:loaded", function() {                            $("signout").observe("click", function() {                                HabboClient.close();                            });                        });                        </script>                    </div>                                         <div id="to-hotel">            <a href="{url}/logout" class="new-button red-button" style="margin-right:5px;margin-left:5px;"><b>Logout</b><i></i></a>                        <a href="{url}/client" class="new-button green-button" target="eac955c8dbc88172421193892a3e98fc7402021a" onclick="HabboClient.openOrFocus(this); return false;"><b>Enter {hotelName}</b><i></i></a>                                              </div>                </div>    <ul id="navi">                    <li class="metab"><a href="{url}/me">{username}</a><span></span></li>                    <li class="selected"><strong>Community</strong><span></span></li>            <li id="tab-register-now"><a href="{url}/vip">VIP</a><span></span></li>                                </ul>                <div id="habbos-online">    <div id="content">        <div class="cbb "><span>{online} members online</span></div>    </div></div>            </div>        </div>        <div id="content-container">            <div id="navi2-container" class="pngbg">                <div id="navi2" class="pngbg clearfix">                    <ul>                        <li class="selected">Community</li>                        <li><a href="{url}/news">News</a></li>                        <li class=""><a href="{url}/staff">Staff</a></li>            <li><a href="{url}/values">Rare Values</a></li>            <li class="last"><a href="{url}/social">TinyChat</a></li>                    </ul>                </div>            </div>           <div id="container">                <div id="content" style="position: relative" class="clearfix">
                        <div id="column1" class="column"><div class="habblet-container ">                            <div class="cbb clearfix orange ">                                <h2 class="title">Top Credits</h2>
    <center><table cellpadding='4' cellspacing='0' width='100%'>  <tr>   <td class='tablesubheader' width='50%' align='center'><b>Username</b></td>   <td class='tablesubheader' width='50%' align='center'><b>Credits</b></td>    </tr>  <?PHP $sql mysql_query("SELECT * FROM users WHERE rank < 5 ORDER BY credits DESC LIMIT 5");  while($a mysql_fetch_array($sql)) {    echo "<tr>   <td class='tablerow1' align='center'><hr />".filter($a['username'])."</a></td>   <td class='tablerow2' align='center'><hr />".Filter($a['credits'])."</td>
    </tr>"
    ;    } ?>
     </table></center></div></div><div class="habblet-container ">                            <div class="cbb clearfix blue ">                                <h2 class="title">Top Pixels</h2>
    <center><table cellpadding='4' cellspacing='0' width='100%'>  <tr>   <td class='tablesubheader' width='50%' align='center'><b>Username</b></td>   <td class='tablesubheader' width='50%' align='center'><b>Pixels</b></td>    </tr>  <?PHP $sql mysql_query("SELECT * FROM users WHERE rank < 5 ORDER BY activity_points DESC LIMIT 5");  while($a mysql_fetch_array($sql)) {    echo "<tr>   <td class='tablerow1' align='center'><hr />".filter($a['username'])."</a></td>   <td class='tablerow2' align='center'><hr />".Filter($a['activity_points'])."</td>
    </tr>"
    ;    } ?>
     </table></center>                            </div>                        </div></div>                        <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>                                       <div id="column2" class="column">                        <div class="habblet-container "></div>                        <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>                        <div class="habblet-container news-promo">                                    <div class="cbb clearfix notitle ">                                <div id="newspromo">                                    <div id="topstories">                                        <div class="topstory" style="background-image: url({url}/ase/ts/{newsIMG-1})">                                            <h4>Latest news</h4>                                            <h3><a href="{url}/index.php?url=news&id={newsID-1}">{newsTitle-1}</a></h3>                                            <p class="summary">                                                {newsCaption-1}                                            </p>                                            <p>                                                <a href="{url}/index.php?url=news&id={newsID-1}">Read more &raquo;</a>                                            </p>                                        </div>                                        <div class="topstory" style="background-image: url({url}/ase/ts/{newsIMG-2}); display: none">                                            <h4>Latest news</h4>                                            <h3><a href="{url}/index.php?url=news&id={newsID-2}">{newsTitle-2}</a></h3>                                            <p class="summary">                                                {newsCaption-2}                                            </p>                                            <p>                                                <a href="{url}/index.php?url=news&id={newsID-2}">Read more &raquo;</a>                                            </p>                                        </div>                                        <div class="topstory" style="background-image: url({url}/ase/ts/{newsIMG-3}); display: none">                                            <h4>Latest news</h4>                                            <h3><a href="{url}/index.php?url=news&id={newsID-3}">{newsTitle-3}</a></h3>                                            <p class="summary">                                                {newsCaption-3}                                            </p>                                                                                    </div>                                        <div id="topstories-nav" style="display: none"><a href="#" class="prev">&laquo; Previous</a><span>1</span> / 3<a href="#" class="next">Next &raquo;</a></div>                                    </div>                                    <ul class="widelist">                                        <li class="even"><a href="{url}/index.php?url=news&id={newsID-1}">{newsTitle-1} &raquo;</a><div class="newsitem-date">{newsDate-1}</div></li>                                                    <li class="odd"><a href="{url}/index.php?url=news&id={newsID-2}">{newsTitle-2} &raquo;</a><div class="newsitem-date">{newsDate-2}</div></li>                                                    <li class="last"><a href="/news">More news &raquo;</a></li>                                                </ul>                                </div>                                <script type="text/javascript">                                    document.observe("dom:loaded", function() { NewsPromo.init(); });                                </script>                            </div>                        </div>                        <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>                       <div id="column2" class="column"><div class="habblet-container ">                        <div class="cbb clearfix green ">                 <h2 class="title">Donate Us!</h2><center><br><form action="https://www.paypal.com/cgi-bin/webscr" method="post"><input type="hidden" name="cmd" value="_s-xclick"><input type="hidden" name="hosted_button_id" value="MH8TSFLCVLX36"><input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"><img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1"></form><br></center>                            
                </div>                        </div>                        <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>                    </div>                </div>            </div>            <script type="text/javascript">                document.observe('dom:loaded', function() {                    CurrentRoomEvents.init();                });            </script>        </div>        <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>        <script type="text/javascript">            HabboView.run();        </script>                
            <!--[if lt IE 7]>            <script type="text/javascript">                Pngfix.doPngImageFix();            </script>        <![endif]-->
                                                                    </div>                <br><br>        <div id="footer" ><font size="2">Powered by RevCMS.<br>    Copyright &copy; 2014 {hotelName} Hotel | All Rights Reserved.</font>               </div>        </body>
    </html>
    How to set it up:
    1.Go to your htdocs folder.
    2.Then go to app>tpl>skins>Habbo.
    3.Now in the Habbo folder make a new .php file and call it community.php (if you have a community file already, you can replace it with this one or give this new one a different name like topstats.php).
    4.In this .php file paste the code provided above then save it.
    5. Clear your browser's cache and reload your hotel's website to check if it works.

    P.S. I take no credit for coding this page I just have it in my CMS and thought it may come in handy to some people on RZ.

    Thanks, Eurz (Harry).



  2. #2
    Account Upgraded | Title Enabled! Joe Richardson is offline
    MemberRank
    Feb 2013 Join Date
    485Posts

    Re: RevCMS Top Credits and Pixels Page

    There's much better stat pages out there at the moment. Thanks for releasing i suppose.

  3. #3
    Proficient Member uhHab is offline
    MemberRank
    Nov 2013 Join Date
    164Posts

    Re: RevCMS Top Credits and Pixels Page

    I like your revcms skin ;o Would you mind releasing it?

  4. #4
    Account Upgraded | Title Enabled! tomsandz is offline
    MemberRank
    Nov 2012 Join Date
    EnglandLocation
    272Posts

    Re: RevCMS Top Credits and Pixels Page

    Ubercms? :o

  5. #5
    Valued Member Juniori is offline
    MemberRank
    Dec 2013 Join Date
    104Posts

    Re: RevCMS Top Credits and Pixels Page

    Quote Originally Posted by tomsandz View Post
    Ubercms? :o
    Title...
    ------
    Screen with multiple users?

  6. #6
    Account Upgraded | Title Enabled! tomsandz is offline
    MemberRank
    Nov 2012 Join Date
    EnglandLocation
    272Posts

    Re: RevCMS Top Credits and Pixels Page

    Quote Originally Posted by Juniori View Post
    Title...
    ------
    Screen with multiple users?
    Yes, I'm requesting an ubercms version of this.

  7. #7
    Enthusiast Yorktown is offline
    MemberRank
    Jan 2014 Join Date
    FinlandLocation
    43Posts

    Re: RevCMS Top Credits and Pixels Page

    Quote Originally Posted by tomsandz View Post
    Yes, I'm requesting an ubercms version of this.
    It's RevCMS... Not Uber

  8. #8
    Apprentice Eurz is offline
    MemberRank
    Nov 2013 Join Date
    United KingdomLocation
    22Posts

    Re: RevCMS Top Credits and Pixels Page

    Sorry I only have RevCMS version.

    - - - Updated - - -

    Quote Originally Posted by uhHab View Post
    I like your revcms skin ;o Would you mind releasing it?
    I might release it at a later date, there's a few issues with it atm.

  9. #9
    Account Upgraded | Title Enabled! tomsandz is offline
    MemberRank
    Nov 2012 Join Date
    EnglandLocation
    272Posts

    Re: RevCMS Top Credits and Pixels Page

    Quote Originally Posted by Yorktown View Post
    It's RevCMS... Not Uber
    Can you not read? :P

  10. #10
    Account Upgraded | Title Enabled! iRetro™ is offline
    MemberRank
    Feb 2010 Join Date
    United KingdomLocation
    558Posts

    Re: RevCMS Top Credits and Pixels Page

    Quote Originally Posted by Eurz View Post
    Sorry I only have RevCMS version.

    - - - Updated - - -


    I might release it at a later date, there's a few issues with it atm.
    May I use your topbanner ?

  11. #11
    Apprentice Eurz is offline
    MemberRank
    Nov 2013 Join Date
    United KingdomLocation
    22Posts

    Re: RevCMS Top Credits and Pixels Page

    Quote Originally Posted by iRetro™ View Post
    May I use your topbanner ?
    Well, my avitar is on it but you can edit that out if you want.
    Here: topbg

  12. #12
    Enthusiast Yorktown is offline
    MemberRank
    Jan 2014 Join Date
    FinlandLocation
    43Posts

    Re: RevCMS Top Credits and Pixels Page

    Quote Originally Posted by tomsandz View Post
    Can you not read? :P
    Oh.. :D Sorry mate, my bad.



Advertisement