'; switch( $_GET[ 'action' ] ) { //---------------------------------------------------// default: ?>

Advertisement Magament - Below you can type in your adcodes.

Below you can type in your adcodes. Read the description next to the boxes for information on where the ads actually appear in your blog.

1 - Below post-titles frontpage
This ad will apear below all the post-titles on your blog frontpage.
2 - Below title inside post
When a post is open this will appear just below the post title.
3 - Below post when open
When a post is open this will show just below the post and before the commentbox.
4 - Below page title
This one will appear just below the title inside every pages of your blog.
5 - Below page content
This one will appear just below the content in a page if the page is open.
6 - Below commentboxes
This advertisement will show up just below the box where your readers type in comments.
7 - Above header
This advertisement show up before everyting else on the blog. Above the header.
8 - Below footer
This one appears just below the blog footer.

I like money

If you like the Advertisement Management plugin, please concider donate some cash to me. Maybe it will make me create even more cool plugins. Click the button below to give a donation. In advance, thanks a lot to everyone giving something back for Advertisement Management.

window.location='options-general.php?page=Advertising_page&updated=true&updatedmsg=" . urlencode('Settings saved.') . "'; "; break; //---------------------------------------------------// case "temp": break; //---------------------------------------------------// } echo ''; } function advertising($data){ $advertising_home = stripslashes( get_site_option('Advertising_front_page') ); $advertising_single_top = stripslashes( get_site_option('Advertising_single_top') ); $advertising_single_bottom = stripslashes( get_site_option('Advertising_single_bottom') ); $advertising_page_top = stripslashes( get_site_option('Advertising_page_top') ); $advertising_page_bottom = stripslashes( get_site_option('Advertising_page_bottom') ); if (is_single()) { return $advertising_single_top . $data . $advertising_single_bottom ; } else if (is_home()) { return $advertising_home . $data ; } else if (is_page()) { return $advertising_page_top . $data . $advertising_page_bottom ; } else { return $data ; } } add_filter('the_content', 'advertising'); function adbelowfooter() { $belowfooteradvertisement = stripslashes( get_site_option('Advertising_below_footer') ); echo $belowfooteradvertisement; } add_action('wp_footer', 'adbelowfooter'); function adbelowcommentbox() { $belowcommentboxadvertisement = stripslashes( get_site_option('Advertising_below_commentbox') ); echo $belowcommentboxadvertisement; } add_action('comment_form', 'adbelowcommentbox'); function blogs_top() { $blogs_top_advertisement = stripslashes( get_site_option('Advertising_blog_top') ); echo $blogs_top_advertisement; } add_action('get_header', 'blogs_top'); ?>