Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
Problem with RevCMS.
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="nigith" data-source="post: 290542" data-attributes="member: 47681"><p>I am using the newest Habbo PHP which was released here <a href="http://devbest.com/threads/release-revcms-habbo-layout-habbophp-style.45962/" target="_blank">http://devbest.com/threads/release-revcms-habbo-layout-habbophp-style.45962/</a></p><p>And the reason is because it haves the home page, with the option for edit your habbo home and all that stuff.</p><p>Here's the problem, when I try to edit my habbo home and click on bottom "EDIT", it does nothing.</p><p>Is there some problem with my home.php?</p><p>[SPOILER="Home.php"]</p><p><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"</p><p>"<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" target="_blank">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a>"></p><p><html xmlns="<a href="http://www.w3.org/1999/xhtml" target="_blank">http://www.w3.org/1999/xhtml</a>" xml:lang="en" lang="en" xmlns<img src="/styles/default/xenforo/smilies/emojione/eek.png" class="smilie" loading="lazy" alt=":eek:" title="Eek! :eek:" data-shortname=":eek:" />g="<a href="http://opengraphprotocol.org/schema/" target="_blank">http://opengraphprotocol.org/schema/</a>" xmlns:fb="<a href="http://www.facebook.com/2008/fbml" target="_blank">http://www.facebook.com/2008/fbml</a>"></p><p><head></p><p> <meta http-equiv="content-type" content="text/html; charset=utf-8" /></p><p> <title>{hotelName} - <?php echo $userData['username']; ?></title></p><p> <script type="text/javascript"></p><p> var andSoItBegins = (new Date()).getTime();</p><p> </script></p><p></p><p> <link rel="shortcut icon" href="{url}/app/tpl/skins/Habbo/web-gallery/v2/favicon.ico" type="image/vnd.microsoft.icon" /></p><p> <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/web-gallery/static/styles/common.css" type="text/css" /></p><p> <script src="{url}/app/tpl/skins/Habbo/web-gallery/static/js/libs2.js" type="text/javascript"></script></p><p> <script src="{url}/app/tpl/skins/Habbo/web-gallery/static/js/visual.js" type="text/javascript"></script></p><p> <script src="{url}/app/tpl/skins/Habbo/web-gallery/static/js/libs.js" type="text/javascript"></script></p><p> <script src="{url}/app/tpl/skins/Habbo/web-gallery/static/js/common.js" type="text/javascript"></script></p><p> <script src="{url}/app/tpl/skins/Habbo/web-gallery/static/js/fullcontent.js" type="text/javascript"></script></p><p></p><p> <script type="text/javascript"></p><p> document.habboLoggedIn = true;</p><p> var habboName = "{username}";</p><p> var habboId = "{userid}";</p><p> var facebookUser = false;</p><p> var habboReqPath = "";</p><p> var habboStaticFilePath = "{url}/app/tpl/skins/Habbo/web-gallery";</p><p> var habboImagerUrl = "<a href="http://www.habbo.com/habbo-imaging/" target="_blank">http://www.habbo.com/habbo-imaging/</a>";</p><p> var habboPartner = "";</p><p> var habboDefaultClientPopupUrl = "{url}/client";</p><p> window.name = "habboMain";</p><p> if (typeof HabboClient != "undefined") {</p><p> HabboClient.windowName = "26530fff566f9e67da99560b7fe8da6d71d46391";</p><p> HabboClient.maximizeWindow = true;</p><p> }</p><p> </script></p><p> </p><p> <meta name="description" content="{meta_description}" /></p><p> <meta name="keywords" content="{meta_keywords}" /></p><p></p><p></p><p> <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/web-gallery/static/styles/home.css" type="text/css" /></p><p> <link href="{url}/app/tpl/skins/Habbo/web-gallery/myhabbo/styles/assets/other.css?v=68ea0f7ce9e122d127aa1a6da2a8bbbf" type="text/css" rel="stylesheet" /></p><p> <link href="{url}/app/tpl/skins/Habbo/web-gallery/myhabbo/styles/assets/backgrounds.css?v=c136780c675a3e794da080601f337727" type="text/css" rel="stylesheet" /></p><p> <link href="{url}/app/tpl/skins/Habbo/web-gallery/myhabbo/styles/assets/stickers.css?v=73d0e4e4e2d5183848be8661fa19d689" type="text/css" rel="stylesheet" /></p><p></p><p> <!--script src="{url}/app/tpl/skins/Habbo//web-gallery/static/js/homeview.js" type="text/javascript"></script--></p><p> <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/web-gallery/static/styles/lightwindow.css" type="text/css" /></p><p> <!--script src="{url}/app/tpl/skins/Habbo//web-gallery/static/js/homeauth.js" type="text/javascript"></script--></p><p> <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/web-gallery/static/styles/group.css" type="text/css" /></p><p> <style type="text/css"></p><p></p><p> #playground, #playground-outer {</p><p> width: 752px;</p><p> height: 1360px;</p><p> }</p><p></p><p> </style></p><p></p><p> <script type="text/javascript"></p><p> document.observe("dom:loaded", function() { initView(55331348, 55331348); });</p><p> </script></p><p></p><p> <!--[if IE 8]></p><p> <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/web-gallery/static/styles/ie8.css" type="text/css" /></p><p> <![endif]--></p><p> <!--[if lt IE 8]></p><p> <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/web-gallery/static/styles/ie.css" type="text/css" /></p><p> <![endif]--></p><p> <!--[if lt IE 7]></p><p> <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/web-gallery/static/styles/ie6.css" type="text/css" /></p><p> <script src="{url}/app/tpl/skins/Habbo/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(/js/csshover.htc); }</p><p> </style></p><p> <![endif]--></p><p> <meta name="build" content="63-BUILD2361 - 08.08.2013 12:56 - com" /></p><p></head></p><p></p><p><body id="viewmode" class=" "></p><p><div id="overlay"></div></p><p></p><p><?php </p><p></p><p>$navigatorID = 1;</p><p>require_once ('app/tpl/skins/Habbo/template/header.php'); </p><p></p><p>?></p><p></p><p></p><p><div id="content-container"></p><p></p><p><div id="navi2-container" class="pngbg"></p><p> <div id="navi2" class="pngbg clearfix"></p><p> <ul></p><p> <?php </p><p></p><p> $subNavigatorID = 2;</p><p> require_once ('app/tpl/skins/Habbo/template/sub_header.php'); </p><p></p><p> ?></p><p> </ul></p><p> </div></p><p></div></p><p></p><p><div id="container"></p><p> <div id="content" style="position: relative" class="clearfix"></p><p> <div id="mypage-wrapper" class="cbb blue"></p><p><div class="box-tabs-container box-tabs-left clearfix"></p><p> <?php if ($userData['id'] == $_SESSION['users']['id']) { ?><a href="#" id="edit-button" class="new-button dark-button edit-icon" style="float:left"><b><span></span>EDIT</b><i></i></a> <?php } ?></p><p> <div class="myhabbo-view-tools"></p><p> </div></p><p> <h2 class="page-owner"><?php echo $userData['username']; ?></h2></p><p> <ul class="box-tabs"></ul></p><p></div></p><p> <div id="mypage-content"></p><p> <div id="mypage-bg" class="b_bg_pattern_abstract2"></p><p> <div id="playground"></p><p></p><p></p><p></p><p><div class="movable widget ProfileWidget" id="widget-902026" style=" left: 25px; top: 26px; z-index: 4;"></p><p><div class="w_skin_defaultskin"></p><p> <div class="widget-corner" id="widget-902026-handle"></p><p> <div class="widget-headline"><h3><span class="header-left">&nbsp;</span><span class="header-middle">MY PROFILE</span><span class="header-right">&nbsp;</span></h3></p><p> </div> </p><p> </div></p><p> <div class="widget-body"></p><p> <div class="widget-content"></p><p> <div class="profile-info"></p><p> <div class="name" style="float: left"></p><p> <span class="name-text"><?php echo $userData['username']; ?></span></p><p> <img id="name-55331348-report" class="report-button report-n"</p><p> alt="report"</p><p> src="{url}/app/tpl/skins/Habbo/web-gallery/images/myhabbo/buttons/report_button.gif"</p><p> style="display: none;" /></p><p> </div></p><p></p><p> <br class="clear" /></p><p> <?php if ($userData['online'] == 1) { ?></p><p> <img alt="online" src="{url}/app/tpl/skins/Habbo/web-gallery/images/myhabbo/profile/habbo_online.gif" /></p><p> <?php } else if ($userData['online'] == 0) { ?></p><p> <img alt="offline" src="{url}/app/tpl/skins/Habbo/web-gallery/images/myhabbo/profile/habbo_offline.gif" /></p><p> <?php } ?></p><p> <div class="birthday text"></p><p> {hotelName} Created On:</p><p> </div></p><p> <div class="birthday date"></p><p> <?php echo date("d-m-y", $userData['last_online']); ?></p><p> </div></p><p> <div></p><p> </p><p> </p><p> </div></p><p> </div></p><p> <div class="profile-figure"></p><p> <img alt="justanewaccount" src="<a href="http://www.habbo.fr/habbo-imaging/avatarimage?figure={figure}.gif" target="_blank">http://www.habbo.fr/habbo-imaging/avatarimage?figure={figure}.gif</a>" /></p><p> </div></p><p> <script type="text/javascript"></p><p> document.observe("dom:loaded", function() {</p><p> new ProfileWidget('55331348', '55331348', {</p><p> headerText: "Are you sure?",</p><p> messageText: "Are you sure you want to ask <strong>justanewaccount<\/strong> to be your friend? Think twice before you hit OK!",</p><p> loginText: "You must sign in before sending a friend request.",</p><p> buttonText: "OK",</p><p> cancelButtonText: "Cancel"</p><p> });</p><p> });</p><p> </script></p><p> <div class="clear"></div></p><p> </div></p><p> </div></p><p></div></p><p></div></p><p></p><p></p><p><div class="movable widget GroupsWidget" id="widget-1938125" style=" left: 25px; top: 240px; z-index: 10;"></p><p><div class="w_skin_defaultskin"></p><p><?php</p><p></p><p>$getGroupCount = mysql_query("SELECT `GroupId` FROM `user_groups` WHERE `userid` = '".$userData['id']."'");</p><p>if (mysql_num_rows($getGroupCount) == 0)</p><p> $groupCount = 0;</p><p>else</p><p> $groupCount = mysql_num_rows($getGroupCount);</p><p>?></p><p> <div class="widget-corner" id="widget-1938125-handle"></p><p> <div class="widget-headline"><h3><span class="header-left">&nbsp;</span><span class="header-middle">MY GROUPS (<span id="groups-list-size"><?php echo $groupCount; ?></span>)</span><span class="header-right">&nbsp;</span></h3></p><p> </div> </p><p> </div></p><p> <div class="widget-body"></p><p> <?php if ($groupCount == 0) { ?></p><p> <div class="widget-content"></p><p></p><p><div class="groups-list-none"></p><p>You are not a member of any Groups!</p><p></div></p><p></p><p><div class="groups-list-loading"><div><a href="#" class="groups-loading-close"></a></div><div class="clear"></div><p style="text-align:center"><img src="{url}/app/tpl/skins/Habbo//web-gallery/images/progress_bubbles.gif" alt="" width="29" height="6" /></p></div></p><p><div class="groups-list-info"></div></p><p></p><p> <div class="clear"></div></p><p> </div></p><p> <?php } else if ($groupCount > 0) { ?></p><p> <div class="widget-content"></p><p> <div class="groups-list-container"></p><p> <ul class="groups-list"></p><p> <?php</p><p> while ($theGroups = mysql_fetch_array($getGroupCount)) { </p><p> $getGroup = mysql_query("SELECT `Name`,`DateCreated`,`Image` FROM `groups` WHERE `id` = '".$theGroups['GroupId']."'") or die(mysql_error());</p><p> if (mysql_num_rows($getGroup) > 0) {</p><p> $groupData = mysql_fetch_array(mysql_query("SELECT * FROM `groups` WHERE `id` = '".$theGroups['GroupId']."'"));</p><p> ?></p><p> </p><p> <li title="<?php echo filter($groupData['Name']); ?>" id="groups-list-7446454-142803"></p><p> <div class="groups-list-icon"><a href="#"><img src="{groupImagerPath}<?php echo $groupData['Image']; ?>"></a></div></p><p> <div class="groups-list-open"></div></p><p> <h4></p><p> <a href="#"><?php echo filter($groupData['Name']); ?></a></p><p> </h4></p><p> <p></p><p> Group created:<br> </p><p> <b><?php echo $groupData['DateCreated']; //date("d-m-y", $groupData['DateCreated']); ?></b></p><p> </p></p><p> <div class="clear"></div></p><p> </li></p><p> <?php </p><p> } </p><p> }</p><p> ?></p><p> </ul></p><p> </div></p><p> </div></p><p> <?php } ?></p><p> </div></p><p></div></p><p></div></p><p></p><p><script type="text/javascript"> </p><p>document.observe("dom:loaded", function() {</p><p> new GroupsWidget('55331348', '1938125');</p><p>});</p><p></script></p><p></p><p></p><p></p><p></p><p><div class="movable widget RoomsWidget" id="widget-902024" style=" left: 450px; top: 26px; z-index: 1;"></p><p><div class="w_skin_defaultskin"></p><p> <div class="widget-corner" id="widget-902024-handle"></p><p> <div class="widget-headline"><h3><span class="header-left">&nbsp;</span><span class="header-middle">MY ROOM(S)</span><span class="header-right">&nbsp;</span></h3></p><p> </div> </p><p> </div></p><p> <div class="widget-body"></p><p> <div class="widget-content"></p><p><?php </p><p>$getRooms = mysql_query("SELECT `caption`,`description` FROM `rooms` WHERE `owner` = '".filter($_GET['username'])."'");</p><p>if (mysql_num_rows($getRooms) == 0) {</p><p> echo 'You do not have any rooms<div class="clear"></div>';</p><p>} else {</p><p>?></p><p><div id="room_wrapper"></p><p><table border="0" cellpadding="0" cellspacing="0"></p><p><?php</p><p>while ($roomData = mysql_fetch_array($getRooms)) {</p><p>$roomDescription = null;</p><p>if ($roomData['description'] == null)</p><p> $roomDescription = 'No room description!';</p><p>else</p><p> $roomDescription = $roomData['description'];</p><p> echo '<tr></p><p><td valign="top" ></p><p> <div class="room_image"></p><p> <img src="{url}/app/tpl/skins/Habbo/web-gallery/images/myhabbo/rooms/room_icon_open.gif" alt="" align="middle"/></p><p> </div></p><p></td></p><p><td></p><p> <div class="room_info"></p><p> </p><p> <div class="room_name"></p><p> '.$roomData['caption'].'</p><p> </div></p><p> <img id="room-63773258-report" class="report-button report-r"</p><p> alt="report"</p><p> src="{url}/app/tpl/skins/Habbo//web-gallery/images/myhabbo/buttons/report_button.gif"</p><p> style="display: none;" /></p><p> <div class="clear"></div></p><p> <div>'.$roomDescription.'</p><p> </div></p><p> <!--a href="<a href="http://www.habbo.com/client?forwardId=2&amp;roomId=63773258" target="_blank">http://www.habbo.com/client?forwardId=2&amp;roomId=63773258</a>"</p><p> target="72f577c250db9e5c22a5880ef8cb10f8ad18d7b6"</p><p> id="room-navigation-link_63773258"</p><p> onclick="HabboClient.roomForward(this, \'63773258\', \'private\', true); return false;"></p><p> enter room</p><p> </a--></p><p> </div></p><p> </p><p></p><p> <br class=\"clear\" /></p><p></p><p></td></p><p></tr>';</p><p>}</p><p>?></p><p></table></p><p></div></p><p></p><p><?php } ?></p><p> <div class="clear"></div></p><p> </div></p><p> </div></p><p></div></p><p></div></p><p> </p><p> </div></p><p> <div id="mypage-ad"></p><p> <div class="habblet "></p><p> <div class="ad-container"></p><p> <script type="text/javascript"><!--</p><p> google_ad_client = "ca-pub-5602546026435487";</p><p> /* w skyscraper */</p><p> google_ad_slot = "3165400629";</p><p> google_ad_width = 160;</p><p> google_ad_height = 600;</p><p> //--></p><p> </script></p><p> <script type="text/javascript" src="//pagead2.googlesyndication.com/pagead/show_ads.js"></script></p><p> </div></p><p> </div></p><p> </div></p><p> </div></p><p> </div></p><p></div></p><p></p><p><script type="text/javascript"></p><p> Event.observe(window, "load", observeAnim);</p><p> document.observe("dom:loaded", function() {</p><p> initDraggableDialogs();</p><p> repositionInvalidItems();</p><p> });</p><p></script></p><p> </div></p><p><?php include 'app/tpl/skins/Habbo/template/footer.php'; ?></p><p>[/SPOILER]</p><p></p><p>Please, help me.</p><p>This is the only thing that I need now.</p><p>And thank you</p></blockquote><p></p>
[QUOTE="nigith, post: 290542, member: 47681"] I am using the newest Habbo PHP which was released here [url]http://devbest.com/threads/release-revcms-habbo-layout-habbophp-style.45962/[/url] And the reason is because it haves the home page, with the option for edit your habbo home and all that stuff. Here's the problem, when I try to edit my habbo home and click on bottom "EDIT", it does nothing. Is there some problem with my home.php? [SPOILER="Home.php"] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[url]http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd[/url]"> <html xmlns="[url]http://www.w3.org/1999/xhtml[/url]" xml:lang="en" lang="en" xmlns:og="[url]http://opengraphprotocol.org/schema/[/url]" xmlns:fb="[url]http://www.facebook.com/2008/fbml[/url]"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>{hotelName} - <?php echo $userData['username']; ?></title> <script type="text/javascript"> var andSoItBegins = (new Date()).getTime(); </script> <link rel="shortcut icon" href="{url}/app/tpl/skins/Habbo/web-gallery/v2/favicon.ico" type="image/vnd.microsoft.icon" /> <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/web-gallery/static/styles/common.css" type="text/css" /> <script src="{url}/app/tpl/skins/Habbo/web-gallery/static/js/libs2.js" type="text/javascript"></script> <script src="{url}/app/tpl/skins/Habbo/web-gallery/static/js/visual.js" type="text/javascript"></script> <script src="{url}/app/tpl/skins/Habbo/web-gallery/static/js/libs.js" type="text/javascript"></script> <script src="{url}/app/tpl/skins/Habbo/web-gallery/static/js/common.js" type="text/javascript"></script> <script src="{url}/app/tpl/skins/Habbo/web-gallery/static/js/fullcontent.js" type="text/javascript"></script> <script type="text/javascript"> document.habboLoggedIn = true; var habboName = "{username}"; var habboId = "{userid}"; var facebookUser = false; var habboReqPath = ""; var habboStaticFilePath = "{url}/app/tpl/skins/Habbo/web-gallery"; var habboImagerUrl = "[url]http://www.habbo.com/habbo-imaging/[/url]"; var habboPartner = ""; var habboDefaultClientPopupUrl = "{url}/client"; window.name = "habboMain"; if (typeof HabboClient != "undefined") { HabboClient.windowName = "26530fff566f9e67da99560b7fe8da6d71d46391"; HabboClient.maximizeWindow = true; } </script> <meta name="description" content="{meta_description}" /> <meta name="keywords" content="{meta_keywords}" /> <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/web-gallery/static/styles/home.css" type="text/css" /> <link href="{url}/app/tpl/skins/Habbo/web-gallery/myhabbo/styles/assets/other.css?v=68ea0f7ce9e122d127aa1a6da2a8bbbf" type="text/css" rel="stylesheet" /> <link href="{url}/app/tpl/skins/Habbo/web-gallery/myhabbo/styles/assets/backgrounds.css?v=c136780c675a3e794da080601f337727" type="text/css" rel="stylesheet" /> <link href="{url}/app/tpl/skins/Habbo/web-gallery/myhabbo/styles/assets/stickers.css?v=73d0e4e4e2d5183848be8661fa19d689" type="text/css" rel="stylesheet" /> <!--script src="{url}/app/tpl/skins/Habbo//web-gallery/static/js/homeview.js" type="text/javascript"></script--> <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/web-gallery/static/styles/lightwindow.css" type="text/css" /> <!--script src="{url}/app/tpl/skins/Habbo//web-gallery/static/js/homeauth.js" type="text/javascript"></script--> <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/web-gallery/static/styles/group.css" type="text/css" /> <style type="text/css"> #playground, #playground-outer { width: 752px; height: 1360px; } </style> <script type="text/javascript"> document.observe("dom:loaded", function() { initView(55331348, 55331348); }); </script> <!--[if IE 8]> <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/web-gallery/static/styles/ie8.css" type="text/css" /> <![endif]--> <!--[if lt IE 8]> <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/web-gallery/static/styles/ie.css" type="text/css" /> <![endif]--> <!--[if lt IE 7]> <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/web-gallery/static/styles/ie6.css" type="text/css" /> <script src="{url}/app/tpl/skins/Habbo/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="63-BUILD2361 - 08.08.2013 12:56 - com" /> </head> <body id="viewmode" class=" "> <div id="overlay"></div> <?php $navigatorID = 1; require_once ('app/tpl/skins/Habbo/template/header.php'); ?> <div id="content-container"> <div id="navi2-container" class="pngbg"> <div id="navi2" class="pngbg clearfix"> <ul> <?php $subNavigatorID = 2; require_once ('app/tpl/skins/Habbo/template/sub_header.php'); ?> </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"> <?php if ($userData['id'] == $_SESSION['users']['id']) { ?><a href="#" id="edit-button" class="new-button dark-button edit-icon" style="float:left"><b><span></span>EDIT</b><i></i></a> <?php } ?> <div class="myhabbo-view-tools"> </div> <h2 class="page-owner"><?php echo $userData['username']; ?></h2> <ul class="box-tabs"></ul> </div> <div id="mypage-content"> <div id="mypage-bg" class="b_bg_pattern_abstract2"> <div id="playground"> <div class="movable widget ProfileWidget" id="widget-902026" style=" left: 25px; top: 26px; z-index: 4;"> <div class="w_skin_defaultskin"> <div class="widget-corner" id="widget-902026-handle"> <div class="widget-headline"><h3><span class="header-left"> </span><span class="header-middle">MY PROFILE</span><span class="header-right"> </span></h3> </div> </div> <div class="widget-body"> <div class="widget-content"> <div class="profile-info"> <div class="name" style="float: left"> <span class="name-text"><?php echo $userData['username']; ?></span> <img id="name-55331348-report" class="report-button report-n" alt="report" src="{url}/app/tpl/skins/Habbo/web-gallery/images/myhabbo/buttons/report_button.gif" style="display: none;" /> </div> <br class="clear" /> <?php if ($userData['online'] == 1) { ?> <img alt="online" src="{url}/app/tpl/skins/Habbo/web-gallery/images/myhabbo/profile/habbo_online.gif" /> <?php } else if ($userData['online'] == 0) { ?> <img alt="offline" src="{url}/app/tpl/skins/Habbo/web-gallery/images/myhabbo/profile/habbo_offline.gif" /> <?php } ?> <div class="birthday text"> {hotelName} Created On: </div> <div class="birthday date"> <?php echo date("d-m-y", $userData['last_online']); ?> </div> <div> </div> </div> <div class="profile-figure"> <img alt="justanewaccount" src="[url]http://www.habbo.fr/habbo-imaging/avatarimage?figure={figure}.gif[/url]" /> </div> <script type="text/javascript"> document.observe("dom:loaded", function() { new ProfileWidget('55331348', '55331348', { headerText: "Are you sure?", messageText: "Are you sure you want to ask <strong>justanewaccount<\/strong> to be your friend? Think twice before you hit OK!", loginText: "You must sign in before sending a friend request.", buttonText: "OK", cancelButtonText: "Cancel" }); }); </script> <div class="clear"></div> </div> </div> </div> </div> <div class="movable widget GroupsWidget" id="widget-1938125" style=" left: 25px; top: 240px; z-index: 10;"> <div class="w_skin_defaultskin"> <?php $getGroupCount = mysql_query("SELECT `GroupId` FROM `user_groups` WHERE `userid` = '".$userData['id']."'"); if (mysql_num_rows($getGroupCount) == 0) $groupCount = 0; else $groupCount = mysql_num_rows($getGroupCount); ?> <div class="widget-corner" id="widget-1938125-handle"> <div class="widget-headline"><h3><span class="header-left"> </span><span class="header-middle">MY GROUPS (<span id="groups-list-size"><?php echo $groupCount; ?></span>)</span><span class="header-right"> </span></h3> </div> </div> <div class="widget-body"> <?php if ($groupCount == 0) { ?> <div class="widget-content"> <div class="groups-list-none"> You are not a member of any Groups! </div> <div class="groups-list-loading"><div><a href="#" class="groups-loading-close"></a></div><div class="clear"></div><p style="text-align:center"><img src="{url}/app/tpl/skins/Habbo//web-gallery/images/progress_bubbles.gif" alt="" width="29" height="6" /></p></div> <div class="groups-list-info"></div> <div class="clear"></div> </div> <?php } else if ($groupCount > 0) { ?> <div class="widget-content"> <div class="groups-list-container"> <ul class="groups-list"> <?php while ($theGroups = mysql_fetch_array($getGroupCount)) { $getGroup = mysql_query("SELECT `Name`,`DateCreated`,`Image` FROM `groups` WHERE `id` = '".$theGroups['GroupId']."'") or die(mysql_error()); if (mysql_num_rows($getGroup) > 0) { $groupData = mysql_fetch_array(mysql_query("SELECT * FROM `groups` WHERE `id` = '".$theGroups['GroupId']."'")); ?> <li title="<?php echo filter($groupData['Name']); ?>" id="groups-list-7446454-142803"> <div class="groups-list-icon"><a href="#"><img src="{groupImagerPath}<?php echo $groupData['Image']; ?>"></a></div> <div class="groups-list-open"></div> <h4> <a href="#"><?php echo filter($groupData['Name']); ?></a> </h4> <p> Group created:<br> <b><?php echo $groupData['DateCreated']; //date("d-m-y", $groupData['DateCreated']); ?></b> </p> <div class="clear"></div> </li> <?php } } ?> </ul> </div> </div> <?php } ?> </div> </div> </div> <script type="text/javascript"> document.observe("dom:loaded", function() { new GroupsWidget('55331348', '1938125'); }); </script> <div class="movable widget RoomsWidget" id="widget-902024" style=" left: 450px; top: 26px; z-index: 1;"> <div class="w_skin_defaultskin"> <div class="widget-corner" id="widget-902024-handle"> <div class="widget-headline"><h3><span class="header-left"> </span><span class="header-middle">MY ROOM(S)</span><span class="header-right"> </span></h3> </div> </div> <div class="widget-body"> <div class="widget-content"> <?php $getRooms = mysql_query("SELECT `caption`,`description` FROM `rooms` WHERE `owner` = '".filter($_GET['username'])."'"); if (mysql_num_rows($getRooms) == 0) { echo 'You do not have any rooms<div class="clear"></div>'; } else { ?> <div id="room_wrapper"> <table border="0" cellpadding="0" cellspacing="0"> <?php while ($roomData = mysql_fetch_array($getRooms)) { $roomDescription = null; if ($roomData['description'] == null) $roomDescription = 'No room description!'; else $roomDescription = $roomData['description']; echo '<tr> <td valign="top" > <div class="room_image"> <img src="{url}/app/tpl/skins/Habbo/web-gallery/images/myhabbo/rooms/room_icon_open.gif" alt="" align="middle"/> </div> </td> <td> <div class="room_info"> <div class="room_name"> '.$roomData['caption'].' </div> <img id="room-63773258-report" class="report-button report-r" alt="report" src="{url}/app/tpl/skins/Habbo//web-gallery/images/myhabbo/buttons/report_button.gif" style="display: none;" /> <div class="clear"></div> <div>'.$roomDescription.' </div> <!--a href="[url]http://www.habbo.com/client?forwardId=2&roomId=63773258[/url]" target="72f577c250db9e5c22a5880ef8cb10f8ad18d7b6" id="room-navigation-link_63773258" onclick="HabboClient.roomForward(this, \'63773258\', \'private\', true); return false;"> enter room </a--> </div> <br class=\"clear\" /> </td> </tr>'; } ?> </table> </div> <?php } ?> <div class="clear"></div> </div> </div> </div> </div> </div> <div id="mypage-ad"> <div class="habblet "> <div class="ad-container"> <script type="text/javascript"><!-- google_ad_client = "ca-pub-5602546026435487"; /* w skyscraper */ google_ad_slot = "3165400629"; google_ad_width = 160; google_ad_height = 600; //--> </script> <script type="text/javascript" src="//pagead2.googlesyndication.com/pagead/show_ads.js"></script> </div> </div> </div> </div> </div> </div> <script type="text/javascript"> Event.observe(window, "load", observeAnim); document.observe("dom:loaded", function() { initDraggableDialogs(); repositionInvalidItems(); }); </script> </div> <?php include 'app/tpl/skins/Habbo/template/footer.php'; ?> [/SPOILER] Please, help me. This is the only thing that I need now. And thank you [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Problem with RevCMS.
Top