edit template topic view > post
find
<script type="text/javascript">
$('report_mark_{$post['post']['pid']}').observe('click',
ipb.global.updateReportStatus.bindAsEventListener(
this, {$this->memberData['_cache']['report_temp']['post_marker']['post'][$post['post']['pid']]['info']['id']},2,2
)
);
</script>
</if>
</div>
</div>
</div>
</if>
<if test="initIgnoredPost:|:$post['post']['_repignored'] == 1 || $post['post']['_ignored']">
after the </div> add
<script type="text/javascript">
$('report_mark_{$post['post']['pid']}').observe('click',
ipb.global.updateReportStatus.bindAsEventListener(
this, {$this->memberData['_cache']['report_temp']['post_marker']['post'][$post['post']['pid']]['info']['id']},2,2
)
);
</script>
</if>
</div>
</div>
</div>
<if test="$post['post']['post_count']==5">Your ad goes here</if>
</if>
<if test="initIgnoredPost:|:$post['post']['_repignored'] == 1 || $post['post']['_ignored']">
Move the if around until you get it where you want it to show.