look at your logic
if (!strstr($user['U_Groups'],"-9-")) {
// Adsense hack start
$adsense = "";
if ( stristr(",{$config['adsense']},", ",$Board,") ) {
include("$thispath/templates/$tempstyle/adsense.tmpl");
}
// Adsense hack finish
}
you are saying that ONLY if NOT group 9 then check if the board is config[adsense] and include the template for adsense.tmpl and if you are group 9 then don't do anything at all...so it shouldn't ever include the adsense.tmpl..