Index Kash desencriptada 14.12.12 6:25
Bom eu vi que muitos queriam editar alguns textos da Kash e estavam encriptados...
Tomei a liberdade de desincripta-la para os usuários
# Os créditos ainda estão encriptados para que não haja roubo de direitos autorais.
#Index:
Bom proveiro!
Tomei a liberdade de desincripta-la para os usuários
# Os créditos ainda estão encriptados para que não haja roubo de direitos autorais.
#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 = "Você deve digitar sua senha para logar!";
} 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 = "Nome 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 termina 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 = "Kash Hotel, um mundo virtual, entre já e faça amigos e divirta-se!";
?>
<!-- Kash Hotel By LoToS-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title><?php echo $sitename; ?> - Index</title>
<link rel="shortcut icon" href="data/images/favicon.ico" type="image/vnd.microsoft.icon" />
<link rel="stylesheet" href="data/css/index.css" type="text/css" />
<script src="data/js/libs2.js" type="text/javascript"></script>
<script src="data/js/landing.js" type="text/javascript"></script>
<script src="data/js/visual.js" type="text/javascript"></script>
<script src="data/js/libs.js" type="text/javascript"></script>
<script src="data/js/common.js" type="text/javascript"></script>
<script src="data/js/fullcontent.js" type="text/javascript"></script>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<link rel="stylesheet" href="data/css/style.css" type="text/css" />
<script type="text/javascript" src="data/js/modernizr.custom.28468.js"></script>
<link href='http://fonts.googleapis.com/css?family=Economica:700,400italic' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="web-gallery/v2/styles/LoToS-Index.css" />
<style type="text/css">
body {
background-color: #000000;
}
#footer .footer-links { color: #666666; }
#footer .footer-links a { color: #ffffff; }
#footer .copyright { color: #666666; }
#footer #compact-tags-container span, #footer #compact-tags-container a { color: #333333; }
</style>
</head>
<body id="frontpage">
<div id="overlay"></div>
<div id="site-header">
<form id="register_form" name="loginformitem" action="<?php echo $path; ?>?name=<?php echo FilterText($_POST['username']); ?>&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">
<!DOCTYPE html>
<html>
<head>
<title>Kash Hotel - Sempre Pensando em Você!</title>
<link rel="stylesheet" type="text/css" href="<?php echo $path; ?>/data/css/index.css">
<link href="favicon.ico" rel="icon" type="image/x-icon" />
</head>
<body>
<div id="general">
<div id="header">
<a href="<?php echo $path; ?>/quickregister/start"><div class="logo"></div></a>
<div id="twitter">
<span class="tw"></span>
<div class="textot">
<marquee>
<?php echo $shortname; ?> Hotel
</marquee>
</div>
<span class="frank"></span>
</div>
</div>
<div id="contenido">
<div id="entrada">
<form action="<?php echo $path; ?>" method="POST">
<p class="esp"><div class="circ"></div>Nome no <?php echo $shortname; ?>:</p>
<p class="esp"><input type="text" name="username" class="area" required autofocus></p>
<p class="esp"><div class="circ"></div>Senha:</p>
<p class="esp"><input type="password" name="password" class="area" required></p>
<p class="esp cont"><a href="#"> </a></p>
<p><input type="submit" class="entrar" value="ENTRAR"></p>
</form>
</div>
<div class="conec"><?php echo $online_count; ?> <?php echo $shortname; ?>'s Online</div>
<div id="hotel">
<a href="<?php echo $path; ?>/quickregister/start">
<div id="reg">
<h1>NOVO NO <?php echo $shortname; ?></h1>
<h2>REGISTRE-SE!</h2>
</div>
</a>
</div>
</div>
<div id="descrip">
<div id="flink">
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/pt_PT/all.js#xfbml=1&appId=309302062498075";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-like-box" data-href="http://www.facebook.com/FACEBOOKDOHOTEL" data-width="200" data-show-faces="true" data-border-color="#dbdddd" data-stream="false" data-header="false"></div>
</div>
<div id="noticias">
<div class="evento furnis">
<div class="titulo">Tudo Atualizado!</div>
<div class="texto">
<h3>SEMPRE !</h3>
Aqui no hotel estamos sempre atualizados para o seu conforto.
<a href="#"><h5></h5></a>
</div>
</div>
<div class="evento concursos">
<div class="titulo">Eventos e Promoções!</div>
<div class="texto">
<h3>EVENTOS E PROMOÇÕES DIARIAS!</h3>
Não fique de fora, pois diariamente teremos eventos & promoções épicas.
<a href="#"><h5></h5></a>
</div>
</div>
<div class="evento actual">
<div class="titulo">Hotel Optimizado!</div>
<div class="texto">
<h3>SEM LAG & BUGS!</h3>
Somos um hotel sem lag, e claro, sem bugs.
<a href="#"><h5></h5></a>
</div>
</div>
</div>
</div>
<div id="footer">
<a href="#"> </a>
</div>
</div>
</body>
</html>
<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
</div>
<!--[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="http://facebook.com/KashHotel"><font color="#000000">Facebook</font> </a> | <a href="/equipe"><font color="#000000">Equipe </font></a>| <a href="http://twitter.com/KashHotel"><font color="#000000">Twitter</font></a></p>
<Script Language='Javascript'>
//* JS: Ant Cópia, sem script malicioso By WictorP *\\
<!--
document.write(unescape('%20%20%20%20%3Cdiv%20id%3D%22age-recommendation%22%3E%3C/div%3E%0A%20%20%20%20%3Cdiv%20id%3D%22sulake%22%3E%3Ca%20href%3D%22http%3A//www.kash-hotel.com%22%3E%3C/a%3E%3C/div%3E%0A%09%3Cp%20class%3D%22copyright%22%3EKash%20Hotel%20%7C%20Essa%20P%E1gina%20foi%20comprada%20na%20InHabbo%20sem%20nenhum%20pl%E1gio%20de%20outro%20site.%3CBR%3ECr%E9ditos%20a%20inHabbo%20-%20LoToS%20-%20WictorP%3Cbr%3E%20%3C/p%3E%0A%0A%0A%3C/div%3E%0A%20%20%20%20%3C/div%3E%0A%3C/div%3E'));
//-->
</Script>
<?php
} else {
header("location:me.php");
}
?>
<!-- Index Kash Hotel | By: InHabbo & LoToS -->
</body></html>
Bom proveiro!