Staff page edit for RevCMS Fatal Theme

ProjectExotic

New Member
May 5, 2012
6
0
Screenie:
35c0qw9.png

Code:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<title> {hotelname} - Me </title>
<head>
<link rel="stylesheet" href="{url}/app/tpl/skins/{skin}/styles/global.css" type="text/css"/>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js" type="text/javascript"></script>
<script src="{url}/app/tpl/skins/{skin}/js/effect.navbar.js" type="text/javascript"></script>
<meta name="pinterest" content="nopin"/></head>
<body>
<div id="page-header-wrap">
<div id="page-header">
<input type="submit" onclick="window.open('{url}/api.php','Cyprus','width=900,height=600,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes')" value="Enter Hotel" id="page-header-button"/>
</div>
</div>
<div id="page-nav-wrap">
<div id="page-nav">
<div class="links">
<a id="home" href="/me">Home</a>
<a id="community" href="#">Community</a>
<a id="payments" href="/payments">Payments</a>
<a id="settings" href="#">Settings</a>
<a id="logout" href="/logout">Logout</a>
</div>
<div class="status">
<span class="bold online"><div class="img"></div>{online}</span>
<span class="bold credits"><div class="img"></div>{coins}</span>
<span class="bold pixels"><div class="img"></div>{activitypoints}</span>
</div>
</div>
</div><div id="page-content">
<div id="page-content-left">
 
 
</div>
<div id="page-content-title">Owner</div>
<div id="page-content-text">
<?php
                            $GetRanks = mysql_query("SELECT id,name FROM ranks WHERE id = 7");
                            while($Ranks = mysql_fetch_assoc($GetRanks))
                            {
                                echo "<div class=\"habblet-container \"><div class=\"cbb clearfix blue \"><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 = "<font color=\"darkgreen\"><b>On Duty</b></font>"; } else { $OnlineStatus = "<font color=\"darkred\"><b>Off Duty</b></font>"; }
                                    echo "<img style=\"position:absolute;margin:-20px 0 0 0;\" src=\"http://www.habbo.com/habbo-imaging/avatarimage?figure={$Users['look']}&direction=2&head_direction=2&gesture=smd&size=l\">"
                                        ."<p style=\"margin-left:65px;margin-top:10px;\"><strong>{$Users['username']}</strong><br><br>"
                                        ."<p style=\"float:right;margin-top:-30px;margin-right:5px;\">{$OnlineStatus}</p><br><br><br>";
                                }
                                echo "</div></div></div>";
                            }
                        ?>
</div>
<div id="page-content-title">Administration Staff</div>
<div id="page-content-text">
<?php
                            $GetRanks = mysql_query("SELECT id,name FROM ranks WHERE id = 6");
                            while($Ranks = mysql_fetch_assoc($GetRanks))
                            {
                                echo "<div class=\"habblet-container \"><div class=\"cbb clearfix blue \"><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 = "<font color=\"darkgreen\"><b>On Duty</b></font>"; } else { $OnlineStatus = "<font color=\"darkred\"><b>Off Duty</b></font>"; }
                                    echo "<img style=\"position:absolute;margin:-20px 0 0 0;\" src=\"http://www.habbo.com/habbo-imaging/avatarimage?figure={$Users['look']}&direction=2&head_direction=2&gesture=smd&size=l\">"
                                        ."<p style=\"margin-left:65px;margin-top:10px;\"><br/><strong>{$Users['username']}</strong><br><br>"
                                        ."<p style=\"float:right;margin-top:-30px;margin-right:5px;\">{$OnlineStatus}</p><br><br><br>";
                                }
                                echo "</div></div></div>";
                            }
                        ?>
</div>
<div id="page-content-title">Moderation Staff</div>
<div id="page-content-text">
<?php
                            $GetRanks = mysql_query("SELECT id,name FROM ranks WHERE id = 5");
                            while($Ranks = mysql_fetch_assoc($GetRanks))
                            {
                                echo "<div class=\"habblet-container \"><div class=\"cbb clearfix blue \"><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 = "<font color=\"darkgreen\"><b>On Duty</b></font>"; } else { $OnlineStatus = "<font color=\"darkred\"><b>Off Duty</b></font>"; }
                                    echo "<img style=\"position:absolute;margin:-20px 0 0 0;\" src=\"http://www.habbo.com/habbo-imaging/avatarimage?figure={$Users['look']}&direction=2&head_direction=2&gesture=smd&size=l\">"
                                        ."<p style=\"margin-left:65px;margin-top:10px;\"><br/><strong>{$Users['username']}</strong><br><br>"
                                        ."<p style=\"float:right;margin-top:-30px;margin-right:5px;\">{$OnlineStatus}</p><br><br><br>";
                                }
                                echo "</div></div></div>";
                            }
                        ?>
</div>
<div id="page-content-title">Intern Team</div>
<div id="page-content-text">
<?php
                            $GetRanks = mysql_query("SELECT id,name FROM ranks WHERE id = 4");
                            while($Ranks = mysql_fetch_assoc($GetRanks))
                            {
                                echo "<div class=\"habblet-container \"><div class=\"cbb clearfix blue \"><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 = "<font color=\"darkgreen\"><b>Online</b></font>"; } else { $OnlineStatus = "<font color=\"darkred\"><b>Offline</b></font>"; }
                                    echo "<img style=\"position:absolute;margin:-20px 0 0 0;\" src=\"http://www.habbo.com/habbo-imaging/avatarimage?figure={$Users['look']}&direction=2&head_direction=2&gesture=smd&size=l\">"
                                        ."<p style=\"margin-left:65px;margin-top:10px;\"><br/><strong>{$Users['username']}</strong><br><br>"
                                        ."<p style=\"float:right;margin-top:-30px;margin-right:5px;\">{$OnlineStatus}</p><br><br><br>";
                                }
                                echo "</div></div></div>";
                            }
                        ?>
</div>
</div>
<div id="page-content-right">
<div id="page-content-title">Notice</div>
<div id="page-content-text">
<li>If you have any enquiries you can contact DiverseLulz on MSN at:</br><strong>[email protected]</strong></li></div>
</div>
<div id="page-end-clear"></div>
</div><div id="page-footer">
Copyright (C) <i><strong>Fatal Hotel</strong></i> &amp; <i><strong>FatalCMS</strong></i>. All rights reserved. <strong>Query Time: 0.0035 seconds</strong>.</div>
</body>
Very quick and simple code / thread enjoy :)
-EthanTBH
 

Users who are viewing this thread

Top