HELP ASAP.

MarleyRetroo

Active Member
Oct 25, 2014
170
23
Require some help..

My News, It isn't working, Kinda.

It works fine on the /me & /community pages, showing the title and description, etc.
But when you click "Read More" or The "News" page, It doesn't work.

Its blank, the news article is blank. All it shows is " - "

Can anybody help me?

Thanks

Code for news:
PHP:
<!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 = "{username}";
            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>
       
        <!--[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]-->
          <style type="text/css">#navi .viptab a{background-image:url('{url}/app/tpl/skins/Habbo/images/tabs2.png');background-position:-10px -84px;}#navi .viptab span{background-image:url('{url}/app/tpl/skins/Habbo/images/tabs2.png');background-position:-4px -84px;}#navi .viptab:hover a{background-image:url('{url}/app/tpl/skins/Habbo/images/tabs2.png');background-position:-10px -112px;}#navi .viptab:hover span{background-image:url('{url}/app/tpl/skins/Habbo/images/tabs2.png');background-position:-4px -112px;}</style>
<style type="text/css">input[type="submit"],input[type="button"]{background:url('{url}/app/tpl/skins/Habbo/images/reg_btn.png') top;font:bold 13px arial,sans-serif;line-height:25px;color:black;height:25px;width:99px;border:0;}input[type="submit"]:hover,input[type="button"]:hover{background-position:bottom;cursor:pointer;}</style>
</head>
   
    <body id="news">
   
        <div id="overlay"></div>
        <div id="header-container">
            <div id="header" class="clearfix">
                <h1><a href="{url}/"></a></h1>
              <div id="subnavi">
    <div id="subnavi-search">
        <div id="subnavi-search-upper">
        <ul id="subnavi-search-links">
                <li><a href="google.com" target="_blank">Submit an idea</a></li>
                <li><a href="google.com" target="habbohelp" >Help</a></li>
            <li>
                <form action="http://url/logout" method="post">
                    <button type="submit" id="signout" class="link"><span>Sign Out</span></button>
                </form>
            </li>
        </ul>
        </div>
    </div>
    <div id="to-hotel">
                <a href="http://www.url/client" class="new-button green-button" target="87159a2de1ec9ff54addfd581d2326597a3c51fd" onclick="HabboClient.openOrFocus(this); return false;"><b>Enter Habbo Hotel</b><i></i></a>
    </div>
</div>
                <ul id="navi">
                    <li class="metab"><a href="{url}/me">{username}  <img src="{url}/app/tpl/skins/Habbo/images/id.png" style="vertical-align: middle;"></a><span></span></li>
                    <li class="selected"><strong>Community</strong><span></span></li>
                    <li><a href="{url}/staff">Staff</a><span></span></li>
                    <li><a href="{url}/shop">Shop</a><span></span></li>
                </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>
                    </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 Articles!</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">{newsPreview}</p>
                                    <div class="article-body">
                                        {newsContent}
                                        <br><br>
                                        <p><font face="Verdana" size="1"><b>- {newsAuthor}</b></p>
                                        <script type="text/javascript" language="Javascript">
                                            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>
        <script type="text/javascript">
            HabboView.run();
        </script>
       

        <!--[if lt IE 7]>
            <script type="text/javascript">
                Pngfix.doPngImageFix();
            </script>
        <![endif]-->

        </div>
            </div>
                </div>
       
        <div id="footer" >
            <?php include('footer.php'); ?>
            <?php include('checktheban.php'); ?>       
        </div>
   
    </body>
</html>
 
Bump, Anyone know?
 

Wickd

The first member of the Knights of the Pink Table
Jan 15, 2013
1,936
612
Asap Rocky?
ASAP-Rocky.jpg
 

Users who are viewing this thread

Top