| 1 |
<?php |
| 2 |
/** |
| 3 |
* Template file for admin import events form. |
| 4 |
* |
| 5 |
* @package Import_Facebook_Events |
| 6 |
*/ |
| 7 |
|
| 8 |
// If this file is called directly, abort. |
| 9 |
if ( ! defined( 'ABSPATH' ) ) { |
| 10 |
exit; |
| 11 |
} |
| 12 |
|
| 13 |
global $ife_events; |
| 14 |
$counts = $ife_events->common->ife_get_facebook_events_counts(); |
| 15 |
|
| 16 |
?> |
| 17 |
<div class="ife-container" style="margin-top: 60px;"> |
| 18 |
<div class="ife-wrap" > |
| 19 |
<div id="poststuff"> |
| 20 |
<div id="post-body" class="metabox-holder columns-2"> |
| 21 |
<?php |
| 22 |
do_action( 'ife_display_all_notice' ); |
| 23 |
?> |
| 24 |
<div class="delete_notice"></div> |
| 25 |
<div id="postbox-container-2" class="postbox-container"> |
| 26 |
<div class="ife-app"> |
| 27 |
<div class="ife-card" style="margin-top:20px;" > |
| 28 |
<div class="ife-content" aria-expanded="true" > |
| 29 |
<div id="ife-dashboard" class="wrap about-wrap" > |
| 30 |
<div class="ife-w-row" > |
| 31 |
<div class="ife-intro-section" > |
| 32 |
<div class="ife-w-box-content ife-intro-section-welcome" > |
| 33 |
<h3><?php esc_attr_e( 'Getting started with Import Facebook Events', 'import-facebook-events' ); ?></h3> |
| 34 |
<p style="margin-bottom: 25px;"><?php esc_attr_e( 'In this video, you can learn how to Import Facebook event into your website. Please watch this 5 minutes video to the end.', 'import-facebook-events' ); ?></p> |
| 35 |
</div> |
| 36 |
<div class="ife-w-box-content ife-intro-section-ifarme" > |
| 37 |
<iframe width="850" height="450" src="https://www.youtube.com/embed/OtiUJlZ4R4E?si=QO0qStRnwyscKBzX" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen=""></iframe> |
| 38 |
</div> |
| 39 |
<div class="ife-intro-section-links wp-core-ui" > |
| 40 |
<a class="ife-intro-section-link-tag button ife-button-primary button-hero" href="<?php echo esc_url( admin_url( 'post-new.php?post_type=facebook_events' ) ); ?>" target="_blank"><?php esc_attr_e( 'Add New Event', 'import-facebook-events' ); ?></a> |
| 41 |
<a class="ife-intro-section-link-tag button ife-button-secondary button-hero" href="<?php echo esc_url( admin_url( 'admin.php?page=facebook_import&tab=settings' ) ); ?>"target="_blank"><?php esc_attr_e( 'Settings', 'import-facebook-events' ); ?></a> |
| 42 |
<a class="ife-intro-section-link-tag button ife-button-secondary button-hero" href="https://docs.xylusthemes.com/docs/import-facebook-events/" target="_blank"><?php esc_attr_e( 'Documentation', 'import-facebook-events' ); ?></a> |
| 43 |
</div> |
| 44 |
</div> |
| 45 |
|
| 46 |
<div class="ife-counter-main-container" > |
| 47 |
<div class="ife-col-sm-3" > |
| 48 |
<div class="ife-w-box " > |
| 49 |
<p class="ife_dash_count"><?php echo $counts['all']; ?></p> |
| 50 |
<span><strong><?php esc_attr_e( 'Total Events', 'import-facebook-events' ); ?></strong></span> |
| 51 |
</div> |
| 52 |
</div> |
| 53 |
<div class="ife-col-sm-3" > |
| 54 |
<div class="ife-w-box " > |
| 55 |
<p class="ife_dash_count"><?php echo $counts['upcoming']; ?></p> |
| 56 |
<span><strong><?php esc_attr_e( 'Upcoming Events', 'import-facebook-events' ); ?></strong></span> |
| 57 |
</div> |
| 58 |
</div> |
| 59 |
<div class="ife-col-sm-3" > |
| 60 |
<div class="ife-w-box " > |
| 61 |
<p class="ife_dash_count"><?php echo $counts['past']; ?></p> |
| 62 |
<span><strong><?php esc_attr_e( 'Past Events', 'import-facebook-events' ); ?></strong></span> |
| 63 |
</div> |
| 64 |
</div> |
| 65 |
<div class="ife-col-sm-3" > |
| 66 |
<div class="ife-w-box " > |
| 67 |
<p class="ife_dash_count"><?php echo IFE_VERSION; ?></p> |
| 68 |
<span><strong><?php esc_attr_e( 'Version', 'import-facebook-events' ); ?></strong></span> |
| 69 |
</div> |
| 70 |
</div> |
| 71 |
</div> |
| 72 |
</div> |
| 73 |
</div> |
| 74 |
</div> |
| 75 |
</div> |
| 76 |
</div> |
| 77 |
</div> |
| 78 |
</div> |
| 79 |
<br class="clear"> |
| 80 |
</div> |
| 81 |
</div> |
| 82 |
</div> |
| 83 |
|