[Rev] News issue - news habblet boxes displaying weird

Status
Not open for further replies.

TheJoshy

PlusHost.org -> GOGOGO
Jul 4, 2010
287
56
Hi there,

I have an issue where boxes are sized in the opposite way... (picture explains it better.).



news.php
Code:
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8">
        <title>{hotelName} - News</title>
        
        <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/common.css" type="text/css">
        <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/libs2.js"></script>
        <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/visual.js"></script>
        <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/libs.js"></script>
        <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/common.js"></script>
        <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/fullcontent.js"></script>
        
        <script type="text/javascript">
            document.habboLoggedIn = true;
            var habboName = "";
            var habboId = {userid};
            var habboReqPath = "";
            var habboStaticFilePath = "{url}/app/tpl/skins/Habbo";
            var habboImagerUrl = "http://www.habbo.com/habbo-imaging/";
            var habboPartner = "";
            var habboDefaultClientPopupUrl = "{url}/client";
            window.name = "habboMain";
            if (typeof HabboClient != "undefined") {
                HabboClient.windowName = "eac955c8dbc88172421193892a3e98fc7402021a";
                HabboClient.maximizeWindow = true;
            }
           </script><link rel="stylesheet" href="http://vibehotel.co/app/tpl/skins/Habbo/styles/top.css" type="text/css" />                <link rel="stylesheet" href="http://vibehotel.co/app/tpl/skins/Habbo/styles/personal.css" type="text/css">        <script type="text/javascript" src="http://vibehotel.co/app/tpl/skins/Habbo/js/habboclub.js"></script>
        <!--[if IE 8]>
            <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/ie8.css" type="text/css">
        <![endif]-->
        <!--[if lt IE 8]>
            <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/ie.css" type="text/css" />
        <![endif]-->
        <!--[if lt IE 7]>
            <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/ie6.css" type="text/css" />
            <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/pngfix.js"></script>
            <script type="text/javascript">
                try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}
            </script>
            <style type="text/css">
                body { behavior: url({url}/app/tpl/skins/Habbo/js/csshover.htc); }
            </style>
        <![endif]-->
    </head>        <body id="home"><div id="top"><p class="alignleft"><b><img src="http://vibehotel.co/app/tpl/skins/Habbo/images/tools_notes.png" width="15" height="11" /> Did you know?</b> Vibe Staff write up new articles at least 3 times per week!</p><p class="alignright"> Logged in as <b>{username}</b> | <a href="http://vibehotel.co/logout">Log out</a></p><div style="clear: both;"></div></div>    <div id="overlay"></div>        <div id="header-container">            <div id="header" class="clearfix">                <h1><a href="http://vibehotel.co/"></a></h1>                <div id="subnavi"><div id="subnavi-user">                        <div style="margin-top:7px"><b>{username}:</b>&nbsp;&nbsp;&nbsp; <img src="http://vibehotel.co/app/tpl/skins/Habbo/images/new_04.png"/> {coins} Credits  &nbsp;&nbsp;&nbsp; <img src="http://vibehotel.co/app/tpl/skins/Habbo/images/cat_1.png"/> {activitypoints} &nbsp;&nbsp;&nbsp; <img src="http://vibehotel.co/app/tpl/skins/Habbo/images/nav_2.png"/> <a href="http://vibehotel.co/account">Account Settings &raquo; </a></div>                    </div>                    <div id="subnavi-search">
                        <div id="subnavi-search-upper">
                            <ul id="subnavi-search-links">
                               
                            </ul>
                        </div>
                    </div>
                    <div id="to-hotel">
                        <a href="{url}/api.php" class="new-button green-button" target="eac955c8dbc88172421193892a3e98fc7402021a" onclick="HabboClient.openOrFocus(this); return false;"><b>Enter {hotelName} Hotel</b><i></i></a>
                    </div>
                </div>
                <ul id="navi">
                    <li class="metab"><a href="{url}/me">{username}</a><span></span></li>
                    <li class="selected"><strong>Community</strong><span></span></li>
<li><a href="http://forum.vibehotel.co">Forum</a><span></span></li>
          <?php if(mysql_result(mysql_query("SELECT rank FROM users WHERE id = '" . $_SESSION['user']['id'] . "'"), 0) >= 4)
{ ?><li><a href="/ase">Housekeeping</a><span></span></li><?php } ?> 
                </ul>
                <div id="habbos-online"><div class="rounded"><span>{online} members online</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="{url}/community">Community</a></li>
                        <li class="selected">News</li>
                        <li class=""><a href="{url}/staff">Staff</a></li>
<li><a href="{url}/vip">VIP</a></li>
<li class="last"><a href="{url}/nabbixway">Hotel Rules</a></li>
            
                    </ul>
                </div>
            </div>
            <div id="container">
                <div id="content" style="position: relative" class="clearfix">
                    <div id="column1" class="column">
                        <div class="habblet-container ">
                            <div class="cbb clearfix default ">
                                <h2 class="title">News</h2>
                                <div id="article-archive">
                                    <ul>
                                        {newsList}
                                    </ul>
                                </div>
                            </div>
                        </div>
                        <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
                    </div>
                    <div id="column2" class="column">
                        <div class="habblet-container ">
                            <div class="cbb clearfix notitle ">
                                <div id="article-wrapper">
                                    <h2>{newsTitle}</h2>
                                    <div class="article-meta">Posted {newsDate}</div>
                                    <p class="summary"> {newsTitle}</p>
                                    <div class="article-body">
                                        {newsContent}
                                        <br><br>
                                        
                                        <script type="text/javascript" language="Javascript">
<p><font face="Verdana" size="1"><b>- {Author}</b></p>
 
                                            document.observe("dom:loaded", function() {
                                                $$('.article-images a').each(function(a) {
                                                    Event.observe(a, 'click', function(e) {
                                                        Event.stop(e);
                                                        Overlay.lightbox(a.href, "Image is loading");
                                                    });
                                                });
                                                
                                                $$('a.article-2729').each(function(a) {
                                                    a.replace(a.innerHTML);
                                                });
                                            });
                                        </script>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
                    </div>
                </div>
            </div>
        </div>
        <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
        <script type="text/javascript">
            HabboView.run();
        </script>
 
        <!--[if lt IE 7]>
            <script type="text/javascript">
                Pngfix.doPngImageFix();
            </script>
        <![endif]-->
        
       
    
    </body>
</html>

Let me know if you wanna see any other code.
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,195
3,906
it's news.php (none housekeeping related), just edit the columns example change column1 to column2, and 2 to 1, ok?

- EDIT -

Ignore me tweeney started bullying me on msn dont listen to mee sleeps ok
 
Status
Not open for further replies.

Users who are viewing this thread

Top