<?php
#######################################################|#
#|                    			HabboMCMS - TheRox
#|                   		         Powered by HoloCMS
#|           		  Copyright 2011-2012 ALL RIGHTS RESERVED
#######################################################|#

if($hkzone !== true){ header("Location: index.php?throwBack=true"); exit; }

if($user_rank > 5){
    $strRank = "Administrateur";
} elseif($user_rank > 4){
    $strRank = "Modérateur";
} else {
    $strRank = "Faggot"; // no wai!
}


?>
<body>
<div id='loading-layer' style='display:none'>
	<div id='loading-layer-shadow'>
	   <div id='loading-layer-inner' >
		   <img src='./images/loading_anim.gif' style='vertical-align:middle' border='0' alt='Loading...' /><br />
		   <span style='font-weight:bold' id='loading-layer-text'>Loading Data. Please Wait...</span>
	   </div>
	</div>
</div>
    <?php if(isset($msg)) echo $msg; ?>
<div id='ipdwrapper'><!-- IPDWRAPPER -->
<!-- TOP TABS -->
<div class='tabwrap-main'>
<div class='tab<?php if($tab == 1){ echo "on"; } else { echo "off"; } ?>-main'><img src='images/dashboard.png' style='vertical-align:middle' /> <a href='index.php?p=dashboard'>Acceuil</a></div>
<div class='tab<?php if($tab == 3){ echo "on"; } else { echo "off"; } ?>-main'><img src='images/tools.png' style='vertical-align:middle' /> <a href='index.php?p=site'>Gestion du site</a></div>
<div class='tab<?php if($tab == 5){ echo "on"; } else { echo "off"; } ?>-main'><img src='images/admin.png' style='vertical-align:middle' /> <a href='index.php?p=users'>Utilisateurs & Moderation</a></div>


<div class='logoright'><br /><font size='2' color='black'><?php echo $chosen; ?></font>&nbsp;&nbsp;&nbsp;</div>
</div>
<!-- / TOP TABS -->

<div class='sub-tab-strip'>
    <div class='global-memberbar'>
 <strong><?php echo $strRank . " " . $admin_username; ?></strong> [
 <a href='../index.php' target='_blank'>Accueil du site</a> &middot;
 <a href='index.php?p=logout'>Déconnexion</a>
 ]
</div>
	<div class='navwrap'><a href='index.php?p=dashboard'>Panel d'administration</a></div>
</div>
<div class='outerdiv' id='global-outerdiv'><!-- OUTERDIV -->
 