PluginProbe
BerqWP – All-In-One Optimization for Core Web Vitals, Cache, CDN, Images, CSS & JavaScript / 1.9.5
BerqWP – All-In-One Optimization for Core Web Vitals, Cache, CDN, Images, CSS & JavaScript v1.9.5
4.1.16 4.1.15 4.1.14 4.1.13 4.1.12 4.1.11 4.1.10 4.0.30 4.0.29 4.0.28 4.0.27 4.0.26 4.0.24 4.0.25 4.0.23 4.0.22 4.0.21 4.0.19 4.0.18 4.0.17 4.0.16 1.9.3 1.9.4 1.9.5 1.9.6 All 170 releases
searchpro / admin / tabs / activate-license.php

activate-license.php in BerqWP – All-In-One Optimization for Core Web Vitals, Cache, CDN, Images, CSS & JavaScript 1.9.5, at admin/tabs/activate-license.php

60 lines 2.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if (!defined('ABSPATH'))
3 exit;
4 ?>
5 <div id="activate-license" style="display:none">
6 <h2 class="berq-tab-title"><?php esc_html_e('BerqWP License', 'searchpro'); ?></h2>
7 <style>
8
9 div#berqwp-license-activation input[type="password"] {
10 border-radius: 0;
11 padding: 5px 15px;
12 width: 30%;
13 }
14
15 div#berqwp-license-activation input[type="submit"] {
16 border: none;
17 background: #1F71FF;
18 padding: 11px 20px;
19 color: #fff;
20 cursor: pointer;
21 }
22 </style>
23 <div id="berqwp-license-activation">
24 <div class="berq-info-box">
25 <!-- <h3 class="berq-box-title"><?php esc_html_e('BerqWP License Activation', 'searchpro'); ?></h3> -->
26 <div class="berq-box-content">
27 <?php if (!$this->is_key_verified) { ?>
28
29 <input type="password" placeholder="<?php esc_html_e('Enter your license key', 'searchpro'); ?>" name="berqwp_license_key">
30 <input type="submit" value="<?php esc_html_e('Activate', 'searchpro'); ?>">
31
32 <?php } else { ?>
33 <input type="submit" name="berq_deactivate_key" value="<?php esc_html_e('Deactivate license key', 'searchpro'); ?>" style="background-color:red;">
34 <!-- <a href="" style="color:red;font-size:16px">Deactivate license key</a> -->
35 <?php } ?>
36 </div>
37 </div>
38
39 <?php if ($this->is_key_verified) { ?>
40 <div class="berq-info-box">
41 <h3 class="berq-box-title"><?php esc_html_e('My Account', 'searchpro'); ?></h3>
42 <div class="berq-box-content">
43 <?php if ($this->key_response->product_ref !== 'AppSumo Deal') { ?>
44 <p>
45 <?php esc_html_e('License:', 'searchpro'); ?>
46 <?php echo esc_html( $this->key_response->product_ref ); ?>
47 </p>
48 <?php } ?>
49 <p><?php esc_html_e('License status:', 'searchpro'); ?>
50 <?php echo esc_html( $this->key_response->status ); ?>
51 </p>
52 <p><?php esc_html_e('Expiration date:', 'searchpro'); ?>
53 <?php echo esc_html( $this->key_response->date_expiry ); ?>
54 </p>
55 </div>
56 </div>
57 <?php } ?>
58
59 </div>
60 </div>