Open readarticle.php in the root folder of your php fusion installation, around line 30-ish you will see the following code,
$article = stripslashes($data['article_article']);
$article = explode("<!--PAGEBREAK--!>", $article);
$pagecount = count($article);
$article_subject = stripslashes($data['article_subject']);
$article_info = array(
"article_id" => $data['article_id'],
"user_id" => $data['user_id'],
"user_name" => $data['user_name'],
"article_date" => $data['article_datestamp'],
"article_breaks" => $data['article_breaks'],
"article_comments" => dbcount("(comment_id)", "comments", "comment_type='A' AND comment_item_id='".$data['article_id']."'"),
"article_reads" => $data['article_reads'],
"article_allow_comments" => $data['article_allow_comments']
);
render_article($article_subject, $article[$rowstart], $article_info);
we are gonna modify that so that we can add the block ad before and the rectangular ad at the bottom.
$article_pre = "<table border='0' cellspacing='5' cellpadding='2' align='left'><tr><td><script type=\"text/javascript\"><!--
google_ad_client = \"PLACE YOUR AD_CLIENT # HERE\";
google_ad_width = 250;
google_ad_height = 250;
google_ad_format = \"250x250_as\";
google_ad_type = \"text\";
google_ad_channel =\"\";
google_color_border = \"F7F7F7\";
google_color_bg = \"F7F7F7\";
google_color_link = \"0000FF\";
google_color_text = \"000000\";
google_color_url = \"008000\";
//--></script>
<script type=\"text/javascript\" xsrc=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">
</script></td></tr></table>";
$article = stripslashes($data['article_article']);
$article = explode("<!--PAGEBREAK--!>", $article);
$pagecount = count($article);
$article_post = "<center><script type=\"text/javascript\"><!--
google_ad_client = \"PLACE YOUR AD_CLIENT # HERE\";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = \"468x60_as\";
google_ad_type = \"image\";
google_ad_channel =\"\";
google_color_border = \"F7F7F7\";
google_color_bg = \"F7F7F7\";
google_color_link = \"0000FF\";
google_color_text = \"000000\";
google_color_url = \"008000\";
//--></script>
<script type=\"text/javascript\" xsrc=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">
</script></center>";
$article_subject = stripslashes($data['article_subject']);
$article_info = array(
"article_id" => $data['article_id'],
"user_id" => $data['user_id'],
"user_name" => $data['user_name'],
"article_date" => $data['article_datestamp'],
"article_breaks" => $data['article_breaks'],
"article_comments" => dbcount("(comment_id)", "comments", "comment_type='A' AND comment_item_id='".$data['article_id']."'"),
"article_reads" => $data['article_reads'],
"article_allow_comments" => $data['article_allow_comments']
);
render_article($article_subject, $article_pre.$article[$rowstart].$article_post, $article_info);
As you can now tell, the $article_pre takes care of the block ad (you may change the adsense code to which ever type/format of add you want placed there) and the $article_post is for the rectangular ad at the end (again you may change the adsense code to reflect what type/format ad you want placed there).
And that's it, simple as that! Now, no matter what theme you take the adsense will always be there, but you will have to change the colour codes to reflect the new colour scheme. I haven't read/found out how to get it to take the colours from the CSS scheme yet, working on it.
Thanks for reading through,
Adnan.