| Server IP : 202.61.199.114 / Your IP : 216.73.217.139 Web Server : nginx/1.22.1 System : Linux de.arni-solutions.de 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64 User : web20 ( 1018) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/clients/client2/web19/web/wp-content/plugins/borlabs-cache/templates/ |
Upload File : |
<h1><?php _ex('Borlabs Cache › License', 'Top headline', 'borlabs-cache'); ?></h1>
<h2 class="nav-tab-wrapper">
<a href="?page=borlabs-cache-license" class="nav-tab nav-tab-active"><?php _ex('License', 'Tab title', 'borlabs-cache'); ?></a>
</h2>
<div class="page-headline">
<img src="<?php echo $this->imagePath; ?>/icons/license.svg" alt="">
<h3><?php _ex('License', 'Headline right of icon', 'borlabs-cache'); ?></h3>
</div>
<div class="content">
<div class="messages">
<?php echo \Borlabs\Factory::get('Cache\Backend\Backend')->getMessages(); ?>
</div>
<h4><?php _ex('Your license status', 'Headline', 'borlabs-cache'); ?></h4>
<?php
if (!empty($licenseData)) {
?>
<table>
<tr>
<th><?php _ex('License status', 'Table headline', 'borlabs-cache'); ?></th>
<td class="<?php echo $licenseStatus; ?>"><?php echo $licenseStatusMessage; ?></td>
</tr>
<tr>
<th><?php _ex('Created', 'Table headline', 'borlabs-cache'); ?></th>
<td><?php echo !empty($licenseData->created) ? date('d. F Y, H:i', strtotime($licenseData->created)) : '-'; ?></td>
</tr>
<tr>
<th><?php _ex('License type', 'Table headline', 'borlabs-cache'); ?></th>
<td><?php
if (!empty($licenseData->is_pro)) {
_ex('Commercial', 'License type', 'borlabs-cache');
} elseif (!empty($licenseData->is_pro_trial)) {
_ex('Commercial Trial', 'License type', 'borlabs-cache');
} else {
_ex('Personal', 'License type', 'borlabs-cache');
}
?>
</td>
</tr>
<tr>
<th><?php _ex('Preload pages per day', 'Table headline', 'borlabs-cache'); ?></th>
<td><?php
if (!empty($licenseData->max_preloads_day)) {
if (intval($licenseData->max_preloads_day) == 9999) {
_ex('Unlimited', 'License type', 'borlabs-cache');
} else {
echo intval($licenseData->max_preloads_day);
}
} else {
echo '-';
}
?></td>
</tr>
</table>
<?php
} else {
?>
<p class="<?php echo $licenseStatus; ?>"><?php echo $licenseStatusMessage; ?></p>
<?php
}
if (!empty($licenseUnlinkSites)) {
?>
<p><?php _ex('You can unlink a domain of your license by just clicking on <strong>Unlink</strong> in the row of the domain.', 'License notice', 'borlabs-cache'); ?>
<br>
<?php _ex('After a domain is unlinked, your license will be activated.', 'License notice', 'borlabs-cache'); ?></p>
<table>
<thead>
<tr>
<th class="align-left"><?php _ex('Domain', 'Table headline', 'borlabs-cache'); ?></th>
<th class="align-left"><?php _ex('URL', 'Table headline', 'borlabs-cache'); ?></th>
<th></th>
</tr>
</thead>
<tbody>
<?php
foreach ($licenseUnlinkSites as $siteData) {
?>
<tr>
<td><?php echo $siteData->domain; ?></td>
<td><?php echo $siteData->url; ?></td>
<td><a href="?page=borlabs-cache-license&unlinkDomain=<?php echo rawurlencode($siteData->domain); ?>&unlinkURL=<?php echo rawurlencode($siteData->url); ?>"><?php _ex('Unlink', 'License option', 'borlabs-cache'); ?></a></td>
</tr>
<?php
}
?>
</tbody>
</table>
<?php
}
?>
<?php
if (defined('BORLABS_CACHE_SLUG') && BORLABS_CACHE_SLUG == 'borlabs-cache-envato/borlabs-cache-envato.php') {
?>
<form action="" method="post">
<fieldset>
<legend><?php _ex('Manage your license', 'Headline of a fieldset', 'borlabs-cache'); ?></legend>
<div class="form-group">
<div class="form-title">
<label for="licensePurchaseCode"><?php _ex('Your Envato purchase code', 'Setting title', 'borlabs-cache'); ?></label>
</div>
<div class="form-field">
<input type="text" name="licensePurchaseCode" id="licensePurchaseCode" value="<?php echo $licensePurchaseCode; ?>" class="large-text" style="width: 300px;" placeholder="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx">
<span class="description"><?php _ex('You find your purchase code in your Envato Market email with the subject <strong>[CodeCanyon] Purchase Confirmation</strong>.', 'AS Debug - Setting description', 'borlabs-cache'); ?></span>
</div>
</div>
<?php wp_nonce_field('borlabs_cache_manage_license_envato'); ?>
<input type="hidden" name="formSend" value="1">
<input class="button-primary" type="submit" value="<?php _ex('Save purchase code', 'Button title', 'borlabs-cache'); ?>">
</fieldset>
</form>
<?php
} else {
?>
<form action="" method="post">
<fieldset>
<legend><?php _ex('Manage your license', 'Headline of a fieldset', 'borlabs-cache'); ?></legend>
<div class="form-group">
<div class="form-title">
<label for="license-key"><?php _ex('Your license key', 'Setting title', 'borlabs-cache'); ?></label>
</div>
<div class="form-field">
<input type="text" name="license_key" id="license-key" value="<?php echo $licenseKey; ?>" class="large-text">
</div>
</div>
<?php wp_nonce_field('borlabs_cache_manage_license'); ?>
<input type="hidden" name="formSend" value="1">
<input class="button-primary" type="submit" value="<?php _ex('Save license key', 'Button title', 'borlabs-cache'); ?>">
</fieldset>
</form>
<?php
}
?>
<?php
if (!empty($licenseData)) {
?>
<form action="" method="post">
<fieldset>
<legend><?php _ex('Remove license', 'Headline of a fieldset', 'borlabs-cache'); ?></legend>
<div class="form-group">
<div class="form-title"><?php _ex('Confirmation', 'License - Setting title', 'borlabs-cache'); ?></div>
<div class="form-field">
<label for="licenseRemovalConfirmation">
<input type="checkbox" name="licenseRemovalConfirmation" id="licenseRemovalConfirmation" value="yes"> <span class="option-title"><?php _ex('Confirmed', 'Setting checkbox', 'borlabs-cache'); ?></span>
</label>
<span class="description"><?php _ex('Please confirm that you want to remove your license data from this site.', 'License - Setting description', 'borlabs-cache'); ?></span>
<span class="description"><?php _ex('After the license data is removed you are able to enter your new license key.', 'License - Setting description', 'borlabs-cache'); ?></span>
</div>
</div>
<?php wp_nonce_field('borlabs_cache_remove_license'); ?>
<input type="hidden" name="formSend" value="1">
<input type="hidden" name="removeLicense" value="1">
<input disabled id="executeLicenseRemoval" class="button-primary red-button" type="submit" value="<?php _ex('Remove license data', 'Button title', 'borlabs-cache'); ?>">
</fieldset>
</form>
<?php
}
?>
<?php
if (empty(\Borlabs\Factory::get('Cache\Backend\License')->usesPro())) {
?>
<h4><?php _ex('Commercial license benefits', 'Headline', 'borlabs-cache'); ?></h4>
<table>
<thead>
<tr>
<th> </th>
<th><?php _ex('Commercial', 'License info', 'borlabs-cache'); ?></th>
</tr>
</thead>
<tbody>
<tr>
<th class="align-center"><?php _ex('Services', 'License info', 'borlabs-cache'); ?></th>
<th class="align-center"> </th>
</tr>
<tr>
<td><?php _ex('Support', 'License info', 'borlabs-cache'); ?></td>
<td class="align-center"><span class="dashicons dashicons-yes"></span></td>
</tr>
<tr>
<td><?php _ex('Cache Preloading', 'License info', 'borlabs-cache'); ?></td>
<td class="align-center"><?php _ex('Unlimited pages per day', 'License info', 'borlabs-cache'); ?></td>
</tr>
<tr>
<td><?php _ex('Cron Service', 'License info', 'borlabs-cache'); ?></td>
<td class="align-center"><span class="dashicons dashicons-yes"></span></td>
</tr>
<tr>
<th class="align-center"><?php _ex('Features', 'License info', 'borlabs-cache'); ?></th>
<th class="align-center"> </th>
</tr>
<tr>
<td><?php _ex('CDN Support', 'License info', 'borlabs-cache'); ?></td>
<td class="align-center"><span class="dashicons dashicons-yes"></span></td>
</tr>
<tr>
<td><?php _ex('Optimize Database', 'License info', 'borlabs-cache'); ?></td>
<td class="align-center"><span class="dashicons dashicons-yes"></span></td>
</tr>
<tr>
<td><?php _ex('Import & Export', 'License info', 'borlabs-cache'); ?></td>
<td class="align-center"><span class="dashicons dashicons-yes"></span></td>
</tr>
<tr>
<th class="align-center"><?php _ex('Additional Settings', 'License info', 'borlabs-cache'); ?></th>
<th class="align-center"> </th>
</tr>
<tr>
<td><?php _ex('Additional compression options', 'License info', 'borlabs-cache'); ?></td>
<td class="align-center"><span class="dashicons dashicons-yes"></span></td>
</tr>
<tr>
<td><?php _ex('Cache lifetimes per post type', 'License info', 'borlabs-cache'); ?></td>
<td class="align-center"><span class="dashicons dashicons-yes"></span></td>
</tr>
<tr>
<td><?php _ex('Cache exceptions per post type', 'License info', 'borlabs-cache'); ?></td>
<td class="align-center"><span class="dashicons dashicons-yes"></span></td>
</tr>
</tbody>
</table>
<p><a href="https://borlabs.io/?utm_source=BorlabsCache&utm_medium=Textlink&utm_campaign=Analysis" rel="noreferrer" target="_blank" class="button"><?php _ex('Get Commercial license', 'License info', 'borlabs-cache'); ?></a></p>
<?php
}
?>
</div>
<script type="text/javascript">
jQuery(document).ready(function () {
jQuery('#licenseRemovalConfirmation').on('change', function () {
if (jQuery(this).prop('checked')) {
jQuery('#executeLicenseRemoval').prop('disabled', false);
} else {
jQuery('#executeLicenseRemoval').prop('disabled', true);
}
});
});
</script>