Hi, I've got alot of experience with nuke, here is how I used to do it, (using a block)
first, go to here:
http://www.disipal.net/modules.php?n...x&func=HTMLPHP
paste your google code in the top box, and hit 'convert'.
This gives you something like this:
[code:1:c61c242ffd]<?php
#### Generated by Html to PHP converter By Disipal Site (
www.disipal.net) ####
echo"<script type="text/javascript"><!--"
. "google_ad_client = "pub-4352148429802114";"
. "google_ad_width = 120;"
. "google_ad_height = 600;"
. "google_ad_format = "120x600_as";"
. "google_ad_channel ="";"
. "//--></script>"
. "<script type="text/javascript""
. " src="http://pagead2.googlesyndication.com/pagead/show_ads.js">"
. "</script>"
."";
?>[/code:1:c61c242ffd]
Change it so it ends up like this:
[code:1:c61c242ffd]
<?php
if (eregi("block-Adsense.php", $_SERVER['PHP_SELF'])) {
Header("Location: index.php");
die();
}
content .= "<script type="text/javascript"><!--"
. "google_ad_client = "pub-************";"
. "google_ad_width = 120;"
. "google_ad_height = 600;"
. "google_ad_format = "120x600_as";"
. "google_ad_channel ="";"
. "//--></script>"
. "<script type="text/javascript""
. " src="http://pagead2.googlesyndication.com/pagead/show_ads.js">"
. "</script>"
."";
?>[/code:1:c61c242ffd]
REMEMBER, DO NOT JUST COPY MY ADSENSE CODE, IT MUST BE YOURS TO WORK,
Or, you can just change my adsense code to suit if you know what you are doing.
Then, save the file as block-Adsense.php and place it in your 'blocks' directory, upload & activate.... voila.
I have now hardcoded adsense into my theme, with 2 plain text files containing my desired advertising code, one for a 468 banner, and one for a 120 banner, depending on whether the right hand blocks are on ($index == 1

, but this is more time consuming, and advanced.