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 Q&A
Issues with staff page
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="Tails" data-source="post: 302146" data-attributes="member: 41820"><p>Try this</p><p>[code]</p><p><div id="column1" class="column"></p><p> <?php</p><p> $GetRanks = mysql_query("SELECT id,name FROM ranks WHERE id > 4 AND id < 14 ORDER BY id DESC");</p><p> while($Ranks = mysql_fetch_assoc($GetRanks))</p><p> {</p><p> echo "<div class=\"habblet-container \"><div class=\"cbb clearfix green \"><h2 class=\"title\">{$Ranks['name']}s</h2><div style=\"padding:5px\"><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 = "<br><br><b><marquee width=48 behavior=alternate><font color=darkgreen>Online</font></marquee></b>"; } else { $OnlineStatus = "<br><br><font color=\"darkred\"><b>Offline</b></font>"; }</p><p> 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=m\">"</p><p> ."<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><p> ."<p style=\"float:right;margin-top:-30px;margin-right:5px;\">{$OnlineStatus}</p><br><br><br>";</p><p> }</p><p> echo "</div></div></div>";</p><p> }</p><p> ?></p><p> <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script></p><p> </div>[/code]</p><p></p><p>I had it jerryrigged so rank 14 is a hidden admin rank, feel free to remove it if you want.</p></blockquote><p></p>
[QUOTE="Tails, post: 302146, member: 41820"] Try this [code] <div id="column1" class="column"> <?php $GetRanks = mysql_query("SELECT id,name FROM ranks WHERE id > 4 AND id < 14 ORDER BY id DESC"); while($Ranks = mysql_fetch_assoc($GetRanks)) { echo "<div class=\"habblet-container \"><div class=\"cbb clearfix green \"><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 = "<br><br><b><marquee width=48 behavior=alternate><font color=darkgreen>Online</font></marquee></b>"; } else { $OnlineStatus = "<br><br><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=m\">" ."<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> </div>[/code] I had it jerryrigged so rank 14 is a hidden admin rank, feel free to remove it if you want. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Issues with staff page
Top