I searched the forum and found some good information; however, I was not able to find exactly what I was looking for. I would like adsense to display only below the very last post of each page. Is this possible?
Here is my current adsense code:
Here is my current adsense code:
HTML Code:
<if condition="$post[postcount] % 5 == 0 AND in_array($GLOBALS[forumid], array(16,18,5,12,8,9,24,23,17,21,26,7,11,14,15,13))"> $spacer_open <div style="margin: 0;padding:0px 0px $stylevar[cellpadding]px 0px"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="thead" align="left">Sponsored Links</td> </tr> <tr> <td class="alt1" align="center"> <script type="text/javascript"><!-- google_ad_client = "pub-xxxxxxxxxxxxxxxxxx"; google_alternate_color = "212121"; google_ad_width = 728; google_ad_height = 15; google_ad_format = "728x15_0ads_al_s"; google_ad_channel ="xxxxx"; google_color_border = "212121"; google_color_bg = "212121"; google_color_link = "CCCCCC"; google_color_text = "838383"; google_color_url = "EABB2D"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </td> </tr> </table> </div> $spacer_close </if>
Comment