if( aicp_can_see_ads() ) { $adCode = '
'; return $adCode; } else { return '
'; }

Interesting tutorial: How to paint the walls (11 pictures)

This is how programmers paint the walls. I must say, not bad.