Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $GetRanks = mysql_query("SELECT username,rank FROM users WHERE rank = 10");
- while($Ranks = mysql_fetch_assoc($GetRanks))
- {
- echo "<div class=\"habblet-container \"><div class=\"cbb clearfix blue \"><h2 class=\"title\">Hotel Manager</h2><div style=\"padding:5px\"><p>";
- $GetUsers = mysql_query("SELECT username,motto,rank,last_online,online,look FROM users WHERE rank = 10");
- while($Users = mysql_fetch_assoc($GetUsers))
- {
- setlocale(LC_ALL, 'nld_nld') or setlocale(LC_ALL, 'NL_NL');
- if($Users['online'] == 1){ $OnlineStatus = "<font color=\"darkgreen\"><b>Online!</b></font>"; } else { $OnlineStatus = "<font color=\"darkred\"><b>Offline</b></font>"; }
- echo "<img style=\"position:absolute;\" src=\"http://www.habbo.nl/habbo-imaging/avatarimage?figure={$Users['look']}&direction=2&head_direction=2&gesture=smd&size=m\">"
- ."<p style=\"margin-left:80px;margin-top:20px;\">Beadnaam: <strong>{$Users['username']}</strong><br>Status: <strong>{$Users['motto']}</strong><br>Laatste ingelogd!: <strong>". strftime(("%d-%b-%Y %H:%M"), $Users['last_online']) ."</p></strong>"
- ."<p style=\"float:right;margin-top:-30px;margin-right:5px;\">{$OnlineStatus}</p><br><br><br>";
- }
- echo "</div></div></div>";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement