HoloCMS -> r63? ;o

Status
Not open for further replies.

Predict

Active Member
Jun 27, 2011
126
63
Code name: Biscuit

What does this bad boy have to offer?

Template class to seperate PHP from HTML.
MySQL class to connect and disconect from the database.
User class to select functions to the main website.
Core class to select functions on a global level for the main website.
Home class to select functions for Homes, Groups and the web store for the main website.
Configuration file to connect to the database and put in the correct URL to your website.

Guest access
- index.php
- register.php

User access
- me.php
- home.php
- account.php
- club.php
- community.php
- news.php
- staff.php
- tags.php
- media.php (tinychat)
- group.php
- credits.php
- client.php
- logout.php

Misc
- habblet.php
- myhabbo.php
- quickmenu.php
- store.php

Global level
- Housekeeping/
- documents.php (terms of service and privacy policy)
- error.php
- maintenance.php

What to expect?

A slightly bigger build on web pages for the main website. A lot more features, improved security checks, performance boost and revised source code.

This is a development, so somethings might not work as they should, yet. Although report all bugs and problems or things you might think need my attention.

Source code.

Code:
<?php
if(!defined('PAGE'))
{
die('Why are you here?');
}
 
require_once ('Storage/Classes/class.mysql.php');
require_once ('Storage/Classes/class.user.php');
require_once ('Storage/Classes/class.core.php');
require_once ('Storage/Classes/class.template.php');
 
$user = new user();
$core = new core();
$template = new template1();
 
require_once ('Storage/config.php');
 
$db = new mysql($config['mysql']['hostname'], $config['mysql']['username'], $config['mysql']['password'], $config['mysql']['database']);
$db->Connect();
 
session_start();
 
if (isset($_SESSION['username']) && isset($_SESSION['password']))
{
if ($user->ValidateUser($_SESSION['username'], $_SESSION['password']))
{
if ($user->ValidateBan($user->NameToId($_SESSION['username'])))
{
unset($_SESSION['username']);
unset($_SESSION['password']);
exit;
}
else
{
define('LOGGED_IN', true);
}
}
}
else
{
define('LOGGED_IN', false);
}
 
function mysql_evaluate($query, $default_value="undefined")
{
$result = mysql_query($query);
 
if(mysql_num_rows($result) < 1)
{
return $default_value;
}
else
{
return mysql_result($result, 0);
}
}
 
if (((core::FetchMaintenance() == "1") ? true : false) && !defined('MAINTENANCE'))
{
header("Location: ".$path."maintenance.php");
exit;
}
?>

Live Demo:
 

Champion

Member
Aug 26, 2011
60
32
Siiick, I've seen it done on spanish forums and translated one to use for a hotel but it was riddled with exploits and they harassed my host :(( Thanks predict!!
 

Predict

Active Member
Jun 27, 2011
126
63
#Revision 2
- Hand coded myhabbo.php (allows you to add a widget, sticker, stickie and deletes them, oh and saves home).
- Revised store.php with better techniques to "deploy" into the homes, while making it very secure.
- Hand coded home.php making it accessible with a template system from home.tpl.
- Home.tpl template -


2elv4mg.png


#Revision 2 home.tpl
HTML:
<!DOCTYPE html>
<head>
    <title>Habbo: [homeUsername]</title>
   
    <script src="[WWW]web-gallery/static/js/visual.js" type="text/javascript"></script>
    <script src="[WWW]web-gallery/static/js/libs.js" type="text/javascript"></script>
    <script src="[WWW]web-gallery/static/js/common.js" type="text/javascript"></script>
    <script src="[WWW]web-gallery/static/js/fullcontent.js" type="text/javascript"></script>
    <script src="[WWW]web-gallery/static/js/libs2.js" type="text/javascript"></script>
    <link rel="stylesheet" href="[WWW]web-gallery/v2/styles/style.css" type="text/css" />
    <link rel="stylesheet" href="[WWW]web-gallery/v2/styles/buttons.css" type="text/css" />
    <link rel="stylesheet" href="[WWW]web-gallery/v2/styles/boxes.css" type="text/css" />
    <link rel="stylesheet" href="[WWW]web-gallery/v2/styles/tooltips.css" type="text/css" />
   
    <script type="text/javascript">
        var andSoItBegins = (new Date()).getTime();
        document.habboLoggedIn = true;
        var habboName = "[username]";
        var habboReqPath = "[WWW]";
        var habboStaticFilePath = "[WWW]web-gallery";
        var habboImagerUrl = "[WWW]habbo-imaging/";
        var habboPartner = "";
        window.name = "habboMain";
    </script>
   
    <link rel="stylesheet" href="[WWW]web-gallery/styles/myhabbo/myhabbo.css" type="text/css" />
    <link rel="stylesheet" href="[WWW]web-gallery/styles/myhabbo/skins.css" type="text/css" />
    <link rel="stylesheet" href="[WWW]web-gallery/styles/myhabbo/dialogs.css" type="text/css" />
    <link rel="stylesheet" href="[WWW]web-gallery/styles/myhabbo/buttons.css" type="text/css" />
    <link rel="stylesheet" href="[WWW]web-gallery/styles/myhabbo/control.textarea.css" type="text/css" />
    <link rel="stylesheet" href="[WWW]web-gallery/styles/myhabbo/boxes.css" type="text/css" />
    <link rel="stylesheet" href="[WWW]web-gallery/v2/styles/myhabbo.css" type="text/css" />
    <link rel="stylesheet" href="[WWW]web-gallery/styles/myhabbo/assets.css" type="text/css" />
   
    <script src="[WWW]web-gallery/static/js/homeview.js" type="text/javascript"></script>
    <script src="[WWW]web-gallery/static/js/homeauth.js" type="text/javascript"></script>
    <link rel="stylesheet" href="[WWW]web-gallery/v2/styles/group.css" type="text/css" />
    <style type="text/css">
        #playground, #playground-outer
        {
            [playground]
        }
    </style>
   
    [editMode]
   
    <meta name="description" content="habbo hotel is a virtual world where you can meet and make friends." />
    <meta name="keywords" content="habbo hotel,habbo,virtual world,play games,enter competitions,make friends" />
   
    <!--[if lt IE 8]>
        <link rel="stylesheet" href="web-gallery/v2/styles/ie.css" type="text/css" />
    <![endif]-->
    <!--[if lt IE 7]>
        <link rel="stylesheet" href="web-gallery/v2/styles/ie6.css" type="text/css" />
        <script src="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("web-gallery/csshover.htc"); }
        </style>
    <![endif]-->
</head>
                [header]
                </ul>
            </div>
        </div>
        <div id="container">
            <div id="content" style="position: relative" class="clearfix">
                <div id="mypage-wrapper" class="cbb blue">
                    <div class="box-tabs-container box-tabs-left clearfix">
                        [modify]
                        <h2 class="page-owner">[homeUsername]</h2>
                        <ul class="box-tabs"></ul>
                    </div>   
                    <div id="mypage-content">
                        [webStore]
                        <div id="mypage-bg" class="[background]">
                            <div id="playground-outer">
                                <div id="playground">
                                    [letsplay]
                                </div>
                            </div>
                            <div id="mypage-ad">
                                <div class="habblet">
                                    <div class="ad-container">
                                        <iframe src="http://www.vemba.com/i/?z=99" frameborder="0" scrolling="no" height="600"></iframe>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <script language="JavaScript" type="text/javascript">
                    initEditToolbar();
                    initMovableItems();
                    document.observe("dom:loaded", initDraggableDialogs);
                </script>
                <div id="edit-save" style="display:none;"></div>
                <div id="footer">
                    <p><a href="index.php" target="_self">Homepage</a> | <a href="./disclaimer.php" target="_self">Terms of Service</a> | <a href="./privacy.php" target="_self">Privacy Policy</a></p>
                </div>
            </div>
        </div>
        [editMenu]
<script type="text/javascript">
HabboView.run();
</script>
</body>
</html>

It also allows you to view the homes in guest mode. Oh and I've made it so you can have name/id

name:
id:

#Revision 3
- Error page with a login form. :} - works while logged in and logged out.
- Revised home.tpl, minor html tag fixes.
- Added login form into homes when user is not logged in.

f209z5.png


b8q4n.png


2qkkuuq.png
 

emonemo1234

Member
Feb 9, 2012
221
26
I dont see why your wasting your time on this, HabboRE has completed this already for r63 with working habbo homes and groups :S
 

Predict

Active Member
Jun 27, 2011
126
63
I dont see why your wasting your time on this


"Yes, I'm total badass, I'm working on two developments at the same time, just goes to show I've got a lot of free time at the moment, haha..."

HabboRE has completed this already for r63 with working habbo homes and groups :S
And I care because?...

I'm doing this of my own back because everytime I code I learn something new and remember more source code, which advances my abilities as a coder/developer. I guess you wouldn't know anything about that, since you closed your thread @

Oh and just because someone's done something, doesn't mean its always the right way to do it.
 

Thom

You can't touch this
Oct 1, 2010
1,305
386
Hiya,
Just to let you guys know, there is no rule against having two active developments. If he wants to do this then he can. Please stop with the spamming and off topic posting!
 

Sean

‫‫‫‫‫‫  ‫  Don't Worry, Be Happy
Dec 12, 2011
1,121
405
Yes this is his current project I do believe and he is still currently doing it :)
 

Synapse

PogChamp
Mar 3, 2012
164
59
Looking forward to this being finished. I <3 Holo ;(... Will use on my new hotel if good!
 

Predict

Active Member
Jun 27, 2011
126
63
sdgprm.png


33nc6tu.png


2vv1iqt.png


15305mw.png


30kc7mg.png


Host has been down, so no demo for now, just been updating lost work ;p

HTML:
<!DOCTYPE html>
<head>
    <title>Habbo: [Husername]</title>
   
    <script src="[WWW]web-gallery/static/js/visual.js" type="text/javascript"></script>
    <script src="[WWW]web-gallery/static/js/libs.js" type="text/javascript"></script>
    <script src="[WWW]web-gallery/static/js/common.js" type="text/javascript"></script>
    <script src="[WWW]web-gallery/static/js/fullcontent.js" type="text/javascript"></script>
    <script src="[WWW]web-gallery/static/js/libs2.js" type="text/javascript"></script>
    <link rel="stylesheet" href="[WWW]web-gallery/v2/styles/style.css" type="text/css" />
    <link rel="stylesheet" href="[WWW]web-gallery/v2/styles/buttons.css" type="text/css" />
    <link rel="stylesheet" href="[WWW]web-gallery/v2/styles/boxes.css" type="text/css" />
    <link rel="stylesheet" href="[WWW]web-gallery/v2/styles/tooltips.css" type="text/css" />
   
    <script type="text/javascript">
        var andSoItBegins = (new Date()).getTime();
        document.habboLoggedIn = true;
        var habboName = "[username]";
        var habboReqPath = "[WWW]";
        var habboStaticFilePath = "[WWW]web-gallery/";
        var habboImagerUrl = "[WWW]habbo-imaging/";
        var habboPartner = "";
        window.name = "habboMain";
    </script>
   
    <link rel="stylesheet" href="[WWW]web-gallery/styles/myhabbo/myhabbo.css" type="text/css" />
    <link rel="stylesheet" href="[WWW]web-gallery/styles/myhabbo/skins.css" type="text/css" />
    <link rel="stylesheet" href="[WWW]web-gallery/styles/myhabbo/dialogs.css" type="text/css" />
    <link rel="stylesheet" href="[WWW]web-gallery/styles/myhabbo/buttons.css" type="text/css" />
    <link rel="stylesheet" href="[WWW]web-gallery/styles/myhabbo/control.textarea.css" type="text/css" />
    <link rel="stylesheet" href="[WWW]web-gallery/styles/myhabbo/boxes.css" type="text/css" />
    <link rel="stylesheet" href="[WWW]web-gallery/v2/styles/myhabbo.css" type="text/css" />
    <link rel="stylesheet" href="[WWW]web-gallery/styles/myhabbo/assets.css" type="text/css" />
   
    <script src="[WWW]web-gallery/static/js/homeview.js" type="text/javascript"></script>
    <script src="[WWW]web-gallery/static/js/homeauth.js" type="text/javascript"></script>
    <link rel="stylesheet" href="[WWW]web-gallery/v2/styles/group.css" type="text/css" />
    <style type="text/css">
        [playground]
    </style>
    [homeedit]
    <meta name="description" content="habbo hotel is a virtual world where you can meet and make friends." />
    <meta name="keywords" content="habbo hotel,habbo,virtual world,play games,enter competitions,make friends" />
   
    <!--[if lt IE 8]>
        <link rel="stylesheet" href="[WWW]web-gallery/v2/styles/ie.css" type="text/css" />
    <![endif]-->
    <!--[if lt IE 7]>
        <link rel="stylesheet" href="[WWW]web-gallery/v2/styles/ie6.css" type="text/css" />
        <script src="[WWW]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("[WWW]web-gallery/csshover.htc"); }
        </style>
    <![endif]-->
</head>
[body]
    <div id="overlay"></div>
    <div id="header-container">
        <div id="header" class="clearfix">
            <h1><a href="[WWW]"></a></h1>
            <div id="subnavi">
                <div id="subnavi-user">
                    <ul>
                        <li id="myfriends"><a href="#"><span>My Friends</span></a><span class="r"></span></li>
                        <li id="mygroups"><a href="#"><span>My Groups</span></a><span class="r"></span></li>
                        <li id="myrooms"><a href="#"><span>My Rooms</span></a><span class="r"></span></li>
                    </ul>
                    <a href="[WWW]client.php" id="enter-hotel-open-medium-link" target="client" onclick="openOrFocusHabbo('[WWW]client.php'); return false;">Enter Habbo Hotel</a>
                </div>
                <div id="subnavi-search">
                    <div id="subnavi-search-upper">
                        <ul id="subnavi-search-links">
                            <li>
                                <a href="[WWW]iot/go.php" target="habbohelp" onclick="openOrFocusHelp(this); return false">Help</a>
                            </li>
                            <li>
                                <a href="[WWW]logout.php" class="userlink">Sign Out</a>
                            </li>
                        </ul>
                    </div>
                    <form name="tag_search_form" action="home.php" class="search-box clearfix">
                        <a id="search-button" class="new-button search-icon" href="#" onclick="$('search-button').up('form').submit(); return false;"><b><span></span></b><i></i></a>                   
                        <input type="text" name="name" id="search_query" value="User Profile.." class="search-box-query search-box-onfocus" style="float:right"/>
                    </form>
                    <script type="text/javascript">SearchBoxHelper.init();</script>
                </div>
            </div>
            <script type="text/javascript">
                L10N.put("purchase.group.title", "Create a group");
            </script>
            [navigation]
        <div id="container">
            <div id="content" style="position: relative" class="clearfix">
                <div id="mypage-wrapper" class="cbb blue">
                    <div class="box-tabs-container box-tabs-left clearfix">
                        [modify]
                        <h2 class="page-owner">[Husername]</h2>
                        <ul class="box-tabs"></ul>
                    </div>   
                    <div id="mypage-content">
                        [toptoolbar]
                        <div id="mypage-bg" class="[background]">
                            <div id="playground-outer">
                                <div id="playground">
                                    [stickie]
                                    [sticker]
                                    [badges]
                                    [profile]
                                </div>
                                <div id="mypage-ad">
                                    <div class="habblet">
                                        <div class="ad-container">
                                            [advertisement]
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <script language="JavaScript" type="text/javascript">
                        initEditToolbar();
                        initMovableItems();
                        document.observe("dom:loaded", initDraggableDialogs);
                    </script>
                    <div id="edit-save" style="display:none;"></div>
                </div>
                <div id="footer">
                    <p><a href="[WWW]" target="_self">Homepage</a> | <a href="[WWW]disclaimer.php" target="_self">Terms of Service</a> | <a href="[WWW]privacy.php" target="_self">Privacy Policy</a></p>
                </div>
            </div>
        </div>
    </div>
    <div id="edit-menu" class="menu">
        <div class="menu-header">
            <div class="menu-exit" id="edit-menu-exit"><img src="[WWW]web-gallery/images/dialogs/menu-exit.gif" alt="" width="11" height="11" /></div>
                <h3>Edit</h3>
            </div>
            <div class="menu-body">
                <div class="menu-content">
                    <form action="#" onsubmit="return false;">
                        <div id="edit-menu-skins">
                            <select id="edit-menu-skins-select">
                                <option value="1" id="edit-menu-skins-select-defaultskin">Default</option>
                                <option value="6" id="edit-menu-skins-select-goldenskin">Golden</option>
                                <option value="3" id="edit-menu-skins-select-metalskin">Metal</option>
                                <option value="5" id="edit-menu-skins-select-notepadskin">Notepad</option>
                                <option value="2" id="edit-menu-skins-select-speechbubbleskin">Speech Bubble</option>
                                <option value="4" id="edit-menu-skins-select-noteitskin">Stickie Note</option>
                                [hcmenu]
                                [staffmenu]
                            </select>
                        </div>
                        <div id="edit-menu-stickie">
                            <p>Warning! If you click 'Remove', the note will be permanently deleted.</p>
                        </div>
                        <div id="rating-edit-menu">
                            <input type="button" id="ratings-reset-link" value="Reset rating" />
                        </div>
                        <div id="highscorelist-edit-menu" style="display:none">
                            <select id="highscorelist-game">
                                <option value="">Select game</option>
                                <option value="1">Battle Ball: Rebound!</option>
                                <option value="2">SnowStorm</option>
                                <option value="0">Wobble Squabble</option>
                            </select>
                        </div>
                        <div id="edit-menu-remove-group-warning">
                            <p>This item belongs to another user. If you remove it, it will return to their inventory.</p>
                        </div>
                        <div id="edit-menu-gb-availability">
                            <select id="guestbook-privacy-options">
                                <option value="private">Private</option>
                                <option value="public">Public</option>
                            </select>
                        </div>
                        <div id="edit-menu-trax-select">
                            <select id="trax-select-options"></select>
                        </div>
                        <div id="edit-menu-remove">
                            <input type="button" id="edit-menu-remove-button" value="Remove" />
                        </div>
                    </form>
                    <div class="clear"></div>
                </div>
            </div>
            <div class="menu-bottom"></div>
        </div>
    </div>
    <script language="JavaScript" type="text/javascript">
        Event.observe(window, "resize", function() { if (editMenuOpen) closeEditMenu(); }, false);
        Event.observe(document, "click", function() { if (editMenuOpen) closeEditMenu(); }, false);
        Event.observe("edit-menu", "click", Event.stop, false);
        Event.observe("edit-menu-exit", "click", function() { closeEditMenu(); }, false);
        Event.observe("edit-menu-remove-button", "click", handleEditRemove, false);
        Event.observe("edit-menu-skins-select", "click", Event.stop, false);
        Event.observe("edit-menu-skins-select", "change", handleEditSkinChange, false);
        Event.observe("guestbook-privacy-options", "click", Event.stop, false);
        Event.observe("guestbook-privacy-options", "change", handleGuestbookPrivacySettings, false);
        Event.observe("trax-select-options", "click", Event.stop, false);
        Event.observe("trax-select-options", "change", handleTraxplayerTrackChange, false);
    </script>
    <script type="text/javascript">
        HabboView.run();
    </script>
</body>
</html>
 

Synapse

PogChamp
Mar 3, 2012
164
59
I reckon one thing. Use [shortname] instead of Habbo, so poeple don't have to manally change everything to their name. I.E Example hotel. Make a config so you can put Example in the shortname and it would say Example: Welcome rather than Habbo: Welcome
 

DaLightz

See ya'll in the afterlife.
May 19, 2012
1,136
262
Cool Predict! i hope to see this! But do you think it will work for the latest xampp now?
And have you released the uber re-dev yet? ;#
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,199
3,934
Looking good, good luck, hope to see you continue it! :D
 

Predict

Active Member
Jun 27, 2011
126
63
Uber re-dev is post poned. ;p

#Revision 4
- Error page re added
- Homes re added, revision updated from my last post.
- Updated all of the homes store icons and images
- Coded account settings (preferences, password, email, etc)
- Revised register page.

Home.tpl
HTML:
<!DOCTYPE html>
<head>
    <title>Habbo: [Husername]</title>
 
    <script src="[WWW]web-gallery/static/js/visual.js" type="text/javascript"></script>
    <script src="[WWW]web-gallery/static/js/libs.js" type="text/javascript"></script>
    <script src="[WWW]web-gallery/static/js/common.js" type="text/javascript"></script>
    <script src="[WWW]web-gallery/static/js/fullcontent.js" type="text/javascript"></script>
    <script src="[WWW]web-gallery/static/js/libs2.js" type="text/javascript"></script>
    <link rel="stylesheet" href="[WWW]web-gallery/v2/styles/style.css" type="text/css" />
    <link rel="stylesheet" href="[WWW]web-gallery/v2/styles/buttons.css" type="text/css" />
    <link rel="stylesheet" href="[WWW]web-gallery/v2/styles/boxes.css" type="text/css" />
    <link rel="stylesheet" href="[WWW]web-gallery/v2/styles/tooltips.css" type="text/css" />
 
    <script type="text/javascript">
        var andSoItBegins = (new Date()).getTime();
        document.habboLoggedIn = true;
        var habboName = "[username]";
        var habboReqPath = "[WWW]";
        var habboStaticFilePath = "[WWW]web-gallery/";
        var habboImagerUrl = "[WWW]habbo-imaging/";
        var habboPartner = "";
        window.name = "habboMain";
    </script>
 
    <link rel="stylesheet" href="[WWW]web-gallery/styles/myhabbo/myhabbo.css" type="text/css" />
    <link rel="stylesheet" href="[WWW]web-gallery/styles/myhabbo/skins.css" type="text/css" />
    <link rel="stylesheet" href="[WWW]web-gallery/styles/myhabbo/dialogs.css" type="text/css" />
    <link rel="stylesheet" href="[WWW]web-gallery/styles/myhabbo/buttons.css" type="text/css" />
    <link rel="stylesheet" href="[WWW]web-gallery/styles/myhabbo/control.textarea.css" type="text/css" />
    <link rel="stylesheet" href="[WWW]web-gallery/styles/myhabbo/boxes.css" type="text/css" />
    <link rel="stylesheet" href="[WWW]web-gallery/v2/styles/myhabbo.css" type="text/css" />
    <link rel="stylesheet" href="[WWW]web-gallery/styles/myhabbo/assets.css" type="text/css" />
 
    <script src="[WWW]web-gallery/static/js/homeview.js" type="text/javascript"></script>
    <script src="[WWW]web-gallery/static/js/homeauth.js" type="text/javascript"></script>
    <link rel="stylesheet" href="[WWW]web-gallery/v2/styles/group.css" type="text/css" />
    <style type="text/css">
        [playground]
    </style>
    [homeedit]
    <meta name="description" content="habbo hotel is a virtual world where you can meet and make friends." />
    <meta name="keywords" content="habbo hotel,habbo,virtual world,play games,enter competitions,make friends" />
 
    <!--[if lt IE 8]>
        <link rel="stylesheet" href="[WWW]web-gallery/v2/styles/ie.css" type="text/css" />
    <![endif]-->
    <!--[if lt IE 7]>
        <link rel="stylesheet" href="[WWW]web-gallery/v2/styles/ie6.css" type="text/css" />
        <script src="[WWW]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("[WWW]web-gallery/csshover.htc"); }
        </style>
    <![endif]-->
</head>
[body]
    <div id="overlay"></div>
    <div id="header-container">
        <div id="header" class="clearfix">
            <h1><a href="[WWW]"></a></h1>
            <div id="subnavi">
                <div id="subnavi-user">
                    <ul>
                        <li id="myfriends"><a href="#"><span>My Friends</span></a><span class="r"></span></li>
                        <li id="mygroups"><a href="#"><span>My Groups</span></a><span class="r"></span></li>
                        <li id="myrooms"><a href="#"><span>My Rooms</span></a><span class="r"></span></li>
                    </ul>
                    <a href="[WWW]client.php" id="enter-hotel-open-medium-link" target="client" onclick="openOrFocusHabbo('[WWW]client.php'); return false;">Enter Habbo Hotel</a>
                </div>
                <div id="subnavi-search">
                    <div id="subnavi-search-upper">
                        <ul id="subnavi-search-links">
                            <li>
                                <a href="[WWW]iot/go.php" target="habbohelp" onclick="openOrFocusHelp(this); return false">Help</a>
                            </li>
                            <li>
                                <a href="[WWW]logout.php" class="userlink">Sign Out</a>
                            </li>
                        </ul>
                    </div>
                    <form name="tag_search_form" action="home.php" class="search-box clearfix">
                        <a id="search-button" class="new-button search-icon" href="#" onclick="$('search-button').up('form').submit(); return false;"><b><span></span></b><i></i></a>                 
                        <input type="text" name="name" id="search_query" value="User Profile.." class="search-box-query search-box-onfocus" style="float:right"/>
                    </form>
                    <script type="text/javascript">SearchBoxHelper.init();</script>
                </div>
            </div>
            <script type="text/javascript">
                L10N.put("purchase.group.title", "Create a group");
            </script>
            [navigation]
        <div id="container">
            <div id="content" style="position: relative" class="clearfix">
                <div id="mypage-wrapper" class="cbb blue">
                    <div class="box-tabs-container box-tabs-left clearfix">
                        [modify]
                        <h2 class="page-owner">[Husername]</h2>
                        <ul class="box-tabs"></ul>
                    </div> 
                    <div id="mypage-content">
                        [toptoolbar]
                        <div id="mypage-bg" class="[background]">
                            <div id="playground-outer">
                                <div id="playground">
                                    [stickie]
                                    [sticker]
                                    [badges]
                                    [profile]
                                </div>
                                <div id="mypage-ad">
                                    <div class="habblet">
                                        <div class="ad-container">
                                            [advertisement]
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    [dragscript]
                    <div id="edit-save" style="display:none;"></div>
                </div>
                <div id="footer">
                    <p><a href="[WWW]" target="_self">Homepage</a> | <a href="[WWW]disclaimer.php" target="_self">Terms of Service</a> | <a href="[WWW]privacy.php" target="_self">Privacy Policy</a></p>
                </div>
            </div>
        </div>
    </div>
    [editmenu]
    <script type="text/javascript">
        HabboView.run();
    </script>
</body>
</html>

35i4237.png


20fqfk3.png


2powiag.png


200a4g0.png


Account.TPL
HTML:
<!DOCTYPE html>
<head>
    <title>Habbo: Account Settings</title>
 
    <link rel="shortcut icon" href="[WWW]favicon.ico" type="image/vnd.microsoft.icon" />
    <script src="[WWW]web-gallery/static/js/visual.js" type="text/javascript"></script>
    <script src="[WWW]web-gallery/static/js/libs.js" type="text/javascript"></script>
    <script src="[WWW]web-gallery/static/js/common.js" type="text/javascript"></script>
    <script src="[WWW]web-gallery/static/js/fullcontent.js" type="text/javascript"></script>
    <script src="[WWW]web-gallery/static/js/libs2.js" type="text/javascript"></script>
    <link rel="stylesheet" href="[WWW]web-gallery/v2/styles/style.css" type="text/css" />
    <link rel="stylesheet" href="[WWW]web-gallery/v2/styles/buttons.css" type="text/css" />
    <link rel="stylesheet" href="[WWW]web-gallery/v2/styles/boxes.css" type="text/css" />
    <link rel="stylesheet" href="[WWW]web-gallery/v2/styles/tooltips.css" type="text/css" />
 
    <link rel="stylesheet" href="[WWW]web-gallery/v2/styles/settings.css" type="text/css" />
 
    <script type="text/javascript">
        var andSoItBegins = (new Date()).getTime();
        document.habboLoggedIn = true;
        var habboName = "[username]";
        var habboReqPath = "[WWW]";
        var habboStaticFilePath = "[WWW]web-gallery/";
        var habboImagerUrl = "[WWW]habbo-imaging/";
        var habboPartner = "";
        window.name = "habboMain";
    </script>
 
    <meta name="description" content="habbo hotel is a virtual world where you can meet and make friends." />
    <meta name="keywords" content="habbo,habbo hotel,virtual world,play games,enter competitions,make friends" />
 
    <!--[if lt IE 8]>
        <link rel="stylesheet" href="[WWW]web-gallery/v2/styles/ie.css" type="text/css" />
    <![endif]-->
    <!--[if lt IE 7]>
        <link rel="stylesheet" href="[WWW]web-gallery/v2/styles/ie6.css" type="text/css" />
        <script src="[WWW]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("[WWW]web-gallery/csshover.htc"); }
        </style>
    <![endif]-->
</head>
<body id="home">
    <div id="overlay"></div>
    <div id="header-container">
        <div id="header" class="clearfix">
            <h1><a href="[WWW]"></a></h1>
            <div id="subnavi">
                <div id="subnavi-user">
                    <ul>
                        <li id="myfriends"><a href="#"><span>My Friends</span></a><span class="r"></span></li>
                        <li id="mygroups"><a href="#"><span>My Groups</span></a><span class="r"></span></li>
                        <li id="myrooms"><a href="#"><span>My Rooms</span></a><span class="r"></span></li>
                    </ul>
                    <a href="[WWW]client.php" id="enter-hotel-open-medium-link" target="client" onclick="openOrFocusHabbo('[WWW]client.php'); return false;">Enter Habbo Hotel</a>
                </div>
                <div id="subnavi-search">
                    <div id="subnavi-search-upper">
                        <ul id="subnavi-search-links">
                            <li>
                                <a href="[WWW]iot/go.php" target="habbohelp" onclick="openOrFocusHelp(this); return false">Help</a>
                            </li>
                            <li>
                                <a href="[WWW]logout.php" class="userlink">Sign Out</a>
                            </li>
                        </ul>
                    </div>
                    <form name="tag_search_form" action="home.php" class="search-box clearfix">
                        <a id="search-button" class="new-button search-icon" href="#" onclick="$('search-button').up('form').submit(); return false;"><b><span></span></b><i></i></a>                 
                        <input type="text" name="name" id="search_query" value="User Profile.." class="search-box-query search-box-onfocus" style="float:right"/>
                    </form>
                    <script type="text/javascript">SearchBoxHelper.init();</script>
                </div>
            </div>
            <script type="text/javascript">
                L10N.put("purchase.group.title", "Create a group");
            </script>
            <ul id="navi">
                <li class="selected">
                    <strong>[username]</strong><span></span>
                </li>
                <li class="">
                    <a href="[WWW]community.php">Community</a><span></span>
                </li>
                <li class="">
                    <a href="[WWW]credits.php">Credits</a><span></span>
                </li>
                [housekeeping]
            </ul>
            <div id="habbos-online">
                <div class="rounded">
                    <span>[ONLINECOUNT] users online now</span>
                </div>
            </div>
        </div>
    </div>
    <div id="content-container">
        <div id="navi2-container" class="pngbg">
            <div id="navi2" class="pngbg clearfix">
                <ul>
                    <li class="">
                        <a href="[WWW]">Homepage</a>
                    </li>
                    <li class="">
                        <a href="[WWW]home.php?name=[username]">My Page</a>
                    </li>
                    <li class="selected">
                        Account Settings
                    </li>
                    <li class="last">
                        <a href="[WWW]club.php">Habbo Club</a>
                    </li>
                </ul>
            </div>
        </div>
            <div id="container">
                <div id="content">
                    <div id="column1" class="column" style="width:210px;">
                        <div class="habblet-container">     
                            <div class="cbb clearfix settings">
                                <h2 class="title">Account Settings</h2>
                                <div class="box-content">
                                    <div id="settingsNavigation">
                                        <ul>
                                            [tabs]
                                        </ul>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <script type='text/javascript'>if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
                    <div id="column1" class="column" style="width:560px;">
                        <div class="habblet-container">     
                            <div class="cbb clearfix settings">
                                <h2 class="title">Change your profile</h2>
                                    <div class="box-content">
                                        [error]
                                        [tabscontent]
                            </div>
                        </div>
                    </div>
                    <script type='text/javascript'>if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
                    <div id="column3" class="column">
                        <div class="habblet-container">
                            <div class="ad-container">
                         
                            </div>
                        </div>
                    </div>
                    <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
                </div>
                <!--[if lt IE 7]>
                    <script type="text/javascript">
                        Pngfix.doPngImageFix();
                    </script>
                <![endif]-->
                <div id="footer">
                    <p><a href="[WWW]" target="_self">Homepage</a> | <a href="[WWW]disclaimer.php" target="_self">Terms of Service</a> | <a href="[WWW]privacy.php" target="_self">Privacy Policy</a></p>
                </div>
            </div>
        </div>
    </div>
<script type="text/javascript">
HabboView.run();
</script>
</body>
</html>

2eclv7n.png
 
Status
Not open for further replies.

Users who are viewing this thread

Top