Revcms Staff Page?

Status
Not open for further replies.

Derpec

Retrosetups.com | Professional, Reliable, Setups
Feb 21, 2012
655
91
Yes, I would like to hide my rank on the staff page and the Tech's Staff Rank. But how would we do that without losing our permissions.
 

Derpec

Retrosetups.com | Professional, Reliable, Setups
Feb 21, 2012
655
91
Post you staff.php page code and what ranks id's do you wish to hide?

Id's i want hidden 10,9

Staff.php
Code:
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8">
        <title>{hotelName} - Staff</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="shortcut icon" href="{url}/favicon.ico" type="image/vnd.microsoft.icon" /><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.nl/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"><b>Fact:</b> <script language="JavaScript">
 
 
var r_text = new Array ();
 
 
r_text[0] = "We Hire New Trial Moderators Every Month?(:";
 
 
r_text[1] = "{hotelName} Hotel no longer charges for VIP, it is completely free!";
 
 
r_text[2] = "{hotelName} Hotel will only keep on growing if you vote daily!";
 
 
r_text[3] = "You can buy Super VIP to help cover our server bills!";
 
 
r_text[4] = "{hotelName} Hotel opened on February 17, 2012";
 
r_text[5] = "{hotelName} Hotel is a new and developing retro hotel!";
 
 
var i = Math.floor(5*Math.random())
 
 
 
 
 
document.write(r_text[i]);
 
 
 
 
 
</script>
</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} <img src="{url}/app/tpl/skins/Habbo/images/id.png" style="vertical-align: middle;"></a><span></span></li>
                    <li class="selected"><strong>Community</strong><span></span></li>
                <li><a href="{url}/shop">Shop</a><span></span></li>
                <li><a href="">Forums</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=" selected last">Staff</li>
                    </ul>
                </div>
            </div>
           
           
            <div id="container">
 
<div id="content" style="position: relative" class="clearfix">
 
 
 
<div class="habblet-container" style="position: relative; left: 0px; top: 0px; width: 83%;">
 
<div class="cbb clearfix ">
 
<div id="habboclub-info" class="box-content">
 
 
 
<script type="text/javascript">
    <!--
    var _adynamo_client = "32cdce96-0813-41c5-84bd-3de99fd8dbef";
    var _adynamo_width = 728;
    var _adynamo_height = 90;
    //-->
</script>
<script type="text/javascript" src="http://static.addynamo.net/ad/js/deliverAds.js"></script>
 
</div>
</div>
</div>
            <div id="container">
                <div id="content" style="position: relative" class="clearfix">
                    <div id="column1" class="column">
                        <?php
                            $GetRanks = mysql_query("SELECT id,name FROM ranks WHERE id > 3 ORDER BY id DESC");
                            while($Ranks = mysql_fetch_assoc($GetRanks))
                            {
                                echo "<div class=\"habblet-container \"><div class=\"cbb clearfix blue \"><h2 class=\"title\">{$Ranks['name']}s</h2><div style=\"padding:5px\"><p>";
                                $GetUsers = mysql_query("SELECT username,motto,rank,last_online,online,look FROM users WHERE rank = {$Ranks['id']}");
                                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=\"position:absolute;\" src=\"http://www.habbo.nl/habbo-imaging/avatarimage?figure={$Users['look']}&action=wav&direction=2&head_direction=3&gesture=srp&size=l\">"
                                        ."<p style=\"margin-left:80px;margin-top:20px;\">Username: <strong>{$Users['username']}</strong><br>Motto: <strong>{$Users['motto']}</strong><br><small>Last Online: ". date("D, d F Y H:i (P)", $Users['last_online']) ."</small></p>"
                                        ."<p style=\"float:right;margin-top:-30px;margin-right:5px;\">{$OnlineStatus}</p><br><br><br>";
                                }
                                echo "</div></div></div>";
                            }
?>
                        <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
                       
            <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
 
                        <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="habblet-container ">
                                            <div class="habblet-container ">
 
                            <div class="cbb clearfix red ">
                           
                                <h2 class="title">{hotelName} Owner</h2>
 
                                <div style="padding:5px">
 
                              <center>
                             
                              <IMG  src="http://www.habbo.fr/habbo-imaging/avatarimage?figure=eacc-3075-110.ea-3168-63.hr-125-33.sh-300-1331.ca-1804-110.ch-3077-1320-1337.hd-180-3.lg-270-110-.ea-1402-62&action=crr=3&direction=2&head_direction=3&gesture=sml&size=l"></IMG>
                              <p>
                              <b><a href="http:///home/Dennis">Dennis</a></b><img src="{url}/c_images/album1584/PER.gif" align="right">
                              <p>Dennis is the hotel owner and creator of o Hotel. He is a very nice person but can be extermely busy at certain times. If you need help please ask the staff before talking to Dennis.
                              </p>
                                </div>
                        </div>
                    </div>
                                    <div class="habblet-container ">
                                            <div class="habblet-container ">
 
                            <div class="cbb clearfix red ">
                           
                                <h2 class="title">{hotelName} Owner</h2>
 
                                <div style="padding:5px">
 
                              <center>
                             
                              <IMG  src="http://www.habbo.fr/habbo-imaging/avatarimage?figure=eaea-3168-100.sh-290-100.hr-3163-61.ch-3015-100.hd-180-3.lg-3078-110-.ea-1402-62&action=crr=3&direction=2&head_direction=3&gesture=sml&size=l"></IMG>
                              <p>
                              <b><a href="http://t/home/Faked">Faked</a></b><img src="{url}/c_images/album1584/PER.gif" align="right">
                              <p>Faked is the 2nd owner of  hotel. He is our staff manager here at -hotel. He also helps out Xeno when he needs it so he might be busy sometimes. If you need any help please contact staff before talking to Faked.
                              </p>
                              <p></p>
                                </div>
                        </div>
                    </div>
                                    <div class="habblet-container ">
                                            <div class="habblet-container ">
 
                            <div class="cbb clearfix red ">
                           
                                <h2 class="title">{hotelName} Technician</h2>
 
                                <div style="padding:5px">
 
                              <center>
                             
                              <IMG  src="http://www.habbo.fr/habbo-imaging/avatarimage?figure=eahd-180-1.ch-210-66.lg-270-82.sh-290-91.hr-100.ea-1402-62&action=crr=3&direction=2&head_direction=3&gesture=sml&size=l"></IMG>
                              <p>
                              <b><a href="http:///home/Xeon">Xeon</a></b><img src="{url}/c_images/album1584/PER.gif" align="right">
                              <p>Xeno is our hotel technician at  hotel. He makes sure that everything is running smoothly around the hotel and cms. He is also very friendly to talk to when he is not busy. If you need any help please contact the staff before talking to Xeon.
                              </p>
                              <p></p>
                                </div>
                        </div>
                    </div>
<div class="cbb clearfix green ">
<h2 class="title">{hotelName} Staff</h2>
<div class="box-content">
<img src="{url}/images/album1584/PER.gif" align="right">
<p>
{hotelName} Staff develop, manage, and moderate the hotel. They make sure everything
is working smoothly and the users are safe. All {hotelName} Staff are listed on this page,
and you can always recognize them by their staff badge in the hotel. Staff members
are always there to help you, but please do not beg or harass these users.
</p>
</div>
</div>
 
                           
                           
        <div class="habblet-container ">
 
                            <div class="cbb clearfix orange ">
 
                                <h2 class="title">Contact {hotelName} Staff</h2>
 
                                <div style="padding:5px">
 
                              The first point of contact that you should use to contact the {hotelName} Staff, is through the <b>Call for Help</b>. However if you require urgent assistance regarding VIP payments or technical issues, you can contact us through our email address, <b>staffdabbo"gmail.com</b>!
 
                                </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>
        <br><br>
        <div id="footer">
        <center>
        <p class=">copyright">Powered By Revcms created by Kryptos l </p><p class=">copyright">&copy; Copyright 2012 <a href="{url}" target="_New"><b>{hotelName} Hotel</b></a>. All rights reserved<br></p>
        <div style="clear: both;"></div>
        </center>
        </div> </div>
        </div></div>
        <div>
    </body>
</html>
 

Weasel

👄 I'd intercept me
Nov 25, 2011
4,132
2,457
Search for this:
PHP:
 $GetRanks = mysql_query("SELECT id,name FROM ranks WHERE id > 3 ORDER BY id DESC");

Change it with this:
PHP:
 $GetRanks = mysql_query("SELECT id,name FROM ranks WHERE id='ID HERE' OR id='ID HERE' OR id='ID HERE' ORDER BY id DESC");

Don't forget to change ID HERE with the staff ID you want to show. Isn't 3 ranks enough? Just add after OR id='ID HERE' another OR id='ID HERE'.

I can do this for you to, just give all your staff ranks you want to be shown (the IDs)
 

Weasel

👄 I'd intercept me
Nov 25, 2011
4,132
2,457
Replace
PHP:
 $GetRanks = mysql_query("SELECT id,name FROM ranks WHERE id > 3 ORDER BY id DESC");

with:
PHP:
 $GetRanks = mysql_query("SELECT id,name FROM ranks WHERE id=4' OR id='5' OR id='6' OR id='7' OR id='8' ORDER BY id DESC");
 

Derpec

Retrosetups.com | Professional, Reliable, Setups
Feb 21, 2012
655
91
When i did that all my ranks Disapeered?

I thought it was suppose to just show them.
 
Status
Not open for further replies.

Users who are viewing this thread

Top