PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/demo2024feb.kerihosting.com/wp-content/themes/lifestyle/lib/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : /home/trave494/demo2024feb.kerihosting.com/wp-content/themes/lifestyle/lib/moneybags.php |
<?php /** * ADS Settings * Requires Genesis 1.8 or later * Custom made by PreMadeNiches <www.premadeniches.com> * * * @license http://www.opensource.org/licenses/gpl-license.php GPL v2.0 (or later) * @link http://www.premadeniches.com */ /** * Registers a new admin page, use for replacing and managing existing * affiliate links and banners. * * * @package Genesis Child Theme * @package Admin * * @since 1.8.0 */ class Premadeniches_Millionaire_Settings extends Genesis_Admin_Boxes { /** * Create an admin submenu item and settings page. */ function __construct() { $page_id = 'premadeniches'; $menu_ops = array( 'submenu' => array( 'parent_slug' => 'genesis', 'page_title' => __( 'ADS Settings', 'genesis' ), 'menu_title' => __( 'ADS Settings', 'genesis' ) ) ); $page_ops = array( 'screen_icon' => 'options-general', 'save_button_text' => __( 'Save ADS Settings', 'genesis' ), 'reset_button_text' => __( 'Reset ADS Settings', 'genesis' ), 'saved_notice_text' => __( 'ADS Settings saved.', 'genesis' ), 'reset_notice_text' => __( 'ADS Settings reset.', 'genesis' ), 'error_notice_text' => __( 'Error saving ADS settings.', 'genesis' ), ); $settings_field = 'millionaire'; $default_settings = apply_filters( 'genesis_premadeniches_defaults', array( 'amazon_id' => 'feewow-20', 'amazon_keyword' => 'money', 'amazon_show_posts' => 0, 'amazon_store_link' => '', 'clickbank_id' => 'ijalmar77', 'clickbank_keyword' => 'money', 'clickbank_show_sidebar' => 'true', 'adsense_300' => '', 'adsense_336' => '', 'adsense_468' => '', 'adsense_archive' => '', 'top_navbar_show' => 1, 'adsense_archive_show' => 0, 'adsense_300_show' => 0, 'adsense_336_show' => 0, 'adsense_468_show' => 0, 'adsense_archive_show_below' => 0, 'adsense_300_show_home' => 0, 'ad_top_image' => '', 'ad_top_url' => 'http://www.premadeniches.com/', 'ad_top_alt_tag' => 'Ready Made PLR Websites', 'move_main_nav' => 0, 'aff1_link' => '', 'aff2_link' => '', 'aff3_link' => '', 'aff4_link' => '', 'aff1_title_tag' => '', 'aff2_title_tag' => '', 'aff3_title_tag' => '', 'aff4_title_tag' => '', 'aff1_banner_url_1' => '', 'aff2_banner_url_1' => '', 'aff3_banner_url_1' => '', 'aff4_banner_url_1' => '', 'aff1_banner_url_2' => '', 'aff2_banner_url_2' => '', 'aff3_banner_url_2' => '', 'aff4_banner_url_2' => '', 'aff1_banner_url_3' => '', 'aff2_banner_url_3' => '', 'aff3_banner_url_3' => '', 'aff4_banner_url_3' => '', ) ); $this->create( $page_id, $menu_ops, $page_ops, $settings_field, $default_settings ); add_action( 'genesis_settings_sanitizer_init', array( $this, 'sanitizer_filters' ) ); } /** * Registers each of the settings with a sanitization filter type. */ public function sanitizer_filters() { genesis_add_option_filter( 'one_zero', $this->settings_field, array( 'amazon_show_posts', 'clickbank_show_sidebar', 'move_main_nav', 'adsense_300_show', 'adsense_336_show', 'adsense_468_show', 'adsense_archive_show', 'adsense_archive_show_below', 'adsense_300_show_home', 'top_navbar_show', ) ); genesis_add_option_filter( 'no_html', $this->settings_field, array( 'amazon_id', 'amazon_keyword', 'amazon_store_link', 'clickbank_id', 'clickbank_keyword', 'ad_top_image', 'ad_top_url', 'ad_top_alt_tag', 'aff1_link', 'aff2_link', 'aff3_link', 'aff4_link', 'aff1_title_tag', 'aff2_title_tag', 'aff3_title_tag', 'aff4_title_tag', 'aff1_banner_url_1', 'aff2_banner_url_1', 'aff3_banner_url_1', 'aff4_banner_url_1', 'aff1_banner_url_2', 'aff2_banner_url_2', 'aff3_banner_url_2', 'aff4_banner_url_2', 'aff1_banner_url_3', 'aff2_banner_url_3', 'aff3_banner_url_3', 'aff4_banner_url_3', ) ); genesis_add_option_filter( 'requires_unfiltered_html', $this->settings_field, array( 'adsense_300', 'adsense_336', 'adsense_468', 'adsense_archive', ) ); } /** * Register meta boxes on the ADS Settings page. */ function metaboxes() { add_meta_box( 'premadeniches-adsinfo', __( 'Replace and Manage Affiliate Links/Banners', 'genesis' ), array( $this, 'adsinfo_box' ), $this->pagehook, 'main', 'high'); add_meta_box( 'premadeniches-amazon', __( 'Amazon Ads', 'genesis' ), array( $this, 'amazon_box' ), $this->pagehook, 'main' ); add_meta_box( 'premadeniches-clickbank', __( 'Clickbank Ads', 'genesis' ), array( $this, 'clickbank_box' ), $this->pagehook, 'main' ); add_meta_box( 'premadeniches-adsense', __( 'Adsense Ads', 'genesis' ), array( $this, 'adsense_box' ), $this->pagehook, 'main' ); add_meta_box( 'premadeniches-archivead', __( 'Ads on Archive Pages (Categories and Tags)', 'genesis' ), array( $this, 'archivead_box' ), $this->pagehook, 'main' ); add_meta_box( 'premadeniches-bannerins', __( 'BANNER ADS', 'genesis' ), array( $this, 'bannerins_box' ), $this->pagehook, 'main' ); add_meta_box( 'premadeniches-headbanner', __( 'Header Banner Ad (468 x 60)', 'genesis' ), array( $this, 'headbanner_box' ), $this->pagehook, 'main' ); add_meta_box( 'premadeniches-bannerad1', __( 'Banner Ad #1', 'genesis' ), array( $this, 'bannerad1_box' ), $this->pagehook, 'main' ); add_meta_box( 'premadeniches-bannerad2', __( 'Banner Ad #2', 'genesis' ), array( $this, 'bannerad2_box' ), $this->pagehook, 'main' ); add_meta_box( 'premadeniches-bannerad3', __( 'Banner Ad #3', 'genesis' ), array( $this, 'bannerad3_box' ), $this->pagehook, 'main' ); add_meta_box( 'premadeniches-bannerad4', __( 'Banner Ad #4', 'genesis' ), array( $this, 'bannerad4_box' ), $this->pagehook, 'main' ); add_meta_box( 'premadeniches-subscribe', __( 'PreMadeNiches New Blog Packages', 'genesis' ), array( $this, 'subscribe_box' ), $this->pagehook, 'main' ); } /** * Callback for ADS Settings Document Title meta box. * */ function adsinfo_box() { ?> <p><?php _e( 'Use PreMadeNiches custom boxes provided below to automatically replace ALL existing affiliate links and banners on this ready made blog.', 'genesis' ); ?></p> <p><span class="description"><?php _e( 'If you want to use this theme on a new or another site you own and want to have total control in managing your own affiliate links (ex. adding more banners, adding more adsense blocks), use the Widgets area.', 'genesis' ); ?></span></p> <hr class="div" /> <p> <input type="checkbox" name="<?php echo $this->get_field_name( 'top_navbar_show' ); ?>" id="<?php echo $this->get_field_id( 'top_navbar_show' ); ?>" value="1"<?php checked( $this->get_field_value( 'top_navbar_show' ) ); ?> /> <label for="<?php echo $this->get_field_id( 'top_navbar_show' ); ?>"><?php _e( 'Enable the top navigation bar (contains date and RSS subscription links).', 'genesis' ); ?></label> </p> <?php } /** * Callback for ADS Settings Amazon meta box. * */ function amazon_box() { ?> <p> <label for="<?php echo $this->get_field_id( 'amazon_id' ); ?>"><?php _e( 'Enter your Amazon ID:', 'genesis' ); ?></label><br /> <input type="text" name="<?php echo $this->get_field_name( 'amazon_id' ); ?>" id="<?php echo $this->get_field_id( 'amazon_id' ); ?>" value="<?php echo esc_attr( $this->get_field_value( 'amazon_id' ) ); ?>" size="50" /> </p> <p> <label for="<?php echo $this->get_field_id( 'amazon_keyword' ); ?>"><?php _e( 'Enter your Amazon Keyword:', 'genesis' ); ?></label><br /> <input type="text" name="<?php echo $this->get_field_name( 'amazon_keyword' ); ?>" id="<?php echo $this->get_field_id( 'amazon_keyword' ); ?>" value="<?php echo esc_attr( $this->get_field_value( 'amazon_keyword' ) ); ?>" size="50" /> </p> <p> <input type="checkbox" name="<?php echo $this->get_field_name( 'amazon_show_posts' ); ?>" id="<?php echo $this->get_field_id( 'amazon_show_posts' ); ?>" value="1"<?php checked( $this->get_field_value( 'amazon_show_posts' ) ); ?> /> <label for="<?php echo $this->get_field_id( 'amazon_show_posts' ); ?>"><?php _e( 'Enable Amazon Ads Below Posts?', 'genesis' ); ?></label> </p> <?php } /** * Callback for ADS Settings Document Head meta box. * */ function clickbank_box() { ?> <p> <label for="<?php echo $this->get_field_id( 'clickbank_id' ); ?>"><?php _e( 'Enter your Clickbank ID:', 'genesis' ); ?></label><br /> <input type="text" name="<?php echo $this->get_field_name( 'clickbank_id' ); ?>" id="<?php echo $this->get_field_id( 'clickbank_id' ); ?>" value="<?php echo esc_attr( $this->get_field_value( 'clickbank_id' ) ); ?>" size="50" /> </p> <p> <label for="<?php echo $this->get_field_id( 'clickbank_keyword' ); ?>"><?php _e( 'Enter your Clickbank Keyword:', 'genesis' ); ?></label><br /> <input type="text" name="<?php echo $this->get_field_name( 'clickbank_keyword' ); ?>" id="<?php echo $this->get_field_id( 'clickbank_keyword' ); ?>" value="<?php echo esc_attr( $this->get_field_value( 'clickbank_keyword' ) ); ?>" size="50" /> </p> <p> <input type="checkbox" name="<?php echo $this->get_field_name( 'clickbank_show_sidebar' ); ?>" id="<?php echo $this->get_field_id( 'clickbank_show_sidebar' ); ?>" value="1"<?php checked( $this->get_field_value( 'clickbank_show_sidebar' ) ); ?> /> <label for="<?php echo $this->get_field_id( 'clickbank_show_sidebar' ); ?>"><?php _e( 'Enable Clickbank ads on top sidebar?', 'genesis' ); ?></label> </p> <?php } /** * Callback for ADS Settings adsense meta box. * */ function adsense_box() { ?> <p> <label for="<?php echo $this->get_field_id( 'adsense_300' ); ?>"><?php _e( 'Enter Adsense code #1: (300 x 250 for Top Sidebar)', 'genesis' ); ?></label><br /> <textarea name="<?php echo $this->get_field_name( 'adsense_300' ); ?>" id="<?php echo $this->get_field_id( 'adsense_300' ); ?>" cols="78" rows="8"><?php echo esc_textarea( $this->get_field_value( 'adsense_300' ) ); ?></textarea> </p> <p> <input type="checkbox" name="<?php echo $this->get_field_name( 'adsense_300_show' ); ?>" id="<?php echo $this->get_field_id( 'adsense_300_show' ); ?>" value="1"<?php checked( $this->get_field_value( 'adsense_300_show' ) ); ?> /> <label for="<?php echo $this->get_field_id( 'adsense_300_show' ); ?>"><?php _e( 'Enable this Adsense block (appears on posts only).', 'genesis' ); ?></label><br /> <input type="checkbox" name="<?php echo $this->get_field_name( 'adsense_300_show_home' ); ?>" id="<?php echo $this->get_field_id( 'adsense_300_show_home' ); ?>" value="1"<?php checked( $this->get_field_value( 'adsense_300_show_home' ) ); ?> /> <label for="<?php echo $this->get_field_id( 'adsense_300_show_home' ); ?>"><?php _e( 'Enable this Adsense block to appear on home page.', 'genesis' ); ?></label><br /> </p> <hr class="div" /> <p> <label for="<?php echo $this->get_field_id( 'adsense_468' ); ?>"><?php _e( 'Enter Adsense code #2:', 'genesis' ); ?></label><br /> <textarea name="<?php echo $this->get_field_name( 'adsense_468' ); ?>" id="<?php echo $this->get_field_id( 'adsense_468' ); ?>" cols="78" rows="8"><?php echo esc_textarea( $this->get_field_value( 'adsense_468' ) ); ?></textarea><br /> <input type="checkbox" name="<?php echo $this->get_field_name( 'adsense_468_show' ); ?>" id="<?php echo $this->get_field_id( 'adsense_468_show' ); ?>" value="1"<?php checked( $this->get_field_value( 'adsense_468_show' ) ); ?> /> <label for="<?php echo $this->get_field_id( 'adsense_468_show' ); ?>"><?php _e( 'Enable this Adsense block above posts (below post title).', 'genesis' ); ?></label> </p> <hr class="div" /> <p> <label for="<?php echo $this->get_field_id( 'adsense_336' ); ?>"><?php _e( 'Enter Adsense code #3:', 'genesis' ); ?></label><br /> <textarea name="<?php echo $this->get_field_name( 'adsense_336' ); ?>" id="<?php echo $this->get_field_id( 'adsense_336' ); ?>" cols="78" rows="8"><?php echo esc_textarea( $this->get_field_value( 'adsense_336' ) ); ?></textarea><br /> <input type="checkbox" name="<?php echo $this->get_field_name( 'adsense_336_show' ); ?>" id="<?php echo $this->get_field_id( 'adsense_336_show' ); ?>" value="1"<?php checked( $this->get_field_value( 'adsense_336_show' ) ); ?> /> <label for="<?php echo $this->get_field_id( 'adsense_336_show' ); ?>"><?php _e( 'Enable this Adsense block below posts.', 'genesis' ); ?></label> </p> <?php } /** * Callback for ADS Settings adsense meta box. * */ function archivead_box() { ?> <p> <label for="<?php echo $this->get_field_id( 'adsense_archive' ); ?>"><?php _e( 'Enter ad code (Adsense code or other affiliate ad codes):', 'genesis' ); ?></label><br /> <textarea name="<?php echo $this->get_field_name( 'adsense_archive' ); ?>" id="<?php echo $this->get_field_id( 'adsense_archive' ); ?>" cols="78" rows="8"><?php echo esc_textarea( $this->get_field_value( 'adsense_archive' ) ); ?></textarea> </p> <p> <input type="checkbox" name="<?php echo $this->get_field_name( 'adsense_archive_show' ); ?>" id="<?php echo $this->get_field_id( 'adsense_archive_show' ); ?>" value="1"<?php checked( $this->get_field_value( 'adsense_archive_show' ) ); ?> /> <label for="<?php echo $this->get_field_id( 'adsense_archive_show' ); ?>"><?php _e( 'Enable this Ad block.', 'genesis' ); ?></label><br /> <input type="checkbox" name="<?php echo $this->get_field_name( 'adsense_archive_show_below' ); ?>" id="<?php echo $this->get_field_id( 'adsense_archive_show_below' ); ?>" value="1"<?php checked( $this->get_field_value( 'adsense_archive_show_below' ) ); ?> /> <label for="<?php echo $this->get_field_id( 'adsense_archive_show_below' ); ?>"><?php _e( 'Enable this Ad block below archive page.', 'genesis' ); ?></label> </p> <?php } /** * Callback for Banner ads insructions meta box. * */ function bannerins_box() { ?> <p><?php _e( 'Use below boxes to replace existing banner affiliate links to your own affiliate link.', 'genesis' ); ?></p> <p>Please open <a href='admin.php?page=genesis-readme' target='_blank'>README page</a> for instructions on how to get your own affiliate link.</p> <?php } /** * Callback for ADS Settings Header Banner meta box. * */ function headbanner_box() { ?> <p> <label for="<?php echo $this->get_field_id( 'ad_top_url' ); ?>"><?php _e( 'Enter Your Own Affiliate Link:', 'genesis' ); ?></label><br /> <input type="text" name="<?php echo $this->get_field_name( 'ad_top_url' ); ?>" id="<?php echo $this->get_field_id( 'ad_top_url' ); ?>" value="<?php echo esc_attr( $this->get_field_value( 'ad_top_url' ) ); ?>" size="78" /> </p> <p> <label for="<?php echo $this->get_field_id( 'ad_top_alt_tag' ); ?>"><?php _e( 'Alt Tag:', 'genesis' ); ?></label><br /> <input type="text" name="<?php echo $this->get_field_name( 'ad_top_alt_tag' ); ?>" id="<?php echo $this->get_field_id( 'ad_top_alt_tag' ); ?>" value="<?php echo esc_attr( $this->get_field_value( 'ad_top_alt_tag' ) ); ?>" size="78" /> </p> <p> <label for="<?php echo $this->get_field_id( 'ad_top_image' ); ?>"><?php _e( 'Banner URL:', 'genesis' ); ?></label><br /> <input type="text" name="<?php echo $this->get_field_name( 'ad_top_image' ); ?>" id="<?php echo $this->get_field_id( 'ad_top_image' ); ?>" value="<?php echo esc_attr( $this->get_field_value( 'ad_top_image' ) ); ?>" size="78" /> </p> <p> <span class="description"><?php _e( 'To disable header ads, go to the Widgets area and delete the Ad Code Widget inside Header Right Box', 'genesis' ); ?></span> </p> <?php } /** * Callback for ADS Settings Affiliate Link #1 meta box. * */ function bannerad1_box() { ?> <p> <label for="<?php echo $this->get_field_id( 'aff1_link' ); ?>"><?php _e( 'Enter Your Own Affiliate Link:', 'genesis' ); ?></label><br /> <input type="text" name="<?php echo $this->get_field_name( 'aff1_link' ); ?>" id="<?php echo $this->get_field_id( 'aff1_link' ); ?>" value="<?php echo esc_attr( $this->get_field_value( 'aff1_link' ) ); ?>" size="78" /> </p> <p> <label for="<?php echo $this->get_field_id( 'aff1_title_tag' ); ?>"><?php _e( 'Alt Tag:', 'genesis' ); ?></label><br /> <input type="text" name="<?php echo $this->get_field_name( 'aff1_title_tag' ); ?>" id="<?php echo $this->get_field_id( 'aff1_title_tag' ); ?>" value="<?php echo esc_attr( $this->get_field_value( 'aff1_title_tag' ) ); ?>" size="78" /> </p> <p> <label for="<?php echo $this->get_field_id( 'aff1_banner_url_1' ); ?>"><?php _e( 'Banner URL 1:', 'genesis' ); ?></label><br /> <input type="text" name="<?php echo $this->get_field_name( 'aff1_banner_url_1' ); ?>" id="<?php echo $this->get_field_id( 'aff1_banner_url_1' ); ?>" value="<?php echo esc_attr( $this->get_field_value( 'aff1_banner_url_1' ) ); ?>" size="78" /> </p> <p> <label for="<?php echo $this->get_field_id( 'aff1_banner_url_2' ); ?>"><?php _e( 'Banner URL 2:', 'genesis' ); ?></label><br /> <input type="text" name="<?php echo $this->get_field_name( 'aff1_banner_url_2' ); ?>" id="<?php echo $this->get_field_id( 'aff1_banner_url_2' ); ?>" value="<?php echo esc_attr( $this->get_field_value( 'aff1_banner_url_2' ) ); ?>" size="78" /> </p> <p> <label for="<?php echo $this->get_field_id( 'aff1_banner_url_3' ); ?>"><?php _e( 'Banner URL 3:', 'genesis' ); ?></label><br /> <input type="text" name="<?php echo $this->get_field_name( 'aff1_banner_url_3' ); ?>" id="<?php echo $this->get_field_id( 'aff1_banner_url_3' ); ?>" value="<?php echo esc_attr( $this->get_field_value( 'aff1_banner_url_3' ) ); ?>" size="78" /> </p> <?php } /** * Callback for ADS Settings Affiliate Link #2 meta box. * */ function bannerad2_box() { ?> <p> <label for="<?php echo $this->get_field_id( 'aff2_link' ); ?>"><?php _e( 'Enter Your Own Affiliate Link:', 'genesis' ); ?></label><br /> <input type="text" name="<?php echo $this->get_field_name( 'aff2_link' ); ?>" id="<?php echo $this->get_field_id( 'aff2_link' ); ?>" value="<?php echo esc_attr( $this->get_field_value( 'aff2_link' ) ); ?>" size="78" /> </p> <p> <label for="<?php echo $this->get_field_id( 'aff2_title_tag' ); ?>"><?php _e( 'Alt Tag:', 'genesis' ); ?></label><br /> <input type="text" name="<?php echo $this->get_field_name( 'aff2_title_tag' ); ?>" id="<?php echo $this->get_field_id( 'aff2_title_tag' ); ?>" value="<?php echo esc_attr( $this->get_field_value( 'aff2_title_tag' ) ); ?>" size="78" /> </p> <p> <label for="<?php echo $this->get_field_id( 'aff2_banner_url_1' ); ?>"><?php _e( 'Banner URL 1:', 'genesis' ); ?></label><br /> <input type="text" name="<?php echo $this->get_field_name( 'aff2_banner_url_1' ); ?>" id="<?php echo $this->get_field_id( 'aff2_banner_url_1' ); ?>" value="<?php echo esc_attr( $this->get_field_value( 'aff2_banner_url_1' ) ); ?>" size="78" /> </p> <p> <label for="<?php echo $this->get_field_id( 'aff2_banner_url_2' ); ?>"><?php _e( 'Banner URL 2:', 'genesis' ); ?></label><br /> <input type="text" name="<?php echo $this->get_field_name( 'aff2_banner_url_2' ); ?>" id="<?php echo $this->get_field_id( 'aff2_banner_url_2' ); ?>" value="<?php echo esc_attr( $this->get_field_value( 'aff2_banner_url_2' ) ); ?>" size="78" /> </p> <p> <label for="<?php echo $this->get_field_id( 'aff2_banner_url_3' ); ?>"><?php _e( 'Banner URL 3:', 'genesis' ); ?></label><br /> <input type="text" name="<?php echo $this->get_field_name( 'aff2_banner_url_3' ); ?>" id="<?php echo $this->get_field_id( 'aff2_banner_url_3' ); ?>" value="<?php echo esc_attr( $this->get_field_value( 'aff2_banner_url_3' ) ); ?>" size="78" /> </p> <?php } /** * Callback for ADS Settings Affiliate Link #3 meta box. * */ function bannerad3_box() { ?> <p> <label for="<?php echo $this->get_field_id( 'aff3_link' ); ?>"><?php _e( 'Enter Your Own Affiliate Link:', 'genesis' ); ?></label><br /> <input type="text" name="<?php echo $this->get_field_name( 'aff3_link' ); ?>" id="<?php echo $this->get_field_id( 'aff3_link' ); ?>" value="<?php echo esc_attr( $this->get_field_value( 'aff3_link' ) ); ?>" size="78" /> </p> <p> <label for="<?php echo $this->get_field_id( 'aff3_title_tag' ); ?>"><?php _e( 'Alt Tag:', 'genesis' ); ?></label><br /> <input type="text" name="<?php echo $this->get_field_name( 'aff3_title_tag' ); ?>" id="<?php echo $this->get_field_id( 'aff3_title_tag' ); ?>" value="<?php echo esc_attr( $this->get_field_value( 'aff3_title_tag' ) ); ?>" size="78" /> </p> <p> <label for="<?php echo $this->get_field_id( 'aff3_banner_url_1' ); ?>"><?php _e( 'Banner URL 1:', 'genesis' ); ?></label><br /> <input type="text" name="<?php echo $this->get_field_name( 'aff3_banner_url_1' ); ?>" id="<?php echo $this->get_field_id( 'aff3_banner_url_1' ); ?>" value="<?php echo esc_attr( $this->get_field_value( 'aff3_banner_url_1' ) ); ?>" size="78" /> </p> <p> <label for="<?php echo $this->get_field_id( 'aff3_banner_url_2' ); ?>"><?php _e( 'Banner URL 2:', 'genesis' ); ?></label><br /> <input type="text" name="<?php echo $this->get_field_name( 'aff3_banner_url_2' ); ?>" id="<?php echo $this->get_field_id( 'aff3_banner_url_2' ); ?>" value="<?php echo esc_attr( $this->get_field_value( 'aff3_banner_url_2' ) ); ?>" size="78" /> </p> <p> <label for="<?php echo $this->get_field_id( 'aff3_banner_url_3' ); ?>"><?php _e( 'Banner URL 3:', 'genesis' ); ?></label><br /> <input type="text" name="<?php echo $this->get_field_name( 'aff3_banner_url_3' ); ?>" id="<?php echo $this->get_field_id( 'aff3_banner_url_3' ); ?>" value="<?php echo esc_attr( $this->get_field_value( 'aff3_banner_url_3' ) ); ?>" size="78" /> </p> <?php } /** * Callback for ADS Settings Affiliate Link #4 meta box. * */ function bannerad4_box() { ?> <p> <label for="<?php echo $this->get_field_id( 'aff4_link' ); ?>"><?php _e( 'Enter Your Own Affiliate Link:', 'genesis' ); ?></label><br /> <input type="text" name="<?php echo $this->get_field_name( 'aff4_link' ); ?>" id="<?php echo $this->get_field_id( 'aff4_link' ); ?>" value="<?php echo esc_attr( $this->get_field_value( 'aff4_link' ) ); ?>" size="78" /> </p> <p> <label for="<?php echo $this->get_field_id( 'aff4_title_tag' ); ?>"><?php _e( 'Alt Tag:', 'genesis' ); ?></label><br /> <input type="text" name="<?php echo $this->get_field_name( 'aff4_title_tag' ); ?>" id="<?php echo $this->get_field_id( 'aff4_title_tag' ); ?>" value="<?php echo esc_attr( $this->get_field_value( 'aff4_title_tag' ) ); ?>" size="78" /> </p> <p> <label for="<?php echo $this->get_field_id( 'aff4_banner_url_1' ); ?>"><?php _e( 'Banner URL 1:', 'genesis' ); ?></label><br /> <input type="text" name="<?php echo $this->get_field_name( 'aff4_banner_url_1' ); ?>" id="<?php echo $this->get_field_id( 'aff4_banner_url_1' ); ?>" value="<?php echo esc_attr( $this->get_field_value( 'aff4_banner_url_1' ) ); ?>" size="78" /> </p> <p> <label for="<?php echo $this->get_field_id( 'aff4_banner_url_2' ); ?>"><?php _e( 'Banner URL 2:', 'genesis' ); ?></label><br /> <input type="text" name="<?php echo $this->get_field_name( 'aff4_banner_url_2' ); ?>" id="<?php echo $this->get_field_id( 'aff4_banner_url_2' ); ?>" value="<?php echo esc_attr( $this->get_field_value( 'aff4_banner_url_2' ) ); ?>" size="78" /> </p> <p> <label for="<?php echo $this->get_field_id( 'aff4_banner_url_3' ); ?>"><?php _e( 'Banner URL 3:', 'genesis' ); ?></label><br /> <input type="text" name="<?php echo $this->get_field_name( 'aff4_banner_url_3' ); ?>" id="<?php echo $this->get_field_id( 'aff4_banner_url_3' ); ?>" value="<?php echo esc_attr( $this->get_field_value( 'aff4_banner_url_3' ) ); ?>" size="78" /> </p> <?php } /** * Callback for ADS Settings Subscription Box. * */ function subscribe_box() { ?> <p><?php _e( 'Do you want to get notified when a new blog package is published? <a href="http://www.premadeniches.com/product-updates/" target="_blank">Subscribe now</a>!', 'genesis' ); ?></p> <div id="genesis_update_notification_setting"> <p><label for=<a href="http://www.premadeniches.com/feed/" target="_blank"><img style="vertical-align:middle;margin:0px 3px 3px 0px;" src="<?php bloginfo('template_url'); ?>/images/rss.png"/></a><a href="http://www.premadeniches.com/feed/" target="_blank">Subscribe to RSS</a><a target="_blank" href="http://www.premadeniches.com/product-updates/"></a> <a href="http://www.premadeniches.com/product-updates/" target="_blank"><img style="vertical-align:middle;margin:0px 3px 3px 0px;" src="<?php bloginfo('template_url'); ?>/images/rss.png"/></a></a><a target="_blank" href="http://www.premadeniches.com/product-updates/">Subscribe via Email</a></label></p> </div> <?php } }