Alguém tem essa index? 19.12.12 14:28
Eu sei que a InHabbo vende as Index, mas alguém tem a Index Mussa pra download? Essa abaixo:
http://www.power-pixel.net/t26578-down-kashcms-v10-lavvos-new-crypto-habbolatino-atom
<?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 = "Usuario ou senha incorreto!";
} 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 = "Usuario ou senha 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ê foi banido por:
\"" . $bandata['reason'] . "\" e acaba em: " . 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 = "Criado em dedicação ha você!";
include('./templates/login_subheader.php');
?>
<style type="text/css">
body {
background-color: #000000;
}
#footer {
color: #595959;
}
#footer .footer-links a {
color: #333333;
}
#footer .copyright {
color: #595959;
}
</style>
<body id="frontpage">
<div id="overlay"></div>
<script type="text/javascript">
HabboView.add( function() {
ChangePassword.init();
});
</script>
<div id="site-header">
<form id="loginformitem" name="loginformitem" action="<?php echo $path; ?>?name=<?php
echo FilterText($_POST['username.credentials']); ?>&password=true"
method="post">
<?php if(isset($login_error)){ ?>
<div id="loginerrorfieldwrapper">
<div id="loginerrorfield">
<div><?php echo $login_error; ?></div>
</div> </div> <?php } ?>
<div style="clear: both;"></div>
<div id="site-header-content">
<div id="habbo-logo"></div>
<div id="login-form">
<div id="login-form-email">
<label for="login-username"
class="login-text">Usuario</label>
<input tabindex="3" type="text" class="login-field" name="username"
id="login-username"
value="" maxlength="48"/>
<input tabindex="6" type="checkbox" name="_login_remember_me"
id="login-remember-me"
value="true"/>
<label for="login-remember-me">Manter-me conectado</label>
<div id="landing-remember-me-notification" class="bottom-bubble" style="display:none;">
<div class="bottom-bubble-t"><div></div></div>
<div class="bottom-bubble-c">
Habilitando esta opção ficara conectado ao <?php echo $shortname; ?> Hotel até
clicar em sair.
</div>
<div class="bottom-bubble-b"><div></div></div>
</div>
</div>
<div id="login-form-password">
<label for="login-password" class="login-text">Senha</label>
<input tabindex="4" type="password" class="login-field" name="password"
id="login-password" maxlength="32"/>
<div id="login-forgot-password">
</div>
</div>
<div id="login-form-submit">
<input type="submit" value="Giris" class="login-top-button"
id="login-submit-button"/>
<a href="#" tabindex="5" onclick="document.loginformitem.submit()" tabindex="5"
id="login-submit-new-button" class="new-button"><b>Entrar</b><i></i></a>
</div>
</div>
<div id="rpx-login">
<div id="join-now-button-container">
<div id="join-now-button-wrapper-fb">
<div class="join-now-alternative"> </div>
<div class="join-now-button">
<a class="join-now-link" href="#" onclick="assistedLogin(FB); return false;">
<span class="join-now-text-big"></span>
<span class="join-now-text-small"><span
class="fbword"></span></span>
</a>
<span class="close"></span>
</div>
<div class="join-now-alternative">
<a id="register-link-fb" href="/quickregister/start"
onclick="startRegistration(this); return false;">
veya bir Habbo hesabi olustur
</a>
</div>
</div>
<div id="join-now-button-wrapper">
<div class="join-now-button">
<a class="join-now-link" id="register-link" href="/quickregister/start"
onclick="startRegistration(this); return false;">
<span class="join-now-text-big">Registre-se</span>
<span class="join-now-text-small">É Grátis!</span>
</a>
</div>
</div>
</div>
<script type="text/javascript">
function startRegistration(elem) {
targetUrl = elem.href;
if (typeof targetUrl == "undefined") {
targetUrl = "/quickregister/start";
}
window.location.href = targetUrl;
}
</script>
</div>
<noscript>
<div id="alert-javascript-container">
<div id="alert-javascript-title">
JavaScript destegi eksik
</div>
<div id="alert-javascript-text">
Gezgininde Javascript devre disi. Habbo'yu kullanabilmek için lütfen JavaScript'i etkinlestir
veya Javascriptle çalisabilen bir gezgin kullan :)
</div>
</div>
</noscript>
<div id="alert-cookies-container" style="display:none">
<div id="alert-cookies-title">
Çerez destegi eksik
</div>
<div id="alert-cookies-text">
Gezgininde çerezler devre disi. Habbo'yu kullanmak için lütfen çerezleri etkinlestir.
</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 {
$('alert-cookies-container').show();
}
</script>
<script type="text/javascript">
HabboView.add(function() {
LandingPage.init();
if (!LandingPage.focusForced) {
LandingPage.fieldFocus('login-username');
}
});
</script>
</div>
</form>
</div>
<div id="fp-container">
<div id="content">
<div id="column1" class="column">
<div class="habblet-container ">
<div style="width: 890px; margin: 0
auto">
<div id="tagline">Kash Hotel - A diversão está aqui, entre já!</div>
</div>
<div id="frontpage-image-container">
<div id="preregister-button-container">
<div id="preregister-gift-image"></div>
<p><b>O que está esperando?</b><br />Entre já!!</p>
<a href="quickregister/start" class="new-button"><b><?php echo $online_count; ?>
Online</b><i></i></a>
</div>
<div id="people-inside">
<i></i>
</div>
<a href="/quickregister/start" id="frontpage-image" style="background-image:
url('http://images.habbo.com/c_images/Frontpage_images/turkey_front.png')"
onclick="startRegistration(this); return false;"></a>
</div>
<script type="text/javascript">
document.observe("dom:loaded", function() {
LandingPage.checkLoginButtonSetTimer();
});
</script>
</div>
<script type="text/javascript">if
(!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
</div>
<?php if (!defined("IN_HOLOCMS")) { header("Location: $path"); exit; } ?>
<!--[if lt IE 7]>
<script type="text/javascript">
Pngfix.doPngImageFix();
</script>
<![endif]-->
<div id="footer" class="new_and_improved">
<p class="footer-links"><a href="<?php path; ?>">Home</a> | <a href="<?php path;
?>/equipe">Equipe</a> | <a href="http://twitter.com/KashHotel" target="_new">Twitter</a>
</p>
<div id="age-recommendation"></div>
<div id="habbo-logo-footer"></div>
<p class="copyright"> 2012 Kash Hotel. | Este não é o Habbo, não use os mesmos
dados para jogar Kash! | Kash Hotel, Criado em dedicação ha você!</p>
<script type="text/javascript">
HabboView.run();
</script>
</div>
</div>
</div>
<script type="text/javascript">if
(!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
</div>
<?php
} else {
header("location:../me");
}
?>
Recomendamos a BH Servers com proteção DDOS gratuita em Cloud Server de alta performance. Entrega imediata.