Olá amigo problema no registro ? Substitua os codigos que darei em sua cms, siga o tutorial logo a baixo.
Abra sua Cms, procure pela Tabela Register.php, Substitua ele por este:
- Código:
<?php
require_once('./data_classes/server-data.php_data_classes-core.php.php');
if($logged_in){
header("Location: ".$path."/me");
exit;
}
$ip_check = mysql_query("SELECT ip_last,username,id FROM users WHERE ip_last = '".$remote_ip."'");
if(isset($_GET['cancal'])){
session_unset();
header("Location: $path/");
exit;
}
switch($_GET['stap']){
case "1":
if(isset($_SESSION['jjp']['register'][1])){
header("Location: ".$path."/quickregister/email_password");
}
require_once('./templates/register_subheader.php');
require_once('./templates/quickregister/page-register-1.php');
break;
case "2":
$bday_day = FilterText($_POST['bean_day']);
$bday_month = FilterText($_POST['bean_month']);
$bday_year = FilterText($_POST['bean_year']);
$gender = FilterText($_POST['bean_gender']);
if ($bday_year > 1999)
{
$errors = "Você deve ser maior de 13 anos para registrar-se!";
}else if (!is_numeric($bday_day) || !is_numeric($bday_month) || !is_numeric($bday_year) || $bday_day <= 0 || $bday_day > 31 ||
$bday_month <= 0 || $bday_month > 12 || $bday_year < 1900 || $bday_year > 2010)
{
$errors = "Você deve selecionar uma data de nascimento válida!";
}else if(!empty($gender)){
$_SESSION['jjp']['register'][1]['bday_day'] = $bday_day;
$_SESSION['jjp']['register'][1]['bday_month'] = $bday_month;
$_SESSION['jjp']['register'][1]['bday_year'] = $bday_year;
$_SESSION['jjp']['register'][1]['gender'] = $gender;
header("Location: ".$path."/quickregister/email_password");
exit;
}else{
$errors = "Você deve selecionar uma data de nascimento válida!";
}
require_once('./templates/register_subheader.php');
require_once('./templates/quickregister/page-register-1.php');
exit;
break;
case "3":
if(!isset($_SESSION['jjp']['register'][1])){
header("Location: ".$path."/quickregister/start");
} elseif(isset($_SESSION['jjp']['register'][2])){
header("Location: ".$path."/quickregister/captcha");
}
require_once('./templates/register_subheader.php');
require_once('./templates/quickregister/page-register-2.php');
break;
case "4":
$name = FilterText($_POST['bean_name']);
$email = FilterText($_POST['bean_email']);
$pass1 = FilterText($_POST['bean_password']);
$pass2 = FilterText($_POST['bean_retypedPassword']);
$filter = preg_replace("/[^a-z\d\-=\?!@:\.]/i", "", $name);
$email_check = preg_match("/^[a-z0-9_\.-]+@([a-z0-9]+([\-]+[a-z0-9]+)*\.)+[a-z]{2,7}$/i", $email);
$tmp = mysql_query("SELECT id FROM users WHERE username = '".$name."' LIMIT 1") or die(mysql_error());
$tmp = mysql_num_rows($tmp);
$emailu = mysql_query("SELECT id FROM users WHERE mail = '".$email."' LIMIT 1") or die(mysql_error());
$emailu = mysql_num_rows($emailu);
$first = substr($name, 0, 4);
// Checagem de Nome
if(strnatcasecmp($first,"MOD-") == false) {
$errors = "Este nome é proibido!";
}elseif($tmp > 0){
$errors = "O nome já está em uso!";
}elseif($filter !== $name){
$errors = "O nome não pode conter carácteres especiais";
}elseif(strlen($name) > 15){
$errors = "O Nome é muito largo!";
}elseif(strlen($name) < 3){
$errors = "O nome é muito curto!";
// Checagem de email
}elseif($email_check !== 1){
$errors = "Digite um endereço de email válido!";
}elseif(strlen($email) < 6){
$errors = "O Email fornecido é muito curto, tente novamente.";
}elseif($emailu > 0){
$errors = "O Email já está em uso";
// Checagem de senha
}elseif($pass1 !== $pass2){
$errors = "As senhas não coencidem!";
}elseif(strlen($pass1) < 6){
$errors = "A senha fornecida é muito curta!";
}elseif(isset($_POST['bean_termsOfServiceSelection'])){
$_SESSION['jjp']['register'][2]['name'] = $name;
$_SESSION['jjp']['register'][2]['email'] = $email;
$_SESSION['jjp']['register'][2]['pass'] = $pass1;
header("Location: ".$path."/quickregister/captcha");
exit;
}else{
$errors = "Você deve concordar com nossos Termos e Condições";
}
require_once('./templates/register_subheader.php');
require_once('./templates/quickregister/page-register-2.php');
exit;
break;
case "5":
if(!isset($_SESSION['jjp']['register'][1])){
header("Location: ".$path."/quickregister/start");
}elseif(!isset($_SESSION['jjp']['register'][2])){
header("Location: ".$path."/quickregister/email_password");
}
require_once('./templates/register_subheader.php');
require_once('./templates/quickregister/page-register-3.php');
break;
case "6":
if($_SESSION['register-captcha-bubble'] !== strtolower($_POST['captchaResponse'])){
$errors = "O Código está incorreto, tente novamente.";
}else{
if($_SESSION['jjp']['register'][1]['gender'] == "male"){
$look = 'hd-180-1.ch-210-66.lg-270-82.sh-290-91.hr-100-';
$gender = 'M';
}else{
$look = 'ch-635-70.hd-600-1.lg-716-66-62.sh-735-68.hr-515-3';
$gender = 'F';
}
mysql_query("INSERT INTO `users` (username,real_name,password,auth_ticket,motto,mail,rank,look,gender,account_created,last_online,online,ip_last,ip_reg,working,secretcode,mymusik) VALUES ('".$_SESSION['jjp']['register'][2]['name']."','default','".HoloHashMD5($_SESSION['jjp']['register'][2]['pass'])."','-/-','Qual é o seu pensamento de hoje?','".$_SESSION['jjp']['register'][2]['email']."','1','".$look."','".$gender."','".time()."','".time()."','1','".$remote_ip."','".$remote_ip."','','','')") or die(mysql_error());
$userdata2 = mysql_query("SELECT * FROM users WHERE username = '".$_SESSION['jjp']['register'][2]['name']."'");
$userdata = mysql_fetch_assoc($userdata2);
mysql_query("INSERT INTO `user_info` (user_id,reg_timestamp) VALUES ('".$userdata['id']."','".time()."')");
mysql_query("INSERT INTO `user_stats` (id) VALUES ('".$userdata['id']."')");
$_SESSION['username'] = $_SESSION['jjp']['register'][2]['name'];
$_SESSION['password'] = HoloHashMD5($_SESSION['jjp']['register'][2]['pass'], $_SESSION['jjp']['register'][2]['name']);
unset($_SESSION['jjp']['register']);
header("Location: ../me");
exit;
}
require_once('./templates/register_subheader.php');
require_once('./templates/quickregister/page-register-3.php');
exit;
break;
}
?>
Terminando de substituir, Abra a sua Cms novamente acha a pasta Templaste, veja mais a baixo: Abra a Pasta Templaste > quickregister.
Abra '' page-register-1.php '' e Substitua por este:
- Código:
<link rel="shortcut icon" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/728/web-gallery/v2/favicon.ico" type="image/vnd.microsoft.icon" />
<link rel="alternate" type="application/rss+xml" title="Habbo: RSS" href="http://www.habbo.es/articles/rss.xml" />
<meta name="csrf-token" content="88ec5e6d06"/>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/728/web-gallery/static/styles/common.css" type="text/css" />
<script src="<?php echo $path; ?>/web-gallery/static/js/libs2.js" type="text/javascript"></script>
<script src="<?php echo $path; ?>/web-gallery/static/js/visual.js" type="text/javascript"></script>
<script src="<?php echo $path; ?>/web-gallery/static/js/libs.js" type="text/javascript"></script>
<script src="<?php echo $path; ?>/web-gallery/static/js/common.js" type="text/javascript"></script>
<script type="text/javascript">
var ad_keywords = "";
var ad_key_value = "";
</script>
<script type="text/javascript">
document.habboLoggedIn = false;
var habboName = null;
var habboId = null;
var habboReqPath = "";
var habboStaticFilePath = "/web-gallery";
var habboImagerUrl = "http://www.habbo.es/habbo-imaging/";
var habboPartner = "";
var habboDefaultClientPopupUrl = "http://www.habbo.es/client";
window.name = "b409e6efd96592778940e4c87d9edbc51b3e7c95";
if (typeof HabboClient != "undefined") {
HabboClient.windowName = "b409e6efd96592778940e4c87d9edbc51b3e7c95";
HabboClient.maximizeWindow = true;
}
</script>
<meta property="fb:app_id" content="157382664122" />
<meta property="og:site_name" content="Habbo Hotel" />
<meta property="og:title" content="Habbo: " />
<meta property="og:url" content="http://www.habbo.es" />
<meta property="og:image" content="http://www.habbo.es/v2/images/facebook/app_habbo_hotel_image.gif" />
<meta property="og:locale" content="es_ES" />
<link rel="stylesheet" href="<?php echo $path; ?>/web-gallery/static/styles/quickregister.css" type="text/css" />
<script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/728/web-gallery/static/js/quickregister.js" type="text/javascript"></script>
<meta name="description" content="Cavvos Hotel: haz amig@s, únete a la diversión y date a conocer." />
<meta name="keywords" content="habbo hotel, mundo, virtual, red social, gratis, comunidad, personaje, chat, online, adolescente, roleplaying, unirse, social, grupos, forums, seguro, jugar, juegos, amigos, adolescentes, raros, furni raros, coleccionable, crear, coleccionar, conectar, furni, muebles, mascotas, diseño de salas, compartir, expresión, placas, pasar el rato, música, celebridad, visitas de famosos, celebridades, juegos en línea, juegos multijugador, multijugador masivo" />
<!--[if IE 8]>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/728/web-gallery/static/styles/ie8.css" type="text/css" />
<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/728/web-gallery/static/styles/ie.css" type="text/css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/728/web-gallery/static/styles/ie6.css" type="text/css" />
<script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/728/web-gallery/static/js/pngfix.js" type="text/javascript"></script>
<script type="text/javascript">
try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}
</script>
<sttyle type="text/css">
body { behavior: url(/js/csshover.htc); }
</sttyle>
<![endif]-->
<meta name="build" content="63-BUILD965 - 08.12.2011 11:58 - es" />
</head>
<body id="client" class="background-agegate">
<div id="overlay"></div>
<img src="/web-gallery/v2/images/page_loader.gif" sttyle="position:absolute; margin: -1500px;" />
<div id="change-password-form" sttyle="display: none;">
<div id="change-password-form-container" class="clearfix">
<div id="change-password-form-title" class="bottom-border">Esqueceu a senha?</div>
<div id="change-password-form-content" sttyle="display: none;">
<form method="post" action="<?php echo $path; ?>/account/password/identityResetForm" id="forgotten-pw-form">
<input type="hidden" name="page" value="/quickregister/start?changePwd=true" />
<span>Introduza seu e-mail</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" sttyle="display: none;">Introduza seu e-mail</div>
</div>
</form>
<div class="change-password-buttons">
<a href="#" id="change-password-cancel-link">Cancelar</a>
<a href="#" id="change-password-submit-button" class="new-button"><b>Enviar email</b><i></i></a>
</div>
</div>
<div id="change-password-email-sent-notice" sttyle="display: none;">
<div class="bottom-border">
<span>Nós enviamos um email para você para alterar a senha.<br>
<br>
ATENÇÃO: Lembre-se de ohar a lixeira!</span>
<div id="email-sent-container"></div>
</div>
<div class="change-password-buttons">
<a href="#" id="change-password-change-link">Atrás</a>
<a href="#" id="change-password-success-button" class="new-button"><b>Fechar</b><i></i></a>
</div>
</div>
</div>
<div id="change-password-form-container-bottom"></div>
</div>
<script type="text/javascript">
HabboView.add( function() {
ChangePassword.init();
});
</script>
<div id="stepnumbers">
<div class="step1focus">Aniversário e Genêro</div>
<div class="step2">Detalhes</div>
<div class="step3">Segurança</div>
<div class="stephabbo"></div>
</div>
<div id="main-container">
<noscript>
<div id="alert-javascript-container">
<div id="alert-javascript-title">
Sin soporte JavaScript
</div>
<div id="alert-javascript-text">
Javascript está deshabilitado en tu navegador. Por favor, permite que haya JavaScript o actualiza tu navegador a una versión con Javascript para poder usar Habbo
</div>
</div>
</noscript>
<div id="alert-cookies-container" sttyle="display:none">
<div id="alert-cookies-title">
"Cookies" deshabilitadas
</div>
<div id="alert-cookies-text">
Tu navegador está configurado para no aceptar "cookies". Por favor, habilita el uso de "cookies" para utilizar 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 {
$('alert-cookies-container').show();
}
</script>
<?php if(isset($errors)){ ?>
<div id="error-messages-container" class="cbb">
<div class="rounded" sttyle="background-color: #cb2121;">
<div id="error-title" class="error"><?php echo $errors; ?>
</div></div></div>
<?php } else {?>
<?php } ?>
<p>
<p>
<form id="quickregisterform" method="post" action="<?php echo $path; ?>/quickregister/age_gate_submit">
<div id="title">Data de nascimento e sexo</div>
<div id="date-selector">
<h3>Por favor digite uma data de aniversário válida</h3>
<select name="bean.day" id="bean_day" class="dateselector"><option value="">Dia</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="bean.month" id="bean_month" class="dateselector"><option value="">Mês</option><option value="1">Janeiro</option><option value="2">Fevereiro</option><option value="3">Março</option><option value="4">abril</option><option value="5">Maio</option><option value="6">Junho</option><option value="7">Julho</option><option value="8">Agosto</option><option value="9">Setembro</option><option value="10">Outubro</option><option value="11">Novembro</option><option value="12">Dezembro</option></select> <select name="bean.year" id="bean_year" class="dateselector"><option value="">Ano</option><option value="2012">2012</option><option value="2011">2011</option><option value="2010">2010</option><option value="2009">2009</option><option value="2008">2008</option><option value="2007">2007</option><option value="2006">2006</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>
<div class="delimiter_smooth">
<div class="flat"> </div>
<div class="arrow"> </div>
<div class="flat"> </div>
</div>
<div id="inner-container">
<div id="gender-selection">
<h3>Eu sou...</h3>
<input type="hidden" id="avatarGender" name="bean.gender" value=""/>
<ul id="gender-choices">
<li>
<span class="bgtop"></span>
<span class="bgbottom"></span>
<span class="gender-choice">
Homem<br/><img alt="male" src="/web-gallery/v2/images/frontpage/male_sign.png" width="36" height="47">
</span>
</li>
<li>
<span class="bgtop"></span>
<span class="bgbottom"></span>
<span class="gender-choice">
Mulher<br/><img alt="female" src="/web-gallery/v2/images/frontpage/female_sign.png" width="36" height="47">
</span>
</li>
</ul>
</div>
</div>
</form>
<div id="select">
<a id="back-link" href="/">Atrás</a>
<div class="button">
<a id="proceed" href="#" class="area">Continuar</a>
<span class="close"></span>
</div>
</div>
</div>
<script type="text/javascript">
L10N.put("identity.register.overlay.loading.text", 'Cargando...');
document.observe("dom:loaded", function() {
QuickRegister.initAgeGate(true);
QuickRegister.initGenderChooser("male");
});
</script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-448325-19']);
_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>
<script type="text/javascript">
HabboView.run();
</script>
</body>
</html>
Logo substituindo Abra '' page-register-2.php '' E substitua por este: - Código:
<body id="client" class="background-accountdetails-male">
<div id="overlay"></div>
<img src="/web-gallery/v2/images/page_loader.gif" sttyle="position:absolute; margin: -1500px;" />
<div id="change-password-form" sttyle="display: none;">
<div id="change-password-form-container" class="clearfix">
<div id="change-password-form-title" class="bottom-border">Esqueceu a senha?</div>
<div id="change-password-form-content" sttyle="display: none;">
<form method="post" action="<?php echo $path; ?>/account/password/identityResetForm" id="forgotten-pw-form">
<input type="hidden" name="page" value="/quickregister/start?changePwd=true" />
<span>Introduza seu e-mail</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" sttyle="display: none;">Introduza seu e-mail</div>
</div>
</form>
<div class="change-password-buttons">
<a href="#" id="change-password-cancel-link">Cancelar</a>
<a href="#" id="change-password-submit-button" class="new-button"><b>Enviar email</b><i></i></a>
</div>
</div>
<div id="change-password-email-sent-notice" sttyle="display: none;">
<div class="bottom-border">
<span>Nós enviamos um email para você para alterar a senha.<br>
<br>
ATENÇÃO: Lembre-se de ohar a lixeira!</span>
<div id="email-sent-container"></div>
</div>
<div class="change-password-buttons">
<a href="#" id="change-password-change-link">Atrás</a>
<a href="#" id="change-password-success-button" class="new-button"><b>Fechar</b><i></i></a>
</div>
</div>
</div>
<div id="change-password-form-container-bottom"></div>
</div>
<script type="text/javascript">
HabboView.add( function() {
ChangePassword.init();
});
</script>
<div id="stepnumbers">
<div class="step1">Aniversário e Genêro</div>
<div class="step2focus">Detalhes</div>
<div class="step3">Segurança</div>
<div class="stephabbo"></div>
</div>
<div id="main-container">
<?php if(isset($errors)){ ?>
<div id="error-messages-container" class="cbb">
<div class="rounded" sttyle="background-color: #cb2121;">
<div id="error-title" class="error"><?php echo $errors; ?>
</div></div></div>
<?php } else {?>
<?php } ?>
<form method="post" action="<?php echo $path; ?>/quickregister/email_password_submit" id="quickregister-form">
<p>
<div id="title">Detalhes da conta</div>
<div id="inner-container">
<div class="inner-content bottom-border">
<div class="field">
<label for="user-address"><?php echo $shortname; ?> nome</label>
<input type="text" id="email-address" name="bean.name" value="<?php echo FilterText($_POST['bean_name']); ?>" <?php if(isset($errors['name'])) { echo 'class="error"'; } else { } ?>/>
</div>
<div class="help">Este é o nome que você usará para entrar no Hotel, lembre-se dele!</div>
<div class="field">
<label for="email-address">Email</label>
<input type="text" id="email-address" name="bean.email" value="<?php echo FilterText($_POST['bean_email']); ?>" <?php if(isset($errors['email'])) { echo 'class="error"'; } else { } ?>/>
</div>
<div class="help">Você precisará do seu endereço de e-mail para entrar no Hotel no futuro. Por favor utilize um e-mail válido.</div>
<div id="password-field" class="field">
<label for="register-password">Nova senha</label>
<input type="password" name="bean.password" id="register-password" maxlength="32" value="" <?php if(isset($errors['password'])) { echo 'class="error"'; } else { } ?>/>
</div>
<div id="password-field" class="field">
<label for="register-password">Reescreva sua Senha</label>
<input type="password" name="bean.retypedPassword" id="register-password" maxlength="32" value="" <?php if(isset($errors['retypedpassword'])) { echo 'class="error"'; } else { } ?>/>
</div>
<div class="help">Senhas precisam ter no minímo <b>6 caracteres</b> e incluir <b>letras e números.</b> para garantir maior segurança dentro do Hotel.</div>
</div>
<div class="inner-content top-margin">
<div class="field-content checkbox <?php if(isset($errors['terms'])) { echo 'error';} else { } ?>">
<label>
<input type="checkbox" name="bean.termsOfServiceSelection" id="terms" value="true" class="checkbox-field"/>
Aceito os <a href="/papers/disclaimer" target="_blank" onclick="window.open('/papers/disclaimer'); return false;">Termos e condições</a> do Hotel
</label>
</div>
</div>
</div>
</form>
<div id="select">
<div class="button">
<a id="proceed-button" href="#" class="area">Continuar</a>
<span class="close"></span>
</div>
<a href="<?php echo $path; ?>/quickregister/back" id="back-link">Voltar</a>
</div>
</div>
<script type="text/javascript">
document.observe("dom:loaded", function() {
Event.observe($("back-link"), "click", function() {
Overlay.show(null,'Cargando...');
});
Event.observe($("proceed-button"), "click", function() {
Overlay.show(null,'Cargando...');
$("quickregister-form").submit();
});
$("email-address").focus();
});
</script>
<script type="text/javascript">
HabboView.run();
</script>
</body>
</html>
Logo substituindo abra a ultima php '' page-register-3.php '' e Substitua por este: - Código:
<script src="<?php echo $path; ?>/web-gallery/static/js/regcommon.js" type="text/javascript"></script>
<body id="client" class="background-captcha">
<div id="overlay"></div>
<img src="<?php echo $path; ?>/web-gallery/v2/images/page_loader.gif" sttyle="position:absolute; margin: -1500px;" />
<script type="text/javascript">
HabboView.add( function() {
ChangePassword.init();
});
</script>
<div id="stepnumbers">
<div class="stepdone">Aniversário & Gênero</div>
<div class="step2">Detalhes</div>
<div class="step3focus">Segurança</div>
</div>
<div id="main-container">
<div id="error-placeholder">
<?php if(isset($errors)){ ?>
<div id="error-messages-container" class="cbb">
<div class="rounded" sttyle="background-color: #cb2121;">
<div id="error-title" class="error"><?php echo $errors; ?>
</div></div></div>
<?php } ?>
</div>
<h2>Entre no Hotel</h2> <div id="avatar-choices"> <h3>Escolha um visual para sua primeira visita:</h3>
<ul id="avatars"> <li>
<span class="bgtop"></span>
<span class="bgbottom"></span>
<img alt="hd-185-4.lg-3116-63-62.hr-893-32.ch-210-110" src="<?php echo $avatar; echo $row['look']; ?>/habbo-imaging/avatarimage?figure=hd-185-4.lg-3116-63-62.hr-893-32.ch-210-110" width="64" height="110"/>
</li>
<li>
<span class="bgtop"></span>
<span class="bgbottom"></span>
<img alt="hd-180-2.lg-270-82.hr-115-37.ch-255-100" src="<?php echo $avatar; echo $row['look']; ?>/habbo-imaging/avatarimage?figure=hd-180-2.lg-270-82.hr-115-37.ch-255-100" width="64" height="110"/>
</li>
<li>
<span class="bgtop"></span>
<span class="bgbottom"></span>
<img alt="hd-200-3.lg-285-96.hr-165-37.ch-3030-85" src="<?php echo $avatar; echo $row['look']; ?>/habbo-imaging/avatarimage?figure=hd-200-3.lg-285-96.hr-165-37.ch-3030-85" width="64" height="110"/>
</li>
<li>
<span class="bgtop"></span>
<span class="bgbottom"></span>
<img alt="hr-890-36.hd-627-1.ch-680-72.lg-715-72.sh-907-62.ca-1805-6" src="<?php echo $avatar; echo $row['look']; ?>/habbo-imaging/avatarimage?figure=hr-890-36.hd-627-1.ch-680-72.lg-715-72.sh-907-62.ca-1805-6" width="64" height="110"/>
</li>
<li>
<span class="bgtop"></span>
<span class="bgbottom"></span>
<img alt="hr-890-45.hd-629-1.ch-665-62.lg-720-71.sh-725-62.he-1602-71.ca-1805-71" src="<?php echo $avatar; echo $row['look']; ?>/habbo-imaging/avatarimage?figure=hr-890-45.hd-629-1.ch-665-62.lg-720-71.sh-725-62.he-1602-71.ca-1805-71" width="64" height="110"/>
</li>
<li>
<span class="bgtop"></span>
<span class="bgbottom"></span>
<img alt="hr-890-39.hd-629-1.ch-665-62.lg-720-81.sh-725-62.he-1605-77.ca-1805-81" src="<?php echo $avatar; echo $row['look']; ?>/habbo-imaging/avatarimage?figure=hr-890-39.hd-629-1.ch-665-62.lg-720-81.sh-725-62.he-1605-77.ca-1805-81" width="64" height="110"/>
</li> </ul>
<p sttyle="clear: left;">
Não gosta de nenhum desses?
<br/><span class="help">Não se preocupe - dá pra mudar seu visual depois.</span></p>
</div>
<h3>Apenas mais uma coisinha de segurança antes:</h3>
<div id="captcha-image-container">
<div id="recaptcha_image"><img src="<?php echo $path; ?>/captcha/captcha.php"></div>
</div>
<div class="delimiter_smooth">
<div class="flat"> </div>
<div class="arrow"> </div>
<div class="flat"> </div>
</div>
<div id="inner-container">
<form id="captcha-form" method="post" action="<?php echo $path; ?>/quickregister/captcha_submit" onsubmit="Overlay.show(null,'Carregando...');">
<div id="recaptcha-input-title">Digite oque você vê abaixo:</div>
<div id="recaptcha-input">
<input type="text" tabindex="2" name="captchaResponse" id="recaptcha_response_field">
</div>
<input type="hidden" id="avatarFigure" name="bean.figure" value=""/>
</form>
</div>
<div id="select">
<a href="<?php echo $path; ?>/quickregister/back" id="back-link">Voltar</a>
<div class="button">
<a id="proceed-button" href="#" class="area">Pronto!</a>
<span class="close"></span>
</div>
</div>
<script type="text/javascript">
document.observe("dom:loaded", function() {
Event.observe($("back-link"), "click", function() {
Overlay.show(null,'Carregando...');
});
Event.observe($("proceed-button"), "click", function() {
Overlay.show(null,'Carregando...');
$("captcha-form").submit();
});
$("captcha-form").focus();
QuickRegister.initAvatarChooser();
});
</script>
<script type="text/javascript">
HabboView.run();
</script>
</body>
</html>
Logo substituindo, Feche tudo salve e de CTRL + R Na sua cms, e teste, se funcionou de um + Se haver algum problema, troque sua Db pela Orion v3 que o Kiler está disponibilizando nesse tópico
- Código:
http://www.power-pixel.net/t56260-orion-swf-30plus-fixed
Até Mais.