Hallo,
wenn ich auf quickregister/start gehe muss man ja Geburtsdatum und Geschlecht angeben und dann auf weiter klicken.
Aber wenn ich auf weiter klicke passiert nix.Ich glaube das der "Weiter" button auf die quickregister/start leitet und nicht auf die quickregister/email_password
Könnte mir jemand helfen,schnell bitte
Register Problem
-
-
-
Source?
-
Screens? Register code?
-
<body id="client" class="background-agegate">
<div id="overlay"></div>
<img src="<?php echo $path; ?>/web-gallery/v2/images/page_loader.gif" style="position:absolute; margin: -1500px;" /><div id="change-password-form" style="display: none;">
<div id="change-password-form-container" class="clearfix">
<div id="change-password-form-title" class="bottom-border">Olvidaste tu contrasena?</div>
<div id="change-password-form-content" style="display: none;"><form method="post" action="<?php echo $path; ?>/account/password/identityResetForm" id="forgotten-pw-form">
<input type="hidden" name="page" value="<?php echo $path; ?>/quickregister/start?changePwd=true" />
<span>Ingrese su direccion de correo electronico:</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;">Dieses Fenster dient dazu, deine Login Daten vor Phisingversuchen zu schützen.Bitte versichere dich, dass die URL in der Adresszeile mit <?php echo $path; ?>/ beginnt und brich diesen Dialog ab, wenn du eine andere Adresse siehst.</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>Escribe email</b><i></i></a>
</div>
</div>
<div id="change-password-email-sent-notice" style="display: none;">
<div class="bottom-border">
<span>Un mail con un enlace que usted puede personalizar su contraseña ha sido enviada a su dirección.</span>
<div id="email-sent-container"></div>
</div>
<div class="change-password-buttons">
<a href="#" id="change-password-change-link">Volver</a>
<a href="#" id="change-password-success-button" class="new-button"><b>Cerrar</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>
<link rel="stylesheet" href="<?php echo $path; ?>/web-gallery/v2/styles/quickregister.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $path; ?>/web-gallery/v2/styles/forcedemaillogin.css" type="text/css" /><div id="stepnumbers">
<div class="step1focus">Geburtsdatum und Geschlecht</div>
<div class="step2">Account Informationen</div>
<div class="step3">Sicherheits Check</div>
<div class="stephabbo"></div>
</div><div id="main-container">
<?php if(mysql_num_rows($ip_check) > 3){ ?>
<div id="error-messages-container" class="cbb">
<div class="rounded" style="background-color: #cb2121;">
<div id="error-title" class="error">Warnung:<br><br>Du stehst im verdacht zu Klonen, und kannst dich deshalb nicht mehr Registrieren!
<br><br>IP: <?php echo $remote_ip; ?>
<br>Max. Erlaubte Accounts PRO IP: 3
<br>Gefundene Accounts: <?php echo mysql_num_rows($ip_check); ?> - <br><br><?php while($row = mysql_fetch_assoc($ip_check)){ echo $row['username']; echo" (ID: ".$row['id'].") <br>"; } ?></div></div></div>
<?php } else { if(isset($errors)){ ?>
<div id="error-messages-container" class="cbb">
<div class="rounded" style="background-color: #cb2121;">
<div id="error-title" class="error"><?php echo $errors; ?>
</div></div></div>
<?php } ?><form id="quickregisterform" method="post" action="<?php echo $path; ?>/quickregister/age_gate_submit">
<div id="title">
Geburtsdatum und Geschlecht
</div><div id="date-selector">
<div id="agegate-notice"><span style="font-size:12px; color: #00ccff;">Bitte gib ein <b>gültiges </b>Geburtsdatum </span> an</div><select name="bean.day" id="bean_day" class="dateselector"><option value="">Tag</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="">Monat</option><option value="1">Januar</option><option value="2">Februar</option><option value="3">März</option><option value="4">April</option><option value="5">Mai</option><option value="6">Juni</option><option value="7">Juli</option><option value="8">August</option><option value="9">September</option><option value="10">Oktober</option><option value="11">November</option><option value="12">Dezember</option></select> <select name="bean.year" id="bean_year" class="dateselector"><option value="">Jahr</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">
<div class="select_gender boy selected"><div class="select-container">
<input type="radio" id="radio-button-boy" name="bean.gender" value="male" checked="checked"/>
<label for="radio-button-boy">Junge</label>
</div>
<div class="silhouette">
<img src="<?php echo $path; ?>/web-gallery/v2/images/frontpage/silhouette_boy.png"/>
</div>
</div><div class="select_gender girl">
<div class="select-container">
<input type="radio" id="radio-button-girl" name="bean.gender" value="female" />
<label for="radio-button-girl">Mädchen</label>
</div>
<div class="silhouette">
<img src="<?php echo $path; ?>/web-gallery/v2/images/frontpage/silhouette_girl.png"/>
</div></div>
</div>
</div>
</form><div id="select">
<a id="back-link" href="/">Zurück</a>
<div class="button">
<a id="proceed" href="#" class="area">Weiter</a><span class="close"></span>
</div>
</div>
</div><?php } ?>
<script type="text/javascript">
L10N.put("identity.register.overlay.loading.text", 'Laden...');
document.observe("dom:loaded", function() {
QuickRegister.initAgeGate(true);
});
</script><script type="text/javascript">
HabboView.run();
</script></body>
</html> -
Versuch mal den das ist richtig gut! versuch es:
<?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 (!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 = "Gib uns bitte gültige Daten an.";}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 = "Gib uns bitte gültige Daten an.";
}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']);
$email2 = FilterText($_POST['bean_retypedEmail']);
$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);$first = substr($name, 0, 4);
// NAME CHECK
if(strnatcasecmp($first,"MOD-") == false) {
$errors = "Dieser Username ist ungültig";
}elseif($tmp > 0){
$errors = "Der Name ist leider vergeben!";
}elseif($filter !== $name){
$errors = "Dieser Username ist ungültig.";
}elseif(strlen($name) > 12){
$errors = "Dieser Username ist zulang.</p></div>";// E-MAIL CHECK
}elseif($email_check !== 1){
$errors = "Ungültige E-Mail Adresse";
}elseif(strlen($email) < 6){
$errors = "Ungültige E-Mail Adresse";
}elseif($email !== $email2){
$errors = "Die Email-Adressen stimmen nicht überein";// PASSWORT CHECK
}elseif($pass1 !== $pass2){
$errors = "Die Passwörter stimmen nicht überein";
}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 = "Bitte akzeptiere die Nutzungsbedienung";
}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 = "Der Sicherheitscode war leider nicht korrekt. Bitte versuch es noch einmal.";
}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 = 'hd-180-1.ch-210-66.lg-270-82.sh-290-91.hr-100-';
$gender = 'F';
}mysql_query("INSERT INTO `users` (username,real_name,password,auth_ticket,motto,mail,rank,vip,look,gender,account_created,last_online,online,ip_last,ip_reg,working,secretcode,mymusik) VALUES ('".$_SESSION['jjp']['register'][2]['name']."','".$sitename."','".HoloHashMD5($_SESSION['jjp']['register'][2]['pass'])."','-/-','','".$_SESSION['jjp']['register'][2]['email']."','1','0','".$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.php");
exit;
}require_once('./templates/register_subheader.php');
require_once('./templates/quickregister/page-register-3.php');
exit;
break;
}?>
-
Versuch mal den das ist richtig gut! versuch es:
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 (!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 = "Gib uns bitte gültige Daten an.";}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 = "Gib uns bitte gültige Daten an.";
}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']);
$email2 = FilterText($_POST['bean_retypedEmail']);
$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);$first = substr($name, 0, 4);
// NAME CHECK
if(strnatcasecmp($first,"MOD-") == false) {
$errors = "Dieser Username ist ungültig";
}elseif($tmp > 0){
$errors = "Der Name ist leider vergeben!";
}elseif($filter !== $name){
$errors = "Dieser Username ist ungültig.";
}elseif(strlen($name) > 12){
$errors = "Dieser Username ist zulang.";// E-MAIL CHECK
}elseif($email_check !== 1){
$errors = "Ungültige E-Mail Adresse";
}elseif(strlen($email) < 6){
$errors = "Ungültige E-Mail Adresse";
}elseif($email !== $email2){
$errors = "Die Email-Adressen stimmen nicht überein";// PASSWORT CHECK
}elseif($pass1 !== $pass2){
$errors = "Die Passwörter stimmen nicht überein";
}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 = "Bitte akzeptiere die Nutzungsbedienung";
}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 = "Der Sicherheitscode war leider nicht korrekt. Bitte versuch es noch einmal.";
}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 = 'hd-180-1.ch-210-66.lg-270-82.sh-290-91.hr-100-';
$gender = 'F';
}mysql_query("INSERT INTO `users` (username,real_name,password,auth_ticket,motto,mail,rank,vip,look,gender,account_created,last_online,online,ip_last,ip_reg,working,secretcode,mymusik) VALUES ('".$_SESSION['jjp']['register'][2]['name']."','".$sitename."','".HoloHashMD5($_SESSION['jjp']['register'][2]['pass'])."','-/-','','".$_SESSION['jjp']['register'][2]['email']."','1','0','".$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.php");
exit;
}require_once('./templates/register_subheader.php');
require_once('./templates/quickregister/page-register-3.php');
exit;
break;
}?>
Wenn ich auf Registrieren drücke auf der Startseite ladet die seite zwar aber bleibt schwarz
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!