News background won't show.

KnightZ

Member
Jan 27, 2012
69
2
Any help is appreciated.
UsXKHK4.png
 

KnightZ

Member
Jan 27, 2012
69
2
"r63" is my swf folder name.
<script>
var cimagesLocation = '<?php echo $_CONFIG['hotel']['url']; ?>/';
var news = new Array();
news[1] = ["{newsID-1}","{newsIMG-1}","{newsCaption-1}","{newsTitle-1}"];
news[2] = ["{newsID-2}","{newsIMG-2}","{newsCaption-2}","{newsTitle-2}"];
news[3] = ["{newsID-3}","{newsIMG-3}","{newsCaption-3}","{newsTitle-3}"];
news[4] = ["{newsID-4}","{newsIMG-4}","{newsCaption-4}","{newsTitle-4}"];
news[5] = ["{newsID-5}","{newsIMG-5}","{newsCaption-5}","{newsTitle-5}"];
</script>
<script language="javascript" type="text/javascript">
$(document).ready(function(){
mango.news.init();
});
</script>

<div id="header_bar">
<div id="container-me">
<div class="mid">
<div class="lefts">
Hey there {username}, welcome back.</div>
<div class="right">
<img src="app/tpl/skins/Mango/images/creditIcon.png" style="vertical-align:middle;margin-right:5px;"/><span>{coins}</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style=""><img src="app/tpl/skins/Mango/images/pixelIcon.png" style="vertical-align:middle;margin-right:5px;"/>{activitypoints}</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style=""><img src="app/tpl/skins/Mango/images/icon_users.png" style="vertical-align:middle;margin-right:5px;"/>{online} Users Online!</span>
</div>
</div>
</div>
</div>
<div id="content">
<a href="index"><img src="app/tpl/skins/Mango/images/logo.png" id="logo" border="0"/></a>
<ul id="menu">
<li><a href="me" class="active">Me</a></li>
<li><a href="account">My Account</a></li>
<li><a href="news">News</a></li>
<li><a href="staff">Staff Team</a></li>
<li><a href="vip">VIP</a></li>
{housekeeping}
<li><a href="logout">Logout</a></li>
</ul>
<div id="clear"></div>

<div id="featured_campaign">
<div id="user_info">
<div id="avatar-plate">
<img src=" " id="user"/>
</div>
</div>
<div id="enter_area">
<div class="enterButton">
<center><a href="api.php" onclick="mango.client.popup(); return false;">Enter {hotelName} Hotel</a></center>
</div>
</div>
</div><br/>

<div id="main_left">

<div class="content-box">
<div class="content-box-black">
<h2 class="title">{hotelName} hotel updates! </h2>
</div>
<div class="content-box-content">
Hey there, {username} we've been updating the hotel!<br/>
<br/>Enjoy your stay!</div>
</div> <br/>
<div class="content-box">
<div class="content-box-deep-blue">
<h2 class="title">Featured Campaigns</h2>
</div>
<div class="content-box-content" style="padding-top:0px; padding-bottom:0px;">
<hr/>
<div class="campaign_images">
<img src="app/tpl/skins/Mango/images/hotcampaign_thumb_FB.gif"/>
</div>
<div class="campaign_content">
Stay up-to date with the latest features and changes in {hotelName} at our facebook page
</div>
<p class="gothere"><a href=" echo $_CONFIG['social']['facebook']; ?>">Go there &raquo;</a></p>
<div style="clear:both;"></div>
<hr/>
<div class="campaign_images">
<img src="app/tpl/skins/Mango/images/hc.gif"/>
</div>
<div class="campaign_content">
Don't forget to buy {hotelName} Club in-game with your credits to ensure that you get the best clothes and furniture!
</div>
<p class="gothere"><a href="#">Go there &raquo;</a></p>
<div style="clear:both;"></div>
<hr/>
<div class="campaign_images">
<img src="app/tpl/skins/Mango/images/hotcampaign_thumb_BLACKHOLE.gif"/>
</div>
<div class="campaign_content">
Remember to always check out {hotelName} articles!
</div>
<p class="gothere"><a href="news">Go there &raquo;</a></p>
<div style="clear:both;"></div>
<hr/>
<div style="clear:both;"></div></div>
</div>
</div>
<div id="main_right">
<div id="top_stories">
<div id="top-story">
<div id="top-snippet"></div>
</div>
<div id="top-headlines-holder">
<div class="subnews_1"><a href="index.php?url=news&id={newsID-1}">{newsTitle-1} &raquo;</a>
<div class="sub-news-date">{newsDate-1}</div>
</div>
<div class="subnews_0"><a href="index.php?url=news&id={newsID-2}">{newsTitle-2} &raquo;</a>
<div class="sub-news-date">{newsDate-2}</div>
</div>
<div class="subnews_1"><a href="index.php?url=news&id={newsID-3}">{newsTitle-3} &raquo;</a>
<div class="sub-news-date">{newsDate-3}</div>
</div>
<div class="subnews_0"><a href="index.php?url=news&id={newsID-4}">{newsTitle-4} &raquo;</a>
<div class="sub-news-date">{newsDate-4}</div>
</div>
<div class="subnews_1"><a href="index.php?url=news&id={newsID-1}">{newsTitle-5} &raquo;</a>
<div class="sub-news-date">{newsDate-5}</div>
</div>
<div style="text-align:right; margin:3px;"><a href="news">Read more &raquo;</a></div>
</div>
</div>
<br/>&nbsp;<br/>
</script>
<br/><br/>
</div>
<div id="clear"></div></div>
<div id="footer">
<div id="clear"></div>
<div class="left">
<ul>
<strong>Sitemap</strong>
<li><a href="me">Me</a></li>
<li><a href="account">My Account</a></li>
<li><a href="news">Articles</a></li>
<li></li>
<li></li>
</ul>
</div>
<div class="left">
<ul>
<li>&nbsp;</li>
<li><a href="vip">{hotelName} VIP</a></li>
</ul>
</div>
<div class="left">
<ul>
<li>&nbsp;</li>
<li><a href="policy">Refund Policy & Privacy Policy</a></li>
<li><a href="logout">Logout</a></li>
</ul>
</div>
</div>
</div>
 

Vanish

Rising Java Developer
Dec 8, 2013
630
94
<script>
var cimagesLocation = '<?php echo $_CONFIG['hotel']['url']; ?>/';
var news = new Array();
news[1] = ["{newsID-1}","{newsIMG-1}","{newsCaption-1}","{newsTitle-1}"];
news[2] = ["{newsID-2}","{newsIMG-2}","{newsCaption-2}","{newsTitle-2}"];
news[3] = ["{newsID-3}","{newsIMG-3}","{newsCaption-3}","{newsTitle-3}"];
news[4] = ["{newsID-4}","{newsIMG-4}","{newsCaption-4}","{newsTitle-4}"];
news[5] = ["{newsID-5}","{newsIMG-5}","{newsCaption-5}","{newsTitle-5}"];
</script>
<script language="javascript" type="text/javascript">
$(document).ready(function(){
mango.news.init();
});
</script>

<div id="header_bar">
<div id="container-me">
<div class="mid">
<div class="lefts">
Hey there {username}, welcome back.</div>
<div class="right">
<img src="app/tpl/skins/Mango/images/creditIcon.png" style="vertical-align:middle;margin-right:5px;"/><span>{coins}</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style=""><img src="app/tpl/skins/Mango/images/pixelIcon.png" style="vertical-align:middle;margin-right:5px;"/>{activitypoints}</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style=""><img src="app/tpl/skins/Mango/images/icon_users.png" style="vertical-align:middle;margin-right:5px;"/>{online} Users Online!</span>
</div>
</div>
</div>
</div>
<div id="content">
<a href="index"><img src="app/tpl/skins/Mango/images/logo.png" id="logo" border="0"/></a>
<ul id="menu">
<li><a href="me" class="active">Me</a></li>
<li><a href="account">My Account</a></li>
<li><a href="news">News</a></li>
<li><a href="staff">Staff Team</a></li>
<li><a href="vip">VIP</a></li>
{housekeeping}
<li><a href="logout">Logout</a></li>
</ul>
<div id="clear"></div>

<div id="featured_campaign">
<div id="user_info">
<div id="avatar-plate">
<img src=" " id="user"/>
</div>
</div>
<div id="enter_area">
<div class="enterButton">
<center><a href="api.php" onclick="mango.client.popup(); return false;">Enter {hotelName} Hotel</a></center>
</div>
</div>
</div><br/>

<div id="main_left">

<div class="content-box">
<div class="content-box-black">
<h2 class="title">{hotelName} hotel updates! </h2>
</div>
<div class="content-box-content">
Hey there, {username} we've been updating the hotel!<br/>
<br/>Enjoy your stay!</div>
</div> <br/>
<div class="content-box">
<div class="content-box-deep-blue">
<h2 class="title">Featured Campaigns</h2>
</div>
<div class="content-box-content" style="padding-top:0px; padding-bottom:0px;">
<hr/>
<div class="campaign_images">
<img src="app/tpl/skins/Mango/images/hotcampaign_thumb_FB.gif"/>
</div>
<div class="campaign_content">
Stay up-to date with the latest features and changes in {hotelName} at our facebook page
</div>
<p class="gothere"><a href=" echo $_CONFIG['social']['facebook']; ?>">Go there &raquo;</a></p>
<div style="clear:both;"></div>
<hr/>
<div class="campaign_images">
<img src="app/tpl/skins/Mango/images/hc.gif"/>
</div>
<div class="campaign_content">
Don't forget to buy {hotelName} Club in-game with your credits to ensure that you get the best clothes and furniture!
</div>
<p class="gothere"><a href="#">Go there &raquo;</a></p>
<div style="clear:both;"></div>
<hr/>
<div class="campaign_images">
<img src="app/tpl/skins/Mango/images/hotcampaign_thumb_BLACKHOLE.gif"/>
</div>
<div class="campaign_content">
Remember to always check out {hotelName} articles!
</div>
<p class="gothere"><a href="news">Go there &raquo;</a></p>
<div style="clear:both;"></div>
<hr/>
<div style="clear:both;"></div></div>
</div>
</div>
<div id="main_right">
<div id="top_stories">
<div id="top-story">
<div id="top-snippet"></div>
</div>
<div id="top-headlines-holder">
<div class="subnews_1"><a href="index.php?url=news&id={newsID-1}">{newsTitle-1} &raquo;</a>
<div class="sub-news-date">{newsDate-1}</div>
</div>
<div class="subnews_0"><a href="index.php?url=news&id={newsID-2}">{newsTitle-2} &raquo;</a>
<div class="sub-news-date">{newsDate-2}</div>
</div>
<div class="subnews_1"><a href="index.php?url=news&id={newsID-3}">{newsTitle-3} &raquo;</a>
<div class="sub-news-date">{newsDate-3}</div>
</div>
<div class="subnews_0"><a href="index.php?url=news&id={newsID-4}">{newsTitle-4} &raquo;</a>
<div class="sub-news-date">{newsDate-4}</div>
</div>
<div class="subnews_1"><a href="index.php?url=news&id={newsID-1}">{newsTitle-5} &raquo;</a>
<div class="sub-news-date">{newsDate-5}</div>
</div>
<div style="text-align:right; margin:3px;"><a href="news">Read more &raquo;</a></div>
</div>
</div>
<br/>&nbsp;<br/>
</script>
<br/><br/>
</div>
<div id="clear"></div></div>
<div id="footer">
<div id="clear"></div>
<div class="left">
<ul>
<strong>Sitemap</strong>
<li><a href="me">Me</a></li>
<li><a href="account">My Account</a></li>
<li><a href="news">Articles</a></li>
<li></li>
<li></li>
</ul>
</div>
<div class="left">
<ul>
<li>&nbsp;</li>
<li><a href="vip">{hotelName} VIP</a></li>
</ul>
</div>
<div class="left">
<ul>
<li>&nbsp;</li>
<li><a href="policy">Refund Policy & Privacy Policy</a></li>
<li><a href="logout">Logout</a></li>
</ul>
</div>
</div>
</div>



USE THIS...
 

KnightZ

Member
Jan 27, 2012
69
2
<script>
var cimagesLocation = '<?php echo $_CONFIG['hotel']['url']; ?>/';
var news = new Array();
news[1] = ["{newsID-1}","{newsIMG-1}","{newsCaption-1}","{newsTitle-1}"];
news[2] = ["{newsID-2}","{newsIMG-2}","{newsCaption-2}","{newsTitle-2}"];
news[3] = ["{newsID-3}","{newsIMG-3}","{newsCaption-3}","{newsTitle-3}"];
news[4] = ["{newsID-4}","{newsIMG-4}","{newsCaption-4}","{newsTitle-4}"];
news[5] = ["{newsID-5}","{newsIMG-5}","{newsCaption-5}","{newsTitle-5}"];
</script>
<script language="javascript" type="text/javascript">
$(document).ready(function(){
mango.news.init();
});
</script>

<div id="header_bar">
<div id="container-me">
<div class="mid">
<div class="lefts">
Hey there {username}, welcome back.</div>
<div class="right">
<img src="app/tpl/skins/Mango/images/creditIcon.png" style="vertical-align:middle;margin-right:5px;"/><span>{coins}</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style=""><img src="app/tpl/skins/Mango/images/pixelIcon.png" style="vertical-align:middle;margin-right:5px;"/>{activitypoints}</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style=""><img src="app/tpl/skins/Mango/images/icon_users.png" style="vertical-align:middle;margin-right:5px;"/>{online} Users Online!</span>
</div>
</div>
</div>
</div>
<div id="content">
<a href="index"><img src="app/tpl/skins/Mango/images/logo.png" id="logo" border="0"/></a>
<ul id="menu">
<li><a href="me" class="active">Me</a></li>
<li><a href="account">My Account</a></li>
<li><a href="news">News</a></li>
<li><a href="staff">Staff Team</a></li>
<li><a href="vip">VIP</a></li>
{housekeeping}
<li><a href="logout">Logout</a></li>
</ul>
<div id="clear"></div>

<div id="featured_campaign">
<div id="user_info">
<div id="avatar-plate">
<img src=" " id="user"/>
</div>
</div>
<div id="enter_area">
<div class="enterButton">
<center><a href="api.php" onclick="mango.client.popup(); return false;">Enter {hotelName} Hotel</a></center>
</div>
</div>
</div><br/>

<div id="main_left">

<div class="content-box">
<div class="content-box-black">
<h2 class="title">{hotelName} hotel updates! </h2>
</div>
<div class="content-box-content">
Hey there, {username} we've been updating the hotel!<br/>
<br/>Enjoy your stay!</div>
</div> <br/>
<div class="content-box">
<div class="content-box-deep-blue">
<h2 class="title">Featured Campaigns</h2>
</div>
<div class="content-box-content" style="padding-top:0px; padding-bottom:0px;">
<hr/>
<div class="campaign_images">
<img src="app/tpl/skins/Mango/images/hotcampaign_thumb_FB.gif"/>
</div>
<div class="campaign_content">
Stay up-to date with the latest features and changes in {hotelName} at our facebook page
</div>
<p class="gothere"><a href=" echo $_CONFIG['social']['facebook']; ?>">Go there &raquo;</a></p>
<div style="clear:both;"></div>
<hr/>
<div class="campaign_images">
<img src="app/tpl/skins/Mango/images/hc.gif"/>
</div>
<div class="campaign_content">
Don't forget to buy {hotelName} Club in-game with your credits to ensure that you get the best clothes and furniture!
</div>
<p class="gothere"><a href="#">Go there &raquo;</a></p>
<div style="clear:both;"></div>
<hr/>
<div class="campaign_images">
<img src="app/tpl/skins/Mango/images/hotcampaign_thumb_BLACKHOLE.gif"/>
</div>
<div class="campaign_content">
Remember to always check out {hotelName} articles!
</div>
<p class="gothere"><a href="news">Go there &raquo;</a></p>
<div style="clear:both;"></div>
<hr/>
<div style="clear:both;"></div></div>
</div>
</div>
<div id="main_right">
<div id="top_stories">
<div id="top-story">
<div id="top-snippet"></div>
</div>
<div id="top-headlines-holder">
<div class="subnews_1"><a href="index.php?url=news&id={newsID-1}">{newsTitle-1} &raquo;</a>
<div class="sub-news-date">{newsDate-1}</div>
</div>
<div class="subnews_0"><a href="index.php?url=news&id={newsID-2}">{newsTitle-2} &raquo;</a>
<div class="sub-news-date">{newsDate-2}</div>
</div>
<div class="subnews_1"><a href="index.php?url=news&id={newsID-3}">{newsTitle-3} &raquo;</a>
<div class="sub-news-date">{newsDate-3}</div>
</div>
<div class="subnews_0"><a href="index.php?url=news&id={newsID-4}">{newsTitle-4} &raquo;</a>
<div class="sub-news-date">{newsDate-4}</div>
</div>
<div class="subnews_1"><a href="index.php?url=news&id={newsID-1}">{newsTitle-5} &raquo;</a>
<div class="sub-news-date">{newsDate-5}</div>
</div>
<div style="text-align:right; margin:3px;"><a href="news">Read more &raquo;</a></div>
</div>
</div>
<br/>&nbsp;<br/>
</script>
<br/><br/>
</div>
<div id="clear"></div></div>
<div id="footer">
<div id="clear"></div>
<div class="left">
<ul>
<strong>Sitemap</strong>
<li><a href="me">Me</a></li>
<li><a href="account">My Account</a></li>
<li><a href="news">Articles</a></li>
<li></li>
<li></li>
</ul>
</div>
<div class="left">
<ul>
<li>&nbsp;</li>
<li><a href="vip">{hotelName} VIP</a></li>
</ul>
</div>
<div class="left">
<ul>
<li>&nbsp;</li>
<li><a href="policy">Refund Policy & Privacy Policy</a></li>
<li><a href="logout">Logout</a></li>
</ul>
</div>
</div>
</div>



USE THIS...
Didn't work :/
 

Jerry

not rly active lol
Jul 8, 2013
1,957
522
I found it, replace;
Code:
news[1] = ["{newsID-1}","{newsIMG-1}","{newsCaption-1}","{newsTitle-1}"];
news[2] = ["{newsID-2}","{newsIMG-2}","{newsCaption-2}","{newsTitle-2}"];
news[3] = ["{newsID-3}","{newsIMG-3}","{newsCaption-3}","{newsTitle-3}"];
news[4] = ["{newsID-4}","{newsIMG-4}","{newsCaption-4}","{newsTitle-4}"];
news[5] = ["{newsID-5}","{newsIMG-5}","{newsCaption-5}","{newsTitle-5}"];
with;
Code:
news[1] = ["{newsID-1}","{url}/r63/c_images/Top_Story_Images/{newsIMG-1}","{newsCaption-1}","{newsTitle-1}"];
news[2] = ["{newsID-2}","{url}/r63/c_images/Top_Story_Images/{newsIMG-2}","{newsCaption-2}","{newsTitle-2}"];
news[3] = ["{newsID-3}","{url}/r63/c_images/Top_Story_Images/{newsIMG-3}","{newsCaption-3}","{newsTitle-3}"];
news[4] = ["{newsID-4}","{url}/r63/c_images/Top_Story_Images/{newsIMG-4}","{newsCaption-4}","{newsTitle-4}"];
news[5] = ["{newsID-5}","{url}/r63/c_images/Top_Story_Images/{newsIMG-5}","{newsCaption-5}","{newsTitle-5}"];
 

Users who are viewing this thread

Top