wp-content-copy-protector
Last commit date
css
6 years ago
images
6 years ago
js
6 years ago
languages
6 years ago
admin-core.php
6 years ago
preventer-index.php
6 years ago
readme.txt
6 years ago
right-click-protection.jpg
6 years ago
the_globals.php
6 years ago
watermark-adv.jpg
6 years ago
watermarking-adv-examples.png
6 years ago
admin-core.php
472 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 | $post_action = ''; |
| 10 | if(isset($_POST["action"])) $post_action = sanitize_text_field($_POST["action"]); |
| 11 | if($post_action == 'update') |
| 12 | { |
| 13 | //----------------------------------------------------list the options array values |
| 14 | //----------------------------------------------------list the options array values |
| 15 | $single_posts_protection = ''; |
| 16 | if(isset($_POST["single_posts_protection"])) $single_posts_protection = sanitize_text_field($_POST["single_posts_protection"]); |
| 17 | $home_page_protection = ''; |
| 18 | if(isset($_POST["home_page_protection"])) $home_page_protection = sanitize_text_field($_POST["home_page_protection"]); |
| 19 | $page_protection = ''; |
| 20 | if(isset($_POST["page_protection"])) $page_protection = sanitize_text_field($_POST["page_protection"]); |
| 21 | |
| 22 | $exclude_admin_from_protection = ''; |
| 23 | if(isset($_POST["exclude_admin_from_protection"])) $exclude_admin_from_protection = sanitize_text_field($_POST["exclude_admin_from_protection"]); |
| 24 | |
| 25 | $home_css_protection = ''; |
| 26 | if(isset($_POST["home_css_protection"])) $home_css_protection = sanitize_text_field($_POST["home_css_protection"]); |
| 27 | $posts_css_protection = ''; |
| 28 | if(isset($_POST["posts_css_protection"])) $posts_css_protection = sanitize_text_field($_POST["posts_css_protection"]); |
| 29 | $pages_css_protection = ''; |
| 30 | if(isset($_POST["pages_css_protection"])) $pages_css_protection = sanitize_text_field($_POST["pages_css_protection"]); |
| 31 | |
| 32 | $right_click_protection_posts = ''; |
| 33 | if(isset($_POST["right_click_protection_posts"])) $right_click_protection_posts = sanitize_text_field($_POST["right_click_protection_posts"]); |
| 34 | $right_click_protection_homepage = ''; |
| 35 | if(isset($_POST["right_click_protection_homepage"])) $right_click_protection_homepage = sanitize_text_field($_POST["right_click_protection_homepage"]); |
| 36 | $right_click_protection_pages = ''; |
| 37 | if(isset($_POST["right_click_protection_pages"])) $right_click_protection_pages = sanitize_text_field($_POST["right_click_protection_pages"]); |
| 38 | |
| 39 | $img = ''; |
| 40 | if(isset($_POST["img"])) $img = sanitize_text_field($_POST["img"]); |
| 41 | $a = ''; |
| 42 | if(isset($_POST["a"])) $a = sanitize_text_field($_POST["a"]); |
| 43 | $pb = ''; |
| 44 | if(isset($_POST["pb"])) $pb = sanitize_text_field($_POST["pb"]); |
| 45 | $input = ''; |
| 46 | if(isset($_POST["input"])) $input = sanitize_text_field($_POST["input"]); |
| 47 | $h = ''; |
| 48 | if(isset($_POST["h"])) $h = sanitize_text_field($_POST["h"]); |
| 49 | $textarea = ''; |
| 50 | if(isset($_POST["textarea"])) $textarea = sanitize_text_field($_POST["textarea"]); |
| 51 | $emptyspaces = ''; |
| 52 | if(isset($_POST["emptyspaces"])) $emptyspaces = sanitize_text_field($_POST["emptyspaces"]); |
| 53 | |
| 54 | $smessage = ''; |
| 55 | if(isset($_POST["smessage"])) $smessage = sanitize_text_field($_POST["smessage"]); |
| 56 | $alert_msg_img = ''; |
| 57 | if(isset($_POST["alert_msg_img"])) $alert_msg_img = sanitize_text_field($_POST["alert_msg_img"]); |
| 58 | $alert_msg_a = ''; |
| 59 | if(isset($_POST["alert_msg_a"])) $alert_msg_a = sanitize_text_field($_POST["alert_msg_a"]); |
| 60 | $alert_msg_pb = ''; |
| 61 | if(isset($_POST["alert_msg_pb"])) $alert_msg_pb = sanitize_text_field($_POST["alert_msg_pb"]); |
| 62 | $alert_msg_input = ''; |
| 63 | if(isset($_POST["alert_msg_input"])) $alert_msg_input = sanitize_text_field($_POST["alert_msg_input"]); |
| 64 | $alert_msg_h = ''; |
| 65 | if(isset($_POST["alert_msg_h"])) $alert_msg_h = sanitize_text_field($_POST["alert_msg_h"]); |
| 66 | $alert_msg_textarea = ''; |
| 67 | if(isset($_POST["alert_msg_textarea"])) $alert_msg_textarea = sanitize_text_field($_POST["alert_msg_textarea"]); |
| 68 | $alert_msg_emptyspaces = ''; |
| 69 | if(isset($_POST["alert_msg_emptyspaces"])) $alert_msg_emptyspaces = sanitize_text_field($_POST["alert_msg_emptyspaces"]); |
| 70 | $prnt_scr_msg = ''; |
| 71 | if(isset($_POST["prnt_scr_msg"])) $prnt_scr_msg = sanitize_text_field($_POST["prnt_scr_msg"]); |
| 72 | |
| 73 | //----------------------------------------------------Get the options array values |
| 74 | $wccp_settings = |
| 75 | Array ( |
| 76 | 'single_posts_protection' => $single_posts_protection, // prevent content copy, take 2 parameters |
| 77 | 'home_page_protection' => $home_page_protection, // PROTECT THE HOME PAGE OR NOT |
| 78 | 'page_protection' => $page_protection, // protect pages by javascript |
| 79 | 'right_click_protection_posts' => $right_click_protection_posts, // |
| 80 | 'right_click_protection_homepage' => $right_click_protection_homepage, // |
| 81 | 'right_click_protection_pages' => $right_click_protection_pages, // |
| 82 | 'home_css_protection' => $home_css_protection, // premium option |
| 83 | 'posts_css_protection' => 'No', // premium option |
| 84 | 'pages_css_protection' => 'No', // premium option |
| 85 | 'exclude_admin_from_protection' => 'No', // premium option |
| 86 | 'img' => '', // premium option |
| 87 | 'a' => '', // premium option |
| 88 | 'pb' => '', // premium option |
| 89 | 'input' => '', // premium option |
| 90 | 'h' => '', // premium option |
| 91 | 'textarea' => '', // premium option |
| 92 | 'emptyspaces' => '', // premium option |
| 93 | 'smessage' => $smessage, |
| 94 | 'alert_msg_img' => $alert_msg_img, |
| 95 | 'alert_msg_a' => $alert_msg_a, |
| 96 | 'alert_msg_pb' => $alert_msg_pb, |
| 97 | 'alert_msg_input' => $alert_msg_input, |
| 98 | 'alert_msg_h' => $alert_msg_h, |
| 99 | 'alert_msg_textarea' => $alert_msg_textarea, |
| 100 | 'alert_msg_emptyspaces' => $alert_msg_emptyspaces, |
| 101 | 'prnt_scr_msg' => $prnt_scr_msg |
| 102 | ); |
| 103 | |
| 104 | if ($wccp_settings != '' ) { |
| 105 | update_option( 'wccp_settings' , $wccp_settings ); |
| 106 | } else { |
| 107 | $deprecated = ' '; |
| 108 | $autoload = 'no'; |
| 109 | add_option( 'wccp_settings', $wccp_settings, $deprecated, $autoload ); |
| 110 | } |
| 111 | }else //no update action |
| 112 | { |
| 113 | $wccp_settings = wccp_read_options(); |
| 114 | } |
| 115 | |
| 116 | ?> |
| 117 | <style> |
| 118 | #aio_admin_main { |
| 119 | padding:10px; |
| 120 | margin: 10px; |
| 121 | background-color: #ffffff; |
| 122 | border:1px solid #EBDDE2; |
| 123 | display: relative; |
| 124 | overflow: auto; |
| 125 | } |
| 126 | .inner_block{ |
| 127 | height: 370px; |
| 128 | display: inline; |
| 129 | min-width:770px; |
| 130 | } |
| 131 | #donate{ |
| 132 | background-color: #EEFFEE; |
| 133 | border: 1px solid #66DD66; |
| 134 | border-radius: 10px 10px 10px 10px; |
| 135 | height: 58px; |
| 136 | padding: 10px; |
| 137 | margin: 15px; |
| 138 | } |
| 139 | .text-font { |
| 140 | color: #1ABC9C; |
| 141 | font-size: 14px; |
| 142 | line-height: 1.5; |
| 143 | padding-left: 3px; |
| 144 | transition: color 0.25s linear 0s; |
| 145 | } |
| 146 | .text-font:hover { |
| 147 | opacity: 1; |
| 148 | transition: color 0.25s linear 0s; |
| 149 | } |
| 150 | .simpleTabsContent{ |
| 151 | border: 1px solid #E9E9E9; |
| 152 | padding: 4px; |
| 153 | } |
| 154 | div.simpleTabsContent{ |
| 155 | margin-top:0; |
| 156 | border: 1px solid #E0E0E0; |
| 157 | display: none; |
| 158 | height: 100%; |
| 159 | min-height: 400px; |
| 160 | padding: 5px 15px 15px; |
| 161 | } |
| 162 | html { |
| 163 | background: #FFFFFF; |
| 164 | } |
| 165 | .size-full { |
| 166 | height: auto; |
| 167 | max-width: 100%; |
| 168 | } |
| 169 | </style> |
| 170 | <div id="wpccp_subscribe" class="notice notice-info is-dismissible"> |
| 171 | <?php $admin_email_wccp = get_bloginfo("admin_email"); ?> |
| 172 | <table style="background-image:url(<?php echo $pluginsurl ?>/images/ad.png);background-repeat:no-repeat;" border="0" width="100%" cellspacing="0" cellpadding="0"> |
| 173 | <tr> |
| 174 | <td><h2 style="background-color:#FFFFFF;padding:3px;" class="alert-heading"><?php _e("WP Content Protection Plugin Group", 'wp-content-copy-protector') ?></h2></td> |
| 175 | <td rowspan="2"> |
| 176 | <p align="center"><a href="#" onclick="wpccp_dismiss_notice()"><?php _e('Dismiss', 'wp-content-copy-protector'); ?> </a></td> |
| 177 | </tr> |
| 178 | <tr> |
| 179 | <td style="padding-left: 77px;"> |
| 180 | <h4> |
| 181 | <?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>'; ?> |
| 182 | <button type="button" class="btn btn-primary wpccp_subscribe_btn" onclick='wpccp_open_subscribe_page();'> <?php _e("Start it!", 'wp-content-copy-protector'); ?> </button> |
| 183 | </h4> |
| 184 | </td> |
| 185 | </tr> |
| 186 | </table> |
| 187 | </div> |
| 188 | <script> |
| 189 | function wpccp_dismiss_notice() |
| 190 | { |
| 191 | localStorage.setItem('wpccp_subscribed', 'wpccp_subsbc_user'); |
| 192 | document.getElementById("wpccp_subscribe").style.display="none"; |
| 193 | } |
| 194 | |
| 195 | function wpccp_open_subscribe_page() |
| 196 | { |
| 197 | if(localStorage.getItem('wpccp_subscribed') !='wpccp_subsbc_user') |
| 198 | { |
| 199 | window.open('https://www.wp-buy.com/wpccp-subscribe/?email=<?php echo $admin_email_wccp; ?>','_blank'); |
| 200 | } |
| 201 | } |
| 202 | |
| 203 | if(localStorage.getItem('wpccp_subscribed') =='wpccp_subsbc_user') |
| 204 | { |
| 205 | document.getElementById("wpccp_subscribe").style.display="none"; |
| 206 | } |
| 207 | </script> |
| 208 | <div id="aio_admin_main"> |
| 209 | <form method="POST"> |
| 210 | <input type="hidden" value="update" name="action"> |
| 211 | <div class="simpleTabs"> |
| 212 | <ul class="simpleTabsNavigation"> |
| 213 | <li><a href="#"><?php _e('Main Settings','wp-content-copy-protector'); ?></a></li> |
| 214 | <li><a href="#"><?php _e('Premium RightClick Protection','wp-content-copy-protector'); ?></a></li> |
| 215 | <li><a href="#"><?php _e('Premium Protection by CSS','wp-content-copy-protector'); ?></a></li> |
| 216 | <li><a href="#"><?php _e('More with pro','wp-content-copy-protector'); ?></a></li> |
| 217 | </ul> |
| 218 | <div class="simpleTabsContent"> |
| 219 | <table border="0" width="100%" cellspacing="0" cellpadding="0"> |
| 220 | <tr> |
| 221 | <td width="77%"> |
| 222 | <h4><?php _e('Copy Protection using JavaScript','wp-content-copy-protector'); ?> (<font color="#008000"><?php _e('Basic Layer','wp-content-copy-protector'); ?></font>):</h4> |
| 223 | <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> |
| 224 | <table border="0" width="100%" cellspacing="0" cellpadding="0"> |
| 225 | <tr> |
| 226 | <td width="60%"> |
| 227 | <div style="float: auto;padding: 4px" id="layer3"> |
| 228 | <table border="0" width="100%" height="320" cellspacing="0" cellpadding="0"> |
| 229 | <tr> |
| 230 | <td width="221" height="33"><font face="Tahoma" size="2"><?php _e('Posts protection by <u>JavaScript</u>','wp-content-copy-protector'); ?></font></td> |
| 231 | <td> |
| 232 | <select size="1" name="single_posts_protection"> |
| 233 | <?php |
| 234 | if ($wccp_settings['single_posts_protection'] == 'Enabled') |
| 235 | { |
| 236 | echo '<option selected value="Enabled">'. __('Enabled','wp-content-copy-protector') .'</option>'; |
| 237 | echo '<option value="Disabled">'. __('Disabled','wp-content-copy-protector') .'</option>'; |
| 238 | } |
| 239 | else |
| 240 | { |
| 241 | echo '<option value="Enabled">'. __('Enabled','wp-content-copy-protector') .'</option>'; |
| 242 | echo '<option selected value="Disabled">'. __('Disabled','wp-content-copy-protector') .'</option>'; |
| 243 | } |
| 244 | ?> |
| 245 | </select> |
| 246 | </td> |
| 247 | <td> |
| 248 | <p><font face="Tahoma" size="2"><?php _e('For single posts content','wp-content-copy-protector'); ?></font></p></td> |
| 249 | </tr> |
| 250 | <tr> |
| 251 | <td width="221" height="33"><font face="Tahoma" size="2"><?php _e('Homepage protection by <u>JavaScript</u>','wp-content-copy-protector'); ?></font></td> |
| 252 | <td> |
| 253 | <select size="1" name="home_page_protection"> |
| 254 | <?php |
| 255 | if ($wccp_settings['home_page_protection'] == 'Enabled') |
| 256 | { |
| 257 | echo '<option selected value="Enabled">'. __('Enabled','wp-content-copy-protector') .'</option>'; |
| 258 | echo '<option value="Disabled">'. __('Disabled','wp-content-copy-protector') .'</option>'; |
| 259 | } |
| 260 | else |
| 261 | { |
| 262 | echo '<option value="Enabled">'. __('Enabled','wp-content-copy-protector') .'</option>'; |
| 263 | echo '<option selected value="Disabled">'. __('Disabled','wp-content-copy-protector') .'</option>'; |
| 264 | } |
| 265 | ?> |
| 266 | </select> |
| 267 | </td> |
| 268 | <td> |
| 269 | <p><font face="Tahoma" size="2"><?php _e('Don\'t copy any thing! even from my homepage','wp-content-copy-protector'); ?></font></td> |
| 270 | </tr> |
| 271 | <tr> |
| 272 | <td width="221" height="33"><font face="Tahoma" size="2"><?php _e('Static page\'s protection','wp-content-copy-protector'); ?></font></td> |
| 273 | <td> |
| 274 | <select size="1" name="page_protection"> |
| 275 | <?php |
| 276 | if ($wccp_settings['page_protection'] == 'Enabled') |
| 277 | { |
| 278 | echo '<option selected value="Enabled">'. __('Enabled','wp-content-copy-protector') .'</option>'; |
| 279 | echo '<option value="Disabled">'. __('Disabled','wp-content-copy-protector') .'</option>'; |
| 280 | } |
| 281 | else |
| 282 | { |
| 283 | echo '<option selected value="Disabled">'. __('Disabled','wp-content-copy-protector') .'</option>'; |
| 284 | echo '<option value="Enabled">'. __('Enabled','wp-content-copy-protector') .'</option>'; |
| 285 | } |
| 286 | ?> |
| 287 | </select></td> |
| 288 | <td> |
| 289 | <p><font face="Tahoma" size="2"><?php _e('Use Premium Settings tab to customize more options','wp-content-copy-protector'); ?></font></td> |
| 290 | </tr> |
| 291 | <tr> |
| 292 | <td width="221" height="33"><font face="Tahoma" size="2"><?php _e('Exclude <u>Admin</u> from protection','wp-content-copy-protector'); ?></font></td> |
| 293 | <td width="88px"> |
| 294 | <p align="center"><font color="#FF0000"><?php _e('Premium','wp-content-copy-protector'); ?></font></td> |
| 295 | <td> |
| 296 | <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> |
| 297 | </tr> |
| 298 | <tr> |
| 299 | <td width="221" height="33"><font face="Tahoma" size="2"><?php _e('Selection disabled message','wp-content-copy-protector'); ?></font></td> |
| 300 | <td colspan="2"> |
| 301 | <table border="0" width="59%" cellspacing="0" cellpadding="0"> |
| 302 | <tr> |
| 303 | <td> |
| 304 | <input type="text" style="width: 100%;" placeholder="Enter something" class="form-control" name="smessage" value="<?php echo $wccp_settings['smessage']; ?>"></td> |
| 305 | </tr> |
| 306 | </table> |
| 307 | </td> |
| 308 | </tr> |
| 309 | <tr> |
| 310 | <td width="221" height="33"><font face="Tahoma" size="2"><?php _e('Print preview message','wp-content-copy-protector'); ?></font></td> |
| 311 | <td colspan="2"> |
| 312 | <table border="0" width="99%" cellspacing="0" cellpadding="0"> |
| 313 | <tr> |
| 314 | <td> |
| 315 | <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> |
| 316 | </tr> |
| 317 | </table> |
| 318 | </td> |
| 319 | </tr> |
| 320 | </table></div> |
| 321 | </td> |
| 322 | </tr> |
| 323 | </table> |
| 324 | </td> |
| 325 | </tr> |
| 326 | </table></div> |
| 327 | <div class="simpleTabsContent"> |
| 328 | <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> |
| 329 | <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> |
| 330 | <div id="layer4"> |
| 331 | <table border="0" width="100%" height="361" cellspacing="0" cellpadding="0"> |
| 332 | <tr> |
| 333 | <td height="53" width="21%"><font face="Tahoma" size="2"><?php _e('Disable <u>RightClick</u> on','wp-content-copy-protector'); ?></font></td> |
| 334 | <td height="53"> |
| 335 | <table border="0" width="521" height="100%" cellspacing="1" cellpadding="0"> |
| 336 | <tr> |
| 337 | <td width="161" height="46"> |
| 338 | <label class="checkbox" for="checkbox1"> |
| 339 | <font face="Tahoma"> |
| 340 | <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> |
| 341 | </label> |
| 342 | </td> |
| 343 | <td width="161" height="46"> |
| 344 | <label class="checkbox" for="checkbox1"> |
| 345 | <font face="Tahoma"> |
| 346 | <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> |
| 347 | </label> |
| 348 | </td> |
| 349 | <td width="185" height="46"> |
| 350 | <label class="checkbox" for="checkbox1"> |
| 351 | <font face="Tahoma"> |
| 352 | <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> |
| 353 | </label> |
| 354 | </td> |
| 355 | </tr> |
| 356 | </table> |
| 357 | </td> |
| 358 | </tr> |
| 359 | <tr> |
| 360 | <td height="44" colspan="2"> |
| 361 | <p><font color="#FF0000" face="Tahoma" size="2"><?php _e('Remaining premium options preview image ','wp-content-copy-protector'); ?></font> |
| 362 | <img src="<?php echo $pluginsurl ?>/images/click-here-arrow.png" id="irc_mi"> |
| 363 | <b><font color="#0909FF"><u> |
| 364 | <a href="http://www.wp-buy.com/product/wp-content-copy-protection-pro/"> |
| 365 | <font color="#0909FF"><?php _e('Preview & Pricing','wp-content-copy-protector'); ?></font></a></u></font></b> |
| 366 | </td> |
| 367 | </tr> |
| 368 | <tr> |
| 369 | <td height="264" colspan="2"> |
| 370 | |
| 371 | <a href="http://www.wp-buy.com/product/wp-content-copy-protection-pro/"> |
| 372 | <img class="size-full" border="1" src="<?php echo $pluginsurl ?>/images/right-click-protection.jpg" style="border: 1px dotted #C0C0C0"></a><p> </td> |
| 373 | </tr> |
| 374 | </table></div> |
| 375 | </div> |
| 376 | <div class="simpleTabsContent"> |
| 377 | <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> |
| 378 | <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> |
| 379 | <table border="0" width="100%" cellspacing="0" cellpadding="0"> |
| 380 | <tr> |
| 381 | <td width="60%"> |
| 382 | <div style="float: auto;padding: 4px" id="layer5"> |
| 383 | <table border="0" width="100%" height="232" cellspacing="0" cellpadding="0"> |
| 384 | <tr> |
| 385 | <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> |
| 386 | <td height="74" width="90"> |
| 387 | <select size="1" name="home_css_protection"> |
| 388 | <?php |
| 389 | if ($wccp_settings['home_css_protection'] == 'Enabled') |
| 390 | { |
| 391 | echo '<option selected value="Enabled">'. __('Enabled','wp-content-copy-protector') .'</option>'; |
| 392 | echo '<option value="Disabled">'. __('Disabled','wp-content-copy-protector') .'</option>'; |
| 393 | } |
| 394 | else |
| 395 | { |
| 396 | echo '<option value="Enabled">'. __('Enabled','wp-content-copy-protector') .'</option>'; |
| 397 | echo '<option selected value="Disabled">'. __('Disabled','wp-content-copy-protector') .'</option>'; |
| 398 | } |
| 399 | ?> |
| 400 | </select> |
| 401 | </td> |
| 402 | <td height="74"> |
| 403 | <font face="Tahoma" size="2"><?php _e('Protect your Homepage by CSS tricks','wp-content-copy-protector'); ?></font></td> |
| 404 | </tr> |
| 405 | <tr> |
| 406 | <td width="221" height="77"><font face="Tahoma" size="2"><?php _e('<b>Posts</b> Protection by CSS','wp-content-copy-protector'); ?></font></td> |
| 407 | <td width="90" align="center"> |
| 408 | <font color="#FF0000"><?php _e('Premium','wp-content-copy-protector'); ?></font> |
| 409 | </td> |
| 410 | <td> |
| 411 | <font face="Tahoma" size="2"><?php _e('Protect your single posts by CSS tricks','wp-content-copy-protector'); ?></font></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 | <a href="http://www.wp-buy.com/product/wp-content-copy-protection-pro/"> |
| 428 | <img class="size-full" border="1" src="<?php echo $pluginsurl ?>/images/smart-phones-protection.png" style="border: 1px dotted #C0C0C0"> |
| 429 | </a> |
| 430 | <p></p> |
| 431 | <a href="http://www.wp-buy.com/product/wp-content-copy-protection-pro/"> |
| 432 | <img class="size-full" border="1" src="<?php echo $pluginsurl ?>/images/watermark-adv.jpg" style="border: 1px dotted #C0C0C0"> |
| 433 | </a> |
| 434 | <p></p> |
| 435 | <a href="http://www.wp-buy.com/product/wp-content-copy-protection-pro/"> |
| 436 | <img class="size-full" border="1" src="<?php echo $pluginsurl ?>/images/watermarking-adv-examples.png" style="border: 1px dotted #C0C0C0"> |
| 437 | </a> |
| 438 | <p></p> |
| 439 | <p><b><font face="Tahoma" size="2" color="#FFFFFF"> |
| 440 | <span style="background-color: #008000"><?php _e('Basic features:','wp-content-copy-protector'); ?></span></font></b></p> |
| 441 | <ul> |
| 442 | <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> |
| 443 | <li><font style="font-size: 10pt" face="Tahoma"><?php _e('No one can save images from your site.','wp-content-copy-protector'); ?></font></li> |
| 444 | <li><font style="font-size: 10pt" face="Tahoma"><?php _e('No right click or context menu.','wp-content-copy-protector'); ?></font></li> |
| 445 | <li><font style="font-size: 10pt" face="Tahoma"><?php _e('Show alert message, Image Ad or HTML Ad on save images or right click.','wp-content-copy-protector'); ?></font></li> |
| 446 | <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> |
| 447 | <li><font style="font-size: 10pt" face="Tahoma"><?php _e('Advanced and easy to use control panel.','wp-content-copy-protector'); ?></font></li> |
| 448 | <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> |
| 449 | </ul> |
| 450 | <p><b><font face="Tahoma" size="2" color="#FFFFFF"> |
| 451 | <span style="background-color: #5B2473"><?php _e('Premium features:','wp-content-copy-protector'); ?></span></font></b></p> |
| 452 | <ul> |
| 453 | <li><font style="font-size: 10pt" face="Tahoma"><?php _e('Get full Control on Right click or context menu','wp-content-copy-protector'); ?></font></li> |
| 454 | <li><font style="font-size: 10pt" face="Tahoma"><?php _e('Full watermarking','wp-content-copy-protector'); ?></font></li> |
| 455 | <li><font style="font-size: 10pt" face="Tahoma"><?php _e('Show alert messages, when user made right click on images, text boxes, links, plain text.. etc','wp-content-copy-protector'); ?></font></li> |
| 456 | <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> |
| 457 | <li><font style="font-size: 10pt" face="Tahoma"><?php _e('Admin can disable copy protection for admin users.','wp-content-copy-protector'); ?></font></li> |
| 458 | <li><font face="Tahoma" size="2"><?php _e('3 protection layers (JavaScript protection, RightClick protection, CSS protection)','wp-content-copy-protector'); ?></font></li> |
| 459 | <li><font style="font-size: 10pt" face="Tahoma"><?php _e('Aggressive image protection (its near impossible for expert users to steal your images !!)','wp-content-copy-protector'); ?></font></li> |
| 460 | <li><font style="font-size: 10pt" face="Tahoma"><?php _e('Compatible with all major theme frameworks','wp-content-copy-protector'); ?></font></li> |
| 461 | <li><font style="font-size: 10pt" face="Tahoma"><?php _e('Compatible with all major browsers','wp-content-copy-protector'); ?></font></li> |
| 462 | <li><font style="font-size: 10pt" face="Tahoma"><?php _e('Tested in IE9, IE10, Firefox, Google Chrome, Opera','wp-content-copy-protector'); ?></font></li> |
| 463 | <li><font style="font-size: 10pt" face="Tahoma"><?php _e('Disables image drag and drop function','wp-content-copy-protector'); ?></font></li> |
| 464 | <li><font style="font-size: 10pt" face="Tahoma"><?php _e('Works on smart phones.','wp-content-copy-protector'); ?></font></li> |
| 465 | <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> |
| 466 | </ul> |
| 467 | <p><a href="https://www.wp-buy.com/wpccp-subscribe">Subscribe</a> to our mailing list to get flash discounts</p> |
| 468 | </div> |
| 469 | </div><!-- simple tabs div end --> |
| 470 | <p align="right"><input class="btn btn-success" type="submit" value=" <?php _e('Save Settings','wp-content-copy-protector'); ?> " name="B4" style="width: 193; height: 29;"> </p> |
| 471 | </form> |
| 472 | </div> |