Index Habbo BR

3 participantes

Jabu Jabu  • Qua 15 maio 2013 - 10:35

Index Habbo BR Empty Index Habbo BR Qua 15 maio 2013 - 10:35

Galera é o seguinte, eu estou usando aquela index do habbo br, acho que do Minatos e Foot, porem o botão ler mais não esta funcionando, ele coloca uma # em vez de abrir o texto atras as imagens. O que pode ser? Tem como arrumar?

Olha o código da minha index:

Código:
<?php
require_once('./data_classes/server-data.php_data_classes-core.php.php');

session_start();

if(isset($_GET['registerCancel']) && $_GET['registerCancel'] == "true"){
session_unset();
}

if(!session_is_registered(username)){

   if(isset($_POST['username']) && isset($_POST['password'])){
   $username = FilterText($_POST['username']);
   $password = HoloHash($_POST['password'], $username);
   $password2 = HoloHashMD5($_POST['password'], $username);
      
      if(empty($username) || empty($_POST['password'])){
         $login_error = "Entre com seu email e senha para login.";
      } else {
         $sql = mysql_query("SELECT id FROM users WHERE username = '".$username."' AND password = '".$password."' OR username = '".$username."' AND password = '".$password2."' LIMIT 1") or die(mysql_error());
         if(mysql_num_rows($sql) < 1){
            $login_error = "Usurio ou senha est incorreto.";
         } else {
            $userdata = mysql_fetch_assoc($sql);
            $userid = $userdata['id'];
            $ban = mysql_query("SELECT * FROM bans WHERE value = '".$username."' AND bantype = 'user' or value = '".$remote_ip."' AND bantype = 'ip' LIMIT 1") or die(mysql_error());
            if(mysql_num_rows($ban) < 1){

               mysql_query("UPDATE users SET password = '".$password2."', ip_last = '".$remote_ip."' WHERE username = '".$username."'");

               $_SESSION['username'] = $username;
               $_SESSION['password'] = $password2;
                  if($_POST['_login_remember_me'] == "true"){
                     setcookie("remember", "remember", time()+60*60*24*100, "/");
                     setcookie("rusername", $_SESSION['username'], time()+60*60*24*100, "/");
                     setcookie("rpassword", $_SESSION['password'], time()+60*60*24*100, "/");
                  }
               header("location: $path/me"); exit;
            } else {
               $bandata = mysql_fetch_assoc($ban);
               $timestamp = time();
               if($bandata['expire'] > $timestamp){
                  $login_error = "Voc est banido! A razo para seu banimento  \"" . $bandata['reason'] . "\" e dura at " . date('d.m.Y - H:i:s', $bandata['expire']) . ".";
               } else {
                  mysql_query("DELETE FROM bans WHERE value = '".$username."' AND bantype = 'user' OR value = '".$remote_ip."' AND bantype = 'ip' LIMIT 1") or die(mysql_error());
                  mysql_query("UPDATE users SET password = '".$password2."', ip_last = '".$remote_ip."' WHERE username = '".$username."'");

               $_SESSION['username'] = $username;
               $_SESSION['password'] = $password2;
                     if($_POST['_login_remember_me'] == "true"){
                        setcookie("remember", "remember", time()+60*60*24*100, "/");
                        setcookie("rusername", $_SESSION['username'], time()+60*60*24*100, "/");
                        setcookie("rpassword", $_SESSION['password'], time()+60*60*24*100, "/");
                     }
                  header("location: $path/me
                  
                  
                  
                  
                  
                  
                  "); exit;
               }
            }
         }
      }
   }



$body_id = "index";
$pagename = "Erstelle deinen ".$shortname.", designe deinen Raum, chatte und triff neue Freunde";



?>




<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>        <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>        <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title><?php echo $shortname; ?> Hotel - Crie seu <?php echo $shortname; ?>, construa seu Quarto, converse e faa novos amigos. </title>
    <meta name="viewport" content="width=device-width">

    <script>
        var andSoItBegins = (new Date()).getTime();
        var habboPageInitQueue = [];
        var habboStaticFilePath = "https://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1635/web-gallery";
    </script>
    <link rel="shortcut icon" href="https://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1635/web-gallery/v2/favicon.ico" type="image/vnd.microsoft.icon" />

    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Ubuntu:400,700,400italic,700italic">

<link rel="stylesheet" href="/css/v3_landing.css" type="text/css" />
<script src="https://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1635/web-gallery/static/js/v3_landing_top.js" type="text/javascript"></script>

        <meta name="description" content="Check into the world's largest virtual hotel for FREE! Meet and make friends, play games, chat with others, create your avatar, design rooms and more..." />
        <meta name="keywords" content="habbo hotel, virtual, world, social network, free, community, avatar, chat, online, teen, roleplaying, join, social, groups, forums, safe, play, games, online, friends, teens, rares, rare furni, collecting, create, collect, connect, furni, furniture, pets, room design, sharing, expression, badges, hangout, music, celebrity, celebrity visits, celebrities, mmo, mmorpg, massively multiplayer" />

<script src="//cdn.optimizely.com/js/13389159.js"></script>
    <meta name="build" content="63-BUILD2032 - 25.03.2013 11:12 - com" />
    <meta name="csrf-token" content="8e414cca00"/>
</head>
<body>

<div id="overlay"></div>


<div id="change-password-form" class="overlay-dialog" style="display: none;">
    <div id="change-password-form-container" class="clearfix form-container">
        <h2 id="change-password-form-title" class="bottom-border">Forgot Password?</h2>
        <div id="change-password-form-content" style="display: none;">
            <form method="post" action="https://www.habbo.com/account/password/identityResetForm" id="forgotten-pw-form">
                <input type="hidden" name="page" value="/?changePwd=true" />
                <span>Type in your Habbo account email address:</span>
                <div id="email" class="center bottom-border">
                    <input type="text" id="change-password-email-address" name="emailAddress" value="" class="email-address" maxlength="48"/>
                    <div id="change-password-error-container" class="error" style="display: none;">Please enter a correct email address</div>
                </div>
            </form>
            <div class="change-password-buttons">
                <a href="#" id="change-password-cancel-link">Cancel</a>
                <a href="#" id="change-password-submit-button" class="new-button"><b>Send Email</b><i></i></a>
            </div>
        </div>
        <div id="change-password-email-sent-notice" style="display: none;">
            <div class="bottom-border">
                <span>Hey, we just sent you an email with a link that lets you reset your password.<br>
<br>

NOTE! Remember to check your "junk" folder too!</span>
                <div id="email-sent-container"></div>
            </div>
            <div class="change-password-buttons">
                <a href="#" id="change-password-change-link">Back</a>
                <a href="#" id="change-password-success-button" class="new-button"><b>OK</b><i></i></a>
            </div>
        </div>
    </div>
    <div id="change-password-form-container-bottom" class="form-container-bottom"></div>
</div>

<script type="text/javascript">
    function initChangePasswordForm() {
        ChangePassword.init();
    }
    if (window.HabboView) {
        HabboView.add(initChangePasswordForm);
    } else if (window.habboPageInitQueue) {
        habboPageInitQueue.push(initChangePasswordForm);
    }
</script>



<header>
    <div id="border-left"></div>
    <div id="border-right"></div>
<?php if(isset($login_error)){ ?>
        <div id="loginerrorfieldwrapper">
            <div id="loginerrorfield">

            <div><?php echo $login_error; ?></div>
            </div> </div> <?php } ?>
<div id="login-form-container">
    <a href="/index" id="habbo-logo"></a>

    <form id="loginformitem" name="loginformitem" method="post">

    <div id="login_username">

        <div id="login-column-1">
            <label for="login-username">Usurio</label>
            <input type="text" name="username" style="width:197px"; onClick="toggle('ledenlijstpb_box');" autocomplete="on" />


            <input tabindex="5" type="checkbox" name="_login_remember_me" id="credentials-remember-me">
            <label for="credentials-remember-me" class="sub-label">Mantenha-me conectado</label>
        </div>

        <div id="login-column-2">
            <label for="login-password">Senha</label>
            <input type="password" name="password" style="width: 126px"; />

            <a href="#" id="forgot-password" class="sub-label">Esqueceu a senha?</a>
        </div>

        <div id="login-column-3">
            <input type="submit" value="Login" style="margin: -10000px; position: absolute;">
            <a href="#" tabindex="4" class="button" id="credentials-submit"><b></b><span>Login</span></a>
        </div>

        <div id="login-column-4">
<div id="fb-root"></div>


<a class="fb_button fb_button_large" onClick="assistedLogin(FB); return false;">
    <span class="fb_button_text"><?php echo $online_count; ?> Usurios Online</span>
</a>

      </div>
    </div>
</form>
</div>

<script>
    habboPageInitQueue.push(function() {
        if (!LandingPage.focusForced) {
            LandingPage.fieldFocus('credentials-email');
        }
    });
</script>
    <div id="alerts">
<noscript>
<div id="alert-javascript-container">
    <div id="alert-javascript-title">
        Missing JavaScript support
    </div>
    <div id="alert-javascript-text">
        Javascript is disabled on your browser. Please enable JavaScript or upgrade to a Javascript-capable browser to use Habbo :)
    </div>
</div>
</noscript>

<div id="alert-cookies-container" style="display:none">
    <div id="alert-cookies-title">
        Missing cookie support
    </div>
    <div id="alert-cookies-text">
        Cookies are disabled on your browser. Please enable cookies to use Habbo.
    </div>
</div>
<script type="text/javascript">
    document.cookie = "habbotestcookie=supported";
    var cookiesEnabled = document.cookie.indexOf("habbotestcookie") != -1;
    if (cookiesEnabled) {
        var date = new Date();
        date.setTime(date.getTime()-24*60*60*1000);
        document.cookie="habbotestcookie=supported; expires="+date.toGMTString();
    } else {
        if (window.habboPageInitQueue) {
            // jquery might not be loaded yet
            habboPageInitQueue.push(function() {
                $('#alert-cookies-container').show();
            });
        } else {
            $('alert-cookies-container').show();
        }
    }
</script>
    </div>
    <div id="top-bar-triangle"></div>
    <div id="top-bar-triangle-border"></div>
</header>


<div id="content">
    <ul>
        <li id="home-anchor">
            <div id="welcome">
                <a href="/quickregister/start" class="button large" id="join-now-button"><b></b><span>Registre-se</span><span class="sub">( gratis)</span></a>
                <div id="slogan">
                    <h1>Bem-Vindo ao <?php echo $shortname; ?> Hotel,</h1>
                    <p>um lugar diferente com pessoas incrveis.</p>
                    <p><a id="tell-me-more-link" href="#">Ler mais...</a></p>
                </div>
            </div>
            <div id="carousel">
                <div id="image1"></div>
                <div id="image2"></div>
                <div id="image3"></div>
                <div id="tell-me-more">O <?php echo $shortname; ?> Hotel  um mundo virtual para jogadores de 13 ou mais anos, onde voc pode criar seu prprio personagem <?php echo $shortname; ?> e construir o seu quarto da forma que mais gosta. Vai conhecer novos amigos, conversar, organizar festas, cuidar de animais virtuais, criar e jogar jogos e ainda completar tarefas. Clique em 'Registre-se' para comear!</div>
            </div>
                  <div id="floaters"></div>
        </li>

        <li id="registration-anchor">

<div id="registration-form" class="hide-captcha">
    <div id="registration-form-header">
        <h2>User ID</h2>
        <p>Fill in these details to begin:</p>
    </div>
    <div id="registration-form-main">
        <form id="register-new-user" autocomplete="off">
        <input type="hidden" name="next" value="">
        <div id="registration-form-main-left">
            <label for="registration-birthday">Birthdate</label>
            <label for="registration-birthday" class="details">We will use this to restore your account if you ever lose access. Your birth date will never be shared publicly.</label>
            <div id="registration-birthday">
<select name="registrationBean.month" id="registrationBean_month" class="dateselector"><option value="">Month</option><option value="1">January</option><option value="2">February</option><option value="3">March</option><option value="4">April</option><option value="5">May</option><option value="6">June</option><option value="7">July</option><option value="8">August</option><option value="9">September</option><option value="10">October</option><option value="11">November</option><option value="12">December</option></select> <select name="registrationBean.day" id="registrationBean_day" class="dateselector"><option value="">Day</option><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option><option value="10">10</option><option value="11">11</option><option value="12">12</option><option value="13">13</option><option value="14">14</option><option value="15">15</option><option value="16">16</option><option value="17">17</option><option value="18">18</option><option value="19">19</option><option value="20">20</option><option value="21">21</option><option value="22">22</option><option value="23">23</option><option value="24">24</option><option value="25">25</option><option value="26">26</option><option value="27">27</option><option value="28">28</option><option value="29">29</option><option value="30">30</option><option value="31">31</option></select> <select name="registrationBean.year" id="registrationBean_year" class="dateselector"><option value="">Year</option><option value="2005">2005</option><option value="2004">2004</option><option value="2003">2003</option><option value="2002">2002</option><option value="2001">2001</option><option value="2000">2000</option><option value="1999">1999</option><option value="1998">1998</option><option value="1997">1997</option><option value="1996">1996</option><option value="1995">1995</option><option value="1994">1994</option><option value="1993">1993</option><option value="1992">1992</option><option value="1991">1991</option><option value="1990">1990</option><option value="1989">1989</option><option value="1988">1988</option><option value="1987">1987</option><option value="1986">1986</option><option value="1985">1985</option><option value="1984">1984</option><option value="1983">1983</option><option value="1982">1982</option><option value="1981">1981</option><option value="1980">1980</option><option value="1979">1979</option><option value="1978">1978</option><option value="1977">1977</option><option value="1976">1976</option><option value="1975">1975</option><option value="1974">1974</option><option value="1973">1973</option><option value="1972">1972</option><option value="1971">1971</option><option value="1970">1970</option><option value="1969">1969</option><option value="1968">1968</option><option value="1967">1967</option><option value="1966">1966</option><option value="1965">1965</option><option value="1964">1964</option><option value="1963">1963</option><option value="1962">1962</option><option value="1961">1961</option><option value="1960">1960</option><option value="1959">1959</option><option value="1958">1958</option><option value="1957">1957</option><option value="1956">1956</option><option value="1955">1955</option><option value="1954">1954</option><option value="1953">1953</option><option value="1952">1952</option><option value="1951">1951</option><option value="1950">1950</option><option value="1949">1949</option><option value="1948">1948</option><option value="1947">1947</option><option value="1946">1946</option><option value="1945">1945</option><option value="1944">1944</option><option value="1943">1943</option><option value="1942">1942</option><option value="1941">1941</option><option value="1940">1940</option><option value="1939">1939</option><option value="1938">1938</option><option value="1937">1937</option><option value="1936">1936</option><option value="1935">1935</option><option value="1934">1934</option><option value="1933">1933</option><option value="1932">1932</option><option value="1931">1931</option><option value="1930">1930</option><option value="1929">1929</option><option value="1928">1928</option><option value="1927">1927</option><option value="1926">1926</option><option value="1925">1925</option><option value="1924">1924</option><option value="1923">1923</option><option value="1922">1922</option><option value="1921">1921</option><option value="1920">1920</option><option value="1919">1919</option><option value="1918">1918</option><option value="1917">1917</option><option value="1916">1916</option><option value="1915">1915</option><option value="1914">1914</option><option value="1913">1913</option><option value="1912">1912</option><option value="1911">1911</option><option value="1910">1910</option><option value="1909">1909</option><option value="1908">1908</option><option value="1907">1907</option><option value="1906">1906</option><option value="1905">1905</option><option value="1904">1904</option><option value="1903">1903</option><option value="1902">1902</option><option value="1901">1901</option><option value="1900">1900</option></select>            </div>
            <label for="registration-email">Email</label>
            <label for="registration-email" class="details">You'll need to use this <b>email address to log in</b> to Habbo in the future. Please use a valid address.</label>
            <input type="email" name="registrationBean.email" id="registration-email" value="">


           

        </div>
        <div id="registration-form-main-right">

            <span id="password-field-container">
                <label for="registration-password">Password</label>
                <label for="registration-password" class="details">Password must be at least <b>6 characters </b>long and include <b>letters and numbers</b></label>
                <input type="password" name="registrationBean.password" id="registration-password" maxlength="32" value="">
            </span>

            <div id="captcha-container">

                <label for="recaptcha_response_field">Are you human?</label>
                <label for="recaptcha_response_field" class="details">Type in the two words (separated with a space):</label>

                    <script src="https://www.google.com/recaptcha/api/js/recaptcha_ajax.js"></script>
                    <script>
                        habboPageInitQueue.push(function() {
                            Registration.setRecaptchaKey("6Ldq9wMAAAAAAMJQFwQLP7dUJMvlTD57af88caoD");
                        });
                    </script>
                    <div id="captcha-image-container">
                        <div id="recaptcha_image"></div>
                        <div id="captcha-overlay"></div>
                    </div>
                    <p id="captcha-new" class="details"><a class="recaptcha-reload" href="#">Try new code</a></p>
                    <input type="text" name="recaptcha_response_field" id="recaptcha_response_field">

            </div>
            <p class="checkbox-container" id="registration-tos">
                <input type="checkbox" id="tos" name="registrationBean.termsOfServiceSelection" value="true">
                <label for="tos" class="details checkbox">
                    I accept the <a href="http://help.habbo.com/entries/23096348-Terms-of-Service-and-Privacy-Policy" target="_blank" onClick="window.open('http://help.habbo.com/entries/23096348-Terms-of-Service-and-Privacy-Policy'); return false;">Terms Of Service</a> and Privacy Policy
                </label>
            </p>
            <p class="checkbox-container">

                <input type="checkbox" id="registration-marketing" value="true" name="registrationBean.marketing">
                <label for="registration-marketing" class="details checkbox">Keep me updated about the latest Habbo happenings, news and gossip!</label>
            </p>
            <div class="submit-button-wrapper">
                <a href="#" class="button large not-so-large register-submit"><b></b><span>Done</span></a>
            </div>
        </div>

        <div id="parent-email-container" style="display: none;">
            <label for="parent-email">Parents email</label>
            <label for="parent-email" class="details">Since you are under 15 years of age, we'll have to contact your parent(s) and inform that you have started to play Habbo.</label>
            <input type="email" id="parent-email" name="registrationBean.parentEmail" value="">
            <div class="submit-button-wrapper">
                <a href="#" class="button large not-so-large register-submit"><b></b><span>Done</span></a>
            </div>
        </div>
        </form>
    </div>
</div>
<div id="magnifying-glass"></div>
            <div id="sail"></div>
        </li>
    </ul>
</div>

<footer>
    <div id="age-recommendation"></div>

    <div id="footer-content">
        <div id="footer"><a href="/index" target="_self">Incio</a> / <a href="/contato.php" target="_new">Contate-nos</a> / <a href="/papers/disclaimer" target="_new">Termos e Condições</a> / <a href="/community/staff">Equipe</a> / <a href="/contato.php" target="_new">Parceria</a></div>
        <div id="copyright"> 2013 <?php echo $shortname; ?> Hotel <b>(Hotel Virtual)</b>. Todos os direitos reservados.<br />Este WebSite no  de propriedade ou operado pela Sulake Corporation Oy</div>
    </div>
   
</footer>



<script src="https://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1635/web-gallery/static/js/v3_landing_bottom.js" type="text/javascript"></script>
<!--[if IE]><script src="https://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1635/web-gallery/static/js/v3_ie_fixes.js" type="text/javascript"></script>
<![endif]-->



<script type="text/javascript">
    var rpxJsHost = (("https:" == document.location.protocol) ? "https://" : "http://static.");
    document.write(unescape("%3Cscript src='" + rpxJsHost +
            "rpxnow.com/js/lib/rpx.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
    RPXNOW.overlay = false;
    RPXNOW.language_preference = 'en';
    RPXNOW.flags = 'show_provider_list';
</script>

<script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-448325-2']);
  _gaq.push(['_trackPageview']);
  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
</script>   
   

   


</body>
</html>


<?php


} else {
header("location:me");
}

?>

Jabu Jabu  • Qua 15 maio 2013 - 13:19

Index Habbo BR Empty Re: Index Habbo BR Qua 15 maio 2013 - 13:19

Help-me? :S

ηєxʋshp™ ηєxʋshp™  • Qua 15 maio 2013 - 13:26

Index Habbo BR Empty Re: Index Habbo BR Qua 15 maio 2013 - 13:26

Mas está certo amigo, lá vai por o link de onde você queira que abra quando alguém clicar na imagem!


Espero ter ajudado. Fuiz!

Jabu Jabu  • Qua 15 maio 2013 - 13:30

Index Habbo BR Empty Re: Index Habbo BR Qua 15 maio 2013 - 13:30

Não jovem, não é para mim nada, olha na index do habbo original, quando clica em saiba mais, sobe as imagens aprece o texto. A index tinha que fazer isso, mas não esta fazendo. Entendeu?

Jabu Jabu  • Qua 15 maio 2013 - 14:21

Index Habbo BR Empty Re: Index Habbo BR Qua 15 maio 2013 - 14:21

Consegui arrumar, mas obrigado pela atenção, pode dar closed.

ηєxʋshp™ ηєxʋshp™  • Qua 15 maio 2013 - 15:15

Index Habbo BR Empty Re: Index Habbo BR Qua 15 maio 2013 - 15:15

Certo então, espero ter ajudado.

Troy Troy  • Qua 15 maio 2013 - 15:59

Index Habbo BR Empty Re: Index Habbo BR Qua 15 maio 2013 - 15:59

Tópico Closed !

Dúvida Resolvida / Movido para: Questões Resolvidas

Conteúdo patrocinado  • 

Index Habbo BR Empty Re: Index Habbo BR

Permissões neste sub-fórum
Não podes responder a tópicos

BH Servers

Recomendamos a BH Servers com proteção DDOS gratuita em Cloud Server de alta performance. Entrega imediata.