Problem with staff page?

Results 1 to 3 of 3
  1. #1
    Member Derpec is offline
    MemberRank
    Aug 2012 Join Date
    30Posts

    Problem with staff page?

    Yes, for some odd reason when i set "Our" staff as the rank there suppose to be it's not showing in the /staff?

    Here is a image :
    http://gyazo.com/d4b153b8e4d17ddad3d51690b122a4f1

    Here is my staff.php :
    Code:
    <!DOCTYPE html>
    <html lang="en">
        <head>
            <meta http-equiv="content-type" content="text/html; charset=utf-8">
            <title>{hotelName} - Staff</title>
            
            <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/common.css" type="text/css">
            <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/libs2.js"></script>
            <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/visual.js"></script>
            <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/libs.js"></script>
            <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/common.js"></script>
            <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/fullcontent.js"></script>
            
            <script type="text/javascript">
                document.habboLoggedIn = true;
                var habboName = "{username}";
                var habboId = {userid};
                var habboReqPath = "";
                var habboStaticFilePath = "{url}/app/tpl/skins/Habbo";
                var habboImagerUrl = "http://www.habbo.nl/habbo-imaging/";
                var habboPartner = "";
                var habboDefaultClientPopupUrl = "{url}/client";
                window.name = "habboMain";
                if (typeof HabboClient != "undefined") {
                    HabboClient.windowName = "eac955c8dbc88172421193892a3e98fc7402021a";
                    HabboClient.maximizeWindow = true;
                }
            </script>
            
            <!--[if IE 8]>
                <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/ie8.css" type="text/css">
            <![endif]-->
            <!--[if lt IE 8]>
                <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/ie.css" type="text/css" />
            <![endif]-->
            <!--[if lt IE 7]>
                <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/ie6.css" type="text/css" />
                <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/pngfix.js"></script>
                <script type="text/javascript">
                    try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}
                </script>
                <style type="text/css">
                    body { behavior: url({url}/app/tpl/skins/Habbo/js/csshover.htc); }
                </style>
            <![endif]-->
        </head>
        
        <body id="home">
        
            <div id="overlay"></div>
            <div id="header-container">
                <div id="header" class="clearfix">
                    <h1><a href="{url}/"></a></h1>
                    <div id="subnavi">
                        <div id="subnavi-user">
                            <div style="margin-top:7px">Core Hotel Is No Longer Hiring Staff!</div>
                        </div>
                        <div id="subnavi-search">
                            <div id="subnavi-search-upper">
                                <ul id="subnavi-search-links">
                                    <li><a href="{url}/logout" style="color:#000">Sign Out</a></li>
                                </ul>
                            </div>
                        </div>
                        <div id="to-hotel">
                            <a href="{url}/client" class="new-button green-button" target="eac955c8dbc88172421193892a3e98fc7402021a" onclick="HabboClient.openOrFocus(this); return false;"><b>Enter {hotelName}</b><i></i></a>
                        </div>
                    </div>
                 <ul id="navi">
                        <li class="metab"><a href="{url}/me">{username}</a><span></span></li>
                        <li class="selected"><strong>Community</strong><span></span></li>
                        <li><a href="{url}/vip">Shop</a><span></span></li>
    					<li><a href="{url}/forum">Events</a><span></span></li>
    					
    					
                    </ul>
                    <div id="habbos-online"><div class="rounded"><span>{online} Online</span></div></div>
                </div>
            </div>
            <div id="content-container">
                <div id="navi2-container" class="pngbg">
                    <div id="navi2" class="pngbg clearfix">
                        <ul>
                            <li class=""><a href="{url}/community">Community</a></li>
                            <li class=""><a href="{url}/news">News</a></li>
                            <li class=""><a href="{url}/staff">Staff</a></li>
    						<li class=""><a href="{url}/graphics">Graphics Team</a></li>
    						<li class=""><a href="{url}/events">Events Team</a></li>
    						<li class=""><a href="{url}/rules">Hotel Rules</a></li>
    					</ul>
                    </div>
                </div>
    
    
    <div id="container">
        <div id="content">
        <div id="column1" class="column">
    
    
    <?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 red ">
    <h2 class="title"><span style="float: left;">' . $Ranks['name'] . '</span> <span style="float: right; font-weight: normal; font-size: 75%;">Technician Team</span></h2>';
    	
    	$getMembers = mysql_query("SELECT id,username,motto,look,position,online,last_online,owner_bio 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' : '#fff') . ';">
    			<tbody>
    				<tr>
    					<td valign="middle" width="25">
    						<div style="width: 58px; height: 75px;margin-top:-25px; float: left; background: url(http://www.habbo.nl/habbo-imaging/avatarimage?figure=' .$member['look'] . '&action=std,wav&gesture=sml&direction=3&head_direction=3&size=l&frame=wav=1);">
    </div>
    					</td>
    					<td valign="top">
    						</br>' . (($member['online'] == "1") ? '<div style="width: 15px; height: 18px;margin-top:-15px; float: left; background: url(/images/habbo_online.gif);"></div>': '<div style="width: 15px; height: 18px;margin-top:-15px; float: left; background: url(/images/habbo_offline1.gif);"></div>') . '<p style="margin-top: -10px;" style="font-size: 100%;"><strong><a href="#"><u>' .$member['username'] . '</a></u></strong><br>Motto: ' . $member['motto'] . '<br>Position: ' .$member['position'] . '
    						';
    						
    					
    						
    					echo '</td>
    					
    				</tr>
    			</tbody>
    			</table><div style="border: 1px #eee solid;"></div>
    			';
    		}
    	}
    	else
    	{
    		echo '<i>There is no staff in this rank yet.</i>';
    	}
    	
    	echo '</div>
    	</div>
    	</div>
    <script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> ';
    }
    ?>										
    <?php
    
    $getRanks = mysql_query("SELECT id,name FROM ranks WHERE id = 8 ORDER BY id DESC");
    
    while ($Ranks = mysql_fetch_assoc($getRanks))
    {	
    	echo ' <div class="habblet-container ">		
    <div class="cbb clearfix red ">
    <h2 class="title"><span style="float: left;">' . $Ranks['name'] . '</span> <span style="float: right; font-weight: normal; font-size: 75%;">Administration Team</span></h2>';
    	
    	$getMembers = mysql_query("SELECT id,username,motto,look,position,online,last_online,owner_bio 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' : '#fff') . ';">
    			<tbody>
    				<tr>
    					<td valign="middle" width="25">
    						<div style="width: 58px; height: 75px;margin-top:-25px; float: left; background: url(http://www.habbo.nl/habbo-imaging/avatarimage?figure=' .$member['look'] . '&action=std,wav&gesture=sml&direction=3&head_direction=3&size=l&frame=wav=1);">
    </div>
    					</td>
    					<td valign="top">
    						</br>' . (($member['online'] == "1") ? '<div style="width: 15px; height: 18px;margin-top:-15px; float: left; background: url(/images/habbo_online.gif);"></div>': '<div style="width: 15px; height: 18px;margin-top:-15px; float: left; background: url(/images/habbo_offline1.gif);"></div>') . '<p style="margin-top: -10px;" style="font-size: 100%;"><strong><a href="#"><u>' .$member['username'] . '</a></u></strong><br>Motto: ' . $member['motto'] . '<br>Position: ' .$member['position'] . '
    						';
    						
    					
    						
    					echo '</td>
    					
    				</tr>
    			</tbody>
    			</table><div style="border: 1px #eee solid;"></div>
    			';
    		}
    	}
    	else
    	{
    		echo '<i>There is no staff in this rank yet.</i>';
    	}
    	
    	echo '</div>
    	</div>
    	</div>
    <script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> ';
    }
    ?>
    <?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 red ">
    <h2 class="title"><span style="float: left;">' . $Ranks['name'] . '</span> <span style="float: right; font-weight: normal; font-size: 75%;">Administrative Team</span></h2>';
    	
    	$getMembers = mysql_query("SELECT id,username,motto,look,position,online,last_online,owner_bio 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' : '#fff') . ';">
    			<tbody>
    				<tr>
    					<td valign="middle" width="25">
    						<div style="width: 58px; height: 75px;margin-top:-25px; float: left; background: url(http://www.habbo.nl/habbo-imaging/avatarimage?figure=' .$member['look'] . '&action=std,wav&gesture=sml&direction=3&head_direction=3&size=l&frame=wav=1);">
    </div>
    					</td>
    					<td valign="top">
    						</br>' . (($member['online'] == "1") ? '<div style="width: 15px; height: 18px;margin-top:-15px; float: left; background: url(/images/habbo_online.gif);"></div>': '<div style="width: 15px; height: 18px;margin-top:-15px; float: left; background: url(/images/habbo_offline1.gif);"></div>') . '<p style="margin-top: -10px;" style="font-size: 100%;"><strong><a href="#"><u>' .$member['username'] . '</a></u></strong><br>Motto: ' . $member['motto'] . '<br>Position: ' .$member['position'] . '
    						';
    						
    					
    						
    					echo '</td>
    					
    				</tr>
    			</tbody>
    			</table><div style="border: 1px #eee solid;"></div>
    			';
    		}
    	}
    	else
    	{
    		echo '<i>There is no staff in this rank yet.</i>';
    	}
    	
    	echo '</div>
    	</div>
    	</div>
    <script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> ';
    }
    ?>							
    <?php
    $getRanks = mysql_query("SELECT id,name FROM ranks WHERE id = 6 ORDER BY id DESC");
    
    while ($Ranks = mysql_fetch_assoc($getRanks))
    {	
    	echo ' <div class="habblet-container ">		
    <div class="cbb clearfix red ">
    <h2 class="title"><span style="float: left;">' . $Ranks['name'] . '</span> <span style="float: right; font-weight: normal; font-size: 75%;">Administrative Team</span></h2>';
    	
    	$getMembers = mysql_query("SELECT id,username,motto,look,position,online,last_online,owner_bio 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' : '#fff') . ';">
    			<tbody>
    				<tr>
    					<td valign="middle" width="25">
    						<div style="width: 58px; height: 75px;margin-top:-25px; float: left; background: url(http://www.habbo.nl/habbo-imaging/avatarimage?figure=' .$member['look'] . '&action=std,wav&gesture=sml&direction=3&head_direction=3&size=l&frame=wav=1);">
    </div>
    					</td>
    					<td valign="top">
    						</br>' . (($member['online'] == "1") ? '<div style="width: 15px; height: 18px;margin-top:-15px; float: left; background: url(/images/habbo_online.gif);"></div>': '<div style="width: 15px; height: 18px;margin-top:-15px; float: left; background: url(/images/habbo_offline1.gif);"></div>') . '<p style="margin-top: -10px;" style="font-size: 100%;"><strong><a href="#"><u>' .$member['username'] . '</a></u></strong><br>Motto: ' . $member['motto'] . '<br>Position: ' .$member['position'] . '
    						';
    						
    					
    						
    					echo '</td>
    					
    				</tr>
    			</tbody>
    			</table><div style="border: 1px #eee solid;"></div>
    			';
    		}
    	}
    	else
    	{
    		echo '<i>There is no staff in this rank yet.</i>';
    	}
    	
    	echo '</div>
    	</div>
    	</div>
    <script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> ';
    }
    ?>							
    <?php
    
    $getRanks = mysql_query("SELECT id,name FROM ranks WHERE id = 5 ORDER BY id DESC");
    
    while ($Ranks = mysql_fetch_assoc($getRanks))
    {	
    	echo ' <div class="habblet-container ">		
    <div class="cbb clearfix red ">
    <h2 class="title"><span style="float: left;">' . $Ranks['name'] . '</span> <span style="float: right; font-weight: normal; font-size: 75%;">Moderation Team</span></h2>';
    	
    	$getMembers = mysql_query("SELECT id,username,motto,look,position,online,last_online,owner_bio 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' : '#fff') . ';">
    			<tbody>
    				<tr>
    					<td valign="middle" width="25">
    						<div style="width: 58px; height: 75px;margin-top:-25px; float: left; background: url(http://www.habbo.nl/habbo-imaging/avatarimage?figure=' .$member['look'] . '&action=std,wav&gesture=sml&direction=3&head_direction=3&size=l&frame=wav=1);">
    </div>
    					</td>
    					<td valign="top">
    						</br>' . (($member['online'] == "1") ? '<div style="width: 15px; height: 18px;margin-top:-15px; float: left; background: url(/images/habbo_online.gif);"></div>': '<div style="width: 15px; height: 18px;margin-top:-15px; float: left; background: url(/images/habbo_offline1.gif);"></div>') . '<p style="margin-top: -10px;" style="font-size: 100%;"><strong><a href="#"><u>' .$member['username'] . '</a></u></strong><br>Motto: ' . $member['motto'] . '<br>Position: ' .$member['position'] . '
    						';
    						
    					
    						
    					echo '</td>
    					
    				</tr>
    			</tbody>
    			</table><div style="border: 1px #eee solid;"></div>
    			';
    		}
    	}
    	else
    	{
    		echo '<i>There is no staff in this rank yet.</i>';
    	}
    	
    	echo '</div>
    	</div>
    	</div>
    <script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> ';
    }
    $getRanks = mysql_query("SELECT id,name FROM ranks WHERE id = 4 ORDER BY id DESC");
    
    while ($Ranks = mysql_fetch_assoc($getRanks))
    {	
    	echo ' <div class="habblet-container ">		
    <div class="cbb clearfix red ">
    <h2 class="title"><span style="float: left;">' . $Ranks['name'] . '</span> <span style="float: right; font-weight: normal; font-size: 75%;">Trial Moderation Team</span></h2>';
    	
    	$getMembers = mysql_query("SELECT id,username,motto,look,position,online,last_online,owner_bio 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' : '#fff') . ';">
    			<tbody>
    				<tr>
    					<td valign="middle" width="25">
    						<div style="width: 58px; height: 75px;margin-top:-25px; float: left; background: url(http://www.habbo.nl/habbo-imaging/avatarimage?figure=' .$member['look'] . '&size=m&action=drk=0,wav&direction=3&head_direction=3&gesture=sml);">
    </div>
    					</td>
    					<td valign="top">
    						</br>' . (($member['online'] == "1") ? '<div style="width: 15px; height: 18px;margin-top:-15px; float: left; background: url(/images/habbo_online.gif);"></div>': '<div style="width: 15px; height: 18px;margin-top:-15px; float: left; background: url(/images/habbo_offline1.gif);"></div>') . '<p style="margin-top: -10px;" style="font-size: 100%;"><strong><a href="#"><u>' .$member['username'] . '</a></u></strong><br>Motto: ' . $member['motto'] . '<br>Position: ' .$member['position'] . '
    						';
    						
    					
    						
    					echo '</td>
    					
    				</tr>
    			</tbody>
    			</table><div style="border: 1px #eee solid;"></div>
    			';
    		}
    	}
    	else
    	{
    		echo '<i>There is no staff in this rank yet.</i>';
    	}
    	
    	echo '</div>
    	</div>
    	</div>
    <script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> ';
    }
    ?>						
    </div>
    <div id="column2" class="column">
                              
    <?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 red ">
    <h2 class="title"><span style="float: left;">' . $Ranks['name'] . '</span> <span style="float: right; font-weight: normal; font-size: 75%;">' . $Ranks['name'] . '</span></h2>';
    	
    	$getMembers = mysql_query("SELECT id,username,motto,look,position,online,last_online,owner_bio 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' : '#eee') . ';">
    			<tbody>
    				<tr>
    					<td valign="middle" width="25">
    						<img src="http://www.habbo.nl/habbo-imaging/avatarimage?figure=' .$member['look'] . '&action=wlk,wav,crr=6&gesture=srp&direction=3&head_direction=3&size=l&frame=wlk=2" />
    </div>
    					</td>
    					<td valign="top">
    						</br>' . (($member['online'] == "1") ? '<p style="margin-top: 0px;" style="font-size: 100%;"><img src="/images/habbo_online.gif"></img>': '<p style="margin-top: 0px;" style="font-size: 100%;"><img src="/images/habbo_offline1.gif"></img>') . '<strong><a href="#"><u>' .$member['username'] . '</a></u></strong><br>' . $member['owner_bio'] . '</p>
    						';
    						
    					
    						
    					echo '</td>
    					
    					</td>
    				</tr>
    			</tbody>
    			</table>
    			';
    		}
    	}
    	else
    	{
    		echo '<i>There is no staff in this rank yet.</i>';
    	}
    	
    	echo '</div>
    	</div>
    	</div>
    <script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> ';
    }
    ?>							
    					
    
    </div>
    </div></div>
    </div>
    </div>
    <br><br><br>
    <div id="footer"><font size="1" color="grey">
    <center>RevCMS Coded by Kryptos, used by {hotelname}.</center></font>
    	
    
    
    
    
    	</div>			</div>
            </div>
        </div>
    </div>
    
    <script type="text/javascript">
    HabboView.run();
    </script>
    
    
    
    </body>
    </html>
    Ranks in DB :
    Code:
    4 Trial Mod
    7 Senior Admin
    6 Administrators
    9 Technicians
    8 Managers
    5 Moderators
    The numbers are the ID's
    Last edited by Derpec; 07-08-13 at 03:57 AM.


  2. #2
    Grand Master Glee is offline
    Grand MasterRank
    Jun 2009 Join Date
    Niagara Falls,Location
    2,225Posts

    Re: Problem with staff page?

    Try This
    PHP Code:
    <!DOCTYPE html>
    <html lang="en">
        <head>
            <meta http-equiv="content-type" content="text/html; charset=utf-8">
            <title>{hotelName} - Staff</title>
            
            <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/common.css" type="text/css">
            <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/libs2.js"></script>
            <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/visual.js"></script>
            <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/libs.js"></script>
            <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/common.js"></script>
            <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/fullcontent.js"></script>
            
            <script type="text/javascript">
                document.habboLoggedIn = true;
                var habboName = "{username}";
                var habboId = {userid};
                var habboReqPath = "";
                var habboStaticFilePath = "{url}/app/tpl/skins/Habbo";
                var habboImagerUrl = "http://www.habbo.nl/habbo-imaging/";
                var habboPartner = "";
                var habboDefaultClientPopupUrl = "{url}/client";
                window.name = "habboMain";
                if (typeof HabboClient != "undefined") {
                    HabboClient.windowName = "eac955c8dbc88172421193892a3e98fc7402021a";
                    HabboClient.maximizeWindow = true;
                }
            </script>
            
            <!--[if IE 8]>
                <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/ie8.css" type="text/css">
            <![endif]-->
            <!--[if lt IE 8]>
                <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/ie.css" type="text/css" />
            <![endif]-->
            <!--[if lt IE 7]>
                <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/ie6.css" type="text/css" />
                <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/pngfix.js"></script>
                <script type="text/javascript">
                    try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}
                </script>
                <style type="text/css">
                    body { behavior: url({url}/app/tpl/skins/Habbo/js/csshover.htc); }
                </style>
            <![endif]-->
        </head>
        
        <body id="home">
        
            <div id="overlay"></div>
            <div id="header-container">
                <div id="header" class="clearfix">
                    <h1><a href="{url}/"></a></h1>
                    <div id="subnavi">
                        <div id="subnavi-user">
                            <div style="margin-top:7px">Core Hotel Is No Longer Hiring Staff!</div>
                        </div>
                        <div id="subnavi-search">
                            <div id="subnavi-search-upper">
                                <ul id="subnavi-search-links">
                                    <li><a href="{url}/logout" style="color:#000">Sign Out</a></li>
                                </ul>
                            </div>
                        </div>
                        <div id="to-hotel">
                            <a href="{url}/client" class="new-button green-button" target="eac955c8dbc88172421193892a3e98fc7402021a" onclick="HabboClient.openOrFocus(this); return false;"><b>Enter {hotelName}</b><i></i></a>
                        </div>
                    </div>
                 <ul id="navi">
                        <li class="metab"><a href="{url}/me">{username}</a><span></span></li>
                        <li class="selected"><strong>Community</strong><span></span></li>
                        <li><a href="{url}/vip">Shop</a><span></span></li>
                        <li><a href="{url}/forum">Events</a><span></span></li>
                        
                        
                    </ul>
                    <div id="habbos-online"><div class="rounded"><span>{online} Online</span></div></div>
                </div>
            </div>
            <div id="content-container">
                <div id="navi2-container" class="pngbg">
                    <div id="navi2" class="pngbg clearfix">
                        <ul>
                            <li class=""><a href="{url}/community">Community</a></li>
                            <li class=""><a href="{url}/news">News</a></li>
                            <li class=""><a href="{url}/staff">Staff</a></li>
                            <li class=""><a href="{url}/graphics">Graphics Team</a></li>
                            <li class=""><a href="{url}/events">Events Team</a></li>
                            <li class=""><a href="{url}/rules">Hotel Rules</a></li>
                        </ul>
                    </div>
                </div>


    <div id="container">
        <div id="content">
        <div id="column1" class="column">


    <?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 red ">
    <h2 class="title"><span style="float: left;">' 
    $Ranks['name'] . '</span> <span style="float: right; font-weight: normal; font-size: 75%;">Technician Team</span></h2>';
        
        
    $getMembers mysql_query("SELECT id,username,motto,look,position,online,last_online,owner_bio 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' '#fff') . ';">
                <tbody>
                    <tr>
                        <td valign="middle" width="25">
                            <div style="width: 58px; height: 75px;margin-top:-25px; float: left; background: url(http://www.habbo.nl/habbo-imaging/avatarimage?figure=' 
    .$member['look'] . '&action=std,wav&gesture=sml&direction=3&head_direction=3&size=l&frame=wav=1);">
    </div>
                        </td>
                        <td valign="top">
                            </br>' 
    . (($member['online'] == "1") ? '<div style="width: 15px; height: 18px;margin-top:-15px; float: left; background: url(/images/habbo_online.gif);"></div>''<div style="width: 15px; height: 18px;margin-top:-15px; float: left; background: url(/images/habbo_offline1.gif);"></div>') . '<p style="margin-top: -10px;" style="font-size: 100%;"><strong><a href="#"><u>' .$member['username'] . '</a></u></strong><br>Motto: ' $member['motto'] . '<br>Position: ' .$member['position'] . '
                            '
    ;
                            
                        
                            
                        echo 
    '</td>
                        
                    </tr>
                </tbody>
                </table><div style="border: 1px #eee solid;"></div>
                '
    ;
            }
        }
        else
        {
            echo 
    '<i>There is no staff in this rank yet.</i>';
        }
        
        echo 
    '</div>
        </div>
        </div>
    <script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> '
    ;
    }
    ?>                                        
    <?php

    $getRanks 
    mysql_query("SELECT id,name FROM ranks WHERE id => 8 ORDER BY id DESC");

    while (
    $Ranks mysql_fetch_assoc($getRanks))
    {    
        echo 
    ' <div class="habblet-container ">        
    <div class="cbb clearfix red ">
    <h2 class="title"><span style="float: left;">' 
    $Ranks['name'] . '</span> <span style="float: right; font-weight: normal; font-size: 75%;">Administration Team</span></h2>';
        
        
    $getMembers mysql_query("SELECT id,username,motto,look,position,online,last_online,owner_bio 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' '#fff') . ';">
                <tbody>
                    <tr>
                        <td valign="middle" width="25">
                            <div style="width: 58px; height: 75px;margin-top:-25px; float: left; background: url(http://www.habbo.nl/habbo-imaging/avatarimage?figure=' 
    .$member['look'] . '&action=std,wav&gesture=sml&direction=3&head_direction=3&size=l&frame=wav=1);">
    </div>
                        </td>
                        <td valign="top">
                            </br>' 
    . (($member['online'] == "1") ? '<div style="width: 15px; height: 18px;margin-top:-15px; float: left; background: url(/images/habbo_online.gif);"></div>''<div style="width: 15px; height: 18px;margin-top:-15px; float: left; background: url(/images/habbo_offline1.gif);"></div>') . '<p style="margin-top: -10px;" style="font-size: 100%;"><strong><a href="#"><u>' .$member['username'] . '</a></u></strong><br>Motto: ' $member['motto'] . '<br>Position: ' .$member['position'] . '
                            '
    ;
                            
                        
                            
                        echo 
    '</td>
                        
                    </tr>
                </tbody>
                </table><div style="border: 1px #eee solid;"></div>
                '
    ;
            }
        }
        else
        {
            echo 
    '<i>There is no staff in this rank yet.</i>';
        }
        
        echo 
    '</div>
        </div>
        </div>
    <script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> '
    ;
    }
    ?>
    <?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 red ">
    <h2 class="title"><span style="float: left;">' 
    $Ranks['name'] . '</span> <span style="float: right; font-weight: normal; font-size: 75%;">Administrative Team</span></h2>';
        
        
    $getMembers mysql_query("SELECT id,username,motto,look,position,online,last_online,owner_bio 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' '#fff') . ';">
                <tbody>
                    <tr>
                        <td valign="middle" width="25">
                            <div style="width: 58px; height: 75px;margin-top:-25px; float: left; background: url(http://www.habbo.nl/habbo-imaging/avatarimage?figure=' 
    .$member['look'] . '&action=std,wav&gesture=sml&direction=3&head_direction=3&size=l&frame=wav=1);">
    </div>
                        </td>
                        <td valign="top">
                            </br>' 
    . (($member['online'] == "1") ? '<div style="width: 15px; height: 18px;margin-top:-15px; float: left; background: url(/images/habbo_online.gif);"></div>''<div style="width: 15px; height: 18px;margin-top:-15px; float: left; background: url(/images/habbo_offline1.gif);"></div>') . '<p style="margin-top: -10px;" style="font-size: 100%;"><strong><a href="#"><u>' .$member['username'] . '</a></u></strong><br>Motto: ' $member['motto'] . '<br>Position: ' .$member['position'] . '
                            '
    ;
                            
                        
                            
                        echo 
    '</td>
                        
                    </tr>
                </tbody>
                </table><div style="border: 1px #eee solid;"></div>
                '
    ;
            }
        }
        else
        {
            echo 
    '<i>There is no staff in this rank yet.</i>';
        }
        
        echo 
    '</div>
        </div>
        </div>
    <script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> '
    ;
    }
    ?>                            
    <?php
    $getRanks 
    mysql_query("SELECT id,name FROM ranks WHERE id => 6 ORDER BY id DESC");

    while (
    $Ranks mysql_fetch_assoc($getRanks))
    {    
        echo 
    ' <div class="habblet-container ">        
    <div class="cbb clearfix red ">
    <h2 class="title"><span style="float: left;">' 
    $Ranks['name'] . '</span> <span style="float: right; font-weight: normal; font-size: 75%;">Administrative Team</span></h2>';
        
        
    $getMembers mysql_query("SELECT id,username,motto,look,position,online,last_online,owner_bio 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' '#fff') . ';">
                <tbody>
                    <tr>
                        <td valign="middle" width="25">
                            <div style="width: 58px; height: 75px;margin-top:-25px; float: left; background: url(http://www.habbo.nl/habbo-imaging/avatarimage?figure=' 
    .$member['look'] . '&action=std,wav&gesture=sml&direction=3&head_direction=3&size=l&frame=wav=1);">
    </div>
                        </td>
                        <td valign="top">
                            </br>' 
    . (($member['online'] == "1") ? '<div style="width: 15px; height: 18px;margin-top:-15px; float: left; background: url(/images/habbo_online.gif);"></div>''<div style="width: 15px; height: 18px;margin-top:-15px; float: left; background: url(/images/habbo_offline1.gif);"></div>') . '<p style="margin-top: -10px;" style="font-size: 100%;"><strong><a href="#"><u>' .$member['username'] . '</a></u></strong><br>Motto: ' $member['motto'] . '<br>Position: ' .$member['position'] . '
                            '
    ;
                            
                        
                            
                        echo 
    '</td>
                        
                    </tr>
                </tbody>
                </table><div style="border: 1px #eee solid;"></div>
                '
    ;
            }
        }
        else
        {
            echo 
    '<i>There is no staff in this rank yet.</i>';
        }
        
        echo 
    '</div>
        </div>
        </div>
    <script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> '
    ;
    }
    ?>                            
    <?php

    $getRanks 
    mysql_query("SELECT id,name FROM ranks WHERE id => 5 ORDER BY id DESC");

    while (
    $Ranks mysql_fetch_assoc($getRanks))
    {    
        echo 
    ' <div class="habblet-container ">        
    <div class="cbb clearfix red ">
    <h2 class="title"><span style="float: left;">' 
    $Ranks['name'] . '</span> <span style="float: right; font-weight: normal; font-size: 75%;">Moderation Team</span></h2>';
        
        
    $getMembers mysql_query("SELECT id,username,motto,look,position,online,last_online,owner_bio 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' '#fff') . ';">
                <tbody>
                    <tr>
                        <td valign="middle" width="25">
                            <div style="width: 58px; height: 75px;margin-top:-25px; float: left; background: url(http://www.habbo.nl/habbo-imaging/avatarimage?figure=' 
    .$member['look'] . '&action=std,wav&gesture=sml&direction=3&head_direction=3&size=l&frame=wav=1);">
    </div>
                        </td>
                        <td valign="top">
                            </br>' 
    . (($member['online'] == "1") ? '<div style="width: 15px; height: 18px;margin-top:-15px; float: left; background: url(/images/habbo_online.gif);"></div>''<div style="width: 15px; height: 18px;margin-top:-15px; float: left; background: url(/images/habbo_offline1.gif);"></div>') . '<p style="margin-top: -10px;" style="font-size: 100%;"><strong><a href="#"><u>' .$member['username'] . '</a></u></strong><br>Motto: ' $member['motto'] . '<br>Position: ' .$member['position'] . '
                            '
    ;
                            
                        
                            
                        echo 
    '</td>
                        
                    </tr>
                </tbody>
                </table><div style="border: 1px #eee solid;"></div>
                '
    ;
            }
        }
        else
        {
            echo 
    '<i>There is no staff in this rank yet.</i>';
        }
        
        echo 
    '</div>
        </div>
        </div>
    <script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> '
    ;
    }
    $getRanks mysql_query("SELECT id,name FROM ranks WHERE id => 4 ORDER BY id DESC");

    while (
    $Ranks mysql_fetch_assoc($getRanks))
    {    
        echo 
    ' <div class="habblet-container ">        
    <div class="cbb clearfix red ">
    <h2 class="title"><span style="float: left;">' 
    $Ranks['name'] . '</span> <span style="float: right; font-weight: normal; font-size: 75%;">Trial Moderation Team</span></h2>';
        
        
    $getMembers mysql_query("SELECT id,username,motto,look,position,online,last_online,owner_bio 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' '#fff') . ';">
                <tbody>
                    <tr>
                        <td valign="middle" width="25">
                            <div style="width: 58px; height: 75px;margin-top:-25px; float: left; background: url(http://www.habbo.nl/habbo-imaging/avatarimage?figure=' 
    .$member['look'] . '&size=m&action=drk=0,wav&direction=3&head_direction=3&gesture=sml);">
    </div>
                        </td>
                        <td valign="top">
                            </br>' 
    . (($member['online'] == "1") ? '<div style="width: 15px; height: 18px;margin-top:-15px; float: left; background: url(/images/habbo_online.gif);"></div>''<div style="width: 15px; height: 18px;margin-top:-15px; float: left; background: url(/images/habbo_offline1.gif);"></div>') . '<p style="margin-top: -10px;" style="font-size: 100%;"><strong><a href="#"><u>' .$member['username'] . '</a></u></strong><br>Motto: ' $member['motto'] . '<br>Position: ' .$member['position'] . '
                            '
    ;
                            
                        
                            
                        echo 
    '</td>
                        
                    </tr>
                </tbody>
                </table><div style="border: 1px #eee solid;"></div>
                '
    ;
            }
        }
        else
        {
            echo 
    '<i>There is no staff in this rank yet.</i>';
        }
        
        echo 
    '</div>
        </div>
        </div>
    <script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> '
    ;
    }
    ?>                        
    </div>
    <div id="column2" class="column">
                              
    <?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 red ">
    <h2 class="title"><span style="float: left;">' 
    $Ranks['name'] . '</span> <span style="float: right; font-weight: normal; font-size: 75%;">' $Ranks['name'] . '</span></h2>';
        
        
    $getMembers mysql_query("SELECT id,username,motto,look,position,online,last_online,owner_bio 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' '#eee') . ';">
                <tbody>
                    <tr>
                        <td valign="middle" width="25">
                            <img src="http://www.habbo.nl/habbo-imaging/avatarimage?figure=' 
    .$member['look'] . '&action=wlk,wav,crr=6&gesture=srp&direction=3&head_direction=3&size=l&frame=wlk=2" />
    </div>
                        </td>
                        <td valign="top">
                            </br>' 
    . (($member['online'] == "1") ? '<p style="margin-top: 0px;" style="font-size: 100%;"><img src="/images/habbo_online.gif"></img>''<p style="margin-top: 0px;" style="font-size: 100%;"><img src="/images/habbo_offline1.gif"></img>') . '<strong><a href="#"><u>' .$member['username'] . '</a></u></strong><br>' $member['owner_bio'] . '</p>
                            '
    ;
                            
                        
                            
                        echo 
    '</td>
                        
                        </td>
                    </tr>
                </tbody>
                </table>
                '
    ;
            }
        }
        else
        {
            echo 
    '<i>There is no staff in this rank yet.</i>';
        }
        
        echo 
    '</div>
        </div>
        </div>
    <script type="text/javascript">if (!$(document.body).hasClassName(\'process-template\')) { Rounder.init(); }</script> '
    ;
    }
    ?>                            
                        

    </div>
    </div></div>
    </div>
    </div>
    <br><br><br>
    <div id="footer"><font size="1" color="grey">
    <center>RevCMS Coded by Kryptos, used by {hotelname}.</center></font>
        




        </div>            </div>
            </div>
        </div>
    </div>

    <script type="text/javascript">
    HabboView.run();
    </script>



    </body>
    </html>

  3. #3
    Member Derpec is offline
    MemberRank
    Aug 2012 Join Date
    30Posts

    Re: Problem with staff page?

    Umm noo? that just disapeered every rank except founder i want my people to show up on the ranks.



Advertisement