prefix . "AIPWP_ADS"; global $wpdb; echo '
'; echo '

Adsense Inside Post - Settings

Plugin by MyTrickPages.com Visit Plugin Page | Got a problem ? Read Our Documentation

Now You Can Easily Place Responsive Google AdSense Ads Inside Your Post..!


'; if(isset($_POST['update'])) { update($_POST['AD_ID'],$_POST['AD_CODE'],$_POST['style']); echo '

AD Has Been Updated!


'; } if(isset($_POST['delete'])) { delete($_POST['AD_ID']); echo '

AD Has Been Deleted!


'; } if(isset($_POST['save'])) {insert($_POST['ADNAME'],$_POST['ADCODE'],$_POST['style']); echo '

New AD Has Been Added!


'; } echo '
OR OR
'; if (isset($_POST['addnew'])) { echo '

AD Name

AD Code

AD Style

Align Left
Align Right
Align Center
No Style
'; } if (isset($_POST['addnewresp'])) { echo ' '; echo '

Responsive Ads Only Support With Google Adsense

Google AD Client

Google AD Slot

AD Name

AD Type

Rectangle
Horizontal
Vertical
Square
'; //Print Rectangle Settings echo '"; //Rectangle Settings Ends //Horizontal Settings echo''; //Horizontal Settings Ends //Vertical Settings echo''; //Vertical Settings Ends //Square Settings echo''; //Square Settings Ends echo '

AD Code

AD Style

Align Left
Align Right
Align Center
No Style
'; } if (isset($_POST['modify'])) { $CHK = $rs->AIPWP_AD_NAME; $res = $wpdb->get_results("SELECT * FROM $table_name WHERE AIPWP_AD_NAME = '$_POST[adname]'"); foreach ($res as $rs) { echo '

AD ID

'.$rs->AIPWP_AD_ID.'

AD Name

'.$rs->AIPWP_AD_NAME.'

AD Code

AD Style

'; echo 'AIPWP_AD_STYLE=='ad_left') echo 'checked="checked"'; echo ' >Align Left
'; echo 'AIPWP_AD_STYLE=='ad_right') echo 'checked="checked"'; echo ' >Align Right
'; echo 'AIPWP_AD_STYLE=='ad_center') echo 'checked="checked"'; echo ' >Align Center
'; echo 'AIPWP_AD_STYLE=='no') echo 'checked="checked"'; echo ' >No Style'; echo '
'; }} $rss = fetch_feed('http://www.mytrickpages.com/feed'); if (!is_wp_error( $rss ) ) : $maxitems = $rss->get_item_quantity(5); $rss_items = $rss->get_items(0, $maxitems); endif; echo '

Recent Post From MyTrickPages.com

'; } ?>