Options || Ads: Check the best hotels in RoomsFinder.net Version: 1.0.1 Author: Rhino Liêm Author URI: http://www.liemmp.com */ function adslink_imageandlink(){ $ads_image_default = "/wp-content/plugins/ads-in-right-bottom/image/ads-right-bottom.jpg"; if(get_option('adslink_ads_image')==false){ add_option('adslink_ads_image',$ads_image_default); } $ads_image=get_option('adslink_ads_image'); $ads_image = explode(',',$ads_image); $ads_link_default = "http://www.youradslinkdomain.com/"; if(get_option('adslink_ads_link')==false){ add_option('adslink_ads_link',$ads_link_default); } $ads_link=get_option('adslink_ads_link'); $ads_link = explode(',',$ads_link); $ads_width_default = "200"; if(get_option('adslink_ads_width')==false){ add_option('adslink_ads_width',$ads_width_default); } $ads_width=get_option('adslink_ads_width'); $ads_width = explode(',',$ads_width); } function adslink() { echo ""; echo "
"; echo ""; echo "
"; echo ""; echo ""; echo ""; echo "
"; echo "
"; } function adslink_admin_menu(){ if (function_exists('add_submenu_page') ) { add_submenu_page('plugins.php', __('Ads link bottom'), __('Ads link bottom'),'manage_options' , 'adslink-options','adslink_options'); } } function adslink_options(){ if ( isset($_POST['submit']) ) { if ( function_exists('current_user_can') && !current_user_can('manage_options') ){ die(__('Are you admin?')); } update_option('adslink_ads_image', $_POST['adslink_ads_image']); update_option('adslink_ads_link', $_POST['adslink_ads_link']); update_option('adslink_ads_width', $_POST['adslink_ads_width']); } if ( !empty($_POST)) : ?>

Ads link and image

Link to your content


(include http://)

Ads Image url


(include http:// - .jpg, .gif....)

Ads Image width


(only number)

Important Note

To display your ads, please insert this code into your theme (recommend footer.php)
<?php if(function_exists('adslink')) { adslink(); } ?>

If you find this plugin useful, please rate at wordpress plugin dir or send me a cup of coffee
YOUR ADS HERE
'>' width=''>