PATH:
home
/
letacommog
/
entrepro
/
wp-content
/
themes
/
rehub
/
admin
/
screens
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?> <?php $rehub_theme = wp_get_theme(); if($rehub_theme->parent_theme) { $template_dir = basename(get_template_directory()); $rehub_theme = wp_get_theme($template_dir); } $rehub_version = $rehub_theme->get( 'Version' ); $rehub_options = get_option( 'Rehub_Key' ); $tf_username = isset( $rehub_options[ 'tf_username' ] ) ? $rehub_options[ 'tf_username' ] : ''; $tf_support_date = isset( $rehub_options[ 'tf_support_date' ] ) ? $rehub_options[ 'tf_support_date' ] : ''; $tf_purchase_code = isset( $rehub_options[ 'tf_purchase_code' ] ) ? $rehub_options[ 'tf_purchase_code' ] : ''; if( $tf_username !== "" && $tf_purchase_code !== "" ) { $registeredlicense = true; } elseif (defined('ENVATO_HOSTED_SITE') && ENVATO_HOSTED_SITE == true){ $registeredlicense = true; $tf_username = 'Envato Hosted'; $tf_purchase_code = 'Envato Hosted'; } else{ $registeredlicense = false; } $plugins = TGM_Plugin_Activation::$instance->plugins; $installed_plugins = get_plugins(); $theme_url = 'https://wpsoul.com/'; ?> <div class="wrap about-wrap rehub-wrap"> <h1><?php echo __( "Welcome to ReHub Theme!", "rehub_framework" ); ?></h1> <?php if( $registeredlicense == true ) :?> <div class="about-text"> <?php echo __( "Theme is registered on your site! ", "rehub_framework" ); ?> <?php if ($tf_support_date):?> <?php echo __( "You have support until: ", "rehub_framework" ); ?><?php $date = date_create($tf_support_date); echo date_format($date, 'Y-m-d');?> <a href="http://themeforest.net/item/rehub-directory-shop-coupon-affiliate-theme/7646339" target="_blank"><?php echo __( "(extend support)", "rehub_framework" ); ?></a><br /> <?php endif;?> <?php if ( ! function_exists( 'envato_market' ) ) :?> <?php echo __( "If you need automatic theme updates, install Envato Market plugin from ", "rehub_framework" ); ?> <a href="<?php echo admin_url( 'admin.php?page=rehub-plugins' );?>"><?php echo __( "Plugins Tab", "rehub_framework" ); ?></a> <?php endif;?> </div> <?php else :?> <div class="about-text"><?php echo __( "ReHub Theme is now installed and ready to use! Please register your purchase to get support, automatic theme updates, demo stacks, bonuses.", "rehub_framework" ); ?></div> <?php endif;?> <div class="rehub-logo"><span class="rehub-version"><?php _e( "Version", "rehub_framework"); ?> <?php echo esc_html($rehub_version); ?></span></div> <h2 class="nav-tab-wrapper"> <?php printf( '<a href="%s" class="nav-tab">%s</a>', admin_url( 'admin.php?page=rehub' ), __( "Registration", "rehub_framework" ) ); printf( '<a href="%s" class="nav-tab">%s</a>', admin_url( 'admin.php?page=rehub-support' ), __( "Support and tips", "rehub_framework" ) ); printf( '<a href="#" class="nav-tab nav-tab-active">%s</a>', __( "Plugins", "rehub_framework" ) ); printf( '<a href="%s" class="nav-tab">%s</a>', admin_url( 'admin.php?page=rehub-demos' ), __( "Demo stacks", "rehub_framework" ) ); ?> </h2> <div class="rehub-important-notice"> <p class="about-description"><?php echo __( "Rehub Theme has some bundled paid plugins which you can install from this page.", "rehub_framework");?> <br> <a href='http://rehubdocs.wpsoul.com/docs/rehub-theme/theme-install-update-translation/updating-theme-and-bundled-plugins/' target='_blank'><?php echo __( "Check how to update them.", "rehub_framework");?></a></p> </div> <div class="rehub-demo-themes rehub-install-plugins"> <div class="feature-section theme-browser rendered"> <?php foreach( $plugins as $plugin ): $class = ''; $plugin_status = ''; $file_path = $plugin['file_path']; $plugin_action = $this->plugin_link( $plugin ); if( rh_check_plugin_active( $file_path ) ) { $plugin_status = 'active'; $class = 'active'; } ?> <div class="theme <?php echo esc_attr($class); ?>"> <div class="theme-screenshot"> <img src="<?php echo esc_url($plugin['image_url']); ?>" alt="theme" /> <div class="plugin-info"> <?php echo esc_html($plugin['description']); ?><br /> <?php if( isset( $installed_plugins[$plugin['file_path']] ) ): ?> <?php printf('%s %s | <a href="%s" target="_blank">%s</a>', __( 'Version:', 'rehub_framework' ), $installed_plugins[$plugin['file_path']]['Version'], $installed_plugins[$plugin['file_path']]['AuthorURI'], $installed_plugins[$plugin['file_path']]['Author'] ); ?> <?php elseif ( $plugin['source_type'] == 'bundled' ) : ?> <?php printf('%s %s', __( 'Available Version:', 'rehub_framework' ), $plugin['version'] ); ?> <?php endif; ?> </div> </div> <h3 class="theme-name"> <?php if( $plugin_status == 'active' ) { printf( '<span>%s</span> ', __( 'Active:', 'rehub_framework' ) ); } echo esc_html($plugin['name']); ?> </h3> <div class="theme-actions"> <?php foreach( $plugin_action as $action ) { echo wp_kses_post($action); } ?> </div> <?php if( isset( $plugin_action['update'] ) && $plugin_action['update'] ): ?> <div class="theme-update">Update Available: Version <?php echo esc_html($plugin['version']); ?></div> <?php endif; ?> <?php if( $plugin['required'] ): ?> <div class="plugin-required"> <?php _e( 'Required', 'rehub_framework' ); ?> </div> <?php endif; ?> </div> <?php endforeach; ?> </div> <h2><?php echo __( "Bonus plugins", "rehub_framework");?></h2> <div class="feature-section theme-browser rendered"> <div class="theme"> <div class="theme-screenshot"> <img src="<?php echo get_template_directory_uri()?>/admin/screens/images/apf.jpg" alt="theme"> <div class="plugin-info">Woocommerce Product Filters</div> </div> <h3 class="theme-name">Advanced Product Filters</h3> <div class="theme-actions"> <?php if( $registeredlicense == true ) :?> <a href="<?php echo PLUGIN_REPO;?>packages/prdctfltr.zip" class="button button-primary" title="Get link">Download</a> <?php else :?> <?php printf( '<a href="%s" class="button button-primary">%s</a>', admin_url( 'admin.php?page=rehub' ), __( "Register theme to get link", "rehub_framework" ) ); ?> <?php endif;?> </div> </div> <div class="theme"> <div class="theme-screenshot"> <img src="<?php echo get_template_directory_uri()?>/admin/screens/images/revslider.jpg" alt="theme"> <div class="plugin-info">For super sliders</div> </div> <h3 class="theme-name">Revolution slider</h3> <div class="theme-actions"> <?php if( $registeredlicense == true ) :?> <a href="<?php echo PLUGIN_REPO;?>packages/revslider.zip" class="button button-primary" title="Get link">Download</a> <?php else :?> <?php printf( '<a href="%s" class="button button-primary">%s</a>', admin_url( 'admin.php?page=rehub' ), __( "Register theme to get link", "rehub_framework" ) ); ?> <?php endif;?> </div> </div> <div class="theme"> <div class="theme-screenshot"> <img src="<?php echo get_template_directory_uri()?>/admin/screens/images/rhfrontend.png" alt="theme"> <div class="plugin-info">For frontend posting</div> </div> <h3 class="theme-name">RH Frontend Posting</h3> <div class="theme-actions"> <?php if( $registeredlicense == true ) :?> <a href="<?php echo PLUGIN_REPO;?>packages/rh-frontend.zip" class="button button-primary" title="Get link">Download</a> <?php else :?> <?php printf( '<a href="%s" class="button button-primary">%s</a>', admin_url( 'admin.php?page=rehub' ), __( "Register theme to get link", "rehub_framework" ) ); ?> <?php endif;?> </div> </div> <div class="theme"> <div class="theme-screenshot"> <img src="<?php echo get_template_directory_uri()?>/admin/screens/images/rhbpm.jpg" alt="theme"> <div class="plugin-info">RH Buddypress Member </div> </div> <h3 class="theme-name">RH Buddypress Member Types</h3> <div class="theme-actions"> <?php if( $registeredlicense == true ) :?> <a href="<?php echo PLUGIN_REPO;?>packages/rh-bp-member-type.zip" class="button button-primary" title="Get link">Download</a> <?php else :?> <?php printf( '<a href="%s" class="button button-primary">%s</a>', admin_url( 'admin.php?page=rehub' ), __( "Register theme to get link", "rehub_framework" ) ); ?> <?php endif;?> </div> </div> <div class="theme"> <div class="theme-screenshot"> <img src="<?php echo get_template_directory_uri()?>/admin/screens/images/rhlinkhider.png" alt="theme"> <div class="plugin-info">For cloaking Post Offer link</div> </div> <h3 class="theme-name">RH Link Offer Cloaking</h3> <div class="theme-actions"> <?php if( $registeredlicense == true ) :?> <a href="<?php echo PLUGIN_REPO;?>packages/rh-cloak-affiliate-links.zip" class="button button-primary" title="Get link">Download</a> <?php else :?> <?php printf( '<a href="%s" class="button button-primary">%s</a>', admin_url( 'admin.php?page=rehub' ), __( "Register theme to get link", "rehub_framework" ) ); ?> <?php endif;?> </div> </div> <div class="theme"> <div class="theme-screenshot"> <img src="<?php echo get_template_directory_uri()?>/admin/screens/images/rhwootools.png" alt="theme"> <div class="plugin-info">For hidding products with same SKU</div> </div> <h3 class="theme-name">RH Woo Tools</h3> <div class="theme-actions"> <?php if( $registeredlicense == true ) :?> <a href="<?php echo PLUGIN_REPO;?>packages/rh-woo-tools.zip" class="button button-primary" title="Get link">Download</a> <?php else :?> <?php printf( '<a href="%s" class="button button-primary">%s</a>', admin_url( 'admin.php?page=rehub' ), __( "Register theme to get link", "rehub_framework" ) ); ?> <?php endif;?> </div> </div> <div class="theme"> <div class="theme-screenshot"> <img src="<?php echo get_template_directory_uri()?>/admin/screens/images/rhspecification.jpg" alt="theme"> <div class="plugin-info">For specification and post tab building </div> </div> <h3 class="theme-name">RH Specification Fields</h3> <div class="theme-actions"> <?php if( $registeredlicense == true ) :?> <a href="<?php echo PLUGIN_REPO;?>packages/specification-fields.zip" class="button button-primary" title="Get link">Download</a> <?php else :?> <?php printf( '<a href="%s" class="button button-primary">%s</a>', admin_url( 'admin.php?page=rehub' ), __( "Register theme to get link", "rehub_framework" ) ); ?> <?php endif;?> </div> </div> <div class="theme"> <div class="theme-screenshot"> <img src="<?php echo get_template_directory_uri()?>/admin/screens/images/wpaipost.jpg" alt="theme"> <div class="plugin-info">This is extension<br>Get WPAI plugin here - <a href="https://wordpress.org/plugins/wp-all-import/" target="_blank">Wp ALL Import</a> </div> </div> <h3 class="theme-name">WPAI POST Extension</h3> <div class="theme-actions"> <?php if( $registeredlicense == true ) :?> <a href="<?php echo PLUGIN_REPO;?>packages/wpai-post-rehub-addon.zip" class="button button-primary" title="Get link">Download</a> <?php else :?> <?php printf( '<a href="%s" class="button button-primary">%s</a>', admin_url( 'admin.php?page=rehub' ), __( "Register theme to get link", "rehub_framework" ) ); ?> <?php endif;?> </div> </div> <div class="theme"> <div class="theme-screenshot"> <img src="<?php echo get_template_directory_uri()?>/admin/screens/images/wpaice.jpg" alt="theme"> <div class="plugin-info">This is extension<br>Get WPAI plugin here - <a href="https://wordpress.org/plugins/wp-all-import/" target="_blank">Wp ALL Import</a> </div> </div> <h3 class="theme-name">WPAI CE Extension</h3> <div class="theme-actions"> <?php if( $registeredlicense == true ) :?> <a href="<?php echo PLUGIN_REPO;?>packages/wpai-ceo-addon.zip" class="button button-primary" title="Get link">Download</a> <?php else :?> <?php printf( '<a href="%s" class="button button-primary">%s</a>', admin_url( 'admin.php?page=rehub' ), __( "Register theme to get link", "rehub_framework" ) ); ?> <?php endif;?> </div> </div> <div class="theme"> <div class="theme-screenshot"> <img src="<?php echo get_template_directory_uri()?>/admin/screens/images/mdtf.png" alt="theme"> <div class="plugin-info">For search filters</div> </div> <h3 class="theme-name">MDTF</h3> <div class="theme-actions"> <?php if( $registeredlicense == true ) :?> <a href="<?php echo PLUGIN_REPO;?>packages/meta-data-filter.zip" class="button button-primary" title="Get link">Download</a> <?php else :?> <?php printf( '<a href="%s" class="button button-primary">%s</a>', admin_url( 'admin.php?page=rehub' ), __( "Register theme to get link", "rehub_framework" ) ); ?> <?php endif;?> </div> </div> </div> </div> <div class="rehub-thanks"> <p class="description"><?php echo __( "Thank you for choosing ReHub Theme. We are honored and are fully dedicated to making your experience perfect.", "rehub_framework" ); ?></p> </div> </div> <div class="wpsm-clearfix" style="clear: both;"></div>
[+]
..
[-] demoimport.php
[edit]
[-] plugins.php
[edit]
[+]
js
[-] democlones.php
[edit]
[+]
images
[-] support.php
[edit]
[+]
css
[-] welcome.php
[edit]