Pro sites Manual Adcode From Supporter

Hi.
How can I get this old adcode from Supporter to work with Pro Sites?

if (supporter_show_ads()) {
//show ads
?>
<?php
} else { }?>