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
[RevCMS] Staff.php
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="RJackHabbo" data-source="post: 338931" data-attributes="member: 59872"><p>Hello, </p><p> DevBest</p><p></p><p>This is my first post so hopefully you like also this has most likely been released so if it has please include Link in the Description for their Credits. </p><p></p><p>Step 1;</p><p>Run this on your database:</p><p>[CODE]ALTER TABLE `users` ADD `age` VARCHAR(10) NOT NULL default 'Unknown';</p><p>ALTER TABLE `users` ADD `position` VARCHAR(30) NOT NULL default 'Hotel User';</p><p>ALTER TABLE `users` ADD `country` VARCHAR(55) NOT NULL default 'Unknown';[/CODE]</p><p>This is for the Staff Page it Will Show The Age so Edit Unknown with there Age this will be on the </p><p>Users Page obviously also You need to Edit the Hotel User to What there position is so like </p><p>'Founder' and then the last one i will show you now</p><p></p><p>Step 2;</p><p>Now add this into your SWF Folder which is usually called 'r63'</p><p>Download <strong><u><a href="https://goo.gl/A8OiO1" target="_blank">HERE</a></u></strong></p><p>This is to show what country they are From it shows as a Image</p><p></p><p>In the Folder;</p><p>Various Country's</p><p></p><p><img src="http://i.imgur.com/7KbsJcB.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /> </p><p></p><p></p><p></p><p>Okay now for the staff page;</p><p><span style="font-size: 14px">Usually on the Staff Page the MySQL Code is</span></p><p><span style="font-size: 14px">(Had to use Pastebin because of characters)</span></p><p><span style="font-size: 14px"><a href="http://pastebin.com/Aw0sEr6Z" target="_blank">http://pastebin.com/Aw0sEr6Z</a></span></p><p></p><p>So you want to Remove this and add this</p><p>[PHP]</p><p><div id="container"></p><p> <div id="content"></p><p> <div id="column2" class="column"></p><p></p><p><?php</p><p>error_reporting(0);</p><p>$getRanks = mysql_query("SELECT id,name FROM ranks WHERE id =12 ORDER BY id DESC");</p><p>$Bans = mysql_query("SELECT * FROM `bans` WHERE `username` = '" . $Users['username'] . "'");</p><p>$BanCount = mysql_num_rows($Bans);</p><p>echo $BanCount;</p><p></p><p></p><p>while ($Ranks = mysql_fetch_assoc($getRanks))</p><p></p><p>{</p><p> echo '<div class="habblet-container "> </p><p><div class="cbb clearfix red "></p><p><h2 class="title"><span style="float: left;">Founder</span> <span style="float: right; font-weight: normal; font-size: 75%;"></span></h2>';</p><p></p><p> $getMembers = mysql_query("SELECT id,username,motto,look,account_created,online,last_online,position,age,country FROM users WHERE rank = '" . $Ranks['id'] . "'");</p><p></p><p> echo '<div class="box-content">';</p><p></p><p> if (mysql_num_rows($getMembers) > 0)</p><p> {</p><p> $oe = 1;</p><p> while ($member = mysql_fetch_assoc($getMembers))</p><p> {</p><p> if ($oe == 2)</p><p> {</p><p> $oe = 1;</p><p> }</p><p> else</p><p> {</p><p> $oe = 2;</p><p> }</p><p></p><p>$Bans = mysql_query("SELECT * FROM `bans` WHERE `added_by` = '" . $member['username'] . "'");</p><p>$BanCount = mysql_num_rows($Bans);</p><p> echo '<table width="107%" height="50px" style="padding: 5px; margin-left: -15px; background-color: ' . (($oe == 2) ? '#fff' : '#E6E6E6') . ';"></p><p> <tbody></p><p> <tr></p><p> <td valign="middle" width="25"></p><p> <img style="margin-top: -10px;" src="http://www.habbo.nl/habbo-imaging/avatarimage?figure=' .$member['look'] . '&size=m&direction=2&head_direction=3&gesture=sml"></p><p> </td></p><p> <td valign="top"></p><p> </br><p style="margin-top: -10px;" style="font-size: 100%;"><strong><a><u>' .$member['username'] . '</a></u></strong><br>Last online: <i>' . date('d M, Y', $member['last_online']) . '</i><br>Motto: "<i>' . $member['motto'] . '</i>"<br>' . (($member['online'] == "1") ? '<font color="darkgreen"><p style="margin-left: 165px; margin-top: -37px;"><strong>Online</stromg>': '<font color="darkred"><strong><p style="margin-left: 165px; margin-top: -37px;">Offline</stromg>') . '</p></font></font></strong></p><p> <hr></p><p> position: <b>' . $member['position'] . '</b><br></p><p> Age: ' . $member['age'] . '</br></p><p> Registered on: <b>' . date('d M, Y', $member['account_created']) . '</b></br></p><p> Bans: <b>'; echo $BanCount;</p><p> </p><p></p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> echo '<br><img src="http://URL/r63/Flags/' .$member['country'] . '.png"></p><p> </td></p><p> </p><p> </td></p><p> </tr></p><p> </tbody></p><p> </table>';</p><p> }</p><p> }</p><p> else</p><p> {</p><p> echo '<i>No information available.</i>';</p><p> }</p><p></p><p> echo '</div></p><p> </div></p><p></div></p><p><script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> ';</p><p>}</p><p></p><p>?></p><p><?php</p><p>error_reporting(0);</p><p>$getRanks = mysql_query("SELECT id,name FROM ranks WHERE id =11 ORDER BY id DESC");</p><p>$Bans = mysql_query("SELECT * FROM `bans` WHERE `username` = '" . $Users['username'] . "'");</p><p>$BanCount = mysql_num_rows($Bans);</p><p>echo $BanCount;</p><p></p><p></p><p>while ($Ranks = mysql_fetch_assoc($getRanks))</p><p></p><p>{</p><p> echo '<div class="habblet-container "> </p><p><div class="cbb clearfix red "></p><p><h2 class="title"><span style="float: left;">Technician</span> <span style="float: right; font-weight: normal; font-size: 75%;"></span></h2>';</p><p></p><p> $getMembers = mysql_query("SELECT id,username,motto,look,account_created,online,last_online,position,age,country FROM users WHERE rank = '" . $Ranks['id'] . "'");</p><p></p><p> echo '<div class="box-content">';</p><p></p><p> if (mysql_num_rows($getMembers) > 0)</p><p> {</p><p> $oe = 1;</p><p> while ($member = mysql_fetch_assoc($getMembers))</p><p> {</p><p> if ($oe == 2)</p><p> {</p><p> $oe = 1;</p><p> }</p><p> else</p><p> {</p><p> $oe = 2;</p><p> }</p><p></p><p>$Bans = mysql_query("SELECT * FROM `bans` WHERE `added_by` = '" . $member['username'] . "'");</p><p>$BanCount = mysql_num_rows($Bans);</p><p> echo '<table width="107%" height="50px" style="padding: 5px; margin-left: -15px; background-color: ' . (($oe == 2) ? '#fff' : '#E6E6E6') . ';"></p><p> <tbody></p><p> <tr></p><p> <td valign="middle" width="25"></p><p> <img style="margin-top: -10px;" src="http://www.habbo.nl/habbo-imaging/avatarimage?figure=' .$member['look'] . '&size=m&direction=2&head_direction=3&gesture=sml"></p><p> </td></p><p> <td valign="top"></p><p> </br><p style="margin-top: -10px;" style="font-size: 100%;"><strong><a><u>' .$member['username'] . '</a></u></strong><br>Last online: <i>' . date('d M, Y', $member['last_online']) . '</i><br>Motto: "<i>' . $member['motto'] . '</i>"<br>' . (($member['online'] == "1") ? '<font color="darkgreen"><p style="margin-left: 165px; margin-top: -37px;"><strong>Online</stromg>': '<font color="darkred"><strong><p style="margin-left: 165px; margin-top: -37px;">Offline</stromg>') . '</p></font></font></strong></p><p> <hr></p><p> Role: <b>' . $member['position'] . '</b><br></p><p> Age: ' . $member['age'] . '</br></p><p> Registered on: <b>' . date('d M, Y', $member['account_created']) . '</b></br></p><p> Bans: <b>'; echo $BanCount;</p><p> </p><p></p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> echo '<br><img src="http://URL/r63/Flags/' .$member['country'] . '.png"></p><p> </td></p><p> </p><p> </td></p><p> </tr></p><p> </tbody></p><p> </table>';</p><p> }</p><p> }</p><p> else</p><p> {</p><p> echo '<i>No information available.</i>';</p><p> }</p><p></p><p> echo '</div></p><p> </div></p><p></div></p><p><script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> ';</p><p>}</p><p></p><p>?></p><p></p><p> </p><p></p><p></p><p></div></p><p></p><p></p><p></p><p> <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script></p><p> </p><p> <div id="column2" class="column"><div class="habblet-container "></p><p><?php</p><p></p><p>$getRanks = mysql_query("SELECT id,name FROM ranks WHERE id = 10 ORDER BY id DESC");</p><p></p><p>while ($Ranks = mysql_fetch_assoc($getRanks))</p><p>{</p><p> echo '<div class="habblet-container "> </p><p><div class="cbb clearfix settings "></p><p><h2 class="title"><span style="float: left;">Manager</span> <span style="float: right; font-weight: normal; font-size: 75%;"></span></h2>';</p><p></p><p> $getMembers = mysql_query("SELECT id,username,motto,look,account_created,online,last_online,position,age,country FROM users WHERE rank = '" . $Ranks['id'] . "'");</p><p></p><p> echo '<div class="box-content">';</p><p></p><p> if (mysql_num_rows($getMembers) > 0)</p><p> {</p><p> $oe = 1;</p><p> </p><p> while ($member = mysql_fetch_assoc($getMembers))</p><p> {</p><p> if ($oe == 2)</p><p> {</p><p> $oe = 1;</p><p> }</p><p> else</p><p> {</p><p> $oe = 2;</p><p> }</p><p> $Bans = mysql_query("SELECT * FROM `bans` WHERE `added_by` = '" . $member['username'] . "'");</p><p>$BanCount = mysql_num_rows($Bans);</p><p> echo '<table width="107%" height="50px" style="padding: 5px; margin-left: -15px; background-color: ' . (($oe == 2) ? '#fff' : '#E6E6E6') . ';"></p><p> <tbody></p><p> <tr></p><p> <td valign="middle" width="25"></p><p> <img style="margin-top: -10px;" src="http://www.habbo.nl/habbo-imaging/avatarimage?figure=' .$member['look'] . '&size=m&direction=2&head_direction=3&gesture=sml"></p><p> </td></p><p> <td valign="top"></p><p> </br><p style="margin-top: -10px;" style="font-size: 100%;"><strong><a><u>' .$member['username'] . '</a></u></strong><br>Last online: <i>' . date('d M, Y', $member['last_online']) . '</i><br>Motto: "<i>' . $member['motto'] . '</i>"<br>' . (($member['online'] == "1") ? '<font color="darkgreen"><p style="margin-left: 165px; margin-top: -37px;"><strong>Online</stromg>': '<font color="darkred"><strong><p style="margin-left: 165px; margin-top: -37px;">Offline</stromg>') . '</p></font></font></strong></p><p> <hr></p><p> Role: <b>' . $member['position'] . '</b><br></p><p> Age: ' . $member['age'] . '</br></p><p> Registered on: <b>' . date('d M, Y', $member['account_created']) . '</b></br></p><p> Bans: <b>'; echo $BanCount;</p><p></p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> echo '<br><img src="http://URL/r63/Flags/' .$member['country'] . '.png"></p><p> </td></p><p> </p><p> </td></p><p> </tr></p><p> </tbody></p><p> </table>';</p><p> }</p><p> }</p><p> else</p><p> {</p><p> echo '<i>No information available.</i>';</p><p> }</p><p></p><p> echo '</div></p><p> </div></p><p></div></p><p><script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> ';</p><p>}</p><p></p><p>?></p><p><div id="column2" class="column"><div class="habblet-container "></p><p><?php</p><p></p><p>$getRanks = mysql_query("SELECT id,name FROM ranks WHERE id = 9 ORDER BY id DESC");</p><p></p><p>while ($Ranks = mysql_fetch_assoc($getRanks))</p><p>{</p><p> echo '<div class="habblet-container "> </p><p><div class="cbb clearfix green "></p><p><h2 class="title"><span style="float: left;">Administrator</span> <span style="float: right; font-weight: normal; font-size: 75%;"></span></h2>';</p><p></p><p> $getMembers = mysql_query("SELECT id,username,motto,look,account_created,online,last_online,position,age,country FROM users WHERE rank = '" . $Ranks['id'] . "'");</p><p></p><p> echo '<div class="box-content">';</p><p></p><p> if (mysql_num_rows($getMembers) > 0)</p><p> {</p><p> $oe = 1;</p><p> </p><p> while ($member = mysql_fetch_assoc($getMembers))</p><p> {</p><p> if ($oe == 2)</p><p> {</p><p> $oe = 1;</p><p> }</p><p> else</p><p> {</p><p> $oe = 2;</p><p> }</p><p> $Bans = mysql_query("SELECT * FROM `bans` WHERE `added_by` = '" . $member['username'] . "'");</p><p>$BanCount = mysql_num_rows($Bans);</p><p> echo '<table width="107%" height="50px" style="padding: 5px; margin-left: -15px; background-color: ' . (($oe == 2) ? '#fff' : '#E6E6E6') . ';"></p><p> <tbody></p><p> <tr></p><p> <td valign="middle" width="25"></p><p> <img style="margin-top: -10px;" src="http://www.habbo.nl/habbo-imaging/avatarimage?figure=' .$member['look'] . '&size=m&direction=2&head_direction=3&gesture=sml"></p><p> </td></p><p> <td valign="top"></p><p> </br><p style="margin-top: -10px;" style="font-size: 100%;"><strong><a><u>' .$member['username'] . '</a></u></strong><br>Motto: ' . $member['motto'] . '' . (($member['online'] == "1") ? '<font color="darkgreen"><p style="margin-left: 165px; margin-top: -37px;"><strong>Online</stromg>': '<font color="darkred"><strong><p style="margin-left: 165px; margin-top: -37px;">Offline</stromg>') . '</p></p><p style="margin-top: -8px;"><img src="http://URL/r63/c_images/album1584/ADM.gif"></p></p><p> <hr></p><p> Role: <b>' . $member['position'] . '</b><br></p><p> Age: ' . $member['age'] . '</br></p><p> Registered on: <b>' . date('d M, Y', $member['account_created']) . '</b></br></p><p> Bans: <b>'; echo $BanCount;</p><p> </p><p> </p><p> </p><p> echo '<br><img src="http://URL/r63/Flags/' .$member['country'] . '.png"></p><p> </td></p><p> </p><p> </td></p><p> </tr></p><p> </tbody></p><p> </table>';</p><p> }</p><p> }</p><p> else</p><p> {</p><p> echo '<i>No information available.</i>';</p><p> }</p><p></p><p> echo '</div></p><p> </div></p><p></div></p><p><script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> ';</p><p>}</p><p></p><p>?></p><p></div></div></div></div></p><p><script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script></p><p> <div id="column2" class="column"><div class="habblet-container "></p><p><?php</p><p></p><p>$getRanks = mysql_query("SELECT id,name FROM ranks WHERE id = 7 ORDER BY id DESC");</p><p></p><p>while ($Ranks = mysql_fetch_assoc($getRanks))</p><p>{</p><p> echo '<div class="habblet-container "> </p><p><div class="cbb clearfix blue "></p><p><h2 class="title"><span style="float: left;">Moderators</span> <span style="float: right; font-weight: normal; font-size: 75%;"></span></h2>';</p><p></p><p> $getMembers = mysql_query("SELECT id,username,motto,look,account_created,online,last_online,position,age,country FROM users WHERE rank = '" . $Ranks['id'] . "'");</p><p></p><p> echo '<div class="box-content">';</p><p></p><p> if (mysql_num_rows($getMembers) > 0)</p><p> {</p><p> $oe = 1;</p><p> </p><p> while ($member = mysql_fetch_assoc($getMembers))</p><p> {</p><p> if ($oe == 2)</p><p> {</p><p> $oe = 1;</p><p> }</p><p> else</p><p> {</p><p> $oe = 2;</p><p> }</p><p></p><p> echo '<table width="107%" height="50px" style="padding: 5px; margin-left: -15px; background-color: ' . (($oe == 2) ? '#fff' : '#E6E6E6') . ';"></p><p> <tbody></p><p> <tr></p><p> <td valign="middle" width="25"></p><p> <img style="margin-top: -10px;" src="http://www.habbo.nl/habbo-imaging/avatarimage?figure=' .$member['look'] . '&size=m&direction=2&head_direction=3&gesture=sml"></p><p> </td></p><p> <td valign="top"></p><p> </br><p style="margin-top: -10px;" style="font-size: 100%;"><strong><a><u>' .$member['username'] . '</a></u></strong><br>Last online: <i>' . date('d M, Y', $member['last_online']) . '</i><br>Motto: "<i>' . $member['motto'] . '</i>"<br>' . (($member['online'] == "1") ? '<font color="darkgreen"><p style="margin-left: 165px; margin-top: -37px;"><strong>Online</stromg>': '<font color="darkred"><strong><p style="margin-left: 165px; margin-top: -37px;">Offline</stromg>') . '</p></font></font></strong></p><p> <hr></p><p> Role: <b>' . $member['position'] . '</b><br></p><p> Age: ' . $member['age'] . '</br></p><p> Registered on: <b>' . date('d M, Y', $member['account_created']) . '</b></br></p><p> Bans: <b>'; echo $BanCount;</p><p></p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> echo '<br><img src="http://URL/r63/Flags/' .$member['country'] . '.png"></p><p> </td></p><p> </p><p> </td></p><p> </tr></p><p> </tbody></p><p> </table>';</p><p> }</p><p> }</p><p> else</p><p> {</p><p> echo '<i>No information available.</i>';</p><p> }</p><p></p><p> echo '</div></p><p> </div></p><p></div></p><p><script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> ';</p><p>}</p><p></p><p>?></p><p><div id="container"></p><p> <div id="content"></p><p> <div id="column2" class="column"></p><p></p><p></p><p><?php</p><p>error_reporting(0);</p><p>$getRanks = mysql_query("SELECT id,name FROM ranks WHERE id = 4 ORDER BY id DESC");</p><p>$Bans = mysql_query("SELECT * FROM `bans` WHERE `username` = '" . $Users['username'] . "'");</p><p>$BanCount = mysql_num_rows($Bans);</p><p>echo $BanCount;</p><p></p><p></p><p>while ($Ranks = mysql_fetch_assoc($getRanks))</p><p></p><p>{</p><p> echo '<div class="habblet-container "> </p><p><div class="cbb clearfix red "></p><p><h2 class="title"><span style="float: left;">Trial Moderator</span> <span style="float: right; font-weight: normal; font-size: 75%;"></span></h2>';</p><p></p><p> $getMembers = mysql_query("SELECT id,username,motto,look,account_created,online,last_online,position,age,country FROM users WHERE rank = '" . $Ranks['id'] . "'");</p><p></p><p> echo '<div class="box-content">';</p><p></p><p> if (mysql_num_rows($getMembers) > 0)</p><p> {</p><p> $oe = 1;</p><p> while ($member = mysql_fetch_assoc($getMembers))</p><p> {</p><p> if ($oe == 2)</p><p> {</p><p> $oe = 1;</p><p> }</p><p> else</p><p> {</p><p> $oe = 2;</p><p> }</p><p></p><p>$Bans = mysql_query("SELECT * FROM `bans` WHERE `added_by` = '" . $member['username'] . "'");</p><p>$BanCount = mysql_num_rows($Bans);</p><p> echo '<table width="107%" height="50px" style="padding: 5px; margin-left: -15px; background-color: ' . (($oe == 2) ? '#fff' : '#E6E6E6') . ';"></p><p> <tbody></p><p> <tr></p><p> <td valign="middle" width="25"></p><p> <img style="margin-top: -10px;" src="http://www.habbo.nl/habbo-imaging/avatarimage?figure=' .$member['look'] . '&size=m&direction=2&head_direction=3&gesture=sml"></p><p> </td></p><p> <td valign="top"></p><p> </br><p style="margin-top: -10px;" style="font-size: 100%;"><strong><a><u>' .$member['username'] . '</a></u></strong><br>Last online: <i>' . date('d M, Y', $member['last_online']) . '</i><br>Motto: "<i>' . $member['motto'] . '</i>"<br>' . (($member['online'] == "1") ? '<font color="darkgreen"><p style="margin-left: 165px; margin-top: -37px;"><strong>Online</stromg>': '<font color="darkred"><strong><p style="margin-left: 165px; margin-top: -37px;">Offline</stromg>') . '</p></font></font></strong></p><p> <hr></p><p> Role: <b>' . $member['position'] . '</b><br></p><p> Age: ' . $member['age'] . '</br></p><p> Registered on: <b>' . date('d M, Y', $member['account_created']) . '</b></br></p><p> Bans: <b>'; echo $BanCount;</p><p> </p><p></p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> echo '<img src="http://URL/r63/Flags/' .$member['country'] . '.png"></p><p> </td></p><p> </p><p> </td></p><p> </tr></p><p> </tbody></p><p> </table>';</p><p> }</p><p> }</p><p> else</p><p> {</p><p> echo '<i>No information available.</i>';</p><p> }</p><p></p><p> echo '</div></p><p> </div></p><p></div></p><p><script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> ';</p><p>}</p><p></p><p>?> [/PHP]</p><p></p><p>Hopefully you understand this if not please Message in The Comments Below!</p><p></p><p>Also replace URL with your url <img src="/styles/default/xenforo/smilies/emojione/smile.png" class="smilie" loading="lazy" alt=":)" title="Smile :)" data-shortname=":)" /></p><p></p><p>I would share Screenies but i dont have a Retro</p><p></p><p><span style="font-size: 14px"></span></p><p> <span style="font-size: 14px"></span></p></blockquote><p></p>
[QUOTE="RJackHabbo, post: 338931, member: 59872"] Hello, DevBest This is my first post so hopefully you like also this has most likely been released so if it has please include Link in the Description for their Credits. Step 1; Run this on your database: [CODE]ALTER TABLE `users` ADD `age` VARCHAR(10) NOT NULL default 'Unknown'; ALTER TABLE `users` ADD `position` VARCHAR(30) NOT NULL default 'Hotel User'; ALTER TABLE `users` ADD `country` VARCHAR(55) NOT NULL default 'Unknown';[/CODE] This is for the Staff Page it Will Show The Age so Edit Unknown with there Age this will be on the Users Page obviously also You need to Edit the Hotel User to What there position is so like 'Founder' and then the last one i will show you now Step 2; Now add this into your SWF Folder which is usually called 'r63' Download [B][U][URL='https://goo.gl/A8OiO1']HERE[/URL][/U][/B] This is to show what country they are From it shows as a Image In the Folder; Various Country's [IMG]http://i.imgur.com/7KbsJcB.png[/IMG] Okay now for the staff page; [SIZE=14px]Usually on the Staff Page the MySQL Code is (Had to use Pastebin because of characters) [URL]http://pastebin.com/Aw0sEr6Z[/URL][/SIZE] So you want to Remove this and add this [PHP] <div id="container"> <div id="content"> <div id="column2" class="column"> <?php error_reporting(0); $getRanks = mysql_query("SELECT id,name FROM ranks WHERE id =12 ORDER BY id DESC"); $Bans = mysql_query("SELECT * FROM `bans` WHERE `username` = '" . $Users['username'] . "'"); $BanCount = mysql_num_rows($Bans); echo $BanCount; while ($Ranks = mysql_fetch_assoc($getRanks)) { echo '<div class="habblet-container "> <div class="cbb clearfix red "> <h2 class="title"><span style="float: left;">Founder</span> <span style="float: right; font-weight: normal; font-size: 75%;"></span></h2>'; $getMembers = mysql_query("SELECT id,username,motto,look,account_created,online,last_online,position,age,country FROM users WHERE rank = '" . $Ranks['id'] . "'"); echo '<div class="box-content">'; if (mysql_num_rows($getMembers) > 0) { $oe = 1; while ($member = mysql_fetch_assoc($getMembers)) { if ($oe == 2) { $oe = 1; } else { $oe = 2; } $Bans = mysql_query("SELECT * FROM `bans` WHERE `added_by` = '" . $member['username'] . "'"); $BanCount = mysql_num_rows($Bans); echo '<table width="107%" height="50px" style="padding: 5px; margin-left: -15px; background-color: ' . (($oe == 2) ? '#fff' : '#E6E6E6') . ';"> <tbody> <tr> <td valign="middle" width="25"> <img style="margin-top: -10px;" src="http://www.habbo.nl/habbo-imaging/avatarimage?figure=' .$member['look'] . '&size=m&direction=2&head_direction=3&gesture=sml"> </td> <td valign="top"> </br><p style="margin-top: -10px;" style="font-size: 100%;"><strong><a><u>' .$member['username'] . '</a></u></strong><br>Last online: <i>' . date('d M, Y', $member['last_online']) . '</i><br>Motto: "<i>' . $member['motto'] . '</i>"<br>' . (($member['online'] == "1") ? '<font color="darkgreen"><p style="margin-left: 165px; margin-top: -37px;"><strong>Online</stromg>': '<font color="darkred"><strong><p style="margin-left: 165px; margin-top: -37px;">Offline</stromg>') . '</p></font></font></strong> <hr> position: <b>' . $member['position'] . '</b><br> Age: ' . $member['age'] . '</br> Registered on: <b>' . date('d M, Y', $member['account_created']) . '</b></br> Bans: <b>'; echo $BanCount; echo '<br><img src="http://URL/r63/Flags/' .$member['country'] . '.png"> </td> </td> </tr> </tbody> </table>'; } } else { echo '<i>No information available.</i>'; } echo '</div> </div> </div> <script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> '; } ?> <?php error_reporting(0); $getRanks = mysql_query("SELECT id,name FROM ranks WHERE id =11 ORDER BY id DESC"); $Bans = mysql_query("SELECT * FROM `bans` WHERE `username` = '" . $Users['username'] . "'"); $BanCount = mysql_num_rows($Bans); echo $BanCount; while ($Ranks = mysql_fetch_assoc($getRanks)) { echo '<div class="habblet-container "> <div class="cbb clearfix red "> <h2 class="title"><span style="float: left;">Technician</span> <span style="float: right; font-weight: normal; font-size: 75%;"></span></h2>'; $getMembers = mysql_query("SELECT id,username,motto,look,account_created,online,last_online,position,age,country FROM users WHERE rank = '" . $Ranks['id'] . "'"); echo '<div class="box-content">'; if (mysql_num_rows($getMembers) > 0) { $oe = 1; while ($member = mysql_fetch_assoc($getMembers)) { if ($oe == 2) { $oe = 1; } else { $oe = 2; } $Bans = mysql_query("SELECT * FROM `bans` WHERE `added_by` = '" . $member['username'] . "'"); $BanCount = mysql_num_rows($Bans); echo '<table width="107%" height="50px" style="padding: 5px; margin-left: -15px; background-color: ' . (($oe == 2) ? '#fff' : '#E6E6E6') . ';"> <tbody> <tr> <td valign="middle" width="25"> <img style="margin-top: -10px;" src="http://www.habbo.nl/habbo-imaging/avatarimage?figure=' .$member['look'] . '&size=m&direction=2&head_direction=3&gesture=sml"> </td> <td valign="top"> </br><p style="margin-top: -10px;" style="font-size: 100%;"><strong><a><u>' .$member['username'] . '</a></u></strong><br>Last online: <i>' . date('d M, Y', $member['last_online']) . '</i><br>Motto: "<i>' . $member['motto'] . '</i>"<br>' . (($member['online'] == "1") ? '<font color="darkgreen"><p style="margin-left: 165px; margin-top: -37px;"><strong>Online</stromg>': '<font color="darkred"><strong><p style="margin-left: 165px; margin-top: -37px;">Offline</stromg>') . '</p></font></font></strong> <hr> Role: <b>' . $member['position'] . '</b><br> Age: ' . $member['age'] . '</br> Registered on: <b>' . date('d M, Y', $member['account_created']) . '</b></br> Bans: <b>'; echo $BanCount; echo '<br><img src="http://URL/r63/Flags/' .$member['country'] . '.png"> </td> </td> </tr> </tbody> </table>'; } } else { echo '<i>No information available.</i>'; } echo '</div> </div> </div> <script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> '; } ?> </div> <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script> <div id="column2" class="column"><div class="habblet-container "> <?php $getRanks = mysql_query("SELECT id,name FROM ranks WHERE id = 10 ORDER BY id DESC"); while ($Ranks = mysql_fetch_assoc($getRanks)) { echo '<div class="habblet-container "> <div class="cbb clearfix settings "> <h2 class="title"><span style="float: left;">Manager</span> <span style="float: right; font-weight: normal; font-size: 75%;"></span></h2>'; $getMembers = mysql_query("SELECT id,username,motto,look,account_created,online,last_online,position,age,country FROM users WHERE rank = '" . $Ranks['id'] . "'"); echo '<div class="box-content">'; if (mysql_num_rows($getMembers) > 0) { $oe = 1; while ($member = mysql_fetch_assoc($getMembers)) { if ($oe == 2) { $oe = 1; } else { $oe = 2; } $Bans = mysql_query("SELECT * FROM `bans` WHERE `added_by` = '" . $member['username'] . "'"); $BanCount = mysql_num_rows($Bans); echo '<table width="107%" height="50px" style="padding: 5px; margin-left: -15px; background-color: ' . (($oe == 2) ? '#fff' : '#E6E6E6') . ';"> <tbody> <tr> <td valign="middle" width="25"> <img style="margin-top: -10px;" src="http://www.habbo.nl/habbo-imaging/avatarimage?figure=' .$member['look'] . '&size=m&direction=2&head_direction=3&gesture=sml"> </td> <td valign="top"> </br><p style="margin-top: -10px;" style="font-size: 100%;"><strong><a><u>' .$member['username'] . '</a></u></strong><br>Last online: <i>' . date('d M, Y', $member['last_online']) . '</i><br>Motto: "<i>' . $member['motto'] . '</i>"<br>' . (($member['online'] == "1") ? '<font color="darkgreen"><p style="margin-left: 165px; margin-top: -37px;"><strong>Online</stromg>': '<font color="darkred"><strong><p style="margin-left: 165px; margin-top: -37px;">Offline</stromg>') . '</p></font></font></strong> <hr> Role: <b>' . $member['position'] . '</b><br> Age: ' . $member['age'] . '</br> Registered on: <b>' . date('d M, Y', $member['account_created']) . '</b></br> Bans: <b>'; echo $BanCount; echo '<br><img src="http://URL/r63/Flags/' .$member['country'] . '.png"> </td> </td> </tr> </tbody> </table>'; } } else { echo '<i>No information available.</i>'; } echo '</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 "> <?php $getRanks = mysql_query("SELECT id,name FROM ranks WHERE id = 9 ORDER BY id DESC"); while ($Ranks = mysql_fetch_assoc($getRanks)) { echo '<div class="habblet-container "> <div class="cbb clearfix green "> <h2 class="title"><span style="float: left;">Administrator</span> <span style="float: right; font-weight: normal; font-size: 75%;"></span></h2>'; $getMembers = mysql_query("SELECT id,username,motto,look,account_created,online,last_online,position,age,country FROM users WHERE rank = '" . $Ranks['id'] . "'"); echo '<div class="box-content">'; if (mysql_num_rows($getMembers) > 0) { $oe = 1; while ($member = mysql_fetch_assoc($getMembers)) { if ($oe == 2) { $oe = 1; } else { $oe = 2; } $Bans = mysql_query("SELECT * FROM `bans` WHERE `added_by` = '" . $member['username'] . "'"); $BanCount = mysql_num_rows($Bans); echo '<table width="107%" height="50px" style="padding: 5px; margin-left: -15px; background-color: ' . (($oe == 2) ? '#fff' : '#E6E6E6') . ';"> <tbody> <tr> <td valign="middle" width="25"> <img style="margin-top: -10px;" src="http://www.habbo.nl/habbo-imaging/avatarimage?figure=' .$member['look'] . '&size=m&direction=2&head_direction=3&gesture=sml"> </td> <td valign="top"> </br><p style="margin-top: -10px;" style="font-size: 100%;"><strong><a><u>' .$member['username'] . '</a></u></strong><br>Motto: ' . $member['motto'] . '' . (($member['online'] == "1") ? '<font color="darkgreen"><p style="margin-left: 165px; margin-top: -37px;"><strong>Online</stromg>': '<font color="darkred"><strong><p style="margin-left: 165px; margin-top: -37px;">Offline</stromg>') . '</p></p><p style="margin-top: -8px;"><img src="http://URL/r63/c_images/album1584/ADM.gif"></p> <hr> Role: <b>' . $member['position'] . '</b><br> Age: ' . $member['age'] . '</br> Registered on: <b>' . date('d M, Y', $member['account_created']) . '</b></br> Bans: <b>'; echo $BanCount; echo '<br><img src="http://URL/r63/Flags/' .$member['country'] . '.png"> </td> </td> </tr> </tbody> </table>'; } } else { echo '<i>No information available.</i>'; } echo '</div> </div> </div> <script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> '; } ?> </div></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 "> <?php $getRanks = mysql_query("SELECT id,name FROM ranks WHERE id = 7 ORDER BY id DESC"); while ($Ranks = mysql_fetch_assoc($getRanks)) { echo '<div class="habblet-container "> <div class="cbb clearfix blue "> <h2 class="title"><span style="float: left;">Moderators</span> <span style="float: right; font-weight: normal; font-size: 75%;"></span></h2>'; $getMembers = mysql_query("SELECT id,username,motto,look,account_created,online,last_online,position,age,country FROM users WHERE rank = '" . $Ranks['id'] . "'"); echo '<div class="box-content">'; if (mysql_num_rows($getMembers) > 0) { $oe = 1; while ($member = mysql_fetch_assoc($getMembers)) { if ($oe == 2) { $oe = 1; } else { $oe = 2; } echo '<table width="107%" height="50px" style="padding: 5px; margin-left: -15px; background-color: ' . (($oe == 2) ? '#fff' : '#E6E6E6') . ';"> <tbody> <tr> <td valign="middle" width="25"> <img style="margin-top: -10px;" src="http://www.habbo.nl/habbo-imaging/avatarimage?figure=' .$member['look'] . '&size=m&direction=2&head_direction=3&gesture=sml"> </td> <td valign="top"> </br><p style="margin-top: -10px;" style="font-size: 100%;"><strong><a><u>' .$member['username'] . '</a></u></strong><br>Last online: <i>' . date('d M, Y', $member['last_online']) . '</i><br>Motto: "<i>' . $member['motto'] . '</i>"<br>' . (($member['online'] == "1") ? '<font color="darkgreen"><p style="margin-left: 165px; margin-top: -37px;"><strong>Online</stromg>': '<font color="darkred"><strong><p style="margin-left: 165px; margin-top: -37px;">Offline</stromg>') . '</p></font></font></strong> <hr> Role: <b>' . $member['position'] . '</b><br> Age: ' . $member['age'] . '</br> Registered on: <b>' . date('d M, Y', $member['account_created']) . '</b></br> Bans: <b>'; echo $BanCount; echo '<br><img src="http://URL/r63/Flags/' .$member['country'] . '.png"> </td> </td> </tr> </tbody> </table>'; } } else { echo '<i>No information available.</i>'; } echo '</div> </div> </div> <script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> '; } ?> <div id="container"> <div id="content"> <div id="column2" class="column"> <?php error_reporting(0); $getRanks = mysql_query("SELECT id,name FROM ranks WHERE id = 4 ORDER BY id DESC"); $Bans = mysql_query("SELECT * FROM `bans` WHERE `username` = '" . $Users['username'] . "'"); $BanCount = mysql_num_rows($Bans); echo $BanCount; while ($Ranks = mysql_fetch_assoc($getRanks)) { echo '<div class="habblet-container "> <div class="cbb clearfix red "> <h2 class="title"><span style="float: left;">Trial Moderator</span> <span style="float: right; font-weight: normal; font-size: 75%;"></span></h2>'; $getMembers = mysql_query("SELECT id,username,motto,look,account_created,online,last_online,position,age,country FROM users WHERE rank = '" . $Ranks['id'] . "'"); echo '<div class="box-content">'; if (mysql_num_rows($getMembers) > 0) { $oe = 1; while ($member = mysql_fetch_assoc($getMembers)) { if ($oe == 2) { $oe = 1; } else { $oe = 2; } $Bans = mysql_query("SELECT * FROM `bans` WHERE `added_by` = '" . $member['username'] . "'"); $BanCount = mysql_num_rows($Bans); echo '<table width="107%" height="50px" style="padding: 5px; margin-left: -15px; background-color: ' . (($oe == 2) ? '#fff' : '#E6E6E6') . ';"> <tbody> <tr> <td valign="middle" width="25"> <img style="margin-top: -10px;" src="http://www.habbo.nl/habbo-imaging/avatarimage?figure=' .$member['look'] . '&size=m&direction=2&head_direction=3&gesture=sml"> </td> <td valign="top"> </br><p style="margin-top: -10px;" style="font-size: 100%;"><strong><a><u>' .$member['username'] . '</a></u></strong><br>Last online: <i>' . date('d M, Y', $member['last_online']) . '</i><br>Motto: "<i>' . $member['motto'] . '</i>"<br>' . (($member['online'] == "1") ? '<font color="darkgreen"><p style="margin-left: 165px; margin-top: -37px;"><strong>Online</stromg>': '<font color="darkred"><strong><p style="margin-left: 165px; margin-top: -37px;">Offline</stromg>') . '</p></font></font></strong> <hr> Role: <b>' . $member['position'] . '</b><br> Age: ' . $member['age'] . '</br> Registered on: <b>' . date('d M, Y', $member['account_created']) . '</b></br> Bans: <b>'; echo $BanCount; echo '<img src="http://URL/r63/Flags/' .$member['country'] . '.png"> </td> </td> </tr> </tbody> </table>'; } } else { echo '<i>No information available.</i>'; } echo '</div> </div> </div> <script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> '; } ?> [/PHP] Hopefully you understand this if not please Message in The Comments Below! Also replace URL with your url :) I would share Screenies but i dont have a Retro [SIZE=14px] [/SIZE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Releases
[RevCMS] Staff.php
Top