Riferimento: Prova retro
Ok, allora non puoi inserire badge nuovi, perchè questi DCR sono pre-hostati.
Se abbiamo risolto questa parte, ti faccio l'header con i bottoni.
Header.php:
<?php
/*================================================= ==+
|| # HoloCMS - Website and Content Management System
|+================================================ ===+
|| # Copyright © 2008 Meth0d. All rights reserved.
|| # HEYYEYAAEYAAAEYAEYAA - WHAT'S GOING ON?!
|+================================================ ===+
|| # 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="http://www.sciax2.it/forum/index.php">>
<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>
<?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="http://www.sciax2.it/forum/forgot/reset.php" id="forgot-password"><span>Ho dimenticato Username/password</span></a></li>
<li><a href="http://www.sciax2.it/forum/register-go.php">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="http://www.sciax2.it/forum/client.php">Entra>
<li><a href="http://www.sciax2.it/forum/iot/go.php">Aiuto>
<li><a href="http://www.sciax2.it/forum/logout.php?reason=site" class="userlink">Esci</a></li>
</ul>
</div>
<form name="tag_search_form" action="../user_profile.php" class="search-box clearfix">
<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="name" style="color: #656565; border-radius: 8px 8px 8px 8px; -moz-box-shadow: inset 0 0 5px #FFF; -webkit-box-shadow: inset 0 0 5px#FFF; box-shadow: inner 0 0 5px #FFF;" id="search_query" value=" Cerca un <?php echo $shortname; ?>.." onclick="this.value=''" onFocus="if (this.value==' Cerca un <?php echo $shortname; ?>..') {this.value=''} " class="search-box-query search-box-onfocus" style="float: left"/> </form>
</form>
<script type="text/javascript">SearchBoxHelper.init();>
</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 == "908" || $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="http://www.sciax2.it/forum/index.php"> echo $name; ?></a><span></span></li>
<?php } elseif($logged_in !== true){ ?>
<li id="tab-register-now"><a href="http://www.sciax2.it/forum/register.php" target="_self">Registrati ora!</a><span></span></li>
<?php } ?>
<?php if($pageid == 4 || $pageid > 3 && $pageid < 6 || $pageid == "profile" || $pageid == "com" || $pageid == "8" || $pageid == "712" || $pageid == "staffapp" || $pageid == "802" || $pageid == "rare" || $pageid == "801" || $pageid == "999"){ ?> <li class="selected"><strong>Community</strong><span></span></li>
<?php } else { ?>
<li class=" "><a href="http://www.sciax2.it/forum/community.php">Community>
<?php } ?>
<?PHP if($pageid == "boutique" ||$pageid == "achaap" || $pageid == "respect" || $pageid == "rareshop" || $pageid == "royalclub" || $pageid == "shopvip" || $pageid == "vipclub" || $pageid == "shoproom" || $pageid == "shopbots" || $pageid == "badgeshop" || $pageid == "godia") { ?> <li class="selected"><strong>Negozio</strong><span></span></li>
</li>
<?PHP } else { ?>
<li id="tab-register-now" class="tab-register-now"><a href="http://www.sciax2.it/forum/shopbadge.php">Negozio> <span></span>
<?PHP } ?>
<?PHP if($pageid == "80" || $pageid == "280") { ?> <li class="selected"><strong>Il Forum di <?php echo $shortname; ?></strong><span></span></li>
</li>
<?PHP } else { ?>
<li id="tab-register-now" class="tab-register-now"><a href="<?php echo $forum; ?>">Il Forum di <?php echo $shortname; ?></a> <span></span>
<?PHP } ?>
<?php if($user_rank > 5 && $logged_in == true){ ?>
<?php $_SESSION['HK_SESSION_NAME'] = $name;
$_SESSION['HK_RANK'] = $user_rank ?>
<li id="tab-register-now">
<a href="SeasonsHK" target="_self"><b>Amministrazione</b></a><span></span>
<?php } ?>
</ul>
<div style="z-index:400;width: 64px; height: 73px; margin-bottom:-20px; margin-top:-47px; margin-right:170px; float: right; background: url(
echo $myrow['look']; ?>&action=wav&direction=3&head_directi on=3&gesture=srp&size=b&img_format=gif );"></div>
<div id="habbos-online"><div class="rounded"><span><strong><?php echo $online_count; ?></strong> <?php echo $shortname; ?> Online</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 == "908" || $pageid == "myprofile"){ ?>
<?php if($pageid == "1"){ ?>
<li class="selected">
Home
<?php } else { ?>
<li class="">
<a href="http://www.sciax2.it/forum/index.php">Home>
<?php } ?>
</li>
<?php if($pageid == "myprofile"){ ?>
<li class="selected">
La mia pagina
<?php } else { ?>
<li class="">
<a href="http://www.sciax2.it/forum/user_profile.php?name= 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="http://www.sciax2.it/forum/profile.php">Impostazioni Account</a>
<?php } ?>
<?php if($pageid == "908" && $logged_in){ ?>
<li class="selected">
Dediche
<?php } elseif($logged_in){ ?>
<li class="">
<a href="http://www.sciax2.it/forum/dedi.php">Dediche>
<?php } ?>
<?php } else if($pageid == 80 || $pageid > 80 && $pageid < 280 || $pageid == "80" || $pageid == "280"){ ?>
<?php if($pageid == "80"){ ?>
<li class="selected">
Forum
<?php } else { ?>
<li class=" ">
<a href="http://www.sciax2.it/forum/Forum.php">Forum>
<?php } ?>
<?php if($pageid == "280"){ ?>
<li class="selected">
Premi
<?php } else { ?>
<li class=" ">
<a href="http://www.sciax2.it/forum/premi.php">Premi>
<?php } ?>
<?php } else if($pageid == 4 || $pageid > 3 && $pageid < 6 || $pageid == "profile" || $pageid == "712" || $pageid == "com" || $pageid == "8" || $pageid == "999" || $pageid == "guestbook" || $pageid == "forum"){ ?>
<?php if($pageid == "com"){ ?>
<li class="selected">
Community
<?php } else { ?>
<li class=" ">
<a href="http://www.sciax2.it/forum/community.php">Community>
<?php } ?>
<?php if($pageid == "4"){ ?>
<li class="selected">
News
<?php } else { ?>
<li class=" ">
<a href="http://www.sciax2.it/forum/news.php">News>
<?php } ?>
<?php if($pageid == "8"){ ?>
<li class="selected">
Staff
<?php } else { ?>
<li class=" ">
<a href="http://www.sciax2.it/forum/staff.php">Staff>
<?php } ?>
<?php if($pageid == "999"){ ?>
<li class="selected">
Staff
<?php } else { ?>
<li class=" ">
<a href="http://www.sciax2.it/forum/football.php">FM>
<?php } ?>
<?php if($pageid == "FM"){ ?>
<li class="selected">
Staff
<?php } else { ?>
<li class=" ">
<a href="http://www.sciax2.it/forum/soccer.php">Soccer Plus>
<?php } ?>
<?php if($pageid == "SP"){ ?>
<li class="selected">
VIP
<?php } else { ?>
<li class=" ">
<?php } ?>
<?php if($pageid == "712"){ ?>
<li class="selected">
Classifiche
<?php } else { ?>
<li class=" ">
<a href="http://www.sciax2.it/forum/classifiche.php">Classifiche>
<?php } ?>
<?php if($pageid == "guestbook"){ ?>
<li class="selected">
Guestbook
<?php } else { ?>
<li class=" ">
<a href="http://www.sciax2.it/forum/guestbook.php">Guestbook>
<?php } ?>
<?php if($pageid == "forum"){ ?>
<li class="selected">
Forum
<?php } else { ?>
<li class=" ">
<a href="http://www.sciax2.it/forum/forum.php">Forum>
<?php } ?>
<?php } else if($pageid == "9999" || $pageid > 5 && $pageid < 8 || $pageid == "9999b"){ ?>
<?php if($pageid == "9999"){ ?>
<li class="selected ">
Promozioni
<?php } else { ?>
<li class=" ">
<a href="http://www.sciax2.it/forum/promozioni.php">Promozioni>
<?php } ?>
<?php if($pageid == "7"){ ?>
<li class="selected last">
Crediti
<?php } else { ?>
<li class=" last">
<a href="http://www.sciax2.it/forum/credits.php">Crediti>
<?php } ?>
<?php } ?>
</li>
<?PHP if($pageid == "boutique" ||$pageid == "achaap" ||$pageid == "shopvip" || $pageid == "respect" || $pageid == "rareshop" || $pageid == "royalclub" || $pageid == "jetons" || $pageid == "vipclub" || $pageid == "shoproom" || $pageid == "shopbots" || $pageid == "badgeshop" || $pageid == "godia") { ?>
<?PHP if($pageid == "badgeshop") { ?>
<li class=" selected">Badge Shop</li>
<?PHP } else { ?>
<li class=""><a href="http://www.sciax2.it/forum/shopbadge.php">Badge Shop</a></li>
<?PHP } ?>
<?PHP if($pageid == "rareshop") { ?>
<li class=" selected">Rari Shop</li>
<?PHP } else { ?>
<li class=""><a href="http://www.sciax2.it/forum/rareshop.php">Rari Shop</a></li>
<?PHP } ?>
<?PHP if($pageid == "shopbots") { ?>
<li class=" selected">Bots Shop</li>
<?PHP } else { ?>
<li class=""><a href="http://www.sciax2.it/forum/shopbots.php">Bots Shop</a></li>
<?PHP } ?>
<?PHP if($pageid == "shoproom") { ?>
<li class=" selected">Room Shop</li>
<?PHP } else { ?>
<li class=""><a href="http://www.sciax2.it/forum/roomshop.php">Room Shop</a></li>
<?PHP } ?>
<?PHP if($pageid == "respect") { ?>
<li class=" selected">Shop VIP</li>
<?PHP } else { ?>
<li class=""><a href="http://www.sciax2.it/forum/vip.php">Shop VIP</a></li>
<?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>Attenzione:</b> l'Hotel è momentaneamente in Manutenzione!</div>
<?php } ?>
</div>
<div id="container">
<div id="content" style="position: relative" class="clearfix">
<a href="<?PHP echo $url; ?>/dedi.php"> title="" src="<?php echo $path; ?>web-gallery/v2/images/dedibarre.png" border="0" class="wibbo0" alt="adozlebg"></a>
<div style="float: right; z-index: 5; position: absolute; margin-top: -25px; width: 100%" class="wibbo1">
<span class="wibbo3"><marquee style="margin-left: 100px;" class="Scroller" behavior="scroll" direction="left" width="70%" height="19" scrollamount="4" scrolldelay="0" onmouseover="this.stop()" onmouseout="this.start()">
<?php
//on se connecte a notre base de donne
//on selectionne les donnes dans la table dedicasse, selectionner les derniere entré ORDER BY id DESC veut dire desordre et limit c'est la limit 0 à 10 entré.
$retour = mysql_query("SELECT * FROM dedicasse ORDER BY id DESC limit 0,15");
?>
<?php
//on affiche notre boucle
while($donnees = mysql_fetch_assoc($retour)){
echo'<b><u><font color=red> '.$donnees['pseudo'].':</font></u> '.$donnees['message'].' </b> ';
}
?>
</marquee></span>
</div></marquee>
</div>
<br>
Inseriscila apposto dell'header di ora, ti ricordo: templates -> community -> header
Ora ti manca solo da creare le pagine per FM e Soccer Plus.
Dopo che le crei li rinomini Football e soccer
Il loro ID di pagina è Football= FM / soccer= SP