function event_espresso_display_right_column() { global $espresso_premium; ob_start(); ?> <div id="espresso_news_box_blog" class="postbox"> <div title="Click to toggle" class="handlediv"><br /> </div> <h3 class="hndle"> <?php _e('New @ Event Espresso', 'event_espresso'); ?> </h3> <div class="inside"> <div class="padding"> <div class="infolinks"> <?php echo '<h4 style="margin:0">' . __('From the Blog', 'event_espresso') . '</h4>'; $url = urlencode('http://eventespresso.com/feed/'); event_espresso_cached_rss_display('espresso_news_box_blog', $url); ?> </div> </div> </div> </div> <div id="submitdiv2" class="postbox " > <div title="Click to toggle" class="handlediv"><br /> </div> <h3 class="hndle"> <?php _e('Helpful Plugin Links', 'event_espresso'); ?> </h3> <div class="inside"> <div class="padding"> <ul class="infolinks"> <li> <?php echo '<a href="http://eventespresso.com/wiki/installation/" target="_blank">' . __('Installation', 'event_espresso') . '</a> & <a href="http://eventespresso.com/wiki/setting-up-event-espresso/" target="_blank">' . __('Usage Guide') . '</a>'; ?> </li> <li><a href="http://eventespresso.com/wiki/put-custom-templates/" target="_blank"> <?php _e('Template Customization', 'event_espresso'); ?> </a></li> <li><a href="http://eventespresso.com/support/forums/" target="_blank"> <?php _e('Support Forums', 'event_espresso'); ?> </a></li> <li><a href="http://eventespresso.com/wiki/change-log/" target="_blank"> <?php _e('Changelog', 'event_espresso'); ?> </a></li> <li><a href="http://eventespresso.com/about/" target="_blank"> <?php _e('Meet the Team', 'event_espresso'); ?> </a></li> <li><a href="http://eventespresso.com/rich-features/sponsor-new-features/" target="_blank"> <?php _e('Sponsor New Features!', 'event_espresso'); ?> </a></li> <li> <?php echo '<a href="http://eventespresso.com/pricing/" target="_blank">' . __('Plugins', 'event_espresso') . '</a> & <a href="http://eventespresso.com/add-ons/" target="_blank">' . __('Addons', 'event_espresso') . '</a>'; ?> <br /> <br /> <ol> <li><a href="http://eventespresso.com/product/espresso-ticketing/" target="_blank">Ticket Scanning</a></li> <li><a href="http://eventespresso.com/product/espresso-multiple/" target="_blank">Multiple Event Registration</a></li> <li><a href="http://eventespresso.com/product/espresso-recurring/" target="_blank">Recurring Events</a></li> <li><a href="http://eventespresso.com/product/espresso-members/" target="_blank">WP User Integration</a></li> <li><a href="http://eventespresso.com/product/espresso-seating/" target="_blank">Seating Chart</a></li> </ol> </li> </ul> </div> </div> </div> <?php global $espresso_premium; if ($espresso_premium != true) { ?> <div id="submitdiv2" class="postbox " > <h3> <?php _e('Sponsors', 'event_espresso'); ?> </h3> <div class="inside"> <div class="padding"> <?php $event_regis_sponsors = wp_remote_retrieve_body(wp_remote_get('http://ee-updates.s3.amazonaws.com/plugin-sponsors.html')); echo $event_regis_sponsors; ?> </div> </div> </div> <?php } return ob_get_clean(); }
function event_espresso_display_right_column() { global $espresso_premium; ob_start(); ?> <div id="espresso_news_box_blog" class="postbox"> <div title="Click to toggle" class="handlediv"><br /> </div> <h3 class="hndle"> <?php _e('New @ Event Espresso', 'event_espresso'); ?> </h3> <div class="inside"> <div class="padding"> <div class="infolinks"> <?php echo '<h4 style="margin:0">' . __('From the Blog', 'event_espresso') . '</h4>'; $url = urlencode('http://eventespresso.com/feed/'); event_espresso_cached_rss_display('espresso_news_box_blog', $url); ?> </div> </div> </div> </div> <div id="submitdiv2" class="postbox " > <div title="Click to toggle" class="handlediv"><br /> </div> <h3 class="hndle"> <?php _e('Helpful Plugin Links', 'event_espresso'); ?> </h3> <div class="inside"> <div class="padding"> <ul class="infolinks"> <li> <?php echo '<a href="http://eventespresso.com/support/documentation/#getting-started?utm_source=ee_plugin_admin&utm_medium=link&utm_content=Helpful+Plugin+Links+-+Installation&utm_campaign=plugin_sidebar" target="_blank">' . __('Getting Started', 'event_espresso') . '</a>'; ?> </li> <li><a href="http://eventespresso.com/wiki/put-custom-templates/?utm_source=ee_plugin_admin&utm_medium=link&utm_content=Helpful+Plugin+Links+-+Template+Customization<?php echo '+ee_version_' . EVENT_ESPRESSO_VERSION; ?> &utm_campaign=admin_sidebar" target="_blank"> <?php _e('Template Customization', 'event_espresso'); ?> </a></li> <li><a href="http://eventespresso.com/support/forums/?utm_source=ee_plugin_admin&utm_medium=link&utm_content=Helpful+Plugin+Links+-+Support+Forums<?php echo '+ee_version_' . EVENT_ESPRESSO_VERSION; ?> &utm_campaign=admin_sidebar" target="_blank"> <?php _e('Support Forums', 'event_espresso'); ?> </a></li> <li><a href="http://eventespresso.com/wiki/change-log/?utm_source=ee_plugin_admin&utm_medium=link&utm_content=Helpful+Plugin+Links+-+Changelog<?php echo '+ee_version_' . EVENT_ESPRESSO_VERSION; ?> &utm_campaign=admin_sidebar" target="_blank"> <?php _e('Changelog', 'event_espresso'); ?> </a></li> <li><a href="http://eventespresso.com/about/?utm_source=ee_plugin_admin&utm_medium=link&utm_content=Helpful+Plugin+Links+-+Meet+the+Team<?php echo '+ee_version_' . EVENT_ESPRESSO_VERSION; ?> &utm_campaign=admin_sidebar" target="_blank"> <?php _e('Meet the Team', 'event_espresso'); ?> </a></li> <li><a href="http://eventespresso.com/rich-features/sponsor-new-features/?utm_source=ee_plugin_admin&utm_medium=link&utm_content=Helpful+Plugin+Links+-+Sponsor+New+Features<?php echo '+ee_version_' . EVENT_ESPRESSO_VERSION; ?> &utm_campaign=admin_sidebar" target="_blank"> <?php _e('Sponsor New Features!', 'event_espresso'); ?> </a></li> <li> <?php echo '<a href="http://eventespresso.com/pricing/?utm_source=ee_plugin_admin&utm_medium=link&utm_content=Helpful+Plugin+Links+-+Plugins&utm_campaign=admin_sidebar" target="_blank">' . __('Plugins', 'event_espresso') . '</a> & <a href="http://eventespresso.com/add-ons/?utm_source=ee_plugin_admin&utm_medium=link&utm_content=Helpful+Plugin+Links+-+Addons+ee_version_' . EVENT_ESPRESSO_VERSION . '&utm_campaign=admin_sidebar" target="_blank">' . __('Addons', 'event_espresso') . '</a>'; ?> <br /> <br /> <ol> <li><a href="http://eventespresso.com/product/espresso-json-api/?utm_source=ee_plugin_admin&utm_medium=link&utm_content=Helpful+Plugin+Links+-+JSON+API<?php echo '+ee_version_' . EVENT_ESPRESSO_VERSION; ?> &utm_campaign=admin_sidebar" target="_blank">JSON API</a></li> <li><a href="http://eventespresso.com/product/espresso-ticketing/?utm_source=ee_plugin_admin&utm_medium=link&utm_content=Helpful+Plugin+Links+-+Ticket+Scanning<?php echo '+ee_version_' . EVENT_ESPRESSO_VERSION; ?> &utm_campaign=admin_sidebar" target="_blank">Ticket Scanning</a></li> <li><a href="http://eventespresso.com/product/espresso-multiple/?utm_source=ee_plugin_admin&utm_medium=link&utm_content=Helpful+Plugin+Links+-+Multiple+Event+Registration<?php echo '+ee_version_' . EVENT_ESPRESSO_VERSION; ?> &utm_campaign=admin_sidebar" target="_blank">Multiple Event Registration</a></li> <li><a href="http://eventespresso.com/product/espresso-recurring/?utm_source=ee_plugin_admin&utm_medium=link&utm_content=Helpful+Plugin+Links+-+Recurring+Events<?php echo '+ee_version_' . EVENT_ESPRESSO_VERSION; ?> &utm_campaign=admin_sidebar" target="_blank">Recurring Events</a></li> <li><a href="http://eventespresso.com/product/espresso-members/?utm_source=ee_plugin_admin&utm_medium=link&utm_content=Helpful+Plugin+Links+-+WP+User+Integration<?php echo '+ee_version_' . EVENT_ESPRESSO_VERSION; ?> &utm_campaign=admin_sidebar" target="_blank">WP User Integration</a></li> <li><a href="http://eventespresso.com/product/espresso-seating/?utm_source=ee_plugin_admin&utm_medium=link&utm_content=Helpful+Plugin+Links+-+Seating+Chart<?php echo '+ee_version_' . EVENT_ESPRESSO_VERSION; ?> &utm_campaign=admin_sidebar" target="_blank">Seating Chart</a></li> </ol> </li> </ul> </div> </div> </div> <?php global $espresso_premium; if ($espresso_premium != true) { ?> <div id="submitdiv2" class="postbox " > <h3> <?php _e('Upgrade to Pro', 'event_espresso'); ?> </h3> <div class="inside"> <div class="padding"> <h4>Need more features?</h4> <p>Get access to over 30 <a href="http://eventespresso.com/features/?utm_source=ee_plugin_admin&utm_medium=link&utm_content=additional+features<?php echo '+ee_version_' . EVENT_ESPRESSO_VERSION; ?> &utm_campaign=admin_sidebar_upgrade_to_pro" target="_blank">additional features</a>, and a wide range of <a href="http://eventespresso.com/add-ons/?utm_source=ee_plugin_admin&utm_medium=link&utm_content=additional+add-ons<?php echo '+ee_version_' . EVENT_ESPRESSO_VERSION; ?> &utm_campaign=admin_sidebar_upgrade_to_pro" target="_blank">additional add-ons</a>.</p> <p><strong><a href="http://eventespresso.com/pricing/?utm_source=ee_plugin_admin&utm_medium=link&utm_content=Support+Licenses<?php echo '+ee_version_' . EVENT_ESPRESSO_VERSION; ?> &utm_campaign=admin_sidebar_upgrade_to_pro" target="_blank">Support licenses</a></strong> starting at only $89.95.</p> <p align="center"><a href="http://eventespresso.com/pricing/?utm_source=ee_plugin_admin&utm_medium=link&utm_content=Buy+Now+Button<?php echo '+ee_version_' . EVENT_ESPRESSO_VERSION; ?> &utm_campaign=admin_sidebar_upgrade_to_pro" target="_blank"><img src="<?php echo EVENT_ESPRESSO_PLUGINFULLURL; ?> images/buy-now.jpg" width="147" height="74" /></a></p> <?php //$event_regis_sponsors = wp_remote_retrieve_body(wp_remote_get('http://ee-updates.s3.amazonaws.com/plugin-sponsors.html')); //echo $event_regis_sponsors; ?> </div> </div> </div> <?php } return ob_get_clean(); }