Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Releases
CMS Releases
[SHANGO] STAFF PAGE [SHANGO]
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="vRory" data-source="post: 117790" data-attributes="member: 2857"><p>This is not complete as there's a few problems with the positioning and the avatars.</p><p> </p><p>[PHP]<?php</p><p>/*================================================================+\</p><p>|| # Theme created by Shaheem</p><p>|| # Keep copyrights above for respect</p><p>|| # Page:Staff Made by Rory of reflectionhotel.info</p><p>|| # Created By chrispettyjohn</p><p>\+================================================================*/</p><p> </p><p>require_once('./app/tpl/skins/Shango/templates/header.php');</p><p>?></p><p> </p><p> </p><p><div id="main_left"></p><p> </p><p><?php</p><p> $GetRanks = mysql_query("SELECT id,name FROM ranks WHERE id > 3 ORDER BY id DESC");</p><p> while($Ranks = mysql_fetch_assoc($GetRanks))</p><p> {</p><p> 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>";</p><p> $GetUsers = mysql_query("SELECT username,motto,rank,last_online,online,look FROM users WHERE rank = {$Ranks['id']}");</p><p> while($Users = mysql_fetch_assoc($GetUsers))</p><p> {</p><p> if($Users['online'] == 1){ $OnlineStatus = "<font color=\"darkgreen\"><blink>Online</blink></font>"; } else { $OnlineStatus = "<font color=\"darkred\">Offline</font>"; }</p><p> 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><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><p> ."<p style=\"float:right;margin-top:-30px;\">{$OnlineStatus}</p><br><br><br>";</p><p> }</p><p> echo "</p></div></div><br>";</p><p> }</p><p>?></p><p> </p><p> </p><p> </p><p></div></p><p><div id="main_right"></p><p> </p><p> <div class="content-box" style="width:300px;background-color:#fff;"></p><p> <div class="content-box" style="width:290px"></p><p> <h2 class="title">Who are these people?</h2></p><p> </div></p><p> <div class="content-box-content"></p><p> <p></p><p> The {hotelName} Hotel staff are people who have the power and authority to maintain the hotel. This covers everything</p><p> from banning users to hosting events, giving users credits and much more. To find a staff member in the hotel</p><p> you will need to look for a user who has a badge like the one below.</p><p> <br><br></p><p> <center><img src="{url}/c_images/album1584/ADM.gif"></center></p><p> </p></p><p> </div></p><p> </div></p><p> </p><p></div></p><p> </p><p> </p><p> </p><p><?php</p><p>require_once('./app/tpl/skins/Shango/templates/footer.php');?>[/PHP]</p><p> </p><p>Just replace the code above with you're current staff page,</p><p> </p><p>Image - <img src="http://i.imgur.com/SROhR.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p></blockquote><p></p>
[QUOTE="vRory, post: 117790, member: 2857"] 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');?>[/PHP] Just replace the code above with you're current staff page, Image - [IMG]http://i.imgur.com/SROhR.png[/IMG] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Releases
CMS Releases
[SHANGO] STAFF PAGE [SHANGO]
Top