diff --git a/admin.php b/admin.php new file mode 100644 index 0000000..1772b4d --- /dev/null +++ b/admin.php @@ -0,0 +1,942 @@ + + + + + +
+ +
+ + + + + +
+
+
+
+
+
+
+ +
+ +
+ +
+
+ +

Seers Cookie Consent Solution

+ + +
+ +
+
+ + + + + , +
+
+ + +
+
+ +
+
+ + + + + + , +
+
+ + +
+
+ +
+
+ + + + +
+
+
+
+

+ Powering all your
+ Privacy & Data Security needs

+

Gain access to an extensive range of GDPR, PECR, CCPA & ePrivacy compliance tools, + all +
designed to take the hassle out of complying with the new data + protection regulations. +

+
+
    +
  • Policies Pack
  • +
  • Templates Pack
  • +
  • GDPR Staff eTraining
  • +
  • Cookie Consent Management
  • +
+
    +
  • DPIA
  • +
  • GDPR Audit
  • +
  • Cyber Secure
  • +
  • Subject Request Management
  • +
+
START FREE +
+
+
+
+

+ Data Privacy & + Compliance. Solved

+

Trust worlds leading privacy and consent management platform to help companies comply + with GDPR, PECR, CCPA and ePrivacy

START PREMIUM TODAY +
+
+

Seers Premium Plan

+
    +
  • Branding
  • +
  • Multi Lingual
  • +
  • Consent Log
  • +
  • Cookie Policy
  • +
  • Prior Consent
  • +
  • 6+ Design Layouts
  • +
  • Customer Support
  • +
  • Banner Customisation
  • +
  • Cookie Declaration Table
  • +
START PREMIUM + TODAY +
+
+
+
+ +
+ +
+ + + +
+
+ + + +
+
+
+
+

Please create cookies policy page and enter URL below.

+

+

+
+
+
+ +
+
+ +
+
+
+ +
+
+
+
+
+
+ + + +
+
+
+
+ +

How to activate plugin

+
+
+ +

How to upgrade your package

+
+
+ +

How to change banner settings

+
+ + +
+
+

For more resources you can visit

+ +
+
+
+ +
+
+
+ + + + + span{ + float: left; + color: #444; + font-weight: 600; + /*font-size: 12px;*/ + margin: 0 0 3px 3px; + +} +.seers-plugin-main-cont form fieldset{ + position: relative; +} +.seers-plugin-main-cont form fieldset legend{ + color: #000; + border-top: 1px solid #000; + border-left: 1px solid #000; + border-right: 1px solid #000; + border-radius: 5px 5px 0px 0px; + -webkit-border-radius: 5px 5px 0px 0px; + -moz-border-radius: 5px 5px 0px 0px; + background: #fff; + padding: 0px 8px 3px 8px; + font-weight: normal; + /*font-size: 12px;*/ +} +.seers-plugin-main-cont textarea{ + width:250px; + height:100px; +} +.seers-plugin-main-cont form fieldset input[type=text], +.seers-plugin-main-cont form fieldset input[type=date], +.seers-plugin-main-cont form fieldset input[type=datetime], +.seers-plugin-main-cont form fieldset input[type=number], +.seers-plugin-main-cont form fieldset input[type=search], +.seers-plugin-main-cont form fieldset input[type=time], +.seers-plugin-main-cont form fieldset input[type=url], +.seers-plugin-main-cont form fieldset input[type=email], +.seers-plugin-main-cont form fieldset select, +.seers-plugin-main-cont form fieldset textarea{ + border-radius: 4px; + -webkit-border-radius: 4px; + -moz-border-radius: 3px; + border: 1px solid #c1c1c1; + outline: none; + color: #444; + padding: 5px 8px 5px 8px; + width:100%; + max-width: 100%; + margin: 0 0 5px 0; +} +.seers-plugin-main-cont form fieldset input[type="text"]::-webkit-input-placeholder { + /* Chrome */ + color: #c7c7c7 !important; + /*font-size: 12px;*/ + font-weight: bold; +} +.seers-plugin-main-cont form fieldset input[type="text"]:-ms-input-placeholder { + /* IE 10+ */ + color: #c7c7c7 !important; + /*font-size: 12px;*/ + font-weight: bold; +} +.seers-plugin-main-cont form fieldset input[type="text"]::-moz-placeholder { + /* Firefox 19+ */ + color: #c7c7c7 !important; + font-size: 12px; + font-weight: bold; + opacity: 1; +} +.seers-plugin-main-cont form fieldset input[type="text"]:-moz-placeholder { + /* Firefox 4 - 18 */ + color: #c7c7c7 !important; + font-size: 12px; + font-weight: bold; + opacity: 1; +} +.seers-plugin-main-cont form fieldset input[type="text"]:focus { + color: #292929 !important; + background-color: #eff3ff !important; + border-color: #3B6EF8 !important; + outline: 0; + -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, .1) !important; + -moz-box-shadow: 0 0 1px rgba(0, 0, 0, .1) !important; + box-shadow: 0 0 1px rgba(0, 0, 0, .1) !important; +} +.seers-plugin-main-cont form fieldset input[type=submit], +.seers-plugin-main-cont form fieldset input[type=button]{ + background: #007cba; + border: 1.4px solid #007cba; + padding: 5px 15px 5px 15px; + color: #fff; + border-radius: 4px; + border-radius: 4px; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + /*font-size:13px;*/ + cursor: pointer; + +} +.seers-plugin-main-cont form fieldset input[type=submit]:focus, +.seers-plugin-main-cont form fieldset input[type=button]:focus{ + outline: 0; + box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba; + -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba; + -moz-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba; + -ms-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba; + -o-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba; +} +.seers-plugin-main-cont form fieldset input[type=submit]:disabled, +.seers-plugin-main-cont form fieldset input[type=button]:disabled{ + background:#c1c1c1; + border: 1.4px solid #c1c1c1; + padding: 5px 15px 5px 15px; + color: #fff; + border-radius: 4px; + border-radius: 4px; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + font-weight: bold; +} +.seers-plugin-main-cont form fieldset button[type=button]{ + background: #007cba; + border: 1.4px solid #007cba; + padding: 5px 15px 5px 15px; + color: #fff; + border-radius: 4px; + border-radius: 4px; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + font-weight: bold; + cursor: pointer; + +} +.seers-plugin-main-cont form fieldset button[type=button]:focus{ + outline: 0; + box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba; + -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba; + -moz-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba; + -ms-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba; + -o-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba; +} +.required{ + color:red; + font-weight:normal; +} +.seers-plugin-main-cont form fieldset .seers-checkbox{ + margin: 0 0 5px 0; + +} +.tile-style { + background: #fff; + border-radius: 4px; + -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, .1); + -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, .1); + box-shadow: 0 2px 5px rgba(0, 0, 0, .1); +} +.seers-wordpress-plugin-hol .seers-content-col { + overflow: hidden; + padding: 12px 20px; + margin: 0 13px 30px 13px; + background:#fff; +} +.seers-wordpress-plugin-hol .seers-content-col a.btn.btn-white-bg { + background: #007cba; + border-radius: 4px; + color: #fff; + /*font-size: 13px;*/ + padding: 7px 55px; + white-space: nowrap; + font-weight: 500; + display: inline-block; + text-align: center; + text-decoration: none; + transition: all .3s ease; + margin: 0 0 6px 0; + +} +.seers-wordpress-plugin-hol .seers-content-col a.btn.btn-white-bg:focus{ + outline: 0; + box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba; + -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba; + -moz-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba; + -ms-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba; + -o-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba; +} +.seers-wordpress-plugin-hol .seers-content-col span.title-two { + font-weight: 700; + margin: 0 0 20px 0; + display: inline-block; + /*line-height: 28px;*/ + color: #444; +} +.seers-wordpress-plugin-hol .seers-plugin-main-cont .seers-content-col .seers-policies-hol { + display: -webkit-box; + display: -ms-flexbox; + display: -webkit-flex; + /* Safari 6.1+ */ + display: flex; + -webkit-flex-wrap: wrap; + /* Safari 6.1+ */ + -ms-flex-wrap: wrap; + flex-wrap: wrap; + -webkit-box-pack: justify; + -ms-flex-pack: justify; + -ms-align-items: flex-start; + align-items: flex-start; + justify-content: space-between; +} +.seers-wordpress-plugin-hol .seers-plugin-main-cont .seers-content-col .seers-policies-hol ul { + list-style: disc; + padding: 0 0 0 16px; + margin: 0 0 20px 0; + flex: auto; +} +.seers-wordpress-plugin-hol .seers-plugin-main-cont .seers-content-col .seers-policies-hol ul:nth-child(1){ + margin: 0; +} +.seers-wordpress-plugin-hol .seers-plugin-main-cont .seers-content-col .seers-policies-hol ul li { + position: relative; + /*font-size: 12px;*/ + color: #444; + margin: 0 0 3px 0; + font-weight: bold; + +} +.seers-wordpress-plugin-hol .seers-plugin-main-cont .seers-content-col .seers-policies-hol ul li:after { + background: url(images/li-dote.svg) !important; + content: ''; + left: -15px; + top: 6px; + position: absolute; + width: 8px; + height: 8px; + background-repeat: no-repeat; + background-position: center; + background-size: contain; +} +.seers-wordpress-plugin-hol .seers-plugin-main-cont .seers-content-col span.title { + font-weight: bold; + margin: 0 0 15px 0; + display: inline-block; +} +.seers-wordpress-plugin-hol .seers-plugin-sidebar-cont .seers-content-col { + padding: 20px 25px; + margin: 0 13px 20px 13px; +} +.seers-wordpress-plugin-hol .seers-plugin-sidebar-cont .seers-content-col h1 { + font-weight: 700; + margin: 0 0 25px 0; + +} +.seers-wordpress-plugin-hol .seers-plugin-sidebar-cont .seers-content-col ul.branding { + list-style: none; + padding: 0 0 0 25px; + margin: 0 0 22px 0; +} +.seers-wordpress-plugin-hol .seers-plugin-sidebar-cont .seers-content-col ul.branding li { + position: relative; + + /*font-size: 12px;*/ + margin: 0 0 10px 0; + color: #444; + font-weight: bold; +} +.seers-wordpress-plugin-hol .seers-plugin-sidebar-cont .seers-content-col ul.branding li:after { + content: ''; + left: -22px; + top: 3px; + position: absolute; + width: 4px; + height: 10px; + transform: rotate(45deg); + border-right: 2px solid #007cba; + border-bottom: 2px solid #007cba; +} + +.seers-wordpress-plugin-hol .seers-plugin-sidebar-cont .seers-content-col span.title { + font-weight: bold; + margin: 0 0 15px 0; + display: inline-block; + line-height: 27px; + color: #444; + +} +.seers-wordpress-plugin-hol .seers-content-col p { + color: #747169 !important; + /*font-size: 14px;*/ + margin: 0 0 20px 0; + line-height: 1.4; + +} +.seers-wordpress-plugin-hol .seers-plugin-sidebar-cont .seers-content-col a.btn.btn-green-bg { + background:#007cba; + border-radius: 4px; + color: #fff; + /*font-size: 13px;*/ + padding: 10px; + white-space: nowrap; + width: 100%; + margin: 0 auto 11px; + font-weight: 500; + display: block; + text-align: center; + text-decoration: none; + transition: all .3s ease; +} +.seers-wordpress-plugin-hol .seers-plugin-sidebar-cont .seers-content-col a.btn.btn-green-bg:focus{ + outline: 0 !important; + box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba; + -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba; + -moz-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba; + -ms-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba; + -o-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba; +} + +.seers-tabs-content{ + padding: 40px 0px; + display: block; +} + + +/*===========================*/ +/*extra css*/ +/*===========================*/ + +/*setting*/ +.seers-banner-setting h1{ + /*font-size:22px;*/ + color:#292929; + margin:0px 0px 20px 0px; +} + +.section-setting{ + margin:0px 15px; + display: block; +} + +/*Globel css for width*/ +.seers-panel{ + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + align-items: center; +} +.seers-mb-20{ + margin-bottom: 20px; +} +.seers-mb-30{ + margin-bottom: 30px; +} +.seers-mb-40{ + margin-bottom: 40px; +} +.seers-pl{ + flex-basis:15%; +} +.seers-pr{ + flex-basis:67%; + display: flex; + flex-wrap: wrap; +} + +.seers-color-width{ + flex-basis: 18%; +} +/*Globel css for width*/ + +.seers-label{ + /*font-size:16px;*/ + /*color:#292929;*/ + margin: 9px 0px 0px 0px; + display: inline-block; + /*line-height: 16px;*/ + font-weight: 600; +} +.seers-label span{ + display: inline-block; + font-weight: normal !important; +} +.seers-color-label{ + /*font-size:16px;*/ + /*color:#7E7E7E;*/ + margin: 0px 0px 0px 0px; + display: inline-block; + /*line-height: 16px;*/ + width: 110px; +} + +/*.seers-input {*/ +/* width: 72%;*/ +/* max-width: 100% !important;*/ +/* height: 38px;*/ +/* border: 1px solid #707070 !important;*/ +/* color:#7E7E7E !important;*/ +/*}*/ + +.seers-input.fm{ + /*width: 150px;*/ + max-width: 100%; +} + +.seers-input.fs{ + /*width: 81px;*/ + max-width: 100%; +} + +.seers-textarea{ + width: 66%; + max-width: 100% !important; + /* height: 80px;*/ + padding:8px; +} + +.color-pick-hol{ + display:inline-block; +} +.seers-banner-custom-color{ + border: none !important; + background: none !important; + height: 40px; + vertical-align: middle; + margin-left: 10px; + position: relative; + top:-1px; +} + +.seers-banner-custom-color:after{ + content:''; + background:url(../images/color-icon.png); + width:10px; + height:9px; + position: absolute; + z-index: 99; + right: 3px; + bottom: 4px; + + +} + +.seers-btn{ + border: none; + width: 135px; + min-height: 34px; + max-width: 100%; + /*font-size: 14px;*/ + text-decoration: none; + text-align: center; + color: #fff; + background: #ccc; + border-radius: 4px; + /*line-height: 14px;*/ + position: relative; + top: 0px; + cursor: pointer; + font-weight: 600; +} + +.seers-btn.bg-red{ + background:#D54040; +} +.seers-btn.bg-blue{ + background:#3B6EF8; +} + + +.seers-select-btn{ + border:none; + width: 149px; + min-height: 38px; + max-width: 100%; + /*font-size:16px;*/ + text-decoration: none; + text-align: center; + color:#fff; + background:#C2C2C2; + border-radius: 4px; + /*line-height: 16px;*/ + cursor: pointer; + margin-right:10px; +} +.btn-default{border-radius: 4px;} +.btn-flat{border-radius: 0px !important;} +.btn-round{border-radius: 20px !important;} +.btn-stroke{background:#fff !important;border:1px solid #C2C2C2 !important;border-radius: 4x !important;color:#7E7E7E !important;} + + +.seers-btn-preview{ + border:none; + max-width: 100%; + /*font-size:11px;*/ + text-decoration: none; + text-align: center; + color:#fff; + background:#3B6EF8; + border-radius: 4px; + /*line-height: 16px;*/ + cursor: pointer; + margin-right:10px; + padding: 10px 15px; + font-weight: 600; + position: relative; + border:1px solid #3B6EF8; + width: 95px; + text-transform: uppercase; +} + +.seers-btn-preview:hover{ + color:#fff; +} +.btn-input{ + /*width: 45%;*/ + /*margin-top: 0px;*/ + /*height: 35px;*/ + margin-left: 10px; + margin-right:10px; +} + +.seers-btn-preview.exit-preview,.seers-btn-preview.s-save{border:1px solid #C1C1C1;background: transparent;color:#3B6EF8;width: 100px;} +/*setting end*/ +/*============================================================================*/ +/*Policy*/ +.seers-pp{ + flex-basis:22%; +} +/*policy End*/ +/*============================================================================*/ + +/*User Guide */ +.video-main-hol{ + display: flex; + flex-flow: row wrap; + margin: 20px -20px; +} + +.videobox{ + flex:auto; + margin:20px; + background:#ffffff !important; + border-radius: 8px; + box-shadow: 0px 0px 5px #c0c0c0; + min-height: 295px; + padding: 20px; + box-sizing: border-box; +} + +.videobox h3{ + /*font-size:24px;*/ + font-weight: 700; + color:#292929; + +} +.colorblue{ + color:#3B6EF8; +} +.documentation{ + display: inline-block; + margin-top:30px; +} +.documentation p{ + /*font-size: 16px;*/ + color:#292929; + float: left; + margin: 9px 0px 0px 0px; +} +.documentation button{ + margin-left:15px; + vertical-align: middle; +} +/*video-main-hol End*/ + +/*logo*/ +.seers-plugin-logo{ + margin-top:30px; +} +/*logo end */ + + +.seers-empty{ + display: inline-block; + width: 169px; +} + +.seers-setting-btn{ + background: transparent; + color: #222; + text-decoration: underline; +} + +.seers-setting-btn:hover{ + color:#6CC04A; +} + +/*===========================*/ +/*extra css end*/ +/*===========================*/ +/*-----------------------------------------------------------*/ +/*============================*/ +/*Toggle*/ +/*============================*/ +.toggle { + cursor: pointer; + display: inline-block; +} + +.toggle-switch { + display: inline-block; + background: #D9D9D9 !important; + border-radius: 16px; + width: 44px; + height: 26px; + position: relative; + vertical-align: middle; + transition: background 0.25s; + margin-top:5px; +} +.toggle-switch:before, .toggle-switch:after { + content: ""; +} +.toggle-switch:before { + display: block; + border-radius: 50%; + box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25); + width: 20px; + height: 20px; + position: absolute; + top: 3px; + left: 4px; + transition: left 0.25s; + background:#fff; +} +.toggle:hover .toggle-switch:before { + background: linear-gradient(to bottom, #fff 0%, #fff 100%); + box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5); +} +.toggle-checkbox:checked + .toggle-switch { + background: #D9D9D9; +} +.toggle-checkbox:checked + .toggle-switch:before { + left: 21px; + background:#3B6EF8; +} + +.toggle-checkbox { + position: absolute; + visibility: hidden; +} + +.toggle-label { + margin-left: 5px; + position: relative; + top: 2px; +} +/*============================*/ +/*Toggle end*/ +/*============================*/ +/*----------------------------------------------------------------------*/ +/*============================*/ +/*tabs*/ +/*============================*/ +/* Tabs Start */ + +.seers-wordpress-main{ + padding-right:20px; + margin-top:30px; +} + +pc-tab > input, +.pc-tab section > div { + display: none; +} + +#tab1:checked ~ section .tab1, +#tab2:checked ~ section .tab2, +#tab3:checked ~ section .tab3, +#tab4:checked ~ section .tab4{ + display: block; +} + +#tab1:checked ~ nav .tab1, +#tab2:checked ~ nav .tab2, +#tab3:checked ~ nav .tab3, +#tab4:checked ~ nav .tab4{ + color: red; +} + +.pc-tab { + width: 100%; + max-width: 100%px; + margin: 0 auto; +} +.pc-tab ul.tab-ul { + list-style: none; + margin: 0; + padding: 0; + display: flex; +} + +/*.pc-tab ul li.tab1,*/ +/*.pc-tab ul li.tab2,*/ +/*.pc-tab ul li.tab3,*/ +/*.pc-tab ul li.tab4*/ +/*{*/ +/* flex:auto;*/ + +/*}*/ + +.pc-tab ul li{ + margin-right:30px; +} + +.pc-tab ul li label { + float: left; + padding: 10px 0px; + border: 1px solid #3e3e3e00; + border-bottom: 0; + background: #312a2a00; + width: 100%; + text-align: center; + /*font-size: 20px;*/ + color: #999999; + font-weight: 500; +} +.pc-tab ul li label:hover { + background: #312a2a00; +} +.pc-tab ul li label:active { + background: #312a2a00; +} +.pc-tab ul li:not(:last-child) label { + border-right-width: 0; +} +.pc-tab section { + clear: both; + margin-top:-5px; +} +.pc-tab section div { + background: #fff0; + line-height: 1.5em; +} + +#tab1:checked ~ nav .tab1 label, +#tab2:checked ~ nav .tab2 label, +#tab3:checked ~ nav .tab3 label, +#tab4:checked ~ nav .tab4 label{ + background: #ffffff00; + color: #4273f8; + position: relative; +} +#tab1:checked ~ nav .tab1 label:after, +#tab2:checked ~ nav .tab2 label:after, +#tab3:checked ~ nav .tab3 label:after, +#tab4:checked ~ nav .tab4 label:after{ + content: ''; + display: block; + position: absolute; + height: 2px; + width: 100%; + background: #4273f8; + left: 0; + bottom: -1px; +} +.pc-tab input[type=radio]{ + visibility: hidden; +} +/*tabs end*/ + +/********Responsive styles**********/ + +@media (max-width: 1023px) { + .seers-wordpress-plugin-hol .seers-plugin-main-cont { + width: 100% !important; + margin: 0 !important; + } + .seers-wordpress-plugin-hol .seers-plugin-sidebar-cont { + width: 100% !important; + margin: 0 !important; + display: -webkit-box; + display: -ms-flexbox; + display: -webkit-flex; + /* Safari 6.1+ */ + display: flex; + -webkit-box-pack: justify; + -ms-flex-pack: justify; + justify-content: center; + -ms-align-items: flex-start; + align-items: flex-start; + } + .seers-wordpress-plugin-hol .seers-plugin-sidebar-cont .seers-content-col { + width: 50%; + } + h1 { + line-height: 32px; + } + span.title { + line-height: 20px; + } + span.title-two { + line-height: 20px; + } +} + +@media (max-width: 767px) { + .seers-wordpress-plugin-hol .seers-content-col span.title-two { + margin: 0 0 15px 0 !important; + line-height: 24px !important; + /*font-size: 18px !important;*/ + } + .seers-wordpress-plugin-hol .seers-content-col p { + /*font-size: 12px !important;*/ + margin: 0 0 15px 0 !important; + } + .seers-wordpress-plugin-hol .content-hol { + margin: 0 -13px; + } + .seers-wordpress-plugin-hol { + padding: 20px 0px !important; + } + .auto-fold #wpcontent { + position: relative; + margin-left: 0; + padding-left: 0; + } + .seers-wordpress-plugin-hol .seers-plugin-sidebar-cont { + flex-direction: column; + } + .seers-wordpress-plugin-hol .seers-plugin-sidebar-cont .seers-content-col { + width: -webkit-fill-available; + } + .seers-wordpress-main { + padding-right: 10px !important; + padding-left: 10px !important; + margin-top: 30px; + } + .seers-mb-30{ + margin-bottom: 20px !important; + } + .seers-select-btn{ + margin-bottom:10px !important; + } + .seers-label{ + margin-bottom:10px !important; + } + .pc-tab ul li label{ + /*font-size:14px !important;*/ + } + .seers-banner-setting{ + padding:20px 10px !important; + } + + .seers-panel{ + flex-direction: column; + justify-content: flex-start !important; + align-items: flex-start !important; + } + +} + +@media (max-width: 639px) { + .seers-wordpress-plugin-hol .seers-plugin-main-cont .seers-content-col.video-col .video-hol { + flex-direction: column; + align-items: flex-start !important; + } + .seers-wordpress-plugin-hol .seers-plugin-main-cont .seers-content-col span.title { + font-weight: bold; + margin: 15px 0 15px 0 !important; + display: inline-block; + } +} + +@media (max-width: 479px) { + .seers-wordpress-plugin-hol .seers-plugin-main-cont .seers-content-col .form-hol form.form-inline .input-hol { + flex-direction: column; + align-items: flex-start !important; + } + .seers-wordpress-plugin-hol .seers-plugin-main-cont .seers-content-col.video-col .video-hol span.title { + font-weight: 700; + margin: 15px 0 0 18px; + } + .seers-wordpress-plugin-hol .seers-plugin-main-cont .seers-content-col ul.banner-success { + list-style: none; + margin: 60px 0 0 16px !important; + } + .seers-wordpress-plugin-hol .seers-plugin-main-cont .seers-content-col .form-hol button { + margin: 0 !important; + padding: 6px 13px; + position: absolute; + bottom: -38px; + left: 0; + } +} + +#loader{ + background: url("../images/loader.gif"); + width: 100px; + height: 100px; + background-position: center; + background-repeat: no-repeat; + background-size: cover; + margin: 0 auto 40px 0; +} +.seers_btn_div{ + display: flex; +} +button.seers-btn-preview:disabled{ + background:#c1c1c1; + border: 1.4px solid #c1c1c1; + padding: 5px 15px 5px 15px; + color: #fff; + border-radius: 4px; + border-radius: 4px; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + font-weight: bold; + cursor: none; +} + +.seers-paid-cmp-overlay { + display: none; + position: fixed; + width: 100%; + z-index: 99999999999999; + height: 100%; + left: 0; + top: 0; + right: 0; + bottom: 0; + background: rgba(0, 0, 0, 0.5); + -webkit-animation: seers-paid-fade-in .7s ease-in-out; + -moz-animation: seers-paid-fade-in .7s ease-in-out; + -ms-animation: seers-paid-fade-in .7s ease-in-out; + -o-animation: seers-paid-fade-in .7s ease-in-out; + animation: seers-paid-fade-in .7s ease-in-out; +} + +@-webkit-keyframes seers-paid-fade-in { + 0% { + opacity: 0; + } + 100% { + opacity: 1; + } +} + +@-moz-keyframes seers-paid-fade-in { + 0% { + opacity: 0; + } + 100% { + opacity: 1; + } +} + +@-ms-keyframes seers-paid-fade-in { + 0% { + opacity: 0; + } + 100% { + opacity: 1; + } +} + +@-o-keyframes seers-paid-fade-in { + 0% { + opacity: 0; + } + 100% { + opacity: 1; + } +} + +@keyframes seers-paid-fade-in { + 0% { + opacity: 0; + } + 100% { + opacity: 1; + } +} + +.seers-cmp-paid-popup-content { + overflow: hidden; + z-index: 999999999999999; + background-color: #fff; + position: fixed; + top: 50%; + left: 50%; + display: none; + transform: translate(-50%, -50%); + max-width: 370px; + width: 370px; + border-radius: 7px; + -webkit-border-radius: 7px; + -webkit-animation: seers-cmp-paidp-fadeIn ease .7s; + -moz-animation: seers-cmp-paidp-fadeIn ease .7s; + -o-animation: seers-cmp-paidp-fadeIn ease .7s; + -ms-animation: seers-cmp-paidp-fadeIn ease .7s; + -animation: seers-cmp-paidp-fadeIn ease .7s; +} + +@keyframes seers-cmp-paidp-fadeIn { + 0% { + opacity: 0; + transform: translate(-50%, -50%) scale(0); + } + 100% { + opacity: 1; + transform: translate(-50%, -50%) scale(1); + } +} + +@-moz-keyframes seers-cmp-paidp-fadeIn { + 0% { + opacity: 0; + transform: translate(-50%, -50%) scale(0); + } + 100% { + opacity: 1; + transform: translate(-50%, -50%) scale(1); + } +} + +@-webkit-keyframes seers-cmp-paidp-fadeIn { + 0% { + opacity: 0; + transform: translate(-50%, -50%) scale(0); + } + 100% { + opacity: 1; + transform: translate(-50%, -50%) scale(1); + } +} + +@-o-keyframes seers-cmp-paidp-fadeIn { + 0% { + opacity: 0; + transform: translate(-50%, -50%) scale(0); + } + 100% { + opacity: 1; + transform: translate(-50%, -50%) scale(1); + } +} + +@-ms-keyframes seers-cmp-paidp-fadeIn { + 0% { + opacity: 0; + transform: translate(-50%, -50%) scale(0); + } + 100% { + opacity: 1; + transform: translate(-50%, -50%) scale(1); + } +} + +.seers-paid-cmp-overlay.seers-cmp-paid-overlay-active { + display: block; +} + +.seers-cmp-paid-popup-content.seers-cmp-paid-popup-active { + display: block !important; +} + +.seers-cmp-paid-popup-content.seers-cmp-paid-popup-no-active { + display: none!important; +} + +.seers-cmp-paid-popup-close { + position: absolute; + right: 20px; + top: 25px; + cursor: pointer; + font-size: 30px; + line-height: 0; + color: #3B6EF8; + font-weight: bold; + z-index: 99; +} + +.seers-cmp-paid-popup-content .seers-cmp-paid-body-text { + padding: 20px; +} + +.seers-cmp-paid-popup-accordion-tabs { + padding-right: 15px; + overflow-y: auto; + height: 200px; +} + +.seers-cmp-paid-popup-accordion-tab-content .seers-cmp-paid-popup-accordion-tab-content-text, +.seers-cmp-paid-popup-content .seers-cmp-paid-body-text .seers-cmp-paid-title, +.seers-cmp-paid-popup-content .seers-cmp-paid-body-text .seers-cmp-paid-text { + -webkit-font-smoothing: auto; + letter-spacing: normal; + line-height: normal; + padding: 0; + height: auto; + min-height: 0; + max-height: none; + width: auto; + min-width: 0; + max-width: none; + border-radius: 0; + border: none; + clear: none; + float: none; + position: static; + bottom: auto; + left: auto; + right: auto; + top: auto; + text-align: left; + text-decoration: none; + text-indent: 0; + text-shadow: none; + text-transform: none; + white-space: normal; + background: none; + overflow: visible; + vertical-align: baseline; + visibility: visible; + z-index: auto; + box-shadow: none; +} + +.seers-cmp-paid-popup-content .seers-cmp-paid-body-text .seers-cmp-paid-title { + font-weight: bold; + position: relative; + font-size: 20px; + color: #555; + margin: 0 0 15px 0 !important; + font-family: "Arial"; + text-transform: unset !important; +} + +.seers-cmp-paid-popup-content .seers-cmp-paid-popup-footer .seers-cmp-paid-popup-footer-block { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: -moz-box; + display: -moz-flex; + display: flex; + -webkit-box-align: center; + -moz-box-align: center; + -ms-flex-align: center; + -webkit-align-items: center; + -moz-flex-align: center; + -ms-flex-align: center; + align-items: center; + -webkit-box-align: end; + -moz-box-align: end; + -webkit-box-pack: end; + -moz-box-pack: end; + -ms-flex-pack: end; + -webkit-justify-content: center; + -moz-justify-content: center; + -ms-justify-content: center; + justify-content: center; + margin: 0 auto 15px !important; +} + +.seers-cmp-paid-popup-content .seers-cmp-paid-popup-footer .seers-cmp-paid-popup-footer-block .seers-cmp-btn { + -webkit-font-smoothing: auto; + height: auto; + min-height: 0; + max-height: none; + width: auto; + min-width: 0; + max-width: none; + clear: none; + float: none; + position: static; + bottom: auto; + left: auto; + right: auto; + top: auto; + text-decoration: none; + text-indent: 0; + text-shadow: none; + overflow: visible; + vertical-align: baseline; + visibility: visible; + z-index: auto; + box-shadow: none; + text-transform: capitalize; +} + +.seers-cmp-paid-popup-content .seers-cmp-paid-popup-footer .seers-cmp-paid-popup-footer-block .seers-cmp-btn { + background: #3B6EF8; + font-family: "Arial"; + font-weight: 500; + font-size: 13px; + color: #fff; + border: none; + padding: 7px 15px; + line-height: 1.5em; + white-space: nowrap; + text-decoration: none; + text-align: center; + text-transform: capitalize; + border-radius: 4px !important; + -webkit-border-radius: 4px !important; + width:120px; +} + +.seers-cmp-paid-popup-content .seers-cmp-paid-popup-footer .seers-cmp-paid-popup-footer-block .seers-cmp-btn:hover { + background: #3544ee; +} + +.seers-cmp-paid-popup-content .seers-cmp-paid-popup-footer .seers-cmp-paid-popup-footer-block .seers-cmp-btn:first-child{ + margin-right: 10px; +} + +/*scrollbar style*/ + +::-webkit-scrollbar { + width: 10px; +} + +::-webkit-scrollbar-thumb { + background-color: #9b9696; + border: 5px solid transparent; +} + +::-webkit-scrollbar-button { + display: none; +} +/*accordion*/ \ No newline at end of file diff --git a/css/popup.css b/css/popup.css new file mode 100644 index 0000000..2072710 --- /dev/null +++ b/css/popup.css @@ -0,0 +1,181 @@ +.modalDialog { + position: fixed; + font-family: Arial, Helvetica, sans-serif; + top: 0; + right: 0; + bottom: 0; + left: 0; + background: rgba(0, 0, 0, 0.8); + z-index: 99999; + opacity: 1; + -webkit-transition: opacity 400ms ease-in; + -moz-transition: opacity 400ms ease-in; + transition: opacity 400ms ease-in; + pointer-events: auto; +} +.modalDialog:target { + opacity: 0; + pointer-events: none; +} +.modalDialog .modal-body { + width: 500px !important; + position: relative; + margin: 3% auto; + padding: 5px 20px 13px 20px; + background: #fff; + border-radius: 4px; + -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, .1); + -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, .1); + box-shadow: 0 2px 5px rgba(0, 0, 0, .1); +} +.modalDialog .modal-body .close { + background: #007cba; + color: #FFFFFF; + line-height: 25px; + position: absolute; + right: -10px; + text-align: center; + top: -10px; + width: 30px; + height: 30px; + text-decoration: none; + font-weight: bold; + -webkit-border-radius: 12px; + -moz-border-radius: 12px; + border-radius: 12px; + -moz-box-shadow: 1px 1px 3px #000; + -webkit-box-shadow: 1px 1px 3px #000; + box-shadow: 1px 1px 3px #000; + border-radius: 100%; + font-size: 25px; + font-weight: normal; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: -moz-box; + display: -moz-flex; + display: flex; + -webkit-box-align: center; + -moz-box-align: center; + -webkit-box-pack: center; + -moz-box-pack: center; + -ms-flex-pack: center; + -webkit-justify-content: center; + -moz-justify-content: center; + -ms-justify-content: center; + justify-content: center; + -webkit-box-align: center; + -moz-box-align: center; + -ms-flex-align: center; + -webkit-align-items: center; + -moz-flex-align: center; + -ms-flex-align: center; + align-items: center; +} + +.modal-body p{ + border-bottom:1px solid #c0c0c0; + padding-bottom: 10px; + font-size: 14px; + font-weight: 600; + +} +.close:hover { + background: #00d9ff; +} +.modal-body form input[type="radio"]{ + margin: 0 0 15px 0; +} + +.modal-body form .btn-hol{ + + display: flex; + justify-content: center; + align-items: center; + margin:0 -7.5px; +} +.modal-body form input.submit-skip{ + background: #306bf9; + border-radius: 4px; + color: #fff; + font-size: 13px; + padding: 10px; + white-space: nowrap; + flex-basis: 20%; + margin: 7.5px; + font-weight: 500; + display: block; + text-align: center; + text-decoration: none; + transition: all .3s ease; + border: 0 !important; + cursor:pointer; +} +.modal-body form a.submit-skip{ + background: #ccc; + border-radius: 4px; + color: #000; + font-size: 13px; + padding: 10px; + white-space: nowrap; + flex-basis: 20%; + margin: 7.5px; + font-weight: 500; + display: block; + text-align: center; + text-decoration: none; + transition: all .3s ease; + border: 0 !important; + +} +.modal-body form input.submit-skip:focus { + outline: 0 !important; + box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba; + -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba; + -moz-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba; + -ms-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba; + -o-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba; +} +.modal-body form a.submit-skip:focus { + outline: 0 !important; + box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba; + -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba; + -moz-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba; + -ms-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba; + -o-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #007cba; +} + +.modal-title{ + margin-bottom:0px !important; +} + +.form-group{ + font-size:12px; + +} + +.form-group span{ + position: relative; + display: inline-block; + top: -2px; +} +.full-width-textarea{ + width: 95%; + margin-left: 5%; +} + +.bottom-margin{ + margin-bottom: 10px; +} + +.skipbtn input{ + background: #fff !important; + color: #cccccc !important; + justify-content: end; + display: block; + float: left; + position: relative; + top: -7px; + padding: 0px !important; + font-size: 11px; +} \ No newline at end of file diff --git a/images/----seers-logo.svg b/images/----seers-logo.svg new file mode 100644 index 0000000..4b9a786 --- /dev/null +++ b/images/----seers-logo.svg @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + WP Plugin + v1.8.24 + + diff --git a/images/Seers-logo.png b/images/Seers-logo.png new file mode 100644 index 0000000..741946f Binary files /dev/null and b/images/Seers-logo.png differ diff --git a/images/Seers-logo1.png b/images/Seers-logo1.png new file mode 100644 index 0000000..741946f Binary files /dev/null and b/images/Seers-logo1.png differ diff --git a/images/Settings-Visuals.png b/images/Settings-Visuals.png new file mode 100644 index 0000000..aefe0bb Binary files /dev/null and b/images/Settings-Visuals.png differ diff --git a/images/color-icon.png b/images/color-icon.png new file mode 100644 index 0000000..96e8f0f Binary files /dev/null and b/images/color-icon.png differ diff --git a/images/icon.gif b/images/icon.gif new file mode 100644 index 0000000..5f87dfb Binary files /dev/null and b/images/icon.gif differ diff --git a/images/li-dote.svg b/images/li-dote.svg new file mode 100644 index 0000000..479cc73 --- /dev/null +++ b/images/li-dote.svg @@ -0,0 +1,3 @@ + + + diff --git a/images/li-green-tick.svg b/images/li-green-tick.svg new file mode 100644 index 0000000..6a1abd6 --- /dev/null +++ b/images/li-green-tick.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/images/li-white-tick.svg b/images/li-white-tick.svg new file mode 100644 index 0000000..91d779f --- /dev/null +++ b/images/li-white-tick.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/images/loader.gif b/images/loader.gif new file mode 100644 index 0000000..b65e941 Binary files /dev/null and b/images/loader.gif differ diff --git a/images/play.png b/images/play.png new file mode 100644 index 0000000..9705130 Binary files /dev/null and b/images/play.png differ diff --git a/images/plugin-player.png b/images/plugin-player.png new file mode 100644 index 0000000..1aa490a Binary files /dev/null and b/images/plugin-player.png differ diff --git a/images/plugin-player1.png b/images/plugin-player1.png new file mode 100644 index 0000000..1aa490a Binary files /dev/null and b/images/plugin-player1.png differ diff --git a/images/plugin-player2.png b/images/plugin-player2.png new file mode 100644 index 0000000..6f2838d Binary files /dev/null and b/images/plugin-player2.png differ diff --git a/images/red-cross.svg b/images/red-cross.svg new file mode 100644 index 0000000..2729e61 --- /dev/null +++ b/images/red-cross.svg @@ -0,0 +1,3 @@ + + + diff --git a/images/seers-logo.svg b/images/seers-logo.svg new file mode 100644 index 0000000..4971413 --- /dev/null +++ b/images/seers-logo.svg @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/images/seers-plugin-logo.png b/images/seers-plugin-logo.png new file mode 100644 index 0000000..40888bd Binary files /dev/null and b/images/seers-plugin-logo.png differ diff --git a/inc/seers-cookie-consent-plugin-activate.php b/inc/seers-cookie-consent-plugin-activate.php new file mode 100644 index 0000000..a94e36b --- /dev/null +++ b/inc/seers-cookie-consent-plugin-activate.php @@ -0,0 +1,62 @@ + ----- Activated.... -----
"; + //$to = 'jinbahoo@gmail.com'; + $current_user = wp_get_current_user(); + $username = $current_user->display_name; + $useremail = $current_user->user_email; + $to = 'plugins.support@seersco.com'; + $subject = 'Seers Cookie Consent Banner Privacy Policy - Activated'; + $body = 'Hi Admin,
This plugin is activated on site ' . get_site_url() . "
Regards,
Seers Development Team
"; + $headers = array('Content-Type: text/html; charset=UTF-8','From: Seers Plugin Support '); + + wp_mail( $to, $subject, $body, $headers ); + + $plugin_data = get_plugin_data( __FILE__ ); + $theplugin_name = $plugin_data['Name']; + //on activate plugin update in db + $cookie_consent_url = get_option('SCCBPP_cookie_consent_url'); + $postData = array( + 'domain' => get_site_url(), + 'isactive' => 1, + 'secret' => self::$apisecrekkey, + 'platform' => 'wordpress', + 'pluginname' => $theplugin_name + ); + $request_headers = array( + 'Content-Type' => 'application/json', + 'Referer' => get_site_url(), + ); + //$url = "https://seersco.com/api/save-domain-credentials"; + //$url = "https://seersco.backend/api/plugin-domain"; + $url = "https://cmp.seersco.com/api/plugin-domain"; + $postdata = json_encode($postData); + + $result = wp_remote_post( $url, array( + 'method' => 'POST', + 'redirection' => 5, + 'httpversion' => '1.0', + 'timeout' => 45, + 'sslverify' => false, + 'headers' => $request_headers, + 'body' => $postdata, + 'cookies' => array() + ) + ); + + $seersCookieConsentPlugin = new SCCBPP_WpCookie_Save(); + $seersCookieConsentPlugin->SCCBPP_remove_languages("removepos"); + } +} diff --git a/inc/seers-cookie-consent-plugin-deactivate.php b/inc/seers-cookie-consent-plugin-deactivate.php new file mode 100644 index 0000000..db59297 --- /dev/null +++ b/inc/seers-cookie-consent-plugin-deactivate.php @@ -0,0 +1,551 @@ +display_name; + $useremail = $current_user->user_email; + $body .= ''; + $body .= ' + + '; + $body .= ' + + '; + $body .= ' + + '; + + if($banner_not_language){ + $body .= ' + + + '; + } + if($banner_did_not){ + $body .= ' + + + '; + } + if($cookies_settings){ + $body .= ' + + + '; + } + + + if(@$banner_not_match_theme) { + $body .= ' + + + '; + } + if(@$broke_site) { + $body .= ' + + + '; + } + + if(@$found_btter_plugin) { + $body .= ' + + + '; + } + if(@$great_plugin) { + $body .= ' + + + '; + } + if(@$other_checkBox) { + $body .= ' + + + '; + } + + + + $body .= '
User email: ' .$useremail. '
URL: ' .get_site_url(). '
Issues:
'.$banner_not_language.'
'.$banner_did_not.'
'.$cookies_settings.'
' . $banner_not_match_theme . '
' . $broke_site . '
Plugin name:' . $plugin_name . '
Plugin name:' . $great_plugin . '
Other Reason:' . $other_reason . '
'; + + $message = $body; + + $to ="plugins.support@seersco.com"; + $subject = "Feedback from seersco plugin"; + $headers = 'From: Seers Plugin Support '. "\r\n" . + 'Reply-To: Seers Plugin Support ' . "\r\n"; + wp_mail($to, $subject, strip_tags($message), $headers); + + $plugin_data = get_plugin_data( __FILE__ ); + $theplugin_name = $plugin_data['Name']; + + //on deactive plugin update in db + $cookie_consent_url = get_option('SCCBPP_cookie_consent_url'); + $postData = array( + 'domain' => get_site_url(), + 'isactive' => 0, + 'secret' => self::$apisecrekkey, + 'platform' => 'wordpress', + 'pluginname' => $theplugin_name + ); + $request_headers = array( + 'Content-Type' => 'application/json', + 'Referer' => get_site_url(), + ); + //$url = "https://seersco.com/api/save-domain-credentials"; + //$url = "https://seersco.backend/api/plugin-domain"; + $url = "https://cmp.seersco.com/api/plugin-domain"; + $postdata = json_encode($postData); + + $result = wp_remote_post( $url, array( + 'method' => 'POST', + 'redirection' => 5, + 'httpversion' => '1.0', + 'timeout' => 45, + 'sslverify' => false, + 'headers' => $request_headers, + 'body' => $postdata, + 'cookies' => array() + ) + ); + + + + + flush_rewrite_rules(false); + deactivate_plugins( plugin_basename( __FILE__ ), true ); + flush_rewrite_rules(); + $url = admin_url( 'plugins.php?deactivate=true' ); + header( "Location: $url" ); + //die(); + + }elseif(isset($_POST["not_interested"])) { + + $current_user = wp_get_current_user(); + $username = $current_user->display_name; + $useremail = $current_user->user_email; + $body =''; + $body .= ''; + $body .= ' + + '; + $body .= ' + + '; + $body .= ' + + + '; + + $body .= '
User email: ' .$useremail. '
URL: ' .get_site_url(). '
Not interested:Skip and deactivate
'; + + $message = $body; + $to ="plugins.support@seersco.com"; + $subject = "Feedback from seersco plugin"; + $headers = 'From: '. $useremail . "\r\n" . + 'Reply-To: ' . $useremail . "\r\n"; + wp_mail($to, $subject, strip_tags($message), $headers); + + flush_rewrite_rules(false); + deactivate_plugins( plugin_basename( __FILE__ ), true ); + flush_rewrite_rules(); + $url = admin_url( 'plugins.php?deactivate=true' ); + header( "Location: $url" ); + }else{ + echo ''; + ?> + + + + +
+ +
+

+

+
+
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ " class="broke_site"> + +
+ +
+ + +
+ +
+ "> + +
+ + +
+ " class="askOther" onclick="showother();"> + +
+ +
+ " name="submit" class="submit-skip"> + + + +
+ +
" name="not_interested" class="submit-skip">
+
+
+
+ + + display_name; + $useremail = $current_user->user_email; + $body .= ''; + $body .= ' + + '; + if($banner_not_language){ + $body .= ' + + + '; + } + if($banner_did_not){ + $body .= ' + + + '; + } + if($cookies_settings){ + $body .= ' + + + '; + } + + + if(@$banner_not_match_theme) { + $body .= ' + + + '; + } + if(@$broke_site) { + $body .= ' + + + '; + } + + if(@$found_btter_plugin) { + $body .= ' + + + '; + } + if(@$great_plugin) { + $body .= ' + + + '; + } + if(@$other_checkBox) { + $body .= ' + + + '; + } + + + + $body .= '
Issues:
'.$banner_not_language.'
'.$banner_did_not.'
'.$cookies_settings.'
' . @$banner_not_match_theme . '
' . @$broke_site . '
Plugin name:' . @$plugin_name . '
Plugin name:' . @$great_plugin . '
Other Reason:' . @$other_reason . '
'; + + $message = $body; + + $to ="plugins.support@seersco.com"; + $subject = "Feedback from seersco plugin"; + $headers = 'From: '. $useremail . "\r\n" . + 'Reply-To: ' . $useremail . "\r\n"; + wp_mail($to, $subject, strip_tags($message), $headers); + + + + + + flush_rewrite_rules(false); + deactivate_plugins( plugin_basename( __FILE__ ), true ); + flush_rewrite_rules(); + $url = admin_url( 'plugins.php?deactivate=true' ); + header( "Location: $url" ); + //die(); + + }elseif(isset($_POST["not_interested"])) { + + $current_user = wp_get_current_user(); + $username = $current_user->display_name; + $useremail = $current_user->user_email; + $message = "not Interested"; + $to ="plugins.support@seersco.com"; + $subject = "Feedback from seersco plugin"; + $headers = 'From: '. $useremail . "\r\n" . + 'Reply-To: ' . $useremail . "\r\n"; + wp_mail($to, $subject, strip_tags($message), $headers); + + + + + + flush_rewrite_rules(false); + deactivate_plugins( plugin_basename( __FILE__ ), true ); + flush_rewrite_rules(); + $url = admin_url( 'plugins.php?deactivate=true' ); + header( "Location: $url" ); + }else{ + + ?> + + + + +
+ +
+ + + (e||c.height())},_setFocus:function(){(t.st.focus?t.content.find(t.st.focus).eq(0):t.wrap).focus()},_onFocusIn:function(n){if(n.target!==t.wrap[0]&&!e.contains(t.wrap[0],n.target))return t._setFocus(),!1},_parseMarkup:function(t,n,i){var o;i.data&&(n=e.extend(i.data,n)),f("MarkupParse",[t,n,i]),e.each(n,(function(n,i){if(void 0===i||!1===i)return!0;if((o=n.split("_")).length>1){var r=t.find(".mfp-"+o[0]);if(r.length>0){var a=o[1];"replaceWith"===a?r[0]!==i[0]&&r.replaceWith(i):"img"===a?r.is("img")?r.attr("src",i):r.replaceWith(e("").attr("src",i).attr("class",r.attr("class"))):r.attr(o[1],i)}}else t.find(".mfp-"+n).html(i)}))},_getScrollbarSize:function(){if(void 0===t.scrollbarSize){var e=document.createElement("div");e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),t.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return t.scrollbarSize}},e.magnificPopup={instance:null,proto:s.prototype,modules:[],open:function(t,n){return p(),(t=t?e.extend(!0,{},t):{}).isObj=!0,t.index=n||0,this.instance.open(t)},close:function(){return e.magnificPopup.instance&&e.magnificPopup.instance.close()},registerModule:function(t,n){n.options&&(e.magnificPopup.defaults[t]=n.options),e.extend(this.proto,n.proto),this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},e.fn.magnificPopup=function(n){p();var i=e(this);if("string"==typeof n)if("open"===n){var o,r=l?i.data("magnificPopup"):i[0].magnificPopup,a=parseInt(arguments[1],10)||0;r.items?o=r.items[a]:(o=i,r.delegate&&(o=o.find(r.delegate)),o=o.eq(a)),t._openClick({mfpEl:o},i,r)}else t.isOpen&&t[n].apply(t,Array.prototype.slice.call(arguments,1));else n=e.extend(!0,{},n),l?i.data("magnificPopup",n):i[0].magnificPopup=n,t.addGroup(i,n);return i};var m,g,v,_=function(){v&&(g.after(v.addClass(m)).detach(),v=null)};e.magnificPopup.registerModule("inline",{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){t.types.push("inline"),d("Close.inline",(function(){_()}))},getInline:function(n,i){if(_(),n.src){var o=t.st.inline,r=e(n.src);if(r.length){var a=r[0].parentNode;a&&a.tagName&&(g||(m=o.hiddenClass,g=u(m),m="mfp-"+m),v=r.after(g).detach().removeClass(m)),t.updateStatus("ready")}else t.updateStatus("error",o.tNotFound),r=e("
");return n.inlineElement=r,r}return t.updateStatus("ready"),t._parseMarkup(i,{},n),i}}});var b,y=function(){b&&e(document.body).removeClass(b)},w=function(){y(),t.req&&t.req.abort()};e.magnificPopup.registerModule("ajax",{options:{settings:null,cursor:"mfp-ajax-cur",tError:'The content could not be loaded.'},proto:{initAjax:function(){t.types.push("ajax"),b=t.st.ajax.cursor,d("Close.ajax",w),d("BeforeChange.ajax",w)},getAjax:function(n){b&&e(document.body).addClass(b),t.updateStatus("loading");var i=e.extend({url:n.src,success:function(i,o,r){var a={data:i,xhr:r};f("ParseAjax",a),t.appendContent(e(a.data),"ajax"),n.finished=!0,y(),t._setFocus(),setTimeout((function(){t.wrap.addClass("mfp-ready")}),16),t.updateStatus("ready"),f("AjaxContentAdded")},error:function(){y(),n.finished=n.loadError=!0,t.updateStatus("error",t.st.ajax.tError.replace("%url%",n.src))}},t.st.ajax.settings);return t.req=e.ajax(i),""}}});var x,k,C=function(n){if(n.data&&void 0!==n.data.title)return n.data.title;var i=t.st.image.titleSrc;if(i){if(e.isFunction(i))return i.call(t,n);if(n.el)return n.el.attr(i)||""}return""};e.magnificPopup.registerModule("image",{options:{markup:'
',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'The image could not be loaded.'},proto:{initImage:function(){var n=t.st.image,i=".image";t.types.push("image"),d("Open"+i,(function(){"image"===t.currItem.type&&n.cursor&&e(document.body).addClass(n.cursor)})),d("Close"+i,(function(){n.cursor&&e(document.body).removeClass(n.cursor),c.off("resize.mfp")})),d("Resize"+i,t.resizeImage),t.isLowIE&&d("AfterChange",t.resizeImage)},resizeImage:function(){var e=t.currItem;if(e&&e.img&&t.st.image.verticalFit){var n=0;t.isLowIE&&(n=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",t.wH-n)}},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,x&&clearInterval(x),e.isCheckingImgSize=!1,f("ImageHasSize",e),e.imgHidden&&(t.content&&t.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(e){var n=0,i=e.img[0],o=function(r){x&&clearInterval(x),x=setInterval((function(){i.naturalWidth>0?t._onImageHasSize(e):(n>200&&clearInterval(x),3==++n?o(10):40===n?o(50):100===n&&o(500))}),r)};o(1)},getImage:function(n,i){var o=0,r=function(){n&&(n.img[0].complete?(n.img.off(".mfploader"),n===t.currItem&&(t._onImageHasSize(n),t.updateStatus("ready")),n.hasSize=!0,n.loaded=!0,f("ImageLoadComplete")):++o<200?setTimeout(r,100):a())},a=function(){n&&(n.img.off(".mfploader"),n===t.currItem&&(t._onImageHasSize(n),t.updateStatus("error",s.tError.replace("%url%",n.src))),n.hasSize=!0,n.loaded=!0,n.loadError=!0)},s=t.st.image,l=i.find(".mfp-img");if(l.length){var c=document.createElement("img");c.className="mfp-img",n.el&&n.el.find("img").length&&(c.alt=n.el.find("img").attr("alt")),n.img=e(c).on("load.mfploader",r).on("error.mfploader",a),c.src=n.src,l.is("img")&&(n.img=n.img.clone()),(c=n.img[0]).naturalWidth>0?n.hasSize=!0:c.width||(n.hasSize=!1)}return t._parseMarkup(i,{title:C(n),img_replaceWith:n.img},n),t.resizeImage(),n.hasSize?(x&&clearInterval(x),n.loadError?(i.addClass("mfp-loading"),t.updateStatus("error",s.tError.replace("%url%",n.src))):(i.removeClass("mfp-loading"),t.updateStatus("ready")),i):(t.updateStatus("loading"),n.loading=!0,n.hasSize||(n.imgHidden=!0,i.addClass("mfp-loading"),t.findImageSize(n)),i)}}}),e.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,n=t.st.zoom,i=".zoom";if(n.enabled&&t.supportsTransition){var o,r,a=n.duration,s=function(e){var t=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),i="all "+n.duration/1e3+"s "+n.easing,o={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},r="transition";return o["-webkit-"+r]=o["-moz-"+r]=o["-o-"+r]=o[r]=i,t.css(o),t},l=function(){t.content.css("visibility","visible")};d("BuildControls"+i,(function(){if(t._allowZoom()){if(clearTimeout(o),t.content.css("visibility","hidden"),!(e=t._getItemToZoom()))return void l();(r=s(e)).css(t._getOffset()),t.wrap.append(r),o=setTimeout((function(){r.css(t._getOffset(!0)),o=setTimeout((function(){l(),setTimeout((function(){r.remove(),e=r=null,f("ZoomAnimationEnded")}),16)}),a)}),16)}})),d("BeforeClose"+i,(function(){if(t._allowZoom()){if(clearTimeout(o),t.st.removalDelay=a,!e){if(!(e=t._getItemToZoom()))return;r=s(e)}r.css(t._getOffset(!0)),t.wrap.append(r),t.content.css("visibility","hidden"),setTimeout((function(){r.css(t._getOffset())}),16)}})),d("Close"+i,(function(){t._allowZoom()&&(l(),r&&r.remove(),e=null)}))}},_allowZoom:function(){return"image"===t.currItem.type},_getItemToZoom:function(){return!!t.currItem.hasSize&&t.currItem.img},_getOffset:function(n){var i,o=(i=n?t.currItem.img:t.st.zoom.opener(t.currItem.el||t.currItem)).offset(),r=parseInt(i.css("padding-top"),10),a=parseInt(i.css("padding-bottom"),10);o.top-=e(window).scrollTop()-r;var s={width:i.width(),height:(l?i.innerHeight():i[0].offsetHeight)-a-r};return void 0===k&&(k=void 0!==document.createElement("p").style.MozTransform),k?s["-moz-transform"]=s.transform="translate("+o.left+"px,"+o.top+"px)":(s.left=o.left,s.top=o.top),s}}});var S=function(e){if(t.currTemplate.iframe){var n=t.currTemplate.iframe.find("iframe");n.length&&(e||(n[0].src="//about:blank"),t.isIE8&&n.css("display",e?"block":"none"))}};e.magnificPopup.registerModule("iframe",{options:{markup:'
',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){t.types.push("iframe"),d("BeforeChange",(function(e,t,n){t!==n&&("iframe"===t?S():"iframe"===n&&S(!0))})),d("Close.iframe",(function(){S()}))},getIframe:function(n,i){var o=n.src,r=t.st.iframe;e.each(r.patterns,(function(){if(o.indexOf(this.index)>-1)return this.id&&(o="string"==typeof this.id?o.substr(o.lastIndexOf(this.id)+this.id.length,o.length):this.id.call(this,o)),o=this.src.replace("%id%",o),!1}));var a={};return r.srcAction&&(a[r.srcAction]=o),t._parseMarkup(i,a,n),t.updateStatus("ready"),i}}});var T=function(e){var n=t.items.length;return e>n-1?e-n:e<0?n+e:e},j=function(e,t,n){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,n)};e.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var n=t.st.gallery,o=".mfp-gallery";if(t.direction=!0,!n||!n.enabled)return!1;r+=" mfp-gallery",d("Open"+o,(function(){n.navigateByImgClick&&t.wrap.on("click"+o,".mfp-img",(function(){if(t.items.length>1)return t.next(),!1})),i.on("keydown"+o,(function(e){37===e.keyCode?t.prev():39===e.keyCode&&t.next()}))})),d("UpdateStatus"+o,(function(e,n){n.text&&(n.text=j(n.text,t.currItem.index,t.items.length))})),d("MarkupParse"+o,(function(e,i,o,r){var a=t.items.length;o.counter=a>1?j(n.tCounter,r.index,a):""})),d("BuildControls"+o,(function(){if(t.items.length>1&&n.arrows&&!t.arrowLeft){var i=n.arrowMarkup,o=t.arrowLeft=e(i.replace(/%title%/gi,n.tPrev).replace(/%dir%/gi,"left")).addClass("mfp-prevent-close"),r=t.arrowRight=e(i.replace(/%title%/gi,n.tNext).replace(/%dir%/gi,"right")).addClass("mfp-prevent-close");o.click((function(){t.prev()})),r.click((function(){t.next()})),t.container.append(o.add(r))}})),d("Change"+o,(function(){t._preloadTimeout&&clearTimeout(t._preloadTimeout),t._preloadTimeout=setTimeout((function(){t.preloadNearbyImages(),t._preloadTimeout=null}),16)})),d("Close"+o,(function(){i.off(o),t.wrap.off("click"+o),t.arrowRight=t.arrowLeft=null}))},next:function(){t.direction=!0,t.index=T(t.index+1),t.updateItemHTML()},prev:function(){t.direction=!1,t.index=T(t.index-1),t.updateItemHTML()},goTo:function(e){t.direction=e>=t.index,t.index=e,t.updateItemHTML()},preloadNearbyImages:function(){var e,n=t.st.gallery.preload,i=Math.min(n[0],t.items.length),o=Math.min(n[1],t.items.length);for(e=1;e<=(t.direction?o:i);e++)t._preloadItem(t.index+e);for(e=1;e<=(t.direction?i:o);e++)t._preloadItem(t.index-e)},_preloadItem:function(n){if(n=T(n),!t.items[n].preloaded){var i=t.items[n];i.parsed||(i=t.parseEl(n)),f("LazyLoad",i),"image"===i.type&&(i.img=e('').on("load.mfploader",(function(){i.hasSize=!0})).on("error.mfploader",(function(){i.hasSize=!0,i.loadError=!0,f("LazyLoadError",i)})).attr("src",i.src)),i.preloaded=!0}}}}),e.magnificPopup.registerModule("retina",{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,(function(e){return"@2x"+e}))},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var e=t.st.retina,n=e.ratio;(n=isNaN(n)?n():n)>1&&(d("ImageHasSize.retina",(function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/n,width:"100%"})})),d("ElementParse.retina",(function(t,i){i.src=e.replaceSrc(i,n)})))}}}}),p()})?i.apply(t,o):i)||(e.exports=r)},116:function(e,t){!function(e){"use strict";Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=t.length;--n>=0&&t.item(n)!==this;);return n>-1}),e.addDynamicEventListener=function(e,t,n,i,o){e.addEventListener(t,function(e,t){return function(n){n.target&&n.target.matches(e)&&t.apply(this,arguments)}}(n,i),o)}}(window)},117:function(e,t){function n(t,i){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,i)}e.exports=n},17:function(e,t,n){"use strict";n.r(t),n.d(t,"GiveModal",(function(){return p})),n.d(t,"GiveErrorAlert",(function(){return m})),n.d(t,"GiveWarningAlert",(function(){return g})),n.d(t,"GiveNoticeAlert",(function(){return v})),n.d(t,"GiveSuccessAlert",(function(){return _})),n.d(t,"GiveConfirmModal",(function(){return b})),n.d(t,"GiveFormModal",(function(){return y}));var i=n(25),o=n.n(i),r=n(48),a=n.n(r),s=n(33),l=n.n(s),c=n(9),d=n.n(c),u=n(21),f=n.n(u);n(115),n(116);function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,i=l()(e);if(t){var o=l()(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return a()(this,n)}}var p=function(){function e(t){if(d()(this,e),e===this.constructor)throw new Error("Abstract classes can't be instantiated.");this.config=Object.assign({type:"",triggerSelector:"",externalPlugin:"magnificPopup",classes:{modalWrapper:""},modalContent:{}},t),this.config.mainClass="".concat(this.config.mainClass?this.config.mainClass:""," modal-fade-slide").trim()}return f()(e,[{key:"init",value:function(){this.setupTemplate(),this.popupConfig(),this.__setupClickEvent()}},{key:"getTemplate",value:function(){var e='
';return this.config.type.length&&(e='
\n\n\t\t\t\t
\n\t\t\t\t\t').concat(this.config.modalContent.title?'

'.concat(this.config.modalContent.title,"

"):"","\n\t\t\t\t\t").concat(this.config.modalContent.desc?'

'.concat(this.config.modalContent.desc,"

"):"",'\n\t\t\t\t
\n\n\t\t\t\t
\n\n\t\t\t\t\t').concat("form"===this.config.type?'
':"","\n\t\t\t\t\t").concat("form"===this.config.type?'').concat(this.config.modalContent.link_text,""):"",'\n\n\t\t\t\t\t\n\n\t\t\t\t\t").concat("confirm"!==this.config.type&&"form"!==this.config.type?"":'"),"\n\t\t\t\t
\n\n\t\t\t
")),e}},{key:"setupTemplate",value:function(){this.config.template=this.getTemplate()}},{key:"__setupClickEvent",value:function(){this.config.triggerSelector.length&&jQuery(this.config.triggerSelector).magnificPopup(this.config)}},{key:"popupConfig",value:function(){"magnificPopup"===this.config.externalPlugin&&(this.config.items=this.config.items||{src:this.config.template,type:"inline"},this.config=Object.assign({removalDelay:300,fixedContentPos:!0,fixedBgPos:!0,alignTop:!0,showCloseBtn:!1,closeOnBgClick:!1,enableEscapeKey:!0,focus:".give-popup-close-button"},this.config))}},{key:"render",value:function(){switch(this.config.externalPlugin){case"magnificPopup":this.config.triggerSelector||jQuery.magnificPopup.open(this.config)}return this}}],[{key:"__closePopup",value:function(e){e.preventDefault(),jQuery.magnificPopup.instance.close()}},{key:"__ajaxModalHandle",value:function(e){var t=jQuery(e.target),n=t.attr("data-cache");if(e.preventDefault(),void 0!==n)return n=decodeURI(n),void new Give.modal.GiveSuccessAlert({modalContent:{title:t.attr("title"),desc:n},closeOnBgClick:!0}).render();jQuery.ajax({url:t.attr("href"),method:"GET",beforeSend:function(){new Give.modal.GiveSuccessAlert({modalContent:{desc:Give.fn.loader({},{show:null,loadingText:Give.fn.getGlobalVar("loader_translation").loading})},closeOnBgClick:!0}).render()},success:function(e){e.length&&t.attr("data-cache",encodeURI(e)),jQuery(".mfp-wrap").length&&new Give.modal.GiveSuccessAlert({modalContent:{title:t.attr("title"),desc:e},closeOnBgClick:!0}).render()}})}}]),e}(),m=function(e){o()(n,e);var t=h(n);function n(e){var i;return d()(this,n),e.type="alert",(i=t.call(this,e)).config.classes.modalWrapper="give-modal--error",i.init(),i}return n}(p),g=function(e){o()(n,e);var t=h(n);function n(e){var i;return d()(this,n),e.type="alert",(i=t.call(this,e)).config.classes.modalWrapper="give-modal--warning",i.init(),i}return n}(p),v=function(e){o()(n,e);var t=h(n);function n(e){var i;return d()(this,n),e.type="alert",(i=t.call(this,e)).config.classes.modalWrapper="give-modal--notice",i.init(),i}return n}(p),_=function(e){o()(n,e);var t=h(n);function n(e){var i;return d()(this,n),e.type="alert",(i=t.call(this,e)).config.classes.modalWrapper="give-modal--success",i.init(),i}return n}(p),b=function(e){o()(n,e);var t=h(n);function n(e){var i;return d()(this,n),e.type="confirm",i=t.call(this,e),void 0!==e.modalWrapper&&""!==e.modalWrapper&&(i.config.classes.modalWrapper=e.modalWrapper),i.init(),i}return f()(n,null,[{key:"__confirmPopup",value:function(){"function"==typeof jQuery.magnificPopup.instance.st.successConfirm&&(jQuery.magnificPopup.instance.st.successConfirm({el:jQuery.magnificPopup.instance.st.el}),jQuery.magnificPopup.close())}}]),n}(p),y=function(e){o()(n,e);var t=h(n);function n(e){var i;return d()(this,n),e.type="form",i=t.call(this,e),void 0!==e.modalWrapper&&""!==e.modalWrapper&&(i.config.classes.modalWrapper=e.modalWrapper),i.init(),i}return f()(n,null,[{key:"__submitPopup",value:function(){"function"==typeof jQuery.magnificPopup.instance.st.successConfirm&&jQuery.magnificPopup.instance.st.successConfirm({el:jQuery.magnificPopup.instance.st.el})}}]),n}(p);window.addDynamicEventListener(document,"click",".give-popup-close-button",p.__closePopup,{}),window.addDynamicEventListener(document,"click",".give-popup-confirm-button",b.__confirmPopup,{}),window.addDynamicEventListener(document,"click",".give-popup-form-button",y.__submitPopup,{}),window.addDynamicEventListener(document,"click",".give-ajax-modal",p.__ajaxModalHandle,{})},20:function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},21:function(e,t){function n(e,t){for(var n=0;n')})),e.chosen({inherit_select_classes:!0,placeholder_text_single:Give.fn.getGlobalVar("one_option"),placeholder_text_multiple:Give.fn.getGlobalVar("one_or_more_option")}),e.on("chosen:no_results",(function(){var e=jQuery(this).next(".chosen-container"),t=e.find("li.no-results"),n="",i=Give.fn.getGlobalVar("chosen");n=e.hasClass("give-select-chosen-ajax")&&t.length?i.ajax_search_msg.replace("{search_term}",'"'+jQuery("input",e).val()+'"'):i.no_results_msg.replace("{search_term}",'"'+jQuery("input",e).val()+'"'),t.html(n);jQuery(document.body).on("keyup",".give-select.chosen-container .chosen-search input, .give-select.chosen-container .search-field input",(function(e){var t=jQuery(this).val(),n=jQuery(this).closest(".give-select-chosen"),i=n.prev(),o=n.find('input[type="text"]'),r=(n.hasClass("variations"),e.which),a="give_form_search",s=this;if(n.prev().data("search-type")){if("no_ajax"===i.data("search-type"))return;a="give_"+i.data("search-type")+"_search"}t.length>0&&t.length<=3||!a.length||9===r||13===r||16===r||17===r||18===r||19===r||20===r||27===r||33===r||34===r||35===r||36===r||37===r||38===r||39===r||40===r||44===r||45===r||144===r||145===r||91===r||93===r||224===r||112<=r&&123>=r||(clearTimeout(Give.cache.chosenSearchTypingTimer),n.addClass("give-select-chosen-ajax"),Give.cache.chosenSearchTypingTimer=setTimeout((function(){jQuery.ajax({type:"POST",url:ajaxurl,data:{action:a,s:t,fields:jQuery(s).closest("form").serialize()},dataType:"json",beforeSend:function(){i.closest("ul.chosen-results").empty(),o.prop("disabled",!0)},success:function(e){n.removeClass("give-select-chosen-ajax"),jQuery("option:not(:selected)",i).remove(),e.length?(jQuery.each(e,(function(e,n){jQuery('option[value="'+n.id+'"]',i).length||(0===t.length?i.append('")):i.prepend('")))})),n.prev("select.give-select-chosen").trigger("chosen:updated")):n.prev("select.give-select-chosen").trigger("chosen:no_results"),o.prop("disabled",!1),o.val(t).focus()}}).fail((function(e){window.console&&window.console.log&&console.log(e)})).done((function(e){o.prop("disabled",!1)}))}),342))})),jQuery(".give-select-chosen .chosen-search input").each((function(){var e=jQuery(this).parent().parent().parent().prev("select.give-select-chosen").data("search-type"),t="";"form"===e?t=Give.fn.getGlobalVar("search_placeholder"):(e="search_placeholder_"+e,Give.fn.getGlobalVar(e)&&(t=Give.fn.getGlobalVar(e))),jQuery(this).attr("placeholder",t)}))}))}n.d(t,"a",(function(){return i}))},311:function(e,t,n){(function(t){e.exports=t.accounting=n(312)}).call(this,n(55))},312:function(e,t,n){ +/*! + * accounting.js v0.4.1 + * Copyright 2014 Open Exchange Rates + * + * Freely distributable under the MIT license. + * Portions of accounting.js are inspired or borrowed from underscore.js + * + * Full details and documentation: + * http://openexchangerates.github.io/accounting.js/ + */ +!function(n,i){var o={version:"0.4.1",settings:{currency:{symbol:"$",format:"%s%v",decimal:".",thousand:",",precision:2,grouping:3},number:{precision:0,grouping:3,thousand:",",decimal:"."}}},r=Array.prototype.map,a=Array.isArray,s=Object.prototype.toString;function l(e){return!!(""===e||e&&e.charCodeAt&&e.substr)}function c(e){return a?a(e):"[object Array]"===s.call(e)}function d(e){return e&&"[object Object]"===s.call(e)}function u(e,t){var n;for(n in e=e||{},t=t||{})t.hasOwnProperty(n)&&null==e[n]&&(e[n]=t[n]);return e}function f(e,t,n){var i,o,a=[];if(!e)return a;if(r&&e.map===r)return e.map(t,n);for(i=0,o=e.length;i3?l.length%3:0;return s+(p?l.substr(0,p)+r.thousand:"")+l.substr(p).replace(/(\d{3})(?=\d)/g,"$1"+r.thousand)+(a?r.decimal+g(Math.abs(e),a).split(".")[1]:"")},_=o.formatMoney=function(e,t,n,i,r,a){if(c(e))return f(e,(function(e){return _(e,t,n,i,r,a)}));e=m(e);var s=u(d(t)?t:{symbol:t,precision:n,thousand:i,decimal:r,format:a},o.settings.currency),l=p(s.format);return(e>0?l.pos:e<0?l.neg:l.zero).replace("%s",s.symbol).replace("%v",v(Math.abs(e),h(s.precision),s.thousand,s.decimal))};o.formatColumn=function(e,t,n,i,r,a){if(!e)return[];var s=u(d(t)?t:{symbol:t,precision:n,thousand:i,decimal:r,format:a},o.settings.currency),g=p(s.format),_=g.pos.indexOf("%s")0?g.pos:e<0?g.neg:g.zero).replace("%s",s.symbol).replace("%v",v(Math.abs(e),h(s.precision),s.thousand,s.decimal));return n.length>b&&(b=n.length),n}));return f(y,(function(e,t){return l(e)&&e.lengtht&&(o=t,S(k,"Set "+i+" to max value")),y[i]=""+o}function r(e){return _.substr(_.indexOf(":")+d+e)}function a(e,t){var n,i,o;n=function(){var n,i;W("Send Page Info","pageInfo:"+(n=document.body.getBoundingClientRect(),i=y.iframe.getBoundingClientRect(),JSON.stringify({iframeHeight:i.height,iframeWidth:i.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(i.top-n.top,10),offsetLeft:parseInt(i.left-n.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,documentHeight:document.documentElement.clientHeight,documentWidth:document.documentElement.clientWidth,windowHeight:window.innerHeight,windowWidth:window.innerWidth})),e,t)},i=32,b[o=t]||(b[o]=setTimeout((function(){b[o]=null,n()}),i))}function s(e){var t=e.getBoundingClientRect();return O(k),{x:Math.floor(Number(t.left)+Number(h.x)),y:Math.floor(Number(t.top)+Number(h.y))}}function l(e){var t=e?s(y.iframe):{x:0,y:0},n={x:Number(y.width)+t.x,y:Number(y.height)+t.y};S(k,"Reposition requested from iFrame (offset x:"+t.x+" y:"+t.y+")"),window.top!==window.self?window.parentIFrame?window.parentIFrame["scrollTo"+(e?"Offset":"")](n.x,n.y):j(k,"Unable to scroll to requested position, window.parentIFrame not found"):(h=n,c(),S(k,"--"))}function c(){!1!==p("onScroll",h)?P(k):z()}function p(e,t){return G(k,e,t)}var m,v,_=e.data,y={},k=null;"[iFrameResizerChild]Ready"===_?function(){for(var e in g)W("iFrame requested init",F(e),g[e].iframe,e)}():u===(""+_).substr(0,f)&&_.substr(f).split(":")[0]in g?(y=function(){var e=_.substr(f).split(":"),t=e[1]?parseInt(e[1],10):0,o=g[e[0]]&&g[e[0]].iframe,r=getComputedStyle(o);return{iframe:o,id:e[0],height:t+n(r)+i(r),width:e[2],type:e[3]}}(),k=y.id,g[k]&&(g[k].loaded=!0),(v=y.type in{true:1,false:1,undefined:1})&&S(k,"Ignoring init message from meta parent page"),!v&&function(e){var t=!0;return g[e]||(t=!1,j(y.type+" No settings for "+e+". Message was: "+_)),t}(k)&&(S(k,"Received: "+_),m=!0,null===y.iframe&&(j(k,"IFrame ("+y.id+") not found"),m=!1),m&&function(){var t,n=e.origin,i=g[k]&&g[k].checkOrigin;if(i&&""+n!="null"&&!(i.constructor===Array?function(){var e=0,t=!1;for(S(k,"Checking connection is from allowed list of origins: "+i);eg[r]["max"+e])throw new Error("Value for min"+e+" can not be greater than max"+e)}n("Height"),n("Width"),t("maxHeight"),t("minHeight"),t("maxWidth"),t("minWidth")}(),"number"!=typeof(g[r]&&g[r].bodyMargin)&&"0"!==(g[r]&&g[r].bodyMargin)||(g[r].bodyMarginV1=g[r].bodyMargin,g[r].bodyMargin=g[r].bodyMargin+"px"),i=F(r),(o=y())&&function(t){e.parentNode&&new t((function(t){t.forEach((function(t){Array.prototype.slice.call(t.removedNodes).forEach((function(t){t===e&&A(e)}))}))})).observe(e.parentNode,{childList:!0})}(o),w(e,"load",(function(){var t,n;W("iFrame.onload",i,e,void 0,!0),t=g[r]&&g[r].firstRun,n=g[r]&&g[r].heightCalculationMethod in m,!t&&n&&L({iframe:e,height:0,width:0,type:"init"})})),W("init",i,e,void 0,!0),g[r]&&(g[r].iframe.iFrameResizer={close:A.bind(null,g[r].iframe),removeListeners:E.bind(null,g[r].iframe),resize:W.bind(null,"Window resize","resize",g[r].iframe),moveToAnchor:function(e){W("Move to anchor","moveToAnchor:"+e,g[r].iframe,r)},sendMessage:function(e){W("Send Message","message:"+(e=JSON.stringify(e)),g[r].iframe,r)}}))}function Q(e,t){null===v&&(v=setTimeout((function(){v=null,e()}),t))}function R(){"hidden"!==document.visibilityState&&(S("document","Trigger event: Visiblity change"),Q((function(){V("Tab Visable","resize")}),16))}function V(e,t){Object.keys(g).forEach((function(n){(function(e){return g[e]&&"parent"===g[e].resizeFrom&&g[e].autoResize&&!g[e].firstRun})(n)&&W(e,t,g[n].iframe,n)}))}function H(){w(window,"message",I),w(window,"resize",(function(){var e;S("window","Trigger event: "+(e="resize")),Q((function(){V("Window "+e,"resize")}),16)})),w(document,"visibilitychange",R),w(document,"-webkit-visibilitychange",R)}function B(){function e(e,n){n&&(!function(){if(!n.tagName)throw new TypeError("Object is not a valid DOM element");if("IFRAME"!==n.tagName.toUpperCase())throw new TypeError("Expected +

How to activate plugin

+
+
+ +

How to upgrade your package

+
+
+ +

How to change banner settings

+
+ + + +
+

For more resources you can visit

+ +
+ + + + + + + + +
+
× +
+

+ textdomain); ?> +

+
+

textdomain); ?>

+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/uninstall.php b/uninstall.php new file mode 100644 index 0000000..61d5e31 --- /dev/null +++ b/uninstall.php @@ -0,0 +1,45 @@ +prefix; +$wpdb->query($wpdb->prepare("DELETE FROM ".$prefix."options WHERE option_name = 'SCCBPP_cookie_consent_id'")); +$wpdb->query($wpdb->prepare("DELETE FROM ".$prefix."options WHERE option_name = 'SCCBPP_cookie_consent_msg'")); +$wpdb->query($wpdb->prepare("DELETE FROM ".$prefix."options WHERE option_name = 'SCCBPP_cookie_consent_url'")); +$wpdb->query($wpdb->prepare("DELETE FROM ".$prefix."options WHERE option_name = 'SCCBPP_cookie_consent_email'")); +/*** Code added on 10-06-2012 ********/ +$wpdb->query($wpdb->prepare("DELETE FROM ".$prefix."options WHERE option_name = 'SCCBPP_cookie_consent_policy_declaration_url'")); +$wpdb->query($wpdb->prepare("DELETE FROM ".$prefix."options WHERE option_name = 'SCCBPP_cookie_consent_enable_policy'")); +$wpdb->query($wpdb->prepare("DELETE FROM ".$prefix."options WHERE option_name = 'SCCBPP_cookie_consent_is_active'")); +$wpdb->query($wpdb->prepare("DELETE FROM ".$prefix."options WHERE option_name = 'SCCBPP_cookie_consent_cookies_expiry'")); +$wpdb->query($wpdb->prepare("DELETE FROM ".$prefix."options WHERE option_name = 'SCCBPP_cookie_consent_lang'")); +$wpdb->query($wpdb->prepare("DELETE FROM ".$prefix."options WHERE option_name = 'SCCBPP_cookie_consent_show_badge'")); +$wpdb->query($wpdb->prepare("DELETE FROM ".$prefix."options WHERE option_name = 'SCCBPP_cookie_consent_agree_btn_color'")); +$wpdb->query($wpdb->prepare("DELETE FROM ".$prefix."options WHERE option_name = 'SCCBPP_cookie_consent_disagree_btn_color'")); +$wpdb->query($wpdb->prepare("DELETE FROM ".$prefix."options WHERE option_name = 'SCCBPP_cookie_consent_preferences_btn_color'")); +$wpdb->query($wpdb->prepare("DELETE FROM ".$prefix."options WHERE option_name = 'SCCBPP_cookie_consent_banner_bg_color'")); +$wpdb->query($wpdb->prepare("DELETE FROM ".$prefix."options WHERE option_name = 'SCCBPP_cookie_consent_body_text_color'")); +$wpdb->query($wpdb->prepare("DELETE FROM ".$prefix."options WHERE option_name = 'SCCBPP_cookie_consent_agree_text_color'")); +$wpdb->query($wpdb->prepare("DELETE FROM ".$prefix."options WHERE option_name = 'SCCBPP_cookie_consent_disagree_text_color'")); +$wpdb->query($wpdb->prepare("DELETE FROM ".$prefix."options WHERE option_name = 'SCCBPP_cookie_consent_preferences_text_color'")); +$wpdb->query($wpdb->prepare("DELETE FROM ".$prefix."options WHERE option_name = 'SCCBPP_cookie_consent_body_text'")); +$wpdb->query($wpdb->prepare("DELETE FROM ".$prefix."options WHERE option_name = 'SCCBPP_cookie_consent_accept_btn_text'")); +$wpdb->query($wpdb->prepare("DELETE FROM ".$prefix."options WHERE option_name = 'SCCBPP_cookie_consent_reject_btn_text'")); +$wpdb->query($wpdb->prepare("DELETE FROM ".$prefix."options WHERE option_name = 'SCCBPP_cookie_consent_setting_btn_text'")); +$wpdb->query($wpdb->prepare("DELETE FROM ".$prefix."options WHERE option_name = 'SCCBPP_cookie_consent_font_style'")); +$wpdb->query($wpdb->prepare("DELETE FROM ".$prefix."options WHERE option_name = 'SCCBPP_cookie_consent_font_size'")); +$wpdb->query($wpdb->prepare("DELETE FROM ".$prefix."options WHERE option_name = 'SCCBPP_cookie_consent_button_type'"));