Welcome to the RaGEZONE - MMORPG development forums.

RevCMS eXperts Page

This is a discussion on RevCMS eXperts Page within the Habbo Releases forums, part of the Habbo Hotel category; I don't know if this was already coded or not... But here is my RevCMS eXperts page for the Habbo ...

LyncusMU
Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    Azure subscription
    Rank
    Subscriber
    Join Date
    Dec 2011
    Location
    єαятн
    Posts
    1,738
    Liked
    263

    RevCMS eXperts Page

    Tabo Hotel
    I don't know if this was already coded or not...

    But here is my RevCMS eXperts page for the Habbo theme!

    Image:


    Code:
    PHP Code:
    <!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>
            
            <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}/"></a></h1>
                    <div id="subnavi">
                        <div id="subnavi-user">
                            <div style="margin-top:7px">Here at {hotelname}, we have a staff team witch looks after you!</div>
                        </div>
                        <div id="subnavi-search">
                            <div id="subnavi-search-upper">
                                <ul id="subnavi-search-links">
                                    <li><a href="{url}/logout" style="color:#000">Sign Out</a></li>
                                </ul>
                            </div>
                        </div>
                        <div id="to-hotel">
                            <a href="{url}/api.php" class="new-button green-button" target="eac955c8dbc88172421193892a3e98fc7402021a" onclick="HabboClient.openOrFocus(this); return false;"><b>Enter {hotelName} Hotel</b><i></i></a>
                        </div>
                    </div>
                    <ul id="navi">
                        <li class="metab"><a href="{url}/me">{username}</a><span></span></li>
                        <li><a href="{url}/expert">Community</a><span></span></li>
                        <li><a href="{url}/vip">VIP</a><span></span></li>
                        <li class="selected" ><a href="{url}/expert">eXperts</a><span></span></li>
                        <li><a href="{url}/help">Help <img src="{url}/app/tpl/skins/Habbo/images/help.gif"></a></a><span></span></li>
                    </ul>
                    <div id="habbos-online"><div class="rounded"><span>{online} members online</span></div></div>
                </div>
            </div>
            <div id="content-container">
                <div id="navi2-container" class="pngbg">
                    <div id="navi2" class="pngbg clearfix">
                        <ul>
                            <li class=""><a href="{url}/community">Community</a></li>
                            <li class=""><a href="{url}/news">News</a></li>
                            <li class=""><a href="{url}/staff">Staff</a></li>
                        </ul>
                    </div>
                </div>
                <div id="container">
                    <div id="content" style="position: relative" class="clearfix">
                        <div id="column1" class="column">
                            <?php
                                   $GetUsers 
    mysql_query("SELECT * FROM users WHERE experts = '1' ORDER BY RAND() LIMIT 10");
                            while(
    $Users mysql_fetch_assoc($GetUsers))
                            {
                                echo 
    "<div class=\"ContentBox\"><div class=\"BoxHeader\" id=\"blue\">{$Users['name']}</div><div class=\"BoxContent\"><p>";
                                
    $GetUsers mysql_query("SELECT username,motto,last_online,online,look FROM users WHERE experts = '1' ORDER BY RAND() LIMIT 8");
                                while(
    $Users mysql_fetch_assoc($GetUsers))
                                {
                                    if(
    $Users['online'] == 1){ $OnlineStatus "<font color=\"darkgreen\"><b>Online</b></font>"; } else { $OnlineStatus "<font color=\"darkred\"><b>Offline</b></font>"; }
                                    echo 
    "<img style=\ src=\"http://www.habbo.com/habbo-imaging/avatarimage?figure={$Users['look']}&action=wav&direction=2&head_direction=3&gesture=srp&size=l\">"
                                        
    ."<p style=\"margin-left:80px;margin-top:-70px;\">Username: <strong>{$Users['username']}</strong><br>Mission: <strong>{$Users['motto']}</strong></p>"
                                        
    ."<p style=\"float:right;margin-top:-30px;margin-right:5px;\">{$OnlineStatus}</p><br><br><br>";
                                }
                                echo 
    "</p></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 white ">
                                    <h2 class="title">Who are these people?</h2>
                                    <div style="padding:5px">
                                        eXperts are users who like staff, but without the tools. They help you around the hotel, and they make sure you're safe! If you have a question, ask our eXperts! We also hand pick eXperts, so be on your best behavour!
                                        <br><br>
                                        <center><img src="{url}/r63/c_images/album1584/HX5.gif"><img src="{url}/r63/c_images/album1584/HX1.gif"></center>
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        
                        </div>
                    </div>
                </div>
            </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 id="footer" >
                <!--<?php include("footer.php"); ?>-->
            </div>
        
        </body>
    </html>
    Well, enjoy? Haha.

  2. HostKey.com: Unmetered Dedicated servers in the Netherlands
  3. #2
    Delta Subscription
    Rank
    Subscriber
    Join Date
    Nov 2008
    Location
    Manchester, UK
    Posts
    3,266
    Liked
    822

    Re: RevCMS eXperts Page

    You are missing the background for the eXperts box? Also, for the $GetUsers I think SELECT null would be better as then no data is being loaded, the user information is loaded in $Users.

  4. #3
    Azure subscription
    Rank
    Subscriber
    Join Date
    Dec 2011
    Location
    єαятн
    Posts
    1,738
    Liked
    263

    Re: RevCMS eXperts Page

    Quote Originally Posted by Hejula View Post
    You are missing the background for the eXperts box? Also, for the $GetUsers I think SELECT null would be better as then no data is being loaded, the user information is loaded in $Users.
    I didn't want the background, you can easily add it if you want. Yeah, I shall fix it.

  5. #4
    // Razorlight - America
    Rank
    Subscriber
    Join Date
    Jun 2011
    Location
    Southampton.
    Posts
    1,631
    Liked
    268

    Re: RevCMS eXperts Page

    Just come back - and I see a good release. Good that RaGEZONE has kept it's form up.

  6. #5
    Azure subscription
    Rank
    Subscriber
    Join Date
    Dec 2011
    Location
    єαятн
    Posts
    1,738
    Liked
    263

    Re: RevCMS eXperts Page

    Quote Originally Posted by [S]harp View Post
    Just come back - and I see a good release. Good that RaGEZONE has kept it's form up.
    haha, nice to hear, [S]harp!

  7. #6
    The Sex Addict
    Rank
    Member +
    Join Date
    Oct 2011
    Location
    UK
    Posts
    502
    Liked
    59

    Re: RevCMS eXperts Page

    Good Job

  8. #7
    Law
    Garry's Mod is addictive!
    Rank
    Subscriber
    Join Date
    Dec 2009
    Location
    Norway
    Posts
    1,010
    Liked
    230

    Re: RevCMS eXperts Page

    Y u no make it sexy?!?!

  9. #8
    Average Member
    Rank
    Newbie
    Join Date
    Aug 2011
    Location
    Australia
    Posts
    71
    Liked
    3

    Re: RevCMS eXperts Page

    Good Job,

    I'm going to use this on my hotel

    10/10

  10. #9
    habjamz.com
    Rank
    Member +
    Join Date
    Jul 2011
    Posts
    543
    Liked
    65

    Re: RevCMS eXperts Page

    i am no expert at php code and stuff-

    but isnt that just the staff page edited? lol
    Hejula and Law like this.

  11. #10
    Monster Member
    Rank
    Member
    Join Date
    Jun 2007
    Location
    United Kingdom
    Posts
    191
    Liked
    50

    Re: RevCMS eXperts Page

    Why you ordering the experts by random every time someone visits the page just out of curiosity, as Hejula said it lacks some sort of background to stand out.

  12. #11
    UberCMS 2.0
    Rank
    Subscriber
    Join Date
    Apr 2007
    Location
    WA
    Posts
    1,823
    Liked
    690

    Re: RevCMS eXperts Page

    It's ok, but I would prefer to have it styled like this:

    97e9eec0583e7b7688f32d472bbac7e9.png

  13. #12
    The Omega
    Rank
    Member
    Join Date
    Jan 2011
    Location
    America
    Posts
    104
    Liked
    10

    Re: RevCMS eXperts Page

    Nice job!

    Goodluck!

  14. #13
    Azure subscription
    Rank
    Subscriber
    Join Date
    Dec 2011
    Location
    єαятн
    Posts
    1,738
    Liked
    263

    Re: RevCMS eXperts Page

    Quote Originally Posted by Jonteh View Post
    It's ok, but I would prefer to have it styled like this:

    97e9eec0583e7b7688f32d472bbac7e9.png
    Yeah, I could always make eXpert ranks.
    And your staff page looks nice, btw.

    And unless someone's retarded, they could easily add a background, if you are, here's a edit:
    PHP Code:
    <!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>
            
            <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}/"></a></h1>
                    <div id="subnavi">
                        <div id="subnavi-user">
                            <div style="margin-top:7px">Here at {hotelname}, we have a staff team witch looks after you!</div>
                        </div>
                        <div id="subnavi-search">
                            <div id="subnavi-search-upper">
                                <ul id="subnavi-search-links">
                                    <li><a href="{url}/logout" style="color:#000">Sign Out</a></li>
                                </ul>
                            </div>
                        </div>
                        <div id="to-hotel">
                            <a href="{url}/api.php" class="new-button green-button" target="eac955c8dbc88172421193892a3e98fc7402021a" onclick="HabboClient.openOrFocus(this); return false;"><b>Enter {hotelName} Hotel</b><i></i></a>
                        </div>
                    </div>
                    <ul id="navi">
                        <li class="metab"><a href="{url}/me">{username}</a><span></span></li>
                        <li><a href="{url}/expert">Community</a><span></span></li>
                        <li><a href="{url}/vip">VIP</a><span></span></li>
                        <li class="selected" ><a href="{url}/expert">eXperts</a><span></span></li>
                        <li><a href="{url}/help">Help <img src="{url}/app/tpl/skins/Habbo/images/help.gif"></a></a><span></span></li>
                    </ul>
                    <div id="habbos-online"><div class="rounded"><span>{online} members online</span></div></div>
                </div>
            </div>
            <div id="content-container">
                <div id="navi2-container" class="pngbg">
                    <div id="navi2" class="pngbg clearfix">
                        <ul>
                            <li class=""><a href="{url}/community">Community</a></li>
                            <li class=""><a href="{url}/news">News</a></li>
                            <li class=""><a href="{url}/staff">Staff</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 white ">
                                    <h2 class="title">Our eXperts</h2>
                                    <div style="padding:5px">
                            <?php
                                   $GetUsers 
    mysql_query("SELECT * FROM users WHERE experts = '1'");
                            while(
    $Users mysql_fetch_assoc($GetUsers))
                            {
                                echo 
    "<div class=\"ContentBox\"><div class=\"BoxHeader\" id=\"blue\">{$Users['name']}</div><div class=\"BoxContent\"><p>";
                                
    $GetUsers mysql_query("SELECT username,motto,last_online,online,look FROM users WHERE experts = '1'");
                                while(
    $Users mysql_fetch_assoc($GetUsers))
                                {
                                    if(
    $Users['online'] == 1){ $OnlineStatus "<font color=\"darkgreen\"><b>Online</b></font>"; } else { $OnlineStatus "<font color=\"darkred\"><b>Offline</b></font>"; }
                                    echo 
    "<img style=\ src=\"http://www.habbo.com/habbo-imaging/avatarimage?figure={$Users['look']}&action=wav&direction=2&head_direction=3&gesture=srp&size=l\">"
                                        
    ."<p style=\"margin-left:80px;margin-top:-70px;\">Username: <strong>{$Users['username']}</strong><br>Mission: <strong>{$Users['motto']}</strong></p>"
                                        
    ."<p style=\"float:right;margin-top:-30px;margin-right:5px;\">{$OnlineStatus}</p><br><br><br>";
                                }
                                echo 
    "</p></div></div>";
                            }
    ?>
    </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 white ">
                                    <h2 class="title">Who are these people?</h2>
                                    <div style="padding:5px">
                                        eXperts are users who like staff, but without the tools. They help you around the hotel, and they make sure you're safe! If you have a question, ask our eXperts! We also hand pick eXperts, so be on your best behavour!
                                        <br><br>
                                        <center><img src="{url}/r63/c_images/album1584/HX5.gif"><img src="{url}/r63/c_images/album1584/HX1.gif"></center>
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        
                        </div>
                    </div>
                </div>
            </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 id="footer" >
                <?php include("footer.php"); ?>
            </div>
        
        </body>
    </html>
    Fixes: Shows all eXperts, has a bakckground

    What you need: In the users table, add a row:
    experts, varchar(1), Default as defined 0

  15. #14
    Custom User Title
    Rank
    Alpha Member
    Join Date
    Jun 2010
    Location
    地下鉄
    Posts
    2,515
    Liked
    392

    Re: RevCMS eXperts Page

    Jonty just wanna show off your new staff page eh?

  16. #15
    Zonehotel.org Join Now!!
    Rank
    Member +
    Join Date
    Oct 2009
    Location
    Mullins, South
    Posts
    406
    Liked
    18

    Re: RevCMS eXperts Page

    This was released all ready wtf..

 

 
Page 1 of 2 12 LastLast

Posting Permissions

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