wp-content-copy-protector
Last commit date
css
4 years ago
images
4 years ago
js
4 years ago
languages
4 years ago
admin-core.php
4 years ago
notifications.php
4 years ago
preventer-index.php
4 years ago
readme.txt
4 years ago
right-click-protection.jpg
4 years ago
the_globals.php
4 years ago
watermark-adv.jpg
4 years ago
watermarking-adv-examples.png
4 years ago
admin-core.php
610 lines
| 1 | <?php |
| 2 | if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly |
| 3 | if ( !current_user_can('edit_others_pages') ) { //protection for admin content |
| 4 | exit(0); |
| 5 | } ?> |
| 6 | <?php |
| 7 | //define all variables the needed alot |
| 8 | include 'the_globals.php'; |
| 9 | include 'notifications.php'; |
| 10 | add_action('admin_footer','alert_message'); |
| 11 | |
| 12 | if ( isset( $_POST['Restore_defaults'] ) ) |
| 13 | { |
| 14 | update_option("wccp_settings" , ""); |
| 15 | $new_url = "?page=wccpoptionspro"; |
| 16 | header("Location: $new_url"); |
| 17 | } |
| 18 | |
| 19 | if(isset($_POST["Save_settings"]) && (isset($_POST["make_this_form_verified_nonce"]) && wp_verify_nonce( $_POST[ 'make_this_form_verified_nonce' ], 'make_form_nonce_action' ))) |
| 20 | { |
| 21 | //----------------------------------------------------list the options array values |
| 22 | $single_posts_protection = ''; |
| 23 | if(isset($_POST["single_posts_protection"])) $single_posts_protection = sanitize_text_field($_POST["single_posts_protection"]); |
| 24 | $home_page_protection = ''; |
| 25 | if(isset($_POST["home_page_protection"])) $home_page_protection = sanitize_text_field($_POST["home_page_protection"]); |
| 26 | $page_protection = ''; |
| 27 | if(isset($_POST["page_protection"])) $page_protection = sanitize_text_field($_POST["page_protection"]); |
| 28 | |
| 29 | $top_bar_icon_btn = ''; |
| 30 | if(isset($_POST["top_bar_icon_btn"])) $top_bar_icon_btn = sanitize_text_field($_POST["top_bar_icon_btn"]); |
| 31 | |
| 32 | $exclude_admin_from_protection = ''; |
| 33 | if(isset($_POST["exclude_admin_from_protection"])) $exclude_admin_from_protection = sanitize_text_field($_POST["exclude_admin_from_protection"]); |
| 34 | |
| 35 | $home_css_protection = ''; |
| 36 | if(isset($_POST["home_css_protection"])) $home_css_protection = sanitize_text_field($_POST["home_css_protection"]); |
| 37 | $posts_css_protection = ''; |
| 38 | if(isset($_POST["posts_css_protection"])) $posts_css_protection = sanitize_text_field($_POST["posts_css_protection"]); |
| 39 | $pages_css_protection = ''; |
| 40 | if(isset($_POST["pages_css_protection"])) $pages_css_protection = sanitize_text_field($_POST["pages_css_protection"]); |
| 41 | |
| 42 | $right_click_protection_posts = ''; |
| 43 | if(isset($_POST["right_click_protection_posts"])) $right_click_protection_posts = sanitize_text_field($_POST["right_click_protection_posts"]); |
| 44 | $right_click_protection_homepage = ''; |
| 45 | if(isset($_POST["right_click_protection_homepage"])) $right_click_protection_homepage = sanitize_text_field($_POST["right_click_protection_homepage"]); |
| 46 | $right_click_protection_pages = ''; |
| 47 | if(isset($_POST["right_click_protection_pages"])) $right_click_protection_pages = sanitize_text_field($_POST["right_click_protection_pages"]); |
| 48 | |
| 49 | $img = ''; |
| 50 | if(isset($_POST["img"])) $img = sanitize_text_field($_POST["img"]); |
| 51 | $a = ''; |
| 52 | if(isset($_POST["a"])) $a = sanitize_text_field($_POST["a"]); |
| 53 | $pb = ''; |
| 54 | if(isset($_POST["pb"])) $pb = sanitize_text_field($_POST["pb"]); |
| 55 | $input = ''; |
| 56 | if(isset($_POST["input"])) $input = sanitize_text_field($_POST["input"]); |
| 57 | $h = ''; |
| 58 | if(isset($_POST["h"])) $h = sanitize_text_field($_POST["h"]); |
| 59 | $textarea = ''; |
| 60 | if(isset($_POST["textarea"])) $textarea = sanitize_text_field($_POST["textarea"]); |
| 61 | $emptyspaces = ''; |
| 62 | if(isset($_POST["emptyspaces"])) $emptyspaces = sanitize_text_field($_POST["emptyspaces"]); |
| 63 | |
| 64 | $smessage = ''; |
| 65 | if(isset($_POST["smessage"])) $smessage = sanitize_text_field($_POST["smessage"]); |
| 66 | $alert_msg_img = ''; |
| 67 | if(isset($_POST["alert_msg_img"])) $alert_msg_img = sanitize_text_field($_POST["alert_msg_img"]); |
| 68 | $alert_msg_a = ''; |
| 69 | if(isset($_POST["alert_msg_a"])) $alert_msg_a = sanitize_text_field($_POST["alert_msg_a"]); |
| 70 | $alert_msg_pb = ''; |
| 71 | if(isset($_POST["alert_msg_pb"])) $alert_msg_pb = sanitize_text_field($_POST["alert_msg_pb"]); |
| 72 | $alert_msg_input = ''; |
| 73 | if(isset($_POST["alert_msg_input"])) $alert_msg_input = sanitize_text_field($_POST["alert_msg_input"]); |
| 74 | $alert_msg_h = ''; |
| 75 | if(isset($_POST["alert_msg_h"])) $alert_msg_h = sanitize_text_field($_POST["alert_msg_h"]); |
| 76 | $alert_msg_textarea = ''; |
| 77 | if(isset($_POST["alert_msg_textarea"])) $alert_msg_textarea = sanitize_text_field($_POST["alert_msg_textarea"]); |
| 78 | $alert_msg_emptyspaces = ''; |
| 79 | if(isset($_POST["alert_msg_emptyspaces"])) $alert_msg_emptyspaces = sanitize_text_field($_POST["alert_msg_emptyspaces"]); |
| 80 | $prnt_scr_msg = ''; |
| 81 | if(isset($_POST["prnt_scr_msg"])) $prnt_scr_msg = sanitize_text_field($_POST["prnt_scr_msg"]); |
| 82 | |
| 83 | //----------------------------------------------------Get the options array values |
| 84 | $wccp_settings = |
| 85 | Array ( |
| 86 | 'single_posts_protection' => $single_posts_protection, // prevent content copy, take 2 parameters |
| 87 | 'home_page_protection' => $home_page_protection, // PROTECT THE HOME PAGE OR NOT |
| 88 | 'page_protection' => $page_protection, // protect pages by javascript |
| 89 | 'top_bar_icon_btn' => $top_bar_icon_btn, // protection icon on top bar |
| 90 | 'right_click_protection_posts' => $right_click_protection_posts, //no comment here |
| 91 | 'right_click_protection_homepage' => $right_click_protection_homepage, //no comment here |
| 92 | 'right_click_protection_pages' => $right_click_protection_pages, //no comment here |
| 93 | 'home_css_protection' => $home_css_protection, // premium option |
| 94 | 'posts_css_protection' => $posts_css_protection, // premium option (unlocked and become free option) |
| 95 | 'pages_css_protection' => 'No', // premium option |
| 96 | 'exclude_admin_from_protection' => 'No', // premium option |
| 97 | 'img' => '', // premium option |
| 98 | 'a' => '', // premium option |
| 99 | 'pb' => '', // premium option |
| 100 | 'input' => '', // premium option |
| 101 | 'h' => '', // premium option |
| 102 | 'textarea' => '', // premium option |
| 103 | 'emptyspaces' => '', // premium option |
| 104 | 'smessage' => $smessage, |
| 105 | 'alert_msg_img' => $alert_msg_img, |
| 106 | 'alert_msg_a' => $alert_msg_a, |
| 107 | 'alert_msg_pb' => $alert_msg_pb, |
| 108 | 'alert_msg_input' => $alert_msg_input, |
| 109 | 'alert_msg_h' => $alert_msg_h, |
| 110 | 'alert_msg_textarea' => $alert_msg_textarea, |
| 111 | 'alert_msg_emptyspaces' => $alert_msg_emptyspaces, |
| 112 | 'prnt_scr_msg' => $prnt_scr_msg |
| 113 | ); |
| 114 | |
| 115 | if(get_option('wccp_settings') !== null) { |
| 116 | update_option( 'wccp_settings' , $wccp_settings ); |
| 117 | } else { |
| 118 | $deprecated = ''; |
| 119 | $autoload = 'yes'; |
| 120 | add_option( 'wccp_settings', $wccp_settings, $deprecated, $autoload ); |
| 121 | } |
| 122 | $new_url = "?page=wccpoptionspro"; |
| 123 | header("Location: $new_url"); |
| 124 | } |
| 125 | |
| 126 | $wccp_settings = wccp_read_options(); |
| 127 | ?> |
| 128 | <div id="wpccp_subscribe" class="notice notice-info is-dismissible"> |
| 129 | <?php $admin_email_wccp = get_bloginfo("admin_email"); ?> |
| 130 | <table style="background-image:url(<?php echo $pluginsurl ?>/images/ad.png);background-repeat:no-repeat;" border="0" width="100%" cellspacing="0" cellpadding="0"> |
| 131 | <tr> |
| 132 | <td><h2 style="background-color:#FFFFFF;padding:3px;" class="alert-heading"><?php _e("WP Content Protection Plugin Group", 'wp-content-copy-protector') ?></h2></td> |
| 133 | <td rowspan="2"> |
| 134 | <p align="center"><a href="#" onclick="wpccp_dismiss_notice()"><?php _e('Dismiss', 'wp-content-copy-protector'); ?> </a></td> |
| 135 | </tr> |
| 136 | <tr> |
| 137 | <td style="padding-left: 77px;"> |
| 138 | <h4> |
| 139 | <?php echo __("Begin your adventure to improve your WordPress website, Also you will win a ", 'wp-content-copy-protector') . ' <b style="color:red">' . __("discount codes" , 'wp-content-copy-protector') . '</b>'; ?> |
| 140 | <input type="text" id="admin_email_wccp" name= "admin_email_wccp" value="<?php echo $admin_email_wccp; ?>" /> |
| 141 | <button type="button" class="btn btn-primary wpccp_subscribe_btn" onclick='wpccp_open_subscribe_page();'> <?php _e("Start it!", 'wp-content-copy-protector'); ?> </button> |
| 142 | </h4> |
| 143 | </td> |
| 144 | </tr> |
| 145 | </table> |
| 146 | </div> |
| 147 | <script> |
| 148 | function wpccp_dismiss_notice() |
| 149 | { |
| 150 | localStorage.setItem('wpccp_subscribed', 'wpccp_subsbc_user'); |
| 151 | document.getElementById("wpccp_subscribe").style.display="none"; |
| 152 | } |
| 153 | |
| 154 | function wpccp_open_subscribe_page() |
| 155 | { |
| 156 | if(localStorage.getItem('wpccp_subscribed') !='wpccp_subsbc_user') |
| 157 | { |
| 158 | var admin_email_wccp = document.getElementById('admin_email_wccp').value; |
| 159 | window.open('https://www.wp-buy.com/wpccp-subscribe/?email='+admin_email_wccp,'_blank'); |
| 160 | } |
| 161 | } |
| 162 | |
| 163 | if(localStorage.getItem('wpccp_subscribed') =='wpccp_subsbc_user') |
| 164 | { |
| 165 | document.getElementById("wpccp_subscribe").style.display="none"; |
| 166 | } |
| 167 | </script> |
| 168 | <div id="aio_admin_main"> |
| 169 | <p style="margin: 20px 0 20px;font-size: 16px;font-weight: bold;color: rgba(30,140,190,.8);">WP Content Copy Protection & No Right Click (FREE) |
| 170 | <font color="#0909FF"><u> |
| 171 | <a target="_blank" href="http://www.wp-buy.com/product/wp-content-copy-protection-pro/?src=title"> |
| 172 | <font color="#0909FF"><?php _e('PRO Version','wp-content-copy-protector'); ?></font></a></u></font> |
| 173 | </p> |
| 174 | <form method="POST"> |
| 175 | <input type="hidden" value="update" name="action"> |
| 176 | <?php wp_nonce_field('make_form_nonce_action','make_this_form_verified_nonce'); ?> |
| 177 | <div class="simpleTabs"> |
| 178 | <ul class="simpleTabsNavigation"> |
| 179 | <li><a href="#"><?php _e('Main Settings','wp-content-copy-protector'); ?></a></li> |
| 180 | <li><a href="#"><?php _e('Premium RightClick Protection','wp-content-copy-protector'); ?></a></li> |
| 181 | <li><a href="#"><?php _e('Premium Protection by CSS','wp-content-copy-protector'); ?></a></li> |
| 182 | <li><a href="#"><?php _e('More with pro','wp-content-copy-protector'); ?></a></li> |
| 183 | </ul> |
| 184 | <div class="simpleTabsContent"> |
| 185 | <table border="0" width="100%" cellspacing="0" cellpadding="0"> |
| 186 | <tr> |
| 187 | <td width="77%"> |
| 188 | <h4><?php _e('Copy Protection using JavaScript','wp-content-copy-protector'); ?> (<font color="#008000"><?php _e('Basic Layer','wp-content-copy-protector'); ?></font>):</h4> |
| 189 | <p><font face="Tahoma" size="2"><?php _e('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'); ?></font></p> |
| 190 | <table border="0" width="100%" cellspacing="0" cellpadding="0"> |
| 191 | <tr> |
| 192 | <td width="60%"> |
| 193 | <div style="float: auto;padding: 4px" id="layer3"> |
| 194 | <table border="0" width="100%" height="320" cellspacing="0" cellpadding="0"> |
| 195 | <tr> |
| 196 | <td width="221" height="33"><font face="Tahoma" size="2"><?php _e('Posts protection by <u>JavaScript</u>','wp-content-copy-protector'); ?></font></td> |
| 197 | <td> |
| 198 | <select size="1" name="single_posts_protection"> |
| 199 | <?php |
| 200 | if ($wccp_settings['single_posts_protection'] == 'Enabled') |
| 201 | { |
| 202 | echo '<option selected value="Enabled">'. __('Enabled','wp-content-copy-protector') .'</option>'; |
| 203 | echo '<option value="Disabled">'. __('Disabled','wp-content-copy-protector') .'</option>'; |
| 204 | } |
| 205 | else |
| 206 | { |
| 207 | echo '<option value="Enabled">'. __('Enabled','wp-content-copy-protector') .'</option>'; |
| 208 | echo '<option selected value="Disabled">'. __('Disabled','wp-content-copy-protector') .'</option>'; |
| 209 | } |
| 210 | ?> |
| 211 | </select> |
| 212 | </td> |
| 213 | <td> |
| 214 | <p><font face="Tahoma" size="2"><?php _e('For single posts content','wp-content-copy-protector'); ?></font></p></td> |
| 215 | </tr> |
| 216 | <tr> |
| 217 | <td width="221" height="33"><font face="Tahoma" size="2"><?php _e('Homepage protection by <u>JavaScript</u>','wp-content-copy-protector'); ?></font></td> |
| 218 | <td> |
| 219 | <select size="1" name="home_page_protection"> |
| 220 | <?php |
| 221 | if ($wccp_settings['home_page_protection'] == 'Enabled') |
| 222 | { |
| 223 | echo '<option selected value="Enabled">'. __('Enabled','wp-content-copy-protector') .'</option>'; |
| 224 | echo '<option value="Disabled">'. __('Disabled','wp-content-copy-protector') .'</option>'; |
| 225 | } |
| 226 | else |
| 227 | { |
| 228 | echo '<option value="Enabled">'. __('Enabled','wp-content-copy-protector') .'</option>'; |
| 229 | echo '<option selected value="Disabled">'. __('Disabled','wp-content-copy-protector') .'</option>'; |
| 230 | } |
| 231 | ?> |
| 232 | </select> |
| 233 | </td> |
| 234 | <td> |
| 235 | <p><font face="Tahoma" size="2"><?php _e('Don\'t copy any thing! even from my homepage','wp-content-copy-protector'); ?></font></td> |
| 236 | </tr> |
| 237 | <tr> |
| 238 | <td width="221" height="33"><font face="Tahoma" size="2"><?php _e('Static page\'s protection','wp-content-copy-protector'); ?></font></td> |
| 239 | <td> |
| 240 | <select size="1" name="page_protection"> |
| 241 | <?php |
| 242 | if ($wccp_settings['page_protection'] == 'Enabled') |
| 243 | { |
| 244 | echo '<option selected value="Enabled">'. __('Enabled','wp-content-copy-protector') .'</option>'; |
| 245 | echo '<option value="Disabled">'. __('Disabled','wp-content-copy-protector') .'</option>'; |
| 246 | } |
| 247 | else |
| 248 | { |
| 249 | echo '<option selected value="Disabled">'. __('Disabled','wp-content-copy-protector') .'</option>'; |
| 250 | echo '<option value="Enabled">'. __('Enabled','wp-content-copy-protector') .'</option>'; |
| 251 | } |
| 252 | ?> |
| 253 | </select></td> |
| 254 | <td> |
| 255 | <p><font face="Tahoma" size="2"><?php _e('Use Premium Settings tab to customize more options','wp-content-copy-protector'); ?></font></td> |
| 256 | </tr> |
| 257 | <tr> |
| 258 | <td width="221" height="33"><font face="Tahoma" size="2"><?php _e('Plugin icon on top admin bar','wp-content-copy-protector'); ?></font></td> |
| 259 | <td> |
| 260 | <select size="1" name="top_bar_icon_btn"> |
| 261 | <?php |
| 262 | //Check if Hidden first, because default value is Visible |
| 263 | if (array_key_exists("top_bar_icon_btn",$wccp_settings) && $wccp_settings['top_bar_icon_btn'] == 'Hidden') |
| 264 | { |
| 265 | echo '<option selected value="Hidden">'. __('Hidden','wp-content-copy-protector') .'</option>'; |
| 266 | echo '<option value="Visible">'. __('Visible','wp-content-copy-protector') .'</option>'; |
| 267 | } |
| 268 | else |
| 269 | { |
| 270 | echo '<option selected value="Visible">'. __('Visible','wp-content-copy-protector') .'</option>'; |
| 271 | echo '<option value="Hidden">'. __('Hidden','wp-content-copy-protector') .'</option>'; |
| 272 | } |
| 273 | ?> |
| 274 | </select></td> |
| 275 | <td> |
| 276 | <p><font face="Tahoma" size="2"><?php _e('Show/Hide the plugin icon on the top admin bar','wp-content-copy-protector'); ?></font></td> |
| 277 | </tr> |
| 278 | <tr> |
| 279 | <td width="221" height="33"><font face="Tahoma" size="2"><?php _e('Exclude <u>Admin</u> from protection','wp-content-copy-protector'); ?></font></td> |
| 280 | <td width="88px"> |
| 281 | <p align="center"><font color="#FF0000"><?php _e('Premium','wp-content-copy-protector'); ?></font></td> |
| 282 | <td> |
| 283 | <font face="Tahoma" size="2"><?php _e('If <u>Yes</u>, The protection functions will be inactive for the admin when he is logged in','wp-content-copy-protector'); ?></font></td> |
| 284 | </tr> |
| 285 | <tr> |
| 286 | <td width="221" height="33"><font face="Tahoma" size="2"><?php _e('Selection disabled message','wp-content-copy-protector'); ?></font></td> |
| 287 | <td colspan="2"> |
| 288 | <table border="0" width="59%" cellspacing="0" cellpadding="0"> |
| 289 | <tr> |
| 290 | <td> |
| 291 | <input type="text" style="width: 100%;" placeholder="Enter something" class="form-control" name="smessage" value="<?php echo $wccp_settings['smessage']; ?>"></td> |
| 292 | </tr> |
| 293 | </table> |
| 294 | </td> |
| 295 | </tr> |
| 296 | <tr> |
| 297 | <td width="221" height="33"><font face="Tahoma" size="2"><?php _e('Print preview message','wp-content-copy-protector'); ?></font></td> |
| 298 | <td colspan="2"> |
| 299 | <table border="0" width="99%" cellspacing="0" cellpadding="0"> |
| 300 | <tr> |
| 301 | <td> |
| 302 | <textarea placeholder="Enter something" style="height: 110px; width: 100%;" class="form-control" name="prnt_scr_msg"><?php echo $wccp_settings['prnt_scr_msg']; ?></textarea></td> |
| 303 | </tr> |
| 304 | </table> |
| 305 | </td> |
| 306 | </tr> |
| 307 | </table></div> |
| 308 | </td> |
| 309 | </tr> |
| 310 | </table> |
| 311 | </td> |
| 312 | </tr> |
| 313 | </table></div> |
| 314 | <div class="simpleTabsContent"> |
| 315 | <h4><?php _e('Copy Protection on RightClick','wp-content-copy-protector'); ?> (<font color="#008000"><?php _e('Premium Layer 2','wp-content-copy-protector'); ?></font>):</h4> |
| 316 | <p><font face="Tahoma" size="2"><?php _e('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'); ?></font></p> |
| 317 | <div id="layer4"> |
| 318 | <table border="0" width="100%" height="361" cellspacing="0" cellpadding="0"> |
| 319 | <tr> |
| 320 | <td height="53" width="21%"><font face="Tahoma" size="2"><?php _e('Disable <u>RightClick</u> on','wp-content-copy-protector'); ?></font></td> |
| 321 | <td height="53"> |
| 322 | <table border="0" width="521" height="100%" cellspacing="1" cellpadding="0"> |
| 323 | <tr> |
| 324 | <td width="161" height="46"> |
| 325 | <label class="checkbox" for="checkbox1"> |
| 326 | <font face="Tahoma"> |
| 327 | <input data-toggle="checkbox" type="checkbox" name="right_click_protection_posts" value="checked" <?php echo $wccp_settings['right_click_protection_posts']; ?>><font size="2"><?php _e('Posts','wp-content-copy-protector'); ?></font></font> |
| 328 | </label> |
| 329 | </td> |
| 330 | <td width="161" height="46"> |
| 331 | <label class="checkbox" for="checkbox1"> |
| 332 | <font face="Tahoma"> |
| 333 | <input data-toggle="checkbox" type="checkbox" name="right_click_protection_homepage" value="checked" <?php echo $wccp_settings['right_click_protection_homepage']; ?>><font size="2"><?php _e('HomePage','wp-content-copy-protector'); ?></font></font> |
| 334 | </label> |
| 335 | </td> |
| 336 | <td width="185" height="46"> |
| 337 | <label class="checkbox" for="checkbox1"> |
| 338 | <font face="Tahoma"> |
| 339 | <input data-toggle="checkbox" type="checkbox" name="right_click_protection_pages" value="checked" <?php echo $wccp_settings['right_click_protection_pages']; ?>><font size="2"><?php _e('Static pages','wp-content-copy-protector'); ?></font></font> |
| 340 | </label> |
| 341 | </td> |
| 342 | </tr> |
| 343 | </table> |
| 344 | </td> |
| 345 | </tr> |
| 346 | <tr> |
| 347 | <td height="44" colspan="2"> |
| 348 | <p><font color="#FF0000" face="Tahoma" size="2"><?php _e('Remaining premium options preview image ','wp-content-copy-protector'); ?></font> |
| 349 | <img src="<?php echo $pluginsurl ?>/images/click-here-arrow.png" id="irc_mi"> |
| 350 | <b><font color="#0909FF"><u> |
| 351 | <a target="_blank" href="http://www.wp-buy.com/product/wp-content-copy-protection-pro/?src=layer2"> |
| 352 | <font color="#0909FF"><?php _e('Preview & Pricing','wp-content-copy-protector'); ?></font></a></u></font></b> |
| 353 | </td> |
| 354 | </tr> |
| 355 | <tr> |
| 356 | <td height="264" colspan="2"> |
| 357 | |
| 358 | <a target="_blank" href="http://www.wp-buy.com/product/wp-content-copy-protection-pro/?src=layer2"> |
| 359 | <img class="size-full" border="1" src="<?php echo $pluginsurl ?>/images/right-click-protection.jpg" style="border: 1px dotted #C0C0C0"></a><p> </td> |
| 360 | </tr> |
| 361 | </table></div> |
| 362 | </div> |
| 363 | <div class="simpleTabsContent"> |
| 364 | <h4><?php _e('Protection by CSS Techniques','wp-content-copy-protector'); ?> (<font color="#008000"><?php _e('Premium Layer 3','wp-content-copy-protector'); ?></font>):</h4> |
| 365 | <p><font face="Tahoma" size="2"><?php _e('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'); ?></font></p> |
| 366 | <table border="0" width="100%" cellspacing="0" cellpadding="0"> |
| 367 | <tr> |
| 368 | <td width="60%"> |
| 369 | <div style="float: auto;padding: 4px" id="layer5"> |
| 370 | <table border="0" width="100%" height="232" cellspacing="0" cellpadding="0"> |
| 371 | <tr> |
| 372 | <td width="221" height="74"><font face="Tahoma" size="2"><?php _e('<b>Home Page</b> Protection by CSS','wp-content-copy-protector'); ?></font></td> |
| 373 | <td height="74" width="90"> |
| 374 | <select size="1" name="home_css_protection"> |
| 375 | <?php |
| 376 | if ($wccp_settings['home_css_protection'] == 'Enabled') |
| 377 | { |
| 378 | echo '<option selected value="Enabled">'. __('Enabled','wp-content-copy-protector') .'</option>'; |
| 379 | echo '<option value="Disabled">'. __('Disabled','wp-content-copy-protector') .'</option>'; |
| 380 | } |
| 381 | else |
| 382 | { |
| 383 | echo '<option value="Enabled">'. __('Enabled','wp-content-copy-protector') .'</option>'; |
| 384 | echo '<option selected value="Disabled">'. __('Disabled','wp-content-copy-protector') .'</option>'; |
| 385 | } |
| 386 | ?> |
| 387 | </select> |
| 388 | </td> |
| 389 | <td height="74"> |
| 390 | <font face="Tahoma" size="2"><?php _e('Protect your Homepage by CSS tricks','wp-content-copy-protector'); ?></font></td> |
| 391 | </tr> |
| 392 | <tr> |
| 393 | <td width="221" height="77"><font face="Tahoma" size="2"><?php _e('<b>Posts</b> Protection by CSS','wp-content-copy-protector'); ?></font></td> |
| 394 | <td width="90" align="center"> |
| 395 | <select size="1" name="posts_css_protection"> |
| 396 | <?php |
| 397 | if ($wccp_settings['posts_css_protection'] == 'Enabled') |
| 398 | { |
| 399 | echo '<option selected value="Enabled">'. __('Enabled','wp-content-copy-protector') .'</option>'; |
| 400 | echo '<option value="Disabled">'. __('Disabled','wp-content-copy-protector') .'</option>'; |
| 401 | } |
| 402 | else |
| 403 | { |
| 404 | echo '<option value="Enabled">'. __('Enabled','wp-content-copy-protector') .'</option>'; |
| 405 | echo '<option selected value="Disabled">'. __('Disabled','wp-content-copy-protector') .'</option>'; |
| 406 | } |
| 407 | ?> |
| 408 | </select> |
| 409 | </td> |
| 410 | <td> |
| 411 | <font face="Tahoma" size="2"><?php _e('Protect your single posts by CSS tricks','wp-content-copy-protector'); ?></font> (Pro option - unlocked for free!!)</td> |
| 412 | </tr> |
| 413 | <tr> |
| 414 | <td width="221"><font face="Tahoma" size="2"><?php _e('<b>Pages</b> Protection by CSS','wp-content-copy-protector'); ?></font></td> |
| 415 | <td width="90" align="center"> |
| 416 | <font color="#FF0000"><?php _e('Premium','wp-content-copy-protector'); ?></font> |
| 417 | </td> |
| 418 | <td><font face="Tahoma" size="2"><?php _e('Protect your static pages by CSS tricks','wp-content-copy-protector'); ?></font></td> |
| 419 | </tr> |
| 420 | </table></div> |
| 421 | </td> |
| 422 | </tr> |
| 423 | </table> |
| 424 | |
| 425 | </div> |
| 426 | <div class="simpleTabsContent" id="layer1"> |
| 427 | <p><font color="#FF0000" face="Tahoma" size="3"><?php _e('Crazy discount offer is now running for a limited time!! You might love it','wp-content-copy-protector'); ?></font> |
| 428 | <img src="<?php echo $pluginsurl ?>/images/click-here-arrow.png" id="irc_mi"> |
| 429 | <b><font color="#0909FF"><u> |
| 430 | <a target="_blank" href="http://www.wp-buy.com/product/wp-content-copy-protection-pro/?src=more"> |
| 431 | <font color="#0909FF" size="3"><?php _e('See it now','wp-content-copy-protector'); ?></font></a></u></font></b> |
| 432 | <a target="_blank" href="http://www.wp-buy.com/product/wp-content-copy-protection-pro/?src=more"> |
| 433 | <img class="size-full" border="1" src="<?php echo $pluginsurl ?>/images/smart-phones-protection.png" style="border: 1px dotted #C0C0C0"> |
| 434 | </a> |
| 435 | <p> </p> |
| 436 | <a target="_blank" href="http://www.wp-buy.com/product/wp-content-copy-protection-pro/?src=more"> |
| 437 | <img class="size-full" border="1" src="<?php echo $pluginsurl ?>/images/watermark-adv.jpg" style="border: 1px dotted #C0C0C0"> |
| 438 | </a> |
| 439 | <p></p> |
| 440 | <a target="_blank" href="http://www.wp-buy.com/product/wp-content-copy-protection-pro/?src=more"> |
| 441 | <img class="size-full" border="1" src="<?php echo $pluginsurl ?>/images/watermarking-adv-examples.png" style="border: 1px dotted #C0C0C0"> |
| 442 | </a> |
| 443 | <p></p> |
| 444 | <p><b><font face="Tahoma" size="2" color="#FFFFFF"> |
| 445 | |
| 446 | |
| 447 | <span style="background-color: #008000"><?php _e('Basic features:','wp-content-copy-protector'); ?></span></font></b></p> |
| 448 | <ul> |
| 449 | <li><font style="font-size: 10pt" face="Tahoma"><?php _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> |
| 450 | <li><font style="font-size: 10pt" face="Tahoma"><?php _e('No one can save images from your site.','wp-content-copy-protector'); ?></font></li> |
| 451 | <li><font style="font-size: 10pt" face="Tahoma"><?php _e('No right-click or context menu.','wp-content-copy-protector'); ?></font></li> |
| 452 | <li><font style="font-size: 10pt" face="Tahoma"><?php _e('Show alert message, Image Ad, or HTML Ad on saving images or right-click.','wp-content-copy-protector'); ?></font></li> |
| 453 | <li><font style="font-size: 10pt" face="Tahoma"><?php _e('Disable the following keys','wp-content-copy-protector'); ?> CTRL+A, CTRL+C, CTRL+X, CTRL+S, or CTRL+V.</font></li> |
| 454 | <li><font style="font-size: 10pt" face="Tahoma"><?php _e('Advanced and easy to use control panel.','wp-content-copy-protector'); ?></font></li> |
| 455 | <li><font style="font-size: 10pt" face="Tahoma"><?php _e('No one can right-click images on your site if you want','wp-content-copy-protector'); ?></font></li> |
| 456 | </ul> |
| 457 | <p><b><font face="Tahoma" size="2" color="#FFFFFF"> |
| 458 | <span style="background-color: #5B2473"><?php _e('Premium features:','wp-content-copy-protector'); ?></span></font></b></p> |
| 459 | <ul> |
| 460 | <li><font style="font-size: 10pt" face="Tahoma"><?php _e('Get full control over Right-click or context menu','wp-content-copy-protector'); ?></font></li> |
| 461 | <li><font style="font-size: 10pt" face="Tahoma"><?php _e('Full watermarking','wp-content-copy-protector'); ?></font></li> |
| 462 | <li><font style="font-size: 10pt" face="Tahoma"><?php _e('Show alert messages, when the user made right click on images, text boxes, links, plain text.. etc','wp-content-copy-protector'); ?></font></li> |
| 463 | <li><font style="font-size: 10pt" face="Tahoma"><?php _e('Admin can exclude Home page Or Single posts from being copy protected ','wp-content-copy-protector'); ?></font></li> |
| 464 | <li><font style="font-size: 10pt" face="Tahoma"><?php _e('Admin can disable copy protection for admin users.','wp-content-copy-protector'); ?></font></li> |
| 465 | <li><font face="Tahoma" size="2"><?php _e('3 protection layers (JavaScript protection, RightClick protection, CSS protection)','wp-content-copy-protector'); ?></font></li> |
| 466 | <li><font style="font-size: 10pt" face="Tahoma"><?php _e('Aggressive image protection (it is nearly impossible for expert users to steal your images !!)','wp-content-copy-protector'); ?></font></li> |
| 467 | <li><font style="font-size: 10pt" face="Tahoma"><?php _e('Compatible with all major theme frameworks','wp-content-copy-protector'); ?></font></li> |
| 468 | <li><font style="font-size: 10pt" face="Tahoma"><?php _e('Compatible with all major browsers','wp-content-copy-protector'); ?></font></li> |
| 469 | <li><font style="font-size: 10pt" face="Tahoma"><?php _e('Tested in IE9, IE10, edge, Firefox, Google Chrome, Opera, safari','wp-content-copy-protector'); ?></font></li> |
| 470 | <li><font style="font-size: 10pt" face="Tahoma"><?php _e('Disables image drag and drop function','wp-content-copy-protector'); ?></font></li> |
| 471 | <li><font style="font-size: 10pt" face="Tahoma"><?php _e('Works on smartphones.','wp-content-copy-protector'); ?></font></li> |
| 472 | <li><font style="font-size: 10pt" face="Tahoma"><?php _e('Ability to set varying levels of protection per page or post.','wp-content-copy-protector'); ?></font></li> |
| 473 | </ul> |
| 474 | |
| 475 | |
| 476 | <p><a target="_blank" href="https://www.wp-buy.com/wpccp-subscribe">Subscribe</a> to our mailing list to get flash discounts</p> |
| 477 | </div> |
| 478 | </div><!-- simple tabs div end --> |
| 479 | <div style="width:97%;" class=""> |
| 480 | <div class="row justify-content-end form-btns"> |
| 481 | <div class="col-15-auto"><input type="submit" class="btn wccp-form-button gray-btn" value="<?php _e('Restore defaults','wp-content-copy-protector'); ?>" name="Restore_defaults"></div> |
| 482 | <div class="col-15-auto"><input type="button" class="btn wccp-form-button blue-btn" value="<?php _e('Preview alert message','wp-content-copy-protector'); ?>" alt="Use CTRL+F5 after saving" onclick="show_wpcp_message('<?php _e('This is a preview message (do not forget to save changes)','wp-content-copy-protector'); ?>');" name="B5"></div> |
| 483 | <div class="col-15-auto"><input type="submit" class="btn wccp-form-button green-btn" value=" <?php _e('Save Settings','wp-content-copy-protector'); ?> " name="Save_settings"></div> |
| 484 | </div></div> |
| 485 | </form> |
| 486 | </div> |
| 487 | <style> |
| 488 | #aio_admin_main { |
| 489 | padding:10px; |
| 490 | margin: 10px; |
| 491 | background-color: #ffffff; |
| 492 | border:1px solid #EBDDE2; |
| 493 | display: relative; |
| 494 | overflow: auto; |
| 495 | } |
| 496 | .inner_block{ |
| 497 | height: 370px; |
| 498 | display: inline; |
| 499 | min-width:770px; |
| 500 | } |
| 501 | #donate{ |
| 502 | background-color: #EEFFEE; |
| 503 | border: 1px solid #66DD66; |
| 504 | border-radius: 10px 10px 10px 10px; |
| 505 | height: 58px; |
| 506 | padding: 10px; |
| 507 | margin: 15px; |
| 508 | } |
| 509 | .text-font { |
| 510 | color: #1ABC9C; |
| 511 | font-size: 14px; |
| 512 | line-height: 1.5; |
| 513 | padding-left: 3px; |
| 514 | transition: color 0.25s linear 0s; |
| 515 | } |
| 516 | .text-font:hover { |
| 517 | opacity: 1; |
| 518 | transition: color 0.25s linear 0s; |
| 519 | } |
| 520 | .simpleTabsContent{ |
| 521 | border: 1px solid #E9E9E9; |
| 522 | padding: 4px; |
| 523 | } |
| 524 | div.simpleTabsContent{ |
| 525 | margin-top:0; |
| 526 | border: 1px solid #E0E0E0; |
| 527 | display: none; |
| 528 | height: 100%; |
| 529 | min-height: 400px; |
| 530 | padding: 5px 15px 15px; |
| 531 | } |
| 532 | |
| 533 | .size-full { |
| 534 | height: auto; |
| 535 | max-width: 100%; |
| 536 | } |
| 537 | |
| 538 | .wccp-form-button { |
| 539 | color: white; |
| 540 | padding: 12px 28px; |
| 541 | text-align: center; |
| 542 | text-decoration: none; |
| 543 | display: inline-block; |
| 544 | font-size: 16px; |
| 545 | cursor: pointer; |
| 546 | transition-duration: 0.4s; |
| 547 | border: 2px solid; |
| 548 | border-radius: 5px; |
| 549 | } |
| 550 | |
| 551 | .wccp-form-button:hover {background-color: white;} |
| 552 | |
| 553 | .green-btn {background-color: #4CAF50; border-color: #4CAF50;} /* Green */ |
| 554 | .green-btn:hover {color: #4CAF50;} |
| 555 | |
| 556 | .blue-btn {background-color: #008CBA; border-color: #008CBA;} /* Blue */ |
| 557 | .blue-btn:hover {color: #008CBA;} |
| 558 | |
| 559 | .red-btn {background-color: #f44336; border-color: #f44336;} /* Red */ |
| 560 | .red-btn:hover {color: #f44336;} |
| 561 | |
| 562 | .gray-btn {background-color: #e7e7e7; color: black; border-color: #e7e7e7;} /* Gray */ |
| 563 | .gray-btn:hover {color: #black;} |
| 564 | |
| 565 | .black-btn {background-color: #555555; border-color: #555555;} /* Black */ |
| 566 | .black-btn:hover {color: #555555;} |
| 567 | |
| 568 | .form-btns .btn{ |
| 569 | margin-right: 5px; |
| 570 | float: right; |
| 571 | } |
| 572 | @media (max-width: 435px) |
| 573 | { |
| 574 | .form-btns .btn |
| 575 | { |
| 576 | width:95% !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 | .form-btns div |
| 585 | { |
| 586 | width: 100%; |
| 587 | } |
| 588 | |
| 589 | } |
| 590 | @media (min-width: 436px) and (max-width: 646px) |
| 591 | { |
| 592 | .form-btns .btn |
| 593 | { |
| 594 | width:390px !important; |
| 595 | } |
| 596 | .form-btns |
| 597 | { |
| 598 | -webkit-box-pack: center!important; |
| 599 | -ms-flex-pack: center!important; |
| 600 | justify-content: center!important; |
| 601 | } |
| 602 | } |
| 603 | @media (min-width: 647px) and (min-width: 768px) |
| 604 | { |
| 605 | .form-btns .btn |
| 606 | { |
| 607 | margin-right: 5px; |
| 608 | } |
| 609 | } |
| 610 | </style> |