Wanna have that for your hotel?
Then just follow this easy release and I will show you how :)
Open your Me.php and replace it all with this:
Now open up your comp-me.tpl page and edit it so it has this: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. \======================================================================*/ define('TAB_ID', 1); define('PAGE_ID', 2); require_once "global.php"; if (!LOGGED_IN) { header("Location: " . WWW . "/"); exit; } else if ($users->GetUserVar(USER_ID, 'newbie_status') == "0") { header("Location: " . WWW . "/register/welcome"); exit; } // Initialize template system $tpl->Init(); // Initial variables $tpl->SetParam('page_title', 'Home'); // Generate page header $tpl->AddGeneric('head-init'); $tpl->AddIncludeSet('generic'); $tpl->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/personal.css', 'stylesheet')); $tpl->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/habboclub.js')); $tpl->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/minimail.css', 'stylesheet')); $tpl->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/styles/myhabbo/control.textarea.css', 'stylesheet')); $tpl->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/minimail.js')); $tpl->WriteIncludeFiles(); $tpl->AddGeneric('head-overrides-generic'); $tpl->AddGeneric('head-bottom'); // Generate generic top/navigation/login box $tpl->AddGeneric('generic-top'); // Column 1 $tpl->Write('<div id="column1" class="column">'); // Me/infofeed widget $compMe = new Template('comp-me'); $compMe->SetParam('look', $users->GetUserVar(USER_ID, 'look')); $compMe->SetParam('motto', $users->GetUserVar(USER_ID, 'motto')); $compMe->SetParam('creditsBalance', intval($users->GetUserVar(USER_ID, 'credits'))); $compMe->SetParam('pixelsBalance', intval($users->GetUserVar(USER_ID, 'activity_points'))); $compMe->SetParam('lastSignedIn', $users->GetUserVar(USER_ID, 'last_online')); $compMe->SetParam('clubStatus', ($users->HasClub(USER_ID)) ? '<a href="%www%/credits/uberclub">' . $users->GetClubDays(USER_ID) . '</a> Days' : '<a href="%www%/credits/uberclub">Join Uber Club »</a>'); //$compMe->SetParam('clubStatus', ''); $tpl->AddTemplate($compMe); $tpl->Write('</div>'); // Column 2 // Column 3 // Footer $tpl->AddGeneric('footer'); // Output the page $tpl->Output(); ?>
Sorry for all the ridiculous spaces and stuff in the comp-me, that code was edited from its original creator SubzCode:<link rel="stylesheet" href="http://images.habbo.com/habboweb/%web_build%/web-gallery/static/styles/lightweightmepage.css" type="text/css" /> </script> <!-- Uber style overrides --> <style type="text/css"> .title { color: white; text-shadow: black 0.1em 0.1em 0.2em } .body { color: white; text-shadow: black 0.1em 0.1em 0.2em } #newspromo #topstories { position: relative; height: 310px; } .topnewscont{ display:inline-block; width:206px; height:266px; background-color:white; border-radius: 5px; margin-left: 28px; margin-right: 10px; margin-bottom: 10px; background-position: center; } .topnewstitle{ font-size:16px; font-weight:bold; text-align:center; padding-top:1px; width:206px; color: #fff; text-shadow: 2px 2px 2px #000; background-position: bottom; padding-bottom: 0.1em; } .topnewsimg{ text-align:center; margin:10px auto; width:160px; height:160px; } .topnewsdesc{ text-align:center; padding:10px 0; width:206px; margin-top: 153px; color: #fff; text-shadow: black 0.1em 0.1em 0.2em; background-image: url('http://localhost/web-gallery/v2/images/blackbit2.png'); border-bottom-left-radius:5px; border-bottom-right-radius:5px; } #newspromo #topstories #topstories-nav { position: absolute; top: 0; left: 0; height: 21px; width: 100%; background: transparent url(http://localhost/web-gallery/v2/images/topstories_nav_bg2.png) no-repeat top left; color: #fff; text-align: center; line-height: 21px; z-index:99; } #newspromo #topstories #topstories-nav2 { position: bottom; top: 0; left: 0; height: 59px; width: 100%; background: transparent url(../v2/images/blackbit.png) no-repeat bottom left; color: #fff; text-align: center; line-height: 21px; z-index:99; } #newspromo #topstories #topstories-nav a.prev { left: 10px; } #newspromo #topstories #topstories-nav a.next { right: 175px; } #newspromo #topstories #topstories-nav a { top: 0px; color: #fff; text-decoration: none; position: absolute; } #blackbit { width:760px; height:80px; position:absolute; bottom:10px; background-color:rgba(0,0,0,0.4); z-index:99; } p,h3, h4, 46{ z-index:100; } #newspromo .topstory { background: #222222; background-color: #222222; color: #fff; text-shadow: 2px 2px 2px #000; position: absolute; top: 0; left: 0; width: 731px; height: 290px; padding: 5px 14px; border-radius:5px; font-size: 26px; background-position: center;} #newspromo .topstory a { color: #fff; text-shadow: 1px 1px 1px #000; } #newspromo .topstory h4 { margin: 0 0 3px 0; padding: 0; font-weight: normal; text-transform: uppercase; font-size: 11px; } #newspromo .topstory h3 { margin: 215px 0 0px 0; padding: 0; font-size: 18px; } #newspromo .topstory h3 a { text-decoration: none; } #newspromo .topstory h3 a:hover { text-decoration: underline; } #newspromo .topstory h6 { margin: -75px 10px 10px 0; padding: 0; font-size: 16px; text-align: right; } #newspromo .topstory h6 a { text-decoration: none; } #newspromo .topstory p.summary { width: 65%; } #newspromo .newsitem-date { color: #888; font-size: 10px; margin-top: 2px; } #newspromo li.odd a, #newspromo li.even a { color: #333; text-decoration: none; } #newspromo li.odd a:hover, #newspromo li.even a:hover { text-decoration: underline; } #newspromo li.last { text-align: right; } </style> <div id="wide-personal-info"> <div id="habbo-plate"> <a href="http://thrusthotel.com/profile"> <img alt="%habboName%" src="http://www.habbo.com/habbo-imaging/avatarimage?figure=%look%"> </a> </div> <div id="name-box" class="info-box"> <div class="label">Username:</div> <div class="content">%habboName%</div> </div> <div id="motto-box" class="info-box"> <div class="label">Motto:</div> <div class="content"> %motto% - <a href="/profile">Change</a> </div> </div> <div id="last-logged-in-box" class="info-box"> <div class="label">Credits:</div> <div class="content">%creditsBalance%</div> </div> <div class="enter-hotel-btn"> <div class="open enter-btn"> <a href="%www%/client" target="e61a1d2f6d9ba2b022fd840a0645cff02431f253" onclick="HabboClient.openOrFocus(this); return false;">Enter Hotel<i></i></a> <b></b> </div> </div> </div> </div></div> <div class="habblet-container news-promo"> <div class="clearfix notitle "> <div id="newspromo"> <div id="topstories"> <?php $getNews = dbquery("SELECT * FROM site_news ORDER BY timestamp DESC LIMIT 3"); $c = 0; while ($n = mysql_fetch_assoc($getNews)) { $disp = 'block'; if ($c > 0) { $disp = 'none'; } echo '<div class="topstory" style="background-image: url(' . clean($n['topstory_image']) . '); display: ' . $disp . ';"> <h4>Latest news</h4> <h3><a href="' . WWW . '/articles/' . $n['id'] . '-' . $n['seo_link'] . '">' . clean($n['title']) . '</a></h3> <p class="summary"> ' . clean($n['snippet']) . ' </div>'; $c++; } echo '<div id="topstories-nav" style="display: none"><a href="#" class="prev">« Previous</a><span>1</span> / ' . $c . '<a href="#" class="next">Next »</a></div>'; ?> </div> <ul class="widelist"> <?php $getNews = dbquery("SELECT * FROM site_news ORDER BY timestamp DESC LIMIT 3,2"); $oddEven = "odd"; while ($n = mysql_fetch_assoc($getNews)) { if ($oddEven == "odd") { $oddEven = "even"; } else { $oddEven = "odd"; } } ?> <script type="text/javascript"> document.observe("dom:loaded", function() { NewsPromo.init(); }); </script> </div> </div> </div></div> </div><div id="column2" class="column"> </div> <!--[if lt IE 7]> <script type="text/javascript"> Pngfix.doPngImageFix(); </script> <![endif]--> <div id="footer"> <p class="copyright">Powered by uberCMS | Copyright © 2012 - 2013 | All Material Belongs To Their Respected Owner | All Rights Reserved<br> <br> <div style="clear: both;"></div> </div></div> </div></div> <script type="text/javascript"> HabboView.run(); </script> </body> </html>
Credits:
80% Me
20% Subz



Reply With Quote


