Plugin Directory


Ignore:
Timestamp:
09/13/2026 02:08:06 PM (8 weeks ago)
Author:
wp-buy
Message:

Major release: the whole admin settings panel has been redesigned from scratch with a modern interface and layout matching the wp-buy.com design system (clean cards, soft shadows, rounded corners and a new color palette)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-content-copy-protector/trunk/admin-core.php

    r3678697 r3693765  
    11<?php
    2 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
    3 if ( !current_user_can('edit_others_pages') ) { //protection for admin content
     2if (! defined('ABSPATH')) exit; // Exit if accessed directly
     3if (!current_user_can('edit_others_pages')) { //protection for admin content
    44        exit(0);
    55} ?>
    … …  
    88include 'the_globals.php';
    99include 'notifications.php';
    10 add_action('admin_footer','wccp_free_alert_message');
    11 
    12 if(isset($_POST["Restore_defaults"]))
    13 {
    14         check_admin_referer( 'Restore_defaults_nonce', '_Restore_defaults' );
    15 
    16         if ( ! current_user_can( 'manage_options' ) ) {
    17                 wp_die( esc_html__( 'You do not have permission to change these settings.', 'wp-content-copy-protector' ), 403 );
     10add_action('admin_footer', 'wccp_free_alert_message');
     11
     12if (isset($_POST["Restore_defaults"])) {
     13        check_admin_referer('Restore_defaults_nonce', '_Restore_defaults');
     14
     15        if (! current_user_can('manage_options')) {
     16                wp_die(esc_html__('You do not have permission to change these settings.', 'wp-content-copy-protector'), 403);
    1817        }
    1918
    20         update_option("wccp_settings" , "");
    21         wp_safe_redirect( admin_url( 'admin.php?page=wccpoptionspro' ) );
     19        update_option("wccp_settings", "");
     20        wp_safe_redirect(admin_url('admin.php?page=wccpoptionspro'));
    2221        exit;
    2322}
    2423
    25 if(isset($_POST["Save_settings"]))
    26 {
    27         check_admin_referer( 'Save_settings_nonce', '_Save_settings' );
    28 
    29         if ( ! current_user_can( 'manage_options' ) ) {
    30                 wp_die( esc_html__( 'You do not have permission to change these settings.', 'wp-content-copy-protector' ), 403 );
     24if (isset($_POST["Save_settings"])) {
     25        check_admin_referer('Save_settings_nonce', '_Save_settings');
     26
     27        if (! current_user_can('manage_options')) {
     28                wp_die(esc_html__('You do not have permission to change these settings.', 'wp-content-copy-protector'), 403);
    3129        }
    3230
    … …  
    5250
    5351        $wccp_free_posted = array();
    54         foreach ( $wccp_free_text_fields as $wccp_free_field ) {
    55                 $wccp_free_posted[ $wccp_free_field ] = isset( $_POST[ $wccp_free_field ] ) ? sanitize_text_field( wp_unslash( $_POST[ $wccp_free_field ] ) ) : '';
     52        foreach ($wccp_free_text_fields as $wccp_free_field) {
     53                $wccp_free_posted[$wccp_free_field] = isset($_POST[$wccp_free_field]) ? sanitize_text_field(wp_unslash($_POST[$wccp_free_field])) : '';
    5654        }
    5755
    5856        // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Sanitized by wccp_sanitize().
    59         $wccp_free_posted['smessage']     = isset( $_POST['smessage'] ) ? wccp_sanitize( wp_unslash( $_POST['smessage'] ), 'textbox' ) : '';
     57        $wccp_free_posted['smessage']     = isset($_POST['smessage']) ? wccp_sanitize(wp_unslash($_POST['smessage']), 'textbox') : '';
    6058        // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Sanitized by wccp_sanitize().
    61         $wccp_free_posted['prnt_scr_msg'] = isset( $_POST['prnt_scr_msg'] ) ? wccp_sanitize( wp_unslash( $_POST['prnt_scr_msg'] ), 'text' ) : '';
     59        $wccp_free_posted['prnt_scr_msg'] = isset($_POST['prnt_scr_msg']) ? wccp_sanitize(wp_unslash($_POST['prnt_scr_msg']), 'text') : '';
    6260
    6361        //----------------------------------------------------Get the options array values
    64         $wccp_settings = 
    65         Array (
     62        $wccp_settings =
     63                array(
    6664                        'single_posts_protection' => $wccp_free_posted['single_posts_protection'], // prevent content copy, take 2 parameters
    6765                        'home_page_protection' => $wccp_free_posted['home_page_protection'], // PROTECT THE HOME PAGE OR NOT
    … …  
    9391                );
    9492
    95                 if(get_option('wccp_settings') !== null) {
    96                     update_option( 'wccp_settings' , $wccp_settings );
    97                 } else {
    98                     add_option( 'wccp_settings', $wccp_settings, '', 'yes' );
    99                 }
    100         wp_safe_redirect( admin_url( 'admin.php?page=wccpoptionspro' ) );
     93        if (get_option('wccp_settings') !== null) {
     94                update_option('wccp_settings', $wccp_settings);
     95        } else {
     96                add_option('wccp_settings', $wccp_settings, '', 'yes');
     97        }
     98        wp_safe_redirect(admin_url('admin.php?page=wccpoptionspro'));
    10199        exit;
    102100}
    103101
    104102$wccp_settings = wccp_read_options();
    105 $wccp_free_allowed_tags = array( 'u' => array(), 'b' => array(), 'strong' => array(), 'em' => array(), 'br' => array() );
     103$wccp_free_allowed_tags = array('u' => array(), 'b' => array(), 'strong' => array(), 'em' => array(), 'br' => array());
     104
     105/**
     106 * Presentation helpers for the settings screen.
     107 *
     108 * The panel below is styled after the wp-buy.com shop (css/wpb-admin.css):
     109 * the same token palette, card box, .wpb-pill buttons in place of the old
     110 * tab strip, the gradient featured banner for the PRO upsell, and the
     111 * three-column help CTA in the footer.
     112 */
     113
     114if (! function_exists('wccp_free_select')) {
     115        /**
     116         * Render a settings dropdown.
     117         *
     118         * @param string $name    Field name, also the key in the settings array.
     119         * @param array  $choices value => label pairs, in display order.
     120         * @param string $current Currently stored value.
     121         * @param string $default Value to select when nothing is stored yet.
     122         */
     123        function wccp_free_select($name, $choices, $current, $default)
     124        {
     125                $wccp_free_selected = array_key_exists($current, $choices) ? $current : $default;
     126
     127                echo '<select name="' . esc_attr($name) . '" id="' . esc_attr($name) . '">';
     128
     129                foreach ($choices as $wccp_free_value => $wccp_free_label) {
     130                        printf(
     131                                '<option value="%1$s"%2$s>%3$s</option>',
     132                                esc_attr($wccp_free_value),
     133                                selected($wccp_free_value, $wccp_free_selected, false),
     134                                esc_html($wccp_free_label)
     135                        );
     136                }
     137
     138                echo '</select>';
     139        }
     140}
     141
     142if (! function_exists('wccp_free_icon')) {
     143        /**
     144         * Echo one of the panel's inline icons.
     145         *
     146         * Inline rather than an icon font so the markup carries no extra request
     147         * and the glyphs inherit currentColor from whatever box they sit in.
     148         *
     149         * @param string $name Icon key.
     150         */
     151        function wccp_free_icon($name)
     152        {
     153                $wccp_free_paths = array(
     154                        'shield'   => '<path d="M12 2 4 5v6c0 5 3.4 9.4 8 11 4.6-1.6 8-6 8-11V5l-8-3Z"/>',
     155                        'check'    => '<path d="m20 6-11 11-5-5"/>',
     156                        'lock'     => '<rect x="4" y="10" width="16" height="11" rx="2"/><path d="M8 10V7a4 4 0 0 1 8 0v3"/>',
     157                        'code'     => '<path d="m9 18-6-6 6-6"/><path d="m15 6 6 6-6 6"/>',
     158                        'mouse'    => '<rect x="6" y="2" width="12" height="20" rx="6"/><path d="M12 7v4"/>',
     159                        'brush'    => '<path d="m12 3 9 5-9 5-9-5 9-5Z"/><path d="m3 13 9 5 9-5"/>',
     160                        'star'     => '<path d="m12 3 2.7 5.6 6.1.9-4.4 4.3 1 6.2-5.4-3-5.4 3 1-6.2L3.2 9.5l6.1-.9L12 3Z"/>',
     161                        'sparkles' => '<path d="m12 3 1.9 4.6L18.5 9.5l-4.6 1.9L12 16l-1.9-4.6L5.5 9.5l4.6-1.9L12 3Z"/><path d="M18 15.5 18.8 17.5 20.8 18.3 18.8 19.1 18 21.1 17.2 19.1 15.2 18.3 17.2 17.5 18 15.5Z"/>',
     162                        'crown'    => '<path d="M4.4 17.8h15.2"/><path d="m3.6 6.6 4.3 3.1L12 3.6l4.1 6.1 4.3-3.1-1.7 8.6H5.3L3.6 6.6Z"/>',
     163                        'life'     => '<circle cx="12" cy="12" r="9"/><circle cx="12" cy="12" r="3.6"/><path d="m5.6 5.6 3.8 3.8M14.6 14.6l3.8 3.8M18.4 5.6l-3.8 3.8M9.4 14.6l-3.8 3.8"/>',
     164                        'book'     => '<path d="M4 5a2 2 0 0 1 2-2h13v16H6a2 2 0 0 0-2 2V5Z"/><path d="M8 7h7M8 11h7"/>',
     165                        'mail'     => '<rect x="3" y="5" width="18" height="14" rx="2"/><path d="m3 7 9 6 9-6"/>',
     166                        'phone'    => '<rect x="7" y="2" width="10" height="20" rx="2.5"/><path d="M11 18.5h2"/>',
     167                        'image'    => '<rect x="3" y="4" width="18" height="16" rx="2"/><circle cx="8.5" cy="9.5" r="1.5"/><path d="m4 17 5-5 4 4 3-2 4 4"/>',
     168                        'info'     => '<circle cx="12" cy="12" r="9"/><path d="M12 11v5M12 7.6v.6"/>',
     169                        'save'     => '<path d="M5 4h11l3 3v13H5V4Z"/><path d="M8 4v5h7V4M8 20v-6h8v6"/>',
     170                        'undo'     => '<path d="M3 9h11a5 5 0 0 1 0 10h-4"/><path d="m3 9 4-4M3 9l4 4"/>',
     171                        'eye'      => '<path d="M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12Z"/><circle cx="12" cy="12" r="2.8"/>',
     172                        'pointer'  => '<path d="M5.5 3.2 19 10.4l-6.1 1.6-1.7 6.1L5.5 3.2Z"/>',
     173                        'keyboard' => '<rect x="2.5" y="6" width="19" height="12" rx="2.2"/><path d="M6 10h.01M9.5 10h.01M13 10h.01M16.5 10h.01M8 14h8"/>',
     174                        'palette'  => '<path d="M12 3.2a8.8 8.8 0 1 0 0 17.6c1.1 0 1.9-.9 1.9-1.9 0-.5-.2-.9-.5-1.3-.3-.4-.5-.8-.5-1.2 0-.9.8-1.6 1.7-1.6h1.3a5 5 0 0 0 5-5c0-3.7-4-6.6-8.9-6.6Z"/><circle cx="7.6" cy="11.6" r="1"/><circle cx="10.4" cy="7.8" r="1"/><circle cx="15.2" cy="8.6" r="1"/>',
     175                        'droplet'  => '<path d="M12 3s5.8 5.9 5.8 9.8a5.8 5.8 0 0 1-11.6 0C6.2 8.9 12 3 12 3Z"/>',
     176                        'layers'   => '<path d="m12 2.8 8.6 4.6-8.6 4.6-8.6-4.6 8.6-4.6Z"/><path d="m3.4 12 8.6 4.6L20.6 12"/><path d="m3.4 16.6 8.6 4.6 8.6-4.6"/>',
     177                        'filter'   => '<path d="M3.2 5h17.6l-6.9 8v6.2l-3.8 1.8V13L3.2 5Z"/>',
     178                        'sliders'  => '<path d="M3.5 7h9M17.5 7h3M3.5 12h3M11.5 12h9M3.5 17h11M19.5 17h1"/><circle cx="15" cy="7" r="2.2"/><circle cx="9" cy="12" r="2.2"/><circle cx="17" cy="17" r="2.2"/>',
     179                        'copy'     => '<rect x="9" y="9" width="11.5" height="11.5" rx="2.2"/><path d="M5.2 15H4.6A1.6 1.6 0 0 1 3 13.4V5.2A1.6 1.6 0 0 1 4.6 3.6h8.2A1.6 1.6 0 0 1 14.4 5.2v.6"/>',
     180                        'type'     => '<path d="M4.5 7.2V5h15v2.2M12 5v14M9 19h6"/>',
     181                        'printer'  => '<path d="M6.5 9V3h11v6"/><rect x="3" y="9" width="18" height="7.5" rx="2.2"/><path d="M6.5 13.5h11V21h-11z"/>',
     182                        'search'   => '<circle cx="11" cy="11" r="7"/><path d="m20.5 20.5-4.5-4.5"/>',
     183                        'users'    => '<circle cx="9" cy="8" r="3.4"/><path d="M2.6 20.2a6.4 6.4 0 0 1 12.8 0"/><path d="M16.4 5.3a3.4 3.4 0 0 1 0 5.4M17.6 14.6a6.4 6.4 0 0 1 3.8 5.6"/>',
     184                        'zap'      => '<path d="M13.2 2.4 4.6 14h6.6l-1.4 7.6L18.6 10h-6.6l1.2-7.6Z"/>',
     185                        'globe'    => '<circle cx="12" cy="12" r="9"/><path d="M3.4 9.2h17.2M3.4 14.8h17.2"/><path d="M12 3c2.4 2.4 3.7 5.5 3.7 9S14.4 18.6 12 21c-2.4-2.4-3.7-5.5-3.7-9S9.6 5.4 12 3Z"/>',
     186                        'link'     => '<path d="M10.2 13.4a3.9 3.9 0 0 0 5.6.4l2.5-2.5a3.9 3.9 0 0 0-5.5-5.6l-1.5 1.4"/><path d="M13.8 10.6a3.9 3.9 0 0 0-5.6-.4l-2.5 2.5a3.9 3.9 0 0 0 5.5 5.6l1.5-1.4"/>',
     187                        'crop'     => '<path d="M6.2 2.4v15.4h15.4"/><path d="M2.4 6.2h15.4v15.4"/>',
     188                        'refresh'  => '<path d="M20.2 11a8.2 8.2 0 0 0-14-4.8L4 8.4"/><path d="M3.8 4v4.6h4.6"/><path d="M3.8 13a8.2 8.2 0 0 0 14 4.8l2.2-2.2"/><path d="M20.2 20v-4.6h-4.6"/>',
     189                        'file'     => '<path d="M14 3H7.4A2.2 2.2 0 0 0 5.2 5.2v13.6A2.2 2.2 0 0 0 7.4 21h9.2a2.2 2.2 0 0 0 2.2-2.2V8L14 3Z"/><path d="M14 3v5h4.8"/>',
     190                        'grid'     => '<rect x="3.2" y="3.2" width="7.2" height="7.2" rx="1.6"/><rect x="13.6" y="3.2" width="7.2" height="7.2" rx="1.6"/><rect x="3.2" y="13.6" width="7.2" height="7.2" rx="1.6"/><rect x="13.6" y="13.6" width="7.2" height="7.2" rx="1.6"/>',
     191                        'message'  => '<path d="M20.8 11.6a8.2 8.2 0 0 1-8.2 8.2H4l2.3-3a8.2 8.2 0 1 1 14.5-5.2Z"/>',
     192                        'clock'    => '<circle cx="12" cy="12" r="9"/><path d="M12 6.8V12l3.4 2.1"/>',
     193                        'server'   => '<rect x="3" y="4" width="18" height="7" rx="2.2"/><rect x="3" y="13" width="18" height="7" rx="2.2"/><path d="M7 7.5h.01M7 16.5h.01"/>',
     194                        'gauge'    => '<path d="M3.6 18a8.6 8.6 0 1 1 16.8 0"/><path d="m12 17.4 4.2-5.2"/><circle cx="12" cy="18" r="1.3"/>',
     195                        'alert'    => '<path d="M12 3.4 21.4 19.6H2.6L12 3.4Z"/><path d="M12 9.4v4.3M12 16.6v.1"/>',
     196                        'x'        => '<path d="m6 6 12 12M18 6 6 18"/>',
     197                );
     198
     199                if (! isset($wccp_free_paths[$name])) {
     200                        return;
     201                }
     202
     203                echo '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false">'
     204                        . $wccp_free_paths[$name] // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Static markup from the map above.
     205                        . '</svg>';
     206        }
     207}
     208
     209$wccp_free_admin_email = get_bloginfo('admin_email');
     210$wccp_free_pro_url     = 'https://www.wp-buy.com/product/wp-content-copy-protection-pro/';
     211$wccp_free_docs_url    = 'https://www.wp-buy.com/category/plugins-support/copy-protection-plugin-support/';
     212$wccp_free_support_url = 'https://www.wp-buy.com/contact-us/';
     213$wccp_free_onoff       = array(
     214        'Enabled'  => __('Enabled', 'wp-content-copy-protector'),
     215        'Disabled' => __('Disabled', 'wp-content-copy-protector'),
     216);
    106217?>
    107 <div id="wpccp_subscribe" class="notice notice-info is-dismissible">
    108 <?php $wccp_free_admin_email = get_bloginfo("admin_email");  ?>
    109 <table style="background-image:url(<?php echo esc_url( $wccp_free_pluginsurl ) ?>/images/ad.png);background-repeat:no-repeat;" border="0" width="100%" cellspacing="0" cellpadding="0">
    110         <tr>
    111                 <td><h2 style="background-color:#FFFFFF;padding:3px;" class="alert-heading"><?php esc_html_e("WP Content Protection Plugin Group", 'wp-content-copy-protector') ?></h2></td>
    112                 <td rowspan="2">
    113                 <p align="center"><a href="#" onclick="wpccp_dismiss_notice()"><?php esc_html_e('Dismiss', 'wp-content-copy-protector'); ?> </a></td>
    114         </tr>
    115         <tr>
    116                 <td style="padding-left: 77px;">
    117                         <h4>
    118                         <?php echo esc_html__("Begin your adventure to improve your WordPress website, Also you will win a ", 'wp-content-copy-protector') . ' <b style="color:red">' . esc_html__("discount codes" , 'wp-content-copy-protector') . '</b>'; ?>
    119                         <input type="text" id="admin_email_wccp" name= "admin_email_wccp" value="<?php echo esc_attr( $wccp_free_admin_email ); ?>" />
    120                         <button type="button" class="btn btn-primary wpccp_subscribe_btn" onclick='wpccp_open_subscribe_page();'> <?php esc_html_e("Start it!", 'wp-content-copy-protector'); ?> </button>
    121                         </h4>
    122                 </td>
    123         </tr>
    124 </table>
     218<div id="wpccp_subscribe" class="notice wpb-notice">
     219        <div class="wpb-notice__in">
     220                <span class="wpb-notice__ic"><?php wccp_free_icon('mail'); ?></span>
     221                <div class="wpb-notice__txt">
     222                        <h3><?php esc_html_e('WP Content Protection Plugin Group', 'wp-content-copy-protector'); ?></h3>
     223                        <p><?php esc_html_e('Begin your adventure to improve your WordPress website, and win discount codes along the way.', 'wp-content-copy-protector'); ?></p>
     224                </div>
     225                <div class="wpb-notice__form">
     226                        <label class="screen-reader-text" for="admin_email_wccp"><?php esc_html_e('Email address', 'wp-content-copy-protector'); ?></label>
     227                        <input type="email" id="admin_email_wccp" name="admin_email_wccp" value="<?php echo esc_attr($wccp_free_admin_email); ?>">
     228                        <button type="button" class="wpb-notice__go" onclick="wpccp_open_subscribe_page();"><?php esc_html_e('Start it!', 'wp-content-copy-protector'); ?></button>
     229                        <button type="button" class="wpb-notice__x" onclick="wpccp_dismiss_notice();"><?php esc_html_e('Dismiss', 'wp-content-copy-protector'); ?></button>
     230                </div>
     231        </div>
    125232</div>
    126233<script>
    127 function wpccp_dismiss_notice()
    128         {
     234        function wpccp_dismiss_notice() {
    129235                localStorage.setItem('wpccp_subscribed', 'wpccp_subsbc_user');
    130                 document.getElementById("wpccp_subscribe").style.display="none";
     236                document.getElementById("wpccp_subscribe").style.display = "none";
    131237        }
    132238
    133 function wpccp_open_subscribe_page()
    134         {
    135                 if(localStorage.getItem('wpccp_subscribed') !='wpccp_subsbc_user')
    136                 {
     239        function wpccp_open_subscribe_page() {
     240                if (localStorage.getItem('wpccp_subscribed') != 'wpccp_subsbc_user') {
    137241                        var admin_email_wccp = document.getElementById('admin_email_wccp').value;
    138                 window.open('https://www.wp-buy.com/wpccp-subscribe/?email='+admin_email_wccp,'_blank');
     242                        window.open('https://www.wp-buy.com/wpccp-subscribe/?email=' + admin_email_wccp, '_blank');
    139243                }
    140244        }
    141245
    142 if(localStorage.getItem('wpccp_subscribed') =='wpccp_subsbc_user')
    143         {
    144                  document.getElementById("wpccp_subscribe").style.display="none";
     246        if (localStorage.getItem('wpccp_subscribed') == 'wpccp_subsbc_user') {
     247                document.getElementById("wpccp_subscribe").style.display = "none";
    145248        }
    146249</script>
    147 <div id="aio_admin_main">
    148 <p style="margin: 20px 0 20px;font-size: 16px;font-weight: bold;color: rgba(30,140,190,.8);">WP Content Copy Protection &amp; No Right Click (FREE)
    149 <font color="#0909FF"><u>
    150 <a target="_blank" href="https://www.wp-buy.com/product/wp-content-copy-protection-pro/">
    151 <font color="#0909FF"><?php esc_html_e('PRO Version','wp-content-copy-protector'); ?></font></a></u></font>
    152 </p>
    153 <form method="POST">
    154 <input type="hidden" value="update" name="action">
    155 <?php wp_nonce_field('Save_settings_nonce','_Save_settings'); ?>
    156 <?php wp_nonce_field('Restore_defaults_nonce','_Restore_defaults'); ?>
    157 <div class="simpleTabs">
    158 <ul class="simpleTabsNavigation">
    159     <li><a href="#"><?php esc_html_e('Main Settings','wp-content-copy-protector'); ?></a></li>
    160         <li><a href="#"><?php esc_html_e('Premium RightClick Protection','wp-content-copy-protector'); ?></a></li>
    161         <li><a href="#"><?php esc_html_e('Premium Protection by CSS','wp-content-copy-protector'); ?></a></li>
    162     <li><a href="#"><?php esc_html_e('More with pro','wp-content-copy-protector'); ?></a></li>
    163 </ul>
    164 <div class="simpleTabsContent">
    165 <table border="0" width="100%" cellspacing="0" cellpadding="0">
    166         <tr>
    167                 <td width="77%">
    168         <h4><?php esc_html_e('Copy Protection using JavaScript','wp-content-copy-protector'); ?> (<font color="#008000"><?php esc_html_e('Basic Layer','wp-content-copy-protector'); ?></font>):</h4>
    169         <p><font face="Tahoma" size="2"><?php echo wp_kses( __('This is the basic protection layer that uses <u>JavaScript</u> to protect the posts, home page content from being copied by any other web site author.','wp-content-copy-protector'), $wccp_free_allowed_tags ); ?></font></p>
    170                 <table border="0" width="100%" cellspacing="0" cellpadding="0">
    171                         <tr>
    172                                 <td width="60%">
    173         <div style="float: auto;padding: 4px" id="layer3">
    174                 <table border="0" width="100%" height="320" cellspacing="0" cellpadding="0">
    175                         <tr>
    176                                 <td width="221" height="33"><font face="Tahoma" size="2"><?php echo wp_kses( __('Posts protection by <u>JavaScript</u>','wp-content-copy-protector'), $wccp_free_allowed_tags ); ?></font></td>
    177                                 <td>
    178                                 <select size="1" name="single_posts_protection">
    179                                 <?php
    180                                 if ($wccp_settings['single_posts_protection'] == 'Enabled')
    181                                         {
    182                                                 echo '<option selected value="Enabled">'. esc_html__('Enabled','wp-content-copy-protector') .'</option>';
    183                                                 echo '<option value="Disabled">'. esc_html__('Disabled','wp-content-copy-protector') .'</option>';
    184                                         }
    185                                         else
    186                                         {
    187                                                 echo '<option value="Enabled">'. esc_html__('Enabled','wp-content-copy-protector') .'</option>';
    188                                                 echo '<option selected value="Disabled">'. esc_html__('Disabled','wp-content-copy-protector') .'</option>';
    189                                         }
    190                                 ?>
    191                                 </select>
    192                                 </td>
    193                                 <td>
    194                                 <p><font face="Tahoma" size="2"><?php esc_html_e('For single posts content','wp-content-copy-protector'); ?></font></p></td>
    195                         </tr>
    196                         <tr>
    197                                 <td width="221" height="33"><font face="Tahoma" size="2"><?php echo wp_kses( __('Homepage protection by <u>JavaScript</u>','wp-content-copy-protector'), $wccp_free_allowed_tags ); ?></font></td>
    198                                 <td>
    199                                 <select size="1" name="home_page_protection">
    200                                 <?php
    201                                 if ($wccp_settings['home_page_protection'] == 'Enabled')
    202                                         {
    203                                                 echo '<option selected value="Enabled">'. esc_html__('Enabled','wp-content-copy-protector') .'</option>';
    204                                                 echo '<option value="Disabled">'. esc_html__('Disabled','wp-content-copy-protector') .'</option>';
    205                                         }
    206                                         else
    207                                         {
    208                                                 echo '<option value="Enabled">'. esc_html__('Enabled','wp-content-copy-protector') .'</option>';
    209                                                 echo '<option selected value="Disabled">'. esc_html__('Disabled','wp-content-copy-protector') .'</option>';
    210                                         }
    211                                 ?>
    212                                 </select>
    213                                 </td>
    214                                 <td>
    215                                 <p><font face="Tahoma" size="2"><?php esc_html_e('Don\'t copy any thing! even from my homepage','wp-content-copy-protector'); ?></font></td>
    216                         </tr>
    217                         <tr>
    218                                 <td width="221" height="33"><font face="Tahoma" size="2"><?php esc_html_e('Static page\'s protection','wp-content-copy-protector'); ?></font></td>
    219                                 <td>
    220                                 <select size="1" name="page_protection">
    221                                 <?php
    222                                 if ($wccp_settings['page_protection'] == 'Enabled')
    223                                         {
    224                                                 echo '<option selected value="Enabled">'. esc_html__('Enabled','wp-content-copy-protector') .'</option>';
    225                                                 echo '<option value="Disabled">'. esc_html__('Disabled','wp-content-copy-protector') .'</option>';
    226                                         }
    227                                         else
    228                                         {
    229                                                 echo '<option selected value="Disabled">'. esc_html__('Disabled','wp-content-copy-protector') .'</option>';
    230                                                 echo '<option value="Enabled">'. esc_html__('Enabled','wp-content-copy-protector') .'</option>';
    231                                         }
    232                                 ?>
    233                                 </select></td>
    234                                 <td>
    235                                 <p><font face="Tahoma" size="2"><?php esc_html_e('Use Premium Settings tab to customize more options','wp-content-copy-protector'); ?></font></td>
    236                         </tr>
    237                         <tr>
    238                                 <td width="221" height="33"><font face="Tahoma" size="2"><?php esc_html_e('Plugin icon on top admin bar','wp-content-copy-protector'); ?></font></td>
    239                                 <td>
    240                                 <select size="1" name="top_bar_icon_btn">
    241                                 <?php
    242                                 //Check if Hidden first, because default value is Visible
    243                                 if (array_key_exists("top_bar_icon_btn",$wccp_settings) && $wccp_settings['top_bar_icon_btn'] == 'Hidden')
    244                                         {
    245                                                 echo '<option selected value="Hidden">'. esc_html__('Hidden','wp-content-copy-protector') .'</option>';
    246                                                 echo '<option value="Visible">'. esc_html__('Visible','wp-content-copy-protector') .'</option>';
    247                                         }
    248                                 else
    249                                         {
    250                                                 echo '<option selected value="Visible">'. esc_html__('Visible','wp-content-copy-protector') .'</option>';
    251                                                 echo '<option value="Hidden">'. esc_html__('Hidden','wp-content-copy-protector') .'</option>';
    252                                         }
    253                                 ?>
    254                                 </select></td>
    255                                 <td>
    256                                 <p><font face="Tahoma" size="2"><?php esc_html_e('Show/Hide the plugin icon on the top admin bar','wp-content-copy-protector'); ?></font></td>
    257                         </tr>
    258                         <tr>
    259                                 <td width="221" height="33"><font face="Tahoma" size="2"><?php echo wp_kses( __('Exclude <u>Admin</u> from protection','wp-content-copy-protector'), $wccp_free_allowed_tags ); ?></font></td>
    260                                 <td width="88px">
    261                                 <p align="center"><a style="color:#FF0000;" target="_blank" href="https://www.wp-buy.com/product/wp-content-copy-protection-pro/">
    262                                 <?php esc_html_e('Premium','wp-content-copy-protector'); ?></a></td>
    263                                 <td>
    264                                 <font face="Tahoma" size="2"><?php echo wp_kses( __('If <u>Yes</u>, The protection functions will be inactive for the admin when he is logged in','wp-content-copy-protector'), $wccp_free_allowed_tags ); ?></font></td>
    265                         </tr>
    266                         <tr>
    267                                 <td width="221" height="33"><font face="Tahoma" size="2"><?php esc_html_e('Selection disabled message','wp-content-copy-protector'); ?></font></td>
    268                                 <td colspan="2">
    269                                 <table border="0" width="59%" cellspacing="0" cellpadding="0">
    270                                         <tr>
    271                                                 <td>
    272                                                 <input type="text" style="width: 100%;" placeholder="Enter something" class="form-control" name="smessage"  value="<?php echo esc_attr( html_entity_decode( $wccp_settings['smessage'], ENT_QUOTES, 'UTF-8' ) ); ?>"></td>
    273                                         </tr>
    274                                 </table>
    275                                 </td>
    276                         </tr>
    277                         <tr>
    278                                 <td width="221" height="33"><font face="Tahoma" size="2"><?php esc_html_e('Print preview message','wp-content-copy-protector'); ?></font></td>
    279                                 <td colspan="2">
    280                                 <table border="0" width="99%" cellspacing="0" cellpadding="0">
    281                                         <tr>
    282                                                 <td>
    283                                                 <textarea placeholder="Enter something" style="height: 110px; width: 100%;" class="form-control" name="prnt_scr_msg"><?php echo esc_textarea( html_entity_decode( $wccp_settings['prnt_scr_msg'], ENT_QUOTES, 'UTF-8' ) ); ?></textarea></td>
    284                                         </tr>
    285                                 </table>
    286                                 </td>
    287                         </tr>
    288                         </table></div>
    289                         </td>
    290                         </tr>
    291         </table>
    292 </td>
    293         </tr>
    294 </table></div>
    295 <div class="simpleTabsContent">
    296         <h4><?php esc_html_e('Copy Protection on RightClick','wp-content-copy-protector'); ?> (<font color="#008000"><?php esc_html_e('Premium Layer 2','wp-content-copy-protector'); ?></font>):</h4>
    297         <p><font face="Tahoma" size="2"><?php echo wp_kses( __('In this protection layer your visitors will be able to <u>right click</u> on a specific page elements only (such as Links as an example)','wp-content-copy-protector'), $wccp_free_allowed_tags ); ?></font></p>
    298         <div id="layer4">
    299                 <table border="0" width="100%" height="361" cellspacing="0" cellpadding="0">
    300                         <tr>
    301                                 <td height="53" width="21%"><font face="Tahoma" size="2"><?php echo wp_kses( __('Disable <u>RightClick</u> on','wp-content-copy-protector'), $wccp_free_allowed_tags ); ?></font></td>
    302                                 <td height="53">
    303                                 <table border="0" width="521" height="100%" cellspacing="1" cellpadding="0">
    304                                         <tr>
    305                                                 <td width="161" height="46">
    306                                 <label class="checkbox" for="checkbox1">
    307                                         <font face="Tahoma">
    308                                         <input data-toggle="checkbox" type="checkbox" name="right_click_protection_posts" value="checked" <?php checked( $wccp_settings['right_click_protection_posts'], 'checked' ); ?>><font size="2"><?php esc_html_e('Posts','wp-content-copy-protector'); ?></font></font>
     250
     251<div id="wpb-admin" class="no-js">
     252
     253        <!-- ============ Head ============ -->
     254        <div class="wpb-head">
     255                <div class="wpb-head__main">
     256                        <span class="wpb-eyebrow"><?php wccp_free_icon('shield'); ?><?php esc_html_e('Content protection', 'wp-content-copy-protector'); ?></span>
     257                        <h1 class="wpb-title">
     258                                <?php esc_html_e('WP Content Copy Protection', 'wp-content-copy-protector'); ?>
     259                                <span class="gradient-text"><?php esc_html_e('& No Right Click', 'wp-content-copy-protector'); ?></span>
     260                        </h1>
     261                        <p class="wpb-subtitle"><?php esc_html_e('Stop visitors from selecting, copying, printing or right-clicking your posts, pages and images. Switch a layer on below, save, and it is live on the front end.', 'wp-content-copy-protector'); ?></p>
     262                </div>
     263                <div class="wpb-badges">
     264                        <span class="wpb-badge"><?php wccp_free_icon('check'); ?><?php esc_html_e('Free version active', 'wp-content-copy-protector'); ?></span>
     265                        <span class="wpb-badge"><?php wccp_free_icon('lock'); ?><?php esc_html_e('3 protection layers', 'wp-content-copy-protector'); ?></span>
     266                </div>
     267        </div>
     268
     269        <!-- ============ Featured banner - PRO advertisement ============ -->
     270        <div class="wpb-featured">
     271                <div class="wpb-featured__icon">
     272                        <img src="<?php echo esc_url($wccp_free_pluginsurl); ?>/images/wccp-free-box-96x96.webp" alt="">
     273                </div>
     274                <div class="wpb-featured__info">
     275                        <span class="wpb-featured__tag">&#9733; <?php esc_html_e('Featured', 'wp-content-copy-protector'); ?></span>
     276                        <h2 class="wpb-featured__title"><?php esc_html_e('WP Content Copy Protection & No Right Click (PRO)', 'wp-content-copy-protector'); ?></h2>
     277                        <p class="wpb-featured__desc"><?php esc_html_e('The ultimate defense for your hard work. Full right-click control, image watermarking, aggressive image protection and per-post protection levels - everything the free layers leave on the table.', 'wp-content-copy-protector'); ?></p>
     278                        <ul class="wpb-featured__points">
     279                                <li><?php wccp_free_icon('check'); ?><?php esc_html_e('Full watermarking', 'wp-content-copy-protector'); ?></li>
     280                                <li><?php wccp_free_icon('check'); ?><?php esc_html_e('Aggressive protection', 'wp-content-copy-protector'); ?></li>
     281                                <li><?php wccp_free_icon('check'); ?><?php esc_html_e('Post types protection', 'wp-content-copy-protector'); ?></li>
     282                                <li><?php wccp_free_icon('star'); ?><?php esc_html_e('Rated 4.9 by hundreds', 'wp-content-copy-protector'); ?></li>
     283                        </ul>
     284                </div>
     285                <div class="wpb-featured__buy">
     286                        <div class="wpb-featured__price"><?php esc_html_e('Live Demo', 'wp-content-copy-protector'); ?></div>
     287                        <a class="wpb-featured__btn" target="_blank" rel="noopener" href="<?php echo esc_url($wccp_free_pro_url); ?>"><?php esc_html_e('View Details', 'wp-content-copy-protector'); ?></a>
     288                        <span class="wpb-featured__mbg"><?php esc_html_e('30-Day Money Back', 'wp-content-copy-protector'); ?></span>
     289                </div>
     290        </div>
     291
     292        <form method="POST">
     293                <input type="hidden" value="update" name="action">
     294                <?php wp_nonce_field('Save_settings_nonce', '_Save_settings'); ?>
     295                <?php wp_nonce_field('Restore_defaults_nonce', '_Restore_defaults'); ?>
     296
     297                <!-- ============ Pill rail - replaces the old tabs ============ -->
     298                <div class="wpb-pills" role="tablist" aria-label="<?php esc_attr_e('Settings sections', 'wp-content-copy-protector'); ?>">
     299                        <button type="button" class="wpb-pill" role="tab" id="wpb-pill-main" data-panel="wpb-panel-main" aria-controls="wpb-panel-main" aria-selected="false">
     300                                <?php wccp_free_icon('code'); ?><?php esc_html_e('Main Settings', 'wp-content-copy-protector'); ?>
     301                        </button>
     302                        <button type="button" class="wpb-pill" role="tab" id="wpb-pill-click" data-panel="wpb-panel-click" aria-controls="wpb-panel-click" aria-selected="false">
     303                                <?php wccp_free_icon('mouse'); ?><?php esc_html_e('RightClick Protection', 'wp-content-copy-protector'); ?>
     304                        </button>
     305                        <button type="button" class="wpb-pill" role="tab" id="wpb-pill-css" data-panel="wpb-panel-css" aria-controls="wpb-panel-css" aria-selected="false">
     306                                <?php wccp_free_icon('brush'); ?><?php esc_html_e('Protection by CSS', 'wp-content-copy-protector'); ?>
     307                        </button>
     308                        <button type="button" class="wpb-pill" role="tab" id="wpb-pill-pro" data-panel="wpb-panel-pro" aria-controls="wpb-panel-pro" aria-selected="false">
     309                                <?php wccp_free_icon('sparkles'); ?><?php esc_html_e('More with PRO', 'wp-content-copy-protector'); ?>
     310                        </button>
     311                </div>
     312
     313                <!-- ============ Panel 1 - Main settings ============ -->
     314                <div class="wpb-panel" id="wpb-panel-main" role="tabpanel" aria-labelledby="wpb-pill-main" tabindex="0">
     315                        <div class="wpb-card">
     316                                <div class="wpb-card__head">
     317                                        <span class="wpb-card__ic"><?php wccp_free_icon('code'); ?></span>
     318                                        <h2 class="wpb-card__title"><?php esc_html_e('Copy Protection using JavaScript', 'wp-content-copy-protector'); ?></h2>
     319                                        <span class="wpb-tag wpb-tag--free"><?php esc_html_e('Basic Layer', 'wp-content-copy-protector'); ?></span>
     320                                </div>
     321                                <p class="wpb-card__desc"><?php echo wp_kses(__('This is the basic protection layer that uses <u>JavaScript</u> to protect the posts, home page content from being copied by any other web site author.', 'wp-content-copy-protector'), $wccp_free_allowed_tags); ?></p>
     322
     323                                <div class="wpb-fields">
     324                                        <div class="wpb-field">
     325                                                <label class="wpb-field__label" for="single_posts_protection"><?php echo wp_kses(__('Posts protection by <u>JavaScript</u>', 'wp-content-copy-protector'), $wccp_free_allowed_tags); ?></label>
     326                                                <?php wccp_free_select('single_posts_protection', $wccp_free_onoff, $wccp_settings['single_posts_protection'], 'Disabled'); ?>
     327                                                <p class="wpb-field__hint"><?php esc_html_e('For single posts content', 'wp-content-copy-protector'); ?></p>
     328                                        </div>
     329
     330                                        <div class="wpb-field">
     331                                                <label class="wpb-field__label" for="home_page_protection"><?php echo wp_kses(__('Homepage protection by <u>JavaScript</u>', 'wp-content-copy-protector'), $wccp_free_allowed_tags); ?></label>
     332                                                <?php wccp_free_select('home_page_protection', $wccp_free_onoff, $wccp_settings['home_page_protection'], 'Disabled'); ?>
     333                                                <p class="wpb-field__hint"><?php esc_html_e('Don\'t copy any thing! even from my homepage', 'wp-content-copy-protector'); ?></p>
     334                                        </div>
     335
     336                                        <div class="wpb-field">
     337                                                <label class="wpb-field__label" for="page_protection"><?php esc_html_e('Static page\'s protection', 'wp-content-copy-protector'); ?></label>
     338                                                <?php wccp_free_select('page_protection', $wccp_free_onoff, $wccp_settings['page_protection'], 'Disabled'); ?>
     339                                                <p class="wpb-field__hint"><?php esc_html_e('Use Premium Settings tab to customize more options', 'wp-content-copy-protector'); ?></p>
     340                                        </div>
     341
     342                                        <div class="wpb-field">
     343                                                <label class="wpb-field__label" for="top_bar_icon_btn"><?php esc_html_e('Plugin icon on top admin bar', 'wp-content-copy-protector'); ?></label>
     344                                                <?php
     345                                                wccp_free_select(
     346                                                        'top_bar_icon_btn',
     347                                                        array(
     348                                                                'Visible' => __('Visible', 'wp-content-copy-protector'),
     349                                                                'Hidden'  => __('Hidden', 'wp-content-copy-protector'),
     350                                                        ),
     351                                                        isset($wccp_settings['top_bar_icon_btn']) ? $wccp_settings['top_bar_icon_btn'] : '',
     352                                                        'Visible'
     353                                                );
     354                                                ?>
     355                                                <p class="wpb-field__hint"><?php esc_html_e('Show/Hide the plugin icon on the top admin bar', 'wp-content-copy-protector'); ?></p>
     356                                        </div>
     357
     358                                        <div class="wpb-field">
     359                                                <span class="wpb-field__label"><?php echo wp_kses(__('Exclude <u>Admin</u> from protection', 'wp-content-copy-protector'), $wccp_free_allowed_tags); ?></span>
     360                                                <span class="wpb-field__locked">
     361                                                        <a class="wpb-tag wpb-tag--pro" target="_blank" rel="noopener" href="<?php echo esc_url($wccp_free_pro_url); ?>"><?php wccp_free_icon('lock'); ?><?php esc_html_e('Premium', 'wp-content-copy-protector'); ?></a>
     362                                                </span>
     363                                                <p class="wpb-field__hint"><?php echo wp_kses(__('If <u>Yes</u>, The protection functions will be inactive for the admin when he is logged in', 'wp-content-copy-protector'), $wccp_free_allowed_tags); ?></p>
     364                                        </div>
     365
     366                                        <div class="wpb-field wpb-field--wide">
     367                                                <label class="wpb-field__label" for="smessage"><?php esc_html_e('Selection disabled message', 'wp-content-copy-protector'); ?></label>
     368                                                <input type="text" id="smessage" placeholder="<?php esc_attr_e('Enter something', 'wp-content-copy-protector'); ?>" name="smessage" value="<?php echo esc_attr(html_entity_decode($wccp_settings['smessage'], ENT_QUOTES, 'UTF-8')); ?>">
     369                                        </div>
     370
     371                                        <div class="wpb-field wpb-field--wide wpb-field--top">
     372                                                <label class="wpb-field__label" for="prnt_scr_msg"><?php esc_html_e('Print preview message', 'wp-content-copy-protector'); ?></label>
     373                                                <textarea id="prnt_scr_msg" placeholder="<?php esc_attr_e('Enter something', 'wp-content-copy-protector'); ?>" name="prnt_scr_msg"><?php echo esc_textarea(html_entity_decode($wccp_settings['prnt_scr_msg'], ENT_QUOTES, 'UTF-8')); ?></textarea>
     374                                        </div>
     375                                </div>
     376
     377                                <div class="wpb-card__foot">
     378                                        <div class="wpb-meta">
     379                                                <span class="wpb-chip wpb-chip--safe"><?php wccp_free_icon('check'); ?><?php esc_html_e('Works with every theme', 'wp-content-copy-protector'); ?></span>
     380                                                <span class="wpb-sep"></span>
     381                                                <span class="wpb-chip"><?php wccp_free_icon('phone'); ?><?php esc_html_e('Desktop & mobile', 'wp-content-copy-protector'); ?></span>
     382                                        </div>
     383                                        <a class="wpb-btn wpb-btn--ghost" target="_blank" rel="noopener" href="<?php echo esc_url($wccp_free_pro_url); ?>"><?php wccp_free_icon('sparkles'); ?><?php esc_html_e('Unlock more options', 'wp-content-copy-protector'); ?></a>
     384                                </div>
     385                        </div>
     386                </div>
     387
     388                <!-- ============ Panel 2 - RightClick ============ -->
     389                <div class="wpb-panel" id="wpb-panel-click" role="tabpanel" aria-labelledby="wpb-pill-click" tabindex="0">
     390                        <div class="wpb-card">
     391                                <div class="wpb-card__head">
     392                                        <span class="wpb-card__ic"><?php wccp_free_icon('mouse'); ?></span>
     393                                        <h2 class="wpb-card__title"><?php esc_html_e('Copy Protection on RightClick', 'wp-content-copy-protector'); ?></h2>
     394                                        <span class="wpb-tag wpb-tag--layer"><?php esc_html_e('Premium Layer 2', 'wp-content-copy-protector'); ?></span>
     395                                </div>
     396                                <p class="wpb-card__desc"><?php echo wp_kses(__('In this protection layer your visitors will be able to <u>right click</u> on a specific page elements only (such as Links as an example)', 'wp-content-copy-protector'), $wccp_free_allowed_tags); ?></p>
     397
     398                                <div class="wpb-fields">
     399                                        <div class="wpb-field">
     400                                                <span class="wpb-field__label"><?php echo wp_kses(__('Disable <u>RightClick</u> on', 'wp-content-copy-protector'), $wccp_free_allowed_tags); ?></span>
     401                                                <label class="wpb-check">
     402                                                        <input type="checkbox" name="right_click_protection_posts" value="checked" <?php checked($wccp_settings['right_click_protection_posts'], 'checked'); ?>>
     403                                                        <?php esc_html_e('Posts', 'wp-content-copy-protector'); ?>
    309404                                                </label>
    310                                                 </td>
    311                                                 <td width="161" height="46">
    312                                 <label class="checkbox" for="checkbox1">
    313                                         <font face="Tahoma">
    314                                         <input data-toggle="checkbox" type="checkbox" name="right_click_protection_homepage" value="checked" <?php checked( $wccp_settings['right_click_protection_homepage'], 'checked' ); ?>><font size="2"><?php esc_html_e('HomePage','wp-content-copy-protector'); ?></font></font>
     405                                                <p class="wpb-field__hint"><?php esc_html_e('Kills the right-click context menu on single posts - no "Save As", no "View Source", no easy theft.', 'wp-content-copy-protector'); ?></p>
     406                                        </div>
     407
     408                                        <div class="wpb-field">
     409                                                <span class="wpb-field__label"><?php echo wp_kses(__('Disable <u>RightClick</u> on', 'wp-content-copy-protector'), $wccp_free_allowed_tags); ?></span>
     410                                                <label class="wpb-check">
     411                                                        <input type="checkbox" name="right_click_protection_homepage" value="checked" <?php checked($wccp_settings['right_click_protection_homepage'], 'checked'); ?>>
     412                                                        <?php esc_html_e('HomePage', 'wp-content-copy-protector'); ?>
    315413                                                </label>
    316                                                 </td>
    317                                                 <td width="185" height="46">
    318                                 <label class="checkbox" for="checkbox1">
    319                                         <font face="Tahoma">
    320                                         <input data-toggle="checkbox" type="checkbox" name="right_click_protection_pages" value="checked" <?php checked( $wccp_settings['right_click_protection_pages'], 'checked' ); ?>><font size="2"><?php esc_html_e('Static pages','wp-content-copy-protector'); ?></font></font>
    321                                 </label>
    322                                                 </td>
    323                                         </tr>
    324                                         </table>
    325                                 </td>
    326                         </tr>
    327                         <tr>
    328                                 <td height="44" colspan="2">
    329                                 <p><font color="#FF0000" face="Tahoma" size="2"><?php esc_html_e('Remaining premium options preview image ','wp-content-copy-protector'); ?></font>
    330                                 <img src="<?php echo esc_url( $wccp_free_pluginsurl ) ?>/images/click-here-arrow.png" id="irc_mi">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    331                                 <b><font color="#0909FF"><u>
    332                                 <a target="_blank" href="https://www.wp-buy.com/product/wp-content-copy-protection-pro/">
    333                                 <font color="#0909FF"><?php esc_html_e('Preview & Pricing','wp-content-copy-protector'); ?></font></a></u></font></b>
    334                                 </td>
    335                         </tr>
    336                         <tr>
    337                                 <td height="264" colspan="2">
    338                                 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    339                                 <a target="_blank" href="https://www.wp-buy.com/product/wp-content-copy-protection-pro/">
    340                                 <img class="size-full" border="1" src="<?php echo esc_url( $wccp_free_pluginsurl ) ?>/images/right-click-protection.jpg" style="border: 1px dotted #C0C0C0"></a><p>&nbsp;</td>
    341                         </tr>
    342                         </table></div>
     414                                                <p class="wpb-field__hint"><?php esc_html_e('Disables the right-click pop-up across your homepage so visitors can read, but can\'t harvest your content.', 'wp-content-copy-protector'); ?></p>
     415                                        </div>
     416
     417                                        <div class="wpb-field">
     418                                                <span class="wpb-field__label"><?php echo wp_kses(__('Disable <u>RightClick</u> on', 'wp-content-copy-protector'), $wccp_free_allowed_tags); ?></span>
     419                                                <label class="wpb-check">
     420                                                        <input type="checkbox" name="right_click_protection_pages" value="checked" <?php checked($wccp_settings['right_click_protection_pages'], 'checked'); ?>>
     421                                                        <?php esc_html_e('Static pages', 'wp-content-copy-protector'); ?>
     422                                                </label>
     423                                                <p class="wpb-field__hint"><?php esc_html_e('Turns off the right-click menu on every static page - your About, Services and landing copy stay yours.', 'wp-content-copy-protector'); ?></p>
     424                                        </div>
     425
     426                                        <div class="wpb-field">
     427                                                <span class="wpb-field__label"><?php echo wp_kses(__('Disable <u>RightClick</u> on', 'wp-content-copy-protector'), $wccp_free_allowed_tags); ?></span>
     428                                                <span class="wpb-field__locked">
     429                                                        <a class="wpb-tag wpb-tag--pro" target="_blank" rel="noopener" href="<?php echo esc_url($wccp_free_pro_url); ?>"><?php wccp_free_icon('lock'); ?><?php esc_html_e('Any post type', 'wp-content-copy-protector'); ?></a>
     430                                                </span>
     431                                                <p class="wpb-field__hint"><?php echo wp_kses(__('<b>PRO</b> unlocks the same right-click lock on <u>any</u> post type you pick - WooCommerce products, listings, portfolios, courses, downloads. Sell on a marketplace? Your product photos and descriptions stop being one right-click away from a competitor.', 'wp-content-copy-protector'), $wccp_free_allowed_tags); ?></p>
     432                                        </div>
     433                                </div>
     434                        </div>
     435
     436                        <div class="wpb-card">
     437                                <div class="wpb-card__head">
     438                                        <span class="wpb-card__ic"><?php wccp_free_icon('eye'); ?></span>
     439                                        <h2 class="wpb-card__title"><?php esc_html_e('Remaining premium options preview', 'wp-content-copy-protector'); ?></h2>
     440                                        <span class="wpb-tag wpb-tag--pro"><?php esc_html_e('PRO', 'wp-content-copy-protector'); ?></span>
     441                                </div>
     442                                <p class="wpb-card__desc"><?php esc_html_e('PRO gives you a rule per element - images, links, text boxes, plain text - each with its own alert message.', 'wp-content-copy-protector'); ?></p>
     443
     444                                <div class="wpb-shots">
     445                                        <a class="wpb-shot" target="_blank" rel="noopener" href="<?php echo esc_url($wccp_free_pro_url); ?>">
     446                                                <img src="<?php echo esc_url($wccp_free_pluginsurl); ?>/images/right-click-protection.webp" alt="<?php esc_attr_e('Right click protection options in the PRO version', 'wp-content-copy-protector'); ?>">
     447                                        </a>
     448                                </div>
     449
     450                                <div class="wpb-card__foot">
     451                                        <div class="wpb-meta">
     452                                                <span class="wpb-chip"><?php wccp_free_icon('star'); ?><?php esc_html_e('Preview & Pricing', 'wp-content-copy-protector'); ?></span>
     453                                        </div>
     454                                        <a class="wpb-btn wpb-btn--primary" target="_blank" rel="noopener" href="<?php echo esc_url($wccp_free_pro_url); ?>"><?php wccp_free_icon('sparkles'); ?><?php esc_html_e('Get the PRO version', 'wp-content-copy-protector'); ?></a>
     455                                </div>
     456                        </div>
     457                </div>
     458
     459                <!-- ============ Panel 3 - CSS ============ -->
     460                <div class="wpb-panel" id="wpb-panel-css" role="tabpanel" aria-labelledby="wpb-pill-css" tabindex="0">
     461                        <div class="wpb-card">
     462                                <div class="wpb-card__head">
     463                                        <span class="wpb-card__ic"><?php wccp_free_icon('brush'); ?></span>
     464                                        <h2 class="wpb-card__title"><?php esc_html_e('Protection by CSS Techniques', 'wp-content-copy-protector'); ?></h2>
     465                                        <span class="wpb-tag wpb-tag--layer"><?php esc_html_e('Premium Layer 3', 'wp-content-copy-protector'); ?></span>
     466                                </div>
     467                                <p class="wpb-card__desc"><?php echo wp_kses(__('In this protection layer your website will be protected by some <u>CSS</u> tricks that will word even if <u>JavaScript</u> is disabled from the browser settings', 'wp-content-copy-protector'), $wccp_free_allowed_tags); ?></p>
     468
     469                                <div class="wpb-fields">
     470                                        <div class="wpb-field">
     471                                                <label class="wpb-field__label" for="home_css_protection"><?php echo wp_kses(__('<b>Home Page</b> Protection by CSS', 'wp-content-copy-protector'), $wccp_free_allowed_tags); ?></label>
     472                                                <?php wccp_free_select('home_css_protection', $wccp_free_onoff, $wccp_settings['home_css_protection'], 'Disabled'); ?>
     473                                                <p class="wpb-field__hint"><?php esc_html_e('Protect your Homepage by CSS tricks', 'wp-content-copy-protector'); ?></p>
     474                                        </div>
     475
     476                                        <div class="wpb-field">
     477                                                <label class="wpb-field__label" for="posts_css_protection"><?php echo wp_kses(__('<b>Posts</b> Protection by CSS', 'wp-content-copy-protector'), $wccp_free_allowed_tags); ?></label>
     478                                                <?php wccp_free_select('posts_css_protection', $wccp_free_onoff, $wccp_settings['posts_css_protection'], 'Disabled'); ?>
     479                                                <p class="wpb-field__hint">
     480                                                        <?php esc_html_e('Protect your single posts by CSS tricks', 'wp-content-copy-protector'); ?>
     481                                                        <span class="wpb-tag wpb-tag--free"><?php esc_html_e('PRO option, unlocked for free', 'wp-content-copy-protector'); ?></span>
     482                                                </p>
     483                                        </div>
     484
     485                                        <div class="wpb-field">
     486                                                <span class="wpb-field__label"><?php echo wp_kses(__('<b>Pages</b> Protection by CSS', 'wp-content-copy-protector'), $wccp_free_allowed_tags); ?></span>
     487                                                <span class="wpb-field__locked">
     488                                                        <a class="wpb-tag wpb-tag--pro" target="_blank" rel="noopener" href="<?php echo esc_url($wccp_free_pro_url); ?>"><?php wccp_free_icon('lock'); ?><?php esc_html_e('Premium', 'wp-content-copy-protector'); ?></a>
     489                                                </span>
     490                                                <p class="wpb-field__hint"><?php esc_html_e('Protect your static pages by CSS tricks', 'wp-content-copy-protector'); ?></p>
     491                                        </div>
     492                                </div>
     493
     494                                <div class="wpb-card__foot">
     495                                        <div class="wpb-meta">
     496                                                <span class="wpb-chip wpb-chip--safe"><?php wccp_free_icon('check'); ?><?php esc_html_e('Keeps working with JavaScript disabled', 'wp-content-copy-protector'); ?></span>
     497                                        </div>
     498                                        <a class="wpb-btn wpb-btn--ghost" target="_blank" rel="noopener" href="<?php echo esc_url($wccp_free_pro_url); ?>"><?php wccp_free_icon('lock'); ?><?php esc_html_e('Unlock pages protection', 'wp-content-copy-protector'); ?></a>
     499                                </div>
     500                        </div>
     501                </div>
     502
     503                <!-- ============ Panel 4 - More with PRO ============ -->
     504                <div class="wpb-panel" id="wpb-panel-pro" role="tabpanel" aria-labelledby="wpb-pill-pro" tabindex="0">
     505                        <div class="wpb-card">
     506                                <div class="wpb-card__head">
     507                                        <span class="wpb-card__ic"><?php wccp_free_icon('image'); ?></span>
     508                                        <h2 class="wpb-card__title"><?php esc_html_e('See what the PRO version adds', 'wp-content-copy-protector'); ?></h2>
     509                                        <span class="wpb-tag wpb-tag--pro"><?php esc_html_e('Limited-time discount', 'wp-content-copy-protector'); ?></span>
     510                                </div>
     511                                <p class="wpb-card__desc"><?php esc_html_e('Crazy discount offer is now running for a limited time!! You might love it', 'wp-content-copy-protector'); ?></p>
     512
     513                                <div class="wpb-shots">
     514                                        <a class="wpb-shot" target="_blank" rel="noopener" href="<?php echo esc_url($wccp_free_pro_url); ?>">
     515                                                <img src="<?php echo esc_url($wccp_free_pluginsurl); ?>/images/smart-phones-protection.webp" alt="<?php esc_attr_e('Smartphone protection in the PRO version', 'wp-content-copy-protector'); ?>">
     516                                        </a>
     517                                        <a class="wpb-shot" target="_blank" rel="noopener" href="<?php echo esc_url($wccp_free_pro_url); ?>">
     518                                                <img src="<?php echo esc_url($wccp_free_pluginsurl); ?>/images/watermark-adv.webp" alt="<?php esc_attr_e('Image watermarking in the PRO version', 'wp-content-copy-protector'); ?>">
     519                                        </a>
     520                                        <a class="wpb-shot" target="_blank" rel="noopener" href="<?php echo esc_url($wccp_free_pro_url); ?>">
     521                                                <img src="<?php echo esc_url($wccp_free_pluginsurl); ?>/images/watermarking-adv-examples.webp" alt="<?php esc_attr_e('Watermarking examples from the PRO version', 'wp-content-copy-protector'); ?>">
     522                                        </a>
     523                                </div>
     524
     525                                <div class="wpb-card__foot">
     526                                        <div class="wpb-meta">
     527                                                <span class="wpb-chip wpb-chip--safe"><?php wccp_free_icon('check'); ?><?php esc_html_e('30-Day Money Back', 'wp-content-copy-protector'); ?></span>
     528                                                <span class="wpb-sep"></span>
     529                                                <span class="wpb-chip"><?php wccp_free_icon('star'); ?><?php esc_html_e('Rated 4.9 by hundreds', 'wp-content-copy-protector'); ?></span>
     530                                        </div>
     531                                        <a class="wpb-btn wpb-btn--primary" target="_blank" rel="noopener" href="<?php echo esc_url($wccp_free_pro_url); ?>"><?php wccp_free_icon('sparkles'); ?><?php esc_html_e('See it now', 'wp-content-copy-protector'); ?></a>
     532                                </div>
     533                        </div>
     534
     535                        <div class="wpb-card">
     536                                <div class="wpb-card__head">
     537                                        <span class="wpb-card__ic"><?php wccp_free_icon('sparkles'); ?></span>
     538                                        <h2 class="wpb-card__title"><?php esc_html_e('Premium features', 'wp-content-copy-protector'); ?></h2>
     539                                        <span class="wpb-tag wpb-tag--pro"><?php wccp_free_icon('lock'); ?><?php esc_html_e('PRO only', 'wp-content-copy-protector'); ?></span>
     540                                        <span class="wpb-tag wpb-tag--layer"><?php wccp_free_icon('layers'); ?><?php esc_html_e('7 protection modules', 'wp-content-copy-protector'); ?></span>
     541                                        <div class="wpb-switch" role="group" aria-label="<?php esc_attr_e('Choose how the premium features are shown', 'wp-content-copy-protector'); ?>">
     542                                                <button type="button" class="wpb-switch__btn is-active" data-view="wpb-view-plans" aria-pressed="true"><?php wccp_free_icon('grid'); ?><?php esc_html_e('Plans', 'wp-content-copy-protector'); ?></button>
     543                                                <button type="button" class="wpb-switch__btn" data-view="wpb-view-detailed" aria-pressed="false"><?php wccp_free_icon('layers'); ?><?php esc_html_e('Detailed info', 'wp-content-copy-protector'); ?></button>
     544                                        </div>
     545                                </div>
     546
     547                                <!-- View A - the three plans (default) -->
     548                                <div class="wpb-view is-active" id="wpb-view-plans">
     549                                        <p class="wpb-card__desc"><?php esc_html_e('Three ways to run the plugin. You are on the free plan - the paid plans keep everything you already have and add the modules below on top of it.', 'wp-content-copy-protector'); ?></p>
     550
     551                                        <!-- The prices below are the full list prices, so the running promotion is announced right next to them. -->
     552                                        <div class="wpb-plans__promo">
     553                                                <span class="wpb-plans__promo-ic"><?php wccp_free_icon('zap'); ?></span>
     554                                                <p class="wpb-plans__promo-txt">
     555                                                        <b><?php esc_html_e('These are the full prices, with no discount applied.', 'wp-content-copy-protector'); ?></b>
     556                                                        <?php esc_html_e('A discount of up to 50% is waiting for you on our website - check the running offer before you buy.', 'wp-content-copy-protector'); ?>
     557                                                </p>
     558                                        </div>
     559
     560                                        <div class="wpb-plans">
     561
     562                                                <div class="wpb-plan wpb-plan--current">
     563                                                        <div class="wpb-plan__head">
     564                                                                <span class="wpb-plan__ic"><?php wccp_free_icon('copy'); ?></span>
     565                                                                <div class="wpb-plan__id">
     566                                                                        <h3 class="wpb-plan__name"><?php esc_html_e('FREE', 'wp-content-copy-protector'); ?></h3>
     567                                                                        <p class="wpb-plan__note"><?php esc_html_e('Basic protection for your content', 'wp-content-copy-protector'); ?></p>
     568                                                                </div>
     569                                                        </div>
     570
     571                                                        <p class="wpb-plan__price">
     572                                                                <span class="wpb-plan__amount"><span class="wpb-plan__cur">$</span>0</span>
     573                                                                <span class="wpb-plan__per"><?php esc_html_e('/ forever', 'wp-content-copy-protector'); ?></span>
     574                                                        </p>
     575                                                        <span class="wpb-tag wpb-tag--free wpb-plan__badge"><?php wccp_free_icon('check'); ?><?php esc_html_e('Current plan', 'wp-content-copy-protector'); ?></span>
     576
     577                                                        <ul class="wpb-plan__list">
     578                                                                <li><?php wccp_free_icon('check'); ?><?php esc_html_e('Disable right-click', 'wp-content-copy-protector'); ?></li>
     579                                                                <li><?php wccp_free_icon('check'); ?><?php esc_html_e('Prevent text selection', 'wp-content-copy-protector'); ?></li>
     580                                                                <li><?php wccp_free_icon('check'); ?><?php esc_html_e('Basic alert messages', 'wp-content-copy-protector'); ?></li>
     581                                                                <li><?php wccp_free_icon('check'); ?><?php esc_html_e('CSS protection layer', 'wp-content-copy-protector'); ?></li>
     582                                                                <li><?php wccp_free_icon('check'); ?><?php esc_html_e('Works on your site content', 'wp-content-copy-protector'); ?></li>
     583                                                        </ul>
     584
     585                                                        <span class="wpb-plan__cta wpb-plan__cta--current"><?php esc_html_e('Current plan', 'wp-content-copy-protector'); ?></span>
     586                                                </div>
     587
     588                                                <div class="wpb-plan">
     589                                                        <div class="wpb-plan__head">
     590                                                                <span class="wpb-plan__ic wpb-plan__ic--paid"><?php wccp_free_icon('shield'); ?></span>
     591                                                                <div class="wpb-plan__id">
     592                                                                        <h3 class="wpb-plan__name wpb-plan__name--paid"><?php esc_html_e('ESSENTIAL', 'wp-content-copy-protector'); ?></h3>
     593                                                                        <p class="wpb-plan__note"><?php esc_html_e('Advanced control and flexibility', 'wp-content-copy-protector'); ?></p>
     594                                                                </div>
     595                                                        </div>
     596
     597                                                        <p class="wpb-plan__price">
     598                                                                <span class="wpb-plan__amount"><span class="wpb-plan__cur">$</span>58</span>
     599                                                                <span class="wpb-plan__per"><?php esc_html_e('one-time', 'wp-content-copy-protector'); ?></span>
     600                                                        </p>
     601                                                        <span class="wpb-tag wpb-tag--layer wpb-plan__badge"><?php wccp_free_icon('clock'); ?><?php esc_html_e('Lifetime license', 'wp-content-copy-protector'); ?></span>
     602                                                        <p class="wpb-plan__care"><?php wccp_free_icon('refresh'); ?><?php esc_html_e('Support & updates $1 / month, paid as $9 per year.', 'wp-content-copy-protector'); ?></p>
     603
     604                                                        <ul class="wpb-plan__list">
     605                                                                <li><?php wccp_free_icon('check'); ?><?php esc_html_e('Everything in FREE', 'wp-content-copy-protector'); ?></li>
     606                                                                <li><?php wccp_free_icon('check'); ?><?php esc_html_e('Per-content protection rules', 'wp-content-copy-protector'); ?></li>
     607                                                                <li><?php wccp_free_icon('check'); ?><?php esc_html_e('Overlay protection & triggers', 'wp-content-copy-protector'); ?></li>
     608                                                                <li><?php wccp_free_icon('check'); ?><?php esc_html_e('Blocked shortcuts & print protection', 'wp-content-copy-protector'); ?></li>
     609                                                                <li><?php wccp_free_icon('check'); ?><?php esc_html_e('Advanced exclusion options', 'wp-content-copy-protector'); ?></li>
     610                                                                <li><?php wccp_free_icon('check'); ?><?php esc_html_e('Admin workflow tools', 'wp-content-copy-protector'); ?></li>
     611                                                                <li><?php wccp_free_icon('check'); ?><?php esc_html_e('Priority email support', 'wp-content-copy-protector'); ?></li>
     612                                                        </ul>
     613
     614                                                        <a class="wpb-btn wpb-btn--ghost wpb-plan__cta" target="_blank" rel="noopener" href="<?php echo esc_url($wccp_free_pro_url); ?>"><?php esc_html_e('Upgrade to ESSENTIAL', 'wp-content-copy-protector'); ?></a>
     615                                                </div>
     616
     617                                                <div class="wpb-plan wpb-plan--popular">
     618                                                        <span class="wpb-plan__ribbon"><?php wccp_free_icon('star'); ?><?php esc_html_e('Most Popular', 'wp-content-copy-protector'); ?></span>
     619
     620                                                        <div class="wpb-plan__head">
     621                                                                <span class="wpb-plan__ic wpb-plan__ic--paid"><?php wccp_free_icon('crown'); ?></span>
     622                                                                <div class="wpb-plan__id">
     623                                                                        <h3 class="wpb-plan__name wpb-plan__name--paid"><?php esc_html_e('COMPLETE', 'wp-content-copy-protector'); ?></h3>
     624                                                                        <p class="wpb-plan__note"><?php esc_html_e('Full protection. Maximum control.', 'wp-content-copy-protector'); ?></p>
     625                                                                </div>
     626                                                        </div>
     627
     628                                                        <p class="wpb-plan__price">
     629                                                                <span class="wpb-plan__amount"><span class="wpb-plan__cur">$</span>98</span>
     630                                                                <span class="wpb-plan__per"><?php esc_html_e('one-time', 'wp-content-copy-protector'); ?></span>
     631                                                        </p>
     632                                                        <span class="wpb-tag wpb-tag--layer wpb-plan__badge"><?php wccp_free_icon('clock'); ?><?php esc_html_e('Lifetime license', 'wp-content-copy-protector'); ?></span>
     633                                                        <p class="wpb-plan__care"><?php wccp_free_icon('refresh'); ?><?php esc_html_e('Support & updates $1 / month, paid as $9 per year.', 'wp-content-copy-protector'); ?></p>
     634
     635                                                        <ul class="wpb-plan__list">
     636                                                                <li><?php wccp_free_icon('check'); ?><?php esc_html_e('Everything in ESSENTIAL', 'wp-content-copy-protector'); ?></li>
     637                                                                <li><?php wccp_free_icon('check'); ?><?php esc_html_e('Full watermark protection', 'wp-content-copy-protector'); ?></li>
     638                                                                <li><?php wccp_free_icon('check'); ?><?php esc_html_e('Watermark presets & custom rules', 'wp-content-copy-protector'); ?></li>
     639                                                                <li><?php wccp_free_icon('check'); ?><?php esc_html_e('Logo, text and signature watermarking', 'wp-content-copy-protector'); ?></li>
     640                                                                <li><?php wccp_free_icon('check'); ?><?php esc_html_e('Automatic watermark colors & image filters', 'wp-content-copy-protector'); ?></li>
     641                                                                <li><?php wccp_free_icon('check'); ?><?php esc_html_e('Hotlinked images watermarked too', 'wp-content-copy-protector'); ?></li>
     642                                                                <li><?php wccp_free_icon('check'); ?><?php esc_html_e('Advanced targeting & scheduling', 'wp-content-copy-protector'); ?></li>
     643                                                                <li><?php wccp_free_icon('check'); ?><?php esc_html_e('Beta layers: DevTools & extension blocking', 'wp-content-copy-protector'); ?></li>
     644                                                                <li><?php wccp_free_icon('check'); ?><?php esc_html_e('Multisite support', 'wp-content-copy-protector'); ?></li>
     645                                                                <li><?php wccp_free_icon('check'); ?><?php esc_html_e('Premium support & updates', 'wp-content-copy-protector'); ?></li>
     646                                                        </ul>
     647
     648                                                        <a class="wpb-btn wpb-btn--primary wpb-plan__cta" target="_blank" rel="noopener" href="<?php echo esc_url($wccp_free_pro_url); ?>"><?php esc_html_e('Upgrade to COMPLETE', 'wp-content-copy-protector'); ?></a>
     649                                                </div>
     650
     651                                        </div>
     652
     653                                        <div class="wpb-plans__trust">
     654                                                <span class="wpb-chip wpb-chip--safe"><?php wccp_free_icon('shield'); ?><?php esc_html_e('30-Day Money Back Guarantee', 'wp-content-copy-protector'); ?></span>
     655                                                <span class="wpb-sep"></span>
     656                                                <span class="wpb-chip"><?php wccp_free_icon('clock'); ?><?php esc_html_e('Paid plans are lifetime licenses', 'wp-content-copy-protector'); ?></span>
     657                                                <span class="wpb-sep"></span>
     658                                                <span class="wpb-chip"><?php wccp_free_icon('star'); ?><?php esc_html_e('Rated 4.9/5 by 443 customers', 'wp-content-copy-protector'); ?></span>
     659                                                <span class="wpb-sep"></span>
     660                                                <span class="wpb-chip"><?php wccp_free_icon('layers'); ?><?php esc_html_e('Works with major themes and builders', 'wp-content-copy-protector'); ?></span>
     661                                        </div>
     662                                </div>
     663
     664                                <!-- View B - the module-by-module breakdown -->
     665                                <div class="wpb-view" id="wpb-view-detailed">
     666                                        <p class="wpb-card__desc"><?php esc_html_e('The PRO version keeps every free layer running and adds seven modules on top of them. Here is the full list, module by module.', 'wp-content-copy-protector'); ?></p>
     667
     668                                        <div class="wpb-pro-first">
     669                                                <span class="wpb-pro-first__num">1</span>
     670                                                <span class="wpb-pro-first__ic"><?php wccp_free_icon('shield'); ?></span>
     671                                                <div class="wpb-pro-first__txt">
     672                                                        <h3><?php esc_html_e('Everything in the free version', 'wp-content-copy-protector'); ?></h3>
     673                                                        <p><?php esc_html_e('JavaScript copy protection, right-click protection and CSS protection keep working exactly as they do now. PRO is built on top of them, nothing is taken away.', 'wp-content-copy-protector'); ?></p>
     674                                                </div>
     675                                                <span class="wpb-tag wpb-tag--free"><?php wccp_free_icon('check'); ?><?php esc_html_e('Included', 'wp-content-copy-protector'); ?></span>
     676                                        </div>
     677
     678                                        <div class="wpb-group">
     679                                                <h3 class="wpb-group__head">
     680                                                        <span class="wpb-group__num">2</span>
     681                                                        <span class="wpb-group__ic"><?php wccp_free_icon('pointer'); ?></span>
     682                                                        <span class="wpb-group__title"><?php esc_html_e('Selection Protection', 'wp-content-copy-protector'); ?></span>
     683                                                        <span class="wpb-group__n"><?php wccp_free_icon('check'); ?><?php esc_html_e('8 features', 'wp-content-copy-protector'); ?></span>
     684                                                </h3>
     685                                                <ul class="wpb-list wpb-list--pro">
     686                                                        <li><?php wccp_free_icon('layers'); ?><?php esc_html_e('Apply text-selection protection to any public content type: homepage, archives, categories, tags, taxonomies, author pages, search results, posts, pages, attachments, 404 pages, login pages and WooCommerce pages.', 'wp-content-copy-protector'); ?></li>
     687                                                        <li><?php wccp_free_icon('keyboard'); ?><?php esc_html_e('Block Ctrl+A, Ctrl+C, Ctrl+X, Ctrl+V, Ctrl+S, Ctrl+U, Ctrl+P, Print Screen, F12 / DevTools and drag and drop.', 'wp-content-copy-protector'); ?></li>
     688                                                        <li><?php wccp_free_icon('message'); ?><?php esc_html_e('Write your own message for blocked selection, blocked shortcuts, special keys and printing.', 'wp-content-copy-protector'); ?></li>
     689                                                        <li><?php wccp_free_icon('printer'); ?><?php esc_html_e('Custom print-protection output styling with a configurable print-disabled message.', 'wp-content-copy-protector'); ?></li>
     690                                                        <li><?php wccp_free_icon('code'); ?><?php esc_html_e('Allow selection inside code blocks so visitors can still use your code snippets.', 'wp-content-copy-protector'); ?></li>
     691                                                        <li><?php wccp_free_icon('copy'); ?><?php esc_html_e('Add a one-click copy button to code blocks without opening selection for the whole page.', 'wp-content-copy-protector'); ?></li>
     692                                                        <li><?php wccp_free_icon('palette'); ?><?php esc_html_e('Style the alert box with ready-made color palettes or manual colors, border width, glow, shadow strength, font size, display time and alert width and height.', 'wp-content-copy-protector'); ?></li>
     693                                                        <li><?php wccp_free_icon('eye'); ?><?php esc_html_e('Preview the alert message straight from the settings page before you save.', 'wp-content-copy-protector'); ?></li>
     694                                                </ul>
     695                                        </div>
     696
     697                                        <div class="wpb-group">
     698                                                <h3 class="wpb-group__head">
     699                                                        <span class="wpb-group__num">3</span>
     700                                                        <span class="wpb-group__ic"><?php wccp_free_icon('mouse'); ?></span>
     701                                                        <span class="wpb-group__title"><?php esc_html_e('Right Click Protection', 'wp-content-copy-protector'); ?></span>
     702                                                        <span class="wpb-group__n"><?php wccp_free_icon('check'); ?><?php esc_html_e('4 features', 'wp-content-copy-protector'); ?></span>
     703                                                </h3>
     704                                                <ul class="wpb-list wpb-list--pro">
     705                                                        <li><?php wccp_free_icon('layers'); ?><?php esc_html_e('Apply right-click protection to the content types you pick, using the same dynamic content-type picker.', 'wp-content-copy-protector'); ?></li>
     706                                                        <li><?php wccp_free_icon('mouse'); ?><?php esc_html_e('Block the context menu on images, links, text content, headings, text areas, text fields, empty spaces, videos, code blocks, canvas elements and audio players.', 'wp-content-copy-protector'); ?></li>
     707                                                        <li><?php wccp_free_icon('message'); ?><?php esc_html_e('Write a separate alert message for every protected HTML element type.', 'wp-content-copy-protector'); ?></li>
     708                                                        <li><?php wccp_free_icon('grid'); ?><?php esc_html_e('Read an active-count indicator for the protected right-click targets inside the control panel.', 'wp-content-copy-protector'); ?></li>
     709                                                </ul>
     710                                        </div>
     711
     712                                        <div class="wpb-group">
     713                                                <h3 class="wpb-group__head">
     714                                                        <span class="wpb-group__num">4</span>
     715                                                        <span class="wpb-group__ic"><?php wccp_free_icon('layers'); ?></span>
     716                                                        <span class="wpb-group__title"><?php esc_html_e('Overlay Protection', 'wp-content-copy-protector'); ?></span>
     717                                                        <span class="wpb-group__n"><?php wccp_free_icon('check'); ?><?php esc_html_e('4 features', 'wp-content-copy-protector'); ?></span>
     718                                                </h3>
     719                                                <ul class="wpb-list wpb-list--pro">
     720                                                        <li><?php wccp_free_icon('layers'); ?><?php esc_html_e('Put transparent overlays over your images on the public content types you choose.', 'wp-content-copy-protector'); ?></li>
     721                                                        <li><?php wccp_free_icon('link'); ?><?php esc_html_e('Remove image attachment links automatically when they are not needed.', 'wp-content-copy-protector'); ?></li>
     722                                                        <li><?php wccp_free_icon('shield'); ?><?php esc_html_e('Decide what happens when JavaScript is disabled, including hiding the protected content behind your own message.', 'wp-content-copy-protector'); ?></li>
     723                                                        <li><?php wccp_free_icon('crop'); ?><?php esc_html_e('Overlays follow the real rendered image size and position, so responsive and absolutely positioned images stay aligned after a resize.', 'wp-content-copy-protector'); ?></li>
     724                                                </ul>
     725                                        </div>
     726
     727                                        <div class="wpb-group">
     728                                                <h3 class="wpb-group__head">
     729                                                        <span class="wpb-group__num">5</span>
     730                                                        <span class="wpb-group__ic"><?php wccp_free_icon('droplet'); ?></span>
     731                                                        <span class="wpb-group__title"><?php esc_html_e('Watermark Protection', 'wp-content-copy-protector'); ?></span>
     732                                                        <span class="wpb-group__n"><?php wccp_free_icon('check'); ?><?php esc_html_e('16 features', 'wp-content-copy-protector'); ?></span>
     733                                                </h3>
     734                                                <ul class="wpb-list wpb-list--pro">
     735                                                        <li><?php wccp_free_icon('globe'); ?><?php esc_html_e('Watermark hotlinked images, images loaded on your own site, or both, through rewrite rules.', 'wp-content-copy-protector'); ?></li>
     736                                                        <li><?php wccp_free_icon('server'); ?><?php esc_html_e('Force watermarking on non-Apache servers when the rewrite rules cannot be applied automatically.', 'wp-content-copy-protector'); ?></li>
     737                                                        <li><?php wccp_free_icon('refresh'); ?><?php esc_html_e('Turn the watermark image cache on, or clear it, right from the settings page.', 'wp-content-copy-protector'); ?></li>
     738                                                        <li><?php wccp_free_icon('image'); ?><?php esc_html_e('Stamp a logo watermark with a percentage-based size and ready-made position presets.', 'wp-content-copy-protector'); ?></li>
     739                                                        <li><?php wccp_free_icon('type'); ?><?php esc_html_e('Add central text, repeated text and signature text over your images.', 'wp-content-copy-protector'); ?></li>
     740                                                        <li><?php wccp_free_icon('book'); ?><?php esc_html_e('Pick a separate font for the central text, the repeated text and the signature, including bundled Latin and Arabic-capable fonts.', 'wp-content-copy-protector'); ?></li>
     741                                                        <li><?php wccp_free_icon('palette'); ?><?php esc_html_e('Use manual text colors, or automatic color mode that adapts to the brightness of every image.', 'wp-content-copy-protector'); ?></li>
     742                                                        <li><?php wccp_free_icon('sliders'); ?><?php esc_html_e('Control font size, transparency, rotation, repeated-text spacing, signature Y position and signature alignment.', 'wp-content-copy-protector'); ?></li>
     743                                                        <li><?php wccp_free_icon('brush'); ?><?php esc_html_e('Add a signature background band with separate main and top colors and independent transparency values.', 'wp-content-copy-protector'); ?></li>
     744                                                        <li><?php wccp_free_icon('droplet'); ?><?php esc_html_e('Apply image filters to watermarked images: Blur, Grayscale, Negate, Brightness or None.', 'wp-content-copy-protector'); ?></li>
     745                                                        <li><?php wccp_free_icon('eye'); ?><?php esc_html_e('Test your settings with the live preview on light, medium and dark sample images before saving.', 'wp-content-copy-protector'); ?></li>
     746                                                        <li><?php wccp_free_icon('save'); ?><?php esc_html_e('Save and load watermark presets, stored in a dedicated JSON file with a fallback through the settings form.', 'wp-content-copy-protector'); ?></li>
     747                                                        <li><?php wccp_free_icon('file'); ?><?php esc_html_e('Watermark indexed and palette PNG images and single-frame GIF images reliably.', 'wp-content-copy-protector'); ?></li>
     748                                                        <li><?php wccp_free_icon('crop'); ?><?php esc_html_e('Keep banner-like extreme image sizes out of watermarking with your own ratio and size limits.', 'wp-content-copy-protector'); ?></li>
     749                                                        <li><?php wccp_free_icon('info'); ?><?php esc_html_e('Use the Watermark Testing page to test every common image format, inspect server data and read the generated .htaccess content.', 'wp-content-copy-protector'); ?></li>
     750                                                        <li><?php wccp_free_icon('gauge'); ?><?php esc_html_e('Watermarking is 78% faster, with safe atomic .htaccess writes that never clear the file mid-way.', 'wp-content-copy-protector'); ?></li>
     751                                                </ul>
     752                                        </div>
     753
     754                                        <div class="wpb-group">
     755                                                <h3 class="wpb-group__head">
     756                                                        <span class="wpb-group__num">6</span>
     757                                                        <span class="wpb-group__ic"><?php wccp_free_icon('filter'); ?></span>
     758                                                        <span class="wpb-group__title"><?php esc_html_e('Exclusions and Targeting', 'wp-content-copy-protector'); ?></span>
     759                                                        <span class="wpb-group__n"><?php wccp_free_icon('check'); ?><?php esc_html_e('10 features', 'wp-content-copy-protector'); ?></span>
     760                                                </h3>
     761                                                <ul class="wpb-list wpb-list--pro">
     762                                                        <li><?php wccp_free_icon('users'); ?><?php esc_html_e('Exclude the user roles you choose from protection.', 'wp-content-copy-protector'); ?></li>
     763                                                        <li><?php wccp_free_icon('grid'); ?><?php esc_html_e('Exclude selected post types and categories.', 'wp-content-copy-protector'); ?></li>
     764                                                        <li><?php wccp_free_icon('crop'); ?><?php esc_html_e('Exclude registered WordPress image sizes from watermarking.', 'wp-content-copy-protector'); ?></li>
     765                                                        <li><?php wccp_free_icon('link'); ?><?php esc_html_e('Exclude single URLs, one per line, including wildcard URLs that end with a slash and a star.', 'wp-content-copy-protector'); ?></li>
     766                                                        <li><?php wccp_free_icon('search'); ?><?php esc_html_e('Search your pages and posts from the URL picker and append their permalinks to the URL exclude list.', 'wp-content-copy-protector'); ?></li>
     767                                                        <li><?php wccp_free_icon('globe'); ?><?php esc_html_e('Exclude online services, domains or user agents that must never be blocked.', 'wp-content-copy-protector'); ?></li>
     768                                                        <li><?php wccp_free_icon('image'); ?><?php esc_html_e('Exclude images from watermarking by file name or by a fragment of the file name.', 'wp-content-copy-protector'); ?></li>
     769                                                        <li><?php wccp_free_icon('brush'); ?><?php esc_html_e('Exclude CSS classes from selection protection.', 'wp-content-copy-protector'); ?></li>
     770                                                        <li><?php wccp_free_icon('filter'); ?><?php esc_html_e('Turn on Opposite Mode with the URL Included List so protection runs only on the URLs you list.', 'wp-content-copy-protector'); ?></li>
     771                                                        <li><?php wccp_free_icon('zap'); ?><?php esc_html_e('Scan Site Images: scan the homepage and blog HTML, review the detected images in a popup grid and click any image to add its file name to the manual exclusion list, without duplicates.', 'wp-content-copy-protector'); ?></li>
     772                                                </ul>
     773                                        </div>
     774
     775                                        <div class="wpb-group">
     776                                                <h3 class="wpb-group__head">
     777                                                        <span class="wpb-group__num">7</span>
     778                                                        <span class="wpb-group__ic"><?php wccp_free_icon('sliders'); ?></span>
     779                                                        <span class="wpb-group__title"><?php esc_html_e('Admin Tools and Workflow', 'wp-content-copy-protector'); ?></span>
     780                                                        <span class="wpb-group__n"><?php wccp_free_icon('check'); ?><?php esc_html_e('11 features', 'wp-content-copy-protector'); ?></span>
     781                                                </h3>
     782                                                <ul class="wpb-list wpb-list--pro">
     783                                                        <li><?php wccp_free_icon('sliders'); ?><?php esc_html_e('Light-mode settings interface with tabs for Selection, Right Click, Overlay, Watermark, Exclusion, Custom Settings, Beta and Contact.', 'wp-content-copy-protector'); ?></li>
     784                                                        <li><?php wccp_free_icon('clock'); ?><?php esc_html_e('The last open tab is reopened for you after a save or after navigation.', 'wp-content-copy-protector'); ?></li>
     785                                                        <li><?php wccp_free_icon('grid'); ?><?php esc_html_e('The tabbar stays on a single row on narrow admin screens by collapsing trailing tabs into icon-only buttons.', 'wp-content-copy-protector'); ?></li>
     786                                                        <li><?php wccp_free_icon('search'); ?><?php esc_html_e('Searchable chip pickers for content types, roles, categories and image sizes, with selected rows kept in view.', 'wp-content-copy-protector'); ?></li>
     787                                                        <li><?php wccp_free_icon('undo'); ?><?php esc_html_e('Restore the default settings from the control panel with one click.', 'wp-content-copy-protector'); ?></li>
     788                                                        <li><?php wccp_free_icon('info'); ?><?php esc_html_e('Show or hide the plugin icon in the top admin bar and read the live protection status from its menu, including the blocked shortcut keys.', 'wp-content-copy-protector'); ?></li>
     789                                                        <li><?php wccp_free_icon('code'); ?><?php esc_html_e('Turn on Developer Mode for debugging.', 'wp-content-copy-protector'); ?></li>
     790                                                        <li><?php wccp_free_icon('zap'); ?><?php esc_html_e('Remove conflicting CSS or JS files from the control panel by listing file fragments in the Beta tab.', 'wp-content-copy-protector'); ?></li>
     791                                                        <li><?php wccp_free_icon('shield'); ?><?php esc_html_e('Beta protections that interrupt open DevTools panels and common copy and paste browser extensions.', 'wp-content-copy-protector'); ?></li>
     792                                                        <li><?php wccp_free_icon('brush'); ?><?php esc_html_e('Keep your own custom CSS in the Custom Settings tab.', 'wp-content-copy-protector'); ?></li>
     793                                                        <li><?php wccp_free_icon('life'); ?><?php esc_html_e('Contact tab with built-in FAQ, documentation, tutorials and priority support links.', 'wp-content-copy-protector'); ?></li>
     794                                                </ul>
     795                                        </div>
     796
     797                                        <div class="wpb-group">
     798                                                <h3 class="wpb-group__head">
     799                                                        <span class="wpb-group__num">8</span>
     800                                                        <span class="wpb-group__ic"><?php wccp_free_icon('globe'); ?></span>
     801                                                        <span class="wpb-group__title"><?php esc_html_e('Compatibility and Platform', 'wp-content-copy-protector'); ?></span>
     802                                                        <span class="wpb-group__n"><?php wccp_free_icon('check'); ?><?php esc_html_e('8 features', 'wp-content-copy-protector'); ?></span>
     803                                                </h3>
     804                                                <ul class="wpb-list wpb-list--pro">
     805                                                        <li><?php wccp_free_icon('phone'); ?><?php esc_html_e('Works on smartphones and tablets, including iPhone and iPad.', 'wp-content-copy-protector'); ?></li>
     806                                                        <li><?php wccp_free_icon('layers'); ?><?php esc_html_e('Compatible with Elementor, SiteOrigin, Beaver Builder, the WordPress preview mode and wpDiscuz.', 'wp-content-copy-protector'); ?></li>
     807                                                        <li><?php wccp_free_icon('globe'); ?><?php esc_html_e('Compatible with all major theme frameworks and all major browsers.', 'wp-content-copy-protector'); ?></li>
     808                                                        <li><?php wccp_free_icon('server'); ?><?php esc_html_e('Multisite installations are supported.', 'wp-content-copy-protector'); ?></li>
     809                                                        <li><?php wccp_free_icon('code'); ?><?php esc_html_e('Compatible with PHP 8.2 and 8.3, ZeptoJS and the jQuery slim builds.', 'wp-content-copy-protector'); ?></li>
     810                                                        <li><?php wccp_free_icon('pointer'); ?><?php esc_html_e('Set a different protection level per page or per post, straight from the admin bar.', 'wp-content-copy-protector'); ?></li>
     811                                                        <li><?php wccp_free_icon('shield'); ?><?php esc_html_e('Extra .htaccess rules block image-grabbing browser extensions and PHP files inside wp-content, except watermark.php.', 'wp-content-copy-protector'); ?></li>
     812                                                        <li><?php wccp_free_icon('type'); ?><?php esc_html_e('Translation ready, with Arabic, Russian and RTL support for watermark text.', 'wp-content-copy-protector'); ?></li>
     813                                                </ul>
     814                                        </div>
     815                                </div>
     816
     817                                <div class="wpb-card__foot">
     818                                        <p class="wpb-formbar__note"><?php wccp_free_icon('mail'); ?>
     819                                                <?php
     820                                                printf(
     821                                                        /* translators: %s: link to the mailing list sign-up page. */
     822                                                        esc_html__('%s to our mailing list to get flash discounts', 'wp-content-copy-protector'),
     823                                                        '<a target="_blank" rel="noopener" href="https://www.wp-buy.com/wpccp-subscribe">' . esc_html__('Subscribe', 'wp-content-copy-protector') . '</a>'
     824                                                );
     825                                                ?>
     826                                        </p>
     827                                        <a class="wpb-btn wpb-btn--primary" target="_blank" rel="noopener" href="<?php echo esc_url($wccp_free_pro_url); ?>"><?php wccp_free_icon('sparkles'); ?><?php esc_html_e('See the premium plans', 'wp-content-copy-protector'); ?></a>
     828                                </div>
     829                        </div>
     830                </div>
     831
     832                <!-- ============ Sticky action bar ============ -->
     833                <div class="wpb-formbar">
     834                        <p class="wpb-formbar__note"><?php wccp_free_icon('info'); ?><?php esc_html_e('Use CTRL+F5 on the front end after saving to clear the cached scripts.', 'wp-content-copy-protector'); ?></p>
     835                        <div class="wpb-actions">
     836                                <input type="submit" class="wpb-btn wpb-btn--quiet" value="<?php esc_attr_e('Restore defaults', 'wp-content-copy-protector'); ?>" name="Restore_defaults" data-wpb-modal="wpb-reset-modal">
     837                                <input type="button" class="wpb-btn wpb-btn--ghost" value="<?php esc_attr_e('Preview alert message', 'wp-content-copy-protector'); ?>" onclick="show_wpcp_message('<?php echo esc_js(__('This is a preview message (do not forget to save changes)', 'wp-content-copy-protector')); ?>');" name="B5">
     838                                <button type="submit" class="wpb-btn wpb-btn--primary" name="Save_settings" value="1"><?php wccp_free_icon('save'); ?><?php esc_html_e('Save Settings', 'wp-content-copy-protector'); ?></button>
     839                        </div>
     840                </div>
     841                <!-- ============ Restore defaults confirmation - .wpb-modal ============
     842                     Lives inside the form so its confirm button is a real submit
     843                     carrying name="Restore_defaults" through the nonce check above.
     844                     Hidden until the JS opens it, so with JS off the formbar button
     845                     keeps submitting straight away exactly as it always did. -->
     846                <div class="wpb-modal" id="wpb-reset-modal" hidden>
     847                        <div class="wpb-modal__veil" data-wpb-modal-close></div>
     848                        <div class="wpb-modal__box" role="dialog" aria-modal="true" aria-labelledby="wpb-reset-modal__title" aria-describedby="wpb-reset-modal__text">
     849                                <button type="button" class="wpb-modal__x" data-wpb-modal-close aria-label="<?php esc_attr_e('Close', 'wp-content-copy-protector'); ?>">
     850                                        <?php wccp_free_icon('x'); ?>
     851                                </button>
     852                                <span class="wpb-modal__ic"><?php wccp_free_icon('alert'); ?></span>
     853                                <h2 class="wpb-modal__title" id="wpb-reset-modal__title"><?php esc_html_e('Restore the default settings?', 'wp-content-copy-protector'); ?></h2>
     854                                <p class="wpb-modal__text" id="wpb-reset-modal__text"><?php esc_html_e('Every option on this page goes back to its default value. Your current settings will be lost and this cannot be undone.', 'wp-content-copy-protector'); ?></p>
     855                                <div class="wpb-modal__acts">
     856                                        <button type="button" class="wpb-btn wpb-btn--ghost" data-wpb-modal-close><?php esc_html_e('Cancel', 'wp-content-copy-protector'); ?></button>
     857                                        <button type="submit" class="wpb-btn wpb-btn--danger" name="Restore_defaults" value="1"><?php wccp_free_icon('undo'); ?><?php esc_html_e('Yes, restore defaults', 'wp-content-copy-protector'); ?></button>
     858                                </div>
     859                        </div>
     860                </div>
     861
     862        </form>
     863
     864        <!-- ============ Footer CTA - .wpb-shop__help ============ -->
     865        <div class="wpb-help">
     866                <div class="wpb-help-col">
     867                        <span class="wpb-help-ic"><?php wccp_free_icon('life'); ?></span>
     868                        <div class="wpb-help-col__txt">
     869                                <h3><?php esc_html_e('Need a hand?', 'wp-content-copy-protector'); ?></h3>
     870                                <p><?php esc_html_e('We reply every working day.', 'wp-content-copy-protector'); ?></p>
     871                        </div>
     872                        <a class="wpb-help-btn" target="_blank" rel="noopener" href="<?php echo esc_url($wccp_free_support_url); ?>"><?php esc_html_e('Get support', 'wp-content-copy-protector'); ?></a>
     873                </div>
     874
     875                <span class="wpb-help-sep"></span>
     876
     877                <div class="wpb-help-col">
     878                        <span class="wpb-help-ic"><?php wccp_free_icon('book'); ?></span>
     879                        <div class="wpb-help-col__txt">
     880                                <h3><?php esc_html_e('How it works', 'wp-content-copy-protector'); ?></h3>
     881                                <p><?php esc_html_e('Read the docs before you switch a layer on.', 'wp-content-copy-protector'); ?></p>
     882                        </div>
     883                        <a class="wpb-help-btn" target="_blank" rel="noopener" href="<?php echo esc_url($wccp_free_docs_url); ?>"><?php esc_html_e('Help topics', 'wp-content-copy-protector'); ?></a>
     884                </div>
     885
     886                <span class="wpb-help-sep"></span>
     887
     888                <div class="wpb-help-col">
     889                        <span class="wpb-help-ic"><?php wccp_free_icon('star'); ?></span>
     890                        <div class="wpb-help-col__txt">
     891                                <h3><?php esc_html_e('Enjoying the plugin?', 'wp-content-copy-protector'); ?></h3>
     892                                <p><?php esc_html_e('It takes a minute and helps a lot.', 'wp-content-copy-protector'); ?></p>
     893                        </div>
     894                        <a class="wpb-help-btn" target="_blank" rel="noopener" href="https://wordpress.org/support/plugin/wp-content-copy-protector/reviews/#new-post"><?php esc_html_e('Leave a review', 'wp-content-copy-protector'); ?></a>
     895                </div>
     896        </div>
    343897</div>
    344 <div class="simpleTabsContent">
    345 <h4><?php esc_html_e('Protection by CSS Techniques','wp-content-copy-protector'); ?> (<font color="#008000"><?php esc_html_e('Premium Layer 3','wp-content-copy-protector'); ?></font>):</h4>
    346         <p><font face="Tahoma" size="2"><?php echo wp_kses( __('In this protection layer your website will be protected by some <u>CSS</u> tricks that will word even if <u>JavaScript</u> is disabled from the browser settings','wp-content-copy-protector'), $wccp_free_allowed_tags ); ?></font></p>
    347         <table border="0" width="100%" cellspacing="0" cellpadding="0">
    348                         <tr>
    349                                 <td width="60%">
    350         <div style="float: auto;padding: 4px" id="layer5">
    351                 <table border="0" width="100%" height="232" cellspacing="0" cellpadding="0">
    352                         <tr>
    353                                 <td width="221" height="74"><font face="Tahoma" size="2"><?php echo wp_kses( __('<b>Home Page</b> Protection by CSS','wp-content-copy-protector'), $wccp_free_allowed_tags ); ?></font></td>
    354                                 <td height="74" width="90">
    355                                 <select size="1" name="home_css_protection">
    356                                 <?php
    357                                 if ($wccp_settings['home_css_protection'] == 'Enabled')
    358                                         {
    359                                                 echo '<option selected value="Enabled">'. esc_html__('Enabled','wp-content-copy-protector') .'</option>';
    360                                                 echo '<option value="Disabled">'. esc_html__('Disabled','wp-content-copy-protector') .'</option>';
    361                                         }
    362                                         else
    363                                         {
    364                                                 echo '<option value="Enabled">'. esc_html__('Enabled','wp-content-copy-protector') .'</option>';
    365                                                 echo '<option selected value="Disabled">'. esc_html__('Disabled','wp-content-copy-protector') .'</option>';
    366                                         }
    367                                 ?>
    368                                 </select>
    369                                 </td>
    370                                 <td height="74">
    371                                 <font face="Tahoma" size="2"><?php esc_html_e('Protect your Homepage by CSS tricks','wp-content-copy-protector'); ?></font></td>
    372                         </tr>
    373                         <tr>
    374                                 <td width="221" height="77"><font face="Tahoma" size="2"><?php echo wp_kses( __('<b>Posts</b> Protection by CSS','wp-content-copy-protector'), $wccp_free_allowed_tags ); ?></font></td>
    375                                 <td width="90" align="center">
    376                                 <select size="1" name="posts_css_protection">
    377                                 <?php
    378                                 if ($wccp_settings['posts_css_protection'] == 'Enabled')
    379                                         {
    380                                                 echo '<option selected value="Enabled">'. esc_html__('Enabled','wp-content-copy-protector') .'</option>';
    381                                                 echo '<option value="Disabled">'. esc_html__('Disabled','wp-content-copy-protector') .'</option>';
    382                                         }
    383                                         else
    384                                         {
    385                                                 echo '<option value="Enabled">'. esc_html__('Enabled','wp-content-copy-protector') .'</option>';
    386                                                 echo '<option selected value="Disabled">'. esc_html__('Disabled','wp-content-copy-protector') .'</option>';
    387                                         }
    388                                 ?>
    389                                 </select>
    390                                 </td>
    391                                 <td>
    392                                 <font face="Tahoma" size="2"><?php esc_html_e('Protect your single posts by CSS tricks','wp-content-copy-protector'); ?></font> (Pro option - unlocked for free!!)</td>
    393                         </tr>
    394                         <tr>
    395                                 <td width="221"><font face="Tahoma" size="2"><?php echo wp_kses( __('<b>Pages</b> Protection by CSS','wp-content-copy-protector'), $wccp_free_allowed_tags ); ?></font></td>
    396                                 <td width="90" align="center">
    397                                 <a style="color:#FF0000;" target="_blank" href="https://www.wp-buy.com/product/wp-content-copy-protection-pro/">
    398                                 <?php esc_html_e('Premium','wp-content-copy-protector'); ?></a>
    399                                 </td>
    400                                 <td><font face="Tahoma" size="2"><?php esc_html_e('Protect your static pages by CSS tricks','wp-content-copy-protector'); ?></font></td>
    401                         </tr>
    402                         </table></div>
    403                         </td>
    404                         </tr>
    405         </table>
    406 
    407 </div>
    408 <div class="simpleTabsContent" id="layer1">
    409                 <p><font color="#FF0000" face="Tahoma" size="3"><?php esc_html_e('Crazy discount offer is now running for a limited time!! You might love it','wp-content-copy-protector'); ?></font>
    410                 <img src="<?php echo esc_url( $wccp_free_pluginsurl ) ?>/images/click-here-arrow.png" id="irc_mi">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    411                 <b><font color="#0909FF"><u>
    412                 <a target="_blank" href="https://www.wp-buy.com/product/wp-content-copy-protection-pro/">
    413                 <font color="#0909FF" size="3"><?php esc_html_e('See it now','wp-content-copy-protector'); ?></font></a></u></font></b>
    414                 <a target="_blank" href="https://www.wp-buy.com/product/wp-content-copy-protection-pro/">
    415                 <img class="size-full" border="1" src="<?php echo esc_url( $wccp_free_pluginsurl ) ?>/images/smart-phones-protection.png" style="border: 1px dotted #C0C0C0">
    416                 </a>
    417                 <p>&nbsp;</p>
    418                 <a target="_blank" href="https://www.wp-buy.com/product/wp-content-copy-protection-pro/">
    419                 <img class="size-full" border="1" src="<?php echo esc_url( $wccp_free_pluginsurl ) ?>/images/watermark-adv.jpg" style="border: 1px dotted #C0C0C0">
    420                 </a>
    421                 <p></p>
    422                 <a target="_blank" href="https://www.wp-buy.com/product/wp-content-copy-protection-pro/">
    423                 <img class="size-full" border="1" src="<?php echo esc_url( $wccp_free_pluginsurl ) ?>/images/watermarking-adv-examples.png" style="border: 1px dotted #C0C0C0">
    424                 </a>
    425                 <p></p>
    426                 <p><b><font face="Tahoma" size="2" color="#FFFFFF">
    427                
    428                
    429                 <span style="background-color: #008000"><?php esc_html_e('Basic features:','wp-content-copy-protector'); ?></span></font></b></p>
    430                 <ul>
    431                         <li><font style="font-size: 10pt" face="Tahoma"><?php esc_html_e('Protect your content from selection and copy. this plugin makes protecting your posts extremely simple without yelling at your readers','wp-content-copy-protector'); ?></font></li>
    432                         <li><font style="font-size: 10pt" face="Tahoma"><?php esc_html_e('No one can save images from your site.','wp-content-copy-protector'); ?></font></li>
    433                         <li><font style="font-size: 10pt" face="Tahoma"><?php esc_html_e('No right-click or context menu.','wp-content-copy-protector'); ?></font></li>
    434                         <li><font style="font-size: 10pt" face="Tahoma"><?php esc_html_e('Show alert message, Image Ad, or HTML Ad on saving images or right-click.','wp-content-copy-protector'); ?></font></li>
    435                         <li><font style="font-size: 10pt" face="Tahoma"><?php esc_html_e('Disable the following keys','wp-content-copy-protector'); ?> CTRL+A, CTRL+C, CTRL+X, CTRL+S, or CTRL+V.</font></li>
    436                         <li><font style="font-size: 10pt" face="Tahoma"><?php esc_html_e('Advanced and easy to use control panel.','wp-content-copy-protector'); ?></font></li>
    437                         <li><font style="font-size: 10pt" face="Tahoma"><?php esc_html_e('No one can right-click images on your site if you want','wp-content-copy-protector'); ?></font></li>
    438                 </ul>
    439                 <p><b><font face="Tahoma" size="2" color="#FFFFFF">
    440                 <span style="background-color: #5B2473"><?php esc_html_e('Premium features:','wp-content-copy-protector'); ?></span></font></b></p>
    441                 <ul>
    442                         <li><font style="font-size: 10pt" face="Tahoma"><?php esc_html_e('Get full control over Right-click or context menu','wp-content-copy-protector'); ?></font></li>
    443                         <li><font style="font-size: 10pt" face="Tahoma"><?php esc_html_e('Full watermarking','wp-content-copy-protector'); ?></font></li>
    444                         <li><font style="font-size: 10pt" face="Tahoma"><?php esc_html_e('Show alert messages, when the user made right click on images, text boxes, links, plain text.. etc','wp-content-copy-protector'); ?></font></li>
    445                         <li><font style="font-size: 10pt" face="Tahoma"><?php esc_html_e('Admin can exclude Home page Or Single posts from being copy protected ','wp-content-copy-protector'); ?></font></li>
    446                         <li><font style="font-size: 10pt" face="Tahoma"><?php esc_html_e('Admin can disable copy protection for admin users.','wp-content-copy-protector'); ?></font></li>
    447                         <li><font face="Tahoma" size="2"><?php esc_html_e('3 protection layers (JavaScript protection, RightClick protection, CSS protection)','wp-content-copy-protector'); ?></font></li>
    448                         <li><font style="font-size: 10pt" face="Tahoma"><?php esc_html_e('Aggressive image protection (it is nearly impossible for expert users to steal your images !!)','wp-content-copy-protector'); ?></font></li>
    449                         <li><font style="font-size: 10pt" face="Tahoma"><?php esc_html_e('Compatible with all major theme frameworks','wp-content-copy-protector'); ?></font></li>
    450                         <li><font style="font-size: 10pt" face="Tahoma"><?php esc_html_e('Compatible with all major browsers','wp-content-copy-protector'); ?></font></li>
    451                         <li><font style="font-size: 10pt" face="Tahoma"><?php esc_html_e('Tested in IE9, IE10, edge, Firefox, Google Chrome, Opera, safari','wp-content-copy-protector'); ?></font></li>
    452                         <li><font style="font-size: 10pt" face="Tahoma"><?php esc_html_e('Disables image drag and drop function','wp-content-copy-protector'); ?></font></li>
    453                         <li><font style="font-size: 10pt" face="Tahoma"><?php esc_html_e('Works on smartphones.','wp-content-copy-protector'); ?></font></li>
    454                         <li><font style="font-size: 10pt" face="Tahoma"><?php esc_html_e('Ability to set varying levels of protection per page or post.','wp-content-copy-protector'); ?></font></li>
    455                 </ul>
    456                
    457                
    458                 <p><a target="_blank" href="https://www.wp-buy.com/wpccp-subscribe">Subscribe</a> to our mailing list to get flash discounts</p>
    459                 </div>
    460 </div><!-- simple tabs div end -->
    461 <div style="width:97%;" class="">
    462 <div class="row justify-content-end form-btns">
    463 <div class="col-15-auto"><input type="submit" class="btn wccp-form-button gray-btn" value="<?php esc_attr_e('Restore defaults','wp-content-copy-protector'); ?>" name="Restore_defaults"></div>
    464 <div class="col-15-auto"><input type="button" class="btn wccp-form-button blue-btn" value="<?php esc_attr_e('Preview alert message','wp-content-copy-protector'); ?>" alt="Use CTRL+F5 after saving" onclick="show_wpcp_message('<?php echo esc_js( __('This is a preview message (do not forget to save changes)','wp-content-copy-protector') ); ?>');" name="B5"></div>
    465 <div class="col-15-auto"><input type="submit" class="btn wccp-form-button green-btn" value="   <?php esc_attr_e('Save Settings','wp-content-copy-protector'); ?>   " name="Save_settings"></div>
    466 </div></div>
    467 </form>
    468 </div>
    469 <style>
    470 #aio_admin_main {
    471 padding:10px;
    472 margin: 10px;
    473 background-color: #ffffff;
    474 border:1px solid #EBDDE2;
    475 display: relative;
    476 overflow: auto;
    477 }
    478 .inner_block{
    479 height: 370px;
    480 display: inline;
    481 min-width:770px;
    482 }
    483 #donate{
    484     background-color: #EEFFEE;
    485     border: 1px solid #66DD66;
    486     border-radius: 10px 10px 10px 10px;
    487     height: 58px;
    488     padding: 10px;
    489     margin: 15px;
    490     }
    491 .text-font {
    492     color: #1ABC9C;
    493     font-size: 14px;
    494     line-height: 1.5;
    495     padding-left: 3px;
    496     transition: color 0.25s linear 0s;
    497 }
    498 .text-font:hover {
    499     opacity: 1;
    500     transition: color 0.25s linear 0s;
    501 }
    502 .simpleTabsContent{
    503         border: 1px solid #E9E9E9;
    504         padding: 4px;
    505 }
    506 div.simpleTabsContent{
    507         margin-top:0;
    508         border: 1px solid #E0E0E0;
    509     display: none;
    510     height: 100%;
    511     min-height: 400px;
    512     padding: 5px 15px 15px;
    513 }
    514 
    515 .size-full {
    516     height: auto;
    517     max-width: 100%;
    518 }
    519 
    520 .wccp-form-button {
    521   color: white;
    522   padding: 12px 28px;
    523   text-align: center;
    524   text-decoration: none;
    525   display: inline-block;
    526   font-size: 16px;
    527   cursor: pointer;
    528   transition-duration: 0.4s;
    529   border: 2px solid;
    530   border-radius: 5px;
    531 }
    532 
    533 .wccp-form-button:hover {background-color: white;}
    534 
    535 .green-btn {background-color: #4CAF50; border-color: #4CAF50;} /* Green */
    536 .green-btn:hover {color: #4CAF50;}
    537 
    538 .blue-btn {background-color: #008CBA; border-color: #008CBA;} /* Blue */
    539 .blue-btn:hover {color: #008CBA;}
    540 
    541 .red-btn {background-color: #f44336; border-color: #f44336;} /* Red */
    542 .red-btn:hover {color: #f44336;}
    543 
    544 .gray-btn {background-color: #e7e7e7; color: black; border-color: #e7e7e7;} /* Gray */
    545 .gray-btn:hover {color: #black;}
    546 
    547 .black-btn {background-color: #555555; border-color: #555555;} /* Black */
    548 .black-btn:hover {color: #555555;}
    549 
    550 .form-btns .btn{
    551         margin-right: 5px;
    552         float: right;
    553 }
    554 @media (max-width: 435px)
    555 {
    556         .form-btns .btn
    557         {
    558         width:95% !important;
    559         }
    560         .form-btns
    561         {
    562         -webkit-box-pack: center!important;
    563     -ms-flex-pack: center!important;
    564     justify-content: center!important;
    565         }
    566         .form-btns div
    567         {
    568         width: 100%;
    569         }
    570        
    571 }
    572 @media (min-width: 436px) and (max-width: 646px)
    573 {
    574         .form-btns .btn
    575         {
    576         width:390px !important;
    577         }
    578         .form-btns
    579         {
    580         -webkit-box-pack: center!important;
    581     -ms-flex-pack: center!important;
    582     justify-content: center!important;
    583         }
    584 }
    585 @media (min-width: 647px) and (min-width: 768px)
    586 {
    587         .form-btns .btn
    588         {
    589         margin-right: 5px;
    590         }
    591 }
    592 </style>
Note: See TracChangeset for help on using the changeset viewer.