Version Description
- Code optimization.
Download this release
Release Info
| Developer | wpexpertsio |
| Plugin | |
| Version | 1.8.6 |
| Comparing to | |
| See all releases | |
Code changes from version 1.8.5 to 1.8.6
- admin/templates/upgrade.php +1172 -0
- includes/admin-approve.php +9 -1
- new-user-approve.php +2 -9
- readme.txt +5 -2
admin/templates/upgrade.php
ADDED
|
@@ -0,0 +1,1172 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<style>
|
| 2 |
+
html,
|
| 3 |
+
body,
|
| 4 |
+
div,
|
| 5 |
+
span,
|
| 6 |
+
applet,
|
| 7 |
+
object,
|
| 8 |
+
iframe,
|
| 9 |
+
h1,
|
| 10 |
+
h2,
|
| 11 |
+
h3,
|
| 12 |
+
h4,
|
| 13 |
+
h5,
|
| 14 |
+
h6,
|
| 15 |
+
p,
|
| 16 |
+
blockquote,
|
| 17 |
+
pre,
|
| 18 |
+
a,
|
| 19 |
+
abbr,
|
| 20 |
+
acronym,
|
| 21 |
+
address,
|
| 22 |
+
big,
|
| 23 |
+
cite,
|
| 24 |
+
code,
|
| 25 |
+
del,
|
| 26 |
+
dfn,
|
| 27 |
+
em,
|
| 28 |
+
img,
|
| 29 |
+
ins,
|
| 30 |
+
kbd,
|
| 31 |
+
q,
|
| 32 |
+
s,
|
| 33 |
+
samp,
|
| 34 |
+
small,
|
| 35 |
+
strike,
|
| 36 |
+
strong,
|
| 37 |
+
sub,
|
| 38 |
+
sup,
|
| 39 |
+
tt,
|
| 40 |
+
var,
|
| 41 |
+
b,
|
| 42 |
+
u,
|
| 43 |
+
i,
|
| 44 |
+
center,
|
| 45 |
+
dl,
|
| 46 |
+
dt,
|
| 47 |
+
dd,
|
| 48 |
+
ol,
|
| 49 |
+
ul,
|
| 50 |
+
li,
|
| 51 |
+
fieldset,
|
| 52 |
+
form,
|
| 53 |
+
label,
|
| 54 |
+
legend,
|
| 55 |
+
table,
|
| 56 |
+
caption,
|
| 57 |
+
tbody,
|
| 58 |
+
tfoot,
|
| 59 |
+
thead,
|
| 60 |
+
tr,
|
| 61 |
+
th,
|
| 62 |
+
td,
|
| 63 |
+
article,
|
| 64 |
+
aside,
|
| 65 |
+
canvas,
|
| 66 |
+
details,
|
| 67 |
+
embed,
|
| 68 |
+
figure,
|
| 69 |
+
figcaption,
|
| 70 |
+
footer,
|
| 71 |
+
header,
|
| 72 |
+
hgroup,
|
| 73 |
+
menu,
|
| 74 |
+
nav,
|
| 75 |
+
output,
|
| 76 |
+
ruby,
|
| 77 |
+
section,
|
| 78 |
+
summary,
|
| 79 |
+
time,
|
| 80 |
+
mark,
|
| 81 |
+
audio,
|
| 82 |
+
video {
|
| 83 |
+
margin: 0;
|
| 84 |
+
padding: 0;
|
| 85 |
+
border: 0;
|
| 86 |
+
font-size: 100%;
|
| 87 |
+
font: inherit;
|
| 88 |
+
vertical-align: baseline;
|
| 89 |
+
}
|
| 90 |
+
/* HTML5 display-role reset for older browsers */
|
| 91 |
+
article,
|
| 92 |
+
aside,
|
| 93 |
+
details,
|
| 94 |
+
figcaption,
|
| 95 |
+
figure,
|
| 96 |
+
footer,
|
| 97 |
+
header,
|
| 98 |
+
hgroup,
|
| 99 |
+
menu,
|
| 100 |
+
nav,
|
| 101 |
+
section,
|
| 102 |
+
main {
|
| 103 |
+
display: block;
|
| 104 |
+
}
|
| 105 |
+
body {
|
| 106 |
+
line-height: 1;
|
| 107 |
+
}
|
| 108 |
+
ol,
|
| 109 |
+
ul {
|
| 110 |
+
list-style: none;
|
| 111 |
+
}
|
| 112 |
+
blockquote,
|
| 113 |
+
q {
|
| 114 |
+
quotes: none;
|
| 115 |
+
}
|
| 116 |
+
blockquote:before,
|
| 117 |
+
blockquote:after,
|
| 118 |
+
q:before,
|
| 119 |
+
q:after {
|
| 120 |
+
content: "";
|
| 121 |
+
content: none;
|
| 122 |
+
}
|
| 123 |
+
table {
|
| 124 |
+
border-collapse: collapse;
|
| 125 |
+
border-spacing: 0;
|
| 126 |
+
}
|
| 127 |
+
*,
|
| 128 |
+
*::after,
|
| 129 |
+
*::before {
|
| 130 |
+
-webkit-box-sizing: border-box;
|
| 131 |
+
-moz-box-sizing: border-box;
|
| 132 |
+
box-sizing: border-box;
|
| 133 |
+
}
|
| 134 |
+
|
| 135 |
+
html {
|
| 136 |
+
font-size: 62.5%;
|
| 137 |
+
}
|
| 138 |
+
|
| 139 |
+
html * {
|
| 140 |
+
-webkit-font-smoothing: antialiased;
|
| 141 |
+
-moz-osx-font-smoothing: grayscale;
|
| 142 |
+
}
|
| 143 |
+
|
| 144 |
+
body {
|
| 145 |
+
font-size: 1.6rem;
|
| 146 |
+
font-family: "Open Sans", sans-serif;
|
| 147 |
+
color: #2d3d4f;
|
| 148 |
+
background-color: #1bbc9d;
|
| 149 |
+
}
|
| 150 |
+
|
| 151 |
+
a {
|
| 152 |
+
text-decoration: none;
|
| 153 |
+
}
|
| 154 |
+
|
| 155 |
+
.pricing-container {
|
| 156 |
+
width: 90%;
|
| 157 |
+
max-width: 1170px;
|
| 158 |
+
margin: 4em auto;
|
| 159 |
+
}
|
| 160 |
+
|
| 161 |
+
.pricing-container {
|
| 162 |
+
margin: 6em auto;
|
| 163 |
+
}
|
| 164 |
+
.pricing-container.full-width {
|
| 165 |
+
width: 100%;
|
| 166 |
+
max-width: none;
|
| 167 |
+
}
|
| 168 |
+
|
| 169 |
+
.pricing-switcher {
|
| 170 |
+
text-align: center;
|
| 171 |
+
}
|
| 172 |
+
|
| 173 |
+
.pricing-switcher .fieldset {
|
| 174 |
+
display: inline-block;
|
| 175 |
+
position: relative;
|
| 176 |
+
padding: 2px;
|
| 177 |
+
border-radius: 50em;
|
| 178 |
+
border: 2px solid #2d3e50;
|
| 179 |
+
}
|
| 180 |
+
|
| 181 |
+
.pricing-switcher input[type="radio"] {
|
| 182 |
+
position: absolute;
|
| 183 |
+
opacity: 0;
|
| 184 |
+
}
|
| 185 |
+
|
| 186 |
+
.pricing-switcher label {
|
| 187 |
+
position: relative;
|
| 188 |
+
z-index: 1;
|
| 189 |
+
display: inline-block;
|
| 190 |
+
float: left;
|
| 191 |
+
width: 90px;
|
| 192 |
+
height: 40px;
|
| 193 |
+
line-height: 40px;
|
| 194 |
+
cursor: pointer;
|
| 195 |
+
font-size: 1.4rem;
|
| 196 |
+
color: #ffffff;
|
| 197 |
+
}
|
| 198 |
+
|
| 199 |
+
.pricing-switcher .switch {
|
| 200 |
+
position: absolute;
|
| 201 |
+
top: 2px;
|
| 202 |
+
left: 2px;
|
| 203 |
+
height: 40px;
|
| 204 |
+
width: 90px;
|
| 205 |
+
background-color: #2d3e50;
|
| 206 |
+
border-radius: 50em;
|
| 207 |
+
-webkit-transition: -webkit-transform 0.5s;
|
| 208 |
+
-moz-transition: -moz-transform 0.5s;
|
| 209 |
+
transition: transform 0.5s;
|
| 210 |
+
}
|
| 211 |
+
|
| 212 |
+
.pricing-switcher input[type="radio"]:checked + label + .switch,
|
| 213 |
+
.pricing-switcher input[type="radio"]:checked + label:nth-of-type(n) + .switch {
|
| 214 |
+
-webkit-transform: translateX(90px);
|
| 215 |
+
-moz-transform: translateX(90px);
|
| 216 |
+
-ms-transform: translateX(90px);
|
| 217 |
+
-o-transform: translateX(90px);
|
| 218 |
+
transform: translateX(90px);
|
| 219 |
+
}
|
| 220 |
+
|
| 221 |
+
.no-js .pricing-switcher {
|
| 222 |
+
display: none;
|
| 223 |
+
}
|
| 224 |
+
|
| 225 |
+
.pricing-list {
|
| 226 |
+
margin: 2em 0 0;
|
| 227 |
+
}
|
| 228 |
+
|
| 229 |
+
.pricing-list > li {
|
| 230 |
+
position: relative;
|
| 231 |
+
margin-bottom: 1em;
|
| 232 |
+
}
|
| 233 |
+
|
| 234 |
+
@media only screen and (min-width: 768px) {
|
| 235 |
+
.pricing-list {
|
| 236 |
+
margin: 3em 0 0;
|
| 237 |
+
}
|
| 238 |
+
.pricing-list:after {
|
| 239 |
+
content: "";
|
| 240 |
+
display: table;
|
| 241 |
+
clear: both;
|
| 242 |
+
}
|
| 243 |
+
.pricing-list > li {
|
| 244 |
+
width: 33.3333333333%;
|
| 245 |
+
float: left;
|
| 246 |
+
padding-left: 5px;
|
| 247 |
+
padding-right: 5px;
|
| 248 |
+
}
|
| 249 |
+
.has-margins .pricing-list > li {
|
| 250 |
+
width: 32.3333333333%;
|
| 251 |
+
float: left;
|
| 252 |
+
margin-right: 1.5%;
|
| 253 |
+
}
|
| 254 |
+
.has-margins .pricing-list > li:last-of-type {
|
| 255 |
+
margin-right: 0;
|
| 256 |
+
}
|
| 257 |
+
}
|
| 258 |
+
|
| 259 |
+
.pricing-wrapper {
|
| 260 |
+
position: relative;
|
| 261 |
+
}
|
| 262 |
+
|
| 263 |
+
.touch .pricing-wrapper {
|
| 264 |
+
-webkit-perspective: 2000px;
|
| 265 |
+
-moz-perspective: 2000px;
|
| 266 |
+
perspective: 2000px;
|
| 267 |
+
}
|
| 268 |
+
|
| 269 |
+
.pricing-wrapper.is-switched .is-visible {
|
| 270 |
+
-webkit-transform: rotateY(180deg);
|
| 271 |
+
-moz-transform: rotateY(180deg);
|
| 272 |
+
-ms-transform: rotateY(180deg);
|
| 273 |
+
-o-transform: rotateY(180deg);
|
| 274 |
+
transform: rotateY(180deg);
|
| 275 |
+
-webkit-animation: rotate 0.5s;
|
| 276 |
+
-moz-animation: rotate 0.5s;
|
| 277 |
+
animation: rotate 0.5s;
|
| 278 |
+
}
|
| 279 |
+
|
| 280 |
+
.pricing-wrapper.is-switched .is-hidden {
|
| 281 |
+
-webkit-transform: rotateY(0);
|
| 282 |
+
-moz-transform: rotateY(0);
|
| 283 |
+
-ms-transform: rotateY(0);
|
| 284 |
+
-o-transform: rotateY(0);
|
| 285 |
+
transform: rotateY(0);
|
| 286 |
+
-webkit-animation: rotate-inverse 0.5s;
|
| 287 |
+
-moz-animation: rotate-inverse 0.5s;
|
| 288 |
+
animation: rotate-inverse 0.5s;
|
| 289 |
+
opacity: 0;
|
| 290 |
+
}
|
| 291 |
+
|
| 292 |
+
.pricing-wrapper.is-switched .is-selected {
|
| 293 |
+
opacity: 1;
|
| 294 |
+
}
|
| 295 |
+
|
| 296 |
+
.pricing-wrapper.is-switched.reverse-animation .is-visible {
|
| 297 |
+
-webkit-transform: rotateY(-180deg);
|
| 298 |
+
-moz-transform: rotateY(-180deg);
|
| 299 |
+
-ms-transform: rotateY(-180deg);
|
| 300 |
+
-o-transform: rotateY(-180deg);
|
| 301 |
+
transform: rotateY(-180deg);
|
| 302 |
+
-webkit-animation: rotate-back 0.5s;
|
| 303 |
+
-moz-animation: rotate-back 0.5s;
|
| 304 |
+
animation: rotate-back 0.5s;
|
| 305 |
+
}
|
| 306 |
+
|
| 307 |
+
.pricing-wrapper.is-switched.reverse-animation .is-hidden {
|
| 308 |
+
-webkit-transform: rotateY(0);
|
| 309 |
+
-moz-transform: rotateY(0);
|
| 310 |
+
-ms-transform: rotateY(0);
|
| 311 |
+
-o-transform: rotateY(0);
|
| 312 |
+
transform: rotateY(0);
|
| 313 |
+
-webkit-animation: rotate-inverse-back 0.5s;
|
| 314 |
+
-moz-animation: rotate-inverse-back 0.5s;
|
| 315 |
+
animation: rotate-inverse-back 0.5s;
|
| 316 |
+
opacity: 0;
|
| 317 |
+
}
|
| 318 |
+
|
| 319 |
+
.pricing-wrapper.is-switched.reverse-animation .is-selected {
|
| 320 |
+
opacity: 1;
|
| 321 |
+
}
|
| 322 |
+
|
| 323 |
+
.pricing-wrapper > li {
|
| 324 |
+
background-color: #ffffff;
|
| 325 |
+
-webkit-backface-visibility: hidden;
|
| 326 |
+
backface-visibility: hidden;
|
| 327 |
+
outline: 1px solid transparent;
|
| 328 |
+
}
|
| 329 |
+
|
| 330 |
+
.pricing-wrapper > li::after {
|
| 331 |
+
content: "";
|
| 332 |
+
position: absolute;
|
| 333 |
+
top: 0;
|
| 334 |
+
right: 0;
|
| 335 |
+
height: 100%;
|
| 336 |
+
width: 50px;
|
| 337 |
+
pointer-events: none;
|
| 338 |
+
background: -webkit-linear-gradient(right, #ffffff, rgba(255, 255, 255, 0));
|
| 339 |
+
background: linear-gradient(to left, #ffffff, rgba(255, 255, 255, 0));
|
| 340 |
+
}
|
| 341 |
+
|
| 342 |
+
.pricing-wrapper > li.is-ended::after {
|
| 343 |
+
display: none;
|
| 344 |
+
}
|
| 345 |
+
|
| 346 |
+
.pricing-wrapper .is-visible {
|
| 347 |
+
position: relative;
|
| 348 |
+
z-index: 5;
|
| 349 |
+
}
|
| 350 |
+
|
| 351 |
+
.pricing-wrapper .is-hidden {
|
| 352 |
+
position: absolute;
|
| 353 |
+
top: 0;
|
| 354 |
+
left: 0;
|
| 355 |
+
height: 100%;
|
| 356 |
+
width: 100%;
|
| 357 |
+
z-index: 1;
|
| 358 |
+
-webkit-transform: rotateY(180deg);
|
| 359 |
+
-moz-transform: rotateY(180deg);
|
| 360 |
+
-ms-transform: rotateY(180deg);
|
| 361 |
+
-o-transform: rotateY(180deg);
|
| 362 |
+
transform: rotateY(180deg);
|
| 363 |
+
}
|
| 364 |
+
|
| 365 |
+
.pricing-wrapper .is-selected {
|
| 366 |
+
z-index: 3 !important;
|
| 367 |
+
}
|
| 368 |
+
|
| 369 |
+
@media only screen and (min-width: 768px) {
|
| 370 |
+
.pricing-wrapper > li::before {
|
| 371 |
+
content: "";
|
| 372 |
+
position: absolute;
|
| 373 |
+
z-index: 6;
|
| 374 |
+
left: -1px;
|
| 375 |
+
top: 50%;
|
| 376 |
+
bottom: auto;
|
| 377 |
+
-webkit-transform: translateY(-50%);
|
| 378 |
+
-moz-transform: translateY(-50%);
|
| 379 |
+
-ms-transform: translateY(-50%);
|
| 380 |
+
-o-transform: translateY(-50%);
|
| 381 |
+
transform: translateY(-50%);
|
| 382 |
+
height: 50%;
|
| 383 |
+
width: 1px;
|
| 384 |
+
background-color: #b1d6e8;
|
| 385 |
+
}
|
| 386 |
+
.pricing-wrapper > li::after {
|
| 387 |
+
display: none;
|
| 388 |
+
}
|
| 389 |
+
.exclusive .pricing-wrapper > li {
|
| 390 |
+
box-shadow: inset 0 0 0 3px #2d3e50;
|
| 391 |
+
}
|
| 392 |
+
.has-margins .pricing-wrapper > li,
|
| 393 |
+
.has-margins .exclusive .pricing-wrapper > li {
|
| 394 |
+
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
|
| 395 |
+
}
|
| 396 |
+
:nth-of-type(1) > .pricing-wrapper > li::before {
|
| 397 |
+
display: none;
|
| 398 |
+
}
|
| 399 |
+
.has-margins .pricing-wrapper > li {
|
| 400 |
+
border-radius: 4px 4px 6px 6px;
|
| 401 |
+
}
|
| 402 |
+
.has-margins .pricing-wrapper > li::before {
|
| 403 |
+
display: none;
|
| 404 |
+
}
|
| 405 |
+
}
|
| 406 |
+
|
| 407 |
+
@media only screen and (min-width: 1500px) {
|
| 408 |
+
.full-width .pricing-wrapper > li {
|
| 409 |
+
padding: 2.5em 0;
|
| 410 |
+
}
|
| 411 |
+
}
|
| 412 |
+
|
| 413 |
+
.no-js .pricing-wrapper .is-hidden {
|
| 414 |
+
position: relative;
|
| 415 |
+
-webkit-transform: rotateY(0);
|
| 416 |
+
-moz-transform: rotateY(0);
|
| 417 |
+
-ms-transform: rotateY(0);
|
| 418 |
+
-o-transform: rotateY(0);
|
| 419 |
+
transform: rotateY(0);
|
| 420 |
+
margin-top: 1em;
|
| 421 |
+
}
|
| 422 |
+
|
| 423 |
+
@media only screen and (min-width: 768px) {
|
| 424 |
+
.exclusive .pricing-wrapper > li::before {
|
| 425 |
+
display: none;
|
| 426 |
+
}
|
| 427 |
+
.exclusive + li .pricing-wrapper > li::before {
|
| 428 |
+
display: none;
|
| 429 |
+
}
|
| 430 |
+
}
|
| 431 |
+
|
| 432 |
+
.pricing-header h2 {
|
| 433 |
+
padding: 0.9em 0.9em 0.6em;
|
| 434 |
+
font-weight: 400;
|
| 435 |
+
margin-bottom: 30px;
|
| 436 |
+
margin-top: 10px;
|
| 437 |
+
text-transform: uppercase;
|
| 438 |
+
text-align: center;
|
| 439 |
+
}
|
| 440 |
+
|
| 441 |
+
.pricing-header {
|
| 442 |
+
height: auto;
|
| 443 |
+
padding: 1.9em 0 1.6em;
|
| 444 |
+
pointer-events: auto;
|
| 445 |
+
text-align: center;
|
| 446 |
+
color: #173d50;
|
| 447 |
+
background-color: transparent;
|
| 448 |
+
}
|
| 449 |
+
|
| 450 |
+
.exclusive .pricing-header {
|
| 451 |
+
color: #1bbc9d;
|
| 452 |
+
background-color: transparent;
|
| 453 |
+
}
|
| 454 |
+
|
| 455 |
+
.pricing-header h2 {
|
| 456 |
+
font-size: 2.8rem;
|
| 457 |
+
letter-spacing: 2px;
|
| 458 |
+
}
|
| 459 |
+
|
| 460 |
+
.currency,
|
| 461 |
+
.value {
|
| 462 |
+
font-size: 3rem;
|
| 463 |
+
font-weight: 300;
|
| 464 |
+
}
|
| 465 |
+
|
| 466 |
+
.duration {
|
| 467 |
+
font-weight: 700;
|
| 468 |
+
font-size: 1.3rem;
|
| 469 |
+
color: #8dc8e4;
|
| 470 |
+
text-transform: uppercase;
|
| 471 |
+
}
|
| 472 |
+
|
| 473 |
+
.exclusive .duration {
|
| 474 |
+
color: #f3b6ab;
|
| 475 |
+
}
|
| 476 |
+
|
| 477 |
+
.duration::before {
|
| 478 |
+
content: "/";
|
| 479 |
+
margin-right: 2px;
|
| 480 |
+
}
|
| 481 |
+
|
| 482 |
+
.value {
|
| 483 |
+
font-size: 7rem;
|
| 484 |
+
font-weight: 300;
|
| 485 |
+
}
|
| 486 |
+
|
| 487 |
+
.currency,
|
| 488 |
+
.duration {
|
| 489 |
+
color: #1bbc9d;
|
| 490 |
+
}
|
| 491 |
+
|
| 492 |
+
.exclusive .currency,
|
| 493 |
+
.exclusive .duration {
|
| 494 |
+
color: #2d3e50;
|
| 495 |
+
}
|
| 496 |
+
|
| 497 |
+
.currency {
|
| 498 |
+
display: inline-block;
|
| 499 |
+
margin-top: 10px;
|
| 500 |
+
vertical-align: top;
|
| 501 |
+
font-size: 2rem;
|
| 502 |
+
font-weight: 700;
|
| 503 |
+
}
|
| 504 |
+
|
| 505 |
+
.duration {
|
| 506 |
+
font-size: 1.4rem;
|
| 507 |
+
}
|
| 508 |
+
|
| 509 |
+
.pricing-body {
|
| 510 |
+
overflow-x: auto;
|
| 511 |
+
-webkit-overflow-scrolling: touch;
|
| 512 |
+
}
|
| 513 |
+
|
| 514 |
+
.is-switched .pricing-body {
|
| 515 |
+
overflow: hidden;
|
| 516 |
+
}
|
| 517 |
+
|
| 518 |
+
.pricing-body {
|
| 519 |
+
overflow-x: visible;
|
| 520 |
+
}
|
| 521 |
+
|
| 522 |
+
.pricing-features {
|
| 523 |
+
width: 600px;
|
| 524 |
+
}
|
| 525 |
+
|
| 526 |
+
.pricing-features:after {
|
| 527 |
+
content: "";
|
| 528 |
+
display: table;
|
| 529 |
+
clear: both;
|
| 530 |
+
}
|
| 531 |
+
|
| 532 |
+
.pricing-features li {
|
| 533 |
+
width: 100px;
|
| 534 |
+
float: left;
|
| 535 |
+
padding: 1.6em 1em;
|
| 536 |
+
font-size: 1.5rem;
|
| 537 |
+
text-align: center;
|
| 538 |
+
white-space: nowrap;
|
| 539 |
+
overflow: hidden;
|
| 540 |
+
text-overflow: ellipsis;
|
| 541 |
+
}
|
| 542 |
+
|
| 543 |
+
.pricing-features em {
|
| 544 |
+
display: block;
|
| 545 |
+
margin-bottom: 5px;
|
| 546 |
+
font-weight: 600;
|
| 547 |
+
}
|
| 548 |
+
|
| 549 |
+
.pricing-features {
|
| 550 |
+
width: auto;
|
| 551 |
+
}
|
| 552 |
+
|
| 553 |
+
.pricing-features li {
|
| 554 |
+
float: none;
|
| 555 |
+
width: auto;
|
| 556 |
+
padding: 1em;
|
| 557 |
+
}
|
| 558 |
+
|
| 559 |
+
.exclusive .pricing-features li {
|
| 560 |
+
margin: 0 3px;
|
| 561 |
+
}
|
| 562 |
+
|
| 563 |
+
.pricing-features em {
|
| 564 |
+
display: inline-block;
|
| 565 |
+
margin-bottom: 0;
|
| 566 |
+
}
|
| 567 |
+
|
| 568 |
+
.has-margins .exclusive .pricing-features li {
|
| 569 |
+
margin: 0;
|
| 570 |
+
}
|
| 571 |
+
|
| 572 |
+
.pricing-footer {
|
| 573 |
+
position: absolute;
|
| 574 |
+
z-index: 1;
|
| 575 |
+
top: 0;
|
| 576 |
+
left: 0;
|
| 577 |
+
height: 80px;
|
| 578 |
+
width: 100%;
|
| 579 |
+
}
|
| 580 |
+
|
| 581 |
+
.pricing-footer {
|
| 582 |
+
position: relative;
|
| 583 |
+
height: auto;
|
| 584 |
+
padding: 1.8em 0;
|
| 585 |
+
text-align: center;
|
| 586 |
+
}
|
| 587 |
+
|
| 588 |
+
.pricing-footer::after {
|
| 589 |
+
display: none;
|
| 590 |
+
}
|
| 591 |
+
|
| 592 |
+
.has-margins .pricing-footer {
|
| 593 |
+
padding-bottom: 0;
|
| 594 |
+
}
|
| 595 |
+
|
| 596 |
+
.select {
|
| 597 |
+
position: relative;
|
| 598 |
+
z-index: 1;
|
| 599 |
+
display: block;
|
| 600 |
+
height: 100%;
|
| 601 |
+
overflow: hidden;
|
| 602 |
+
text-indent: 100%;
|
| 603 |
+
white-space: nowrap;
|
| 604 |
+
color: transparent;
|
| 605 |
+
}
|
| 606 |
+
|
| 607 |
+
.select {
|
| 608 |
+
position: static;
|
| 609 |
+
display: inline-block;
|
| 610 |
+
height: auto;
|
| 611 |
+
padding: 1.3em 2em;
|
| 612 |
+
color: #1bbc9d;
|
| 613 |
+
border-radius: 8px;
|
| 614 |
+
border: 2px solid #1bbc9d;
|
| 615 |
+
font-size: 1.4rem;
|
| 616 |
+
text-indent: 0;
|
| 617 |
+
text-transform: uppercase;
|
| 618 |
+
letter-spacing: 2px;
|
| 619 |
+
transition: all 0.6s;
|
| 620 |
+
width: 70%;
|
| 621 |
+
}
|
| 622 |
+
|
| 623 |
+
.no-touch .select:hover {
|
| 624 |
+
background-color: #1bbc9d;
|
| 625 |
+
color: #ffffff;
|
| 626 |
+
}
|
| 627 |
+
|
| 628 |
+
.exclusive .select {
|
| 629 |
+
background-color: #1bbc9d;
|
| 630 |
+
color: #ffffff;
|
| 631 |
+
}
|
| 632 |
+
|
| 633 |
+
.no-touch .exclusive .select:hover {
|
| 634 |
+
background-color: #24e0ba;
|
| 635 |
+
}
|
| 636 |
+
|
| 637 |
+
.secondary-theme .exclusive .select {
|
| 638 |
+
background-color: #1bbc9d;
|
| 639 |
+
}
|
| 640 |
+
|
| 641 |
+
.no-touch .secondary-theme .exclusive .select:hover {
|
| 642 |
+
background-color: #112e3c;
|
| 643 |
+
}
|
| 644 |
+
|
| 645 |
+
.has-margins .select {
|
| 646 |
+
display: block;
|
| 647 |
+
padding: 1.7em 0;
|
| 648 |
+
border-radius: 0 0 4px 4px;
|
| 649 |
+
}
|
| 650 |
+
|
| 651 |
+
@-webkit-keyframes rotate {
|
| 652 |
+
0% {
|
| 653 |
+
-webkit-transform: perspective(2000px) rotateY(0);
|
| 654 |
+
}
|
| 655 |
+
70% {
|
| 656 |
+
-webkit-transform: perspective(2000px) rotateY(200deg);
|
| 657 |
+
}
|
| 658 |
+
100% {
|
| 659 |
+
-webkit-transform: perspective(2000px) rotateY(180deg);
|
| 660 |
+
}
|
| 661 |
+
}
|
| 662 |
+
|
| 663 |
+
@-moz-keyframes rotate {
|
| 664 |
+
0% {
|
| 665 |
+
-moz-transform: perspective(2000px) rotateY(0);
|
| 666 |
+
}
|
| 667 |
+
70% {
|
| 668 |
+
-moz-transform: perspective(2000px) rotateY(200deg);
|
| 669 |
+
}
|
| 670 |
+
100% {
|
| 671 |
+
-moz-transform: perspective(2000px) rotateY(180deg);
|
| 672 |
+
}
|
| 673 |
+
}
|
| 674 |
+
|
| 675 |
+
@keyframes rotate {
|
| 676 |
+
0% {
|
| 677 |
+
-webkit-transform: perspective(2000px) rotateY(0);
|
| 678 |
+
-moz-transform: perspective(2000px) rotateY(0);
|
| 679 |
+
-ms-transform: perspective(2000px) rotateY(0);
|
| 680 |
+
-o-transform: perspective(2000px) rotateY(0);
|
| 681 |
+
transform: perspective(2000px) rotateY(0);
|
| 682 |
+
}
|
| 683 |
+
70% {
|
| 684 |
+
-webkit-transform: perspective(2000px) rotateY(200deg);
|
| 685 |
+
-moz-transform: perspective(2000px) rotateY(200deg);
|
| 686 |
+
-ms-transform: perspective(2000px) rotateY(200deg);
|
| 687 |
+
-o-transform: perspective(2000px) rotateY(200deg);
|
| 688 |
+
transform: perspective(2000px) rotateY(200deg);
|
| 689 |
+
}
|
| 690 |
+
100% {
|
| 691 |
+
-webkit-transform: perspective(2000px) rotateY(180deg);
|
| 692 |
+
-moz-transform: perspective(2000px) rotateY(180deg);
|
| 693 |
+
-ms-transform: perspective(2000px) rotateY(180deg);
|
| 694 |
+
-o-transform: perspective(2000px) rotateY(180deg);
|
| 695 |
+
transform: perspective(2000px) rotateY(180deg);
|
| 696 |
+
}
|
| 697 |
+
}
|
| 698 |
+
|
| 699 |
+
@-webkit-keyframes rotate-inverse {
|
| 700 |
+
0% {
|
| 701 |
+
-webkit-transform: perspective(2000px) rotateY(-180deg);
|
| 702 |
+
}
|
| 703 |
+
70% {
|
| 704 |
+
-webkit-transform: perspective(2000px) rotateY(20deg);
|
| 705 |
+
}
|
| 706 |
+
100% {
|
| 707 |
+
-webkit-transform: perspective(2000px) rotateY(0);
|
| 708 |
+
}
|
| 709 |
+
}
|
| 710 |
+
|
| 711 |
+
@-moz-keyframes rotate-inverse {
|
| 712 |
+
0% {
|
| 713 |
+
-moz-transform: perspective(2000px) rotateY(-180deg);
|
| 714 |
+
}
|
| 715 |
+
70% {
|
| 716 |
+
-moz-transform: perspective(2000px) rotateY(20deg);
|
| 717 |
+
}
|
| 718 |
+
100% {
|
| 719 |
+
-moz-transform: perspective(2000px) rotateY(0);
|
| 720 |
+
}
|
| 721 |
+
}
|
| 722 |
+
|
| 723 |
+
@keyframes rotate-inverse {
|
| 724 |
+
0% {
|
| 725 |
+
-webkit-transform: perspective(2000px) rotateY(-180deg);
|
| 726 |
+
-moz-transform: perspective(2000px) rotateY(-180deg);
|
| 727 |
+
-ms-transform: perspective(2000px) rotateY(-180deg);
|
| 728 |
+
-o-transform: perspective(2000px) rotateY(-180deg);
|
| 729 |
+
transform: perspective(2000px) rotateY(-180deg);
|
| 730 |
+
}
|
| 731 |
+
70% {
|
| 732 |
+
-webkit-transform: perspective(2000px) rotateY(20deg);
|
| 733 |
+
-moz-transform: perspective(2000px) rotateY(20deg);
|
| 734 |
+
-ms-transform: perspective(2000px) rotateY(20deg);
|
| 735 |
+
-o-transform: perspective(2000px) rotateY(20deg);
|
| 736 |
+
transform: perspective(2000px) rotateY(20deg);
|
| 737 |
+
}
|
| 738 |
+
100% {
|
| 739 |
+
-webkit-transform: perspective(2000px) rotateY(0);
|
| 740 |
+
-moz-transform: perspective(2000px) rotateY(0);
|
| 741 |
+
-ms-transform: perspective(2000px) rotateY(0);
|
| 742 |
+
-o-transform: perspective(2000px) rotateY(0);
|
| 743 |
+
transform: perspective(2000px) rotateY(0);
|
| 744 |
+
}
|
| 745 |
+
}
|
| 746 |
+
|
| 747 |
+
@-webkit-keyframes rotate-back {
|
| 748 |
+
0% {
|
| 749 |
+
-webkit-transform: perspective(2000px) rotateY(0);
|
| 750 |
+
}
|
| 751 |
+
70% {
|
| 752 |
+
-webkit-transform: perspective(2000px) rotateY(-200deg);
|
| 753 |
+
}
|
| 754 |
+
100% {
|
| 755 |
+
-webkit-transform: perspective(2000px) rotateY(-180deg);
|
| 756 |
+
}
|
| 757 |
+
}
|
| 758 |
+
|
| 759 |
+
@-moz-keyframes rotate-back {
|
| 760 |
+
0% {
|
| 761 |
+
-moz-transform: perspective(2000px) rotateY(0);
|
| 762 |
+
}
|
| 763 |
+
70% {
|
| 764 |
+
-moz-transform: perspective(2000px) rotateY(-200deg);
|
| 765 |
+
}
|
| 766 |
+
100% {
|
| 767 |
+
-moz-transform: perspective(2000px) rotateY(-180deg);
|
| 768 |
+
}
|
| 769 |
+
}
|
| 770 |
+
|
| 771 |
+
@keyframes rotate-back {
|
| 772 |
+
0% {
|
| 773 |
+
-webkit-transform: perspective(2000px) rotateY(0);
|
| 774 |
+
-moz-transform: perspective(2000px) rotateY(0);
|
| 775 |
+
-ms-transform: perspective(2000px) rotateY(0);
|
| 776 |
+
-o-transform: perspective(2000px) rotateY(0);
|
| 777 |
+
transform: perspective(2000px) rotateY(0);
|
| 778 |
+
}
|
| 779 |
+
70% {
|
| 780 |
+
-webkit-transform: perspective(2000px) rotateY(-200deg);
|
| 781 |
+
-moz-transform: perspective(2000px) rotateY(-200deg);
|
| 782 |
+
-ms-transform: perspective(2000px) rotateY(-200deg);
|
| 783 |
+
-o-transform: perspective(2000px) rotateY(-200deg);
|
| 784 |
+
transform: perspective(2000px) rotateY(-200deg);
|
| 785 |
+
}
|
| 786 |
+
100% {
|
| 787 |
+
-webkit-transform: perspective(2000px) rotateY(-180deg);
|
| 788 |
+
-moz-transform: perspective(2000px) rotateY(-180deg);
|
| 789 |
+
-ms-transform: perspective(2000px) rotateY(-180deg);
|
| 790 |
+
-o-transform: perspective(2000px) rotateY(-180deg);
|
| 791 |
+
transform: perspective(2000px) rotateY(-180deg);
|
| 792 |
+
}
|
| 793 |
+
}
|
| 794 |
+
|
| 795 |
+
@-webkit-keyframes rotate-inverse-back {
|
| 796 |
+
0% {
|
| 797 |
+
-webkit-transform: perspective(2000px) rotateY(180deg);
|
| 798 |
+
}
|
| 799 |
+
70% {
|
| 800 |
+
-webkit-transform: perspective(2000px) rotateY(-20deg);
|
| 801 |
+
}
|
| 802 |
+
100% {
|
| 803 |
+
-webkit-transform: perspective(2000px) rotateY(0);
|
| 804 |
+
}
|
| 805 |
+
}
|
| 806 |
+
|
| 807 |
+
@-moz-keyframes rotate-inverse-back {
|
| 808 |
+
0% {
|
| 809 |
+
-moz-transform: perspective(2000px) rotateY(180deg);
|
| 810 |
+
}
|
| 811 |
+
70% {
|
| 812 |
+
-moz-transform: perspective(2000px) rotateY(-20deg);
|
| 813 |
+
}
|
| 814 |
+
100% {
|
| 815 |
+
-moz-transform: perspective(2000px) rotateY(0);
|
| 816 |
+
}
|
| 817 |
+
}
|
| 818 |
+
|
| 819 |
+
@keyframes rotate-inverse-back {
|
| 820 |
+
0% {
|
| 821 |
+
-webkit-transform: perspective(2000px) rotateY(180deg);
|
| 822 |
+
-moz-transform: perspective(2000px) rotateY(180deg);
|
| 823 |
+
-ms-transform: perspective(2000px) rotateY(180deg);
|
| 824 |
+
-o-transform: perspective(2000px) rotateY(180deg);
|
| 825 |
+
transform: perspective(2000px) rotateY(180deg);
|
| 826 |
+
}
|
| 827 |
+
70% {
|
| 828 |
+
-webkit-transform: perspective(2000px) rotateY(-20deg);
|
| 829 |
+
-moz-transform: perspective(2000px) rotateY(-20deg);
|
| 830 |
+
-ms-transform: perspective(2000px) rotateY(-20deg);
|
| 831 |
+
-o-transform: perspective(2000px) rotateY(-20deg);
|
| 832 |
+
transform: perspective(2000px) rotateY(-20deg);
|
| 833 |
+
}
|
| 834 |
+
100% {
|
| 835 |
+
-webkit-transform: perspective(2000px) rotateY(0);
|
| 836 |
+
-moz-transform: perspective(2000px) rotateY(0);
|
| 837 |
+
-ms-transform: perspective(2000px) rotateY(0);
|
| 838 |
+
-o-transform: perspective(2000px) rotateY(0);
|
| 839 |
+
transform: perspective(2000px) rotateY(0);
|
| 840 |
+
}
|
| 841 |
+
}
|
| 842 |
+
|
| 843 |
+
.pricing-footer button {
|
| 844 |
+
background-color:#FFF;
|
| 845 |
+
}
|
| 846 |
+
</style>
|
| 847 |
+
|
| 848 |
+
|
| 849 |
+
<script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
|
| 850 |
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js" crossorigin="anonymous"></script>
|
| 851 |
+
<script src="https://checkout.freemius.com/checkout.min.js"></script>
|
| 852 |
+
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
| 853 |
+
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
| 854 |
+
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
| 855 |
+
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
| 856 |
+
})(window,document,'script','dataLayer','GTM-MJTDHVS');</script>
|
| 857 |
+
|
| 858 |
+
<script>
|
| 859 |
+
|
| 860 |
+
jQuery(document).ready(function($){
|
| 861 |
+
//hide the subtle gradient layer (.pricing-list > li::after) when pricing table has been scrolled to the end (mobile version only)
|
| 862 |
+
checkScrolling($('.pricing-body'));
|
| 863 |
+
$(window).on('resize', function(){
|
| 864 |
+
window.requestAnimationFrame(function(){checkScrolling($('.pricing-body'))});
|
| 865 |
+
});
|
| 866 |
+
$('.pricing-body').on('scroll', function(){
|
| 867 |
+
var selected = $(this);
|
| 868 |
+
window.requestAnimationFrame(function(){checkScrolling(selected)});
|
| 869 |
+
});
|
| 870 |
+
|
| 871 |
+
function checkScrolling(tables){
|
| 872 |
+
tables.each(function(){
|
| 873 |
+
var table= $(this),
|
| 874 |
+
totalTableWidth = parseInt(table.children('.pricing-features').width()),
|
| 875 |
+
tableViewport = parseInt(table.width());
|
| 876 |
+
if( table.scrollLeft() >= totalTableWidth - tableViewport -1 ) {
|
| 877 |
+
table.parent('li').addClass('is-ended');
|
| 878 |
+
} else {
|
| 879 |
+
table.parent('li').removeClass('is-ended');
|
| 880 |
+
}
|
| 881 |
+
});
|
| 882 |
+
}
|
| 883 |
+
|
| 884 |
+
//switch from monthly to annual pricing tables
|
| 885 |
+
bouncy_filter($('.pricing-container'));
|
| 886 |
+
|
| 887 |
+
function bouncy_filter(container) {
|
| 888 |
+
container.each(function(){
|
| 889 |
+
var pricing_table = $(this);
|
| 890 |
+
var filter_list_container = pricing_table.children('.pricing-switcher'),
|
| 891 |
+
filter_radios = filter_list_container.find('input[type="radio"]'),
|
| 892 |
+
pricing_table_wrapper = pricing_table.find('.pricing-wrapper');
|
| 893 |
+
|
| 894 |
+
//store pricing table items
|
| 895 |
+
var table_elements = {};
|
| 896 |
+
filter_radios.each(function(){
|
| 897 |
+
var filter_type = $(this).val();
|
| 898 |
+
table_elements[filter_type] = pricing_table_wrapper.find('li[data-type="'+filter_type+'"]');
|
| 899 |
+
});
|
| 900 |
+
|
| 901 |
+
//detect input change event
|
| 902 |
+
filter_radios.on('change', function(event){
|
| 903 |
+
event.preventDefault();
|
| 904 |
+
//detect which radio input item was checked
|
| 905 |
+
var selected_filter = $(event.target).val();
|
| 906 |
+
|
| 907 |
+
//give higher z-index to the pricing table items selected by the radio input
|
| 908 |
+
show_selected_items(table_elements[selected_filter]);
|
| 909 |
+
|
| 910 |
+
//rotate each pricing-wrapper
|
| 911 |
+
//at the end of the animation hide the not-selected pricing tables and rotate back the .pricing-wrapper
|
| 912 |
+
|
| 913 |
+
if( !Modernizr.cssanimations ) {
|
| 914 |
+
hide_not_selected_items(table_elements, selected_filter);
|
| 915 |
+
pricing_table_wrapper.removeClass('is-switched');
|
| 916 |
+
} else {
|
| 917 |
+
pricing_table_wrapper.addClass('is-switched').eq(0).one('webkitAnimationEnd oanimationend msAnimationEnd animationend', function() {
|
| 918 |
+
hide_not_selected_items(table_elements, selected_filter);
|
| 919 |
+
pricing_table_wrapper.removeClass('is-switched');
|
| 920 |
+
//change rotation direction if .pricing-list has the .bounce-invert class
|
| 921 |
+
if(pricing_table.find('.pricing-list').hasClass('bounce-invert')) pricing_table_wrapper.toggleClass('reverse-animation');
|
| 922 |
+
});
|
| 923 |
+
}
|
| 924 |
+
});
|
| 925 |
+
});
|
| 926 |
+
}
|
| 927 |
+
function show_selected_items(selected_elements) {
|
| 928 |
+
selected_elements.addClass('is-selected');
|
| 929 |
+
}
|
| 930 |
+
|
| 931 |
+
function hide_not_selected_items(table_containers, filter) {
|
| 932 |
+
$.each(table_containers, function(key, value){
|
| 933 |
+
if ( key != filter ) {
|
| 934 |
+
$(this).removeClass('is-visible is-selected').addClass('is-hidden');
|
| 935 |
+
|
| 936 |
+
} else {
|
| 937 |
+
$(this).addClass('is-visible').removeClass('is-hidden is-selected');
|
| 938 |
+
}
|
| 939 |
+
});
|
| 940 |
+
}
|
| 941 |
+
|
| 942 |
+
|
| 943 |
+
});
|
| 944 |
+
|
| 945 |
+
|
| 946 |
+
function buy_now(selected_plan_id, selected_billing_cycle, licenses) {
|
| 947 |
+
|
| 948 |
+
var handler = FS.Checkout.configure({
|
| 949 |
+
|
| 950 |
+
plugin_id: '5930',
|
| 951 |
+
plan_id: selected_plan_id,
|
| 952 |
+
public_key: 'pk_4c854593bf607fd795264061bbf57',
|
| 953 |
+
image: 'https://newuserapprove.com/wp-content/uploads/2020/09/cropped-new-user-logo_2c24dec67c275b6b862d7d7e1eb472e3.png',
|
| 954 |
+
billing_cycle: selected_billing_cycle
|
| 955 |
+
|
| 956 |
+
});
|
| 957 |
+
|
| 958 |
+
var productName = 'New User Approve | Plugin';
|
| 959 |
+
var plugin_id= '5930';
|
| 960 |
+
var plan_id= selected_plan_id;
|
| 961 |
+
var public_key= 'pk_4c854593bf607fd795264061bbf57';
|
| 962 |
+
var image= 'https://newuserapprove.com/wp-content/uploads/2020/09/cropped-new-user-logo_2c24dec67c275b6b862d7d7e1eb472e3.png';
|
| 963 |
+
var billing_cycle= selected_billing_cycle;
|
| 964 |
+
handler.open({
|
| 965 |
+
|
| 966 |
+
name : productName,
|
| 967 |
+
//licenses : licenses,
|
| 968 |
+
purchaseCompleted : function (response) {
|
| 969 |
+
// The logic here will be executed immediately after the purchase confirmation.
|
| 970 |
+
// alert(response.user.email);
|
| 971 |
+
var trial = response.purchase.trial_ends !== null,
|
| 972 |
+
total = trial ? 0 : response.purchase.initial_amount.toString(),
|
| 973 |
+
storeUrl = window.location.href,
|
| 974 |
+
storeName = 'New User Approve';
|
| 975 |
+
|
| 976 |
+
var dataLayer = window.dataLayer || [];
|
| 977 |
+
var test = dataLayer.push({
|
| 978 |
+
'event': 'transaction',
|
| 979 |
+
'ecommerce': {
|
| 980 |
+
'purchase': {
|
| 981 |
+
'actionField': {
|
| 982 |
+
'id': response.purchase.id.toString(), // Transaction ID. Required
|
| 983 |
+
'revenue': total, // Total transaction value (incl. tax and shipping)
|
| 984 |
+
'tax': 0,
|
| 985 |
+
'shipping': 0,
|
| 986 |
+
'license': licenses,
|
| 987 |
+
'plugin_name': productName,
|
| 988 |
+
'plugin_id': plugin_id,
|
| 989 |
+
'plan_id': plan_id,
|
| 990 |
+
'url': storeUrl,
|
| 991 |
+
},
|
| 992 |
+
'products': [
|
| 993 |
+
{
|
| 994 |
+
'name': productName, // Name or ID is required.
|
| 995 |
+
'id': plugin_id,
|
| 996 |
+
'price': total,
|
| 997 |
+
'category': 'Plugin',
|
| 998 |
+
'quantity': '1',
|
| 999 |
+
}
|
| 1000 |
+
]
|
| 1001 |
+
}
|
| 1002 |
+
}
|
| 1003 |
+
});
|
| 1004 |
+
},
|
| 1005 |
+
success : function (response) {
|
| 1006 |
+
|
| 1007 |
+
|
| 1008 |
+
}
|
| 1009 |
+
|
| 1010 |
+
});
|
| 1011 |
+
|
| 1012 |
+
}
|
| 1013 |
+
|
| 1014 |
+
</script>
|
| 1015 |
+
|
| 1016 |
+
<div class="pricing-container">
|
| 1017 |
+
<div class="pricing-switcher">
|
| 1018 |
+
<p class="fieldset">
|
| 1019 |
+
<input type="radio" name="duration-1" value="annually" id="annually-1" checked>
|
| 1020 |
+
<label for="annually-1">Annually</label>
|
| 1021 |
+
<input type="radio" name="duration-1" value="lifetime" id="lifetime-1">
|
| 1022 |
+
<label for="lifetime-1">Lifetime</label>
|
| 1023 |
+
<span class="switch"></span>
|
| 1024 |
+
</p>
|
| 1025 |
+
</div>
|
| 1026 |
+
<ul class="pricing-list bounce-invert">
|
| 1027 |
+
<li>
|
| 1028 |
+
<ul class="pricing-wrapper">
|
| 1029 |
+
<li data-type="annually" class="is-visible">
|
| 1030 |
+
<header class="pricing-header">
|
| 1031 |
+
<h2>1 SITE PLAN</h2>
|
| 1032 |
+
<div class="price">
|
| 1033 |
+
<span class="currency">$</span>
|
| 1034 |
+
<span class="value">39</span>
|
| 1035 |
+
<span class="duration">Anually</span>
|
| 1036 |
+
</div>
|
| 1037 |
+
</header>
|
| 1038 |
+
<div class="pricing-body">
|
| 1039 |
+
<ul class="pricing-features">
|
| 1040 |
+
<li>Regular Plugin Updates</li>
|
| 1041 |
+
<li>Unlimited Support</li>
|
| 1042 |
+
<li>All Core Features Included</li>
|
| 1043 |
+
<li>Premium Customization Features</li>
|
| 1044 |
+
<li>Auto-Renew Subscription</li>
|
| 1045 |
+
</ul>
|
| 1046 |
+
</div>
|
| 1047 |
+
<footer class="pricing-footer">
|
| 1048 |
+
<button onclick="buy_now(11181, 'annual', 1);" class="select">Buy Now</button>
|
| 1049 |
+
</footer>
|
| 1050 |
+
</li>
|
| 1051 |
+
<li data-type="lifetime" class="is-hidden">
|
| 1052 |
+
<header class="pricing-header">
|
| 1053 |
+
<h2>1 SITE PLAN</h2>
|
| 1054 |
+
<div class="price">
|
| 1055 |
+
<span class="currency">$</span>
|
| 1056 |
+
<span class="value">99</span>
|
| 1057 |
+
<span class="duration">one-time</span>
|
| 1058 |
+
</div>
|
| 1059 |
+
</header>
|
| 1060 |
+
<div class="pricing-body">
|
| 1061 |
+
<ul class="pricing-features">
|
| 1062 |
+
<li>Regular Plugin Updates</li>
|
| 1063 |
+
<li>Unlimited Support</li>
|
| 1064 |
+
<li>All Core Features Included</li>
|
| 1065 |
+
<li>Premium Customization Features</li>
|
| 1066 |
+
<li>Auto-Renew Subscription</li>
|
| 1067 |
+
</ul>
|
| 1068 |
+
</div>
|
| 1069 |
+
<footer class="pricing-footer">
|
| 1070 |
+
<button onclick="buy_now(12533, 'lifetime', 1);" class="select">Buy Now</button>
|
| 1071 |
+
</footer>
|
| 1072 |
+
</li>
|
| 1073 |
+
</ul>
|
| 1074 |
+
</li>
|
| 1075 |
+
<li class="exclusive">
|
| 1076 |
+
<ul class="pricing-wrapper">
|
| 1077 |
+
<li data-type="annually" class="is-visible">
|
| 1078 |
+
<header class="pricing-header">
|
| 1079 |
+
<h2>5 SITES PLAN</h2>
|
| 1080 |
+
<div class="price">
|
| 1081 |
+
<span class="currency">$</span>
|
| 1082 |
+
<span class="value">99</span>
|
| 1083 |
+
<span class="duration">Anually</span>
|
| 1084 |
+
</div>
|
| 1085 |
+
</header>
|
| 1086 |
+
<div class="pricing-body">
|
| 1087 |
+
<ul class="pricing-features">
|
| 1088 |
+
<li>Regular Plugin Updates</li>
|
| 1089 |
+
<li>Unlimited Support</li>
|
| 1090 |
+
<li>All Core Features Included</li>
|
| 1091 |
+
<li>Premium Customization Features</li>
|
| 1092 |
+
<li>Auto-Renew Subscription</li>
|
| 1093 |
+
</ul>
|
| 1094 |
+
</div>
|
| 1095 |
+
<footer class="pricing-footer">
|
| 1096 |
+
<button onclick="buy_now(11182, 'annual', 5);" class="select">Buy Now</button>
|
| 1097 |
+
</footer>
|
| 1098 |
+
</li>
|
| 1099 |
+
<li data-type="lifetime" class="is-hidden">
|
| 1100 |
+
<header class="pricing-header">
|
| 1101 |
+
<h2>5 SITES PLAN</h2>
|
| 1102 |
+
<div class="price">
|
| 1103 |
+
<span class="currency">$</span>
|
| 1104 |
+
<span class="value">249</span>
|
| 1105 |
+
<span class="duration">one-time</span>
|
| 1106 |
+
</div>
|
| 1107 |
+
</header>
|
| 1108 |
+
<div class="pricing-body">
|
| 1109 |
+
<ul class="pricing-features">
|
| 1110 |
+
<li>Regular Plugin Updates</li>
|
| 1111 |
+
<li>Unlimited Support</li>
|
| 1112 |
+
<li>All Core Features Included</li>
|
| 1113 |
+
<li>Premium Customization Features</li>
|
| 1114 |
+
<li>Auto-Renew Subscription</li>
|
| 1115 |
+
</ul>
|
| 1116 |
+
</div>
|
| 1117 |
+
<footer class="pricing-footer">
|
| 1118 |
+
<button onclick="buy_now(12534, 'lifetime', 5);" class="select">Buy Now</button>
|
| 1119 |
+
</footer>
|
| 1120 |
+
</li>
|
| 1121 |
+
</ul>
|
| 1122 |
+
</li>
|
| 1123 |
+
<li>
|
| 1124 |
+
<ul class="pricing-wrapper">
|
| 1125 |
+
<li data-type="annually" class="is-visible">
|
| 1126 |
+
<header class="pricing-header">
|
| 1127 |
+
<h2>30 SITES PLAN</h2>
|
| 1128 |
+
<div class="price">
|
| 1129 |
+
<span class="currency">$</span>
|
| 1130 |
+
<span class="value">199</span>
|
| 1131 |
+
<span class="duration">Annualy</span>
|
| 1132 |
+
</div>
|
| 1133 |
+
</header>
|
| 1134 |
+
<div class="pricing-body">
|
| 1135 |
+
<ul class="pricing-features">
|
| 1136 |
+
<li>Regular Plugin Updates</li>
|
| 1137 |
+
<li>Unlimited Support</li>
|
| 1138 |
+
<li>All Core Features Included</li>
|
| 1139 |
+
<li>Premium Customization Features</li>
|
| 1140 |
+
<li>Auto-Renew Subscription</li>
|
| 1141 |
+
</ul>
|
| 1142 |
+
</div>
|
| 1143 |
+
<footer class="pricing-footer">
|
| 1144 |
+
<button onclick="buy_now(11183, 'annual', 30);" class="select">Buy Now</button>
|
| 1145 |
+
</footer>
|
| 1146 |
+
</li>
|
| 1147 |
+
<li data-type="lifetime" class="is-hidden">
|
| 1148 |
+
<header class="pricing-header">
|
| 1149 |
+
<h2>30 SITES PLAN</h2>
|
| 1150 |
+
<div class="price">
|
| 1151 |
+
<span class="currency">$</span>
|
| 1152 |
+
<span class="value">599</span>
|
| 1153 |
+
<span class="duration">one-time</span>
|
| 1154 |
+
</div>
|
| 1155 |
+
</header>
|
| 1156 |
+
<div class="pricing-body">
|
| 1157 |
+
<ul class="pricing-features">
|
| 1158 |
+
<li>Regular Plugin Updates</li>
|
| 1159 |
+
<li>Unlimited Support</li>
|
| 1160 |
+
<li>All Core Features Included</li>
|
| 1161 |
+
<li>Premium Customization Features</li>
|
| 1162 |
+
<li>Auto-Renew Subscription</li>
|
| 1163 |
+
</ul>
|
| 1164 |
+
</div>
|
| 1165 |
+
<footer class="pricing-footer">
|
| 1166 |
+
<button onclick="buy_now(12535, 'lifetime', 30);" class="select">Buy Now</button>
|
| 1167 |
+
</footer>
|
| 1168 |
+
</li>
|
| 1169 |
+
</ul>
|
| 1170 |
+
</li>
|
| 1171 |
+
</ul>
|
| 1172 |
+
</div>
|
includes/admin-approve.php
CHANGED
|
@@ -8,6 +8,7 @@
|
|
| 8 |
class pw_new_user_approve_admin_approve {
|
| 9 |
|
| 10 |
var $_admin_page = 'new-user-approve-admin';
|
|
|
|
| 11 |
|
| 12 |
/**
|
| 13 |
* The only instance of pw_new_user_approve_admin_approve.
|
|
@@ -48,11 +49,18 @@ class pw_new_user_approve_admin_approve {
|
|
| 48 |
if ( $show_admin_page ) {
|
| 49 |
$cap = apply_filters( 'new_user_approve_minimum_cap', 'edit_users' );
|
| 50 |
$hook = add_users_page( __( 'Approve New Users', 'new-user-approve' ), __( 'Approve New Users', 'new-user-approve' ), $cap, $this->_admin_page, array( $this, 'approve_admin' ) );
|
| 51 |
-
|
| 52 |
add_action( 'load-' . $hook, array( $this, 'admin_enqueue_scripts' ) );
|
| 53 |
}
|
| 54 |
}
|
| 55 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
/**
|
| 57 |
* Create the view for the admin interface
|
| 58 |
*/
|
| 8 |
class pw_new_user_approve_admin_approve {
|
| 9 |
|
| 10 |
var $_admin_page = 'new-user-approve-admin';
|
| 11 |
+
var $_admin_upgrade_page = 'new-user-approve-upgrade';
|
| 12 |
|
| 13 |
/**
|
| 14 |
* The only instance of pw_new_user_approve_admin_approve.
|
| 49 |
if ( $show_admin_page ) {
|
| 50 |
$cap = apply_filters( 'new_user_approve_minimum_cap', 'edit_users' );
|
| 51 |
$hook = add_users_page( __( 'Approve New Users', 'new-user-approve' ), __( 'Approve New Users', 'new-user-approve' ), $cap, $this->_admin_page, array( $this, 'approve_admin' ) );
|
| 52 |
+
add_users_page( __( 'Upgrade', 'new-user-approve' ), ' '.__( 'Upgrade', 'new-user-approve' ), $cap, $this->_admin_upgrade_page, array( $this, 'new_user_approve_upgrade' ) );
|
| 53 |
add_action( 'load-' . $hook, array( $this, 'admin_enqueue_scripts' ) );
|
| 54 |
}
|
| 55 |
}
|
| 56 |
|
| 57 |
+
/**
|
| 58 |
+
* Create the upgrade to premium page
|
| 59 |
+
*/
|
| 60 |
+
public function new_user_approve_upgrade() {
|
| 61 |
+
require_once( pw_new_user_approve()->get_plugin_dir() . '/admin/templates/upgrade.php' );
|
| 62 |
+
}
|
| 63 |
+
|
| 64 |
/**
|
| 65 |
* Create the view for the admin interface
|
| 66 |
*/
|
new-user-approve.php
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
Plugin URI: http://newuserapprove.com/
|
| 6 |
Description: Allow administrators to approve users once they register. Only approved users will be allowed to access the site. For support, please go to the <a href="http://wordpress.org/support/plugin/new-user-approve">support forums</a> on wordpress.org.
|
| 7 |
Author: NewUserApprove
|
| 8 |
-
Version: 1.8.
|
| 9 |
Author URI: https://newuserapprove.com/
|
| 10 |
Text Domain: new-user-approve
|
| 11 |
*/
|
|
@@ -28,14 +28,7 @@ if ( !function_exists( 'nua_fs' ) ) {
|
|
| 28 |
'premium_suffix' => 'Premium',
|
| 29 |
'has_addons' => false,
|
| 30 |
'has_paid_plans' => true,
|
| 31 |
-
|
| 32 |
-
'slug' => 'new-user-approve-admin',
|
| 33 |
-
'contact' => false,
|
| 34 |
-
'support' => false,
|
| 35 |
-
'parent' => array(
|
| 36 |
-
'slug' => 'users.php',
|
| 37 |
-
),
|
| 38 |
-
),
|
| 39 |
'is_live' => true,
|
| 40 |
) );
|
| 41 |
}
|
| 5 |
Plugin URI: http://newuserapprove.com/
|
| 6 |
Description: Allow administrators to approve users once they register. Only approved users will be allowed to access the site. For support, please go to the <a href="http://wordpress.org/support/plugin/new-user-approve">support forums</a> on wordpress.org.
|
| 7 |
Author: NewUserApprove
|
| 8 |
+
Version: 1.8.6
|
| 9 |
Author URI: https://newuserapprove.com/
|
| 10 |
Text Domain: new-user-approve
|
| 11 |
*/
|
| 28 |
'premium_suffix' => 'Premium',
|
| 29 |
'has_addons' => false,
|
| 30 |
'has_paid_plans' => true,
|
| 31 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
'is_live' => true,
|
| 33 |
) );
|
| 34 |
}
|
readme.txt
CHANGED
|
@@ -3,8 +3,8 @@ Contributors: wpexpertsio
|
|
| 3 |
Donate link: https://newuserapprove.com
|
| 4 |
Tags: users, registration, sign up, user management, login, user approval
|
| 5 |
Requires at least: 4.0
|
| 6 |
-
Tested up to: 5.6
|
| 7 |
-
Stable tag: 1.8.
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
|
@@ -93,6 +93,9 @@ We are aware of a few issues with multisite
|
|
| 93 |
|
| 94 |
== Changelog ==
|
| 95 |
|
|
|
|
|
|
|
|
|
|
| 96 |
= 1.8.5 =
|
| 97 |
* Added: Support for reCaptcha on default Login and Registration page.
|
| 98 |
|
| 3 |
Donate link: https://newuserapprove.com
|
| 4 |
Tags: users, registration, sign up, user management, login, user approval
|
| 5 |
Requires at least: 4.0
|
| 6 |
+
Tested up to: 5.6.1
|
| 7 |
+
Stable tag: 1.8.6
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
| 93 |
|
| 94 |
== Changelog ==
|
| 95 |
|
| 96 |
+
= 1.8.6 =
|
| 97 |
+
* Code optimization.
|
| 98 |
+
|
| 99 |
= 1.8.5 =
|
| 100 |
* Added: Support for reCaptcha on default Login and Registration page.
|
| 101 |
|
