Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 18th, 2013  |  syntax: None  |  size: 0.94 KB  |  views: 30  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php if (!defined("IN_HOLOCMS")) { header("Location: $path"); exit; } ?>
  2.  
  3. <?php if($noads == true){ ?>
  4. <?php } elseif($pageid == "10b"){ ?>
  5. <?php } else { ?>
  6. <div id="column3" class="column">
  7.  
  8. <script type="text/javascript">
  9. HabboView.run();
  10. <script type="text/javascript">
  11. HabboView.run();
  12. </script>
  13. <div class="habblet-container ">
  14. <?php $sql = mysql_query("SELECT * FROM cms_banners ORDER BY id DESC LIMIT 5");
  15. while($row = mysql_fetch_assoc($sql)) { ?>
  16. <?php echo $row['html']; ?>
  17. <?php if($row['banner'] == "" or $row['banner'] == " "){ ?><?php } else { ?><a target="blank" href="<?php echo
  18.  
  19. $row['url']; ?>"><img src="<?php echo $row['banner']; ?>"></a><br /><?php } ?>
  20. <a target="blank" href="<?php echo $row['url']; ?>"><?php echo HoloText($row['text']); ?></a><br />
  21. <?php } ?>
  22. </div>
  23.  
  24. <script type="text/javascript">if (!$(document.body).hasClassName('process-template')) { Rounder.init();
  25.  
  26. }</script>
  27. </div>
  28. <?php } ?>
clone this paste RAW Paste Data