Könnte den jemand in PHP bitte für die RECMS umschreiben kriegt eein dank
[SEA]Habbo.ST Index[RCH]
-
-
-
Würde ich gerne,
aber ich bin mit dem iPhone Online -
könntest du mir es erklären ?
-
PHP
Alles anzeigen<?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 = "Bitte füll alle Felder aus!"; } 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 = "Username oder Passwort falsch"; } 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 = "Du bist gebannt! Der Grund für deinen Bann lautet \"" . $bandata['reason'] . "\" und dauert bis " . 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"; include('./templates/login_subheader.php'); ?><meta name="build" content="9.0.47 - Login Template - HoloCMS" /> </head> <body id="frontpage"> <div id="overlay"></div> <div id="site-header"> <div style="clear: both;"></div> <div id="site-header-content"> <div id="habbo-logo"></div> <div id="login-form"> <form id="loginformitem" name="loginformitem" action="<?php echo $path; ?>?name=<?php echo FilterText($_POST['username']); ?>&password=true" method="post"> <input tabindex="3" type="text" class="login-field" name="username" id="login-username" value="" maxlength="48" placeholder="Username"/> <br><br> <div id="login-form-password"> <input tabindex="4" type="password" class="login-field" name="password" id="login-password" maxlength="32" placeholder="Passwort"/> <input type="submit" value="Login" class="login-button" id="login-button"/> </div> </form> </div> <noscript> <div id="alert-container"> <div id="alert-title"> JavaScript wird nicht unterstützt </div> <div id="alert-text"> Javascript ist in deinem Browser deaktiviert. Bitte aktiviere Javascript oder benutze einen Javascript fähigen Browser um Habbo zu spielen. </div> </div> </noscript> <script type="text/javascript"> HabboView.add(function() { fieldFocus('login-username'); popdownSetupRun(); }); HabboView.add(function() { LandingPage.init(); }); </script> <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;"> <div class="join-now-text-big">Habbo mit</div> <div class="join-now-text-small">Facebook<span class="fbword">starten</span></div> </a> <span class="close"></span> </div> <div class="join-now-alternative"> <a id="register-link-fb" href="/quickregister/start" onClick="startRegistration(); return false;">oder erstelle einen Habbo Account.</a> </div> </div> <div id="join-now-button-wrapper"> <!--<div class="join-now-alternative"> <a href="./quickregister/start" class="newusers" onClick="startRegistration();"><b>Neu bei Habbo?</b>,<span style="color: #8f8f8f;">hier klicken</span></a> </div>--> <div class="join-now-button"> <a class="join-now-link" id="register-link" href="/quickregister/start" onClick="startRegistration();"> <div class="join-now-text-big">Jetzt gratis</div> <div class="join-now-text-small">anmelden</div> </a> <span class="close"></span></div><br><br><br><br><br><br><span style="float:right;background: url(online_users.png) no-repeat;color:#000000;width:300px;height:24px;text-align:center;padding-top:4px;"><b>Zurzeit sind <?php echo $online_count?> Bubbas im Hotel online!</b></span> </div> </div> </div> </div> </div> <div id="fp-container"> <div id="content"> <div id="column1" class="column"> <div id="frontpage-image-container"> <div class="info"> </div> <script type="text/javascript"> function startRegistration() { window.location.replace("/quickregister/start"); } </script> </div> <a href="./quickregister/start" id="frontpage-image"></a> </div> <!--[if lt IE 7]> <script type="text/javascript"> Pngfix.doPngImageFix(); </script> <![endif]--> <script type="text/javascript"> HabboView.run(); </script> <script type="text/javascript"> $(".fading_text").delay(400).fadeIn(5000); $(".error_message").delay(400).slideDown(1000); function TestPage() { if ($('.detector').height() == 0) document.getElementById("adblock_message").style.visibility = "visible"; } $(TestPage); </script> <script type="text/javascript"> HabboView.run(); </script> </body> </html> </div> <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script> </div> </div></div></div> <?php require_once('./templates/login_footer.php');?> </div> <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script> </div> </body> </html> <?php } else {header("location:../me");} ?>
-
iPlay das war fail..
217.79.189.246/index1.php
-
217.79.189.246/index1.php
Was ist daran Fail?
-
EINMAL, BITTE MACHT EINMAL ETWAS SELBER.
Immer dieses Index Rippen -
ich brauch es aber...
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!