SHARE
TWEET

Untitled

a guest Apr 30th, 2010 106 Never
  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. }
RAW Paste Data
Top