| Server IP : 213.186.33.4 / Your IP : 216.73.216.222 Web Server : Apache System : Linux webm005.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64 User : karinebmkh ( 644538) PHP Version : 8.4.22 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/karinebmkh/www2/wp-content/themes/thevoux-wp/inc/admin/welcome/pages/ |
Upload File : |
<div class="wrap about-wrap thb_welcome">
<?php include 'header.php'; ?>
</div>
<div class="wrap about-wrap">
<div class="theme-browser thb-plugins thb-content">
<?php
$key = Thb_Theme_Admin::$thb_product_key;
$expired = Thb_Theme_Admin::$thb_product_key_expired;
$thb_envato_hosted = Thb_Theme_Admin::$thb_envato_hosted;
$cond = ($key != '' && $expired != 1) || $thb_envato_hosted;
?>
<?php if (!$cond) { ?>
<div class="thb-error">
<p><span class="dashicons dashicons-warning"></span> To install premium plugins you must <a href="<?php echo esc_url(admin_url( 'admin.php?page=thb-product-registration' )); ?>">Activate your Theme</a>.</p>
</div>
<?php } ?>
<?php
$plugins = TGM_Plugin_Activation::$instance->plugins;
$i = 0;
foreach( $plugins as $plugin ):
if (!$plugin['required']) continue;
$file_path = $plugin['file_path'];
$actions = Thb_Theme_Admin()->thb_plugins_install( $plugin );
if( is_plugin_active( $file_path ) ) {
$plugin_status = 'active';
$class = 'active';
}
?>
<div class="theme <?php if (!$cond) { ?>disabled<?php } ?><?php if (($i+1) % 3 == 0) { ?>last<?php }?>">
<div class="theme-screenshot"><img src="<?php echo esc_attr($plugin['image_url']); ?>" /></div>
<?php if( isset( $actions['update'] ) && $actions['update'] ): ?>
<div class="update-message notice inline notice-warning notice-alt"><p>New version available.</p></div>
<?php endif; ?>
<h2 class="theme-name" id=""><?php echo esc_attr($plugin['name']); ?></h2>
<div class="theme-actions">
<?php foreach( $actions as $action ) { echo $action; } ?>
</div>
</div>
<?php $i++; endforeach; ?>
</div>
</div>