There are different methods of making it, and I see all of you have different types.
Printable View
There are different methods of making it, and I see all of you have different types.
Good Job AresCJ :)
Mark
[quote=Hazzbo@Ragezone;5023956]Sorry for Double Post, but here is the Fix (It works, because I tested it):
Me.php:
Housekeeping/Index.php:PHP Code:<div class="habblet-container ">
<div class="cbb clearfix orange ">
<h2 class="title">Hot Campaigns
</h2>
<div id="hotcampaigns-habblet-list-container">
<ul id="hotcampaigns-habblet-list">
<?php
$getcampaigns = mysql_query("select * from cms_campaigns");
while($campaigns = mysql_fetch_assoc($getcampaigns)) {
?>
<li class="even">
<div class="hotcampaign-container">
<a href="<?php echo $campaigns['url']; ?>"><img src="<?php echo $campaigns['image']; ?>" align="left" alt="" /></a>
<h3><?php echo $campaigns['name']; ?></h3>
<p><?php echo $campaigns['desc']; ?></p>
<p class="link"><a href="<?php echo $campaigns['url']; ?>">Go there »</a></p>
</div>
</li>
<?php } ?>
</ul>
</div>
</div>
</div>
<script type="text/javascript">if (!$(document.body).hasClassName('process-template)) { Rounder.init(); }</script>
Downloadlink: MediaFirePHP Code:} elseif($p == "campaign"){
$tab = 3;
include('campaign.php');
} elseif($p == "campaigns"){
$tab = 3;
include('campaigns.php');
Housekeeping/campaings.php is just an overview, because edit and delete doesn
Where do you put the code in?
Can someone upload a rar with all include?
and a Readme file?
- Thanks - Mark
Download this one: Media Fire and you need to add housekeeping/index.php:
PHP Code:} elseif($p == "campaign"){
$tab = 3;
include('campaign.php');
} elseif($p == "campaigns"){
$tab = 3;
include('campaigns.php');
Well, as you can see making new campaign pages are unnecessary.. When you can do as I said, just add them onto the Content Page with the credits, just make a new section and then just insert it into cms_content and you'll be fine, but everyone has other easier methods..
Nice Addon ! :D 10/10 :D
Thanks for the comments! I'm making a revision.
:O i seen this in habbo.com imama use it for my hotel :P thanks times
No problem, new method of adding the Hot Campaigns is coming soon, maybe tonight or tomorrow!
Where do you exactly put this??? Under where
You put it after this:
PHP Code:<script type="text/javascript">
HabboView.add(function() {
L10N.put("personal_info.motto_editor.spamming", "Don\'t spam me, bro!");
PersonalInfo.init("");
});
</script>
</div>
<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
10/10!
Great add-on! :D
Oh thats nice AJ
I thought this was released already,
:D