<?php
/*===================================================+
|| # HoloCMS - Website and Content Management System
|+===================================================+
|| # Copyright © 2008 Meth0d. All rights reserved.
|| #
|+===================================================+
|| # HoloCMS is provided "as is" and comes without
|| # warrenty of any kind. HoloCMS is free software!
|+===================================================*/
if (!defined("IN_HOLOCMS")) { header("Location: index.php"); exit; }
if(empty($body_id)){
$body_id = "home";
}
?>
<body id="<?php echo $body_id; ?>" class="<?php if(!$logged_in){ echo "anonymous"; } ?> ">
<div id="overlay"></div>
<div id="header-container">
<div id="header" class="clearfix">
<h1><a href="index.php"></a></h1>
<div id="subnavi">
<div id="subnavi-user">
<?php if($logged_in){ ?>
<ul>
<li id="myfriends"><a href="#"><span>I miei Amici</span></a><span class="r"></span></li>
<li id="mygroups"><a href="#"><span>I miei Gruppi</span></a><span class="r"></span></li>
<li id="myrooms"><a href="#"><span>Le mie Stanze</span></a><span class="r"></span></li>
</ul>
<?php } elseif(!$logged_in){ ?>
<div class="clearfix"> </div>
<p>
</p>
<?php } ?>
<?php if($online == "online" && $logged_in){ ?>
<?php } elseif($logged_in){ ?>
<div id="hotel-closed-medium"><?php echo $sitename; ?> è offline!</div>
<?php } ?>
</div>
<?php if(!$logged_in){ ?>
<div id="subnavi-login">
<form action="index.php?anonymousLogin" method="post" id="login-form">
<input type="hidden" name="page" value="<?php echo $pageid; ?>" />
<ul>
<li>
<label for="login-username" class="login-text"><b>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>Entra</b><i></i></a>
<input type="submit" id="login-submit-button" value="Entra" class="submit"/>
</li>
<li>
<label for="login-password" class="login-text"><b>Password</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">Ricorda i miei dati</label>
</li>
</ul>
</form>
<div id="subnavi-login-help" class="clearfix">
<ul>
<li class="register"><a href="forgot/reset.php" id="forgot-password"><span>Ho dimenticato la password</span></a></li>
<li><a href="register.php"><span>Registrati gratis!</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">
Cliccando qui, deciderai di restare connesso finchè non cliccherai su 'Esci'
</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 id="subnavi-search">
<div id="subnavi-search-upper">
<ul id="subnavi-search-links">
<?php if($user_rank > 7 && $logged_in == true){ ?>
<li><a href="./housekeeping.php" target="_self">Amministrazione</a></li>
<?php } ?>
<li><a href="/iot/go.php" class="userlink">Help Tool</a></li>
<li><a href="logout.php?reason=site" class="userlink">Esci</a></li>
</ul>
</div>
<br><br>
</div>
</div>
<script type="text/javascript">
L10N.put("purchase.group.title", "Crea un gruppo");
</script>
<?php } ?>
<ul id="navi">
<?php if($pageid == "1" || $pageid == "profilo" || $pageid == "profile" || $pageid == "myprofile" || $pageid == "accountsettings" && $logged_in == true){ ?>
<li class="selected"><strong>Home</strong><span></span></li>
<?php } elseif($logged_in == true){ ?>
<li class=" "><a href="index.php">Home</a><span></span></li>
<?php } elseif($logged_in !== true){ ?>
<li id="tab-register-now"><a href="register" target="_self">Registrati »</a><span></span></li>
<?php } ?>
<?php if($pageid == "community" || $pageid == "news" || $pageid == "staff" || $pageid == "creditii" || $pageid == "football" || $pageid == "arb" || $pageid == "forum" || $pageid == "group" || $pageid == "stats" || $pageid == "way" || $pageid == "404" || $pageid == "welcome" || $pageid == "rssteam"){ ?>
<li class="selected"><strong>Community</strong><span></span></li>
<?php } else { ?>
<li class=" "><a href="community">Community</a><span></span></li>
<?php } ?>
<?php if($pageid == 33 || $pageid > 44 && $pageid < 55){ ?>
<li class="selected"><strong>Sicurezza</strong><span></span></li>
<?php } else { ?>
<li class=" "><a href="sicurezza">Sicurezza</a><span></span></li>
<?php } ?>
<?php if($pageid == 3 || $pageid > 4 && $pageid < 8){ ?>
<li class="selected"><strong>Crediti</strong><span></span></li>
<?php } else { ?>
<li class=" "><a href="credits">Crediti</a><span></span></li>
<?php } ?>
<?php if($pageid == "21"){ ?>
<li class="selected"><a href="/promo">***** Shop</a><span></span></li>
<?php } else { ?>
<li class=" "><a href="/promo">***** Shop</a><span></span></li>
<?php } ?>
</ul>
<div id="habbos-online"><div class="rounded"><span><?php if($online_count > 0){echo $online_count;}elseif($online_count < 1){echo "Nessun";} ?></strong> <?php echo $shortname; ?> In Hotel </span></div></div>
</div>
</div>
<div id="content-container">
<div id="navi2-container" class="pngbg">
<div id="navi2" class="pngbg clearfix">
<ul>
<?php if($pageid == "1" || $pageid == "profilo" || $pageid == "accountsettings" || $pageid == "mygroups"){ ?>
<?php if($pageid == "1"){ ?>
<li class="selected">
Home
<?php } else { ?>
<li class="">
<a href="me">Home</a>
<?php } ?>
</li>
<?php if($pageid == "profilo"){ ?>
<li class="selected">
La mia Pagina
<?php } else { ?>
<li class="">
<a href="user_profile.php?name=<?php echo $rawname; ?>">La mia pagina</a>
<?php } ?>
</li>
<?php if($pageid == "accountsettings" && $logged_in){ ?>
<li class="selected last">
Impostazioni Account
<?php } elseif($logged_in){ ?>
<li class=" last">
<a href="account">Impostazioni Account</a>
<?php } ?>
<?php if($pageid == "accountsettings" && $logged_in){ ?>
<li class="selected last">
Punti LPT
<?php } elseif($logged_in){ ?>
<li class=" last">
<a href="lpt">Punti LPT</a>
<?php } ?>
</li>
<?php } else if($pageid == "community" || $pageid == "news" || $pageid == "staff" || $pageid == "football" || $pageid == "arb" || $pageid == "forum" || $pageid == "group" || $pageid == "stats" || $pageid == "way" || $pageid == "404" || $pageid == "welcome" || $pageid == "rssteam"){ ?>
<?php if($pageid == "welcome"){ ?>
<li class="selected">
<font color="#D80000">BENVENUTO!</font>
<?php } else { ?>
<?php } ?>
<?php if($pageid == "404"){ ?>
<li class="selected">
<font color="#D80000">Errore 404</font>
<?php } else { ?>
<?php } ?>
<?php if($pageid == "community"){ ?>
<li class="selected">
Community
<?php } else { ?>
<li class=" ">
<a href="community">Community</a>
<?php } ?>
<?php if($pageid == "news"){ ?>
<li class="selected">
News
<?php } else { ?>
<li class=" ">
<a href="news.php">News</a>
<?php } ?>
<?php if($pageid == "staff"){ ?>
<li class="selected">
Staff
<?php } else { ?>
<li class=" ">
<a href="staff">Staff</a>
<?php } ?>
<?php if($pageid == "football"){ ?>
<li class="selected">
FootBall
<?php } else { ?>
<li class=" ">
<a href="football">FootBall</a>
<?php } ?>
<?php if($pageid == "arb"){ ?>
<li class="selected">
Arbitri
<?php } else { ?>
<li class=" ">
<a href="arb">Arbitri</a>
<?php } ?>
<?php if($pageid == "rssteam"){ ?>
<li class="selected">
Deejay
<?php } else { ?>
<li class=" ">
<a href="rssteam">Deejay</a>
<?php } ?>
<?php if($pageid == "forum"){ ?>
<li class="selected">
Forum
<?php } else { ?>
<li class="">
<?php } ?>
<?php if($pageid == "stats"){ ?>
<li class="selected">
Statistiche
<?php } else { ?>
<li class="">
<a href="statistiche">Statistiche</a>
<?php } ?>
<?php if($pageid == "group"){ ?>
<li class="selected">
<?php } else { ?>
<li class=" ">
<a href="#"></a>
<?php } ?>
<?php } else if($pageid == "6" || $pageid == "col1" |creditii| $pageid > 5 && $pageid < 8 || $pageid == "6b"){ ?>
<?php if($pageid == "6"){ ?>
<li class="selected ">
Crediti
<?php } else { ?>
<li class=" ">
<a href="credits">Crediti</a>
<?php } ?>
<?php if($pageid == "7"){ ?>
<li class="selected last">
Pixel
<?php } else { ?>
<li class=" last">
<a href="pixel">Pixel</a>
<?php } ?>
<?php if($pageid == "8"){ ?>
<?php } ?>
<?php } else if($pageid == "33" || $pageid == "44"){ ?>
<?php if($pageid == "33"){ ?>
<li class="selected ">
Sicurezza
<?php } else { ?>
<li class=" ">
<a href="Sicurezza">Sicurezza</a>
<?php } ?>
<?php if($pageid == "44"){ ?>
<li class="selected ">
***** Way
<?php } else { ?>
<li class=" last">
<a href="way">***** Way</a>
<?php } ?>
<?php if($pageid == "44"){ ?>
<?php } ?>
<?php } else if($pageid == "20"){ ?>
<?php if($pageid == "20"){ ?>
<li class="selected last">
Diamanti
<?php } else { ?>
<li class=" ">
<a href="diama">Diamanti</a>
<?php } ?>
<?php } else if($pageid == "21"){ ?>
<?php if($pageid == "21"){ ?>
<li class="selected last">
***** Shop
<?php } else { ?>
<li class=" ">
<a href="promo">Promozioni</a>
<?php } ?>
<?php } ?>
</li>
</ul>
</div>
</div>