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 Releases
CMS Releases
uberCMS Index Page
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="Joh" data-source="post: 25747" data-attributes="member: 2199"><p>Yeah so, i kinda got bored so i downloaded the index page that Sledmore made and messed around with the CSS. It only works in Google Chrome, I have no idea why. If you know how to fix, please post it down below or something, full credit will go to you.</p><p></p><p><u><strong>Screen Shot</strong></u>:</p><p><img src="http://i53.tinypic.com/r8ghsx.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p>Replace index.php with this:</p><p>[PHP]<?php</p><p>/*=======================================================================</p><p>| UberCMS - Advanced Website and Content Management System for uberEmu</p><p>| #######################################################################</p><p>| Copyright (c) 2010, Roy 'Meth0d' and updates by Matthew 'MDK'</p><p>| http://www.meth0d.org & http://www.sulake.biz</p><p>| #######################################################################</p><p>| This program is free software: you can redistribute it and/or modify</p><p>| it under the terms of the GNU General Public License as published by</p><p>| the Free Software Foundation, either version 3 of the License, or</p><p>| (at your option) any later version.</p><p>| #######################################################################</p><p>| This program is distributed in the hope that it will be useful,</p><p>| but WITHOUT ANY WARRANTY; without even the implied warranty of</p><p>| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</p><p>| GNU General Public License for more details.</p><p>\======================================================================*/</p><p></p><p>require_once "global.php"; </p><p> </p><p>if (LOGGED_IN)</p><p>{</p><p> header("Location: " . WWW . "/me");</p><p> exit;</p><p>}</p><p></p><p>$tpl->Init();</p><p></p><p>$tpl->SetParam('page_title', 'Create your avatar, decorate your room, chat and make new friends.');</p><p>$tpl->SetParam('credentials_username', '');</p><p></p><p>$tpl->AddGeneric('head-init');</p><p>$tpl->AddIncludeSet('frontpage');</p><p>$tpl->WriteIncludeFiles();</p><p>$tpl->AddGeneric('head-overrides-fp');</p><p>$tpl->AddGeneric('head-bottom');</p><p></p><p>$frontpage = new Template('page-fp');</p><p>$frontpage->SetParam('login_result', '');</p><p></p><p>if (isset($_POST['credentials_username']) && isset($_POST['credentials_password']))</p><p>{</p><p> $frontpage->SetParam('credentials_username', $_POST['credentials_username']);</p><p></p><p> $credUser = filter($_POST['credentials_username']);</p><p> $credPass = $core->UberHash($_POST['credentials_password']);</p><p> </p><p> $errors = array();</p><p> </p><p> if (strlen($_POST['credentials_username']) < 1)</p><p> {</p><p> $errors[] = "Please enter your username";</p><p> }</p><p> </p><p> if (strlen($_POST['credentials_password']) < 1)</p><p> {</p><p> $errors[] = "Please enter your password";</p><p> }</p><p> </p><p> if (count($errors) == 0)</p><p> {</p><p> if ($users->ValidateUser($credUser, $credPass))</p><p> {</p><p> if (isset($_POST['page']))</p><p> {</p><p> $reqPage = filter($_POST['page']);</p><p> $pos = strrpos($reqPage, WWW);</p><p> </p><p> if ($pos === false || $pos != 0)</p><p> {</p><p> die("<b>Security warning!</b> A malicious request was detected that tried redirecting you to an external site. Please proceed with caution, this may have been an attempt to steal your login details. <a href='" . WWW . "'>Return to site</a>");</p><p> }</p><p> else</p><p> {</p><p> $_SESSION['page-redirect'] = $reqPage;</p><p> }</p><p> } </p><p> </p><p> $_SESSION['UBER_USER_N'] = $users->GetUserVar($users->Name2id($credUser), 'username');</p><p> $_SESSION['UBER_USER_H'] = $credPass;</p><p> </p><p> if (isset($_POST['_login_remember_me']))</p><p> {</p><p> $_SESSION['set_cookies'] = true;</p><p> }</p><p> </p><p> header("Location: " . WWW . "/security_check");</p><p> exit;</p><p> }</p><p> else</p><p> {</p><p> $errors[] = "Incorrect password";</p><p> }</p><p> }</p><p></p><p> if (count($errors) > 0)</p><p> {</p><p> $loginResult = '<div class="action-error flash-message"><div class="rounded"><ul>';</p><p></p><p> foreach ($errors as $err)</p><p> {</p><p> $loginResult .= '<li>' . $err . '</li>';</p><p> }</p><p> </p><p> $loginResult .= '</ul></div></div>';</p><p> </p><p> $frontpage->SetParam('login_result', $loginResult);</p><p> }</p><p>}</p><p></p><p>$tpl->AddTemplate($frontpage);</p><p></p><p>$tpl->Output();</p><p></p><p>?>[/PHP]</p><p></p><p>Replace page-fp with this:</p><p>[PHP]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"</p><p> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"></p><p><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"></p><p><head> </p><p><meta http-equiv="content-type" content="text/html; charset=utf-8" /> </p><p><title>Astro: Create your avatar, decorate your room, chat and make new friends.</title> </p><p></p><p></p><p><style type="text/css"></p><p>.didyouknow{</p><p>padding-left:5px;</p><p>font-size:10px;</p><p>}</p><p>.spacerdyk{</p><p>height: 7px;</p><p>}</p><p></style></p><p> </p><p></p><p><SCRIPT TYPE="text/javascript"></p><p><!--</p><p>function popup(mylink, windowname)</p><p>{</p><p>if (! window.focus)return true;</p><p>var href;</p><p>if (typeof(mylink) == 'string')</p><p> href=mylink;</p><p>else</p><p> href=mylink.href;</p><p>window.open(href, windowname, 'height=400,width=800,resizable=no,scrollbars=no,toolbar=no,menubar=no,location=no,directories=no,status=yes');</p><p>return false;</p><p>}</p><p>//--></p><p></SCRIPT></p><p></p><p><!-- Codes by Quackit.com --></p><p><script type="text/javascript"></p><p>// Popup window code</p><p>function newPopup(url) {</p><p> popupWindow = window.open(</p><p> url,'popUpWindow','height=535,width=325,left=700,top=300,resizable=no,scrollbars=no,toolbar=no,menubar=no,location=no,directories=no,status=yes')</p><p>}</p><p></script></p><p></p><p><link rel="shortcut icon" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/151/web-gallery/v2/favicon.ico" type="image/vnd.microsoft.icon" /> </p><p><script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/151/web-gallery/static/js/libs2.js" type="text/javascript"></script></p><p><script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/151/web-gallery/static/js/landing.js" type="text/javascript"></script></p><p><link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/151/web-gallery/v2/styles/frontpage.css" type="text/css" /></p><p></p><p><!-- Uber style overrides --> </p><p><style type="text/css"> </p><p>body { background-color: #EFFBFB; }</p><p>#fp-container #header h1 a { height: 62px; width: 200px; background-image: url<centre>('http://www.habbcrazy.net/resources/text.php?f=82&t=Astro')</centre>; }</p><p>#footer .footer-links { color: #666666; }</p><p>#footer .footer-links a { color: #b3b3b3; }</p><p>#footer .copyright { color: #727272; } </p><p>a.big-button { top: 100px; }</p><p>.login-register-link, .login-register-link a { color: #000 !important; }</p><p>#tagline { background-color: #ffffff; color: #585858; font-size: 120%; font-weight: normal; padding: 7px; }</p><p>#tagline span { font-weight: bold; }</p><p>.tagcloud { margin-top: -3px; background-color: #D8D8D8 !important; }</p><p>.tagcloud .tag { margin: 5px; text-decoration: none; color: #424242; }</p><p>.tagcloud .tag:hover { border-bottom: 1px dotted; }</p><p></style> </p><p><!-- Uber style overrides --> </p><p></p><p><meta name="description" content="Habbo is a virtual world where you can meet and make friends. Make friends, join the fun, get noticed!" /> </p><p></p><p><meta name="keywords" content="habbo, habbo hotel, astro hotel, meth0d, nillus, mdk, *************, astro, uber emulator, *****, retro, keep it real, private server, free, credits, habbo hotel , virtual, world, social network, free, community, avatar, chat, online, teen, roleplaying, join, social, groups, forums, safe, play, games, online, friends, teens, rares, rare furni, collecting, create, collect, connect, furni, furniture, pets , room design, sharing, expression, badges, hangout, music, celebrity, celebrity visits, celebrities, mmo, mmorpg, massively multiplayer" /> </p><p> </p><p><!--[if IE 8]></p><p><link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/22/web-gallery/v2/styles/ie8.css" type="text/css" /></p><p><![endif]--> </p><p><!--[if lt IE 8]></p><p><link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/22/web-gallery/v2/styles/ie.css" type="text/css" /></p><p><![endif]--> </p><p><!--[if lt IE 7]></p><p><link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/22/web-gallery/v2/styles/ie6.css" type="text/css" /></p><p><script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/22/web-gallery/static/js/pngfix.js" type="text/javascript"></script></p><p><script type="text/javascript"></p><p>try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}</p><p></script></p><p> </p><p><style type="text/css"></p><p>body { behavior: url(http://www.habbo.com/js/csshover.htc); }</p><p></style></p><p><![endif]--> </p><p><meta name="build" content="51-BUILD45 - 18.05.2010 16:16 - uk" /> </p><p></head></p><p></p><p><head> </p><p></p><p><script type="text/javascript"> </p><p>var andSoItBegins = (new Date()).getTime();</p><p></script> </p><p> <link rel="shortcut icon" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/151/web-gallery/v2/favicon.ico" type="image/vnd.microsoft.icon" /> </p><p> <link rel="alternate" type="application/rss+xml" title="Habbo Hotel - RSS" href="http://www.habbo.com/articles/rss.xml" /> </p><p> </p><p><script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/151/web-gallery/static/js/libs2.js" type="text/javascript"></script> </p><p><script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/151/web-gallery/static/js/landing.js" type="text/javascript"></script> </p><p><link rel="stylesheet" href="http://habbo.com/styles/local/com.css" type="text/css" /> </p><p> </p><p></p><p><script src="/js/local/com.js" type="text/javascript"></script> </p><p> </p><p><script type="text/javascript"> </p><p>var ad_keywords = "";</p><p>var ad_key_value = "";</p><p></script> </p><p><script type="text/javascript"> </p><p>document.habboLoggedIn = false;</p><p>var habboName = null;</p><p>var habboId = null;</p><p>var habboReqPath = "";</p><p>var habboStaticFilePath = "http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/151/web-gallery";</p><p>var habboImagerUrl = "/habbo-imaging/";</p><p>var habboPartner = "";</p><p>var habboDefaultClientPopupUrl = "http://www.habbo.com/client";</p><p>window.name = "habboMain";</p><p>if (typeof HabboClient != "undefined") { HabboClient.windowName = "40bfeb4dfae6c55c3a8e93c381eb8378ab4c89ca"; }</p><p> </p><p> </p><p></script> </p><p> </p><p><meta property="fb:app_id" content="183096284873" /> </p><p> </p><p><style type="text/css"> </p><p></p><p>body { background-color: #EFFBFB; }</p><p></p><p>#fp-container #header h1 a { height: 49px; width: 200px; background-image: url<centre>('http://hybridhabbo.me/images/hybridhabbo1.png; }</p><p></p><p>#footer .footer-links { color: #666666; }</p><p></p><p>#footer .footer-links a { color: #b3b3b3; }</p><p></p><p>#footer .copyright { color: #727272; } </p><p></p><p>a.big-button { top: 100px; }</p><p></p><p>.login-register-link, .login-register-link a { color: #000 !important; }</p><p></p><p>#tagline { background-color: #E6E6E6; color: #585858; font-size: 120%; font-weight: normal; padding: 7px; }</p><p></p><p>#tagline span { font-weight: bold; }</p><p></p><p>.tagcloud { margin-top: -3px; background-color: #D8D8D8 !important; }</p><p></p><p>.tagcloud .tag { margin: 5px; text-decoration: none; color: #424242; }</p><p></p><p>.tagcloud .tag:hover { border-bottom: 1px dotted; }</p><p></p><p></p><p></p><p>input {</p><p> border: 1px solid #aaa;</p><p> background: #fff;</p><p> padding: 5px;</p><p> font-family: verdana;</p><p> font-size: 10px;</p><p>}</p><p></p><p>input[type=submit] {</p><p> padding-left: 10px;</p><p> padding-right: 10px;</p><p> float: right;</p><p> margin:5px;</p><p>}</p><p></p><p></p><p></p><p></p><p>select {</p><p> border: none;</p><p> -moz-border-radius: 3px;</p><p> -webkit-border-radius: 3px;</p><p> background-color: #edede5;</p><p> width: 75px;</p><p>}</p><p></p><p>input.text-field,input.password-field,select {</p><p> font-size: 11px;</p><p> padding: 4px;</p><p> border-style: solid;</p><p> border-color: #C6C6C6 #C6C6C6 #E3E3E3;</p><p> border-width: 1px;</p><p>}</p><p></p><p>input, textarea, select {</p><p> font-size: 11px;</p><p> font-family: Verdana, Arial, Helvetica, sans-serif;</p><p>}</p><p></p><p>div.loginBox > div.mid > div.registerstep2 {</p><p> margin-left: 40px;</p><p> margin-right: 40px;</p><p> margin-top: 40px;</p><p> background-color: #fff;</p><p> border: 1px solid #000;</p><p> padding: 10px;</p><p> overflow: hidden;</p><p>}</p><p></p><p></p><p></p><p>body</p><p>{</p><p> background-image:url(/images/bg.png);</p><p> margin-top:20px;</p><p> font-family:Verdana, Geneva, sans-serif;</p><p> font-size:10px;</p><p>}</p><p>#Container</p><p>{</p><p> width:700px;</p><p> height:30px;</p><p> background:#FFF;</p><p> border:#000 solid 1px;</p><p> border-top-left-radius: 6px ;</p><p> border-bottom-right-radius: 6px;</p><p> border-bottom-left-radius: 6px;</p><p> border-top-right-radius: 6px;</p><p> margin:auto;</p><p> padding-top:10px;</p><p> padding-bottom:15px;</p><p>}</p><p>#FooterContainer</p><p>{</p><p> width:700px;</p><p> position:relative; left:-11px; top:-54px;</p><p> height:30px;</p><p> background:#FFF;</p><p> border:#000 solid 1px;</p><p> border-top-left-radius: 6px ;</p><p> border-bottom-right-radius: 6px;</p><p> border-bottom-left-radius: 6px;</p><p> border-top-right-radius: 6px;</p><p> margin:auto;</p><p> padding-top:10px;</p><p> padding-bottom:15px;</p><p> }</p><p></p><p>#Image</p><p>{</p><p> clear:both;</p><p> position:relative; left:22px; top: 25px; </p><p> padding:0px;</p><p> background:url(/images/hybridhabbo1.png);</p><p> border:#000 solid 1px;</p><p> border-top-left-radius: 8px ;</p><p> border-bottom-right-radius: 8px;</p><p> border-bottom-left-radius: 8px;</p><p> border-top-right-radius: 8px;</p><p> width:654px;</p><p> height:430px;</p><p> </p><p>}</p><p>#Login</p><p>{</p><p> background:#FFF;</p><p> width:700px;</p><p>}</p><p>#Footer</p><p>{</p><p> </p><p> text-align:center;</p><p>}</p><p>#Footer2</p><p>{</p><p> padding-top:10px;</p><p> text-align:center;</p><p>}</p><p>#Tags</p><p>{</p><p> background:#666;</p><p> min-height:60px;</p><p> padding:10px;</p><p> width:630px;</p><p> color:#FFF;</p><p> text-align:center;</p><p>}</p><p>#RegisterBox</p><p>{</p><p>position:absolute; right:100px;bottom:200px;</p><p> position:relative; right:-487px; bottom:250px;</p><p> width:180px;</p><p> height:65px;</p><p> border:#000 solid 1px;</p><p> border-top-left-radius: 8px ;</p><p> border-bottom-right-radius: 8px;</p><p> border-bottom-left-radius: 8px;</p><p> border-top-right-radius: 8px;</p><p> background-color:#00CC00;</p><p> }</p><p>#LoginBox</p><p>{</p><p> position:absolute; left:-1px; top:-47px;</p><p> font-size:11px;</p><p> padding-left:10px;</p><p> padding-right:439px;</p><p> float:right;</p><p> margin-top:30px;</p><p> margin-right:10px;</p><p> width:205px;</p><p> height:43px;</p><p> border:#000 solid 1px;</p><p> border-top-left-radius: 1px ;</p><p> border-bottom-right-radius: 1px;</p><p> border-bottom-left-radius: 1px;</p><p> border-top-right-radius: 1px;</p><p> background-color:#fff;</p><p>}</p><p></p><p>#LoginBox .Box</p><p>{</p><p> width:180px;</p><p> height:20px;</p><p> border:#999 solid 1px;</p><p>}</p><p>#LoginBox .Button</p><p>{</p><p> position:absolute; left:430px; top:7.5px;</p><p> width:60px;</p><p> height:24px;</p><p> border:#999 solid 1px;</p><p>}</p><p>#Stats</p><p>{</p><p> padding-top:10px;</p><p> padding-right:10px;</p><p> float:right;</p><p>}</p><p></style> </p><p></p><p></p><p> </p><p><style type="text/css"></p><p>body { behavior: url(/js/csshover.htc); }</p><p></style></p><p><![endif]--> </p><p><meta name="build" content="57-BUILD30 - 24.08.2010 14:54 - com" /> </p><p></p><p></head> </p><p> </p><p><head> </p><p> <script type="text/javascript" src="http://api.recaptcha.net/js/recaptcha_ajax.js"></script> </p><p></head> </p><p> </p><p><body></p><p></p><p><div id="Container"> </p><p></p><p><div id="Login"></p><p></p><p><div id="habbos-online" style="float:left;">&nbsp;<img src="/images/newlogo.gif" /></div></p><p><div id="habbos-online" style="float:right;"><span>%hotel_status%</span>&nbsp;</div></p><p></p><p></p><p></p><p></div></p><p><center></center></p><p></p><p><div id="Image"></p><p></p><p><div id="LoginBox"></p><p></p><p><form id="loginformitem" name="loginformitem" action="%www%/account/submit" method="post"> </p><p></p><p><table width="200" border="0" cellpadding="0" cellspacing="0"></p><p></p><p></p><p></p><p> <tr></p><p> </p><p></p><p> <td><font size="1"><font size="1">Username:<br /><input tabindex="1" type="text" name="credentials.username" id="un" value="" maxlength="48" size="5"/> &nbsp &nbsp <td><font size="1">Password:<br /></p><p></p><p> <input tabindex="1" type="password" name="credentials.password" id="pw" maxlength="32" size="26"/> <br /><br /> </p><p></font></p><p></font></p><p></td></p><p></p><p> </tr></p><p></p><p> </p><p></p><p> </tr></p><p></p><p> <tr></p><p> <input tabindex="6" type="checkbox" name="_login_remember_me" id="login-remember-me" value="true" checked="checked" style="display:none;"/></p><p> <td><center><input class="Button" type="submit" name="button" style="font-size:11px; font-family:Verdana, Geneva, sans-serif;" id="button" value="Sign In" /></center></td></p><p></p><p> </tr></p><p></p><p></table></p><p></p><p></form></p><p></p><p></div></p><p> </p><p></div></p><p><div id="RegisterBox"></p><p><tr></p><p><td style="padding-bottom:20px;"><br /></p><p><center><p style="font-size:11px; font-family:Verdana, Geneva, sans-serif;"></p><p><strong><a href="/register">REGISTER FOR FREE!</a></strong><br /></cetner></p><p></p></p><p></td></p><p></div></p><p></p><p><!--[if lt IE 7]></p><p><script type="text/javascript"></p><p>Pngfix.doPngImageFix();</p><p></script></p><p><![endif]--> </p><p><div id="footer"> </p><p></p><p><?php</p><p></p><p>if (defined('FORCE_MAINTENANCE') && FORCE_MAINTENANCE)</p><p>{</p><p> echo '<div style="background-color: #FBEFEF; padding: 5px; margin: 5px; border: 1px solid #DF0101;">NOTICE: Habbo is currently in maintenance mode. The site is unavailable to regular users.</div>';</p><p>}</p><p></p><p>?></p><p></p><p><div id="FooterContainer"></p><p> <p class="footer-links"><a href="#" target="_new">Contact Us</a> | <a href="http://www.meth0d.org" target="_new">Meth0d dot org</a> | <a href="%www%/papers/termsAndConditions" target="_new">Terms of Service</a> | <a href="%www%/papers/privacy" target="_new">Privacy Policy</a></p> </p><p> <p class="copyright">UberCMS, Copyright &copy; 2009 - 2010 Meth0d dot org, Sulake.biz, Scott(Dark), Joseph. All rights reserved to their respective owner(s).</p> </p><p></div></p><p></p><p><div style="clear: both;"></div></p><p> </p><p></div> </div> </p><p></div></div></p><p> </p><p><script type="text/javascript"> </p><p>HabboView.run();</p><p></script> </p><p> </p><p></body> </p><p></html>[/PHP]</p><p></p><p>Credits:</p><p>Aaron</p><p>Sledmore</p><p>Me</p><p></p><p>Hope you guys enjoy! Don't forget to say thanks</p></blockquote><p></p>
[QUOTE="Joh, post: 25747, member: 2199"] Yeah so, i kinda got bored so i downloaded the index page that Sledmore made and messed around with the CSS. It only works in Google Chrome, I have no idea why. If you know how to fix, please post it down below or something, full credit will go to you. [U][B]Screen Shot[/B][/U]: [IMG]http://i53.tinypic.com/r8ghsx.png[/IMG] Replace index.php with this: [PHP]<?php /*======================================================================= | UberCMS - Advanced Website and Content Management System for uberEmu | ####################################################################### | Copyright (c) 2010, Roy 'Meth0d' and updates by Matthew 'MDK' | http://www.meth0d.org & http://www.sulake.biz | ####################################################################### | This program is free software: you can redistribute it and/or modify | it under the terms of the GNU General Public License as published by | the Free Software Foundation, either version 3 of the License, or | (at your option) any later version. | ####################################################################### | This program is distributed in the hope that it will be useful, | but WITHOUT ANY WARRANTY; without even the implied warranty of | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | GNU General Public License for more details. \======================================================================*/ require_once "global.php"; if (LOGGED_IN) { header("Location: " . WWW . "/me"); exit; } $tpl->Init(); $tpl->SetParam('page_title', 'Create your avatar, decorate your room, chat and make new friends.'); $tpl->SetParam('credentials_username', ''); $tpl->AddGeneric('head-init'); $tpl->AddIncludeSet('frontpage'); $tpl->WriteIncludeFiles(); $tpl->AddGeneric('head-overrides-fp'); $tpl->AddGeneric('head-bottom'); $frontpage = new Template('page-fp'); $frontpage->SetParam('login_result', ''); if (isset($_POST['credentials_username']) && isset($_POST['credentials_password'])) { $frontpage->SetParam('credentials_username', $_POST['credentials_username']); $credUser = filter($_POST['credentials_username']); $credPass = $core->UberHash($_POST['credentials_password']); $errors = array(); if (strlen($_POST['credentials_username']) < 1) { $errors[] = "Please enter your username"; } if (strlen($_POST['credentials_password']) < 1) { $errors[] = "Please enter your password"; } if (count($errors) == 0) { if ($users->ValidateUser($credUser, $credPass)) { if (isset($_POST['page'])) { $reqPage = filter($_POST['page']); $pos = strrpos($reqPage, WWW); if ($pos === false || $pos != 0) { die("<b>Security warning!</b> A malicious request was detected that tried redirecting you to an external site. Please proceed with caution, this may have been an attempt to steal your login details. <a href='" . WWW . "'>Return to site</a>"); } else { $_SESSION['page-redirect'] = $reqPage; } } $_SESSION['UBER_USER_N'] = $users->GetUserVar($users->Name2id($credUser), 'username'); $_SESSION['UBER_USER_H'] = $credPass; if (isset($_POST['_login_remember_me'])) { $_SESSION['set_cookies'] = true; } header("Location: " . WWW . "/security_check"); exit; } else { $errors[] = "Incorrect password"; } } if (count($errors) > 0) { $loginResult = '<div class="action-error flash-message"><div class="rounded"><ul>'; foreach ($errors as $err) { $loginResult .= '<li>' . $err . '</li>'; } $loginResult .= '</ul></div></div>'; $frontpage->SetParam('login_result', $loginResult); } } $tpl->AddTemplate($frontpage); $tpl->Output(); ?>[/PHP] Replace page-fp with this: [PHP]<!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"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>Astro: Create your avatar, decorate your room, chat and make new friends.</title> <style type="text/css"> .didyouknow{ padding-left:5px; font-size:10px; } .spacerdyk{ height: 7px; } </style> <SCRIPT TYPE="text/javascript"> <!-- function popup(mylink, windowname) { if (! window.focus)return true; var href; if (typeof(mylink) == 'string') href=mylink; else href=mylink.href; window.open(href, windowname, 'height=400,width=800,resizable=no,scrollbars=no,toolbar=no,menubar=no,location=no,directories=no,status=yes'); return false; } //--> </SCRIPT> <!-- Codes by Quackit.com --> <script type="text/javascript"> // Popup window code function newPopup(url) { popupWindow = window.open( url,'popUpWindow','height=535,width=325,left=700,top=300,resizable=no,scrollbars=no,toolbar=no,menubar=no,location=no,directories=no,status=yes') } </script> <link rel="shortcut icon" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/151/web-gallery/v2/favicon.ico" type="image/vnd.microsoft.icon" /> <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/151/web-gallery/static/js/libs2.js" type="text/javascript"></script> <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/151/web-gallery/static/js/landing.js" type="text/javascript"></script> <link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/151/web-gallery/v2/styles/frontpage.css" type="text/css" /> <!-- Uber style overrides --> <style type="text/css"> body { background-color: #EFFBFB; } #fp-container #header h1 a { height: 62px; width: 200px; background-image: url<centre>('http://www.habbcrazy.net/resources/text.php?f=82&t=Astro')</centre>; } #footer .footer-links { color: #666666; } #footer .footer-links a { color: #b3b3b3; } #footer .copyright { color: #727272; } a.big-button { top: 100px; } .login-register-link, .login-register-link a { color: #000 !important; } #tagline { background-color: #ffffff; color: #585858; font-size: 120%; font-weight: normal; padding: 7px; } #tagline span { font-weight: bold; } .tagcloud { margin-top: -3px; background-color: #D8D8D8 !important; } .tagcloud .tag { margin: 5px; text-decoration: none; color: #424242; } .tagcloud .tag:hover { border-bottom: 1px dotted; } </style> <!-- Uber style overrides --> <meta name="description" content="Habbo is a virtual world where you can meet and make friends. Make friends, join the fun, get noticed!" /> <meta name="keywords" content="habbo, habbo hotel, astro hotel, meth0d, nillus, mdk, *************, astro, uber emulator, *****, retro, keep it real, private server, free, credits, habbo hotel , virtual, world, social network, free, community, avatar, chat, online, teen, roleplaying, join, social, groups, forums, safe, play, games, online, friends, teens, rares, rare furni, collecting, create, collect, connect, furni, furniture, pets , room design, sharing, expression, badges, hangout, music, celebrity, celebrity visits, celebrities, mmo, mmorpg, massively multiplayer" /> <!--[if IE 8]> <link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/22/web-gallery/v2/styles/ie8.css" type="text/css" /> <![endif]--> <!--[if lt IE 8]> <link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/22/web-gallery/v2/styles/ie.css" type="text/css" /> <![endif]--> <!--[if lt IE 7]> <link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/22/web-gallery/v2/styles/ie6.css" type="text/css" /> <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/22/web-gallery/static/js/pngfix.js" type="text/javascript"></script> <script type="text/javascript"> try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {} </script> <style type="text/css"> body { behavior: url(http://www.habbo.com/js/csshover.htc); } </style> <![endif]--> <meta name="build" content="51-BUILD45 - 18.05.2010 16:16 - uk" /> </head> <head> <script type="text/javascript"> var andSoItBegins = (new Date()).getTime(); </script> <link rel="shortcut icon" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/151/web-gallery/v2/favicon.ico" type="image/vnd.microsoft.icon" /> <link rel="alternate" type="application/rss+xml" title="Habbo Hotel - RSS" href="http://www.habbo.com/articles/rss.xml" /> <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/151/web-gallery/static/js/libs2.js" type="text/javascript"></script> <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/151/web-gallery/static/js/landing.js" type="text/javascript"></script> <link rel="stylesheet" href="http://habbo.com/styles/local/com.css" type="text/css" /> <script src="/js/local/com.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 = "http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/151/web-gallery"; var habboImagerUrl = "/habbo-imaging/"; var habboPartner = ""; var habboDefaultClientPopupUrl = "http://www.habbo.com/client"; window.name = "habboMain"; if (typeof HabboClient != "undefined") { HabboClient.windowName = "40bfeb4dfae6c55c3a8e93c381eb8378ab4c89ca"; } </script> <meta property="fb:app_id" content="183096284873" /> <style type="text/css"> body { background-color: #EFFBFB; } #fp-container #header h1 a { height: 49px; width: 200px; background-image: url<centre>('http://hybridhabbo.me/images/hybridhabbo1.png; } #footer .footer-links { color: #666666; } #footer .footer-links a { color: #b3b3b3; } #footer .copyright { color: #727272; } a.big-button { top: 100px; } .login-register-link, .login-register-link a { color: #000 !important; } #tagline { background-color: #E6E6E6; color: #585858; font-size: 120%; font-weight: normal; padding: 7px; } #tagline span { font-weight: bold; } .tagcloud { margin-top: -3px; background-color: #D8D8D8 !important; } .tagcloud .tag { margin: 5px; text-decoration: none; color: #424242; } .tagcloud .tag:hover { border-bottom: 1px dotted; } input { border: 1px solid #aaa; background: #fff; padding: 5px; font-family: verdana; font-size: 10px; } input[type=submit] { padding-left: 10px; padding-right: 10px; float: right; margin:5px; } select { border: none; -moz-border-radius: 3px; -webkit-border-radius: 3px; background-color: #edede5; width: 75px; } input.text-field,input.password-field,select { font-size: 11px; padding: 4px; border-style: solid; border-color: #C6C6C6 #C6C6C6 #E3E3E3; border-width: 1px; } input, textarea, select { font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif; } div.loginBox > div.mid > div.registerstep2 { margin-left: 40px; margin-right: 40px; margin-top: 40px; background-color: #fff; border: 1px solid #000; padding: 10px; overflow: hidden; } body { background-image:url(/images/bg.png); margin-top:20px; font-family:Verdana, Geneva, sans-serif; font-size:10px; } #Container { width:700px; height:30px; background:#FFF; border:#000 solid 1px; border-top-left-radius: 6px ; border-bottom-right-radius: 6px; border-bottom-left-radius: 6px; border-top-right-radius: 6px; margin:auto; padding-top:10px; padding-bottom:15px; } #FooterContainer { width:700px; position:relative; left:-11px; top:-54px; height:30px; background:#FFF; border:#000 solid 1px; border-top-left-radius: 6px ; border-bottom-right-radius: 6px; border-bottom-left-radius: 6px; border-top-right-radius: 6px; margin:auto; padding-top:10px; padding-bottom:15px; } #Image { clear:both; position:relative; left:22px; top: 25px; padding:0px; background:url(/images/hybridhabbo1.png); border:#000 solid 1px; border-top-left-radius: 8px ; border-bottom-right-radius: 8px; border-bottom-left-radius: 8px; border-top-right-radius: 8px; width:654px; height:430px; } #Login { background:#FFF; width:700px; } #Footer { text-align:center; } #Footer2 { padding-top:10px; text-align:center; } #Tags { background:#666; min-height:60px; padding:10px; width:630px; color:#FFF; text-align:center; } #RegisterBox { position:absolute; right:100px;bottom:200px; position:relative; right:-487px; bottom:250px; width:180px; height:65px; border:#000 solid 1px; border-top-left-radius: 8px ; border-bottom-right-radius: 8px; border-bottom-left-radius: 8px; border-top-right-radius: 8px; background-color:#00CC00; } #LoginBox { position:absolute; left:-1px; top:-47px; font-size:11px; padding-left:10px; padding-right:439px; float:right; margin-top:30px; margin-right:10px; width:205px; height:43px; border:#000 solid 1px; border-top-left-radius: 1px ; border-bottom-right-radius: 1px; border-bottom-left-radius: 1px; border-top-right-radius: 1px; background-color:#fff; } #LoginBox .Box { width:180px; height:20px; border:#999 solid 1px; } #LoginBox .Button { position:absolute; left:430px; top:7.5px; width:60px; height:24px; border:#999 solid 1px; } #Stats { padding-top:10px; padding-right:10px; float:right; } </style> <style type="text/css"> body { behavior: url(/js/csshover.htc); } </style> <![endif]--> <meta name="build" content="57-BUILD30 - 24.08.2010 14:54 - com" /> </head> <head> <script type="text/javascript" src="http://api.recaptcha.net/js/recaptcha_ajax.js"></script> </head> <body> <div id="Container"> <div id="Login"> <div id="habbos-online" style="float:left;"> <img src="/images/newlogo.gif" /></div> <div id="habbos-online" style="float:right;"><span>%hotel_status%</span> </div> </div> <center></center> <div id="Image"> <div id="LoginBox"> <form id="loginformitem" name="loginformitem" action="%www%/account/submit" method="post"> <table width="200" border="0" cellpadding="0" cellspacing="0"> <tr> <td><font size="1"><font size="1">Username:<br /><input tabindex="1" type="text" name="credentials.username" id="un" value="" maxlength="48" size="5"/>     <td><font size="1">Password:<br /> <input tabindex="1" type="password" name="credentials.password" id="pw" maxlength="32" size="26"/> <br /><br /> </font> </font> </td> </tr> </tr> <tr> <input tabindex="6" type="checkbox" name="_login_remember_me" id="login-remember-me" value="true" checked="checked" style="display:none;"/> <td><center><input class="Button" type="submit" name="button" style="font-size:11px; font-family:Verdana, Geneva, sans-serif;" id="button" value="Sign In" /></center></td> </tr> </table> </form> </div> </div> <div id="RegisterBox"> <tr> <td style="padding-bottom:20px;"><br /> <center><p style="font-size:11px; font-family:Verdana, Geneva, sans-serif;"> <strong><a href="/register">REGISTER FOR FREE!</a></strong><br /></cetner> </p> </td> </div> <!--[if lt IE 7]> <script type="text/javascript"> Pngfix.doPngImageFix(); </script> <![endif]--> <div id="footer"> <?php if (defined('FORCE_MAINTENANCE') && FORCE_MAINTENANCE) { echo '<div style="background-color: #FBEFEF; padding: 5px; margin: 5px; border: 1px solid #DF0101;">NOTICE: Habbo is currently in maintenance mode. The site is unavailable to regular users.</div>'; } ?> <div id="FooterContainer"> <p class="footer-links"><a href="#" target="_new">Contact Us</a> | <a href="http://www.meth0d.org" target="_new">Meth0d dot org</a> | <a href="%www%/papers/termsAndConditions" target="_new">Terms of Service</a> | <a href="%www%/papers/privacy" target="_new">Privacy Policy</a></p> <p class="copyright">UberCMS, Copyright © 2009 - 2010 Meth0d dot org, Sulake.biz, Scott(Dark), Joseph. All rights reserved to their respective owner(s).</p> </div> <div style="clear: both;"></div> </div> </div> </div></div> <script type="text/javascript"> HabboView.run(); </script> </body> </html>[/PHP] Credits: Aaron Sledmore Me Hope you guys enjoy! Don't forget to say thanks [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Releases
CMS Releases
uberCMS Index Page
Top