[SHANGO] STAFF PAGE [SHANGO]

vRory

Unemployed.
May 4, 2011
447
69
This is not complete as there's a few problems with the positioning and the avatars.

PHP:
<?php
/*================================================================+\
|| # Theme created by Shaheem
|| # Keep copyrights above for respect
|| # Page:Staff Made by Rory of reflectionhotel.info
|| # Created By chrispettyjohn
\+================================================================*/
 
require_once('./app/tpl/skins/Shango/templates/header.php');
?>
 
 
<div id="main_left">
 
<?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=\"content-box\" style=\"background-color:#fff\"><div class=\"content-box\"><h2 class=\"title\">{$Ranks['name']}s</h2></div><div class=\"content-box-content\"><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\"><blink>Online</blink></font>"; } else { $OnlineStatus = "<font color=\"darkred\">Offline</font>"; }
            echo "<img style=\"position:absolute;\" src=\"http://www.habbo.com/habbo-imaging/avatarimage?figure={$Users['look']}&action=wav&direction=2&head_direction=3&gesture=srp&size=0\"><p>"
                ."</p><small><p style=\"margin-left:80px;margin-top:20px;\">Username: {$Users['username']}<br>Motto: {$Users['motto']}<br>Last Online: ". date("D, d F Y H:i (P)", $Users['last_online']) ."</small></p>"
                ."<p style=\"float:right;margin-top:-30px;\">{$OnlineStatus}</p><br><br><br>";
        }
        echo "</p></div></div><br>";
    }
?>
 
 
 
</div>
<div id="main_right">
 
    <div class="content-box" style="width:300px;background-color:#fff;">
      <div class="content-box" style="width:290px">
        <h2 class="title">Who are these people?</h2>
      </div>
      <div class="content-box-content">
        <p>
            The {hotelName} Hotel staff are people who have the power and authority to maintain the hotel. This covers everything
            from banning users to hosting events, giving users credits and much more. To find a staff member in the hotel
            you will need to look for a user who has a badge like the one below.
            <br><br>
            <center><img src="{url}/c_images/album1584/ADM.gif"></center>
        </p>
      </div>
    </div>
 
</div>
 
 
 
<?php
require_once('./app/tpl/skins/Shango/templates/footer.php');?>

Just replace the code above with you're current staff page,

Image -
SROhR.png
 

Nike

#MGK
Jun 9, 2012
545
107
My mate Bailey/ Coded this the day shango came out. Ours was a bit better though :p
He didn't release though.
Thanks though.

EDIT: The characters alignment is off. They are to far down. ;P
 

madsmartapple1

New Member
Aug 22, 2011
4
0
Pics aren't working for me..?
Edit: Found another working staff page..But the character location is a tad bit off..They're lower than they're supposed to be. Oh and i also need a vip page, anyone got one?
 

Hypomethic

Member
Jul 18, 2012
89
3
Wonderful. I always use Shango, It's a cool RevCMS Theme, I support RevCMS so I like your thread. thanks for the release bro.
 

Latinus

"Not everything that shines is Gold"
Jan 2, 2012
74
8
Uhm... The Staff Page does not work for me guys...
Anyone can help me?
I sent a screenie..
Please! It's for my hotel ;'[
 

Attachments

  • Nanana.PNG
    Nanana.PNG
    1.6 KB · Views: 23

vRory

Unemployed.
May 4, 2011
447
69
Uhm... The Staff Page does not work for me guys...
Anyone can help me?
I sent a screenie..
Please! It's for my hotel ;'[
you need to add it too navi 
Pics aren't working for me..?
Edit: Found another working staff page..But the character location is a tad bit off..They're lower than they're supposed to be. Oh and i also need a vip page, anyone got one?
here's a Pack that got released.
 

Latinus

"Not everything that shines is Gold"
Jan 2, 2012
74
8
Hey Rory, can you explain me how to do this? Thanks alot and please use more detailed words or I wont understand ' you need to add it to navy ' ;)
Anyways Great job with Release!
 

Qodex

Member
Feb 9, 2012
374
36
Place it in your shango folder then go to templates>header open header up and find where it says 'Me' 'News' ect and place this code in just before log out ; <a href"staff.php">Staff</a> if that doesn't work remove .php
 

Latinus

"Not everything that shines is Gold"
Jan 2, 2012
74
8
Place it in your shango folder then go to templates>header open header up and find where it says 'Me' 'News' ect and place this code in just before log out ; <a href"staff.php">Staff</a> if that doesn't work remove .php
Right thanks alot for everything, works and I'm using now in my hotel, btw changed skin just to get something on maintainance, if anyone wants to, please visit my brand new Hotel:
Thanks.
 

Users who are viewing this thread

Top