Ubercms Help

Benden

maging ang maganda mamatay
Jun 4, 2010
2,286
1,482
Alright 2 things
1. why arent my images showing up
2. whats with the error message? "Deprecated: Function set_magic_quotes_runtime() is deprecated in C:\xampp\htdocs\global.php on line 30"

image:
1296947960662869658456.png


[mod] Thread moved to Help and Support, Approved, Ki. [/mod]
 

Benden

maging ang maganda mamatay
Jun 4, 2010
2,286
1,482
Code:
 <?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.
\======================================================================*/


// ############################################################################
// Prepare the local environment

define('UBER', true);
define('DS', DIRECTORY_SEPARATOR);
define('LB', chr(13));
define('CWD', str_replace('manage' . DS, '', dirname(__FILE__) . DS));
define('INCLUDES', CWD . 'inc' . DS);
define('USER_IP', $_SERVER['REMOTE_ADDR']);

set_magic_quotes_runtime('0');
error_reporting(E_ALL);

session_start();


// ############################################################################
// Initialize core classes

require_once INCLUDES . "class.core.php";
require_once INCLUDES . "class.db.mysql.php";
require_once INCLUDES . "class.cron.php";
require_once INCLUDES . "class.users.php";
require_once INCLUDES . "class.tpl.php";

$core = new uberCore();
$cron = new uberCron();
$users = new uberUsers();
$tpl = new uberTpl();


// ############################################################################
// Execute some required core functionality

$core->ParseConfig();

$db = new MySQL($core->config['MySQL']['hostname'], $core->config['MySQL']['username'],
    $core->config['MySQL']['password'], $core->config['MySQL']['database']);
$db->Connect();

$cron->Execute();

// ############################################################################
// Session handling

if (isset($_SESSION['UBER_USER_N']) && isset($_SESSION['UBER_USER_H']))
{
    $userN = $_SESSION['UBER_USER_N'];
    $userH = $_SESSION['UBER_USER_H'];
    
    if ($users->ValidateUser($userN, $userH))
    {
        define('LOGGED_IN', true);
        define('USER_NAME', $userN);
        define('USER_ID', $users->name2id($userN));
        define('USER_HASH', $userH);
        
        $users->CacheUser(USER_ID);
    }
    else
    {
        @session_destroy();
        header('Location: ./index.html');
        exit;
    }    
}
else
{
    define('LOGGED_IN', false);
    define('USER_NAME', 'Guest');
    define('USER_ID', -1);
    define('USER_HASH', null);
}

define('FORCE_MAINTENANCE', ((uberCore::GetMaintenanceStatus() == "1") ? true : false));

if (FORCE_MAINTENANCE && !defined('IN_MAINTENANCE'))
{
    if (!LOGGED_IN || !$users->HasFuse(USER_ID, 'fuse_ignore_maintenance'))
    {
        header("Location: " . WWW . "/maintenance.html");
        exit;
    }
}

if ((!defined('BAN_PAGE') || !BAN_PAGE) && ($users->IsIpBanned(USER_IP) || (LOGGED_IN && $users->IsUserBanned(USER_NAME))))
{
    header("Location: " . WWW . "/banned.php");
    exit;
}

$core->CheckCookies();

// ############################################################################
// Some commonly used functions for easy access

function dbquery($strQuery = '')
{
    global $db;
    
    if($db->IsConnected())
    {
        return $db->DoQuery($strQuery);
    }
    
    return $db->Error('Could not process query, no active db connection detected..');
}

function filter($strInput = '')
{
    global $core;
    
    return $core->FilterInputString($strInput);
}

function clean($strInput = '', $ignoreHtml = false, $nl2br = false)
{
    global $core;
    
    return $core->CleanStringForOutput($strInput, $ignoreHtml, $nl2br);
}

function shuffle_assoc(&$array)
{
    $keys = array_keys($array);

    shuffle($keys);

    foreach($keys as $key)
    {
        $new[$key] = $array[$key];
    }

    $array = $new;

    return true;
}

?>
 

Joh

Member
Jan 10, 2011
154
20
replace your class.tpl with this:
Code:
<?php
/*=======================================================================
| UberCMS - Advanced Website and Content Management System for uberEmu
| #######################################################################
| Copyright (c) 2010, Roy 'Meth0d'
| http://www.meth0d.org
| #######################################################################
| 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.
\======================================================================*/

class uberTpl
{
	private $outputData;
	private $params = Array();
	private $includeFiles = Array();
	
	public function Init()
	{
		global $core, $users;
	
		$this->SetParam('', 'Uber');
		$this->SetParam('body_id', '');
		$this->SetParam('page_title', ' ');
		$this->SetParam('flash_build', 'flash_51_45');
		$this->SetParam('web_build', '58_740cdda5150f14b5e2e3cf44ef1f496f/12');
		$this->SetParam('web_build_str', '51-BUILD45 - 18.05.2010 16:16 - uk');
		$this->SetParam('req_path', WWW);
		$this->SetParam('www', WWW);
		$this->SetParam('hotel_status_fig', uberCore::GetSystemStatusString(true));
		$this->SetParam('hotel_status', uberCore::GetSystemStatusString(false));
		
		if (LOGGED_IN)
		{
			$this->SetParam('habboLoggedIn', 'true');
			$this->SetParam('habboName', USER_NAME);
			$this->SetParam('vipbalance', '<b>' . $users->GetUserVar(USER_ID, 'vip_points') . ' <img src="' . WWW . '/images/vipcoin.gif" style="vertical-align: middle;"></b>');
		}
		else
		{
			$this->SetParam('habboLoggedIn', 'false');
			$this->SetParam('habboName', 'null');
		}
	}
	
	public function AddIncludeSet($set)
	{
		switch (strtolower($set))
		{
			case "frontpage":
			
				$this->AddIncludeFile(new IncludeFile('text/javascript', 'http:///wiredhotel.org/libs2.js'));
				$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://wiredhotel.org/landing.js'));
				$this->AddIncludeFile(new IncludeFile('text/css', 'http://wiredhotel.org/frontpage.css', 'stylesheet'));			
				break;
				
			case "register":

				$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/visual.js'));
				$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/common.js'));			
				$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/style.css', 'stylesheet'));		
				$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/buttons.css', 'stylesheet'));	
				$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/boxes.css', 'stylesheet'));	
				$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/tooltips.css', 'stylesheet'));
				$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/embeddedregistration.css', 'stylesheet'));
				$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/simpleregistration.js'));
				break;
		
			case "process-template":
			
				$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/libs2.js'));
				$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/visual.js'));
				$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/libs.js'));
				$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/common.js'));
				$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/fullcontent.js'));
				$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/style.css', 'stylesheet'));		
				$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/buttons.css', 'stylesheet'));	
				$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/boxes.css', 'stylesheet'));	
				$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/tooltips.css', 'stylesheet'));	
				$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/process.css', 'stylesheet'));	
				break;
				
			case 'myhabbo':
			
				$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/libs2.js'));
				$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/visual.js'));
				$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/libs.js'));
				$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/common.js'));
				$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/fullcontent.js'));
				$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/style.css', 'stylesheet'));		
				$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/buttons.css', 'stylesheet'));	
				$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/boxes.css', 'stylesheet'));	
				$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/tooltips.css', 'stylesheet'));				
				$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/styles/myhabbo/myhabbo.css', 'stylesheet'));
				$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/styles/myhabbo/skins.css', 'stylesheet'));
				$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/styles/myhabbo/dialogs.css', 'stylesheet'));
				$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/styles/myhabbo/buttons.css', 'stylesheet'));
				$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/styles/myhabbo/control.textarea.css', 'stylesheet'));
				$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/styles/myhabbo/boxes.css', 'stylesheet'));
				$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/myhabbo.css', 'stylesheet'));
				$this->AddIncludeFile(new IncludeFile('text/css', 'http://www.habbo.co.uk/myhabbo/styles/assets.css', 'stylesheet'));
				$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/homeview.js'));
				$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/lightwindow.css', 'stylesheet'));
				break;
			
			case 'default':
			default:
			
				$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/libs2.js'));
				$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/visual.js'));
				$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/libs.js'));
				$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/common.js'));
				$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/fullcontent.js'));
				$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/style.css', 'stylesheet'));		
				$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/buttons.css', 'stylesheet'));	
				$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/boxes.css', 'stylesheet'));	
				$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/tooltips.css', 'stylesheet'));		
				break;
		}
	}
	
	public function AddGeneric($tplName)
	{
		$tpl = new Template($tplName);
		$this->outputData .= $tpl->GetHtml();
	}
	
	public function AddTemplate($tpl)
	{
		$this->outputData .= $tpl->GetHtml();
	}
	
	public function SetParam($param, $value)
	{
		$this->params[$param] = is_object($value) ? $value->fetch() : $value;
	}
	
	public function UnsetParam($param)
	{
		unset($this->params[$param]);
	}
	
	public function AddIncludeFile($incFile)
	{
		$this->includeFiles[] = $incFile;
	}
	
	public function WriteIncludeFiles()
	{
		foreach ($this->includeFiles as $f)
		{
			$this->Write($f->GetHtml() . LB);
		}
	}
	
	public function Write($str)
	{
		$this->outputData .= $str;
	}
	
	public function FilterParams($str)
	{
		foreach ($this->params as $param => $value)
		{
			$str = str_ireplace('%' . $param . '%', $value, $str);
		}
		
		return $str;
	}
	
	public function Output()
	{
		global $core;
	
		$this->Write(LB . LB . '<!-- uberCMS: Took ' . (microtime(true) - $core->execStart) . ' to output this page -->' . LB . LB);
		
		echo $this->FilterParams($this->outputData);
	}
}

class Template
{
	private $params = Array();
	private $tplName = '';
	
	public function Template($tplName)
	{
		$this->tplName = $tplName;
	}
	
	public function GetHtml()
	{
		global $users;
	
		extract($this->params);
	
		$file = CWD . 'inc/tpl/' . $this->tplName . '.tpl';
	
		if (!file_exists($file))
		{
			uberCore::SystemError('Template system error', 'Could not load template: ' . $this->tplName);
		}
		
		ob_start();
		include($file);
		$data = ob_get_contents();
		ob_end_clean();	
		
		return $this->FilterParams($data);
	}
	
	public function FilterParams($str)
	{
		foreach ($this->params as $param => $value)
		{
			if (is_object($value))
			{
				continue;
			}
		
			$str = str_ireplace('%' . $param . '%', $value, $str);
		}
		
		return $str;
	}
	
	public function SetParam($param, $value)
	{
		$this->params[$param] = $value;
	}
	
	public function UnsetParam($param)
	{
		unset($this->params[$param]);
	}		
}

class IncludeFile
{
	private $type;
	private $src;
	private $rel;
	private $name;

	public function IncludeFile($type, $src, $rel = '', $name = '')
	{
		global $tpl;
	
		$this->type = $type;
		$this->src = $src;
		$this->rel = $rel;
		$this->name = $name;
	}
	
	public function GetHtml()
	{
		switch ($this->type)
		{
			case 'application/rss+xml':
			
				return '<link rel="' . $this->rel . '" type="' . $this->type . '" title="' . $this->name . '" href="' . $this->src . '" />';
		
			case 'text/javascript':
			
				return '<script src="' . $this->src . '" type="text/javascript"></script>';
				
			case 'text/css':
			default:
			
				return '<link rel="' . $this->rel . '" href="' . $this->src . '" type="' . $this->type . '" />';
		}
	}
}

?>

And replace your page-fp with this:
Code:
<head> 

<script type="text/javascript"> 
var andSoItBegins = (new Date()).getTime();
</script> 
    <link rel="shortcut icon" href="http://images.habbo.com/habboweb/57_2e3408bf59a2a5d170796f9ed32eb6fe/4/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/61_c0f99b7b02ed27ad5d4d5661fe02784f/14/web-gallery/static/js/libs2.js" type="text/javascript"></script> 
<script src="http://images.habbo.com/habboweb/61_c0f99b7b02ed27ad5d4d5661fe02784f/14/web-gallery/static/js/landing.js" type="text/javascript"></script> 
<link rel="stylesheet" href="http://images.habbo.com/habboweb/61_c0f99b7b02ed27ad5d4d5661fe02784f/14/web-gallery/v2/styles/frontpage.css" type="text/css" /> 
<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/61_c0f99b7b02ed27ad5d4d5661fe02784f/14/web-gallery";
var habboImagerUrl = "http://habbo.com/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: #000000;
    
}
#footer .footer-links { color: #666666; }
#footer .footer-links a { color: #b3b3b3; }
#footer .copyright { color: #727272; }    
</style> 
 
<meta name="description" content="Check into the world’s largest virtual hotel for FREE! Meet and make friends, play games, chat with others, create your avatar, design rooms and more…" /> 
<meta name="keywords" content="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/57_2e3408bf59a2a5d170796f9ed32eb6fe/4/web-gallery/v2/styles/ie8.css" type="text/css" />
<![endif]--> 
<!--[if lt IE 8]>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/57_2e3408bf59a2a5d170796f9ed32eb6fe/4/web-gallery/v2/styles/ie.css" type="text/css" />
<![endif]--> 
<!--[if lt IE 7]>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/57_2e3408bf59a2a5d170796f9ed32eb6fe/4/web-gallery/v2/styles/ie6.css" type="text/css" />
<script src="http://images.habbo.com/habboweb/57_2e3408bf59a2a5d170796f9ed32eb6fe/4/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(/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 id="frontpage"> 
 
<div id="overlay"></div> 
 
<div id="site-header"> 
 
 
    <form id="loginformitem" name="loginformitem" action="%www%/account/submit"          method="post"> 
 
 
        <div style="clear: both;"></div> 
 
        <div id="site-header-content"> 
 
            <div id="habbo-logo"></div> 
 
            <div id="login-form"> 
 
 
                <div id="login-form-email"> 
                    <label for="login-username"                           class="login-text">Username</label> 
                    <input tabindex="3" type="text" class="login-field" name="credentials.username" id="login-username"                           value="" maxlength="48"/> 
                    <br/> 
                    <input tabindex="6" type="checkbox" name="_login_remember_me" id="login-remember-me"                           value="true"/> 
                    <label for="login-remember-me">Keep me logged in</label> 
 
<div id="landing-remember-me-notification" class="bottom-bubble" style="display:none;"> 
	<div class="bottom-bubble-t"><div></div></div> 
	<div class="bottom-bubble-c"> 
                        By selecting this you will stay logged in to wired, until you &quot;Sign Out&quot;.
	</div> 
	<div class="bottom-bubble-b"><div></div></div> 
</div> 
 
                </div> 
 
                <div id="login-form-password"> 
                    <label for="login-password" class="login-text">Password</label> 
                    <input tabindex="4" type="password" class="login-field" name="credentials.password"                           id="login-password" maxlength="32"/> 
 
                    <div id="login-forgot-password"> 
                        <a href="%www%"                           id="forgot-password"><span>Forgot your password?</span></a> 
                    </div> 
                </div> 
 
                <div id="login-form-submit"> 
                    <input type="submit" value="Login" class="login-top-button"                           id="login-submit-button"/> 
                    <a href="#" tabindex="5"                       id="login-submit-new-button"><span>Login</span></a> 
                </div> 
 
            </div> 
 
            <div id="rpx-login"> 
                <li> 
<div id="fb-root"></div> 

    <span class="whos-online"><font color="white">%hotel_status%</font>/span> 
</a> 
 
<script type="text/javascript"> 
    function logged_in(response) {
        var redirectUrl = "/facebook?connect=true&partner=FBC";
        if (response.session) {
            window.location.replace(redirectUrl);
        } else if (response.status == 'connected') {
            FB.getLoginStatus(function(response) {
                if (response.session) {
                    window.location.replace(redirectUrl);
                }
            }, true);
        }
    }
</script>                </li> 
 
                <li> 
 
    <a class="rpxnow" onclick="return false;" href="#">More ways to login</a> 
</div>                </li> 
 
            </div> 
 
            <script type="text/javascript"> 
                HabboView.add(function() {fieldFocus('login-username');popdownSetupRun();});
                HabboView.add(function() {LandingPage.init();});
            </script> 
 
        </div> 
 
    </form> 
 
</div> 
 
<div id="fp-container"> 
    <div id="content"> 
    <div id="column1" class="column"> 
			     		
				
 
<script type="text/javascript"> 
HabboView.add(function() {
    var button = $$("#join-now-button")[0];
    var cont = $("geoip-ad-container");
    cont.setStyle({left: button.getStyle("left")});
    var top = parseInt(button.getStyle("top"));
    top += button.getHeight() + 10;
    cont.setStyle({top: top + "px"});
    cont.setStyle({visibility: "visible"});
});
</script> 
	
						
					
				</div> 
				<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script> 
			 
 
			     		
				<div class="habblet-container ">		
	

</div> 
 
<div id="frontpage-image-container"> 
 
 
    
    <div id="join-now-button"> 
        <a href="/register" onclick="location.href=this.href"> 
            <div id="join-now-text-big">Join Wired</div> 
            <div id="join-now-text-small">for Free</div> 
        </a> 
        <span></span> 
    </div> 
    <a href="https://www.wiredhotel.com/register" id="frontpage-image" style="background-image: url('http://images.habbo.com/c_images/Frontpage_images/hotel_view_low_wired.png')"></a> 
</div> 
 
 
<div id="tags-main-container"> 
 
 
    <div id="tags-container" style="width: 650px;"> 
        <div class="roundedrect" id="tag-cloud-slim" > 
            <span class="tags-habbos-like">Wired's Like:</span> 
 
    <ul class="tag-list"> 
          <?php include 'tagcloud.tpl'; ?></li> 
    </ul> 
        </div> 
    </div> 
</div>
    
    
        
 
</body> 
</html>

If that doesn't work, post the error here.
 

Users who are viewing this thread

Top