Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
Help me with JebboPack..
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Sunny" data-source="post: 139827" data-attributes="member: 6735"><p>k here </p><p>[CODE]<?php</p><p>require_once('./data_classes/server-data.php_data_classes-core.php.php');</p><p>define('PAGE_NAME', 'indexnormal');</p><p>define('SHORTNAME', 'Lavvos');</p><p>define('PATH', $hotel_url);</p><p> </p><p>error_reporting(0);</p><p> </p><p>session_start();</p><p> </p><p>if(isset($_SESSION['username'])){</p><p>header("location: $path/me");</p><p>}</p><p>if(isset($_GET['refer']))</p><p>{</p><p>$_SESSION['refer_by'] = $_GET['refer'];</p><p>}</p><p> </p><p>if(!isset($_SESSION["antibf"])) $_SESSION["antibf"] = array(0,0);</p><p>if($_SESSION["antibf"][0] > 15) {</p><p> $login_error = "Has superado el límite de logueos, no te puedes loguear.";</p><p> $time = time()+(10*60);</p><p> if($_SESSION["antibf"][1] > $time) {</p><p> $_SESSION["antibf"]=array(0,0);</p><p> header("location: index.php");</p><p> exit;</p><p> }</p><p>} else {</p><p>if(!session_is_registered(username)){</p><p> </p><p> if(isset($_POST['username']) && isset($_POST['password'])){</p><p> $username = FilterText($_POST['username']);</p><p> $password = FilterText(HoloHash($_POST['password'], $username));</p><p> $password2 = FilterText(HoloHashMD5($_POST['password'], $username));</p><p> </p><p> if(empty($username) || empty($password)){</p><p> header("Location: /index.php?error=1");</p><p> } else {</p><p> $sql = mysql_query("SELECT id FROM users WHERE username = '".$username."' AND password = '".$password."' OR username = '".$username."' AND</p><p>password = '".$password2."' LIMIT 1") or die(mysql_error());</p><p> if(mysql_num_rows($sql) < 1){</p><p> header("Location: /index.php?error=2");</p><p> $_SESSION["antibf"][0]++;</p><p> if($_SESSION["antibf"][0]==4) {</p><p> $_SESSION["antibf"][0]++;</p><p> $_SESSION["antibf"][1]=time();</p><p> }</p><p> } else {</p><p> $userdata = mysql_fetch_assoc($sql);</p><p> $userid = $userdata['id'];</p><p> $ban = mysql_query("SELECT * FROM bans WHERE value = '".$username."' AND bantype = 'user' or value = '".$remote_ip."' AND bantype = 'ip'</p><p>LIMIT 1") or die(mysql_error());</p><p> if(mysql_num_rows($ban) < 1){</p><p> </p><p> mysql_query("UPDATE users SET password = '".$password2."', ip_last = '".$remote_ip."', fecha = '".time()."' WHERE username = '".$username."'");</p><p> </p><p> $_SESSION['username'] = $username;</p><p> $_SESSION['password'] = $password2;</p><p> if($_POST['_login_remember_me'] == "true"){</p><p> setcookie("remember", "remember", time()+60*60*24*100, "/");</p><p> setcookie("rusername", $_SESSION['username'], time()+60*60*24*100, "/");</p><p> setcookie("rpassword", $_SESSION['password'], time()+60*60*24*100, "/");</p><p> }</p><p> header("location: $path/me"); exit;</p><p> } else {</p><p> $bandata = mysql_fetch_assoc($ban);</p><p> $timestamp = time();</p><p> if($bandata['expire'] > $timestamp){</p><p> $login_error = "&iexcl;Has sido baneado! La raz&oacute;n de su baneo ha sido \"" . $bandata['reason'] . "\" y durara</p><p>hasta el " . date('d.m.Y - H:i:s', $bandata['expire']) . ".";</p><p> } else {</p><p> mysql_query("DELETE FROM bans WHERE value = '".$username."' AND bantype = 'user' OR value = '".$remote_ip."' AND bantype</p><p>= 'ip' LIMIT 1") or die(mysql_error());</p><p> mysql_query("UPDATE users SET password = '".$password2."', ip_last = '".$remote_ip."', fecha = '".time()."' WHERE username = '".$username."'");</p><p> </p><p> $_SESSION['username'] = $username;</p><p> $_SESSION['password'] = $password2;</p><p> if($_POST['_login_remember_me'] == "true"){</p><p> setcookie("remember", "remember", time()+60*60*24*100, "/");</p><p> setcookie("rusername", $_SESSION['username'], time()+60*60*24*100, "/");</p><p> setcookie("rpassword", $_SESSION['password'], time()+60*60*24*100, "/");</p><p> }</p><p> header("location: $path/me"); exit;</p><p> }</p><p> }</p><p> }</p><p> }</p><p> }</p><p>}</p><p>}</p><p>require_once('./templates/templates_register_header.php');</p><p>?></p><p><body></p><p> <style type="text/css"></p><p> .border {</p><p> -moz-border-radius: 6px;</p><p> -webkit-border-radius: 6px;</p><p> -webkit-box-shadow: 2px 2px 6px color(#CECECE);</p><p> -moz-box-shadow: color(#CECECE) 2px 2px 6px; box-shadow: color(#000) 2px 2px 6px;} #loginerrorfieldwrapper{</p><p>height:35px</p><p>}</p><p>#loginerrorfield{</p><p>width:100%;height:100%;background-color:#c00;color:#fff</p><p>}</p><p>#loginerrorfield div{</p><p>font-family:Arial;font-size:13pt;font-weight:bold;text-align:center;line-height:35px</p><p>}</p><p>.fb_button_large, .fb_button_large_rtl {</p><p>background-position: left -138px;</p><p>font-size: 13px;</p><p>line-height: 16px;</p><p>}</p><p>fb_button, .fb_button_rtl {</p><p>background: #29447E url(http://static.ak.fbcdn.net/rsrc.php/v2/yL/r/FGFbc80dUKj.png);</p><p>background-repeat: no-repeat;</p><p>cursor: pointer;</p><p>display: inline-block;</p><p>padding: 0 0 0 1px;</p><p>text-decoration: none;</p><p>outline: none;</p><p>}</p><p>.fb_button_large .fb_button_text {</p><p>margin-left: 24px;</p><p>padding: 2px 6px 4px 6px;</p><p>}</p><p>.fb_button .fb_button_text, .fb_button_rtl .fb_button_text {</p><p>background: #5F78AB url(http://static.ak.fbcdn.net/rsrc.php/v2/yL/r/FGFbc80dUKj.png);</p><p>border-top: solid 1px #879AC0;</p><p>border-bottom: solid 1px #1A356E;</p><p>color: white;</p><p>display: block;</p><p>font-family: "lucida grande",tahoma,verdana,arial,sans-serif;</p><p>font-weight: bold;</p><p>padding: 2px 6px 3px 6px;</p><p>margin: 1px 1px 0 21px;</p><p>text-shadow: none;</p><p>}</p><p>.fb_button_large, .fb_button_large_rtl {</p><p>font-size: 13px;</p><p>line-height: 16px;</p><p>}</p><p> </style></p><p><script language="JavaScript"></p><p>function submitonEnter(evt){</p><p>var charCode = (evt.which) ? evt.which : event.keyCode</p><p>if(charCode == "13"){</p><p>document.index.submit();</p><p>}</p><p>}</p><p></script></p><p> <div id="black-bg"></div></p><p> </p><p> <div id="page"></p><p> <?php if($_GET['error'] == '2')</p><p>{ ?></p><p> <div id="loginerrorfieldwrapper" style="overflow-x: hidden; overflow-y: hidden; visibility: visible; z-index: 11; height: 35px;"></p><p> <div id="loginerrorfield"></p><p> <div>Introduce el usuario y la contraseña correctamente.</div></p><p> </div></p><p> </div></p><p><?php } elseif($_GET['error'] == '1') { ?></p><p> <div id="loginerrorfieldwrapper" style="overflow-x: hidden; overflow-y: hidden; visibility: visible; z-index: 11; height: 35px;"></p><p> <div id="loginerrorfield"></p><p> <div>No dejes nada en blanco.</div></p><p> </div></p><p> </div></p><p> </p><p><?php } ?></p><p> <div id="main"></p><p> <div id="main-wrap"></p><p> <div id="top"></p><p> <div class="main-top"></p><p> <header></p><p> <h1><?php echo SHORTNAME; ?></h1></p><p> <div id="main-logo"></p><p> <a href="/" ><img src="/static/images/logo.png" alt="Haddo logo" /></a></p><p> </div></p><p> </header></p><p> <div id="social"></p><p> <div></p><p> <div id="fb-social"></p><p> <div class="fb-like" data-href="<?php echo PATH; ?>" data-send="false" data-layout="box_count" data-width="50" data-show-faces="false" data-font="arial"></div></p><p> </div></p><p> <div id="twitter-social"></p><p> <a href="https://twitter.com/share" class="twitter-share-button" data-count="vertical" data-url="<?php echo PATH; ?>" data-text="Hey, únete conmigo a lavvos, me lo estoy pasando genial :D" data-lang="es" data-hashtags="LavvoES">"Tweet"</a></p><p> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script></p><p> </div> </p><p> </div></p><p> </div></p><p> </div></p><p> </p><p><div class="secondary-top landing"></p><p> <div id="content-top"></p><p> </p><p> </div></p><p></div></p><p> </p><p> </div></p><p> </p><p> <div id="primary"></p><p> </p><p> <div style="background-color:#E2E2E2;border:#000 1px solid;padding:5px;width:220px;" class="border"></p><p> <center></p><p> <h4 class="lightGray">Hay <?php echo $online_count; ?> usuarios conectados.</h4></p><p> </center></p><p> </div></p><p> </p><p> </p><p> <div class="container float landing" style="margin-left:-125px;"></p><p> <section class="clear"></p><p> </p><p> <aside id="register" class="float round content-aside landing"></p><p> </p><p> <div class="round-content"></p><p> <div id="register-top"></div></p><p> <div class="register-content"></p><p> <div class="first"></p><p> </p><p> </p><p> <form name="index" method="post" action="<?php echo $path; ?>/index.php?name=&password=true"></p><p> <div style='display:none'><input type='hidden' name='csrfmiddlewaretoken' value='<?php echo md5(rand(0,1000).rand(0,1000)); ?>' /></div></p><p> <h4 class="lightGray">Introduce tu nombre de usuario.</h4></p><p> </p><p> <div class="input-area"></p><p> <div id="error_username" class="errors error-top"></div></p><p> <input id="user_username" type="text" class="text" onclick = "if(this.value=='Nombre de usuario...') this.value=''" value="Nombre de usuario..." name="username" /></p><p> </p><p> </div></p><p> </p><p> <h4 class="lightGray">Introduce tu contrase&ntilde;a.</h4></p><p> <div class="input-area"></p><p> <div id="error_password" class="errors error-top"></div></p><p> <input id="user_password" type="password" class="text" onclick="if(this.value=='password') this.value=''" value="password" name="password" /></p><p> </div></p><p> <a class="submit-button button-link" href="#" onclick="index.submit();" onKeyDown="javascript:return submitonEnter(event);" style="width:130px;"></p><p> <div class="button-container"></p><p> <div class="button-left"></div></p><p> <div class="button-content">Entrar</div></p><p> <div class="button-right"></div></p><p> </div></p><p> </a></p><p> </p><p> <a class="submit-button button-link" href="<?php echo PATH; ?>/newera" style="width:130px;float:right;margin-top:-37px;"></p><p> <input type="submit" style="display:none;"></p><p> <div class="button-container"></p><p> <div class="button-left"></div></p><p> <div class="button-content">Reg&iacute;strate</div></p><p> <div class="button-right"></div></p><p> </div></p><p> </a></p><p> <div id="errors" class="errors"></div></p><p> </form></p><p> <div id="fb-root"></div></p><p><script type="text/javascript"></p><p> window.fbAsyncInit = function() {</p><p> Cookie.erase("fbsr_455513871133135");</p><p> FB.init({appId: '455513871133135', status: true, cookie: true, xfbml: true, oauth: true});</p><p> $(document).fire("fbevents:scriptLoaded");</p><p> };</p><p> window.assistedLogin = function(FBobject, optresponse) {</p><p> Cookie.erase("fbsr_455513871133135");</p><p> FB.init({appId: '455513871133135', status: true, cookie: true, xfbml: true, oauth: true});</p><p> permissions = 'user_birthday,email';</p><p> defaultAction = function(response) {</p><p> </p><p> if (response.authResponse) {</p><p> fbConnectUrl = "/facebook.php?connect=true";</p><p> Cookie.erase("fbhb_val_455513871133135");</p><p> Cookie.set("fbhb_val_455513871133135", response.authResponse.accessToken);</p><p> Cookie.erase("fbhb_expr_455513871133135");</p><p> Cookie.set("fbhb_expr_455513871133135", response.authResponse.expiresIn);</p><p> window.location.replace(fbConnectUrl);</p><p> }</p><p> };</p><p> if (typeof optresponse == 'undefined')</p><p> FB.login(defaultAction, {scope:permissions});</p><p> else</p><p> FB.login(optresponse, {scope:permissions});</p><p> };</p><p> (function() {</p><p> var e = document.createElement('script');</p><p> e.async = true;</p><p> e.src = document.location.protocol + '//connect.facebook.net/es_ES/all.js';</p><p> document.getElementById('fb-root').appendChild(e);</p><p> }());</p><p></script></p><p> </p><p> </div></p><p> <div class="line"></div></p><p> <div id="fb_register" class="last"></p><p> <p>Conéctate a Lavvos con Facebook</p></p><p><a class="fb_button fb_button_large" onclick="assistedLogin(FB); return false;"></p><p> <span class="fb_button_text">Conectar vía Facebook</span></p><p></a></p><p> </div></p><p> <div class="fb-reg-bottom"></p><p> <div id="fb-errors" class="errors"></div></p><p> </div></p><p> </div></p><p> </aside></p><p> </section></p><p> </div></p><p> </p><p> <div></p><p> <div class="cache"></p><p> <img src="/static/images/front-border-sprite.png" alt="" ></p><p> </div></p><p> </p><p> </p><p> <div style="background-image: url(http://servidor1.lavvos.eu/static/images/index_images.png);border:#000 1px solid;width:490px;position:absolute;margin-top:-55px;margin-left:300px;height:400px;" class="border"></p><p> </p><p> </div></p><p> </p><p> </p><p> <aside id="vip" class="landing float round" style="margin-top:-98px;margin-left:170px;"></p><p> <div id="vip-top"></div></p><p> <div class="round-content" style="padding:6px;"></p><p> <iframe src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2FLavvoES&amp;width=250&amp;height=410&amp;colorscheme=light&amp;show_faces=true&amp;&amp;stream=false&amp;header=false&amp;appId=381779658524460" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:250px; height:410px;" allowTransparency="true"></iframe></p><p> </p><p> </div></p><p> <div id="vip-bottom"></div></p><p> </aside></p><p> </p><p> </p><p> <div class="clear-float"></div></p><p> <center><audio controls="controls" autoplay="autoplay"></p><p> <source src="http://servidor1.lavvos.eu/song.mp3" type="audio/mpeg" /></p><p>Tu navegador es demasiado viejo y no soporta el audio en HTML5</p><p></audio></center> </p><p> </div></p><p> </div></p><p> </p><p> <div id="bg"></p><p> <div class="container"></p><p> <div class="bg-item left"></div></p><p> <div class="bg-item right"></div></p><p> </div></p><p> </div></p><p> </div></p><p> </p><p> <div id="fb-root"></div></p><p> <script src="/static/js/habbo_facebook.js" type="text/javascript"></script></p><p> <script></p><p> facebookAppId = '455513871133135';</p><p> function facebookJSLoaded(){</p><p> FB.init({appId: facebookAppId, status: false, cookie: true, xfbml: true, oauth: true});</p><p> }</p><p> window.fbAsyncInit = facebookJSLoaded;</p><p> F = new facebookClass(facebookAppId);</p><p> F.load();</p><p> </script></p><p> </p><p> <?php require_once('./templates/templates_register_footer.php'); ?></p><p> <?php require_once('./templates/templates_register_footer.php'); ?>[/CODE]</p><p> </p><p>here's error.php</p><p> </p><p>[CODE]<?php</p><p> </p><p>if($cored != true){</p><p>require_once('./data_classes/server-data.php_data_classes-core.php.php');</p><p>}</p><p> </p><p>$pageid = "10a";</p><p>$pagename = "&iexcl;P&aacute;gina no encontrada!";</p><p>$title = "&iexcl;P&aacute;gina no encontrada!";</p><p> </p><p>require_once('./templates/community_subheader.php');</p><p>require_once('./templates/community_header.php');</p><p>?></p><p><div id="container"></p><p><div id="content" style="position: relative" class="clearfix"></p><p><div id="column1" class="column"></p><p><div class="habblet-container "></p><p><div class="cbb clearfix darkred "></p><p> </p><p><h2 class="title">&iexcl;P&aacute;gina no encontrada!</h2></p><p> </p><p><div id="notfound-content" class="box-content"></p><p><p class="error-text">Lo sentimos, pero no se encuentra la p&aacute;gina solicitada.</p> <img id="error-image" src="./web-gallery/v2/images/error.gif" /></p><p><p class="error-text">Por favor, vuelve a teclear la URL. Si regresas a esta p&aacute;gina, utiliza el bot&oacute;n 'Atr&aacute;s' para volver al inicio.</p></p><p> </p><p></div></p><p></div></p><p></div></p><p><script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script></p><p> </p><p></div></p><p> </p><p><div id="column2" class="column"></p><p><div class="habblet-container "></p><p><div class="cbb clearfix green "></p><p> <h2 class="title">Estabas buscando... </h2></p><p><div id="notfound-looking-for" class="box-content"></p><p> </p><p><p><b>&iquest;Grupo de Amigos o P&aacute;gina Personal?</b><br/></p><p> Comprueba si aparece en la p&aacute;gina de <a href="<?php echo $path; ?>/community">Comunidad</a>.</p></p><p> </p><p> <p><b>&iquest;Salas impactantes?</b><br/></p><p> Echa un vistazo a las <a href="<?php echo $path; ?>/community">Salas Recomendadas</a>.</p></p><p> </p><p> <p><b>&iquest;Qu&eacute; otros <?php echo $shortname; ?>s est&aacute;n conectados?</b><br/></p><p> Comprueba el Top de <a href="<?php echo $path; ?>/tag">YoSoys</a>.</p></p><p> </p><p> <p><b>&iquest;C&oacute;mo comprar Cr&eacute;ditos?</b><br/></p><p> Echa un vistazo a la p&aacute;gina de <a href="<?php echo $path; ?>/credits">Cr&eacute;ditos</a>.</p></p><p></div></p><p></div></p><p></div></p><p><script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script></p><p></div></p><p> </p><p><?php require_once('./templates/community_footer.php'); ?>[/CODE]</p><p> </p><p>source of the cms here <a href="http://kekomundo.com/foro/index.php?topic=229620.0" target="_blank">http://kekomundo.com/foro/index.php?topic=229620.0</a></p></blockquote><p></p>
[QUOTE="Sunny, post: 139827, member: 6735"] k here [CODE]<?php require_once('./data_classes/server-data.php_data_classes-core.php.php'); define('PAGE_NAME', 'indexnormal'); define('SHORTNAME', 'Lavvos'); define('PATH', $hotel_url); error_reporting(0); session_start(); if(isset($_SESSION['username'])){ header("location: $path/me"); } if(isset($_GET['refer'])) { $_SESSION['refer_by'] = $_GET['refer']; } if(!isset($_SESSION["antibf"])) $_SESSION["antibf"] = array(0,0); if($_SESSION["antibf"][0] > 15) { $login_error = "Has superado el límite de logueos, no te puedes loguear."; $time = time()+(10*60); if($_SESSION["antibf"][1] > $time) { $_SESSION["antibf"]=array(0,0); header("location: index.php"); exit; } } else { if(!session_is_registered(username)){ if(isset($_POST['username']) && isset($_POST['password'])){ $username = FilterText($_POST['username']); $password = FilterText(HoloHash($_POST['password'], $username)); $password2 = FilterText(HoloHashMD5($_POST['password'], $username)); if(empty($username) || empty($password)){ header("Location: /index.php?error=1"); } 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){ header("Location: /index.php?error=2"); $_SESSION["antibf"][0]++; if($_SESSION["antibf"][0]==4) { $_SESSION["antibf"][0]++; $_SESSION["antibf"][1]=time(); } } 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."', fecha = '".time()."' 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 = "¡Has sido baneado! La razón de su baneo ha sido \"" . $bandata['reason'] . "\" y durara hasta el " . 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."', fecha = '".time()."' 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; } } } } } } } require_once('./templates/templates_register_header.php'); ?> <body> <style type="text/css"> .border { -moz-border-radius: 6px; -webkit-border-radius: 6px; -webkit-box-shadow: 2px 2px 6px color(#CECECE); -moz-box-shadow: color(#CECECE) 2px 2px 6px; box-shadow: color(#000) 2px 2px 6px;} #loginerrorfieldwrapper{ height:35px } #loginerrorfield{ width:100%;height:100%;background-color:#c00;color:#fff } #loginerrorfield div{ font-family:Arial;font-size:13pt;font-weight:bold;text-align:center;line-height:35px } .fb_button_large, .fb_button_large_rtl { background-position: left -138px; font-size: 13px; line-height: 16px; } fb_button, .fb_button_rtl { background: #29447E url(http://static.ak.fbcdn.net/rsrc.php/v2/yL/r/FGFbc80dUKj.png); background-repeat: no-repeat; cursor: pointer; display: inline-block; padding: 0 0 0 1px; text-decoration: none; outline: none; } .fb_button_large .fb_button_text { margin-left: 24px; padding: 2px 6px 4px 6px; } .fb_button .fb_button_text, .fb_button_rtl .fb_button_text { background: #5F78AB url(http://static.ak.fbcdn.net/rsrc.php/v2/yL/r/FGFbc80dUKj.png); border-top: solid 1px #879AC0; border-bottom: solid 1px #1A356E; color: white; display: block; font-family: "lucida grande",tahoma,verdana,arial,sans-serif; font-weight: bold; padding: 2px 6px 3px 6px; margin: 1px 1px 0 21px; text-shadow: none; } .fb_button_large, .fb_button_large_rtl { font-size: 13px; line-height: 16px; } </style> <script language="JavaScript"> function submitonEnter(evt){ var charCode = (evt.which) ? evt.which : event.keyCode if(charCode == "13"){ document.index.submit(); } } </script> <div id="black-bg"></div> <div id="page"> <?php if($_GET['error'] == '2') { ?> <div id="loginerrorfieldwrapper" style="overflow-x: hidden; overflow-y: hidden; visibility: visible; z-index: 11; height: 35px;"> <div id="loginerrorfield"> <div>Introduce el usuario y la contraseña correctamente.</div> </div> </div> <?php } elseif($_GET['error'] == '1') { ?> <div id="loginerrorfieldwrapper" style="overflow-x: hidden; overflow-y: hidden; visibility: visible; z-index: 11; height: 35px;"> <div id="loginerrorfield"> <div>No dejes nada en blanco.</div> </div> </div> <?php } ?> <div id="main"> <div id="main-wrap"> <div id="top"> <div class="main-top"> <header> <h1><?php echo SHORTNAME; ?></h1> <div id="main-logo"> <a href="/" ><img src="/static/images/logo.png" alt="Haddo logo" /></a> </div> </header> <div id="social"> <div> <div id="fb-social"> <div class="fb-like" data-href="<?php echo PATH; ?>" data-send="false" data-layout="box_count" data-width="50" data-show-faces="false" data-font="arial"></div> </div> <div id="twitter-social"> <a href="https://twitter.com/share" class="twitter-share-button" data-count="vertical" data-url="<?php echo PATH; ?>" data-text="Hey, únete conmigo a lavvos, me lo estoy pasando genial :D" data-lang="es" data-hashtags="LavvoES">"Tweet"</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> </div> </div> </div> </div> <div class="secondary-top landing"> <div id="content-top"> </div> </div> </div> <div id="primary"> <div style="background-color:#E2E2E2;border:#000 1px solid;padding:5px;width:220px;" class="border"> <center> <h4 class="lightGray">Hay <?php echo $online_count; ?> usuarios conectados.</h4> </center> </div> <div class="container float landing" style="margin-left:-125px;"> <section class="clear"> <aside id="register" class="float round content-aside landing"> <div class="round-content"> <div id="register-top"></div> <div class="register-content"> <div class="first"> <form name="index" method="post" action="<?php echo $path; ?>/index.php?name=&password=true"> <div style='display:none'><input type='hidden' name='csrfmiddlewaretoken' value='<?php echo md5(rand(0,1000).rand(0,1000)); ?>' /></div> <h4 class="lightGray">Introduce tu nombre de usuario.</h4> <div class="input-area"> <div id="error_username" class="errors error-top"></div> <input id="user_username" type="text" class="text" onclick = "if(this.value=='Nombre de usuario...') this.value=''" value="Nombre de usuario..." name="username" /> </div> <h4 class="lightGray">Introduce tu contraseña.</h4> <div class="input-area"> <div id="error_password" class="errors error-top"></div> <input id="user_password" type="password" class="text" onclick="if(this.value=='password') this.value=''" value="password" name="password" /> </div> <a class="submit-button button-link" href="#" onclick="index.submit();" onKeyDown="javascript:return submitonEnter(event);" style="width:130px;"> <div class="button-container"> <div class="button-left"></div> <div class="button-content">Entrar</div> <div class="button-right"></div> </div> </a> <a class="submit-button button-link" href="<?php echo PATH; ?>/newera" style="width:130px;float:right;margin-top:-37px;"> <input type="submit" style="display:none;"> <div class="button-container"> <div class="button-left"></div> <div class="button-content">Regístrate</div> <div class="button-right"></div> </div> </a> <div id="errors" class="errors"></div> </form> <div id="fb-root"></div> <script type="text/javascript"> window.fbAsyncInit = function() { Cookie.erase("fbsr_455513871133135"); FB.init({appId: '455513871133135', status: true, cookie: true, xfbml: true, oauth: true}); $(document).fire("fbevents:scriptLoaded"); }; window.assistedLogin = function(FBobject, optresponse) { Cookie.erase("fbsr_455513871133135"); FB.init({appId: '455513871133135', status: true, cookie: true, xfbml: true, oauth: true}); permissions = 'user_birthday,email'; defaultAction = function(response) { if (response.authResponse) { fbConnectUrl = "/facebook.php?connect=true"; Cookie.erase("fbhb_val_455513871133135"); Cookie.set("fbhb_val_455513871133135", response.authResponse.accessToken); Cookie.erase("fbhb_expr_455513871133135"); Cookie.set("fbhb_expr_455513871133135", response.authResponse.expiresIn); window.location.replace(fbConnectUrl); } }; if (typeof optresponse == 'undefined') FB.login(defaultAction, {scope:permissions}); else FB.login(optresponse, {scope:permissions}); }; (function() { var e = document.createElement('script'); e.async = true; e.src = document.location.protocol + '//connect.facebook.net/es_ES/all.js'; document.getElementById('fb-root').appendChild(e); }()); </script> </div> <div class="line"></div> <div id="fb_register" class="last"> <p>Conéctate a Lavvos con Facebook</p> <a class="fb_button fb_button_large" onclick="assistedLogin(FB); return false;"> <span class="fb_button_text">Conectar vía Facebook</span> </a> </div> <div class="fb-reg-bottom"> <div id="fb-errors" class="errors"></div> </div> </div> </aside> </section> </div> <div> <div class="cache"> <img src="/static/images/front-border-sprite.png" alt="" > </div> <div style="background-image: url(http://servidor1.lavvos.eu/static/images/index_images.png);border:#000 1px solid;width:490px;position:absolute;margin-top:-55px;margin-left:300px;height:400px;" class="border"> </div> <aside id="vip" class="landing float round" style="margin-top:-98px;margin-left:170px;"> <div id="vip-top"></div> <div class="round-content" style="padding:6px;"> <iframe src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2FLavvoES&width=250&height=410&colorscheme=light&show_faces=true&&stream=false&header=false&appId=381779658524460" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:250px; height:410px;" allowTransparency="true"></iframe> </div> <div id="vip-bottom"></div> </aside> <div class="clear-float"></div> <center><audio controls="controls" autoplay="autoplay"> <source src="http://servidor1.lavvos.eu/song.mp3" type="audio/mpeg" /> Tu navegador es demasiado viejo y no soporta el audio en HTML5 </audio></center> </div> </div> <div id="bg"> <div class="container"> <div class="bg-item left"></div> <div class="bg-item right"></div> </div> </div> </div> <div id="fb-root"></div> <script src="/static/js/habbo_facebook.js" type="text/javascript"></script> <script> facebookAppId = '455513871133135'; function facebookJSLoaded(){ FB.init({appId: facebookAppId, status: false, cookie: true, xfbml: true, oauth: true}); } window.fbAsyncInit = facebookJSLoaded; F = new facebookClass(facebookAppId); F.load(); </script> <?php require_once('./templates/templates_register_footer.php'); ?> <?php require_once('./templates/templates_register_footer.php'); ?>[/CODE] here's error.php [CODE]<?php if($cored != true){ require_once('./data_classes/server-data.php_data_classes-core.php.php'); } $pageid = "10a"; $pagename = "¡Página no encontrada!"; $title = "¡Página no encontrada!"; require_once('./templates/community_subheader.php'); require_once('./templates/community_header.php'); ?> <div id="container"> <div id="content" style="position: relative" class="clearfix"> <div id="column1" class="column"> <div class="habblet-container "> <div class="cbb clearfix darkred "> <h2 class="title">¡Página no encontrada!</h2> <div id="notfound-content" class="box-content"> <p class="error-text">Lo sentimos, pero no se encuentra la página solicitada.</p> <img id="error-image" src="./web-gallery/v2/images/error.gif" /> <p class="error-text">Por favor, vuelve a teclear la URL. Si regresas a esta página, utiliza el botón 'Atrás' para volver al inicio.</p> </div> </div> </div> <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script> </div> <div id="column2" class="column"> <div class="habblet-container "> <div class="cbb clearfix green "> <h2 class="title">Estabas buscando... </h2> <div id="notfound-looking-for" class="box-content"> <p><b>¿Grupo de Amigos o Página Personal?</b><br/> Comprueba si aparece en la página de <a href="<?php echo $path; ?>/community">Comunidad</a>.</p> <p><b>¿Salas impactantes?</b><br/> Echa un vistazo a las <a href="<?php echo $path; ?>/community">Salas Recomendadas</a>.</p> <p><b>¿Qué otros <?php echo $shortname; ?>s están conectados?</b><br/> Comprueba el Top de <a href="<?php echo $path; ?>/tag">YoSoys</a>.</p> <p><b>¿Cómo comprar Créditos?</b><br/> Echa un vistazo a la página de <a href="<?php echo $path; ?>/credits">Créditos</a>.</p> </div> </div> </div> <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script> </div> <?php require_once('./templates/community_footer.php'); ?>[/CODE] source of the cms here [url]http://kekomundo.com/foro/index.php?topic=229620.0[/url] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Help me with JebboPack..
Top