Advertisement
Guest User

Untitled

a guest
Jun 4th, 2015
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.74 KB | None | 0 0
  1. <div id="container">
  2. <div id="content" style="position: relative" class="clearfix">
  3. <div id="column1" class="column">
  4. <?php
  5. $GetRanks = mysql_query("SELECT id, name FROM ranks WHERE id > 3 ORDER BY id DESC");
  6. while($Ranks = mysql_fetch_assoc($GetRanks)) {
  7. echo "<div class=\"habblet-container \"><div class=\"cbb clearfix blue \"><h2 class=\"title\">{$Ranks['name']}</h2><div style=\"padding:5px\"><p>";
  8. $GetUsers = mysql_query("SELECT username, motto, rank, last_online, online, look FROM users WHERE rank = {$Ranks['id']}");
  9. while($Users = mysql_fetch_assoc($GetUsers)) {
  10. if($Users['online'] == 1){ $OnlineStatus = "<font color=\"darkgreen\"><b>Online</b></font>"; } else { $OnlineStatus = "<font color=\"darkred\"><b>Offline</b></font>"; }
  11. echo "<img style=\"position:absolute;\" src=\"https://www.habbo.nl/habbo-imaging/avatarimage?figure={$Users['look']}&action=wav&direction=2&head_direction=3&gesture=srp\">"
  12. ."<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>"
  13. ."<p style=\"float:right;margin-top:-30px;margin-right:5px;\">{$OnlineStatus}</p><br><br><br>";
  14. }
  15. echo "</div></div></div>";
  16. }
  17. ?>
  18. <script type="text/javascript">
  19. if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }
  20. </script>
  21. </div>
  22. <div id="column2" class="column">
  23. <div class="habblet-container ">
  24. <div class="cbb clearfix blue ">
  25. <h2 class="title">Who are these people?</h2>
  26. <div style="padding:5px">
  27. The {hotelName} staff are people who have the power and authority to maintain the hotel. This covers everything
  28. from banning users to hosting events, giving users credits and much more. To find a staff member in the hotel
  29. you will need to look for a user who has a badge like the one below.
  30. <br><br>
  31. <center><img src="{url}/game/c_images/album1584/ADM.gif"></center>
  32. </div>
  33. </div>
  34. </div>
  35. </div>
  36. </div>
  37. </div>
  38. </div>
  39. <script type="text/javascript">
  40. document.observe('dom:loaded', function() {
  41. CurrentRoomEvents.init();
  42. });
  43. </script>
  44. </div>
  45. <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
  46. <script type="text/javascript">
  47. HabboView.run();
  48. </script>
  49. <!--[if lt IE 7]>
  50. <script type="text/javascript">
  51. Pngfix.doPngImageFix();
  52. </script>
  53. <![endif]-->
  54. </div>
  55. <div id="footer" >
  56. <script type="text/javascript">
  57. var _adynamo_client = "11456ec8-221d-40a4-b01a-cf21b452ced3";
  58. var _adynamo_width = 728;
  59. var _adynamo_height = 90;
  60. </script>
  61. <script type="text/javascript" src="http://static.addynamo.net/ad/js/deliverAds.js"></script>
  62. </div>
  63. </body>
  64. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement