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 Apr 30th, 2010  |  syntax: None  |  size: 0.36 KB  |  views: 106  |  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.  
  2.  
  3. if (!function_exists('ShowAd')) {
  4.     function ShowAd($action)
  5.     {
  6.         $ad = <<<ENDOFAD
  7. <!--Ad advertisement snippet, begin -->
  8. <script type='text/javascript'>
  9.  
  10. stuff goes here
  11.  
  12. </script>
  13. <script type='text/javascript' src='http://example/somepath/foo.js'></script>
  14. <!--Ad, end -->
  15. ENDOFAD;
  16.         $action->raw($ad);
  17.         return true;
  18.     }
  19. }