Created
April 27, 2014 02:15
-
-
Save xombra/11336142 to your computer and use it in GitHub Desktop.
Para mostrar publicidad de Google
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function PUB_GOOGLE($google_ad_client,$google_ad_slot,$google_ad_width,$google_ad_height) | |
{ | |
?> | |
<script async type="text/javascript"> | |
google_ad_client = "<?php echo $google_ad_client; ?>"; | |
google_ad_slot = "<?php echo $google_ad_slot; ?>"; | |
google_ad_width = <?php echo $google_ad_width; ?>; | |
google_ad_height = <?php echo $google_ad_height; ?>; | |
</script> | |
<script async type="text/javascript" | |
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> | |
</script> | |
<?php | |
return; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment