not sure if you fixed it, but i can't see a problem on that page or quite see in your code which part is the ad you want to insert, but basically, as you're using foreach() then do something like this:
PHP Code:
$x = 1;
foreach($var1 as $var2)
{
if($x == 1) {
print 'your ad code here';
print 'your news code here';
}
else {
print 'your news code here';
}
$x++;
}
$x is then increased by 1 for each item, and your ad will only print on the first, other than that just put your ad outside the loop.
PHP Code:
print 'your ad code';
foreach($var1 as $var2)
{
print 'your news code';
}