| 1 |
<?php |
| 2 |
// If this file is called directly, abort. |
| 3 |
if ( ! defined( 'ABSPATH' ) ) exit; |
| 4 |
global $ife_events; |
| 5 |
$open_source_support_url = 'https://wordpress.org/support/plugin/import-facebook-events/'; |
| 6 |
$support_url = 'https://xylusthemes.com/support/?utm_source=insideplugin&utm_medium=web&utm_content=sidebar&utm_campaign=freeplugin'; |
| 7 |
|
| 8 |
$review_url = 'https://wordpress.org/support/plugin/import-facebook-events/reviews/?rate=5#new-post'; |
| 9 |
$facebook_url = 'https://www.facebook.com/xylusinfo/'; |
| 10 |
$twitter_url = 'https://twitter.com/XylusThemes/'; |
| 11 |
|
| 12 |
?> |
| 13 |
<div class="wpea_container"> |
| 14 |
<div class="wpea_row"> |
| 15 |
<div class="wpea-column support_well"> |
| 16 |
<h3><?php esc_attr_e( 'Getting Support', 'import-facebook-events' ); ?></h3> |
| 17 |
<p><?php _e( 'Thanks you for using Import Facebook Events, We are sincerely appreciate your support and we’re excited to see you using our plugins.','import-facebook-events' ); ?> </p> |
| 18 |
<p><?php _e( 'Our support team is always around to help you.','import-facebook-events' ); ?></p> |
| 19 |
|
| 20 |
<p><strong><?php _e( 'Looking for free support?','import-facebook-events' ); ?></strong></p> |
| 21 |
<a class="button button-secondary" href="<?php echo $open_source_support_url; ?>" target="_blank" > |
| 22 |
<?php _e( 'Open-source forum on WordPress.org','import-facebook-events' ); ?> |
| 23 |
</a> |
| 24 |
|
| 25 |
<p><strong><?php _e( 'Looking for more immediate support?','import-facebook-events' ); ?></strong></p> |
| 26 |
<p><?php _e( 'We offer premium support on our website with the purchase of our premium plugins.','import-facebook-events' ); ?> |
| 27 |
</p> |
| 28 |
|
| 29 |
<a class="button button-primary" href="<?php echo $support_url; ?>" target="_blank" > |
| 30 |
<?php _e( 'Contact us directly (Premium Support)','import-facebook-events' ); ?> |
| 31 |
</a> |
| 32 |
|
| 33 |
<p><strong><?php _e( 'Enjoying Import Facebook Events or have feedback?','import-facebook-events' ); ?></strong></p> |
| 34 |
<a class="button button-secondary" href="<?php echo $review_url; ?>" target="_blank" >Leave us a review</a> |
| 35 |
<a class="button button-secondary" href="<?php echo $twitter_url; ?>" target="_blank" >Follow us on Twitter</a> |
| 36 |
<a class="button button-secondary" href="<?php echo $facebook_url; ?>" target="_blank" >Like us on Facebook</a> |
| 37 |
</div> |
| 38 |
|
| 39 |
<?php |
| 40 |
$plugins = array(); |
| 41 |
$plugin_list = $ife_events->admin->get_xyuls_themes_plugins(); |
| 42 |
if( !empty( $plugin_list ) ){ |
| 43 |
foreach ($plugin_list as $key => $value) { |
| 44 |
$plugins[] = $ife_events->admin->get_wporg_plugin( $key ); |
| 45 |
} |
| 46 |
} |
| 47 |
?> |
| 48 |
<div class="" style="margin-top: 20px;"> |
| 49 |
<h3 class="setting_bar"><?php _e( 'Plugins you should try','import-facebook-events' ); ?></h3> |
| 50 |
<?php |
| 51 |
if( !empty( $plugins ) ){ |
| 52 |
foreach ($plugins as $plugin ) { |
| 53 |
?> |
| 54 |
<div class="plugin_box"> |
| 55 |
<?php if( $plugin->banners['low'] != '' ){ ?> |
| 56 |
<img src="<?php echo $plugin->banners['low']; ?>" class="plugin_img" title="<?php echo $plugin->name; ?>"> |
| 57 |
<?php } ?> |
| 58 |
<div class="plugin_content"> |
| 59 |
<h3><?php echo $plugin->name; ?></h3> |
| 60 |
|
| 61 |
<?php wp_star_rating( array( |
| 62 |
'rating' => $plugin->rating, |
| 63 |
'type' => 'percent', |
| 64 |
'number' => $plugin->num_ratings, |
| 65 |
) );?> |
| 66 |
|
| 67 |
<?php if( $plugin->version != '' ){ ?> |
| 68 |
<p><strong><?php _e( 'Version:','import-facebook-events' ); ?> </strong><?php echo $plugin->version; ?></p> |
| 69 |
<?php } ?> |
| 70 |
|
| 71 |
<?php if( $plugin->requires != '' ){ ?> |
| 72 |
<p><strong><?php _e( 'Requires:','import-facebook-events' ); ?> </strong> <?php _e( 'WordPress ','import-facebook-events' ); echo $plugin->requires; ?>+</p> |
| 73 |
<?php } ?> |
| 74 |
|
| 75 |
<?php if( $plugin->active_installs != '' ){ ?> |
| 76 |
<p><strong><?php _e( 'Active Installs:','import-facebook-events' ); ?> </strong><?php echo $plugin->active_installs; ?>+</p> |
| 77 |
<?php } ?> |
| 78 |
|
| 79 |
<?php //print_r( $plugin ); ?> |
| 80 |
<a class="button button-secondary" href="<?php echo admin_url( 'plugin-install.php?tab=plugin-information&plugin='. $plugin->slug.'&TB_iframe=1&width=772&height=600'); ?>" target="_blank"> |
| 81 |
<?php _e( 'Install Now','import-facebook-events' ); ?> |
| 82 |
</a> |
| 83 |
<a class="button button-primary" href="<?php echo $plugin->homepage . '?utm_source=crosssell&utm_medium=web&utm_content=supportpage&utm_campaign=freeplugin'; ?>" target="_blank"> |
| 84 |
<?php _e( 'Buy Now','import-facebook-events' ); ?> |
| 85 |
</a> |
| 86 |
</div> |
| 87 |
</div> |
| 88 |
<?php |
| 89 |
} |
| 90 |
} |
| 91 |
?> |
| 92 |
<div style="clear: both;"> |
| 93 |
</div> |
| 94 |
</div> |
| 95 |
|
| 96 |
</div> |