To get the little banners on your homepage, copy and paste this code at the bottom of your
me.php page in dreamweaver, but BEFORE include(community/templates/footer) or whatever (The last code)
PHP Code:
<div id="column3" class="column">
<div class="habblet-container ">
<div class="ad-container">
<?php $sql = mysql_query("SELECT * FROM cms_banners WHERE status = '1' ");
while($row = mysql_fetch_assoc($sql)) { ?>
<a target="blank" href="<?php echo $row['url']; ?>"><img src="<?php echo $row['banner']; ?>"></a><br>
<a target="blank" href="<?php echo $row['url']; ?>"><?php echo stripslashes($row['text']); ?></a><br>
<?php } ?>
<br>
</div>
</div>
<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
<div class="habblet-container ">
<div class="ad-container">
</div>
</div>
<script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init(); }</script>
</div>
Thanks :D Wil && James (PureRetroGod)