Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as PHP by allen ( 16 years ago )
// Ad widget
function adsWidget()
{
?>
<div id="ads">
<img src="<?php bloginfo('template_url'); ?>/images/checkout.png" alt="<?php bloginfo('name'); ?>" />
<?php if(get_option("ct_custom_ad3_url", "ct_custom_ad3_imgurl", "ct_custom_ad3_alt", $single = true) !="") { ?>
<a href="<?php echo get_option("><img class="smad" src="<?php echo get_option(" height="600" width="120" alt="<?php echo get_option(" /></a>
<?php } else { ?>
<?php } ?>
<?php if(get_option("ct_custom_ad4_url", "ct_custom_ad4_imgurl", "ct_custom_ad4_alt", $single = true) !="") { ?>
<a href="<?php echo get_option("><img class="smad last" src="<?php echo get_option(" height="600" width="120" alt="<?php echo get_option(" /></a>
<?php } else { ?>
<?php } ?>
<div class="clear"></div>
</div>
<?php
}
register_sidebar_widget('Ads', 'adsWidget');
?>
Revise this Paste