<?php if (!defined("IN_HOLOCMS")) { header("Location: $path"); exit; }
if(empty($body_id)){
$body_id = "home";
}
?>
<style>
#subnavi.narrow {
left: 547px;
width: 215px;
}
#subnavi,
#subnavi input {
font-size: 11px;
}
#subnavi {
position: absolute;
left: 190px;
top: 0;
width: 572px;
height: 28px;
background-color:
#fff;
border-bottom-left-radius: 7px;
-moz-border-radius-bottomleft: 7px;
border-bottom-right-radius: 7px;
-moz-border-radius-bottomright: 7px;
}
#header-container {
background-color:
#bce0ee!important;
background: url(../web-gallery/v2/images/topbg00.gif) repeat-X 0 100%,url(NUVEM) no-repeat 100% 0px,url(NUVEM2) no-repeat -10px -35px,url(../web-gallery/v2/images/topbg00.gif!important) repeat-X;
min-width: 93px!important;
margin: 0!important;
boder:: 10!important;
}
</style>
<body id="<?php echo $body_id; ?>" class=""<?php if($pageid == "4"){ ?> onLoad="NaviFenster()"<?php } ?>>
<div id="overlay"></div>
<div id="header-container">
<div id="header" class="clearfix">
<h1><a href="index"></a></h1>
<br /><br /><br /><div class="fb-like" style="margin-left: 10px;margin-top: -8px;" data-href="https://www.facebook.com/slephotelbr" data-send="false" data-layout="button_count" data-width="450" data-show-faces="false"></div>
<div id="subnavi" class="narrow">
<div id="subnavi-user">
<?php if($logged_in){ ?>
<?php } elseif(!$logged_in){ ?>
<div class="clearfix"> </div>
<p>
<a href="/client" id="enter-hotel-open-medium-link" target="client" onClick="HabboClient.openOrFocus(this); return false;">Entrar no <?php echo $shortname; ?> Hotel</a>
</p>
<?php } ?>
</div>
<?php if(!$logged_in){ ?>
<div id="subnavi-login">
<form action="<?php echo $path; ?>/index?page=&username=<?php echo $username; ?>&rememberme=false" method="post" id="login-form">
<input type="hidden" name="page" value="<?php echo $pageid; ?>" />
<ul>
<li>
<label for="login-username" class="login-text"><b><?php echo $shortname; ?> Nome</b></label>
<input tabindex="1" type="text" class="login-field" name="username" id="login-username" />
<a href="#" id="login-submit-new-button" class="new-button" style="float: left; display:none"><b>Login</b><i></i></a>
<input type="submit" value="Login" class="submit"/>
</li>
<li>
<label for="login-password" class="login-text"><b>Senha</b></label>
<input tabindex="2" type="password" class="login-field" name="password" id="login-password" />
<input tabindex="3" type="checkbox" name="_login_remember_me" value="true" id="login-remember-me" />
<label for="login-remember-me" class="left">Manter-me conectado</label>
</li>
</ul>
</form>
<div id="subnavi-login-help" class="clearfix">
<ul>
<li class="register"><a href="<?php echo $path; ?>/forgot" id="forgot-password"><span>Esqueceu sua senha?</span></a></li>
<li><a href="<?php echo $path; ?>/registro/"><span>Registre-se agora!</span></a></li>
</ul>
</div>
<div id="remember-me-notification" class="bottom-bubble" style="display:none;">
<div class="bottom-bubble-t"><div></div></div>
<div class="bottom-bubble-c">
Selecionar esta opção permanecer conectado ao <?php echo $shortname; ?> até que você dê a opção em "Disconnect"
</div>
<div class="bottom-bubble-b"><div></div></div>
</div>
</div>
</div>
<script type="text/javascript">
LoginFormUI.init();
RememberMeUI.init("right");
</script>
<?php } else { ?>
<div style="padding: 7px 0 0 0;">
<div id="subnavi-search">
<div id="subnavi-search-upper">
<ul id="subnavi-search-links"><?php if($user_rank > 7 && $logged_in == true){ ?><li><a href="<?php echo $adminpath; ?>" target="_blank">Painel (CPA)</a></li>
<?php } ?><?php if($user_rank > 7 && $logged_in == true){ ?><li><a href="../theallseeingeye/hotel/br/housekeeping/index/p/users_edit" target="_blank">Hall</a></li>
<?php } ?>
<li><a href="<?php echo $path; ?>/account/logout?token=<?php echo md5($myrow['last_online']); ?>" class="userlink">Sair</a></li>
</ul>
</div></div>
</div>
<br><br>
<div id="to-hotel">
<a href="<?php echo $path; ?>/client" class="new-button green-button" target="2941aeb24b02737dbd8720de2ebc95e8e240c39b" onclick="HabboClient.openOrFocus(this); return false;"><b>Entre no <?php echo $shortname; ?> Hotel</b><i></i></a></div>
</div></div>
</div>
<script type="text/javascript">
L10N.put("purchase.group.title", "Criar um grupo");
</script>
<?php } ?>
<ul id="navi">
<?php if($pageid > 0 && $pageid < 5 || $pageid == "myprofile" && $logged_in == true){ ?>
<li class="metab selected"><strong>
<?php echo $name; ?>
</strong><span></span></li>
<?php } elseif($logged_in == true){ ?>
<li class="metab"><a href="<?php echo $path; ?>/me">
<?php echo $name; ?>
</a><span></span></li>
<?php } elseif($logged_in !== true){ ?>
<li id="tab-register-now"><a href="<?php echo $path; ?>/registro/" target="_self">Registre-se agora!</a><span></span></li>
<?php } ?>
<?php if($pageid >= 10 && $pageid <= 20 || $pageid == "profile"){ ?>
<li class="selected"><strong>Comunidade</strong><span></span></li>
<?php } else { ?>
<li class=" "><a href="<?php echo $path; ?>/community">Comunidade</a><span></span></li>
<?php } ?>
<?php if($pageid >= 1000 && $pageid <= 1100){ ?>
<li class="selected"><strong>Segurança</strong><span></span></li>
<?php } else { ?>
<li class=""><a href="<?php echo $path; ?>/safety">Segurança</a><span></span></li>
<?php } ?>
<?php if($pageid >= 1500 && $pageid <= 1600){ ?>
<li class="selected"><strong>Hall da Fama</strong><span></span></li>
<?php } else { ?>
<li class="" id="tab-register-now"><a href="<?php echo $path; ?>/hall/inicio">Hall da Fama</a><span></span></li>
<?php } ?>
<?php if($pageid >= 1700 && $pageid <= 1900){ ?>
<li class="selected"><strong>Raros</strong><span></span></li>
<?php } else { ?>
<li class="" id="tab-register-now"><a href="<?php echo $path; ?>/raros">Raros</a><span></span></li>
<?php } ?>
</ul>
<div id="habbos-online">
<div id="content">
<div class="cbb ">
<span> <?php echo $online_count; ?> usuário(s) onlines </span>
</div></div>
</div>
</div>
</div>
<div id="content-container">
<div id="navi2-container" class="pngbg">
<div id="navi2" class="pngbg clearfix">
<ul>
<?php if($pageid > 0 && $pageid < 5 || $pageid == "myprofile"){ ?>
<?php if($pageid == "1"){ ?>
<li class="selected">
Principal
<?php } else { ?>
<li class="">
<a href="<?php echo $path; ?>/me">Principal</a>
<?php } ?>
</li>
<?php if($pageid == "3"){ ?>
<li class="selected">
Preferências
<?php } elseif($logged_in){ ?>
<li class=" ">
<a href="<?php echo $path; ?>/profile">Preferências</a>
<?php } ?>
</li>
<?php } else if($pageid >= 10 && $pageid <= 20 || $pageid == "profile"){ ?>
<?php if($pageid == "10"){ ?>
<li class="selected">
Comunidade
<?php } else { ?>
<li class=" ">
<a href="<?php echo $path; ?>/community">Comunidade</a>
<?php } ?>
<?php if($pageid == "13"){ ?>
<li class="selected">
Equipe Staff
<?php } else { ?>
<li class=" ">
<a href="<?php echo $path; ?>/community/staff">Equipe Staff </a>
<?php } ?>
<?php if($pageid == "15"){ ?>
<li class="selected">
Colaboradores
<?php } else { ?>
<li class=" ">
<a href="<?php echo $path; ?>/community/colaboradores">Colaboradores </a>
<?php } ?>
<?php if($pageid == "11"){ ?>
<li class="selected">
Notícias
<?php } else { ?>
<li class=" ">
<a href="<?php echo $path; ?>/articles">Notícias</a>
<?php } ?>
<?php if($pageid == "14"){ ?>
<li class="selected">
TOP 3
<?php } else { ?>
<li class="last">
<a href="<?php echo $path; ?>/community/top3">TOP 3</a></li>
<?php } ?>
<?php } else if($pageid >= 1000 && $pageid <= 1100){ ?>
<?php if($pageid == "1000"){ ?>
<li class="selected">
Dicas de Segurança
<?php } else { ?>
<li class="last">
<a href="<?php echo $path; ?>/safety">Dicas de Segurança</a>
<?php } ?>
<?php } else if($pageid >= 1300 && $pageid <= 1400 || $pageid == "profile"){ ?>
<?php if($pageid == "1300"){ ?>
<li class="selected">
Notícias
<?php } else { ?>
<li class=" ">
<a href="<?php echo $path; ?>/articles">Notícias</a>
<?php } ?>
<?php } else if($pageid >= 1500 && $pageid <= 1600){ ?>
<?php if($pageid == "1500"){ ?>
<li class="selected">
Hall da Fama
<?php } else { ?>
<li class="last">
<a href="<?php echo $path; ?>/hall/inicio">Hall da Fama</a>
<?php } ?>
<?php } else if($pageid >= 1700 && $pageid <= 1900){ ?>
<?php if($pageid == "1700"){ ?>
<li class="selected">
Notícias
<?php } else { ?>
<li class=" ">
<a href="<?php echo $path; ?>/articles">Notícias</a>
<?php } ?>
<?php if($pageid == "6b"){ ?>
<li class="selected">
<?php } else { ?>
<li class=" ">
<?php } ?>
<?php } ?>
</li>
</ul>
</div>
</div>
<?php
$get_sitealert = mysql_query("SELECT * FROM cms_settings WHERE variable = 'cms_sitealert' AND value = '1'");
if(mysql_num_rows($get_sitealert) == "1"){
$get_sitealert_text = mysql_query("SELECT * FROM cms_settings WHERE variable = 'cms_sitealert_text'");
$get_sitealert_text = mysql_fetch_assoc($get_sitealert_text);
?>
<div align="center" style="color: red; background-color: white; border: 1px solid black; padding:2px; width: 100%">
<b>ATENÇÃO:</b> <?php echo $get_sitealert_text['value']; ?></div>
<?php } if($maintenance){ ?>
<div style="background-color:
#FBEFEF; padding: 5px; margin: 5px; border: 1px solid
#DF0101;"><?php echo $shortname; ?> Hotel está em manutenção! Em breve estaremos Online, Espere por nós!</div>
<?php } ?>
</div></div></div>