Ultimate Posts Widget - Version 2.2.0

Version Description

  • Tested up to WordPress 5.7.1
  • Added support for PHP 8
  • Updated banner
Download this release

Release Info

Developer upwsupport
Plugin Icon wp plugin Ultimate Posts Widget
Version 2.2.0
Comparing to
See all releases

Code changes from version 2.1.6 to 2.2.0

Files changed (69) hide show
  1. banner/assets/index.min.js +230 -0
  2. banner/assets/style.min.css +137 -0
  3. banner/misc.php +370 -0
  4. banner/views/index.php +163 -0
  5. banner/views/projects/bmi/imgs/background-images.png +0 -0
  6. banner/views/projects/bmi/imgs/background-texture-grey.png +0 -0
  7. banner/views/projects/bmi/imgs/big-colored-logo.png +0 -0
  8. banner/views/projects/bmi/imgs/colored-logo.svg +4 -0
  9. banner/views/projects/bmi/imgs/white-logo.svg +4 -0
  10. banner/views/projects/bmi/install.php +32 -0
  11. banner/views/projects/bmi/installed.php +23 -0
  12. banner/views/projects/bmi/upgrade.php +48 -0
  13. banner/views/projects/cdp/imgs/background-texture-grey.png +0 -0
  14. banner/views/projects/cdp/imgs/big-colored-logo.png +0 -0
  15. banner/views/projects/cdp/imgs/colored-logo.svg +10 -0
  16. banner/views/projects/cdp/imgs/main-background-image.png +0 -0
  17. banner/views/projects/cdp/imgs/secondary-background-image.svg +3 -0
  18. banner/views/projects/cdp/imgs/white-logo.svg +11 -0
  19. banner/views/projects/cdp/install.php +32 -0
  20. banner/views/projects/cdp/installed.php +23 -0
  21. banner/views/projects/cdp/upgrade.php +37 -0
  22. banner/views/projects/fit/imgs/background-bottom-left.svg +3 -0
  23. banner/views/projects/fit/imgs/background-bottom-right.svg +3 -0
  24. banner/views/projects/fit/imgs/background-top-left.svg +3 -0
  25. banner/views/projects/fit/imgs/background-top-right.svg +3 -0
  26. banner/views/projects/fit/imgs/big-colored-logo.png +0 -0
  27. banner/views/projects/fit/imgs/colored-logo.svg +3 -0
  28. banner/views/projects/fit/imgs/face1.png +0 -0
  29. banner/views/projects/fit/imgs/face2.png +0 -0
  30. banner/views/projects/fit/imgs/face3.png +0 -0
  31. banner/views/projects/fit/imgs/face4.png +0 -0
  32. banner/views/projects/fit/imgs/white-logo.svg +3 -0
  33. banner/views/projects/fit/install.php +37 -0
  34. banner/views/projects/mpu/imgs/background-images.png +0 -0
  35. banner/views/projects/mpu/imgs/background-texture-green.png +0 -0
  36. banner/views/projects/mpu/imgs/background-texture-grey.png +0 -0
  37. banner/views/projects/mpu/imgs/big-colored-logo.png +0 -0
  38. banner/views/projects/mpu/imgs/colored-logo.svg +9 -0
  39. banner/views/projects/mpu/imgs/white-logo.svg +3 -0
  40. banner/views/projects/mpu/install.php +29 -0
  41. banner/views/projects/mpu/installed.php +23 -0
  42. banner/views/projects/twp/imgs/background-image-1.svg +3 -0
  43. banner/views/projects/twp/imgs/background-image-2.svg +3 -0
  44. banner/views/projects/twp/imgs/background-image-3.svg +3 -0
  45. banner/views/projects/twp/imgs/big-colored-logo.png +0 -0
  46. banner/views/projects/twp/imgs/colored-logo.svg +19 -0
  47. banner/views/projects/twp/imgs/white-logo.svg +19 -0
  48. banner/views/projects/twp/install.php +27 -0
  49. banner/views/projects/usm/imgs/background-icons.png +0 -0
  50. banner/views/projects/usm/imgs/background-image.png +0 -0
  51. banner/views/projects/usm/imgs/big-colored-logo.png +0 -0
  52. banner/views/projects/usm/imgs/colored-logo.svg +10 -0
  53. banner/views/projects/usm/imgs/play-icon.png +0 -0
  54. banner/views/projects/usm/imgs/ribbon-icon.png +0 -0
  55. banner/views/projects/usm/imgs/video-background.png +0 -0
  56. banner/views/projects/usm/imgs/white-logo.svg +3 -0
  57. banner/views/projects/usm/install.php +29 -0
  58. banner/views/projects/usm/installed.php +28 -0
  59. banner/views/projects/usm/part-install.php +13 -0
  60. banner/views/projects/usm/part-upgrade.php +23 -0
  61. banner/views/projects/usm/upgrade.php +55 -0
  62. banner/views/static/imgs/already-installed.svg +3 -0
  63. banner/views/static/imgs/check-icon.svg +3 -0
  64. banner/views/static/imgs/clock-icon.svg +4 -0
  65. banner/views/static/imgs/rating.svg +7 -0
  66. banner/views/static/imgs/white-arrow-right.svg +3 -0
  67. banner/views/static/tabs.php +54 -0
  68. readme.txt +15 -5
  69. ultimate-posts-widget.php +70 -129
banner/assets/index.min.js ADDED
@@ -0,0 +1,230 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Always close the code, cause you can make conflicts (same for css use prefixes)
2
+ (function () {
3
+
4
+ let projects = []
5
+ let active = {
6
+ name: null,
7
+ trigger: null,
8
+ element: null
9
+ }
10
+ let activeState = null
11
+ let projectChangeInterval = null
12
+ let carouselElement = null
13
+ let showNextProjectAfterMs = 10000
14
+ let isInstalling = false
15
+
16
+ // Front
17
+ const initializeProjects = () => {
18
+ const triggers = document.querySelectorAll('.ci-project-list-element')
19
+ const elements = document.querySelectorAll('.ci-project')
20
+ projects = Array.from(triggers).map((i, index) => ({
21
+ trigger: i,
22
+ element: elements[index],
23
+ name: i.id.replace('-trigger', '')
24
+ }))
25
+ }
26
+ const isInViewport = el => {
27
+ const rect = el.getBoundingClientRect()
28
+ return (
29
+ rect.top >= 0 &&
30
+ rect.left >= 0 &&
31
+ rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) &&
32
+ rect.right <= (window.innerWidth || document.documentElement.clientWidth)
33
+ )
34
+ }
35
+ const hoverOnProjectTrigger = i => {
36
+ if (i.classList.contains('ci-selected-project')) {
37
+ disableAutomaticProjectChange()
38
+ } else {
39
+ selectProject(i)
40
+ }
41
+ }
42
+ const selectProject = i => {
43
+ disableAutomaticProjectChange()
44
+ showProject(i)
45
+ automaticProjectChange()
46
+ }
47
+ const showProject = i => {
48
+ if (active.name) {
49
+ document.querySelector('.ci-project-content').classList.remove(`ci-${active.name}-visible`)
50
+ }
51
+ active.name = i.id.replace('-trigger', '')
52
+ document.querySelector('.ci-project-content').classList.add(`ci-${active.name}-visible`)
53
+ if (active.trigger) {
54
+ active.trigger.classList.remove('ci-selected-project')
55
+ }
56
+ active.trigger = i
57
+ active.trigger.classList.add('ci-selected-project')
58
+ active.element = document.querySelector(`.ci-project-${active.name}`)
59
+ }
60
+ const automaticProjectChange = () => {
61
+ if (!projectChangeInterval) {
62
+ projectChangeInterval = setInterval(() => {
63
+ const activeIndex = projects.findIndex(i => i.name === active.name)
64
+ const nextIndex = activeIndex === projects.length - 1 ? 0 : activeIndex + 1
65
+ showProject(projects[nextIndex].trigger)
66
+ }, showNextProjectAfterMs)
67
+ }
68
+ }
69
+ const disableAutomaticProjectChange = () => {
70
+ clearInterval(projectChangeInterval)
71
+ projectChangeInterval = null
72
+ }
73
+ const isCarouselVisible = () => {
74
+ const inViewport = isInViewport(carouselElement)
75
+ if (!projectChangeInterval && inViewport) {
76
+ automaticProjectChange()
77
+ } else if (projectChangeInterval && !inViewport) {
78
+ disableAutomaticProjectChange()
79
+ }
80
+ }
81
+
82
+ // Backend communication setup
83
+ const handleInstallClick = (e) => {
84
+ e.preventDefault();
85
+
86
+ const el = e.target;
87
+ const slug = el.dataset.slug;
88
+ const prev = el.innerText;
89
+
90
+ if (isInstalling === true) return;
91
+ isInstalling = true;
92
+
93
+ el.innerText = 'Installing, please wait...';
94
+ el.classList.add('ci-inisev-prepare');
95
+
96
+ clearInterval(projectChangeInterval);
97
+ setTimeout(() => {
98
+ el.classList.add('ci-inisev-install');
99
+ let xhr = new XMLHttpRequest();
100
+ xhr.open('POST', ajaxurl, true);
101
+ xhr.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');
102
+ xhr.onload = () => {
103
+ automaticProjectChange();
104
+ if (xhr.status === 200 || xhr.status < 400) {
105
+ try {
106
+ let backupSuccess = false;
107
+ let res = xhr.responseText;
108
+ if (isJsonString(res)) res = jsonParse(res);
109
+ if (typeof res == 'string') backupSuccess = true;
110
+ if ((typeof res.success != 'undefined' && res.success === true) || backupSuccess == true) {
111
+ el.classList.remove('ci-inisev-install');
112
+ el.innerText = 'Plugin installed successfully :)'
113
+ setTimeout(() => {
114
+ if (backupSuccess == true) window.location.reload();
115
+ else window.location.href = res.data.url;
116
+ }, 300);
117
+ } else installationFailed(el, prev);
118
+ } catch (e) { installationFailed(el, prev); }
119
+ } else installationFailed(el, prev);
120
+ }
121
+ xhr.send('action=inisev_installation_widget&slug=' + slug);
122
+ }, 1000);
123
+ }
124
+ const installationFailed = (el, prev) => {
125
+ el.innerText = 'Installation failed...';
126
+ setTimeout(() => {
127
+ el.classList.remove('ci-inisev-install');
128
+ setTimeout(() => {
129
+ el.classList.remove('ci-inisev-prepare');
130
+ el.innerText = prev;
131
+ isInstalling = false;
132
+ });
133
+ }, 2000);
134
+ }
135
+ const applyEventListenerForInstall = (btn) => {
136
+ if (btn) btn.addEventListener('click', handleInstallClick);
137
+ }
138
+ const makeButtonsInteractive = () => {
139
+ const btns = document.getElementsByClassName('ci-inisev-install-plugin');
140
+ for (let i = 0; i < btns.length; ++i) {
141
+ applyEventListenerForInstall(btns[i]);
142
+ }
143
+ }
144
+ const isJsonString = (str) => {
145
+ try { JSON.parse(str); }
146
+ catch (e) {
147
+ if (typeof str === 'string') {
148
+ let reversed = reverseJsonString(str);
149
+ let lastcorrect = reversed.indexOf('}');
150
+ if (lastcorrect == 0) lastcorrect = str.length;
151
+ else lastcorrect = -lastcorrect;
152
+
153
+ str = str.slice(str.indexOf('{'), lastcorrect);
154
+
155
+ try {
156
+ JSON.parse(str);
157
+ } catch (e) {
158
+ return false;
159
+ }
160
+ return true;
161
+ } else return false;
162
+ }
163
+ return true;
164
+ }
165
+ const reverseJsonString = (str) => {
166
+ if (typeof str === 'string')
167
+ return (str === '') ? '' : reverseJsonString(str.substr(1)) + str.charAt(0);
168
+ else
169
+ return str;
170
+ }
171
+ const jsonParse = (str) => {
172
+ try { JSON.parse(str); }
173
+ catch (e) {
174
+ if (typeof str === 'string') {
175
+ let reversed = reverseJsonString(str);
176
+ let lastcorrect = reversed.indexOf('}');
177
+ if (lastcorrect == 0) lastcorrect = str.length;
178
+ else lastcorrect = -lastcorrect;
179
+ str = str.slice(str.indexOf('{'), lastcorrect);
180
+ try {
181
+ JSON.parse(str);
182
+ } catch (e) {
183
+ return false;
184
+ }
185
+ return JSON.parse(str);
186
+ } else return false;
187
+ }
188
+ return JSON.parse(str);
189
+ }
190
+
191
+ document.addEventListener("DOMContentLoaded", () => {
192
+ initializeProjects();
193
+ showProject(document.querySelector('#BackupMigration-trigger'));
194
+ document.querySelectorAll('.ci-project-list-element').forEach(i => {
195
+ i.addEventListener('mouseover', e => hoverOnProjectTrigger(i))
196
+ i.addEventListener('mouseout', automaticProjectChange)
197
+ });
198
+ carouselElement = document.querySelector('.ci-carrinis .ci-carousel');
199
+ document.addEventListener('scroll', isCarouselVisible);
200
+ document.querySelectorAll('.ci-carrinis .ci-project').forEach(i => {
201
+ i.addEventListener('mouseover', disableAutomaticProjectChange)
202
+ i.addEventListener('mouseout', automaticProjectChange)
203
+ });
204
+
205
+ // Backend communication initialization
206
+ makeButtonsInteractive();
207
+ });
208
+
209
+ })();
210
+
211
+ (function ($) {
212
+
213
+ function closeCarousel () {
214
+
215
+ let sub = $(this).parents('.etw-carousel-ad-wrapper');
216
+ sub.fadeOut(300, 'swing', function () {
217
+ $('body').find('#wpbody').toggleClass('z-index-9991');
218
+ });
219
+
220
+ }
221
+ $('body').on('click', '.etw-carousel-ad-close-element', closeCarousel);
222
+
223
+ $('body').on('click', '.etw-carousel-ad-trigger', function () {
224
+
225
+ $('body').find('#wpbody').toggleClass('z-index-9991');
226
+ $($('body').find('.etw-carousel-ad-wrapper').get(0)).fadeIn(300);
227
+
228
+ });
229
+
230
+ })(jQuery);
banner/assets/style.min.css ADDED
@@ -0,0 +1,137 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @import url(https://fonts.googleapis.com/css2?family=Dancing+Script:wght@500&family=Montserrat:wght@300;400;500;600;700&display=swap);.ci-carrinis{margin-bottom:200px}.ci-carrinis-wrapper{display:-webkit-inline-flex;display:-ms-inline-flex;display:inline-flex;width:100%;justify-content:center}.ci-carrinis *{font-family:Montserrat;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}.ci-carrinis .ci-project-SocialShare a{color:#f9c100}.ci-fancy-signature{z-index:3}.ci-fancy-signature,.ci-fancy-signature *{font-family:'Dancing Script',cursive;font-size:19.6659px;line-height:40px;font-weight:400}.ci-green-text{color:#12a252!important}.ci-carrinis a{color:#6bb4a7;text-decoration:none}.ci-carrinis ul{list-style:none;margin:0;padding-left:30px}.ci-carrinis ul li{position:relative}.ci-carrinis ul li:not(.ci-no-checkmark):before{content:"";display:block;position:absolute}.ci-carrinis ul.ci-checkmark-list li:not(.ci-no-checkmark):before{width:19px;height:20px;background-image:url(../views/static/imgs/check-icon.svg)}.ci-carrinis ul.ci-checkmark-list-type-1{color:#252529;font-weight:500;font-size:17.306px;line-height:28px}.ci-carrinis ul.ci-checkmark-list-type-1 li{margin-top:5px}.ci-carrinis ul.ci-checkmark-list-type-1 li b{font-weight:800}.ci-carrinis ul.ci-checkmark-list-type-1 li::before{left:-25px;top:5px}.ci-carrinis ul.ci-checkmark-list-type-2,.ci-carrinis ul.ci-timer-list{padding-left:32.78px}.ci-carrinis ul.ci-checkmark-list-type-2 li:not(.ci-fancy-signature),.ci-carrinis ul.ci-timer-list li:not(.ci-fancy-signature){font-weight:400;font-size:13.3728px;line-height:16px}.ci-carrinis ul.ci-checkmark-list-type-2 li::before{left:-30px;top:-2px}.ci-carrinis ul.ci-checkmark-list-type-2 li:not(:first-child),.ci-carrinis ul.ci-timer-list li:not(:first-child):not(.ci-fancy-signature){margin-top:18.5px}.ci-carrinis ul.ci-timer-list li:not(.ci-no-clock):before{width:18px;height:18px;background-image:url(../views/static/imgs/clock-icon.svg)}.ci-carrinis ul.ci-timer-list li:not(.ci-no-clock):before{left:-30px;top:0}.ci-carrinis ul.ci-timer-list li.ci-fancy-signature{margin-top:8px}.ci-carrinis a:hover{text-decoration:underline}.ci-carrinis{display:-ms-inline-flex;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%}.ci-carrinis h1{margin:5px 0 0 0;font-size:20px;line-height:25px;font-weight:700;text-align:center}.ci-carrinis h1:nth-child(2){font-weight:300}.ci-carrinis .ci-carousel{margin-top:27px;display:-ms-inline-flex;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.ci-carrinis .ci-project-list-element{width:100%;height:39px;display:-ms-inline-flex;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:6px 0 6px 12px;cursor:pointer}.ci-carrinis .ci-project-content{background-color:#fff}.ci-carrinis .ci-project-list-element-MyPopups:not(.ci-selected-project){background:-o-linear-gradient(356.85deg,#00938d -1.99%,#35339f 136.64%);background:linear-gradient(93.15deg,#00938d -1.99%,#35339f 136.64%)}.ci-carrinis .ci-project-list-element-BackupMigration:not(.ci-selected-project){background:-o-linear-gradient(355.44deg,#0f846f 3.73%,#6bb3a7 91.9%);background:linear-gradient(94.56deg,#0f846f 3.73%,#6bb3a7 91.9%)}.ci-carrinis .ci-project-list-element-CopyDeletePosts:not(.ci-selected-project){background:-o-linear-gradient(355.82deg,#00b371 -4.87%,#23d1b7 55.14%,#00b371 93.61%);background:linear-gradient(94.18deg,#00b371 -4.87%,#23d1b7 55.14%,#00b371 93.61%)}.ci-carrinis .ci-project-list-element-SocialShare:not(.ci-selected-project){background:-o-linear-gradient(353.82deg,#ffa100 4.58%,#ffc700 54.43%,#ffa100 104.29%);background:linear-gradient(96.18deg,#ffa100 4.58%,#ffc700 54.43%,#ffa100 104.29%)}.ci-carrinis .ci-project-list-element-followIt:not(.ci-selected-project){background:-o-linear-gradient(353.79deg,#05af4d -13.61%,#00ff6b 58.38%,#05af4d 141.7%);background:linear-gradient(96.21deg,#05af4d -13.61%,#00ff6b 58.38%,#05af4d 141.7%)}.ci-carrinis .ci-project-list-element-TasteWP:not(.ci-selected-project){background:-o-linear-gradient(351.58deg,#fd7169 14.65%,#f19791 55.17%,#fd7169 89.01%);background:linear-gradient(98.42deg,#fd7169 14.65%,#f19791 55.17%,#fd7169 89.01%)}.ci-carrinis .ci-project-list-element-logo{width:27px;height:27px;display:-ms-inline-flex;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.ci-carrinis .ci-project-list-element.ci-selected-project .ci-white-project-logo,.ci-carrinis .ci-project-list-element:not(.ci-selected-project) .ci-colored-project-logo{display:none}.ci-carrinis .ci-project-list-element span{margin-left:18px;font-weight:600;font-size:15px;line-height:18px}.ci-carrinis .ci-project-list-element:not(.ci-selected-project) span{color:#fff}.ci-carrinis .ci-project-list-element.ci-selected-project span{color:#424242}.ci-carrinis .ci-project{display:-ms-inline-flex;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;position:relative;width:100%;overflow:hidden;z-index:1;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-font-smoothing:subpixel-antialiased;-webkit-animation:project-fade-in 1s;animation:project-fade-in 1s}@-webkit-keyframes project-fade-in{from{opacity:0;-webkit-transform:translateY(5px);transform:translateY(5px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes project-fade-in{from{opacity:0;-webkit-transform:translateY(5px);transform:translateY(5px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}.ci-carrinis .ci-project-MyPopups::before{content:"";display:block;background-image:url(../views/projects/mpu/imgs/background-texture-grey.png);width:335px;height:256px;position:absolute;left:53.65px;bottom:0;z-index:-1}.ci-carrinis .ci-project-BackupMigration::before{content:"";display:block;background-image:url(../views/projects/bmi/imgs/background-texture-grey.png);width:618px;height:256px;position:absolute;left:0;bottom:0;z-index:-1}.ci-carrinis .ci-project-SocialShare{background-image:url(../views/projects/usm/imgs/background-image.png);background-repeat:no-repeat}.ci-carrinis .ci-project h2{margin:0;font-weight:300;font-size:14.95px;line-height:18px}.ci-carrinis .ci-project h2 b{font-weight:700}.ci-carrinis .ci-project:not(.ci-project-SocialShare) h2:first-child{margin-top:28px}.ci-carrinis .ci-project-CopyDeletePosts h2,.ci-carrinis .ci-project-MyPopups h2,.ci-carrinis .ci-project-SocialShare h2{text-align:center}.ci-carrinis .ci-project-SocialShare h2 a{color:#12b256;font-weight:700}.ci-carrinis .ci-project-CopyDeletePosts .ci-upgrade-state{margin-left:88px;width:476px}.ci-carrinis .ci-project-BackupMigration .ci-upgrade-state{margin-left:72px;width:531px}.ci-carrinis .ci-project-SocialShare .ci-upgrade-state{margin-left:72px;display:-ms-inline-flex;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.ci-carrinis .ci-project-BackupMigration h2:last-of-type{margin-top:15px}.ci-carrinis .ci-project .ci-pros-list{margin-top:15px;display:-ms-inline-flex;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.ci-carrinis .ci-project:not(.ci-project-SocialShare) .ci-pros-list-column:not(:first-child){margin-left:75px}.ci-carrinis .ci-project-SocialShare .ci-pros-list{width:100%;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-top:25px}.ci-carrinis .ci-project .ci-submit-button-row{width:100%;display:-ms-inline-flex;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-top:7px}.ci-carrinis .ci-project .ci-submit-button-wrapper{position:relative;display:-webkit-flex;display:-ms-flex;display:flex}.ci-carrinis .ci-project .ci-submit-button-wrapper a.ci-button-link{padding:8px 25px;font-weight:700;font-size:16.5193px;line-height:20px;color:#fff;border:0;outline:0;border-radius:17px;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-font-smoothing:subpixel-antialiased;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s;cursor:pointer}.ci-carrinis .ci-project-CopyDeletePosts .ci-submit-button-wrapper a.ci-button-link,.ci-carrinis .ci-project-MyPopups .ci-submit-button-wrapper a.ci-button-link{background-color:#6bb4a7}.ci-carrinis .ci-project-BackupMigration .ci-submit-button-wrapper a.ci-button-link{background-color:#0f9990}.ci-carrinis .ci-project .ci-learn-more-button{position:absolute;display:-ms-inline-flex;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:100%;width:100px;top:0;left:calc(100% + 15px);z-index:3}.ci-carrinis .ci-project .ci-learn-more-button a{font-weight:300;font-size:16.5193px;line-height:20px;color:#444}.ci-carrinis .ci-project .ci-right-part{position:relative;height:100%}.ci-carrinis .ci-project .ci-right-part img{position:absolute}.ci-carrinis .ci-project .ci-right-part .ci-main-image{right:0;bottom:0}.ci-carrinis .ci-project-MyPopups .ci-right-part .ci-secondary-image{right:350px;bottom:0}.ci-carrinis .ci-project-MyPopups .ci-install-state{width:660px}.ci-carrinis .ci-project-CopyDeletePosts .ci-right-part .ci-secondary-image{right:0;bottom:0}.ci-carrinis .ci-project-CopyDeletePosts .ci-right-part .ci-main-image{right:70px;bottom:0}.ci-carrinis .ci-project-CopyDeletePosts .ci-install-state{width:556px}.ci-carrinis .ci-project-followIt{position:relative}.ci-carrinis .ci-project-followIt .ci-background-bottom-left,.ci-carrinis .ci-project-followIt .ci-background-top-left{position:absolute;left:0;z-index:-1}.ci-carrinis .ci-project-followIt .ci-background-bottom-left,.ci-carrinis .ci-project-followIt .ci-background-bottom-right{bottom:0}.ci-carrinis .ci-project-followIt .ci-background-top-left,.ci-carrinis .ci-project-followIt .ci-background-top-right{top:0}.ci-carrinis .ci-project-followIt .ci-background-bottom-right,.ci-carrinis .ci-project-followIt .ci-background-top-right{right:0}.ci-carrinis .ci-project-followIt .ci-face-image-1{bottom:54px;right:227px}.ci-carrinis .ci-project-followIt .ci-face-image-2{top:80px;right:145px}.ci-carrinis .ci-project-followIt .ci-face-image-3{top:27px;right:41px}.ci-carrinis .ci-project-followIt .ci-face-image-4{bottom:20px;right:98px}.ci-carrinis .ci-project-TasteWP .ci-right-part img{top:0;right:0}.ci-carrinis .ci-project-SocialShare .ci-right-part .ci-background-icons{height:100%}.ci-carrinis .ci-project-SocialShare .ci-right-part .ci-video-link-wrapper{position:absolute;height:100%;display:-ms-inline-flex;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;top:0;right:0;padding-right:31px}.ci-carrinis .ci-project-SocialShare .ci-right-part .ci-video-link{position:relative}.ci-carrinis .ci-project-SocialShare .ci-right-part .ci-video-link .ci-video-background{position:static}.ci-carrinis .ci-project-SocialShare .ci-right-part .ci-video-link .ci-play-icon-wrapper{position:absolute;top:0;right:0;width:100%;height:100%;display:-ms-inline-flex;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.ci-carrinis .ci-project-SocialShare .ci-right-part .ci-ribbon-icon{bottom:0;right:0}.ci-carrinis .ci-project-TasteWP .ci-install-state,.ci-carrinis .ci-project-followIt .ci-install-state{z-index:2}.ci-carrinis .ci-install-state{display:-ms-inline-flex;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.ci-carrinis .ci-project:not(.ci-project-followIt) .ci-install-state{margin-left:42px}.ci-carrinis .ci-project-followIt .ci-install-state{margin-left:70px}.ci-carrinis .ci-install-state .ci-project-logo{display:-ms-inline-flex;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.ci-carrinis .ci-project-BackupMigration .ci-install-state .ci-project-logo .ci-rating,.ci-carrinis .ci-project-CopyDeletePosts .ci-install-state .ci-project-logo .ci-rating{margin-top:10px}.ci-carrinis .ci-install-state .ci-project-logo-element{display:-ms-inline-flex;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.ci-carrinis .ci-project-BackupMigration .ci-install-state .ci-project-logo-element span{font-family:Montserrat;font-weight:300}.ci-carrinis .ci-project-BackupMigration .ci-install-state .ci-project-logo-element span b{font-family:Montserrat;font-weight:700}.ci-carrinis .ci-project-CopyDeletePosts .ci-install-state .ci-project-logo-element span{text-align:center}.ci-carrinis .ci-install-state .ci-project-logo-element span{font-weight:400;font-size:17.306px;line-height:21px;margin-left:11px;color:#000;white-space:nowrap}.ci-carrinis .ci-install-state .ci-project-logo-element span b{font-weight:700}.ci-carrinis .ci-install-state .ci-install-column{margin-left:30px}.ci-carrinis .ci-project-SocialShare .ci-install-state .ci-install-column{margin-left:55px}.ci-carrinis .ci-install-state .ci-install-column ul li .ci-light-font{font-weight:300;font-size:14.16px;line-height:28.32px}.ci-carrinis .ci-already-installed-state .ci-check-it-out-button,.ci-carrinis .ci-install-state .ci-install-button{display:-ms-inline-flex;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-top:15px;position:relative;z-index:3}.ci-carrinis .ci-already-installed-state .ci-check-it-out-button{margin-top:22px}.ci-carrinis .ci-already-installed-state .ci-check-it-out-button span,.ci-carrinis .ci-install-state .ci-install-button span{z-index:4}.ci-carrinis .ci-already-installed-state .ci-check-it-out-button button,.ci-carrinis .ci-install-state .ci-install-button button,.ci-carrinis a.ci-button-link{border:0;outline:0;font-size:18.8793px;line-height:23px;font-weight:700;color:#fff;position:relative;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-font-smoothing:subpixel-antialiased;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s;cursor:pointer}.ci-carrinis a.ci-button-link{text-decoration:none}.ci-carrinis a.ci-button-link:hover{color:#fff}.ci-carrinis .ci-already-installed-state .ci-check-it-out-button button:hover,.ci-carrinis .ci-install-state .ci-install-button button:hover,.ci-carrinis .ci-project .ci-submit-button-wrapper a.ci-button-link:hover,.ci-carrinis a.ci-button-link:hover{-webkit-animation:none;animation:none;-webkit-transform:translateZ(0) scale(1.05,1.05);transform:translateZ(0) scale(1.05,1.05);-webkit-filter:brightness(1.05);filter:brightness(1.05)}.ci-carrinis .ci-already-installed-state .ci-check-it-out-button::before,.ci-carrinis .ci-install-state .ci-install-button::before{content:"";display:block;width:calc(100% + 30px);height:calc(100% + 30px);position:absolute;top:-15px;left:-15px;opacity:0}.ci-carrinis .ci-already-installed-state .ci-check-it-out-button:not(:hover) a.ci-button-link,.ci-carrinis .ci-already-installed-state .ci-check-it-out-button:not(:hover) button,.ci-carrinis .ci-install-state .ci-install-button:not(:hover) a.ci-button-link,.ci-carrinis .ci-install-state .ci-install-button:not(:hover) button,.ci-carrinis .ci-project .ci-submit-button-wrapper a.ci-button-link{-webkit-animation:tada 8s;animation:tada 8s;-webkit-animation-delay:3s;animation-delay:3s;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}@-webkit-keyframes tada{0%{-webkit-transform:scale3d(1,1,1);-ms-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}1.25%,2.5%{-webkit-transform:scale3d(.95,.95,.95) rotate3d(0,0,1,-1.2deg);-ms-transform:scale3d(.95,.95,.95) rotate3d(0,0,1,-1.2deg);transform:scale3d(.95,.95,.95) rotate3d(0,0,1,-1.2deg)}11.25%,3.75%,6.25%,8.75%{-webkit-transform:scale3d(1.05,1.05,1.05) rotate3d(0,0,1,1.2deg);-ms-transform:scale3d(1.05,1.05,1.05) rotate3d(0,0,1,1.2deg);transform:scale3d(1.05,1.05,1.05) rotate3d(0,0,1,1.2deg)}10%,5%,7.5%{-webkit-transform:scale3d(1.05,1.05,1.05) rotate3d(0,0,1,-1.2deg);-ms-transform:scale3d(1.05,1.05,1.05) rotate3d(0,0,1,-1.2deg);transform:scale3d(1.05,1.05,1.05) rotate3d(0,0,1,-1.2deg)}12.5%{-webkit-transform:scale3d(1,1,1);-ms-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}@keyframes tada{0%{-webkit-transform:scale3d(1,1,1);-ms-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}1.25%,2.5%{-webkit-transform:scale3d(.95,.95,.95) rotate3d(0,0,1,-1.2deg);-ms-transform:scale3d(.95,.95,.95) rotate3d(0,0,1,-1.2deg);transform:scale3d(.95,.95,.95) rotate3d(0,0,1,-1.2deg)}11.25%,3.75%,6.25%,8.75%{-webkit-transform:scale3d(1.05,1.05,1.05) rotate3d(0,0,1,1.2deg);-ms-transform:scale3d(1.05,1.05,1.05) rotate3d(0,0,1,1.2deg);transform:scale3d(1.05,1.05,1.05) rotate3d(0,0,1,1.2deg)}10%,5%,7.5%{-webkit-transform:scale3d(1.05,1.05,1.05) rotate3d(0,0,1,-1.2deg);-ms-transform:scale3d(1.05,1.05,1.05) rotate3d(0,0,1,-1.2deg);transform:scale3d(1.05,1.05,1.05) rotate3d(0,0,1,-1.2deg)}12.5%{-webkit-transform:scale3d(1,1,1);-ms-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}.ci-carrinis .ci-install-state .ci-install-button button:not(.ci-round-button){border-radius:10px 80px 10px 10px;padding:8.65px 66.87px 8.65px 25.17px}.ci-carrinis .ci-install-state .ci-install-button .ci-round-button{border-radius:37.7585px;padding:7.87px 82.6px 7.87px 51.92px}.ci-carrinis .ci-already-installed-state .ci-check-it-out-button .ci-round-button,.ci-carrinis .ci-project-TasteWP .ci-install-button .ci-button-link,.ci-carrinis .ci-project-followIt .ci-install-button .ci-button-link{border-radius:38px;padding:8px 57px 8px 37px}.ci-carrinis .ci-project-CopyDeletePosts .ci-already-installed-state .ci-check-it-out-button a.ci-button-link,.ci-carrinis .ci-project-CopyDeletePosts .ci-install-state .ci-install-button button,.ci-carrinis .ci-project-MyPopups .ci-install-state .ci-install-button button{background-color:#6bb4a7}.ci-carrinis .ci-project-BackupMigration .ci-already-installed-state .ci-check-it-out-button a.ci-button-link,.ci-carrinis .ci-project-BackupMigration .ci-install-state .ci-install-button button{background-color:#0f9990}.ci-carrinis .ci-project-TasteWP .ci-install-state .ci-install-button a.ci-button-link{background-color:#fe7269}.ci-carrinis .ci-project-SocialShare .ci-already-installed-state .ci-check-it-out-button a.ci-button-link,.ci-carrinis .ci-project-SocialShare .ci-install-state .ci-install-button button{background-color:#f9c100}.ci-carrinis .ci-project-followIt .ci-install-state .ci-install-button a.ci-button-link{background-color:#06b04e}.ci-carrinis .ci-project-MyPopups .ci-already-installed-state .ci-check-it-out-button a{background-color:#00b47c}.ci-carrinis .ci-already-installed-state .ci-check-it-out-button button:after,.ci-carrinis .ci-install-state .ci-install-button button:after,.ci-carrinis a.ci-button-link:not(.ci-no-arrow):after{content:"";display:block;width:12px;height:19px;background-image:url(../views/static/imgs/white-arrow-right.svg);position:absolute;top:calc(50% - 9.5px)}.ci-carrinis .ci-install-state .ci-install-button a.ci-button-link:not(.ci-no-arrow):after,.ci-carrinis .ci-install-state .ci-install-button button:after{right:35px}.ci-carrinis .ci-already-installed-state .ci-check-it-out-button a.ci-button-link:not(.ci-no-arrow):after,.ci-carrinis .ci-already-installed-state .ci-check-it-out-button button:after,.ci-carrinis .ci-project-TasteWP .ci-install-state .ci-install-button .ci-button-link:not(.ci-no-arrow):after,.ci-carrinis .ci-project-followIt .ci-install-state .ci-install-button .ci-button-link:not(.ci-no-arrow):after{right:25px}.ci-carrinis .ci-install-state .ci-install-button span{font-weight:300;font-size:14.9461px;line-height:18px;margin-top:8.65px}.ci-carrinis .ci-project .ci-already-installed-state{display:-ms-inline-flex;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.ci-carrinis .ci-project:not(.ci-project-SocialShare) .ci-already-installed-state{-ms-flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.ci-carrinis .ci-project:not(.ci-project-BackupMigration):not(.ci-project-SocialShare):not(.ci-project-followIt) .ci-already-installed-state{width:440px}.ci-carrinis .ci-project-MyPopups .ci-already-installed-state{margin-left:100px}.ci-carrinis .ci-project-CopyDeletePosts .ci-already-installed-state{margin-left:84px}.ci-carrinis .ci-project.ci-project-followIt .ci-already-installed-state{width:100%;margin-left:0;margin-right:130px}.ci-carrinis .ci-already-installed-state .ci-already-installed-heading{display:-ms-inline-flex;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.ci-carrinis .ci-already-installed-state .ci-already-installed-heading p{width:100%}.ci-carrinis .ci-already-installed-state .ci-already-installed-heading svg{height:32px}#carrinis .ci-project .ci-already-installed-state p{font-weight:300;font-size:14.9461px;line-height:18px;text-align:center;margin-bottom:0}.ci-carrinis .ci-project .ci-already-installed-state p a,.ci-carrinis .ci-project .ci-already-installed-state p b{font-weight:800}.ci-carrinis .ci-project .ci-already-installed-state p a,.ci-carrinis .ci-project-MyPopups .ci-already-installed-state p span{color:#00b47c}.ci-carrinis .ci-project-BackupMigration .ci-already-installed-state p span{color:#6bb4a7}#carrinis .ci-project .ci-already-installed-state p:nth-of-type(1){margin-top:14px}#carrinis .ci-project .ci-already-installed-state p:nth-of-type(2){margin-top:18px}#carrinis .ci-project .ci-already-installed-state .ci-already-installed-heading p{margin-left:8px;margin-top:0;font-weight:500}.ci-carrinis .ci-project-SocialShare .ci-already-installed-state,.ci-carrinis .ci-project-SocialShare .ci-already-installed-state .ci-already-installed-element{display:-ms-inline-flex;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.ci-carrinis .ci-project-SocialShare .ci-already-installed-state{margin-left:35px}.ci-carrinis .ci-project-SocialShare .ci-already-installed-state .ci-already-installed-element{-ms-flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.ci-carrinis .ci-project-CopyDeletePosts .ci-already-installed-state span,.ci-carrinis .ci-project-MyPopups .ci-already-installed-state span{color:#69b0a3}.ci-carrinis .ci-project-BackupMigration .ci-already-installed-state span{color:#0f9990}.ci-carrinis .ci-project-SocialShare .ci-already-installed-state span{color:#06b04e}a.ci-see-all-projects{color:#000;font-weight:300;font-size:15.7327px;line-height:19px}.ci-hidden{display:none}.ci-project-content.ci-SocialShare-visible .ci-project-SocialShare.ci-already-installed-state-visible{-ms-flex-direction:row-reverse;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse}.ci-project-content.ci-BackupMigration-visible>div:not(.ci-project-BackupMigration),.ci-project-content.ci-CopyDeletePosts-visible>div:not(.ci-project-CopyDeletePosts),.ci-project-content.ci-MyPopups-visible>div:not(.ci-project-MyPopups),.ci-project-content.ci-SocialShare-visible>div:not(.ci-project-SocialShare),.ci-project-content.ci-TasteWP-visible>div:not(.ci-project-TasteWP),.ci-project-content.ci-followIt-visible>div:not(.ci-project-followIt){display:none!important}.ci-see-all-projects{color:#000!important}.ci-inisev-install-plugin.ci-inisev-prepare{transition:.3s all!important;filter:grayscale(0)!important}.ci-inisev-install-plugin.ci-inisev-install{filter:grayscale(1)!important;cursor:not-allowed!important}.ci-carrinis img{pointer-events:none}#wpfooter{position:relative!important}@media (min-width:1530px){.ci-carrinis .ci-all-projects,.ci-carrinis .ci-carousel{width:1315px}}@media (max-width:1529px){.ci-carrinis .ci-all-projects,.ci-carrinis .ci-carousel{width:100%}.ci-MyPopups-visible .ci-project-MyPopups.ci-install-state-visible .ci-right-part{position:absolute;top:0;right:calc((375px - (100% - 692px)) * -1)}.ci-MyPopups-visible .ci-project-MyPopups.ci-install-state-visible .ci-secondary-image{bottom:-60px}.ci-BackupMigration-visible .ci-project-BackupMigration .ci-main-image{z-index:-1;opacity:.6}}@media (max-width:1500px){.ci-already-installed-state-visible:not(.ci-project-BackupMigration) .ci-already-installed-state,.ci-upgrade-state-visible .ci-upgrade-state{margin-left:42px}.ci-CopyDeletePosts-visible .ci-project-CopyDeletePosts.ci-install-state-visible .ci-right-part{position:absolute;top:0}}@media (max-width:1250px){.ci-CopyDeletePosts-visible .ci-project-CopyDeletePosts.ci-install-state-visible .ci-right-part{right:calc((520px - (100% - 566px)) * -1)}}@media (min-width:1501px){.ci-CopyDeletePosts-visible .ci-project-CopyDeletePosts.ci-install-state-visible .ci-right-part{right:-15px}}@media (max-width:1150px),(min-width:1251px) and (max-width:1500px){.ci-CopyDeletePosts-visible .ci-project-CopyDeletePosts.ci-install-state-visible .ci-right-part{right:calc((520px - (100% - 566px)) * -1)}}@media (max-width:1450px){.ci-CopyDeletePosts-visible .ci-project-CopyDeletePosts.ci-upgrade-state-visible .ci-right-part{position:absolute;top:0;right:calc((520px - (100% - 530px)) * -1)}}@media (max-width:1420px){.ci-MyPopups-visible .ci-project-MyPopups.ci-already-installed-state-visible .ci-secondary-image{bottom:-60px}}@media (max-width:1175px),(min-width:1251px) and (max-width:1420px){.ci-CopyDeletePosts-visible .ci-project-CopyDeletePosts.ci-already-installed-state-visible .ci-right-part{position:absolute;top:0;right:calc((450px - (100% - 530px)) * -1)}}@media (min-width:1400px){.ci-carrinis .ci-project-TasteWP .ci-additional-text-break{display:none}}@media (max-width:1100px),(min-width:1251px) and (max-width:1340px){.ci-MyPopups-visible .ci-project-MyPopups.ci-already-installed-state-visible .ci-right-part{position:absolute;top:0;right:calc((200px - (100% - 692px)) * -1)}}@media (max-width:1279px){.ci-BackupMigration-visible .ci-project-BackupMigration.ci-install-state-visible .ci-install-column{width:500px}}@media (max-width:1140px),(min-width:1251px) and (max-width:1399px){.ci-SocialShare-visible .ci-project-SocialShare.ci-install-state-visible .ci-hidden-for-upgrade{position:absolute;top:0;right:calc((305px - (100% - 638px)) * -1)}.ci-SocialShare-visible .ci-project-SocialShare.ci-already-installed-state-visible .ci-hidden-for-upgrade img{display:none}}@media (max-width:1225px){.ci-SocialShare-visible .ci-project-SocialShare.ci-already-installed-state-visible .ci-hidden-for-upgrade img{display:none}}@media (min-width:1399px) and (max-width:1480px){.ci-SocialShare-visible .ci-project-SocialShare.ci-already-installed-state-visible .ci-hidden-for-upgrade img{right:-70px}}@media (max-width:1470px){.ci-SocialShare-visible .ci-project-SocialShare.ci-upgrade-state-visible .ci-three-columns-pros-list{display:none}.ci-SocialShare-visible .ci-project-SocialShare.ci-upgrade-state-visible .ci-two-columns-pros-list{width:390px}.ci-SocialShare-visible .ci-project-SocialShare.ci-upgrade-state-visible h2{text-align:left}}@media (min-width:1471px){.ci-SocialShare-visible .ci-project-SocialShare.ci-upgrade-state-visible .ci-two-columns-pros-list{display:none}}@media (max-width:1135px),(min-width:1251px) and (max-width:1400px){.ci-SocialShare-visible .ci-project-SocialShare.ci-upgrade-state-visible .ci-video-link{margin-top:38px}.ci-SocialShare-visible .ci-project-SocialShare.ci-upgrade-state-visible .ci-video-link .ci-video-background{height:175px}}@media (max-width:960px){.ci-carrinis .ci-install-state .ci-install-column{padding-right:20px}}@media (min-width:961px) and (max-width:1010px){.ci-SocialShare-visible .ci-project-SocialShare.ci-upgrade-state-visible .ci-video-link .ci-video-background{height:150px}}@media (max-width:1400px){.ci-followIt-visible .ci-project-followIt.ci-install-state-visible .ci-face-image-2{display:none}}@media (max-width:1340px){.ci-followIt-visible .ci-project-followIt.ci-install-state-visible .ci-face-image-3{top:15px;right:25px}.ci-followIt-visible .ci-project-followIt.ci-install-state-visible .ci-face-image-4{right:140px}.ci-followIt-visible .ci-project-followIt.ci-install-state-visible .ci-face-image-1{right:40px;bottom:83px}}@media (max-width:1065px){.ci-followIt-visible .ci-project-followIt.ci-install-state-visible .ci-face-image-1,.ci-followIt-visible .ci-project-followIt.ci-install-state-visible .ci-face-image-2,.ci-followIt-visible .ci-project-followIt.ci-install-state-visible .ci-face-image-3,.ci-followIt-visible .ci-project-followIt.ci-install-state-visible .ci-face-image-4{display:none}}@media (min-width:1251px){.ci-carrinis .ci-projects-list{width:234px}.ci-carrinis .ci-project-content{width:calc(100% - 234px - 3.93px);}.ci-carrinis .ci-project-list-element:first-child{border-top-left-radius:7px}.ci-carrinis .ci-project-list-element:last-child{border-bottom-left-radius:7px}.ci-carrinis .ci-selected-project{position:relative}.ci-carrinis .ci-project-list-element:not(:first-child){margin-top:4.3px}.ci-carrinis .ci-selected-project:not(.ci-project-list-element-followIt){background-color:#fff}.ci-carrinis .ci-project-list-element-followIt{background-color:#f5f9fc}.ci-carrinis .ci-selected-project::after{content:"";display:block;width:4px;height:100%;position:absolute;top:0;right:-4px}.ci-carrinis .ci-selected-project:not(.ci-project-list-element-followIt)::after{background-color:#fff}.ci-carrinis .ci-selected-project.ci-project-list-element-followIt::after{background-color:#f5f9fc}.ci-carrinis .ci-project{border-top-right-radius:7px;border-bottom-right-radius:7px}.ci-carrinis .ci-project-content{border-top-right-radius:7px;border-bottom-right-radius:7px}.ci-carrinis .ci-all-projects{padding-left:58px;margin-top:20px}}@media (max-width:1250px){.ci-carrinis .ci-carousel{-ms-flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.ci-carrinis .ci-selected-project{background-color:#fff}.ci-carrinis .ci-project{border-radius:10px}.ci-carrinis .ci-project-content{margin-top:10px;border-radius:10px}.ci-carrinis .ci-projects-list{display:-ms-flex;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.ci-carrinis .ci-all-projects{text-align:center;margin-top:30px}}@media (min-width:1000px){#carrinis .ci-project.ci-project-BackupMigration .ci-already-installed-state p{font-size:17.306px;line-height:28px}}@media (min-width:701px) and (max-width:1250px){.ci-carrinis .ci-project-list-element{border-radius:7px;width:calc(33.333% - 5px)}.ci-carrinis .ci-project-list-element:nth-child(n+4){margin-top:7px}}@media (max-width:760px){.ci-carrinis .ci-project:not(.ci-project-SocialShare) .ci-left-part .ci-project-logo a img{max-height:45px}.ci-carrinis .ci-project-SocialShare .ci-already-installed-state .ci-big-colored-logo{display:none}}@media (max-width:870px){.ci-carrinis .ci-project-BackupMigration .ci-install-state .ci-install-column{width:auto}.ci-carrinis .ci-project-SocialShare .ci-hidden-for-upgrade img{display:none}}@media (min-width:701px) and (max-width:870px){.ci-carrinis .ci-project-SocialShare .ci-video-link img{display:none}}@media (max-width:750px){.ci-carrinis .ci-project-followIt .ci-right-part .ci-background-bottom-right{right:-40px}}@media (min-width:701px){.ci-carrinis .ci-project{height:256px}.ci-carrinis .ci-project-SocialShare .ci-upgrade-state{width:574px}.ci-carrinis .ci-project-SocialShare .ci-already-installed-state .ci-already-installed-element{margin-left:21px;width:440px}.ci-carrinis .ci-project-BackupMigration .ci-already-installed-state{width:100%;padding:0 30px;margin-right:auto;margin-left:auto}}@media (max-width:700px){.ci-carrinis .ci-project-list-element{border-radius:7px;width:calc(50% - 5px)}.ci-carrinis .ci-project{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.ci-carrinis .ci-project-list-element:nth-child(n+3){margin-top:7px}.ci-carrinis .ci-project .ci-left-part{margin-top:30px;margin-bottom:30px}.ci-carrinis .ci-project .ci-right-part .ci-main-image{display:none}.ci-carrinis .ci-project-content .ci-project .ci-install-state{-ms-flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-left:0;width:100%}.ci-carrinis .ci-project .ci-install-state .ci-project-logo{margin-bottom:15px}.ci-carrinis .ci-project .ci-install-state .ci-install-column{margin-left:30px;margin-right:30px;padding-right:0}.ci-carrinis .ci-project .ci-install-state .ci-install-button{width:100%}.ci-carrinis .ci-project-CopyDeletePosts .ci-right-part{display:none}.ci-carrinis .ci-project-SocialShare .ci-install-state .ci-project-logo a img{height:125px}.ci-carrinis .ci-project-followIt .ci-background-bottom-left,.ci-carrinis .ci-project-followIt .ci-background-bottom-right,.ci-carrinis .ci-project-followIt .ci-background-top-left,.ci-carrinis .ci-project-followIt .ci-background-top-right{display:none}.ci-carrinis .ci-project-followIt .ci-right-part{position:absolute;right:0;top:0}.ci-carrinis .ci-project .ci-already-installed-state,.ci-carrinis .ci-project .ci-upgrade-state{margin:30px}.ci-carrinis .ci-project-SocialShare .ci-upgrade-state{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.ci-carrinis .ci-project .ci-upgrade-state .ci-submit-button-wrapper{display:-ms-flex;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.ci-carrinis .ci-project .ci-upgrade-state .ci-submit-button-row .ci-learn-more-button{position:static;margin-top:10px}.ci-carrinis .ci-project-BackupMigration .ci-upgrade-state h2{text-align:center}.ci-carrinis .ci-project-BackupMigration .ci-upgrade-state .ci-pros-list{width:100%;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.ci-carrinis .ci-project-SocialShare{-ms-flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.ci-carrinis .ci-project-SocialShare .ci-visible-for-upgrade{height:auto;width:100%;display:-ms-flex;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.ci-carrinis .ci-project-SocialShare .ci-upgrade-state{margin-bottom:0}.ci-carrinis .ci-project-SocialShare .ci-visible-for-upgrade .ci-video-link-wrapper{position:relative;padding-right:0}.ci-carrinis .ci-project-SocialShare h2{text-align:center}.ci-carrinis .ci-project-SocialShare .ci-visible-for-upgrade{margin-bottom:30px}.ci-carrinis .ci-project-SocialShare .ci-visible-for-upgrade .ci-video-link{margin-top:0}.ci-carrinis .ci-project-SocialShare .ci-visible-for-upgrade .ci-video-link-wrapper .ci-ribbon-icon{width:175px;bottom:4px}.ci-carrinis .ci-project .ci-already-installed-state{padding-right:0}}
2
+
3
+ .z-index-9991 {
4
+ z-index: 9991;
5
+ }
6
+
7
+ a.ci-see-all-projects {
8
+ color: #FFFFFF !important;
9
+ font-weight: 500;
10
+ }
11
+
12
+ @media (min-width: 961px) {
13
+ #top_level_carrinis {
14
+ /* width: calc(100% - 200px); */
15
+ }
16
+ }
17
+
18
+ @media (min-width: 783px) and (max-width: 960px) {
19
+ #top_level_carrinis {
20
+ width: calc(100% - 76px);
21
+ }
22
+ }
23
+
24
+ @media (max-width: 782px) {
25
+ #top_level_carrinis {
26
+ width: calc(100% - 48px);
27
+ }
28
+ }
29
+
30
+ #carrinis {
31
+ margin-bottom: 0;
32
+ }
33
+
34
+ .etw-carousel-ad-wrapper {
35
+ position: fixed;
36
+ top: 0;
37
+ left: 0;
38
+ width: 100vw;
39
+ height: 100vh;
40
+ display: inline-flex;
41
+ align-items: center;
42
+ justify-content: center;
43
+ -webkit-flex-direction: column;
44
+ -ms-flex-direction: column;
45
+ flex-direction: column;
46
+ background-color: rgba(57, 81, 125, .5);
47
+ z-index: 9991;
48
+ }
49
+ .etw-carousel-ad-close-element {
50
+ width: 50px;
51
+ }
52
+ .etw-carousel-ad-close-element:hover {
53
+ cursor: pointer;
54
+ opacity: .8;
55
+ }
56
+ .etw-carousel-ad-trigger {
57
+ box-sizing: border-box;
58
+ align-items: center;
59
+ display: inline-flex;
60
+ background: #323954;
61
+ position: relative;
62
+ cursor: pointer;
63
+ margin-bottom: 20px;
64
+ transition: filter .15s;
65
+ }
66
+ .etw-carousel-ad-trigger:hover {
67
+ filter: contrast(1.2);
68
+ }
69
+ .etw-carousel-ad-trigger span {
70
+ font-family: Montserrat;
71
+ font-style: normal;
72
+ font-weight: 500;
73
+ font-size: 11.8px;
74
+ line-height: 14px;
75
+ color: #FFFFFF;
76
+ }
77
+ .etw-new-label {
78
+ padding: 5px 15px;
79
+ background: #FFFFFF;
80
+ border-radius: 33px;
81
+ font-family: Montserrat;
82
+ font-style: normal;
83
+ font-weight: bold;
84
+ font-size: 11.5px;
85
+ line-height: 14px;
86
+ color: #222222;
87
+ }
88
+ .etw-check-it-label {
89
+ background: #06B04D;
90
+ border-radius: 11.5px 5px 11.5px 3px;
91
+ font-family: Montserrat;
92
+ font-style: normal;
93
+ font-weight: bold;
94
+ font-size: 11.7px;
95
+ line-height: 14px;
96
+ color: #FFFFFF;
97
+ padding: 5px 18px;
98
+ }
99
+ @media (min-width: 851px) {
100
+ .etw-carousel-ad-trigger {
101
+ max-width: 433px;
102
+ border-radius: 34px;
103
+ padding: 5px 120px 5px 5px;
104
+ }
105
+ .etw-check-it-label {
106
+ position: absolute;
107
+ top: 5px;
108
+ right: -5px;
109
+ }
110
+ .etw-carousel-ad-trigger span {
111
+ margin-left: 15px;
112
+ }
113
+ }
114
+ @media (max-width: 850px) {
115
+ .etw-carousel-ad-trigger {
116
+ border-radius: 13px;
117
+ padding: 12px 5px 5px 5px;
118
+ flex-direction: column;
119
+ width: 100%;
120
+ text-align: center;
121
+ }
122
+ .etw-new-label {
123
+ position: absolute;
124
+ top: 5px;
125
+ left: 5px;
126
+ }
127
+ .etw-check-it-label {
128
+ margin-top: 10px;
129
+ margin-bottom: 10px;
130
+ }
131
+ }
132
+
133
+ @media (max-width: 520px) {
134
+ .etw-carousel-ad-trigger {
135
+ padding: 35px 15px 5px 15px;
136
+ }
137
+ }
banner/misc.php ADDED
@@ -0,0 +1,370 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * File for our cool Carousel in the footer
5
+ *
6
+ * @category Child Plugin
7
+ * @version v0.1.0
8
+ * @since v0.1.0
9
+ * @author iClyde <kontakt@iclyde.pl>
10
+ */
11
+
12
+ // Namespace
13
+ namespace Inisev\Subs;
14
+
15
+ // Disallow direct access
16
+ if (defined('ABSPATH')) {
17
+
18
+ /**
19
+ * Main class for handling the Carousel
20
+ */
21
+ if (!class_exists('Inisev\Subs\Inisev_Carousel_Widget')) {
22
+ class Inisev_Carousel_Widget {
23
+
24
+ // Should hide it for good i.e. styles may be broken?
25
+ private $error = 0;
26
+
27
+ // Slugs of plugins
28
+ private $usm_premium = 'usm-premium/usm_premium_icons.php';
29
+ private $usm_slug = 'ultimate-social-media-icons/ultimate_social_media_icons.php';
30
+ private $bmi_premium = 'backup-backup-pro/backup-backup-pro.php';
31
+ private $bmi_slug = 'backup-backup/backup-backup.php';
32
+ private $cdp_premium = 'copy-delete-posts-premium/copy-delete-posts-premium.php';
33
+ private $cdp_slug = 'copy-delete-posts/copy-delete-posts.php';
34
+ private $mpu_slug = 'pop-up-pop-up/pop-up-pop-up.php';
35
+
36
+ /*
37
+ * Compile some variables for "future us"
38
+ * Such as slug of current plugin, root dir of plugin
39
+ */
40
+ function __construct($root_file, $root_dir) {
41
+
42
+ // This roots
43
+ $this->_root_file = $root_file;
44
+ $this->_root_dir = $root_dir;
45
+
46
+ // Add handler for Ajax request
47
+ if (isset($_SERVER['REQUEST_METHOD']) && $_SERVER['REQUEST_METHOD'] == 'POST') {
48
+
49
+ // Check if slug is defined
50
+ if (isset($_POST['slug']) && !empty($_POST['slug'])) {
51
+
52
+ // Handle the request
53
+ add_action('wp_ajax_inisev_installation_widget', [&$this, 'handle_installation']);
54
+
55
+ }
56
+
57
+ // Stop for POST
58
+ return;
59
+
60
+ }
61
+
62
+ // WordPress globals
63
+ global $menu;
64
+
65
+ // Make sure WP_PLUGIN_DIR is defined
66
+ if (!defined('WP_PLUGIN_DIR')) return $this->fail(1);
67
+ if (!function_exists('trailingslashit')) return $this->fail(2);
68
+ if (!defined('DIRECTORY_SEPARATOR')) define('DIRECTORY_SEPARATOR', '/');
69
+
70
+ // That's in case the developer moved this file somewhere else
71
+ $tmp_slug = trailingslashit($this->_root_dir);
72
+ $tmp_root = trailingslashit(WP_PLUGIN_DIR);
73
+ $tmp_name = explode(DIRECTORY_SEPARATOR, substr($tmp_slug, strlen($tmp_root)));
74
+
75
+ // Make the "probably" slug name
76
+ // $this->page = sanitize_text_field(isset($_GET['page']));
77
+ $this->slug = $tmp_name[0];
78
+ $this->root = $tmp_root . $this->slug;
79
+
80
+ // Make lowercase slug
81
+ $this->slug_low = $this->makelower($this->slug);
82
+
83
+ // We don't need those anymore
84
+ unset($tmp_slug, $tmp_root, $tmp_name);
85
+
86
+ // Check if the guess is correct enough
87
+ if (!is_dir($this->root)) return $this->fail(3);
88
+
89
+ // If the hook is correct continue
90
+ $this->setup();
91
+
92
+ }
93
+
94
+ /*
95
+ * Main setup of this child plugin
96
+ */
97
+ public function setup() {
98
+
99
+ // WordPress Global Variables
100
+ global $menu, $pagenow;
101
+
102
+ // Make sure $menu exists
103
+ if (!isset($menu) || !is_array($menu)) return $this->fail(5);
104
+
105
+ if ($pagenow == 'widgets.php' && !defined('INISEV_CAROUSEL_WIDGET')) {
106
+
107
+ // Initialize Carousel constant
108
+ define('INISEV_CAROUSEL_WIDGET', true);
109
+
110
+ // Root URL for assets
111
+ $this->url = trailingslashit(plugins_url(null, $this->_root_file));
112
+
113
+ // Load styles
114
+ wp_enqueue_script('inisev-carousel-script', ($this->url . 'assets/index.min.js'), [], filemtime($this->_root_dir . '/assets/index.min.js'), true);
115
+ wp_enqueue_style('inisev-carousel-style', ($this->url . 'assets/style.min.css'), [], filemtime($this->_root_dir . '/assets/style.min.css'));
116
+
117
+ // Print the footer
118
+ add_action('admin_footer', [&$this, '_print'], 1);
119
+
120
+ }
121
+
122
+ }
123
+
124
+ /*
125
+ * This function may be used for debugging purposes
126
+ */
127
+ private function fail($code = false) {
128
+
129
+ if ($code === false) {
130
+
131
+ // Return error code if specified as request ($code === false)
132
+ return $this->error;
133
+
134
+ } else {
135
+
136
+ // Set the error code and return
137
+ // error_log($code);
138
+ $this->error = $code;
139
+ return false;
140
+
141
+ }
142
+
143
+ }
144
+
145
+ /*
146
+ * Helper function remove _ -/ characters and make lowercase
147
+ */
148
+ private function makelower($str) {
149
+
150
+ $str = str_replace('_', '', $str);
151
+ $str = str_replace('-', '', $str);
152
+ $str = str_replace('/', '', $str);
153
+ $str = str_replace('\/', '', $str);
154
+ $str = str_replace(' ', '', $str);
155
+ $str = strtolower($str);
156
+
157
+ return $str;
158
+
159
+ }
160
+
161
+ /*
162
+ * Helper: Include file
163
+ */
164
+ private function _include($path) {
165
+
166
+ include_once trailingslashit($this->_root_dir) . 'views/' . $path . '.php';
167
+
168
+ }
169
+
170
+ /*
171
+ * Helper: Get asset URL
172
+ */
173
+ private function get_asset($file) {
174
+
175
+ return $this->url . $file;
176
+
177
+ }
178
+
179
+ /*
180
+ * Helper: Get asset and print URL
181
+ */
182
+ private function _asset($file) {
183
+
184
+ echo $this->get_asset('views/' . $file);
185
+
186
+ }
187
+
188
+ /*
189
+ * Upgrade plugin, this function probably will never be fired
190
+ */
191
+ private function upgrade_plugin($plugin_slug) {
192
+
193
+ // Include upgrader
194
+ include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
195
+ wp_cache_flush();
196
+
197
+ // Initialize & upgrade the plugin
198
+ $upgrader = new \Plugin_Upgrader();
199
+ $upgraded = $upgrader->upgrade($plugin_slug);
200
+
201
+ // Return status or WP Error
202
+ return $upgraded;
203
+
204
+ }
205
+
206
+ /*
207
+ * Check if plugin is installed by slug
208
+ */
209
+ private function is_plugin_installed($slug) {
210
+
211
+ // Get all plugins
212
+ $all_plugins = get_plugins();
213
+
214
+ // Make sure all slugs are in lowercase.
215
+ foreach ($all_plugins as $plug => $v) {
216
+
217
+ // Once something match return success
218
+ if (strtolower($plug) == strtolower($slug)) return true;
219
+
220
+ }
221
+
222
+ // If nothing just fail
223
+ return false;
224
+
225
+ // When I exactly know the letter case...
226
+ // if (!empty($all_plugins[$slug])) return true;
227
+ // else return false;
228
+
229
+ }
230
+
231
+ /*
232
+ * Install the plugin by slug
233
+ */
234
+ private function install_plugin($plugin_zip) {
235
+
236
+ // Include upgrader
237
+ include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
238
+ wp_cache_flush();
239
+
240
+ // Initialize WP upgrader & install the plugin
241
+ $upgrader = new \Plugin_Upgrader();
242
+ $installed = $upgrader->install($plugin_zip);
243
+
244
+ // Return status or WP Error
245
+ return $installed;
246
+
247
+ }
248
+
249
+ /*
250
+ * Install file
251
+ */
252
+ private function install($slug, $directory_slug) {
253
+
254
+ // Prepare the URLs and full slug
255
+ $plugin_slug = $slug;
256
+ $plugin_zip = 'https://downloads.wordpress.org/plugin/' . $directory_slug . '.latest-stable.zip';
257
+
258
+ // Make sure the plugin is not installed
259
+ if ($this->is_plugin_installed($plugin_slug)) {
260
+
261
+ // Upgrade the plugin if it's installed somehow
262
+ $this->upgrade_plugin($plugin_slug);
263
+ $installed = true;
264
+
265
+ // Install instead
266
+ } else $installed = $this->install_plugin($plugin_zip);
267
+
268
+ // Check if there was any error
269
+ if (!is_wp_error($installed) && $installed) {
270
+ $activate = activate_plugin($plugin_slug);
271
+
272
+ if (is_null($activate)) {
273
+
274
+ $url = admin_url('', 'admin');
275
+
276
+ // CDP has special alert when installed with quick-install module
277
+ if ($_POST['slug'] === 'cdp') {
278
+ update_option('_cdp_cool_installation', true);
279
+ update_option('_cdp_redirect', true);
280
+ $url = admin_url() . 'admin.php?page=copy-delete-posts';
281
+ }
282
+
283
+ // Redirection for MPU
284
+ if ($_POST['slug'] === 'mpu') {
285
+ update_option('wp_mypopups_do_activation_redirect', true);
286
+ $url = admin_url() . 'admin.php?page=wp-mypopups';
287
+ }
288
+
289
+ // Redirection for USM
290
+ if ($_POST['slug'] === 'usm') {
291
+ update_option('sfsi_plugin_do_activation_redirect', true);
292
+ $url = admin_url() . 'admin.php?page=sfsi-options';
293
+ }
294
+
295
+ // Redirection for BMI
296
+ if ($_POST['slug'] === 'bmi') {
297
+ update_option('_bmi_redirect', true);
298
+ $url = admin_url() . 'admin.php?page=backup-migration';
299
+ }
300
+
301
+ // Send success
302
+ wp_send_json_success([ 'installed' => true, 'url' => $url ]);
303
+
304
+ // I don't know what happened here and if it's even possible
305
+ } else wp_send_json_error();
306
+
307
+ // Send fail
308
+ } else wp_send_json_error();
309
+
310
+ }
311
+
312
+ /*
313
+ * Add/print the Carousel
314
+ */
315
+ public function _print() {
316
+
317
+ try {
318
+
319
+ include_once trailingslashit($this->_root_dir) . 'views/index.php';
320
+
321
+ } catch (\Exception $e) {
322
+
323
+ return $this->fail(7);
324
+
325
+ } catch (\Exception $e) {
326
+
327
+ return $this->fail(8);
328
+
329
+ }
330
+
331
+ }
332
+
333
+ /*
334
+ * Handle ajax request
335
+ */
336
+ public function handle_installation() {
337
+
338
+ // Handle the slug and install the plugin
339
+ $slug = sanitize_text_field($_POST['slug']);
340
+ if ($slug === 'usm') {
341
+
342
+ $this->install($this->usm_slug, 'ultimate-social-media-icons');
343
+
344
+ } elseif ($slug === 'bmi') {
345
+
346
+ $this->install($this->bmi_slug, 'backup-backup');
347
+
348
+ } elseif ($slug === 'cdp') {
349
+
350
+ $this->install($this->cdp_slug, 'copy-delete-posts');
351
+
352
+ } elseif ($slug === 'mpu') {
353
+
354
+ $this->install($this->mpu_slug, 'pop-up-pop-up');
355
+
356
+ // Anything else error
357
+ } else wp_send_json_error();
358
+
359
+ }
360
+
361
+ }
362
+ }
363
+
364
+ if (!defined('INISEV_CAROUSEL_WIDGET')) {
365
+
366
+ $carousel = new Inisev_Carousel_Widget(__FILE__, __DIR__);
367
+
368
+ }
369
+
370
+ }
banner/views/index.php ADDED
@@ -0,0 +1,163 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Main renderer for the Carousel
5
+ *
6
+ * @category Child Plugin
7
+ * @author iClyde <kontakt@iclyde.pl>
8
+ */
9
+
10
+ // Namespace
11
+ namespace Inisev\Subs;
12
+
13
+ // Disallow direct access
14
+ if (!defined('ABSPATH')) exit;
15
+ ?>
16
+ <div class="etw-carousel-ad-wrapper" style="display: none;">
17
+ <div class="etw-carousel-ad-close-element">
18
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
19
+ <svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
20
+ viewBox="0 0 252 252" style="enable-background:new 0 0 252 252;" xml:space="preserve" fill="white">
21
+ <g>
22
+ <path d="M126,0C56.523,0,0,56.523,0,126s56.523,126,126,126s126-56.523,126-126S195.477,0,126,0z M126,234
23
+ c-59.551,0-108-48.449-108-108S66.449,18,126,18s108,48.449,108,108S185.551,234,126,234z"/>
24
+ <path d="M164.612,87.388c-3.515-3.515-9.213-3.515-12.728,0L126,113.272l-25.885-25.885c-3.515-3.515-9.213-3.515-12.728,0
25
+ c-3.515,3.515-3.515,9.213,0,12.728L113.272,126l-25.885,25.885c-3.515,3.515-3.515,9.213,0,12.728
26
+ c1.757,1.757,4.061,2.636,6.364,2.636s4.606-0.879,6.364-2.636L126,138.728l25.885,25.885c1.757,1.757,4.061,2.636,6.364,2.636
27
+ s4.606-0.879,6.364-2.636c3.515-3.515,3.515-9.213,0-12.728L138.728,126l25.885-25.885
28
+ C168.127,96.601,168.127,90.902,164.612,87.388z"/>
29
+ </g>
30
+ <g></g>
31
+ <g></g>
32
+ <g></g>
33
+ <g></g>
34
+ <g></g>
35
+ <g></g>
36
+ <g></g>
37
+ <g></g>
38
+ <g></g>
39
+ <g></g>
40
+ <g></g>
41
+ <g></g>
42
+ <g></g>
43
+ <g></g>
44
+ <g></g>
45
+ </svg>
46
+ </div>
47
+ <div class="etw-carousel-ad-element">
48
+ <section class="ci-carrinis-wrapper" id="top_level_carrinis">
49
+ <section class="ci-carrinis" id="carrinis">
50
+ <div class="ci-carousel">
51
+ <?php $this->_include('static/tabs'); ?>
52
+ <div class="ci-project-content">
53
+ <?php
54
+
55
+ $bmi_free = $this->is_plugin_installed($this->bmi_slug);
56
+ $bmi_pro = $this->is_plugin_installed($this->bmi_premium);
57
+ $bmi_state = (!$bmi_free || (!$bmi_free && $bmi_pro)) ? 'install' : (($bmi_free && !$bmi_pro) ? 'upgrade' : 'already-installed')
58
+
59
+ ?>
60
+ <div class="ci-project ci-project-BackupMigration <?php echo 'ci-'.$bmi_state.'-state-visible'; ?>">
61
+ <?php
62
+
63
+ if (!$bmi_free || (!$bmi_free && $bmi_pro)) {
64
+ $this->_include('projects/bmi/install');
65
+ } elseif ($bmi_free && !$bmi_pro) {
66
+ $this->_include('projects/bmi/upgrade');
67
+ } elseif ($bmi_free && $bmi_pro) {
68
+ $this->_include('projects/bmi/installed');
69
+ }
70
+
71
+ ?>
72
+ <div class="ci-right-part">
73
+ <img src="<?php $this->_asset('/projects/bmi/imgs/background-images.png'); ?>" class="ci-main-image">
74
+ </div>
75
+ </div>
76
+ <?php
77
+
78
+ $mpu_plugin = $this->is_plugin_installed($this->mpu_slug);
79
+ $mpu_state = $mpu_plugin ? 'already-installed' : 'install';
80
+
81
+ ?>
82
+ <div class="ci-project ci-project-MyPopups <?php echo 'ci-'.$mpu_state.'-state-visible'; ?>">
83
+ <?php
84
+
85
+ if ($mpu_plugin) {
86
+ $this->_include('projects/mpu/installed');
87
+ } else {
88
+ $this->_include('projects/mpu/install');
89
+ }
90
+
91
+ ?>
92
+ <div class="ci-right-part">
93
+ <img src="<?php $this->_asset('/projects/mpu/imgs/background-images.png'); ?>" class="ci-main-image">
94
+ <img src="<?php $this->_asset('/projects/mpu/imgs/background-texture-green.png'); ?>" class="ci-secondary-image">
95
+ </div>
96
+ </div>
97
+ <?php
98
+
99
+ $cdp_free = $this->is_plugin_installed($this->cdp_slug);
100
+ $cdp_pro = $this->is_plugin_installed($this->cdp_premium);
101
+ $cdp_state = (!$cdp_free || (!$cdp_free && $cdp_pro)) ? 'install' : (($cdp_free && !$cdp_pro) ? 'upgrade' : 'already-installed');
102
+
103
+ ?>
104
+ <div class="ci-project ci-project-CopyDeletePosts <?php echo 'ci-'.$cdp_state.'-state-visible'; ?>">
105
+ <?php
106
+
107
+ if (!$cdp_free || (!$cdp_free && $cdp_pro)) {
108
+ $this->_include('projects/cdp/install');
109
+ } elseif ($cdp_free && !$cdp_pro) {
110
+ $this->_include('projects/cdp/upgrade');
111
+ } elseif ($cdp_free && $cdp_pro) {
112
+ $this->_include('projects/cdp/installed');
113
+ }
114
+
115
+ ?>
116
+ <div class="ci-right-part">
117
+ <img src="<?php $this->_asset('/projects/cdp/imgs/secondary-background-image.svg'); ?>" class="ci-secondary-image">
118
+ <img src="<?php $this->_asset('/projects/cdp/imgs/main-background-image.png'); ?>" class="ci-main-image">
119
+ </div>
120
+ </div>
121
+ <div class="ci-project ci-project-TasteWP ci-install-state-visible">
122
+ <?php $this->_include('projects/twp/install'); ?>
123
+ <div class="ci-right-part">
124
+ <img src="<?php $this->_asset('/projects/twp/imgs/background-image-1.svg'); ?>">
125
+ <img src="<?php $this->_asset('/projects/twp/imgs/background-image-2.svg'); ?>">
126
+ <img src="<?php $this->_asset('/projects/twp/imgs/background-image-3.svg'); ?>">
127
+ </div>
128
+ </div>
129
+ <?php
130
+
131
+ $usm_free = $this->is_plugin_installed($this->usm_slug);
132
+ $usm_pro = $this->is_plugin_installed($this->usm_premium);
133
+ $usm_state = (!$usm_free || (!$usm_free && $usm_pro)) ? 'install' : (($usm_free && !$usm_pro) ? 'upgrade' : 'already-installed');
134
+
135
+ ?>
136
+ <div class="ci-project ci-project-SocialShare <?php echo 'ci-'.$usm_state.'-state-visible'; ?>">
137
+ <?php
138
+
139
+ if (!$usm_free || (!$usm_free && $usm_pro)) {
140
+ $this->_include('projects/usm/install');
141
+ $this->_include('projects/usm/part-install');
142
+ } elseif ($usm_free && !$usm_pro) {
143
+ $this->_include('projects/usm/upgrade');
144
+ $this->_include('projects/usm/part-upgrade');
145
+ } elseif ($usm_free && $usm_pro) {
146
+ $this->_include('projects/usm/part-install');
147
+ $this->_include('projects/usm/installed');
148
+ }
149
+
150
+ ?>
151
+ </div>
152
+ <div class="ci-project ci-project-followIt ci-install-state-visible">
153
+ <?php $this->_include('projects/fit/install'); ?>
154
+ </div>
155
+ </div>
156
+ </div>
157
+ <div class="ci-all-projects">
158
+ <a class="ci-see-all-projects" href="https://inisev.com/?utm_source=plugin_widgets&utm_campaign=ETW&utm_medium=carrousel" target="_blank">See all projects</a>
159
+ </div>
160
+ </section>
161
+ </section>
162
+ </div>
163
+ </div>
banner/views/projects/bmi/imgs/background-images.png ADDED
Binary file
banner/views/projects/bmi/imgs/background-texture-grey.png ADDED
Binary file
banner/views/projects/bmi/imgs/big-colored-logo.png ADDED
Binary file
banner/views/projects/bmi/imgs/colored-logo.svg ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ <svg width="27" height="28" viewBox="0 0 27 28" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M13.5991 0.648193C11.8006 0.648193 10.0877 1.00301 8.53385 1.63922V14.9264C8.68067 17.7894 11.0542 20.0651 13.9539 20.0651C15.7035 20.0651 17.2696 19.2331 18.2606 17.9362C18.0159 19.3065 17.3552 20.6156 16.303 21.6801C14.7859 23.1972 12.6081 24.0414 10.467 23.5887C10.1856 23.5276 9.9164 23.4541 9.65946 23.3563C8.05669 22.7812 6.68637 21.5822 5.74428 20.1996C4.6309 18.5602 4.03139 16.6148 4.03139 14.6327C4.03139 14.4982 4.03139 14.3758 4.04362 14.2412V4.67349C1.68228 7.08378 0.226318 10.375 0.226318 14.021C0.226318 21.4109 6.20921 27.3938 13.5991 27.3938C20.989 27.3938 26.9719 21.4109 26.9719 14.021C26.9719 6.63108 20.9768 0.648193 13.5991 0.648193Z" fill="#0F9990"/>
3
+ <path d="M14.896 24.5186C15.8014 24.1026 16.6456 23.5276 17.3919 22.7812C19.3984 20.7747 20.2304 17.6181 19.79 14.8407C19.3862 12.3326 17.3307 9.17596 14.4678 9.23714C14.4678 9.70207 14.4678 10.1792 14.4678 10.6442C14.4678 10.8399 14.3332 11.8432 14.4678 11.9778C14.3943 11.8921 9.76953 7.26731 9.76953 7.26731L14.4678 2.56909V4.73468C19.7043 5.00385 23.8764 9.34725 23.8764 14.645C23.8764 19.7959 19.9245 24.0414 14.896 24.5186Z" fill="#55BDBD"/>
4
+ </svg>
banner/views/projects/bmi/imgs/white-logo.svg ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ <svg width="27" height="28" viewBox="0 0 27 28" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M13.5991 0.648193C11.8006 0.648193 10.0877 1.00301 8.53385 1.63922V14.9264C8.68067 17.7894 11.0542 20.0651 13.9539 20.0651C15.7035 20.0651 17.2696 19.2331 18.2606 17.9362C18.0159 19.3065 17.3552 20.6156 16.303 21.6801C14.7859 23.1972 12.6081 24.0414 10.467 23.5887C10.1856 23.5276 9.9164 23.4541 9.65946 23.3563C8.05669 22.7812 6.68637 21.5822 5.74428 20.1996C4.6309 18.5602 4.03139 16.6148 4.03139 14.6327C4.03139 14.4982 4.03139 14.3758 4.04362 14.2412V4.67349C1.68228 7.08378 0.226318 10.375 0.226318 14.021C0.226318 21.4109 6.20921 27.3938 13.5991 27.3938C20.989 27.3938 26.9719 21.4109 26.9719 14.021C26.9719 6.63108 20.9768 0.648193 13.5991 0.648193Z" fill="white"/>
3
+ <path d="M14.896 24.5186C15.8014 24.1026 16.6456 23.5276 17.3919 22.7812C19.3984 20.7747 20.2304 17.6181 19.79 14.8407C19.3862 12.3326 17.3307 9.17596 14.4678 9.23714C14.4678 9.70207 14.4678 10.1792 14.4678 10.6442C14.4678 10.8399 14.3332 11.8432 14.4678 11.9778C14.3943 11.8921 9.76953 7.26731 9.76953 7.26731L14.4678 2.56909V4.73468C19.7043 5.00385 23.8764 9.34725 23.8764 14.645C23.8764 19.7959 19.9245 24.0414 14.896 24.5186Z" fill="#55BDBD"/>
4
+ </svg>
banner/views/projects/bmi/install.php ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ // Namespace
4
+ namespace Inisev\Subs;
5
+
6
+ // Disallow direct access
7
+ if (!defined('ABSPATH')) exit;
8
+
9
+ ?>
10
+
11
+ <div class="ci-left-part ci-install-state">
12
+ <div class="ci-project-logo">
13
+ <a href="https://backupbliss.com" target="_blank">
14
+ <div class="ci-project-logo-element">
15
+ <img src="<?php $this->_asset('/projects/bmi/imgs/big-colored-logo.png'); ?>">
16
+ <span><b>Backup</b> &<br>Clone & Migration</span>
17
+ </div>
18
+ </a>
19
+ <img src="<?php $this->_asset('/static/imgs/rating.svg'); ?>" class="ci-rating" >
20
+ </div>
21
+ <div class="ci-install-column">
22
+ <ul class="ci-checkmark-list ci-checkmark-list-type-1">
23
+ <li>Create backups & migrate your site</li>
24
+ <li>Don't lose your work / switch to another host with ease</li>
25
+ <li><b>Free</b> <span class="ci-light-font">(optional upgrade to <a href="https://backupbliss.com" target="_blank">premium</a>)</span></li>
26
+ </ul>
27
+ <div class="ci-install-button">
28
+ <button class="ci-inisev-install-plugin" data-slug="bmi">Install plugin now</button>
29
+ <span>(from <a href="https://wordpress.org/plugins/backup-backup/" target="_blank">WP directory</a>)</span>
30
+ </div>
31
+ </div>
32
+ </div>
banner/views/projects/bmi/installed.php ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ // Namespace
4
+ namespace Inisev\Subs;
5
+
6
+ // Disallow direct access
7
+ if (!defined('ABSPATH')) exit;
8
+
9
+ ?>
10
+
11
+ <div class="ci-left-part ci-already-installed-state">
12
+ <div class="ci-already-installed-heading">
13
+ <svg width="42" height="42" viewBox="0 0 42 42" fill="none" xmlns="http://www.w3.org/2000/svg">
14
+ <path d="M40.7975 5.74273C40.1757 5.1268 39.1785 5.1268 38.5567 5.74273L19.5688 24.6779L12.7232 17.24C12.1307 16.5947 11.1276 16.5536 10.4824 17.1461C9.843 17.7385 9.802 18.7416 10.3945 19.381L18.3603 28.0332C18.6478 28.35 19.0584 28.5318 19.4866 28.5436C19.4984 28.5436 19.51 28.5436 19.5218 28.5436C19.9441 28.5436 20.343 28.3793 20.6422 28.0802L40.7916 7.98351C41.4134 7.36759 41.4134 6.36451 40.7975 5.74273ZM40.4162 19.4162C39.5421 19.4162 38.8324 20.126 38.8324 21C38.8324 30.8313 30.8313 38.8324 21 38.8324C11.1687 38.8324 3.16761 30.8313 3.16761 21C3.16761 11.1687 11.1687 3.16758 21 3.16758C21.874 3.16758 22.5838 2.45783 22.5838 1.58381C22.5838 0.709784 21.874 0 21 0C9.42069 0 0 9.42067 0 21C0 32.5793 9.42069 42 21 42C32.5793 42 42 32.5793 42 21C42 20.126 41.2902 19.4162 40.4162 19.4162Z" fill="#6BB4A7"/>
15
+ </svg>
16
+ <p><span class="ci-colored-part">Already installed –</span> now <b>earn affiliate commissions!</b></p>
17
+ </div>
18
+ <p>If you share this plugin, you’ll earn 40% (!) of every sale you helped to generate!</p>
19
+ <p>Just go to <a href="https://sellcodes.com/oZxnXtc2" target="_blank">Sellcodes</a>, click on “Share & earn cash” (next to the title) and follow the steps :)</p>
20
+ <div class="ci-check-it-out-button">
21
+ <a href="https://sellcodes.com/oZxnXtc2" target="_blank" class="ci-button-link ci-round-button">Check it out</a>
22
+ </div>
23
+ </div>
banner/views/projects/bmi/upgrade.php ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ // Namespace
4
+ namespace Inisev\Subs;
5
+
6
+ // Disallow direct access
7
+ if (!defined('ABSPATH')) exit;
8
+
9
+ ?>
10
+
11
+ <div class="ci-left-part ci-upgrade-state">
12
+ <h2>Don’t forget to <b>upgrade to premium</b> for the backup plugin :)</h2>
13
+ <div class="ci-pros-list">
14
+ <div class="ci-pros-list-column">
15
+ <ul class="ci-checkmark-list ci-checkmark-list-type-2">
16
+ <li>Unlimited backup size</li>
17
+ </ul>
18
+ </div>
19
+ <div class="ci-pros-list-column">
20
+ <ul class="ci-checkmark-list ci-checkmark-list-type-2">
21
+ <li>Top support</li>
22
+ </ul>
23
+ </div>
24
+ </div>
25
+ <h2><b>Coming soon:</b></h2>
26
+ <div class="ci-pros-list">
27
+ <div class="ci-pros-list-column">
28
+ <ul class="ci-timer-list">
29
+ <li>External storage</li>
30
+ <li>Encryption</li>
31
+ </ul>
32
+ </div>
33
+ <div class="ci-pros-list-column">
34
+ <ul class="ci-timer-list">
35
+ <li>Smart exclusion rules</li>
36
+ <li class="ci-no-clock ci-fancy-signature">...and so <a href="https://backupbliss.com" target="_blank" class="ci-green-text">much more!</a></li>
37
+ </ul>
38
+ </div>
39
+ </div>
40
+ <div class="ci-submit-button-row">
41
+ <div class="ci-submit-button-wrapper">
42
+ <a href="https://backupbliss.com" target="_blank" class="ci-button-link ci-round-button ci-no-arrow">Upgrade now</a>
43
+ <div class="ci-learn-more-button">
44
+ <a href="https://backupbliss.com" target="_blank">Learn more</a>
45
+ </div>
46
+ </div>
47
+ </div>
48
+ </div>
banner/views/projects/cdp/imgs/background-texture-grey.png ADDED
Binary file
banner/views/projects/cdp/imgs/big-colored-logo.png ADDED
Binary file
banner/views/projects/cdp/imgs/colored-logo.svg ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <svg width="21" height="25" viewBox="0 0 21 25" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M13.9344 24.8565H5.78483C2.80349 24.8565 0.372803 22.4101 0.372803 19.4051V8.14839C0.372803 7.67641 0.750377 7.29881 1.22236 7.29881C1.68647 7.29881 2.07191 7.67641 2.07191 8.14839V19.4051C2.07191 21.4661 3.73958 23.1417 5.78483 23.1417H13.9344C14.4064 23.1417 14.7839 23.5271 14.7839 23.9991C14.7839 24.471 14.4064 24.8565 13.9344 24.8565ZM15.4605 0.486572H6.44563C4.84089 0.486572 3.53507 1.80023 3.53507 3.41283V18.5398C3.53507 20.1524 4.84089 21.4661 6.44563 21.4661H17.8046C19.4094 21.4661 20.7073 20.1524 20.7073 18.5398V5.41874L15.4605 0.486572ZM7.79862 6.5358H12.7702C13.2972 6.5358 13.7299 6.96843 13.7299 7.50335C13.7299 8.03826 13.2972 8.47089 12.7702 8.47089H7.79862C7.26371 8.47089 6.83107 8.03826 6.83107 7.50335C6.83107 6.96843 7.26371 6.5358 7.79862 6.5358ZM16.4123 16.8407H7.79862C7.26371 16.8407 6.83107 16.4081 6.83107 15.8732C6.83107 15.3382 7.26371 14.9056 7.79862 14.9056H16.4123C16.9393 14.9056 17.372 15.3382 17.372 15.8732C17.372 16.4081 16.9393 16.8407 16.4123 16.8407ZM16.4123 12.6479H7.79862C7.26371 12.6479 6.83107 12.2153 6.83107 11.6804C6.83107 11.1455 7.26371 10.7128 7.79862 10.7128H16.4123C16.9393 10.7128 17.372 11.1455 17.372 11.6804C17.372 12.2153 16.9393 12.6479 16.4123 12.6479ZM16.6483 6.09529C15.6492 6.09529 14.839 5.27718 14.839 4.27029V1.25746L19.8027 6.09529H16.6483Z" fill="url(#paint0_linear)"/>
3
+ <defs>
4
+ <linearGradient id="paint0_linear" x1="0.974601" y1="-26.8132" x2="22.3862" y2="-25.5071" gradientUnits="userSpaceOnUse">
5
+ <stop stop-color="#00B371"/>
6
+ <stop offset="0.609375" stop-color="#23D1B7"/>
7
+ <stop offset="1" stop-color="#00B371"/>
8
+ </linearGradient>
9
+ </defs>
10
+ </svg>
banner/views/projects/cdp/imgs/main-background-image.png ADDED
Binary file
banner/views/projects/cdp/imgs/secondary-background-image.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="483" height="256" viewBox="0 0 483 256" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M0.833496 -0.786621H482.254V255.657H252.214L0.833496 -0.786621Z" fill="#6BB4A7"/>
3
+ </svg>
banner/views/projects/cdp/imgs/white-logo.svg ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ <svg width="21" height="25" viewBox="0 0 21 25" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M13.9344 24.8565H5.78483C2.80349 24.8565 0.372803 22.4101 0.372803 19.4051V8.14839C0.372803 7.67641 0.750377 7.29881 1.22236 7.29881C1.68647 7.29881 2.07191 7.67641 2.07191 8.14839V19.4051C2.07191 21.4661 3.73958 23.1417 5.78483 23.1417H13.9344C14.4064 23.1417 14.7839 23.5271 14.7839 23.9991C14.7839 24.471 14.4064 24.8565 13.9344 24.8565ZM15.4605 0.486572H6.44563C4.84089 0.486572 3.53507 1.80023 3.53507 3.41283V18.5398C3.53507 20.1524 4.84089 21.4661 6.44563 21.4661H17.8046C19.4094 21.4661 20.7073 20.1524 20.7073 18.5398V5.41874L15.4605 0.486572ZM7.79862 6.5358H12.7702C13.2972 6.5358 13.7299 6.96843 13.7299 7.50335C13.7299 8.03826 13.2972 8.47089 12.7702 8.47089H7.79862C7.26371 8.47089 6.83107 8.03826 6.83107 7.50335C6.83107 6.96843 7.26371 6.5358 7.79862 6.5358ZM16.4123 16.8407H7.79862C7.26371 16.8407 6.83107 16.4081 6.83107 15.8732C6.83107 15.3382 7.26371 14.9056 7.79862 14.9056H16.4123C16.9393 14.9056 17.372 15.3382 17.372 15.8732C17.372 16.4081 16.9393 16.8407 16.4123 16.8407ZM16.4123 12.6479H7.79862C7.26371 12.6479 6.83107 12.2153 6.83107 11.6804C6.83107 11.1455 7.26371 10.7128 7.79862 10.7128H16.4123C16.9393 10.7128 17.372 11.1455 17.372 11.6804C17.372 12.2153 16.9393 12.6479 16.4123 12.6479ZM16.6483 6.09529C15.6492 6.09529 14.839 5.27718 14.839 4.27029V1.25746L19.8027 6.09529H16.6483Z" fill="url(#paint0_linear)"/>
3
+ <path d="M13.9344 24.8565H5.78483C2.80349 24.8565 0.372803 22.4101 0.372803 19.4051V8.14839C0.372803 7.67641 0.750377 7.29881 1.22236 7.29881C1.68647 7.29881 2.07191 7.67641 2.07191 8.14839V19.4051C2.07191 21.4661 3.73958 23.1417 5.78483 23.1417H13.9344C14.4064 23.1417 14.7839 23.5271 14.7839 23.9991C14.7839 24.471 14.4064 24.8565 13.9344 24.8565ZM15.4605 0.486572H6.44563C4.84089 0.486572 3.53507 1.80023 3.53507 3.41283V18.5398C3.53507 20.1524 4.84089 21.4661 6.44563 21.4661H17.8046C19.4094 21.4661 20.7073 20.1524 20.7073 18.5398V5.41874L15.4605 0.486572ZM7.79862 6.5358H12.7702C13.2972 6.5358 13.7299 6.96843 13.7299 7.50335C13.7299 8.03826 13.2972 8.47089 12.7702 8.47089H7.79862C7.26371 8.47089 6.83107 8.03826 6.83107 7.50335C6.83107 6.96843 7.26371 6.5358 7.79862 6.5358ZM16.4123 16.8407H7.79862C7.26371 16.8407 6.83107 16.4081 6.83107 15.8732C6.83107 15.3382 7.26371 14.9056 7.79862 14.9056H16.4123C16.9393 14.9056 17.372 15.3382 17.372 15.8732C17.372 16.4081 16.9393 16.8407 16.4123 16.8407ZM16.4123 12.6479H7.79862C7.26371 12.6479 6.83107 12.2153 6.83107 11.6804C6.83107 11.1455 7.26371 10.7128 7.79862 10.7128H16.4123C16.9393 10.7128 17.372 11.1455 17.372 11.6804C17.372 12.2153 16.9393 12.6479 16.4123 12.6479ZM16.6483 6.09529C15.6492 6.09529 14.839 5.27718 14.839 4.27029V1.25746L19.8027 6.09529H16.6483Z" fill="white"/>
4
+ <defs>
5
+ <linearGradient id="paint0_linear" x1="0.974601" y1="-26.8132" x2="22.3862" y2="-25.5071" gradientUnits="userSpaceOnUse">
6
+ <stop stop-color="#00B371"/>
7
+ <stop offset="0.609375" stop-color="#23D1B7"/>
8
+ <stop offset="1" stop-color="#00B371"/>
9
+ </linearGradient>
10
+ </defs>
11
+ </svg>
banner/views/projects/cdp/install.php ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ // Namespace
4
+ namespace Inisev\Subs;
5
+
6
+ // Disallow direct access
7
+ if (!defined('ABSPATH')) exit;
8
+
9
+ ?>
10
+
11
+ <div class="ci-left-part ci-install-state">
12
+ <div class="ci-project-logo">
13
+ <a href="https://wordpress.org/plugins/copy-delete-posts/" target="_blank">
14
+ <div class="ci-project-logo-element">
15
+ <img src="<?php $this->_asset('/projects/cdp/imgs/big-colored-logo.png'); ?>">
16
+ <span>Copy & Delete<br><b>posts</b></span>
17
+ </div>
18
+ </a>
19
+ <img src="<?php $this->_asset('/static/imgs/rating.svg'); ?>" class="ci-rating">
20
+ </div>
21
+ <div class="ci-install-column">
22
+ <ul class="ci-checkmark-list ci-checkmark-list-type-1">
23
+ <li>Copy posts & pages with one click</li>
24
+ <li>Save a lot of time!</li>
25
+ <li><b>Free</b> <span class="ci-light-font">(optional upgrade to <a href="https://sellcodes.com/CylMIdJD" target="_blank">premium</a>)</span></li>
26
+ </ul>
27
+ <div class="ci-install-button">
28
+ <button class="ci-inisev-install-plugin" data-slug="cdp">Install plugin now</button>
29
+ <span>(from <a href="https://wordpress.org/plugins/copy-delete-posts/" target="_blank">WP directory</a>)</span>
30
+ </div>
31
+ </div>
32
+ </div>
banner/views/projects/cdp/installed.php ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ // Namespace
4
+ namespace Inisev\Subs;
5
+
6
+ // Disallow direct access
7
+ if (!defined('ABSPATH')) exit;
8
+
9
+ ?>
10
+
11
+ <div class="ci-left-part ci-already-installed-state">
12
+ <div class="ci-already-installed-heading">
13
+ <svg width="42" height="42" viewBox="0 0 42 42" fill="none" xmlns="http://www.w3.org/2000/svg">
14
+ <path d="M40.7975 5.74273C40.1757 5.1268 39.1785 5.1268 38.5567 5.74273L19.5688 24.6779L12.7232 17.24C12.1307 16.5947 11.1276 16.5536 10.4824 17.1461C9.843 17.7385 9.802 18.7416 10.3945 19.381L18.3603 28.0332C18.6478 28.35 19.0584 28.5318 19.4866 28.5436C19.4984 28.5436 19.51 28.5436 19.5218 28.5436C19.9441 28.5436 20.343 28.3793 20.6422 28.0802L40.7916 7.98351C41.4134 7.36759 41.4134 6.36451 40.7975 5.74273ZM40.4162 19.4162C39.5421 19.4162 38.8324 20.126 38.8324 21C38.8324 30.8313 30.8313 38.8324 21 38.8324C11.1687 38.8324 3.16761 30.8313 3.16761 21C3.16761 11.1687 11.1687 3.16758 21 3.16758C21.874 3.16758 22.5838 2.45783 22.5838 1.58381C22.5838 0.709784 21.874 0 21 0C9.42069 0 0 9.42067 0 21C0 32.5793 9.42069 42 21 42C32.5793 42 42 32.5793 42 21C42 20.126 41.2902 19.4162 40.4162 19.4162Z" fill="#6BB4A7"/>
15
+ </svg>
16
+ <p><span class="ci-colored-part">Already installed –</span> now <b>earn affiliate commissions!</b></p>
17
+ </div>
18
+ <p>If you share this plugin, you’ll earn 40% (!) of every sale you helped to generate!</p>
19
+ <p>Just go to <a href="https://sellcodes.com/CylMIdJD" target="_blank">Sellcodes</a>, click on “Share & earn cash” (next to the title) and follow the steps :)</p>
20
+ <div class="ci-check-it-out-button">
21
+ <a href="https://sellcodes.com/CylMIdJD" target="_blank" class="ci-button-link ci-round-button">Check it out</a>
22
+ </div>
23
+ </div>
banner/views/projects/cdp/upgrade.php ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ // Namespace
4
+ namespace Inisev\Subs;
5
+
6
+ // Disallow direct access
7
+ if (!defined('ABSPATH')) exit;
8
+
9
+ ?>
10
+
11
+ <div class="ci-left-part ci-upgrade-state">
12
+ <h2>Don’t forget to <b>upgrade to premium</b><br/>for the copy posts plugin :)</h2>
13
+ <div class="ci-pros-list">
14
+ <div class="ci-pros-list-column">
15
+ <ul class="ci-checkmark-list ci-checkmark-list-type-2">
16
+ <li>Import & export settings</li>
17
+ <li>Multisite support</li>
18
+ <li>Automatic redirects</li>
19
+ </ul>
20
+ </div>
21
+ <div class="ci-pros-list-column">
22
+ <ul class="ci-checkmark-list ci-checkmark-list-type-2">
23
+ <li>Also copy 3rd party infos</li>
24
+ <li>Auto-delete posts</li>
25
+ <li class="ci-no-checkmark ci-fancy-signature">...and so <a href="https://sellcodes.com/CylMIdJD" target="_blank" class="ci-green-text">much more!</a></li>
26
+ </ul>
27
+ </div>
28
+ </div>
29
+ <div class="ci-submit-button-row">
30
+ <div class="ci-submit-button-wrapper">
31
+ <a href="https://wordpress.org/plugins/copy-delete-posts/" target="_blank" class="ci-button-link ci-round-button ci-no-arrow">Upgrade now</a>
32
+ <div class="ci-learn-more-button">
33
+ <a href="https://sellcodes.com/CylMIdJD" target="_blank">Learn more</a>
34
+ </div>
35
+ </div>
36
+ </div>
37
+ </div>
banner/views/projects/fit/imgs/background-bottom-left.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="230" height="254" viewBox="0 0 230 254" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M217.1 231.375L54.353 392.234C28.1974 418.091 -16.5464 399.77 -16.5464 363.199V307.01H-90.7812C-181.653 307.01 -241.807 338.641 -279.582 397.111C-288.392 410.712 -309.584 404.867 -309.584 388.71V307.002C-309.584 187.583 -211.632 90.7717 -90.797 90.7717H-16.5464V41.4968C-16.5464 4.92615 28.1974 -13.3946 54.353 12.47L217.1 173.329C233.32 189.353 233.32 215.343 217.108 231.375C217.1 231.375 217.1 231.383 217.1 231.383" fill="#F5F9FC"/>
3
+ </svg>
banner/views/projects/fit/imgs/background-bottom-right.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="192" height="171" viewBox="0 0 192 171" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M13.8524 191.986L193.355 14.5681C222.216 -13.9474 271.562 6.25337 271.562 46.5842V108.563H353.451C453.684 108.563 520.029 73.668 561.705 9.18749C571.42 -5.82151 594.798 0.628917 594.798 18.4462V108.571C594.798 240.285 486.746 347.063 353.466 347.063H271.562V401.412C271.562 441.75 222.216 461.951 193.355 433.428L13.8524 256.002C-4.04355 238.327 -4.04356 209.669 13.8367 191.986C13.8445 191.978 13.8445 191.97 13.8524 191.97" fill="#06B04E"/>
3
+ </svg>
banner/views/projects/fit/imgs/background-top-left.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="176" height="133" viewBox="0 0 176 133" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M163.609 -40.3742L0.861816 120.485C-25.2938 146.342 -70.0376 128.021 -70.0376 91.4501V35.2608H-144.272C-235.145 35.2608 -295.299 66.8914 -333.073 125.362C-341.883 138.963 -363.075 133.118 -363.075 116.961V35.2529C-363.075 -84.1662 -265.123 -180.977 -144.288 -180.977H-70.0376V-230.252C-70.0376 -266.823 -25.2938 -285.144 0.861816 -259.279L163.609 -98.42C179.829 -82.3963 179.829 -56.4059 163.617 -40.3742C163.609 -40.3742 163.609 -40.3664 163.609 -40.3664" fill="#06B04E"/>
3
+ </svg>
banner/views/projects/fit/imgs/background-top-right.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="299" height="211" viewBox="0 0 299 211" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M16.2141 -80.6894L221.038 -283.224C253.959 -315.783 310.274 -292.719 310.274 -246.677V-175.92H403.703C518.072 -175.92 593.778 -215.755 641.322 -289.368C652.406 -306.501 679.088 -299.138 679.088 -278.796V-175.912C679.088 -25.5463 555.799 96.3507 403.719 96.3507H310.274V158.393C310.274 204.442 253.959 227.506 221.038 194.94L16.2141 -7.59531C-4.19908 -27.7804 -4.20696 -60.5044 16.1984 -80.6894C16.2062 -80.6894 16.2141 -80.6973 16.2141 -80.6973" fill="#F5F9FC"/>
3
+ </svg>
banner/views/projects/fit/imgs/big-colored-logo.png ADDED
Binary file
banner/views/projects/fit/imgs/colored-logo.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="23" height="17" viewBox="0 0 23 17" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M21.5815 7.04511L15.0996 0.641888C14.0534 -0.388604 12.2677 0.335077 12.2677 1.79822V4.03228H9.30997C5.69144 4.03228 3.2922 2.77367 1.78186 0.445229C1.43574 -0.0975492 0.586182 0.138428 0.586182 0.775603V4.03228C0.586182 8.79143 4.49576 12.646 9.30997 12.646H12.2677V14.6125C12.2677 16.0678 14.0534 16.7994 15.0996 15.7689L21.5815 9.35782C22.2344 8.72065 22.2344 7.69015 21.5815 7.04511Z" fill="#06B04E"/>
3
+ </svg>
banner/views/projects/fit/imgs/face1.png ADDED
Binary file
banner/views/projects/fit/imgs/face2.png ADDED
Binary file
banner/views/projects/fit/imgs/face3.png ADDED
Binary file
banner/views/projects/fit/imgs/face4.png ADDED
Binary file
banner/views/projects/fit/imgs/white-logo.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="23" height="17" viewBox="0 0 23 17" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M21.5815 7.04511L15.0996 0.641888C14.0534 -0.388604 12.2677 0.335077 12.2677 1.79822V4.03228H9.30997C5.69144 4.03228 3.2922 2.77367 1.78186 0.445229C1.43574 -0.0975492 0.586182 0.138428 0.586182 0.775603V4.03228C0.586182 8.79143 4.49576 12.646 9.30997 12.646H12.2677V14.6125C12.2677 16.0678 14.0534 16.7994 15.0996 15.7689L21.5815 9.35782C22.2344 8.72065 22.2344 7.69015 21.5815 7.04511Z" fill="white"/>
3
+ </svg>
banner/views/projects/fit/install.php ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ // Namespace
4
+ namespace Inisev\Subs;
5
+
6
+ // Disallow direct access
7
+ if (!defined('ABSPATH')) exit;
8
+
9
+ ?>
10
+
11
+ <img src="<?php $this->_asset('/projects/fit/imgs/background-bottom-left.svg'); ?>" class="ci-background-bottom-left">
12
+ <img src="<?php $this->_asset('/projects/fit/imgs/background-top-left.svg'); ?>" class="ci-background-top-left">
13
+ <div class="ci-left-part ci-install-state">
14
+ <div class="ci-project-logo">
15
+ <a href="https://follow.it" target="_blank">
16
+ <img src="<?php $this->_asset('/projects/fit/imgs/big-colored-logo.png'); ?>">
17
+ </a>
18
+ </div>
19
+ <div class="ci-install-column">
20
+ <ul class="ci-checkmark-list ci-checkmark-list-type-1">
21
+ <li>Alert your website visitors about new posts automatically</li>
22
+ <li>Make them come back & increase your traffic</li>
23
+ <li><b>Free</b> <span class="ci-light-font">(<a href="http://follow.it/features-and-pricing" target="_blank">basic plan</a>)</span></li>
24
+ </ul>
25
+ <div class="ci-install-button">
26
+ <a href="https://follow.it/intro" target="_blank" class="ci-button-link ci-round-button">Check it out</a>
27
+ </div>
28
+ </div>
29
+ </div>
30
+ <div class="ci-right-part">
31
+ <img src="<?php $this->_asset('/projects/fit/imgs/background-top-right.svg'); ?>" class="ci-background-top-right">
32
+ <img src="<?php $this->_asset('/projects/fit/imgs/background-bottom-right.svg'); ?>" class="ci-background-bottom-right">
33
+ <img src="<?php $this->_asset('/projects/fit/imgs/face1.png'); ?>" class="ci-face-image-1">
34
+ <img src="<?php $this->_asset('/projects/fit/imgs/face2.png'); ?>" class="ci-face-image-2">
35
+ <img src="<?php $this->_asset('/projects/fit/imgs/face3.png'); ?>" class="ci-face-image-3">
36
+ <img src="<?php $this->_asset('/projects/fit/imgs/face4.png'); ?>" class="ci-face-image-4">
37
+ </div>
banner/views/projects/mpu/imgs/background-images.png ADDED
Binary file
banner/views/projects/mpu/imgs/background-texture-green.png ADDED
Binary file
banner/views/projects/mpu/imgs/background-texture-grey.png ADDED
Binary file
banner/views/projects/mpu/imgs/big-colored-logo.png ADDED
Binary file
banner/views/projects/mpu/imgs/colored-logo.svg ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <svg width="19" height="26" viewBox="0 0 19 26" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M10.897 22.5106C9.25291 22.4634 7.79766 21.6611 6.83796 20.4418C6.39744 19.9698 6.12212 19.3405 6.12212 18.6403V8.74448C6.12212 7.41507 5.11521 6.29017 3.79366 6.15645L0.946045 5.87327V17.4368C0.946045 21.6925 4.26564 25.2874 8.48987 25.4054C12.8714 25.5234 16.4664 21.9835 16.4664 17.602V17.0671C16.4664 20.1271 13.957 22.5972 10.897 22.5106ZM18.1812 4.24493C18.0082 4.32359 17.7722 4.40226 17.489 4.47306C16.9305 4.59105 16.4664 5.15744 16.4664 5.73168V15.3208C16.4664 18.3729 13.957 20.8429 10.9049 20.7643C10.6846 20.7564 10.4643 20.7328 10.2598 20.7013C10.8891 20.1979 11.2903 19.4113 11.2903 18.5538V5.73168C11.2903 5.1181 10.8655 4.60678 10.2756 4.46519C10.0081 4.40225 9.77997 4.32359 9.61478 4.24493C9.43386 4.17413 9.3945 3.93028 9.54396 3.80441L10.661 2.86832L13.5716 0.437616C13.7603 0.272422 14.0435 0.272422 14.2323 0.437616L17.1271 2.86832L18.252 3.80441C18.4015 3.93028 18.3622 4.16626 18.1812 4.24493Z" fill="url(#paint0_linear)"/>
3
+ <defs>
4
+ <linearGradient id="paint0_linear" x1="1.26739" y1="-17.6871" x2="26.6779" y2="-16.7173" gradientUnits="userSpaceOnUse">
5
+ <stop stop-color="#00938D"/>
6
+ <stop offset="1" stop-color="#35339F"/>
7
+ </linearGradient>
8
+ </defs>
9
+ </svg>
banner/views/projects/mpu/imgs/white-logo.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="19" height="26" viewBox="0 0 19 26" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M10.897 22.5106C9.25291 22.4634 7.79766 21.6611 6.83796 20.4418C6.39744 19.9698 6.12212 19.3405 6.12212 18.6403V8.74448C6.12212 7.41507 5.11521 6.29017 3.79366 6.15645L0.946045 5.87327V17.4368C0.946045 21.6925 4.26564 25.2874 8.48987 25.4054C12.8714 25.5234 16.4664 21.9835 16.4664 17.602V17.0671C16.4664 20.1271 13.957 22.5972 10.897 22.5106ZM18.1812 4.24493C18.0082 4.32359 17.7722 4.40226 17.489 4.47306C16.9305 4.59105 16.4664 5.15744 16.4664 5.73168V15.3208C16.4664 18.3729 13.957 20.8429 10.9049 20.7643C10.6846 20.7564 10.4643 20.7328 10.2598 20.7013C10.8891 20.1979 11.2903 19.4113 11.2903 18.5538V5.73168C11.2903 5.1181 10.8655 4.60678 10.2756 4.46519C10.0081 4.40225 9.77997 4.32359 9.61478 4.24493C9.43386 4.17413 9.3945 3.93028 9.54396 3.80441L10.661 2.86832L13.5716 0.437616C13.7603 0.272422 14.0435 0.272422 14.2323 0.437616L17.1271 2.86832L18.252 3.80441C18.4015 3.93028 18.3622 4.16626 18.1812 4.24493Z" fill="white"/>
3
+ </svg>
banner/views/projects/mpu/install.php ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ // Namespace
4
+ namespace Inisev\Subs;
5
+
6
+ // Disallow direct access
7
+ if (!defined('ABSPATH')) exit;
8
+
9
+ ?>
10
+
11
+ <div class="ci-left-part ci-install-state">
12
+ <div class="ci-project-logo">
13
+ <a href="https://mypoups.com" target="_blank">
14
+ <img src="<?php $this->_asset('/projects/mpu/imgs/big-colored-logo.png'); ?>">
15
+ </a>
16
+ <img src="<?php $this->_asset('/static/imgs/rating.svg'); ?>" class="ci-rating" >
17
+ </div>
18
+ <div class="ci-install-column">
19
+ <ul class="ci-checkmark-list ci-checkmark-list-type-1">
20
+ <li>Create cool pop-ups with ease</li>
21
+ <li>Increase conversions, show discount codes & cookie notices, stop ad-blockers etc.</li>
22
+ <li><b>Free</b> <span class="ci-light-font">on <a href="https://mypopups.com" target="_blank" >basic plan</a></span></li>
23
+ </ul>
24
+ <div class="ci-install-button">
25
+ <button class="ci-inisev-install-plugin" data-slug="mpu">Install plugin now</button>
26
+ <span>(from <a href="https://wordpress.org/plugins/pop-up-pop-up/" target="_blank">WP directory</a>)</span>
27
+ </div>
28
+ </div>
29
+ </div>
banner/views/projects/mpu/installed.php ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ // Namespace
4
+ namespace Inisev\Subs;
5
+
6
+ // Disallow direct access
7
+ if (!defined('ABSPATH')) exit;
8
+
9
+ ?>
10
+
11
+ <div class="ci-left-part ci-already-installed-state">
12
+ <div class="ci-already-installed-heading">
13
+ <svg width="42" height="42" viewBox="0 0 42 42" fill="none" xmlns="http://www.w3.org/2000/svg">
14
+ <path d="M40.7975 5.74273C40.1757 5.1268 39.1785 5.1268 38.5567 5.74273L19.5688 24.6779L12.7232 17.24C12.1307 16.5947 11.1276 16.5536 10.4824 17.1461C9.843 17.7385 9.802 18.7416 10.3945 19.381L18.3603 28.0332C18.6478 28.35 19.0584 28.5318 19.4866 28.5436C19.4984 28.5436 19.51 28.5436 19.5218 28.5436C19.9441 28.5436 20.343 28.3793 20.6422 28.0802L40.7916 7.98351C41.4134 7.36759 41.4134 6.36451 40.7975 5.74273ZM40.4162 19.4162C39.5421 19.4162 38.8324 20.126 38.8324 21C38.8324 30.8313 30.8313 38.8324 21 38.8324C11.1687 38.8324 3.16761 30.8313 3.16761 21C3.16761 11.1687 11.1687 3.16758 21 3.16758C21.874 3.16758 22.5838 2.45783 22.5838 1.58381C22.5838 0.709784 21.874 0 21 0C9.42069 0 0 9.42067 0 21C0 32.5793 9.42069 42 21 42C32.5793 42 42 32.5793 42 21C42 20.126 41.2902 19.4162 40.4162 19.4162Z" fill="#00B47C"/>
15
+ </svg>
16
+ <p><span class="ci-colored-part">Already installed –</span> now <b>earn affiliate commissions!</b></p>
17
+ </div>
18
+ <p>If you share MyPopUps, you’ll earn 40% (!) of every sale you helped to generate!</p>
19
+ <p>Just go to <a href="https://sellcodes.com/QK5UTpg3" target="_blank">Sellcodes</a>, click on “Share & earn cash” (next to the title) and follow the steps :)</p>
20
+ <div class="ci-check-it-out-button">
21
+ <a href="https://sellcodes.com/QK5UTpg3" target="_blank" class="ci-button-link ci-round-button">Check it out</a>
22
+ </div>
23
+ </div>
banner/views/projects/twp/imgs/background-image-1.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="1078" height="256" viewBox="0 0 1078 256" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M1182.6 -319.374H-16.9554V42.1165C-16.9554 42.1165 109.126 138.472 226.831 138.472C344.527 138.472 421.012 96.8271 540.966 96.8271C656.404 96.8271 682.788 222.319 863.683 222.319C1044.59 222.319 1182.6 268.589 1182.6 268.589V-319.374Z" fill="#F8F8FF"/>
3
+ </svg>
banner/views/projects/twp/imgs/background-image-2.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="213" height="78" viewBox="0 0 213 78" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path opacity="0.4" d="M154.555 76.8799C185.06 79.5915 248.394 64.2906 229.994 -18.4117L223.119 -142.175L53.4532 -123.387C47.7396 -111.282 36.1187 -83.5857 35.1503 -70.2216C33.8913 -53.4681 30.3082 -40.3946 23.2388 -30.42C16.1694 -20.4453 -7.1693 -13.4728 2.61164 2.69967C15.8789 24.5857 63.912 20.6153 85.6044 32.0425C110.493 45.2129 124.05 74.2652 154.555 76.8799Z" fill="#FE7269"/>
3
+ </svg>
banner/views/projects/twp/imgs/background-image-3.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="156" height="104" viewBox="0 0 156 104" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M134.936 100.316C164.182 109.322 229.356 107.579 228.581 22.8428L247.659 -99.5643L77.7998 -116.512C69.762 -105.859 52.6211 -81.1645 48.8443 -68.2847C44.0991 -52.2091 37.9012 -40.1039 28.895 -31.8725C19.8888 -23.641 -4.32145 -21.6073 1.87637 -3.78854C10.3015 20.3249 58.141 26.5227 76.9282 42.1141C98.4269 60.1265 105.69 91.3094 134.936 100.316Z" fill="#FE7269"/>
3
+ </svg>
banner/views/projects/twp/imgs/big-colored-logo.png ADDED
Binary file
banner/views/projects/twp/imgs/colored-logo.svg ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 25.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns:v="https://vecta.io/nano"
4
+ xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 45 46"
5
+ style="enable-background:new 0 0 45 46;" xml:space="preserve">
6
+ <style type="text/css">
7
+ .st0{fill:#FE7269;}
8
+ .st1{fill:url(#SVGID_1_);}
9
+ </style>
10
+ <path class="st0" d="M5.3,0h4.6c2.9,0,5.3,2.4,5.3,5.3v0c0,2.9-2.4,5.3-5.3,5.3H5.3C2.4,10.7,0,8.3,0,5.3v0C0,2.4,2.4,0,5.3,0z"/>
11
+ <linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="22.5097" y1="23.1416" x2="27.8497" y2="39.5406" gradientTransform="matrix(1 0 0 -1 0 48)">
12
+ <stop offset="0" style="stop-color:#FE7269"/>
13
+ <stop offset="1" style="stop-color:#800901"/>
14
+ </linearGradient>
15
+ <path class="st1" d="M22.9,45c2.9,0,5.3-2.4,5.3-5.3V2.5c0-1.4-1.1-2.5-2.5-2.5c-4.5,0-8.2,3.7-8.2,8.2v31.5
16
+ C17.5,42.6,19.9,45,22.9,45L22.9,45z"/>
17
+ <path class="st0" d="M28.2,10.7c-8.4,0.4-10.7,8.2-10.7,8.2l0-10.7c0-4.5,3.7-8.2,8.2-8.2h13.1c2.9,0,5.3,2.4,5.3,5.3
18
+ c0,2.9-2.4,5.3-5.3,5.3L28.2,10.7L28.2,10.7z"/>
19
+ </svg>
banner/views/projects/twp/imgs/white-logo.svg ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 25.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns:v="https://vecta.io/nano"
4
+ xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 45 46"
5
+ style="enable-background:new 0 0 45 46;" xml:space="preserve">
6
+ <style type="text/css">
7
+ .st0{fill:#FFFFFF;}
8
+ .st1{fill:url(#SVGID_1_);}
9
+ </style>
10
+ <path class="st0" d="M5.3,0h4.6c2.9,0,5.3,2.4,5.3,5.3v0c0,2.9-2.4,5.3-5.3,5.3H5.3C2.4,10.7,0,8.3,0,5.3v0C0,2.4,2.4,0,5.3,0z"/>
11
+ <linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="22.9588" y1="22.5937" x2="23.5707" y2="1.6388">
12
+ <stop offset="0" style="stop-color:#FFFFFF"/>
13
+ <stop offset="1" style="stop-color:#A1A1A1"/>
14
+ </linearGradient>
15
+ <path class="st1" d="M22.9,45c2.9,0,5.3-2.3,5.3-5V5c0-1.3-1.1-2.3-2.5-2.3c-4.5,0-8.2,3.5-8.2,7.7V40C17.5,42.8,19.9,45,22.9,45
16
+ L22.9,45z"/>
17
+ <path class="st0" d="M28.2,10.7c-8.4,0.4-10.7,8.2-10.7,8.2l0-10.7c0-4.5,3.7-8.2,8.2-8.2h13.1c2.9,0,5.3,2.4,5.3,5.3
18
+ c0,2.9-2.4,5.3-5.3,5.3L28.2,10.7L28.2,10.7z"/>
19
+ </svg>
banner/views/projects/twp/install.php ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ // Namespace
4
+ namespace Inisev\Subs;
5
+
6
+ // Disallow direct access
7
+ if (!defined('ABSPATH')) exit;
8
+
9
+ ?>
10
+
11
+ <div class="ci-left-part ci-install-state">
12
+ <div class="ci-project-logo">
13
+ <a href="https://tastewp.com" target="_blank">
14
+ <img src="<?php $this->_asset('/projects/twp/imgs/big-colored-logo.png'); ?>">
15
+ </a>
16
+ </div>
17
+ <div class="ci-install-column">
18
+ <ul class="ci-checkmark-list ci-checkmark-list-type-1">
19
+ <li>Spin up a WordPress instance with one click <br class="ci-additional-text-break"><span class="ci-light-font">(without being logged in!)</span></li>
20
+ <li>Test things out before doing it on your “real” site</li>
21
+ <li><b>100% Free!</b></li>
22
+ </ul>
23
+ <div class="ci-install-button">
24
+ <a href="https://tastewp.com" target="_blank" class="ci-button-link ci-round-button">Check it out</a>
25
+ </div>
26
+ </div>
27
+ </div>
banner/views/projects/usm/imgs/background-icons.png ADDED
Binary file
banner/views/projects/usm/imgs/background-image.png ADDED
Binary file
banner/views/projects/usm/imgs/big-colored-logo.png ADDED
Binary file
banner/views/projects/usm/imgs/colored-logo.svg ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <svg width="22" height="28" viewBox="0 0 22 28" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M21.0089 8.33664C21.8978 10.0672 21.4023 11.7664 20.301 12.7733C19.066 13.906 17.1387 14.0004 15.7935 12.9385C15.5576 12.7576 15.3845 12.7339 15.1092 12.8755C12.6391 14.1184 10.1612 15.3456 7.69121 16.5885C7.54961 16.6593 7.30575 16.675 7.39228 16.9424C7.49454 17.2414 7.17202 17.6111 7.68333 17.855C10.2006 19.0821 12.7021 20.3486 15.2036 21.615C15.4238 21.733 15.5497 21.6937 15.7385 21.5443C17.8309 19.9081 20.7258 20.915 21.3787 23.4951C21.9136 25.6348 20.238 27.7666 18.0512 27.8374C16.4307 27.8924 14.5035 26.6653 14.4484 24.4076C14.4405 23.8413 14.2281 23.6996 13.8348 23.503C11.4041 22.323 8.97341 21.1352 6.5427 19.9395C6.40111 19.8687 6.28313 19.8294 6.14153 19.9474C5.00091 20.8756 3.75015 20.9543 2.41287 20.4587C1.47677 19.9395 0.776662 19.2158 0.493473 18.146C0.115888 16.7143 0.642952 15.1961 1.81504 14.3544C3.03432 13.4734 4.62332 13.4026 5.81901 14.2679C6.23593 14.5668 6.5191 14.5196 6.91242 14.323C9.24873 13.1666 11.5929 12.0181 13.9371 10.8854C14.2753 10.7202 14.4484 10.5786 14.4327 10.1144C14.4012 8.58837 15.4474 7.21962 16.8634 6.76337C18.3422 6.28352 19.8841 6.80273 20.8123 8.07708C20.8752 8.16361 20.9381 8.25011 21.0089 8.33664ZM10.1927 8.03771C8.4857 8.45463 7.4316 9.49303 6.95962 11.2787C6.48764 9.50877 5.44142 8.45467 3.70296 8.02989C5.42569 7.59724 6.50339 6.55098 6.95177 4.80465C7.51028 6.70831 8.61156 7.62866 10.1927 8.03771ZM12.7493 0.816406C13.0561 1.85476 13.646 2.45263 14.6372 2.71222C13.6775 3.00328 13.0324 3.56178 12.7571 4.62374C12.4503 3.60112 11.8525 2.99542 10.8456 2.7201C11.8446 2.44478 12.4425 1.85476 12.7493 0.816406Z" fill="url(#paint0_linear)"/>
3
+ <defs>
4
+ <linearGradient id="paint0_linear" x1="3.31426" y1="-21.2976" x2="26.4714" y2="-19.3391" gradientUnits="userSpaceOnUse">
5
+ <stop stop-color="#FFA100"/>
6
+ <stop offset="0.5" stop-color="#FFC700"/>
7
+ <stop offset="1" stop-color="#FFA100"/>
8
+ </linearGradient>
9
+ </defs>
10
+ </svg>
banner/views/projects/usm/imgs/play-icon.png ADDED
Binary file
banner/views/projects/usm/imgs/ribbon-icon.png ADDED
Binary file
banner/views/projects/usm/imgs/video-background.png ADDED
Binary file
banner/views/projects/usm/imgs/white-logo.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="22" height="28" viewBox="0 0 22 28" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M21.0089 8.33664C21.8978 10.0672 21.4023 11.7664 20.301 12.7733C19.066 13.906 17.1387 14.0004 15.7935 12.9385C15.5576 12.7576 15.3845 12.7339 15.1092 12.8755C12.6391 14.1184 10.1612 15.3456 7.69121 16.5885C7.54961 16.6593 7.30575 16.675 7.39228 16.9424C7.49454 17.2414 7.17202 17.6111 7.68333 17.855C10.2006 19.0821 12.7021 20.3486 15.2036 21.615C15.4238 21.733 15.5497 21.6937 15.7385 21.5443C17.8309 19.9081 20.7258 20.915 21.3787 23.4951C21.9136 25.6348 20.238 27.7666 18.0512 27.8374C16.4307 27.8924 14.5035 26.6653 14.4484 24.4076C14.4405 23.8413 14.2281 23.6996 13.8348 23.503C11.4041 22.323 8.97341 21.1352 6.5427 19.9395C6.40111 19.8687 6.28313 19.8294 6.14153 19.9474C5.00091 20.8756 3.75015 20.9543 2.41287 20.4587C1.47677 19.9395 0.776662 19.2158 0.493473 18.146C0.115888 16.7143 0.642952 15.1961 1.81504 14.3544C3.03432 13.4734 4.62332 13.4026 5.81901 14.2679C6.23593 14.5668 6.5191 14.5196 6.91242 14.323C9.24873 13.1666 11.5929 12.0181 13.9371 10.8854C14.2753 10.7202 14.4484 10.5786 14.4327 10.1144C14.4012 8.58837 15.4474 7.21962 16.8634 6.76337C18.3422 6.28352 19.8841 6.80273 20.8123 8.07708C20.8752 8.16361 20.9381 8.25011 21.0089 8.33664ZM10.1927 8.03771C8.4857 8.45463 7.4316 9.49303 6.95962 11.2787C6.48764 9.50877 5.44142 8.45467 3.70296 8.02989C5.42569 7.59724 6.50339 6.55098 6.95177 4.80465C7.51028 6.70831 8.61156 7.62866 10.1927 8.03771ZM12.7493 0.816406C13.0561 1.85476 13.646 2.45263 14.6372 2.71222C13.6775 3.00328 13.0324 3.56178 12.7571 4.62374C12.4503 3.60112 11.8525 2.99542 10.8456 2.7201C11.8446 2.44478 12.4425 1.85476 12.7493 0.816406Z" fill="white"/>
3
+ </svg>
banner/views/projects/usm/install.php ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ // Namespace
4
+ namespace Inisev\Subs;
5
+
6
+ // Disallow direct access
7
+ if (!defined('ABSPATH')) exit;
8
+
9
+ ?>
10
+
11
+ <div class="ci-left-part ci-install-state">
12
+ <div class="ci-project-logo">
13
+ <a href="https://www.ultimatelysocial.com/usm-premium/" target="_blank">
14
+ <img src="<?php $this->_asset('/projects/usm/imgs/big-colored-logo.png'); ?>">
15
+ </a>
16
+ <img src="<?php $this->_asset('/static/imgs/rating.svg'); ?>">
17
+ </div>
18
+ <div class="ci-install-column">
19
+ <ul class="ci-checkmark-list ci-checkmark-list-type-1">
20
+ <li>Show social media & sharing icons</li>
21
+ <li>Maximize shares for more traffic</li>
22
+ <li><b>Free</b> <span class="ci-light-font">(optional upgrade to <a href="https://www.ultimatelysocial.com/usm-premium/" target="_blank">premium</a>)</span></li>
23
+ </ul>
24
+ <div class="ci-install-button">
25
+ <button class="ci-inisev-install-plugin" data-slug="usm">Install plugin now</button>
26
+ <span>(from <a href="https://wordpress.org/plugins/ultimate-social-media-icons/" target="_blank">WP directory</a>)</span>
27
+ </div>
28
+ </div>
29
+ </div>
banner/views/projects/usm/installed.php ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ // Namespace
4
+ namespace Inisev\Subs;
5
+
6
+ // Disallow direct access
7
+ if (!defined('ABSPATH')) exit;
8
+
9
+ ?>
10
+
11
+ <div class="ci-left-part ci-already-installed-state">
12
+ <div class="ci-big-colored-logo">
13
+ <img src="<?php $this->_asset('/projects/usm/imgs/big-colored-logo.png'); ?>">
14
+ </div>
15
+ <div class="ci-already-installed-element">
16
+ <div class="ci-already-installed-heading">
17
+ <svg width="42" height="42" viewBox="0 0 42 42" fill="none" xmlns="http://www.w3.org/2000/svg">
18
+ <path d="M40.7975 5.74273C40.1757 5.1268 39.1785 5.1268 38.5567 5.74273L19.5688 24.6779L12.7232 17.24C12.1307 16.5947 11.1276 16.5536 10.4824 17.1461C9.843 17.7385 9.802 18.7416 10.3945 19.381L18.3603 28.0332C18.6478 28.35 19.0584 28.5318 19.4866 28.5436C19.4984 28.5436 19.51 28.5436 19.5218 28.5436C19.9441 28.5436 20.343 28.3793 20.6422 28.0802L40.7916 7.98351C41.4134 7.36759 41.4134 6.36451 40.7975 5.74273ZM40.4162 19.4162C39.5421 19.4162 38.8324 20.126 38.8324 21C38.8324 30.8313 30.8313 38.8324 21 38.8324C11.1687 38.8324 3.16761 30.8313 3.16761 21C3.16761 11.1687 11.1687 3.16758 21 3.16758C21.874 3.16758 22.5838 2.45783 22.5838 1.58381C22.5838 0.709784 21.874 0 21 0C9.42069 0 0 9.42067 0 21C0 32.5793 9.42069 42 21 42C32.5793 42 42 32.5793 42 21C42 20.126 41.2902 19.4162 40.4162 19.4162Z" fill="#06B04E"/>
19
+ </svg>
20
+ <p><span class="ci-colored-part">Already installed –</span> now <b>earn affiliate commissions!</b></p>
21
+ </div>
22
+ <p>If you share this plugin, you’ll earn 40% (!) of every sale you helped to generate!</p>
23
+ <p>Just go to <a href="https://sellcodes.com/XdHlrQnc" target="_blank">Sellcodes</a>, click on “Share & earn cash” (next to the title) and follow the steps :)</p>
24
+ <div class="ci-check-it-out-button">
25
+ <a href="https://sellcodes.com/XdHlrQnc" target="_blank" class="ci-button-link ci-round-button">Check it out</a>
26
+ </div>
27
+ </div>
28
+ </div>
banner/views/projects/usm/part-install.php ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ // Namespace
4
+ namespace Inisev\Subs;
5
+
6
+ // Disallow direct access
7
+ if (!defined('ABSPATH')) exit;
8
+
9
+ ?>
10
+
11
+ <div class="ci-right-part ci-hidden-for-upgrade">
12
+ <img src="<?php $this->_asset('/projects/usm/imgs/background-icons.png'); ?>" class="ci-main-image ci-background-icons">
13
+ </div>
banner/views/projects/usm/part-upgrade.php ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ // Namespace
4
+ namespace Inisev\Subs;
5
+
6
+ // Disallow direct access
7
+ if (!defined('ABSPATH')) exit;
8
+
9
+ ?>
10
+
11
+ <div class="ci-right-part ci-visible-for-upgrade">
12
+ <div class="ci-video-link-wrapper">
13
+ <a href="https://www.ultimatelysocial.com/usm-premium/" target="_blank">
14
+ <div class="ci-video-link">
15
+ <img src="<?php $this->_asset('/projects/usm/imgs/video-background.png'); ?>" class="ci-video-background">
16
+ <div class="ci-play-icon-wrapper">
17
+ <img src="<?php $this->_asset('/projects/usm/imgs/play-icon.png'); ?>" class="ci-play-icon">
18
+ </div>
19
+ </div>
20
+ <img src="<?php $this->_asset('/projects/usm/imgs/ribbon-icon.png'); ?>" class="ci-ribbon-icon">
21
+ </a>
22
+ </div>
23
+ </div>
banner/views/projects/usm/upgrade.php ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ // Namespace
4
+ namespace Inisev\Subs;
5
+
6
+ // Disallow direct access
7
+ if (!defined('ABSPATH')) exit;
8
+
9
+ ?>
10
+
11
+ <div class="ci-left-part ci-upgrade-state">
12
+ <h2>Don’t forget to <a href="https://www.ultimatelysocial.com/usm-premium/" target="_blank">upgrade to premium</a> for the social sharing plugin :)</h2>
13
+ <div class="ci-pros-list ci-three-columns-pros-list">
14
+ <div class="ci-pros-list-column">
15
+ <ul class="ci-checkmark-list ci-checkmark-list-type-2">
16
+ <li>More likes & shares </li>
17
+ <li>More icon designs</li>
18
+ <li>Friendly support</li>
19
+ </ul>
20
+ </div>
21
+ <div class="ci-pros-list-column">
22
+ <ul class="ci-checkmark-list ci-checkmark-list-type-2">
23
+ <li>Mobile optimization</li>
24
+ <li>Faster loading</li>
25
+ <li>More platforms</li>
26
+ </ul>
27
+ </div>
28
+ <div class="ci-pros-list-column">
29
+ <ul class="ci-checkmark-list ci-checkmark-list-type-2">
30
+ <li>Themed icons</li>
31
+ <li>Better icon placement</li>
32
+ <li class="ci-no-checkmark ci-fancy-signature">...and so <a href="https://www.ultimatelysocial.com/usm-premium/" target="_blank" class="ci-green-text">much more!</a></li>
33
+ </ul>
34
+ </div>
35
+ </div>
36
+ <div class="ci-pros-list ci-two-columns-pros-list">
37
+ <div class="ci-pros-list-column">
38
+ <ul class="ci-checkmark-list ci-checkmark-list-type-2">
39
+ <li>More likes & shares </li>
40
+ <li>More icon designs</li>
41
+ <li>Friendly support</li>
42
+ <li>Mobile optimization</li>
43
+ <li class="ci-no-checkmark ci-fancy-signature">...and so <a href="https://www.ultimatelysocial.com/usm-premium/" target="_blank" class="ci-green-text">much more!</a></li>
44
+ </ul>
45
+ </div>
46
+ <div class="ci-pros-list-column">
47
+ <ul class="ci-checkmark-list ci-checkmark-list-type-2">
48
+ <li>Faster loading</li>
49
+ <li>More platforms</li>
50
+ <li>Themed icons</li>
51
+ <li>Better icon placement</li>
52
+ </ul>
53
+ </div>
54
+ </div>
55
+ </div>
banner/views/static/imgs/already-installed.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="69" height="68" viewBox="0 0 69 68" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M66.8472 9.37489C65.842 8.3791 64.2298 8.3791 63.2245 9.37489L32.5257 39.9884L21.4581 27.963C20.5002 26.9198 18.8785 26.8534 17.8352 27.8113C16.8015 28.7691 16.7352 30.3908 17.6931 31.4246L30.572 45.4131C31.0367 45.9252 31.7006 46.2192 32.3929 46.2382C32.4118 46.2382 32.4307 46.2382 32.4497 46.2382C33.1325 46.2382 33.7775 45.9726 34.2611 45.489L66.8378 12.9977C67.843 12.0019 67.843 10.3802 66.8472 9.37489ZM66.2308 31.4815C64.8177 31.4815 63.6702 32.629 63.6702 34.0421C63.6702 49.9368 50.7344 62.8727 34.8396 62.8727C18.9449 62.8727 6.00906 49.9368 6.00906 34.0421C6.00906 18.1474 18.9449 5.21151 34.8396 5.21151C36.2527 5.21151 37.4002 4.06403 37.4002 2.65095C37.4002 1.23788 36.2527 0.090332 34.8396 0.090332C16.1187 0.090332 0.887817 15.3212 0.887817 34.0421C0.887817 52.763 16.1187 67.9939 34.8396 67.9939C53.5605 67.9939 68.7915 52.763 68.7915 34.0421C68.7915 32.629 67.6439 31.4815 66.2308 31.4815Z" fill="#00B47C"/>
3
+ </svg>
banner/views/static/imgs/check-icon.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="19" height="20" viewBox="0 0 19 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M7.08501 13.6508C7.39966 13.0687 7.69861 12.5102 7.99753 11.9438C9.78319 8.69502 11.679 5.52486 14.2434 2.8267C15.0537 1.97713 15.9976 1.24557 16.9258 0.521863C17.5787 0.0105503 18.0114 -0.0602354 18.4912 0.0420272C18.3418 0.679202 18.2159 1.32424 18.0428 1.95355C17.9878 2.15807 17.8462 2.35473 17.6888 2.49633C14.3142 5.6822 12.088 9.59967 10.4203 13.879C9.92475 15.169 9.54719 16.5063 9.11454 17.8278C9.08307 17.9222 9.08309 18.0796 9.02802 18.1032C8.16272 18.4965 7.30528 18.8898 6.41639 19.2123C6.31412 19.2517 5.99944 18.9291 5.89718 18.7167C4.78802 16.4198 3.14397 14.579 1.13805 13.053C0.67393 12.699 0.626713 12.3057 0.823372 11.8494C1.24029 10.8504 1.68867 9.85923 2.15279 8.8838C2.42024 8.31742 2.7821 8.30955 3.13608 8.78153C3.5766 9.37151 4.04858 9.9379 4.51269 10.5121C5.34653 11.5348 6.18824 12.5495 7.08501 13.6508Z" fill="#1BCB61"/>
3
+ </svg>
banner/views/static/imgs/clock-icon.svg ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M15.7793 4.77503C15.4208 4.94843 15.2709 5.37975 15.4443 5.738C15.918 6.71664 16.1581 7.7715 16.1581 8.87442C16.1581 12.8504 12.9233 16.0852 8.9473 16.0852C4.97131 16.0852 1.73648 12.8504 1.73648 8.87442C1.73648 4.89844 4.97131 1.6636 8.9473 1.6636C10.5949 1.6636 12.1427 2.2016 13.4238 3.21931C13.7345 3.46736 14.1889 3.41543 14.4369 3.10365C14.685 2.79205 14.633 2.33821 14.3211 2.09051C12.8045 0.885127 10.8959 0.221436 8.9473 0.221436C4.17629 0.221436 0.294312 4.10342 0.294312 8.87442C0.294312 13.6454 4.17629 17.5274 8.9473 17.5274C13.7183 17.5274 17.6003 13.6454 17.6003 8.87442C17.6003 7.55232 17.3116 6.28532 16.7422 5.11004C16.5692 4.75091 16.1365 4.60127 15.7793 4.77503Z" fill="#0F9990"/>
3
+ <path d="M8.94728 3.10571C8.54924 3.10571 8.2262 3.42876 8.2262 3.8268V8.87437C8.2262 9.27241 8.54924 9.59546 8.94728 9.59546H12.5527C12.9507 9.59546 13.2738 9.27241 13.2738 8.87437C13.2738 8.47633 12.9507 8.15329 12.5527 8.15329H9.66836V3.8268C9.66836 3.42876 9.34532 3.10571 8.94728 3.10571Z" fill="#0F9990"/>
4
+ </svg>
banner/views/static/imgs/rating.svg ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ <svg width="128" height="22" viewBox="0 0 128 22" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M38.679 0.887695C39.9062 0.895562 39.977 1.6901 40.3388 2.54753C41.0389 4.168 41.7311 5.78059 42.4312 7.40106C44.6417 7.61345 46.86 7.82584 49.0704 8.03823C49.4087 8.17196 49.7155 8.54169 49.7942 8.93501C49.983 9.84751 49.0705 10.2959 48.6457 10.6341C47.3084 11.8298 45.979 13.0176 44.6417 14.2133C45.0665 16.0462 45.4913 17.8791 45.9161 19.704C46.1127 20.475 46.1442 21.2616 45.5385 21.6234C44.8384 22.0404 44.0753 21.4975 43.5797 21.1986C42.0301 20.2625 40.4804 19.3264 38.9386 18.3903C37.4047 19.2792 35.8707 20.176 34.3368 21.0728C33.8648 21.356 33.1962 22.0246 32.4174 21.71C31.6701 21.4032 31.6543 20.5615 31.8667 19.704C32.2915 17.8791 32.7163 16.0462 33.1411 14.2133C31.8117 13.0176 30.4744 11.8298 29.145 10.6341C28.7124 10.2959 27.7998 9.84751 27.9965 8.93501C28.0752 8.54956 28.3819 8.17196 28.7202 8.03823C30.9306 7.82584 33.1489 7.61345 35.3594 7.40106C36.2404 5.35581 37.1215 3.31056 38.0025 1.26531C38.2228 1.13945 38.4509 1.01356 38.679 0.887695Z" fill="#F9C100"/>
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M11.5164 0.887451C12.7435 0.895318 12.8144 1.68986 13.1762 2.54729C13.8763 4.16776 14.5685 5.78035 15.2608 7.40082C17.4791 7.61321 19.6895 7.8256 21.9079 8.03799C22.2461 8.17172 22.545 8.54145 22.6315 8.93476C22.8203 9.84726 21.9079 10.2956 21.4831 10.6339C20.1458 11.8296 18.8164 13.0174 17.4791 14.2131C17.9039 16.0459 18.3287 17.8788 18.7534 19.7038C18.9501 20.4747 18.9737 21.2613 18.3759 21.6232C17.6758 22.0401 16.9127 21.4973 16.4172 21.1984C14.8675 20.2623 13.3178 19.3262 11.776 18.3901C10.242 19.279 8.70813 20.1758 7.17419 21.0725C6.70221 21.3557 6.03356 22.0244 5.25479 21.7097C4.50749 21.4029 4.48388 20.5612 4.70414 19.7038C5.12892 17.8788 5.5537 16.0459 5.97849 14.2131C4.64907 13.0174 3.31178 11.8296 1.98236 10.6339C1.54972 10.2956 0.637241 9.84726 0.826034 8.93476C0.912564 8.54931 1.21934 8.17172 1.54972 8.03799C3.76804 7.8256 5.97849 7.61321 8.1968 7.40082C9.07784 5.35556 9.95885 3.31032 10.832 1.26507C11.0601 1.13921 11.2883 1.01331 11.5164 0.887451Z" fill="#F9C100"/>
4
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M65.8414 0.887695C67.0686 0.895562 67.1394 1.6901 67.5013 2.54753C68.2014 4.168 68.8936 5.78059 69.5937 7.40106C71.8042 7.61345 74.0225 7.82584 76.2329 8.03823C76.5712 8.17196 76.8779 8.54169 76.9566 8.93501C77.1454 9.84751 76.2329 10.2959 75.8082 10.6341C74.4709 11.8298 73.1414 13.0176 71.8042 14.2133C72.2289 16.0462 72.6537 17.8791 73.0785 19.704C73.2752 20.475 73.3066 21.2616 72.7009 21.6234C72.0008 22.0404 71.2378 21.4975 70.7422 21.1986C69.1925 20.2625 67.6429 19.3264 66.101 18.3903C64.5671 19.2792 63.0332 20.176 61.4993 21.0728C61.0273 21.356 60.3586 22.0246 59.5877 21.71C58.8326 21.4032 58.8168 20.5615 59.0292 19.704C59.454 17.8791 59.8788 16.0462 60.3114 14.2133C58.9741 13.0176 57.6368 11.8298 56.3074 10.6341C55.8748 10.2959 54.9623 9.84751 55.159 8.93501C55.2376 8.54956 55.5444 8.17196 55.8827 8.03823C58.0931 7.82584 60.3114 7.61345 62.5219 7.40106C63.4029 5.35581 64.2839 3.31056 65.165 1.26531C65.3931 1.13945 65.6133 1.01356 65.8414 0.887695Z" fill="#F9C100"/>
5
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M91.6116 0.887695C92.8388 0.895562 92.9096 1.6901 93.2714 2.54753C93.9715 4.168 94.6638 5.78059 95.3639 7.40106C97.5743 7.61345 99.7927 7.82584 102.003 8.03823C102.341 8.17196 102.648 8.54169 102.727 8.93501C102.916 9.84751 102.003 10.2959 101.578 10.6341C100.241 11.8298 98.9116 13.0176 97.5743 14.2133C97.9991 16.0462 98.4239 17.8791 98.8566 19.704C99.0454 20.475 99.0768 21.2616 98.4711 21.6234C97.771 22.0404 97.0079 21.4975 96.5124 21.1986C94.9627 20.2625 93.413 19.3264 91.8712 18.3903C90.3373 19.2792 88.8033 20.176 87.2694 21.0728C86.7974 21.356 86.1288 22.0246 85.3579 21.71C84.6027 21.4032 84.587 20.5615 84.7994 19.704C85.2242 17.8791 85.649 16.0462 86.0816 14.2133C84.7443 13.0176 83.407 11.8298 82.0776 10.6341C81.645 10.2959 80.7325 9.84751 80.9291 8.93501C81.0078 8.54956 81.3146 8.17196 81.6529 8.03823C83.8633 7.82584 86.0816 7.61345 88.2921 7.40106C89.1731 5.35581 90.0541 3.31056 90.9351 1.26531C91.1633 1.13945 91.3835 1.01356 91.6116 0.887695Z" fill="#F9C100"/>
6
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M116.69 0.887695C117.917 0.895562 117.98 1.6901 118.349 2.54753C119.042 4.168 119.742 5.78059 120.434 7.40106C122.652 7.61345 124.863 7.82584 127.081 8.03823C127.419 8.17196 127.718 8.54169 127.805 8.93501C127.994 9.84751 127.081 10.2959 126.648 10.6341C125.319 11.8298 123.982 13.0176 122.652 14.2133C123.077 16.0462 123.502 17.8791 123.927 19.704C124.123 20.475 124.147 21.2616 123.541 21.6234C122.849 22.0404 122.078 21.4975 121.583 21.1986C120.041 20.2625 118.491 19.3264 116.941 18.3903C115.407 19.2792 113.873 20.176 112.347 21.0728C111.875 21.356 111.207 22.0246 110.428 21.71C109.681 21.4032 109.657 20.5615 109.877 19.704C110.302 17.8791 110.727 16.0462 111.152 14.2133C109.814 13.0176 108.485 11.8298 107.148 10.6341C106.723 10.2959 105.81 9.84751 105.999 8.93501C106.078 8.54956 106.385 8.17196 106.723 8.03823C108.941 7.82584 111.152 7.61345 113.37 7.40106C114.243 5.35581 115.124 3.31056 116.005 1.26531C116.233 1.13945 116.461 1.01356 116.69 0.887695Z" fill="#F9C100"/>
7
+ </svg>
banner/views/static/imgs/white-arrow-right.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg width="12" height="19" viewBox="0 0 12 19" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M10.9319 8.77615L3.16777 0.996312C2.98684 0.815386 2.743 0.713135 2.49127 0.713135C2.23168 0.713135 1.9957 0.815386 1.81478 0.996312L1.24045 1.57054C0.870734 1.94026 0.870734 2.54599 1.24045 2.92358L7.76956 9.46052L1.23267 16.0053C1.05175 16.1784 0.957275 16.4222 0.957275 16.6818C0.957275 16.9335 1.05175 17.1774 1.23267 17.3583L1.8069 17.9247C1.98783 18.1056 2.22381 18.2079 2.4834 18.2079C2.73512 18.2079 2.97897 18.1056 3.15989 17.9247L10.9319 10.137C11.1128 9.95608 11.215 9.71224 11.215 9.46052C11.215 9.20093 11.1128 8.95707 10.9319 8.77615Z" fill="white"/>
3
+ </svg>
banner/views/static/tabs.php ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ // Namespace
4
+ namespace Inisev\Subs;
5
+
6
+ // Disallow direct access
7
+ if (!defined('ABSPATH')) exit;
8
+
9
+ ?>
10
+
11
+ <div class="ci-projects-list">
12
+ <div class="ci-project-list-element ci-project-list-element-BackupMigration" id="BackupMigration-trigger">
13
+ <div class="ci-project-list-element-logo">
14
+ <img src="<?php $this->_asset('/projects/bmi/imgs/white-logo.svg'); ?>" class="ci-white-project-logo">
15
+ <img src="<?php $this->_asset('/projects/bmi/imgs/colored-logo.svg'); ?>" class="ci-colored-project-logo">
16
+ </div>
17
+ <span>Backup Migration</span>
18
+ </div>
19
+ <div class="ci-project-list-element ci-project-list-element-MyPopups" id="MyPopups-trigger">
20
+ <div class="ci-project-list-element-logo">
21
+ <img src="<?php $this->_asset('/projects/mpu/imgs/white-logo.svg'); ?>" class="ci-white-project-logo">
22
+ <img src="<?php $this->_asset('/projects/mpu/imgs/colored-logo.svg'); ?>" class="ci-colored-project-logo">
23
+ </div>
24
+ <span>MyPopUps</span>
25
+ </div>
26
+ <div class="ci-project-list-element ci-project-list-element-CopyDeletePosts" id="CopyDeletePosts-trigger">
27
+ <div class="ci-project-list-element-logo">
28
+ <img src="<?php $this->_asset('/projects/cdp/imgs/white-logo.svg'); ?>" class="ci-white-project-logo">
29
+ <img src="<?php $this->_asset('/projects/cdp/imgs/colored-logo.svg'); ?>" class="ci-colored-project-logo">
30
+ </div>
31
+ <span>Copy & Delete</span>
32
+ </div>
33
+ <div class="ci-project-list-element ci-project-list-element-TasteWP" id="TasteWP-trigger">
34
+ <div class="ci-project-list-element-logo">
35
+ <img src="<?php $this->_asset('/projects/twp/imgs/white-logo.svg'); ?>" class="ci-white-project-logo">
36
+ <img src="<?php $this->_asset('/projects/twp/imgs/colored-logo.svg'); ?>" class="ci-colored-project-logo">
37
+ </div>
38
+ <span>TasteWP</span>
39
+ </div>
40
+ <div class="ci-project-list-element ci-project-list-element-SocialShare" id="SocialShare-trigger">
41
+ <div class="ci-project-list-element-logo">
42
+ <img src="<?php $this->_asset('/projects/usm/imgs/white-logo.svg'); ?>" class="ci-white-project-logo">
43
+ <img src="<?php $this->_asset('/projects/usm/imgs/colored-logo.svg'); ?>" class="ci-colored-project-logo">
44
+ </div>
45
+ <span>Social Share</span>
46
+ </div>
47
+ <div class="ci-project-list-element ci-project-list-element-followIt" id="followIt-trigger">
48
+ <div class="ci-project-list-element-logo">
49
+ <img src="<?php $this->_asset('/projects/fit/imgs/white-logo.svg'); ?>" class="ci-white-project-logo">
50
+ <img src="<?php $this->_asset('/projects/fit/imgs/colored-logo.svg'); ?>" class="ci-colored-project-logo">
51
+ </div>
52
+ <span>follow.it</span>
53
+ </div>
54
+ </div>
readme.txt CHANGED
@@ -5,13 +5,15 @@ License: MIT
5
  License URI: http://opensource.org/licenses/MIT
6
  Tags: widget, recent posts, custom post types, sticky posts, featured image, post thumbnail, excerpts, category, custom fields, list pages, widget query, microformats, customizable widget, categories widget, tags widget, excerpt, widget templates, post author, post date, custom query, ultimate posts, comments, orderby, comment count
7
  Requires at least: 3.5
8
- Tested up to: 5.4.2
9
- Stable tag: 2.1.6
10
 
11
  The ultimate widget for displaying posts, custom post types or sticky posts with an array of options.
12
 
13
  == Description ==
14
 
 
 
15
  UPDATE: Plugin ownership changed for this plugin. We are currently evaluating possible enhancements for it. Stay tuned! If you have any suggestions yourself, please let us know in the Support Forum.
16
 
17
  The ultimate widget for displaying posts, custom post types or sticky posts with an array of options to customize the display.
@@ -54,6 +56,8 @@ For help please ask in the [Support Forum](http://wordpress.org/support/plugin/u
54
 
55
  Enjoy this plugin? [Send a tip to support development](https://sellcodes.com/5U4SICyc).
56
 
 
 
57
  == Frequently Asked Questions ==
58
 
59
  = Filters =
@@ -120,6 +124,11 @@ This plugin uses the [timthumb library](http://www.binarymoon.co.uk/projects/tim
120
 
121
  == Changelog ==
122
 
 
 
 
 
 
123
  = 2.1.6 =
124
  * Tested up to WordPress 5.4.2
125
  * Updated Opt-in
@@ -289,9 +298,10 @@ This plugin uses the [timthumb library](http://www.binarymoon.co.uk/projects/tim
289
 
290
  == Upgrade Notice ==
291
 
292
- = 2.0.0 =
293
-
294
- This is a major update and includes some breaking changes. New templates have been introduced, a few fields have changed, and thumbnails have been modified. See the changelog for details.
 
295
 
296
  == Installation ==
297
 
5
  License URI: http://opensource.org/licenses/MIT
6
  Tags: widget, recent posts, custom post types, sticky posts, featured image, post thumbnail, excerpts, category, custom fields, list pages, widget query, microformats, customizable widget, categories widget, tags widget, excerpt, widget templates, post author, post date, custom query, ultimate posts, comments, orderby, comment count
7
  Requires at least: 3.5
8
+ Tested up to: 5.8
9
+ Stable tag: 2.2.0
10
 
11
  The ultimate widget for displaying posts, custom post types or sticky posts with an array of options.
12
 
13
  == Description ==
14
 
15
+ **Try it out on your free dummy site: Click here => [https://tastewp.com/plugins/ultimate-posts-widget](https://tastewp.com/plugins/ultimate-posts-widget)**
16
+
17
  UPDATE: Plugin ownership changed for this plugin. We are currently evaluating possible enhancements for it. Stay tuned! If you have any suggestions yourself, please let us know in the Support Forum.
18
 
19
  The ultimate widget for displaying posts, custom post types or sticky posts with an array of options to customize the display.
56
 
57
  Enjoy this plugin? [Send a tip to support development](https://sellcodes.com/5U4SICyc).
58
 
59
+ This plugin is part of the Inisev product family - [check out our other products](https://inisev.com).
60
+
61
  == Frequently Asked Questions ==
62
 
63
  = Filters =
124
 
125
  == Changelog ==
126
 
127
+ = 2.2.0 =
128
+ * Tested up to WordPress 5.7.1
129
+ * Added support for PHP 8
130
+ * Updated banner
131
+
132
  = 2.1.6 =
133
  * Tested up to WordPress 5.4.2
134
  * Updated Opt-in
298
 
299
  == Upgrade Notice ==
300
 
301
+ = 2.2.0 =
302
+ * Tested up to WordPress 5.7.1
303
+ * Added support for PHP 8
304
+ * Updated banner
305
 
306
  == Installation ==
307
 
ultimate-posts-widget.php CHANGED
@@ -3,11 +3,11 @@
3
  Plugin Name: Ultimate Posts Widget
4
  Plugin URI: http://wordpress.org/plugins/ultimate-posts-widget/
5
  Description: The ultimate widget for displaying posts, custom post types or sticky posts with an array of options.
6
- Version: 2.1.6
7
  Author: Clever Widgets
8
  Author URI: https://themecheck.info
9
- Text Domain: upw
10
- Domain Path: /languages/
11
  License: MIT
12
  */
13
  require_once 'analyst/main.php';
@@ -26,7 +26,7 @@ if (!class_exists('WP_Widget_Ultimate_Posts')) {
26
 
27
  $widget_options = array(
28
  'classname' => 'widget_ultimate_posts',
29
- 'description' => __( 'Displays list of posts with an array of options', 'upw' )
30
  );
31
 
32
  $control_options = array(
@@ -35,7 +35,7 @@ if (!class_exists('WP_Widget_Ultimate_Posts')) {
35
 
36
  parent::__construct(
37
  'sticky-posts',
38
- __( 'Ultimate Posts', 'upw' ),
39
  $widget_options,
40
  $control_options
41
  );
@@ -51,7 +51,7 @@ if (!class_exists('WP_Widget_Ultimate_Posts')) {
51
  add_action('wp_enqueue_scripts', array(&$this, 'enqueue_theme_scripts'));
52
  }
53
 
54
- load_plugin_textdomain('upw', false, basename( dirname( __FILE__ ) ) . '/languages' );
55
 
56
  }
57
 
@@ -296,7 +296,7 @@ if (!class_exists('WP_Widget_Ultimate_Posts')) {
296
 
297
  // Set default arguments
298
  $instance = wp_parse_args( (array) $instance, array(
299
- 'title' => __('Ultimate Posts', 'upw'),
300
  'class' => '',
301
  'title_link' => '' ,
302
  'number' => '5',
@@ -307,7 +307,7 @@ if (!class_exists('WP_Widget_Ultimate_Posts')) {
307
  'thumb_size' => 'thumbnail',
308
  'attag' => false,
309
  'excerpt_length' => 10,
310
- 'excerpt_readmore' => __('Read more &rarr;', 'upw'),
311
  'order' => 'DESC',
312
  'orderby' => 'date',
313
  'meta_key' => '',
@@ -413,41 +413,41 @@ if (!class_exists('WP_Widget_Ultimate_Posts')) {
413
  ?>
414
 
415
  <div class="upw-tabs">
416
- <a class="upw-tab-item active" data-toggle="upw-tab-general"><?php _e('General', 'upw'); ?></a>
417
- <a class="upw-tab-item" data-toggle="upw-tab-display"><?php _e('Display', 'upw'); ?></a>
418
- <a class="upw-tab-item" data-toggle="upw-tab-filter"><?php _e('Filter', 'upw'); ?></a>
419
- <a class="upw-tab-item" data-toggle="upw-tab-order"><?php _e('Order', 'upw'); ?></a>
420
  </div>
421
 
422
  <div class="upw-tab upw-tab-general">
423
 
424
  <p>
425
- <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title', 'upw' ); ?>:</label>
426
  <input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo $title; ?>" />
427
  </p>
428
 
429
  <p>
430
- <label for="<?php echo $this->get_field_id( 'title_link' ); ?>"><?php _e( 'Title URL', 'upw' ); ?>:</label>
431
  <input class="widefat" id="<?php echo $this->get_field_id( 'title_link' ); ?>" name="<?php echo $this->get_field_name( 'title_link' ); ?>" type="text" value="<?php echo $title_link; ?>" />
432
  </p>
433
 
434
  <p>
435
- <label for="<?php echo $this->get_field_id( 'class' ); ?>"><?php _e( 'CSS class', 'upw' ); ?>:</label>
436
  <input class="widefat" id="<?php echo $this->get_field_id( 'class' ); ?>" name="<?php echo $this->get_field_name( 'class' ); ?>" type="text" value="<?php echo $class; ?>" />
437
  </p>
438
 
439
  <p>
440
- <label for="<?php echo $this->get_field_id('before_posts'); ?>"><?php _e('Before posts', 'upw'); ?>:</label>
441
  <textarea class="widefat" id="<?php echo $this->get_field_id('before_posts'); ?>" name="<?php echo $this->get_field_name('before_posts'); ?>" rows="5"><?php echo $before_posts; ?></textarea>
442
  </p>
443
 
444
  <p>
445
- <label for="<?php echo $this->get_field_id('after_posts'); ?>"><?php _e('After posts', 'upw'); ?>:</label>
446
  <textarea class="widefat" id="<?php echo $this->get_field_id('after_posts'); ?>" name="<?php echo $this->get_field_name('after_posts'); ?>" rows="5"><?php echo $after_posts; ?></textarea>
447
  </p>
448
 
449
  <p>
450
- <label for="<?php echo $this->get_field_id( 'custom_empty' ); ?>"><?php _e( 'No posts found message', 'upw' ); ?>:</label>
451
  <input class="widefat" id="<?php echo $this->get_field_id( 'custom_empty' ); ?>" name="<?php echo $this->get_field_name( 'custom_empty' ); ?>" type="text" value="<?php echo $custom_empty; ?>" placeholder="No posts found." />
452
  </p>
453
 
@@ -456,73 +456,73 @@ if (!class_exists('WP_Widget_Ultimate_Posts')) {
456
  <div class="upw-tab upw-hide upw-tab-display">
457
 
458
  <p>
459
- <label for="<?php echo $this->get_field_id('template'); ?>"><?php _e('Template', 'upw'); ?>:</label>
460
  <select name="<?php echo $this->get_field_name('template'); ?>" id="<?php echo $this->get_field_id('template'); ?>" class="widefat">
461
- <option value="legacy"<?php if( $template == 'legacy') echo ' selected'; ?>><?php _e('Legacy', 'upw'); ?></option>
462
- <option value="standard"<?php if( $template == 'standard') echo ' selected'; ?>><?php _e('Standard', 'upw'); ?></option>
463
- <option value="custom"<?php if( $template == 'custom') echo ' selected'; ?>><?php _e('Custom', 'upw'); ?></option>
464
  </select>
465
  </p>
466
 
467
  <p<?php if ($template !== 'custom') echo ' style="display:none;"'; ?>>
468
- <label for="<?php echo $this->get_field_id('template_custom'); ?>"><?php _e('Custom Template Name', 'upw'); ?>:</label>
469
  <input class="widefat" id="<?php echo $this->get_field_id('template_custom'); ?>" name="<?php echo $this->get_field_name('template_custom'); ?>" type="text" value="<?php echo $template_custom; ?>" />
470
  </p>
471
 
472
  <p>
473
- <label for="<?php echo $this->get_field_id( 'number' ); ?>"><?php _e( 'Number of posts', 'upw' ); ?>:</label>
474
  <input class="widefat" id="<?php echo $this->get_field_id( 'number' ); ?>" name="<?php echo $this->get_field_name( 'number' ); ?>" type="number" value="<?php echo $number; ?>" min="-1" />
475
  </p>
476
 
477
  <p>
478
  <input class="checkbox" id="<?php echo $this->get_field_id( 'show_title' ); ?>" name="<?php echo $this->get_field_name( 'show_title' ); ?>" type="checkbox" <?php checked( (bool) $show_title, true ); ?> />
479
- <label for="<?php echo $this->get_field_id( 'show_title' ); ?>"><?php _e( 'Show title', 'upw' ); ?></label>
480
  </p>
481
 
482
  <p>
483
- <input class="checkbox" id="<?php echo $this->get_field_id( 'show_date' ); ?>" name="<?php echo $this->get_field_name( 'show_date' ); ?>" type="checkbox" <?php checked( (bool) $show_date, true ); ?> />
484
- <label for="<?php echo $this->get_field_id( 'show_date' ); ?>"><?php _e( 'Show published date', 'upw' ); ?></label>
485
  </p>
486
 
487
  <p<?php if (!$show_date) echo ' style="display:none;"'; ?>>
488
- <label for="<?php echo $this->get_field_id('date_format'); ?>"><?php _e( 'Date format', 'upw' ); ?>:</label>
489
  <input class="widefat" type="text" id="<?php echo $this->get_field_id('date_format'); ?>" name="<?php echo $this->get_field_name('date_format'); ?>" value="<?php echo $date_format; ?>" />
490
  </p>
491
 
492
  <p>
493
  <input class="checkbox" id="<?php echo $this->get_field_id( 'show_author' ); ?>" name="<?php echo $this->get_field_name( 'show_author' ); ?>" type="checkbox" <?php checked( (bool) $show_author, true ); ?> />
494
- <label for="<?php echo $this->get_field_id( 'show_author' ); ?>"><?php _e( 'Show post author', 'upw' ); ?></label>
495
  </p>
496
 
497
  <p>
498
  <input class="checkbox" id="<?php echo $this->get_field_id( 'show_comments' ); ?>" name="<?php echo $this->get_field_name( 'show_comments' ); ?>" type="checkbox" <?php checked( (bool) $show_comments, true ); ?> />
499
- <label for="<?php echo $this->get_field_id( 'show_comments' ); ?>"><?php _e( 'Show comments count', 'upw' ); ?></label>
500
  </p>
501
 
502
  <p>
503
  <input class="checkbox" id="<?php echo $this->get_field_id( 'exclude_current' ); ?>" name="<?php echo $this->get_field_name( 'exclude_current' ); ?>" type="checkbox" <?php checked( (bool) $exclude_current, true ); ?> />
504
- <label for="<?php echo $this->get_field_id( 'exclude_current' ); ?>"><?php _e( 'Exclude current post from the list', 'upw' ); ?></label>
505
  </p>
506
 
507
  <p>
508
  <input class="checkbox" id="<?php echo $this->get_field_id( 'show_excerpt' ); ?>" name="<?php echo $this->get_field_name( 'show_excerpt' ); ?>" type="checkbox" <?php checked( (bool) $show_excerpt, true ); ?> />
509
- <label for="<?php echo $this->get_field_id( 'show_excerpt' ); ?>"><?php _e( 'Show excerpt', 'upw' ); ?></label>
510
  </p>
511
 
512
  <p<?php if (!$show_excerpt) echo ' style="display:none;"'; ?>>
513
- <label for="<?php echo $this->get_field_id('excerpt_length'); ?>"><?php _e( 'Excerpt length (in words)', 'upw' ); ?>:</label>
514
  <input class="widefat" type="number" id="<?php echo $this->get_field_id('excerpt_length'); ?>" name="<?php echo $this->get_field_name('excerpt_length'); ?>" value="<?php echo $excerpt_length; ?>" min="-1" />
515
  </p>
516
 
517
  <p>
518
  <input class="checkbox" id="<?php echo $this->get_field_id( 'show_content' ); ?>" name="<?php echo $this->get_field_name( 'show_content' ); ?>" type="checkbox" <?php checked( (bool) $show_content, true ); ?> />
519
- <label for="<?php echo $this->get_field_id( 'show_content' ); ?>"><?php _e( 'Show content', 'upw' ); ?></label>
520
  </p>
521
 
522
  <p<?php if (!$show_excerpt && !$show_content) echo ' style="display:none;"'; ?>>
523
  <label for="<?php echo $this->get_field_id('show_readmore'); ?>">
524
  <input type="checkbox" class="checkbox" id="<?php echo $this->get_field_id('show_readmore'); ?>" name="<?php echo $this->get_field_name('show_readmore'); ?>"<?php checked( (bool) $show_readmore, true ); ?> />
525
- <?php _e( 'Show read more link', 'upw' ); ?>
526
  </label>
527
  </p>
528
 
@@ -537,7 +537,7 @@ if (!class_exists('WP_Widget_Ultimate_Posts')) {
537
  <p>
538
  <input class="checkbox" id="<?php echo $this->get_field_id( 'show_thumbnail' ); ?>" name="<?php echo $this->get_field_name( 'show_thumbnail' ); ?>" type="checkbox" <?php checked( (bool) $show_thumbnail, true ); ?> />
539
 
540
- <label for="<?php echo $this->get_field_id( 'show_thumbnail' ); ?>"><?php _e( 'Show thumbnail', 'upw' ); ?></label>
541
  </p>
542
 
543
  <p<?php if (!$show_thumbnail) echo ' style="display:none;"'; ?>>
@@ -553,16 +553,16 @@ if (!class_exists('WP_Widget_Ultimate_Posts')) {
553
 
554
  <p>
555
  <input type="checkbox" class="checkbox" id="<?php echo $this->get_field_id('show_cats'); ?>" name="<?php echo $this->get_field_name('show_cats'); ?>" <?php checked( (bool) $show_cats, true ); ?> />
556
- <label for="<?php echo $this->get_field_id('show_cats'); ?>"> <?php _e('Show post categories', 'upw'); ?></label>
557
  </p>
558
 
559
  <p>
560
  <input type="checkbox" class="checkbox" id="<?php echo $this->get_field_id('show_tags'); ?>" name="<?php echo $this->get_field_name('show_tags'); ?>" <?php checked( (bool) $show_tags, true ); ?> />
561
- <label for="<?php echo $this->get_field_id('show_tags'); ?>"> <?php _e('Show post tags', 'upw'); ?></label>
562
  </p>
563
 
564
  <p>
565
- <label for="<?php echo $this->get_field_id( 'custom_fields' ); ?>"><?php _e( 'Show custom fields (comma separated)', 'upw' ); ?>:</label>
566
  <input class="widefat" id="<?php echo $this->get_field_id( 'custom_fields' ); ?>" name="<?php echo $this->get_field_name( 'custom_fields' ); ?>" type="text" value="<?php echo $custom_fields; ?>" />
567
  </p>
568
 
@@ -572,11 +572,11 @@ if (!class_exists('WP_Widget_Ultimate_Posts')) {
572
 
573
  <p>
574
  <input type="checkbox" class="checkbox" id="<?php echo $this->get_field_id('atcat'); ?>" name="<?php echo $this->get_field_name('atcat'); ?>" <?php checked( (bool) $atcat, true ); ?> />
575
- <label for="<?php echo $this->get_field_id('atcat'); ?>"> <?php _e('Show posts only from current category', 'upw');?></label>
576
  </p>
577
 
578
  <p>
579
- <label for="<?php echo $this->get_field_id('cats'); ?>"><?php _e( 'Categories', 'upw' ); ?>:</label>
580
  <select name="<?php echo $this->get_field_name('cats'); ?>[]" id="<?php echo $this->get_field_id('cats'); ?>" class="widefat" style="height: auto;" size="<?php echo $c ?>" multiple>
581
  <option value="" <?php if (empty($cats)) echo 'selected="selected"'; ?>><?php _e('&ndash; Show All &ndash;') ?></option>
582
  <?php
@@ -590,11 +590,11 @@ if (!class_exists('WP_Widget_Ultimate_Posts')) {
590
  <?php if ($tag_list) : ?>
591
  <p>
592
  <input type="checkbox" class="checkbox" id="<?php echo $this->get_field_id('attag'); ?>" name="<?php echo $this->get_field_name('attag'); ?>" <?php checked( (bool) $attag, true ); ?> />
593
- <label for="<?php echo $this->get_field_id('attag'); ?>"> <?php _e('Show posts only from current tag', 'upw');?></label>
594
  </p>
595
 
596
  <p>
597
- <label for="<?php echo $this->get_field_id('tags'); ?>"><?php _e( 'Tags', 'upw' ); ?>:</label>
598
  <select name="<?php echo $this->get_field_name('tags'); ?>[]" id="<?php echo $this->get_field_id('tags'); ?>" class="widefat" style="height: auto;" size="<?php echo $t ?>" multiple>
599
  <option value="" <?php if (empty($tags)) echo 'selected="selected"'; ?>><?php _e('&ndash; Show All &ndash;') ?></option>
600
  <?php
@@ -606,7 +606,7 @@ if (!class_exists('WP_Widget_Ultimate_Posts')) {
606
  <?php endif; ?>
607
 
608
  <p>
609
- <label for="<?php echo $this->get_field_id('types'); ?>"><?php _e( 'Post types', 'upw' ); ?>:</label>
610
  <select name="<?php echo $this->get_field_name('types'); ?>[]" id="<?php echo $this->get_field_id('types'); ?>" class="widefat" style="height: auto;" size="<?php echo $n ?>" multiple>
611
  <option value="" <?php if (empty($types)) echo 'selected="selected"'; ?>><?php _e('&ndash; Show All &ndash;') ?></option>
612
  <?php
@@ -619,11 +619,11 @@ if (!class_exists('WP_Widget_Ultimate_Posts')) {
619
  </p>
620
 
621
  <p>
622
- <label for="<?php echo $this->get_field_id('sticky'); ?>"><?php _e( 'Sticky posts', 'upw' ); ?>:</label>
623
  <select name="<?php echo $this->get_field_name('sticky'); ?>" id="<?php echo $this->get_field_id('sticky'); ?>" class="widefat">
624
- <option value="show"<?php if( $sticky === 'show') echo ' selected'; ?>><?php _e('Show All Posts', 'upw'); ?></option>
625
- <option value="hide"<?php if( $sticky == 'hide') echo ' selected'; ?>><?php _e('Hide Sticky Posts', 'upw'); ?></option>
626
- <option value="only"<?php if( $sticky == 'only') echo ' selected'; ?>><?php _e('Show Only Sticky Posts', 'upw'); ?></option>
627
  </select>
628
  </p>
629
 
@@ -632,37 +632,41 @@ if (!class_exists('WP_Widget_Ultimate_Posts')) {
632
  <div class="upw-tab upw-hide upw-tab-order">
633
 
634
  <p>
635
- <label for="<?php echo $this->get_field_id('orderby'); ?>"><?php _e('Order by', 'upw'); ?>:</label>
636
  <select name="<?php echo $this->get_field_name('orderby'); ?>" id="<?php echo $this->get_field_id('orderby'); ?>" class="widefat">
637
- <option value="date"<?php if( $orderby == 'date') echo ' selected'; ?>><?php _e('Published Date', 'upw'); ?></option>
638
- <option value="title"<?php if( $orderby == 'title') echo ' selected'; ?>><?php _e('Title', 'upw'); ?></option>
639
- <option value="comment_count"<?php if( $orderby == 'comment_count') echo ' selected'; ?>><?php _e('Comment Count', 'upw'); ?></option>
640
  <option value="rand"<?php if( $orderby == 'rand') echo ' selected'; ?>><?php _e('Random'); ?></option>
641
- <option value="meta_value"<?php if( $orderby == 'meta_value') echo ' selected'; ?>><?php _e('Custom Field', 'upw'); ?></option>
642
- <option value="menu_order"<?php if( $orderby == 'menu_order') echo ' selected'; ?>><?php _e('Menu Order', 'upw'); ?></option>
643
  </select>
644
  </p>
645
 
646
  <p<?php if ($orderby !== 'meta_value') echo ' style="display:none;"'; ?>>
647
- <label for="<?php echo $this->get_field_id( 'meta_key' ); ?>"><?php _e('Custom field', 'upw'); ?>:</label>
648
  <input class="widefat" id="<?php echo $this->get_field_id('meta_key'); ?>" name="<?php echo $this->get_field_name('meta_key'); ?>" type="text" value="<?php echo $meta_key; ?>" />
649
  </p>
650
 
651
  <p>
652
- <label for="<?php echo $this->get_field_id('order'); ?>"><?php _e('Order', 'upw'); ?>:</label>
653
  <select name="<?php echo $this->get_field_name('order'); ?>" id="<?php echo $this->get_field_id('order'); ?>" class="widefat">
654
- <option value="DESC"<?php if( $order == 'DESC') echo ' selected'; ?>><?php _e('Descending', 'upw'); ?></option>
655
- <option value="ASC"<?php if( $order == 'ASC') echo ' selected'; ?>><?php _e('Ascending', 'upw'); ?></option>
656
  </select>
657
  </p>
658
 
659
  </div>
660
 
661
- <?php if (!is_plugin_active('copy-delete-posts/copy-delete-posts.php')) { ?>
662
- <p class="upw-cdp" data-url="<?php echo get_site_url(); ?>">
663
- <?php _e('<b>Please check it out</b>: We released another cool plugin! It is called "Copy & Delete Posts" and it allows you to make (bulk) copies of your pages & posts and delete them again. <b><a href="#" id="wpse1_6817_install_btn">Install it now</a></b> or check out the <a href="https://bit.ly/34bgWdr" target="_blank"><b>plugin page</b></a>.<span id="wpse1_6817_dots"></span>', 'upw'); ?>
664
- </p>
665
- <?php } ?>
 
 
 
 
666
 
667
  <?php if ( $instance ) { ?>
668
 
@@ -770,71 +774,8 @@ if (!class_exists('WP_Widget_Ultimate_Posts')) {
770
  add_action( 'widgets_init', 'init_wp_widget_ultimate_posts' );
771
  }
772
 
773
- /** –– **\
774
- * Notices handler
775
- * @since 1.4.8
776
- */
777
- // Handle install
778
- add_action('wp_ajax_wpse1_6817_install', function () {
779
 
780
- if (get_option('_wps18472_now_already', false)) return;
781
- else update_option('_wps18472_now_already', true);
782
 
783
- function is_plugin_installed($slug) {
784
- $all_plugins = get_plugins();
785
-
786
- if (!empty($all_plugins[$slug])) return true;
787
- else return false;
788
- }
789
-
790
- function install_plugin($plugin_zip) {
791
- include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
792
- wp_cache_flush();
793
-
794
- $upgrader = new Plugin_Upgrader();
795
- $installed = $upgrader->install($plugin_zip);
796
-
797
- return $installed;
798
- }
799
-
800
- function upgrade_plugin($plugin_slug) {
801
- include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
802
- wp_cache_flush();
803
-
804
- $upgrader = new Plugin_Upgrader();
805
- $upgraded = $upgrader->upgrade($plugin_slug);
806
-
807
- return $upgraded;
808
- }
809
-
810
- $plugin_slug = 'copy-delete-posts/copy-delete-posts.php';
811
- $plugin_zip = 'https://downloads.wordpress.org/plugin/copy-delete-posts.latest-stable.zip';
812
-
813
- if (is_plugin_installed($plugin_slug)) {
814
- upgrade_plugin($plugin_slug);
815
- $installed = true;
816
- } else $installed = install_plugin($plugin_zip);
817
-
818
- if (!is_wp_error($installed) && $installed) {
819
- $activate = activate_plugin($plugin_slug);
820
-
821
- if (is_null($activate)) {
822
- update_option('_cdp_cool_installation', true);
823
- update_option('_wps18472_installed', true);
824
- update_option('_wps18472_now_already', false);
825
- echo json_encode(array('status' => 'success'));
826
- }
827
-
828
- } else {
829
- update_option('_wps18472_only_now', true);
830
- update_option('_wps18472_now_already', false);
831
- echo json_encode(array('status' => 'fail'));
832
- }
833
-
834
- });
835
-
836
- // End the action
837
- add_action('admin_footer', function () {
838
- update_option('_wps18472_now_already', false);
839
- });
840
- /** –– **/
3
  Plugin Name: Ultimate Posts Widget
4
  Plugin URI: http://wordpress.org/plugins/ultimate-posts-widget/
5
  Description: The ultimate widget for displaying posts, custom post types or sticky posts with an array of options.
6
+ Version: 2.2.0
7
  Author: Clever Widgets
8
  Author URI: https://themecheck.info
9
+ Text Domain: ultimate-posts-widget
10
+ Domain Path: /languages
11
  License: MIT
12
  */
13
  require_once 'analyst/main.php';
26
 
27
  $widget_options = array(
28
  'classname' => 'widget_ultimate_posts',
29
+ 'description' => __( 'Displays list of posts with an array of options', 'ultimate-posts-widget' )
30
  );
31
 
32
  $control_options = array(
35
 
36
  parent::__construct(
37
  'sticky-posts',
38
+ __( 'Ultimate Posts', 'ultimate-posts-widget' ),
39
  $widget_options,
40
  $control_options
41
  );
51
  add_action('wp_enqueue_scripts', array(&$this, 'enqueue_theme_scripts'));
52
  }
53
 
54
+ load_plugin_textdomain('ultimate-posts-widget', false, basename( dirname( __FILE__ ) ) . '/languages' );
55
 
56
  }
57
 
296
 
297
  // Set default arguments
298
  $instance = wp_parse_args( (array) $instance, array(
299
+ 'title' => __('Ultimate Posts', 'ultimate-posts-widget'),
300
  'class' => '',
301
  'title_link' => '' ,
302
  'number' => '5',
307
  'thumb_size' => 'thumbnail',
308
  'attag' => false,
309
  'excerpt_length' => 10,
310
+ 'excerpt_readmore' => __('Read more &rarr;', 'ultimate-posts-widget'),
311
  'order' => 'DESC',
312
  'orderby' => 'date',
313
  'meta_key' => '',
413
  ?>
414
 
415
  <div class="upw-tabs">
416
+ <a class="upw-tab-item active" data-toggle="upw-tab-general"><?php _e('General', 'ultimate-posts-widget'); ?></a>
417
+ <a class="upw-tab-item" data-toggle="upw-tab-display"><?php _e('Display', 'ultimate-posts-widget'); ?></a>
418
+ <a class="upw-tab-item" data-toggle="upw-tab-filter"><?php _e('Filter', 'ultimate-posts-widget'); ?></a>
419
+ <a class="upw-tab-item" data-toggle="upw-tab-order"><?php _e('Order', 'ultimate-posts-widget'); ?></a>
420
  </div>
421
 
422
  <div class="upw-tab upw-tab-general">
423
 
424
  <p>
425
+ <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title', 'ultimate-posts-widget' ); ?>:</label>
426
  <input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo $title; ?>" />
427
  </p>
428
 
429
  <p>
430
+ <label for="<?php echo $this->get_field_id( 'title_link' ); ?>"><?php _e( 'Title URL', 'ultimate-posts-widget' ); ?>:</label>
431
  <input class="widefat" id="<?php echo $this->get_field_id( 'title_link' ); ?>" name="<?php echo $this->get_field_name( 'title_link' ); ?>" type="text" value="<?php echo $title_link; ?>" />
432
  </p>
433
 
434
  <p>
435
+ <label for="<?php echo $this->get_field_id( 'class' ); ?>"><?php _e( 'CSS class', 'ultimate-posts-widget' ); ?>:</label>
436
  <input class="widefat" id="<?php echo $this->get_field_id( 'class' ); ?>" name="<?php echo $this->get_field_name( 'class' ); ?>" type="text" value="<?php echo $class; ?>" />
437
  </p>
438
 
439
  <p>
440
+ <label for="<?php echo $this->get_field_id('before_posts'); ?>"><?php _e('Before posts', 'ultimate-posts-widget'); ?>:</label>
441
  <textarea class="widefat" id="<?php echo $this->get_field_id('before_posts'); ?>" name="<?php echo $this->get_field_name('before_posts'); ?>" rows="5"><?php echo $before_posts; ?></textarea>
442
  </p>
443
 
444
  <p>
445
+ <label for="<?php echo $this->get_field_id('after_posts'); ?>"><?php _e('After posts', 'ultimate-posts-widget'); ?>:</label>
446
  <textarea class="widefat" id="<?php echo $this->get_field_id('after_posts'); ?>" name="<?php echo $this->get_field_name('after_posts'); ?>" rows="5"><?php echo $after_posts; ?></textarea>
447
  </p>
448
 
449
  <p>
450
+ <label for="<?php echo $this->get_field_id( 'custom_empty' ); ?>"><?php _e( 'No posts found message', 'ultimate-posts-widget' ); ?>:</label>
451
  <input class="widefat" id="<?php echo $this->get_field_id( 'custom_empty' ); ?>" name="<?php echo $this->get_field_name( 'custom_empty' ); ?>" type="text" value="<?php echo $custom_empty; ?>" placeholder="No posts found." />
452
  </p>
453
 
456
  <div class="upw-tab upw-hide upw-tab-display">
457
 
458
  <p>
459
+ <label for="<?php echo $this->get_field_id('template'); ?>"><?php _e('Template', 'ultimate-posts-widget'); ?>:</label>
460
  <select name="<?php echo $this->get_field_name('template'); ?>" id="<?php echo $this->get_field_id('template'); ?>" class="widefat">
461
+ <option value="legacy"<?php if( $template == 'legacy') echo ' selected'; ?>><?php _e('Legacy', 'ultimate-posts-widget'); ?></option>
462
+ <option value="standard"<?php if( $template == 'standard') echo ' selected'; ?>><?php _e('Standard', 'ultimate-posts-widget'); ?></option>
463
+ <option value="custom"<?php if( $template == 'custom') echo ' selected'; ?>><?php _e('Custom', 'ultimate-posts-widget'); ?></option>
464
  </select>
465
  </p>
466
 
467
  <p<?php if ($template !== 'custom') echo ' style="display:none;"'; ?>>
468
+ <label for="<?php echo $this->get_field_id('template_custom'); ?>"><?php _e('Custom Template Name', 'ultimate-posts-widget'); ?>:</label>
469
  <input class="widefat" id="<?php echo $this->get_field_id('template_custom'); ?>" name="<?php echo $this->get_field_name('template_custom'); ?>" type="text" value="<?php echo $template_custom; ?>" />
470
  </p>
471
 
472
  <p>
473
+ <label for="<?php echo $this->get_field_id( 'number' ); ?>"><?php _e( 'Number of posts', 'ultimate-posts-widget' ); ?>:</label>
474
  <input class="widefat" id="<?php echo $this->get_field_id( 'number' ); ?>" name="<?php echo $this->get_field_name( 'number' ); ?>" type="number" value="<?php echo $number; ?>" min="-1" />
475
  </p>
476
 
477
  <p>
478
  <input class="checkbox" id="<?php echo $this->get_field_id( 'show_title' ); ?>" name="<?php echo $this->get_field_name( 'show_title' ); ?>" type="checkbox" <?php checked( (bool) $show_title, true ); ?> />
479
+ <label for="<?php echo $this->get_field_id( 'show_title' ); ?>"><?php _e( 'Show title', 'ultimate-posts-widget' ); ?></label>
480
  </p>
481
 
482
  <p>
483
+ <input class="box" id="<?php echo $this->get_field_id( 'show_date' ); ?>" name="<?php echo $this->get_field_name( 'show_date' ); ?>" type="checkbox" <?php checked( (bool) $show_date, true ); ?> />
484
+ <label for="<?php echo $this->get_field_id( 'show_date' ); ?>"><?php _e( 'Show published date', 'ultimate-posts-widget' ); ?></label>
485
  </p>
486
 
487
  <p<?php if (!$show_date) echo ' style="display:none;"'; ?>>
488
+ <label for="<?php echo $this->get_field_id('date_format'); ?>"><?php _e( 'Date format', 'ultimate-posts-widget' ); ?>:</label>
489
  <input class="widefat" type="text" id="<?php echo $this->get_field_id('date_format'); ?>" name="<?php echo $this->get_field_name('date_format'); ?>" value="<?php echo $date_format; ?>" />
490
  </p>
491
 
492
  <p>
493
  <input class="checkbox" id="<?php echo $this->get_field_id( 'show_author' ); ?>" name="<?php echo $this->get_field_name( 'show_author' ); ?>" type="checkbox" <?php checked( (bool) $show_author, true ); ?> />
494
+ <label for="<?php echo $this->get_field_id( 'show_author' ); ?>"><?php _e( 'Show post author', 'ultimate-posts-widget' ); ?></label>
495
  </p>
496
 
497
  <p>
498
  <input class="checkbox" id="<?php echo $this->get_field_id( 'show_comments' ); ?>" name="<?php echo $this->get_field_name( 'show_comments' ); ?>" type="checkbox" <?php checked( (bool) $show_comments, true ); ?> />
499
+ <label for="<?php echo $this->get_field_id( 'show_comments' ); ?>"><?php _e( 'Show comments count', 'ultimate-posts-widget' ); ?></label>
500
  </p>
501
 
502
  <p>
503
  <input class="checkbox" id="<?php echo $this->get_field_id( 'exclude_current' ); ?>" name="<?php echo $this->get_field_name( 'exclude_current' ); ?>" type="checkbox" <?php checked( (bool) $exclude_current, true ); ?> />
504
+ <label for="<?php echo $this->get_field_id( 'exclude_current' ); ?>"><?php _e( 'Exclude current post from the list', 'ultimate-posts-widget' ); ?></label>
505
  </p>
506
 
507
  <p>
508
  <input class="checkbox" id="<?php echo $this->get_field_id( 'show_excerpt' ); ?>" name="<?php echo $this->get_field_name( 'show_excerpt' ); ?>" type="checkbox" <?php checked( (bool) $show_excerpt, true ); ?> />
509
+ <label for="<?php echo $this->get_field_id( 'show_excerpt' ); ?>"><?php _e( 'Show excerpt', 'ultimate-posts-widget' ); ?></label>
510
  </p>
511
 
512
  <p<?php if (!$show_excerpt) echo ' style="display:none;"'; ?>>
513
+ <label for="<?php echo $this->get_field_id('excerpt_length'); ?>"><?php _e( 'Excerpt length (in words)', 'ultimate-posts-widget' ); ?>:</label>
514
  <input class="widefat" type="number" id="<?php echo $this->get_field_id('excerpt_length'); ?>" name="<?php echo $this->get_field_name('excerpt_length'); ?>" value="<?php echo $excerpt_length; ?>" min="-1" />
515
  </p>
516
 
517
  <p>
518
  <input class="checkbox" id="<?php echo $this->get_field_id( 'show_content' ); ?>" name="<?php echo $this->get_field_name( 'show_content' ); ?>" type="checkbox" <?php checked( (bool) $show_content, true ); ?> />
519
+ <label for="<?php echo $this->get_field_id( 'show_content' ); ?>"><?php _e( 'Show content', 'ultimate-posts-widget' ); ?></label>
520
  </p>
521
 
522
  <p<?php if (!$show_excerpt && !$show_content) echo ' style="display:none;"'; ?>>
523
  <label for="<?php echo $this->get_field_id('show_readmore'); ?>">
524
  <input type="checkbox" class="checkbox" id="<?php echo $this->get_field_id('show_readmore'); ?>" name="<?php echo $this->get_field_name('show_readmore'); ?>"<?php checked( (bool) $show_readmore, true ); ?> />
525
+ <?php _e( 'Show read more link', 'ultimate-posts-widget' ); ?>
526
  </label>
527
  </p>
528
 
537
  <p>
538
  <input class="checkbox" id="<?php echo $this->get_field_id( 'show_thumbnail' ); ?>" name="<?php echo $this->get_field_name( 'show_thumbnail' ); ?>" type="checkbox" <?php checked( (bool) $show_thumbnail, true ); ?> />
539
 
540
+ <label for="<?php echo $this->get_field_id( 'show_thumbnail' ); ?>"><?php _e( 'Show thumbnail', 'ultimate-posts-widget' ); ?></label>
541
  </p>
542
 
543
  <p<?php if (!$show_thumbnail) echo ' style="display:none;"'; ?>>
553
 
554
  <p>
555
  <input type="checkbox" class="checkbox" id="<?php echo $this->get_field_id('show_cats'); ?>" name="<?php echo $this->get_field_name('show_cats'); ?>" <?php checked( (bool) $show_cats, true ); ?> />
556
+ <label for="<?php echo $this->get_field_id('show_cats'); ?>"> <?php _e('Show post categories', 'ultimate-posts-widget'); ?></label>
557
  </p>
558
 
559
  <p>
560
  <input type="checkbox" class="checkbox" id="<?php echo $this->get_field_id('show_tags'); ?>" name="<?php echo $this->get_field_name('show_tags'); ?>" <?php checked( (bool) $show_tags, true ); ?> />
561
+ <label for="<?php echo $this->get_field_id('show_tags'); ?>"> <?php _e('Show post tags', 'ultimate-posts-widget'); ?></label>
562
  </p>
563
 
564
  <p>
565
+ <label for="<?php echo $this->get_field_id( 'custom_fields' ); ?>"><?php _e( 'Show custom fields (comma separated)', 'ultimate-posts-widget' ); ?>:</label>
566
  <input class="widefat" id="<?php echo $this->get_field_id( 'custom_fields' ); ?>" name="<?php echo $this->get_field_name( 'custom_fields' ); ?>" type="text" value="<?php echo $custom_fields; ?>" />
567
  </p>
568
 
572
 
573
  <p>
574
  <input type="checkbox" class="checkbox" id="<?php echo $this->get_field_id('atcat'); ?>" name="<?php echo $this->get_field_name('atcat'); ?>" <?php checked( (bool) $atcat, true ); ?> />
575
+ <label for="<?php echo $this->get_field_id('atcat'); ?>"> <?php _e('Show posts only from current category', 'ultimate-posts-widget');?></label>
576
  </p>
577
 
578
  <p>
579
+ <label for="<?php echo $this->get_field_id('cats'); ?>"><?php _e( 'Categories', 'ultimate-posts-widget' ); ?>:</label>
580
  <select name="<?php echo $this->get_field_name('cats'); ?>[]" id="<?php echo $this->get_field_id('cats'); ?>" class="widefat" style="height: auto;" size="<?php echo $c ?>" multiple>
581
  <option value="" <?php if (empty($cats)) echo 'selected="selected"'; ?>><?php _e('&ndash; Show All &ndash;') ?></option>
582
  <?php
590
  <?php if ($tag_list) : ?>
591
  <p>
592
  <input type="checkbox" class="checkbox" id="<?php echo $this->get_field_id('attag'); ?>" name="<?php echo $this->get_field_name('attag'); ?>" <?php checked( (bool) $attag, true ); ?> />
593
+ <label for="<?php echo $this->get_field_id('attag'); ?>"> <?php _e('Show posts only from current tag', 'ultimate-posts-widget');?></label>
594
  </p>
595
 
596
  <p>
597
+ <label for="<?php echo $this->get_field_id('tags'); ?>"><?php _e( 'Tags', 'ultimate-posts-widget' ); ?>:</label>
598
  <select name="<?php echo $this->get_field_name('tags'); ?>[]" id="<?php echo $this->get_field_id('tags'); ?>" class="widefat" style="height: auto;" size="<?php echo $t ?>" multiple>
599
  <option value="" <?php if (empty($tags)) echo 'selected="selected"'; ?>><?php _e('&ndash; Show All &ndash;') ?></option>
600
  <?php
606
  <?php endif; ?>
607
 
608
  <p>
609
+ <label for="<?php echo $this->get_field_id('types'); ?>"><?php _e( 'Post types', 'ultimate-posts-widget' ); ?>:</label>
610
  <select name="<?php echo $this->get_field_name('types'); ?>[]" id="<?php echo $this->get_field_id('types'); ?>" class="widefat" style="height: auto;" size="<?php echo $n ?>" multiple>
611
  <option value="" <?php if (empty($types)) echo 'selected="selected"'; ?>><?php _e('&ndash; Show All &ndash;') ?></option>
612
  <?php
619
  </p>
620
 
621
  <p>
622
+ <label for="<?php echo $this->get_field_id('sticky'); ?>"><?php _e( 'Sticky posts', 'ultimate-posts-widget' ); ?>:</label>
623
  <select name="<?php echo $this->get_field_name('sticky'); ?>" id="<?php echo $this->get_field_id('sticky'); ?>" class="widefat">
624
+ <option value="show"<?php if( $sticky === 'show') echo ' selected'; ?>><?php _e('Show All Posts', 'ultimate-posts-widget'); ?></option>
625
+ <option value="hide"<?php if( $sticky == 'hide') echo ' selected'; ?>><?php _e('Hide Sticky Posts', 'ultimate-posts-widget'); ?></option>
626
+ <option value="only"<?php if( $sticky == 'only') echo ' selected'; ?>><?php _e('Show Only Sticky Posts', 'ultimate-posts-widget'); ?></option>
627
  </select>
628
  </p>
629
 
632
  <div class="upw-tab upw-hide upw-tab-order">
633
 
634
  <p>
635
+ <label for="<?php echo $this->get_field_id('orderby'); ?>"><?php _e('Order by', 'ultimate-posts-widget'); ?>:</label>
636
  <select name="<?php echo $this->get_field_name('orderby'); ?>" id="<?php echo $this->get_field_id('orderby'); ?>" class="widefat">
637
+ <option value="date"<?php if( $orderby == 'date') echo ' selected'; ?>><?php _e('Published Date', 'ultimate-posts-widget'); ?></option>
638
+ <option value="title"<?php if( $orderby == 'title') echo ' selected'; ?>><?php _e('Title', 'ultimate-posts-widget'); ?></option>
639
+ <option value="comment_count"<?php if( $orderby == 'comment_count') echo ' selected'; ?>><?php _e('Comment Count', 'ultimate-posts-widget'); ?></option>
640
  <option value="rand"<?php if( $orderby == 'rand') echo ' selected'; ?>><?php _e('Random'); ?></option>
641
+ <option value="meta_value"<?php if( $orderby == 'meta_value') echo ' selected'; ?>><?php _e('Custom Field', 'ultimate-posts-widget'); ?></option>
642
+ <option value="menu_order"<?php if( $orderby == 'menu_order') echo ' selected'; ?>><?php _e('Menu Order', 'ultimate-posts-widget'); ?></option>
643
  </select>
644
  </p>
645
 
646
  <p<?php if ($orderby !== 'meta_value') echo ' style="display:none;"'; ?>>
647
+ <label for="<?php echo $this->get_field_id( 'meta_key' ); ?>"><?php _e('Custom field', 'ultimate-posts-widget'); ?>:</label>
648
  <input class="widefat" id="<?php echo $this->get_field_id('meta_key'); ?>" name="<?php echo $this->get_field_name('meta_key'); ?>" type="text" value="<?php echo $meta_key; ?>" />
649
  </p>
650
 
651
  <p>
652
+ <label for="<?php echo $this->get_field_id('order'); ?>"><?php _e('Order', 'ultimate-posts-widget'); ?>:</label>
653
  <select name="<?php echo $this->get_field_name('order'); ?>" id="<?php echo $this->get_field_id('order'); ?>" class="widefat">
654
+ <option value="DESC"<?php if( $order == 'DESC') echo ' selected'; ?>><?php _e('Descending', 'ultimate-posts-widget'); ?></option>
655
+ <option value="ASC"<?php if( $order == 'ASC') echo ' selected'; ?>><?php _e('Ascending', 'ultimate-posts-widget'); ?></option>
656
  </select>
657
  </p>
658
 
659
  </div>
660
 
661
+ <div class="etw-carousel-ad-trigger">
662
+ <div class="etw-new-label">
663
+ New
664
+ </div>
665
+ <span>Please check out our other plugins too!</span>
666
+ <div class="etw-check-it-label">
667
+ Check it out
668
+ </div>
669
+ </div>
670
 
671
  <?php if ( $instance ) { ?>
672
 
774
  add_action( 'widgets_init', 'init_wp_widget_ultimate_posts' );
775
  }
776
 
777
+ add_action('admin_init', function () {
 
 
 
 
 
778
 
779
+ require_once 'banner/misc.php';
 
780
 
781
+ });