/ August 3, 2005

This mod will show Google Adsense under the “Featured Links” as “Sponsored Links”. You can see what I mean on the site in my sig.

This mod was inspired from a thread of “seothatworks”, Thank you!

In main.tpl just before “{* Links heading and sorting*}” add:

Code:
{if $category.ID != 0} {include file=”googlead.tpl”} {/if}


Make a new file and call it googlead.tpl with these lines:

 
<h3>{l}Sponsored Links{/l}</h3>

<DIV STYLE="text-align:center;margin-bottom:-10px;">
<script type="text/javascript"><!--
google_ad_client = "XXXXXXXXXXXX";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text";
google_ad_channel ="XXXXXXXXXXXXX";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</DIV>

Finished.