static function define_ads() { // HTML code for new ads should be added to this array as strings // The optimum size is 300 x 250px (set in fscf-styles-admin.css) $vcita = ' <a href="' . admin_url('plugins.php?page=si-contact-form/si-contact-form.php&fscf_form=' . self::$current_form) . '&fscf_tab=7"> <img src="' . plugins_url('si-contact-form/includes/images/vcita_banner.jpg') . '" class="fscf_centered" /></a> '; $sharasale1 = ' <a href="http://www.shareasale.com/r.cfm?b=415758&u=861636&m=41388&urllink=&afftrack=" target="_blank"> <img src="' . plugins_url('si-contact-form/includes/images/Feature-Fast-300x250.jpeg') . '" class="fscf_centered" /></a> '; $sharasale2 = ' <a href="http://www.shareasale.com/r.cfm?b=415758&u=861636&m=41388&urllink=&afftrack=" target="_blank"> <img src="' . plugins_url('si-contact-form/includes/images/WPE_Orange_300x250.jpg') . '" class="fscf_centered" /></a> '; $sharasale3 = ' <a href="http://www.shareasale.com/r.cfm?b=415758&u=861636&m=41388&urllink=&afftrack=" target="_blank"> <img src="' . plugins_url('si-contact-form/includes/images/WPE_New_300x250.jpg') . '" class="fscf_centered" /></a> '; $hostgator = ' ' . sprintf(__('"I recommend <a href="%s" target="_blank">HostGator Web Hosting</a>. All my sites are hosted there. The prices are great and they offer compatibility for WordPress. If you click this link and start an account at HostGator, I get a small commission." - Mike Challis', 'si-contact-form'), 'http://secure.hostgator.com/~affiliat/cgi-bin/affiliates/clickthru.cgi?id=mchallis-fscwp&page=http://www.hostgator.com/apps/wordpress-hosting.shtml') . ' <a href="http://secure.hostgator.com/~affiliat/cgi-bin/affiliates/clickthru.cgi?id=mchallis-fscwp&page=http://www.hostgator.com/apps/wordpress-hosting.shtml" target="_blank"><img title="' . esc_attr(__('Web Site Hosting', 'si-contact-form')) . '" alt="' . esc_attr(__('Web Site Hosting', 'si-contact-form')) . '" src="' . plugins_url('si-contact-form/includes/images/hostgator-blog.gif') . '" width="100" height="100" /></a> '; $show_vcita = 0; if (self::$form_options['vcita_scheduling_button'] != 'true') { $show_vcita = 1; } self::$ads = array(); if ($show_vcita) { self::$ads[] = $vcita; } self::$ads[] = $sharasale1; self::$ads[] = $hostgator; if ($show_vcita) { self::$ads[] = $vcita; } self::$ads[] = $sharasale2; self::$ads[] = $hostgator; if ($show_vcita) { self::$ads[] = $vcita; } self::$ads[] = $sharasale3; self::$ads[] = $hostgator; }