Beiträge von Windex3

    Spoiler anzeigen

    <?php if (!defined("IN_HOLOCMS")) { header("Location: $path"); exit; }

    if(empty($body_id)){
    $body_id = "home";
    }

    ?>
    <body id="<?php echo $body_id; ?>" class=""<?php if($pageid == "4"){ ?> onload="NaviFenster()"<?php } ?>>
    <div id="overlay"></div>
    <script type="text/javascript" src="http://www.sponsorads.de/script.php?s=179112"></script>

    <div id="header-container">
    <div id="header" class="clearfix">
    <h1><a href="index"></a></h1>
    <div id="subnavi">
    <div id="subnavi-user">
    <?php if($logged_in){ ?>
    <ul>
    <li id="myfriends"><a href="#"><span>Meine Freunde</span></a><span class="r"></span></li>
    <li id="mygroups"><a href="#"><span>Gruppen</span></a><span class="r"></span></li>
    <li id="myrooms"><a href="#"><span>R&auml;ume</span></a><span class="r"></span></li>
    </ul>
    <?php } elseif(!$logged_in){ ?>
    <div class="clearfix">&nbsp;</div>
    <p>
    <a href="<?php echo $path; ?>/client" id="enter-hotel-open-medium-link" target="client" onclick="HabboClient.openOrFocus(this); return false;">Ins Hotel einchecken</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; ?> Name</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" id="login-submit-button" value="Sign in" class="submit"/>
    </li>
    <li>
    <label for="login-password" class="login-text"><b>Passwort</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">Eingeloggt bleiben</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><?php echo $shortname; ?> Name/Passwort vergessen</span></a></li>
    <li><a href="<?php echo $path; ?>/register"><span>Graris Registrieren</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">
    Wenn du "eingeloggt bleiben" ausw&auml;hlst, bleibst du eingeloggt bis du "ausloggen" anklickst. Wenn dies ein &ouml;ffentlicher Computer ist, nutze diese Funktion bitte nicht.
    </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=""><img src=<?php echo $path; ?>/images/hilfe.png alt=Hilfe></a></li>
    <li><a href="<?php echo $path; ?>/account/logout?token=<?php echo md5($myrow['last_online']); ?>"><img src=<?php echo $path; ?>/images/logout.gif alt=Ausloggen></a></li>
    </ul>
    </div>

    <div id="to-hotel">
    <?php

    $get_flashclient = mysql_query("SELECT * FROM cms_settings WHERE variable = 'cms_flashclient' AND example = '1'");
    if(mysql_num_rows($get_flashclient) > 0 && $server['status'] == "1"){

    ?>
    <a href="client" class="new-button green-button" target="2941aeb24b02737dbd8720de2ebc95e8e240c39b" onclick="HabboClient.openOrFocus(this); return false;"><b>Ins Hotel einchecken</b><i></i></a>
    <?php } else { ?>
    <div id="hotel-closed-medium"><class="new-button red-button" ><b><?php echo $shortname; ?> Beta ist Offline!</b><i></i></a></div>
    <?php } ?></div>

    </div>


    </div>
    <script type="text/javascript">
    L10N.put("purchase.group.title", "Gruppe erstellen");
    </script>
    <?php } ?>
    <ul id="navi">
    <?php if($pageid > 0 && $pageid < 5 || $pageid == "myprofile" && $logged_in == true){ ?>
    <li class="selected"><strong>
    <?php echo $name; ?>
    <?php if($vip > 0){ ?><img src="<?php echo $path; ?>/web-gallery/images/groups/owner_icon.gif"><?php } ?>
    </strong><span></span></li>
    <?php } elseif($logged_in == true){ ?>
    <li class=" "><a href="<?php echo $path; ?>/me">
    <?php echo $name; ?>
    <?php if($vip > 0){ ?><img src="<?php echo $path; ?>/web-gallery/images/groups/owner_icon.gif"><?php } ?>
    </a><span></span></li>
    <?php } elseif($logged_in !== true){ ?>
    <li id="tab-register-now"><a href="<?php echo $path; ?>/register" target="_self">Registrieren</a><span></span></li>
    <?php } ?>

    <?php if($pageid >= 10 && $pageid <= 20 || $pageid == "profile"){ ?>
    <li class="selected"><strong>Community</strong><span></span></li>
    <?php } else { ?>
    <li class=" "><a href="<?php echo $path; ?>/community">Community</a><span></span></li>
    <?php } ?>

    <?php if($pageid >= 5 && $pageid <= 9){ ?>
    <li class="selected"><strong>Taler</strong><span></span></li>
    <?php } else { ?>
    <li class=" "><a href="<?php echo $path; ?>/credits">Taler</a><span></span></li>
    <?php } ?>

    <?php if($user_rank > 3 && $logged_in == true){ ?>
    <li id="tab-register-now"><a href="<?php echo $adminpath; ?>" target="_self"><b>Housekeeping</b></a><span></span></li>
    <?php } ?>
    </ul>

    <div id="habbos-online"><div class="rounded"><span><?php echo $online_count; ?> Mitglieder 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 < 5 || $pageid == "myprofile"){ ?>
    <?php if($pageid == "1"){ ?>
    <li class="selected">
    Homepage

    <?php } else { ?>
    <li class="">
    <a href="<?php echo $path; ?>/me">Homepage</a>
    <?php } ?>
    </li>

    <?php if($pageid == "myprofile"){ ?>
    <li class="selected">
    Meine Seite
    <?php } else { ?>
    <li class="">
    <a href="<?php echo $path; ?>/home/<?php echo $rawname; ?>">Meine Seite</a>
    <?php } ?>
    </li>

    <?php if($pageid == "2"){ ?>
    <li class="selected">
    Profil Einstellungen
    <?php } elseif($logged_in){ ?>
    <li class="">
    <a href="<?php echo $path; ?>/profile">Profil Einstellungen</a>
    <?php } ?>
    </li>

    <li class="">
    <a href="#">Fanseite</a>
    </li>

    <li class="">
    <a href="<?php echo $path; ?>/credits/habboclub"><?php echo $shortname; ?> Club</a>
    </li>

    <?php } else if($pageid >= 10 && $pageid <= 20 || $pageid == "profile"){ ?>
    <?php if($pageid == "10"){ ?>
    <li class="selected">
    Community
    <?php } else { ?>
    <li class=" ">
    <a href="<?php echo $path; ?>/community">Community</a>
    <?php } ?>

    <?php if($pageid == "11"){ ?>
    <li class="selected">
    News
    <?php } else { ?>
    <li class=" ">
    <a href="<?php echo $path; ?>/articles">News</a>

    <?php } ?>

    <?php if($pageid == "13a"){ ?>
    <li class="selected">
    Xler
    <?php } else { ?>
    <li class=" ">
    <a href="<?php echo $path; ?>/community/xler">Xler</a>
    <?php } ?>

    <?php if($pageid == "12"){ ?>
    <li class="selected">
    VIP
    <?php } else { ?>
    <li class=" ">
    <a href="<?php echo $path; ?>/community/vip">VIP</a>
    <?php } ?>
    <?php if($pageid == "13"){ ?>
    <li class="selected">
    Staff
    <?php } else { ?>
    <li class=" ">
    <a href="<?php echo $path; ?>/community/staff">Staff</a>
    <?php } ?>

    <?php if($pageid == "14"){ ?>
    <li class="selected">
    Top User
    <?php } else{ ?>
    <li class=" ">
    <a href="<?php echo $path; ?>/community/topstats">Top User</a>
    <?php } ?>
    <?php if($pageid == "15"){ ?>
    <li class="selected">
    Tags
    <?php } else { ?>
    <li class=" ">
    <a href="<?php echo $path; ?>/tag">Tags</a>
    <?php } ?>

    <?php if($pageid == "16"){ ?>
    <li class="selected">
    Regeln
    <?php } else { ?>
    <li class=" last">
    <a href="<?php echo $path; ?>/community/regeln">Regeln</a>
    <?php } ?>

    <?php } else if($pageid >= 5 && $pageid <= 9){ ?>
    <?php if($pageid == "5"){ ?>
    <li class="selected ">
    Taler
    <?php } else { ?>
    <li class=" ">
    <a href="<?php echo $path; ?>/credits">Taler</a>
    <?php } ?>
    <?php if($pageid == "6"){ ?>
    <li class="selected">
    <?php echo $shortname; ?> Club
    <?php } else { ?>
    <li class=" ">
    <a href="<?php echo $path; ?>/credits/habboclub"><?php echo $shortname; ?> Club</a>
    <?php } ?>
    <?php if($pageid == "7"){ ?>
    <li class="selected">
    Badge Shop
    <?php } else { ?>
    <li class=" ">
    <a href="<?php echo $path; ?>/credits/shop">Badge Shop</a>
    <?php } ?>
    <?php if($pageid == "8"){ ?>
    <li class="selected">
    Pixel
    <?php } else { ?>
    <li class=" ">
    <a href="<?php echo $path; ?>/credits/pixels">Pixel</a>
    <?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>Achtung:</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; ?> ist im Maintenance Modus + + +</div><?php } ?>