Riferimento: Come faccio a mettere HK ai moderatori?
Posta quello del templates/community/header.php :facepalm:
?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>
<a href="reauthenticate.php" id="enter-hotel-open-medium-link" target="client" onclick="openOrFocusHabbo(this); return false;">Entra in <?php echo $sitename; ?></a>
</p>
<?php } ?>
<?php if($online == "online" && $logged_in){ ?>
<a href="client.php" id="enter-hotel-open-medium-link" target="client" onclick="openOrFocusHabbo('client.php'); return false;">Entra in <?php echo $sitename; ?></a>
<?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>Username</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.php" id="forgot-password"><span>Ho dimenticato Username/password</span></a></li>
<li><a href="register.php"><span>Registrati, e' 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">
<li><a href="pixel.php" class="userlink""><b><i></i></b></b></a></li>
<li><a href="statistiche.php" class="userlink"><font color="#42b1c5">Statistiche</font></a>
<li><a href="iot/go.php" class="userlink"><font color="#42b1c5">Aiuto</font></a></li>
<li><a href="logout.php?reason=site" class="userlink">Esci</a></li>
</ul>
</div>
<form name="tag_search_form" action="user_profile.php" class="search-box clearfix">
<a id="search-button" class="new-button search-icon" href="#" onclick="$('search-button').up('form').submit(); return false;"><b><span></span></b><i></i></a>
<input type="text" name="tag" id="search_query" value="Profilo Utente" class="search-box-query search-box-onfocus" style="float: right"/>
</form>
<script type="text/javascript">SearchBoxHelper.init();</script>
</div>
</div>
<script type="text/javascript">
L10N.put("purchase.group.title", "Crea un gruppo");
</script>
<?php } ?>
<ul id="navi">
<?php if($pageid > 0 && $pageid < 4 || $pageid == "myprofile" && $logged_in == true){ ?>
<li class="selected"><strong><?php echo $name; ?></strong><span></span></li>
<?php } elseif($logged_in == true){ ?>
<li class=" "><a href="index.php"><?php echo $name; ?></a><span></span></li>
<?php } elseif($logged_in !== true){ ?>
<li id="tab-register-now"><a href="register.php" target="_self">Registrati!</a><span></span></li>
<?php } ?>
<?php if($pageid == 4 || $pageid > 3 && $pageid < 6 || $pageid == "profile" || $pageid == "com" || $pageid == "8" || $pageid == "staffapp" || $pageid == "802" || $pageid == "rare" || $pageid == "801" || $pageid == "forum"){ ?>
<li class="selected"><strong>Community</strong><span></span></li>
<?php } else { ?>
<li class=" "><a href="community.php">Community</a><span></span></li>
<?php } ?>
<?php if($pageid == 90 || $pageid > 91 && $pageid < 92){ ?>
<li class="selected"><strong>SwiSS Tv</strong><span></span></li>
<?php } else { ?>
<li class=" "><a href="credits.php"> Tv</a><span></span></li>
<?php } ?>
<?php if($pageid == 567 || $pageid > 546 && $pageid < 845){ ?>
<li class="selected"><strong>Chatt</strong><span></span></li>
<?php } else { ?>
<li class=" "><a href="chatt.php">SwiSS Chatt</a><span></span></li>
<?php } ?>
<?php if($pageid == 222 || $pageid > 333 && $pageid < 22){ ?>
<li class="selected"><strong>SwiSS Su Facebook</strong><span></span></li>
<?php } else { ?>
<li class=" "><a href="/rarevalue.php">SwiSS Su Facebook</a><span></span></li>
<?php } ?>
<?php if($pageid == 333 || $pageid > 444 && $pageid < 55){ ?>
<li class="selected"><strong>Promozioni </strong><span></span></li>
<?php } else { ?>
<li class=" "><a href="/promo.php">Promozioni</a><span></span></li>
<?php } ?>
<?php if($user_rank > 5 && $logged_in == true){ ?>
<li id="tab-register-now">
<a href="./housekeeping/" target="_self"><b>Amministrazione</b></a><span></span>
<?php } ?>
</ul>
<div id="habbos-online"><div class="rounded"><span><b><?php echo $online_count; ?> Utenti Online</b></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 > 0 && $pageid < 4 || $pageid == "myprofile"){ ?>
<?php if($pageid == "1"){ ?>
<li class="selected">
Homepage
<?php } else { ?>
<li class="">
<a href="index.php">Homepage</a>
<?php } ?>
</li>
<?php if($pageid == "myprofile"){ ?>
<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 == "2" && $logged_in){ ?>
<li class="selected">
Impostazioni Account
<?php } elseif($logged_in){ ?>
<li class="">
<a href="account.php">Impostazioni Account</a>
<?php } ?>
<li class="last">
<a href="club.php"><?php echo "$shortname" ?> Club</a>
<li>
<li class="last"> <a href="Shop_badge.php"><li>Badge Shop</a>
<?php } else if($pageid == 4 || $pageid > 3 && $pageid < 6 || $pageid == "staffapp" || $pageid == "profile" || $pageid == "802" || $pageid == "com" || $pageid == "8" || $pageid == "forum" || $pageid == "rare" || $pageid == "801"){ ?>
<?php if($pageid == "com"){ ?>
<li class="selected">
Community
<?php } else { ?>
<li class=" ">
<a href="community.php">Community</a>
<?php } ?>
<?php if($pageid == "4"){ ?>
<li class="selected">
News
<?php } else { ?>
<li class=" ">
<a href="news.php">News</a>
<?php } ?>
<?php if($pageid == "9"){ ?>
<li class="selected">
Staff
<?php } else { ?>
<li class=" ">
<a href="staff.php">Lista Staff</a>
<?php } ?>
<?php if($pageid == "forum"){ ?>
<li class="selected">
Forum
<?php } else { ?>
<li class=" ">
<a href="forum.php">Forum</a>
<?php } ?>
<?php if($pageid == "5"){ ?>
<li class="selected last">
Tags
<?php } else { ?>
<li class=" last">
<a href="sbugga.php">Arbitri</a>
<?php } ?>
<li class=" ">
<a href="curriculum.php">Curriculum</a>
<?php } else if($pageid == "6" || $pageid == "col1" || $pageid > 5 && $pageid < 8 || $pageid == "6b"){ ?>
<?php if($pageid == "6"){ ?>
<li class="selected ">
Crediti
<?php } else { ?>
<li class=" ">
<a href="credits.php">Crediti</a>
<?php } ?>
<?php if($pageid == "7"){ ?>
<li class="selected last">
<?php echo "$shortname" ?> Club
<?php } else { ?>
<li class=" last">
<a href="club.php"><?php echo "$shortname" ?> Club</a>
<?php } ?>
<?php if($pageid == "8"){ ?>
<?php } ?>
<?php } ?>
</li>
</ul>
</div>
</div>
<?php if($notify_maintenance){ ?>
<div align="center" style="color: red; background-color: white; border: 1px solid black; padding:2px; width: 75%"><b>Alert:</b> Il sito e' momentaneamente chiuso!</div>
<?php } ?>
Eccolo