Hello guys, now I normally wouldn't post a post like this but I've tried editing it myself but it just won't go how I want it too :/. I'm trying to get a basic news slider on my me.php page instead of this http://prntscr.com/582t40
Now I just want to replace the text box and the news and the search for a user, with the news slider.
Here is my me code, if anyone could help it'd be appreciated.
Code:<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <title>{hotelName} - Home</title> <link rel="stylesheet" href="http://ollah.info/app/tpl/skins/{skin}/styles/common.css" type="text/css"> <script type="text/javascript" src="http://ollah.info/app/tpl/skins/{skin}/js/libs2.js"></script> <script type="text/javascript" src="http://ollah.info/app/tpl/skins/{skin}/js/visual.js"></script> <script type="text/javascript" src="http://ollah.info/app/tpl/skins/{skin}/js/libs.js"></script> <script type="text/javascript" src="http://ollah.info/app/tpl/skins/{skin}/js/common.js"></script> <script type="text/javascript" src="http://ollah.info/app/tpl/skins/{skin}/js/fullcontent.js"></script> <link rel="shortcut icon" href="app/tpl/skins/{skin}/static/images/favicon.gif" /> <script type="text/javascript"> document.habboLoggedIn = true; var habboName = "{username}"; var habboId = {userid}; var habboReqPath = ""; var habboStaticFilePath = "http://ollah.info/app/tpl/skins/Habbo"; var habboImagerUrl = "http://www.habbo.com/habbo-imaging/"; var habboPartner = ""; var habboDefaultClientPopupUrl = "http://ollah.info/client"; window.name = "habboMain"; if (typeof HabboClient != "undefined") { HabboClient.windowName = "eac955c8dbc88172421193892a3e98fc7402021a"; HabboClient.maximizeWindow = true; } </script> <link rel="stylesheet" href="http://ollah.info/app/tpl/skins/{skin}/styles/lightweightmepage.css" type="text/css" /> <script src="http://ollah.info/app/tpl/skins/{skin}/js/lightweightmepage.js" type="text/javascript"></script> <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1430/web-gallery/static/js/moredata.js" type="text/javascript"></script> <!--[if IE 8]> <link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1430/web-gallery/static/styles/ie8.css" type="text/css" /> <![endif]--> <!--[if lt IE 8]> <link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1430/web-gallery/static/styles/ie.css" type="text/css" /> <![endif]--> <!--[if lt IE 7]> <link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1430/web-gallery/static/styles/ie6.css" type="text/css" /> <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1430/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-BUILD1228 - 27.03.2012 12:15 - com" /> </head> <body id="home"> <div id="topz-container"> <div id="topz"> <div id="topz-wrapper"> <div style="margin-top:16px"> <img src="http://ollah.info/app/tpl/skins/{skin}/images/icons/message.gif" /> Welcome back, <b>{userName}</b>! <img src="http://ollah.info/app/tpl/skins/{skin}/images/icons/stats.gif" /> {online} Users Online <img src="http://ollah.info/app/tpl/skins/{skin}/images/icons/credits.gif" /> {coins} <img src="http://ollah.info/app/tpl/skins/{skin}/images/icons/pixels.gif" /> {activityPoints} </div> </div> </div> </div> <script src=""></script> <div id="overlay"></div> <div id="header-container"> <div id="header" class="clearfix"> <h1><a href="http://ollah.info/"></a></h1> <div id="subnavi"> <div id="subnavi-user"> </div> <div id="subnavi-search"> <div id="subnavi-search-upper"> <ul id="subnavi-search-links"> </li> </ul> </div> </div> <div id="to-hotel"> <a href="http://ollah.info/logout" class="new-button red-button" style="margin-right:5px;margin-left:5px;"><b>Logout</b><i></i></a> <a href="http://ollah.info/client" class="new-button green-button" target="eac955c8dbc88172421193892a3e98fc7402021a" onclick="HabboClient.openOrFocus(this); return false;"><b>Enter {hotelName}</b><i></i></a> </div> </div> <ul id="navi"> <li class="metab selected"><strong>{username} <img src="http://ollah.info/app/tpl/skins/{skin}/images/id.png" style="vertical-align: middle;"></strong><span></span></li> <li><a href="http://ollah.info/community">Community <img src="http://ollah.info/app/tpl/skins/{skin}/images/forum_2.gif" style="vertical-align: middle;"></a><span></span></li> <li id="tab-register-now" class="tab-register-now"><a href="http://ollah.info/shop">Shop</a><span></span></li> </ul> <div id="habbos-online"> <div id="content"> <div class="cbb "> <span>{online} members online<br><br>User Peak <b>(<?php $req = "SELECT * FROM `server_status`"; $query = mysql_query($req); $nb_inscrit = mysql_fetch_array($query); echo $nb_inscrit['users']; echo $nb_inscrit['userpeak']; ?>)</b></span></div> </div></div></div></div></div></div></div></div></div></div></div> </div> </div> <div id="content-container"> <div id="navi2-container" class="pngbg"> <div id="navi2" class="pngbg clearfix"> <ul> <li class="selected">Home</li> <li class=" last"><a href="http://ollah.info/index.php?url=home&user={username}">My Page</a></li> <li class=" last"><a href="http://ollah.info/Profile">Account Settings</a></li> <li class=""><a href="http://ollah.info/online">Online Users</a></li> </ul> </div> </div> <div id="container"> <div id="content" style="position: relative" class="clearfix"> <style> div.white h2.title, h2.title a { color: #FFF; !important; } </style> <div id="column1" style="width: 770px;" class="column"> <div class="habblet-container "> <div class="cbb clearfix green"> <h2 class="title">APPS are out<p class="link"><a href="https://ollahapps.wufoo.com/forms/zkzkb3e1jkz12k/">click here to apply</a></p></h2> </div></div></div> <div id="container"> <div id="content" style="position: relative" class="clearfix"> <div id="wide-personal-info"> <div id="habbo-plate"> <a href="http://ollah.info/home"> <img alt="{username}" src="http://habbo.nl/habbo-imaging/avatarimage?figure={figure}&direction=2&head_direction=3"> </a> </div> <center><div id="name-box" class="info-box"> <div class="label"> Name:</div> <div class="content"> {username}</div> </div> <div id="motto-box" class="info-box"> <div class="label"> Motto:</div> <div class="content"> {motto}</div> </div> <div id="last-logged-in-box" class="info-box"> <div class="label"> Last signed in:</div> <div class="content"> {lastSignedIn}</div> </div></center> <div class="enter-hotel-btn"> <br><br> <div class="open enter-btn"> <a href="http://ollah.info/client" target="84ebd05b9eac6717671e77c01c6209a4c8e06d54" onclick="HabboClient.openOrFocus(this); return false;">Enter {hotelName} Hotel<i></i></a> <b></b> </div> </div> </div> <div id="column1" class="column"> <div class="habblet-container "> <div class="cbb clearfix pixelgreen "> <h2 class="title">Welcome To {hotelname}</h2> <div style="padding:5px"> <b> <img src="http://ollah.info/app/tpl/skins/{skin}/images/desky.png" align="right"/></b><br /> Here at {hotelname} Hotel, we are a small community hotel, just like Habbo but our coin currency is free! Along with friendly management that keep the hotel running smooth. Our bullying and advertising policy is kept at a strict level to prevent such occuring on the hotel. For more information on the rules, <a href="rules">Click Here</a>. We are here to give you the best ultimate experience for you and your friends. The community holds events and competitions to make it more of a fun place to hang out.<br><br><img src="http://ollah.info/app/tpl/skins/{skin}/images/coinsjewix.png" align="left"/><br><br> <p align="right">Our catalogue gets updated every week. Being with {hotelname}, you'll always find yourself a place to play and never be bored. We try to always update our game as much as possible so that it you dont miss out.</p> <br> <i>Once more, Welcome to {hotelname} hotel, Secure, Stable, Safe and trustworthy! </i><br /><br /> <b><center> <i> -Hotel Management</i></center> <br/> </b> <div id="column3" class="column"> <div class="habblet-container "> <div class="ad-container"> <br> <!--JavaScript Tag // Tag for network 957: Sulake // Website: HabboHotel_US // Page: Me_Page // Placement: Me_Page partner_button 160 x 110 (2131079) // created at: Jun 17, 2010 11:20:10 AM--> </div> </div></div></div></div> <div class="habblet-container "> <div class="cbb clearfix orange "> <h2 class="title">What's going on?</h2> <div id="hotcampaigns-habblet-list-container"> <ul id="hotcampaigns-habblet-list"> <li class="even"> <div class="hotcampaign-container"> <a href="http://www.facebook.com/Ollahhotel"> <img src="http://ollah.info/app/tpl/skins/{skin}/images/facebook.png" align="left" alt="Join us on Facebook" /></a> <h3>Join us on Facebook</h3> <p>Like us on Facebook for all the gossip, news and updates!</p> <p class="link"><a href="http://www.facebook.com/Ollahhotel">Go there »</a></p> </div> </li> <li class="odd"> <div class="hotcampaign-container"> <a href="http://ollah.info/vip"> <img src="http://ollah.info/app/tpl/skins/{skin}/web-gallery/campaign/campaignButton_subonusfix.gif" align="left" alt="Buy VIP and coins" /></a> <h3>Buy {hotelName} VIP!</h3> <p>Buy VIP today and get loads of cool features added to your account!</p> <p class="link"><a href="http://ollah.info/vip">Go there »</a></p> </div> </ul> </div> </div> </div> <div class="habblet-container "> <div class="cbb clearfix blue "> <h2 class="title">Ollah FM!</h2> </font> <div id="notfound-content" class="box-content"> <center> <center><iframe src="http://myloradio.net/embed/embedcode.html" scrolling="no" frameborder="0" height="50" width="250"></iframe> </center> </div> </center></a> </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> <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script> <div class="habblet-container news-promo"> <div class="cbb clearfix notitle "> <div id="newspromo"> <div id="topstories"> <div class="topstory" style="background-image: url(http://ollah.info/r63/c_images/Top_Story_Images/{newsIMG-1})"> <h4>Latest news</h4> <h3><a href="http://ollah.info/index.php?url=news&id={newsID-1}">{newsTitle-1}</a></h3> <p class="summary"> {newsCaption-1} </p> <p> <a href="http://ollah.info/index.php?url=news&id={newsID-1}">Read more »</a> </p> </div> <div class="topstory" style="background-image: url(http://ollah.info/r63/c_images/Top_Story_Images/{newsIMG-2}); display: none"> <h4>Latest news</h4> <h3><a href="http://ollah.info/index.php?url=news&id={newsID-2}">{newsTitle-2}</a></h3> <p class="summary"> {newsCaption-2} </p> <p> <a href="http://ollah.info/index.php?url=news&id={newsID-2}">Read more »</a> </p> </div> <div class="topstory" style="background-image: url(http://ollah.info/r63/c_images/Top_Story_Images/{newsIMG-3}); display: none"> <h4>Latest news</h4> <h3><a href="http://ollah.info/index.php?url=news&id={newsID-3}">{newsTitle-3}</a></h3> <p class="summary"> {newsCaption-3} </p> <p> <a href="http://ollah.info/index.php?url=news&id={newsID-3}">Read more »</a> </p> </div> <div class="topstory" style="background-image: url(http://ollah.info/r63/c_images/Top_Story_Images/{newsIMG-4}); display: none"> <h4>Latest news</h4> <h3><a href="http://ollah.info/index.php?url=news&id={newsID-4}">{newsTitle-4}</a></h3> <p class="summary"> {newsCaption-4} </p> <p> <a href="http://ollah.info/index.php?url=news&id={newsID-4}">Read more »</a> </p> </div> <div class="topstory" style="background-image: url(http://ollah.info/r63/c_images/Top_Story_Images/{newsIMG-5}); display: none"> <h4>Latest news</h4> <h3><a href="http://ollah.info/index.php?url=news&id={newsID-5}">{newsTitle-5}</a></h3> <p class="summary"> {newsCaption-5} </p> <p> <a href="http://ollah.info/index.php?url=news&id={newsID-5}">Read more »</a> </p> </div> <div id="topstories-nav" style="display: none"><a href="#" class="prev">« Previous</a><span>1</span> / 5<a href="#" class="next">Next »</a></div> </div> <ul class="widelist"> <li class="even"><a href="http://ollah.info/index.php?url=news&id={newsID-1}">{newsTitle-1} »</a><div class="newsitem-date">{newsDate-1}</div></li> <li class="odd"><a href="http://ollah.info/index.php?url=news&id={newsID-2}">{newsTitle-2} »</a><div class="newsitem-date">{newsDate-2}</div></li> <li class="odd"><a href="http://ollah.info/index.php?url=news&id={newsID-3}">{newsTitle-3} »</a><div class="newsitem-date">{newsDate-3}</div></li> <li class="last"><a href="/news">More news »</a></li> </ul> </div> <script type="text/javascript"> document.observe("dom:loaded", function() { NewsPromo.init(); }); </script> </div> </div> <div class="habblet-container " style="width:310px"> <div class="cbb clearfix white" style="width:300px"> <form action="soka" method="post"> <input type="text" name="soka" class="search" placeholder="Search for a user"/> </form> </div> </div> <div class="habblet-container " style="width:310px"> <div class="cbb clearfix red " style="width:300px"> <h2 class="title">Latest User</h2> <?php $latestUser = mysql_query("SELECT username,motto,look FROM users ORDER BY ID DESC LIMIT 1"); while($rowing = mysql_fetch_assoc($latestUser)){ $username = $rowing['username']; $motto = $rowing['motto']; $look = $rowing['look']; echo '<center><b>Welcome to {hotelname}:</b></center> <center><img src="http://www.habbo.it/habbo-imaging/avatarimage?figure='.$look.'.gif;"><img src="http://ollah.info/r63/c_images/album1584/CAA.gif"></center> </center> <center><a href="/home/'.$username.'" align="right"><b>'.$username.'</b></a><br /><b align="right">Motto</b>: '.$motto.'</center> '; } ?> </div> </div> </div> </div> <script type="text/javascript"> document.observe('dom:loaded', function() { CurrentRoomEvents.init(); }); </script> <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script> <script type="text/javascript"> HabboView.run(); </script> </div> <!--[if lt IE 7]> <script type="text/javascript"> Pngfix.doPngImageFix(); </script> <![endif]--> </div> <?php include_once('footer.php'); ?> <?php include_once('checktheban.php'); ?> </body>


Reply With Quote

