- WordPress core y plugins - Tema Twenty Twenty-Four configurado - Plugin allow-unfiltered-html.php simplificado - .gitignore configurado para excluir wp-config.php y uploads 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
73 lines
2.7 KiB
PHP
Executable File
73 lines
2.7 KiB
PHP
Executable File
<div class="d-flex-between align-items-start">
|
|
|
|
<?php if ( $this->license->get_is_active() ) : ?>
|
|
|
|
<div class="mr-30">
|
|
<img class="mr-10 mt-5" src="<?php echo $settings_page['admin_url']; ?>img/pro.svg" width="200px">
|
|
</div>
|
|
|
|
<div class="w-60p mr-30">
|
|
<h2 class="p-0 font-md-x2"><?php echo __( 'Pro version', $this->plugin_name ); ?></h2>
|
|
<h3 class="p-0 font-sm text-uppercase font-bold dark-blue-color m-0 mt-10"><?php echo __( 'Features', $this->plugin_name ); ?></h3>
|
|
<div id="pro-features">
|
|
<?php if ( $this->license->get_features() ) : ?>
|
|
<?php echo $this->license->get_features(); ?>
|
|
<?php endif; ?>
|
|
</div>
|
|
</div>
|
|
|
|
<?php else : ?>
|
|
|
|
<div class="d-flex-start w-80p">
|
|
|
|
<div class="w-60p mr-30">
|
|
<h2 class="p-0 font-md-x2"><?php echo __( 'Pro version', $this->plugin_name ); ?></h2>
|
|
<h3 class="p-0 font-sm text-uppercase font-bold dark-blue-color m-0 mt-10"><?php echo __( 'Features', $this->plugin_name ); ?></h3>
|
|
<div id="pro-features">
|
|
<?php if ( $this->license->get_features() ) : ?>
|
|
<?php echo $this->license->get_features(); ?>
|
|
<?php endif; ?>
|
|
</div>
|
|
<a target="_blank" href="https://wpdatabasetools.com/plugin/wp-database-tools/" class="button button-secondary b-none btn-dark color-white py-5 px-20 text-uppercase">
|
|
<?php echo __( 'Quiero ser pro', $this->plugin_name ); ?>
|
|
</a>
|
|
</div>
|
|
|
|
<div class="w-40p text-align-right pr-30">
|
|
|
|
<?php if ( $this->license->get_price() ) : ?>
|
|
<?php foreach ( $this->license->get_price() as $key => $price ) : ?>
|
|
<div class="mt-10">
|
|
<h4 class="p-0 m-0 font-md mb-5 text-uppercase dark-blue-color"><?php echo $key; ?></h4>
|
|
<h5 class="p-0 m-0 font-md-x1"><?php echo $price . '€'; ?><span class="font-sm">/<?php echo __( 'year', $this->plugin_name ); ?></span></h5>
|
|
<span class="font-sm"><?php echo __( 'Price including VAT', $this->plugin_name ); ?></span>
|
|
</div>
|
|
<?php endforeach; ?>
|
|
<?php endif; ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php endif; ?>
|
|
|
|
|
|
<div class="d-flex-start w-20p bl-dotted pl-30 ">
|
|
<div>
|
|
<h4 class="m-0 text-uppercase"><?php echo __( 'Current License', $this->plugin_name ); ?></h4>
|
|
<?php if ( $this->license->get_is_active() ) : ?>
|
|
<span class="bg-light-green px-10 py-10 d-block text-uppercase font-bold br-5 text-align-center"><?php esc_attr_e( 'PRO License', 'WpAdminStyle' ); ?></span>
|
|
<?php else : ?>
|
|
<span class="bg-light-red px-10 py-10 d-block text-uppercase font-bold br-5 text-align-center"><?php esc_attr_e( 'Free License', 'WpAdminStyle' ); ?></span>
|
|
<?php endif; ?>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<style>
|
|
#pro-features ul li {
|
|
background: url('<?php echo WPDBT_ADMIN_URL; ?>img/icon-check.svg') no-repeat left center;
|
|
}
|
|
</style>
|