Maintenance - Version 4.06

Version Description

Download this release

Release Info

Developer WebFactory
Plugin Icon 128x128 Maintenance
Version 4.06
Comparing to
See all releases

Code changes from version 4.05 to 4.06

Files changed (218) hide show
  1. css/admin.css +159 -24
  2. images/icon-small.png +0 -0
  3. images/maintenance-mascot.png +0 -0
  4. images/pro-templates/adventure-blog.jpg +0 -0
  5. images/pro-templates/aeroplane-company.jpg +0 -0
  6. images/pro-templates/air-balloon.jpg +0 -0
  7. images/pro-templates/animated-clock.jpg +0 -0
  8. images/pro-templates/architecture-inc.jpg +0 -0
  9. images/pro-templates/architecture.jpg +0 -0
  10. images/pro-templates/art-gallery.jpg +0 -0
  11. images/pro-templates/auto-service.jpg +0 -0
  12. images/pro-templates/bakery.jpg +0 -0
  13. images/pro-templates/banking-app.jpg +0 -0
  14. images/pro-templates/barbershop.jpg +0 -0
  15. images/pro-templates/beach.jpg +0 -0
  16. images/pro-templates/bicycle-race.jpg +0 -0
  17. images/pro-templates/bike-shop.jpg +0 -0
  18. images/pro-templates/bitcoin-miners.jpg +0 -0
  19. images/pro-templates/black-friday.jpg +0 -0
  20. images/pro-templates/blogging.jpg +0 -0
  21. images/pro-templates/blue-ocean.jpg +0 -0
  22. images/pro-templates/body-transformation.jpg +0 -0
  23. images/pro-templates/bodybuilding.jpg +0 -0
  24. images/pro-templates/book-lovers.jpg +0 -0
  25. images/pro-templates/business-company.jpg +0 -0
  26. images/pro-templates/business-consulting-video.jpg +0 -0
  27. images/pro-templates/business-consulting.jpg +0 -0
  28. images/pro-templates/business-launch.jpg +0 -0
  29. images/pro-templates/business-meeting-video.jpg +0 -0
  30. images/pro-templates/business.jpg +0 -0
  31. images/pro-templates/cafe.jpg +0 -0
  32. images/pro-templates/chatbot.jpg +0 -0
  33. images/pro-templates/christmas-decor.jpg +0 -0
  34. images/pro-templates/christmas-sale.jpg +0 -0
  35. images/pro-templates/church.jpg +0 -0
  36. images/pro-templates/cinema-trailer-video.jpg +0 -0
  37. images/pro-templates/city-nighttime.jpg +0 -0
  38. images/pro-templates/cityscape.jpg +0 -0
  39. images/pro-templates/clothing-trends.jpg +0 -0
  40. images/pro-templates/clouds-screensaver-video.jpg +0 -0
  41. images/pro-templates/coffee-shop.jpg +0 -0
  42. images/pro-templates/cold-lake.jpg +0 -0
  43. images/pro-templates/computer-repair-service.jpg +0 -0
  44. images/pro-templates/concert.jpg +0 -0
  45. images/pro-templates/conference-event.jpg +0 -0
  46. images/pro-templates/construction-company.jpg +0 -0
  47. images/pro-templates/creative-design.jpg +0 -0
  48. images/pro-templates/custom-decor.jpg +0 -0
  49. images/pro-templates/cyber-security.jpg +0 -0
  50. images/pro-templates/default.jpg +0 -0
  51. images/pro-templates/dental-clinic.jpg +0 -0
  52. images/pro-templates/digital-agency.jpg +0 -0
  53. images/pro-templates/digital-marketing-agency.jpg +0 -0
  54. images/pro-templates/dog-shelter.jpg +0 -0
  55. images/pro-templates/dog-training-and-behavior-consulting.jpg +0 -0
  56. images/pro-templates/donation.jpg +0 -0
  57. images/pro-templates/e-shop.jpg +0 -0
  58. images/pro-templates/ecommerce.jpg +0 -0
  59. images/pro-templates/email-platform.jpg +0 -0
  60. images/pro-templates/employment.jpg +0 -0
  61. images/pro-templates/essay-writing-service.jpg +0 -0
  62. images/pro-templates/fall-video.jpg +0 -0
  63. images/pro-templates/fashion.jpg +0 -0
  64. images/pro-templates/film-trailer.jpg +0 -0
  65. images/pro-templates/financial-counselling.jpg +0 -0
  66. images/pro-templates/financial-district.jpg +0 -0
  67. images/pro-templates/fitness-e-shop.jpg +0 -0
  68. images/pro-templates/florium.jpg +0 -0
  69. images/pro-templates/flower-shop.jpg +0 -0
  70. images/pro-templates/food-blog.jpg +0 -0
  71. images/pro-templates/food-store.jpg +0 -0
  72. images/pro-templates/foodie.jpg +0 -0
  73. images/pro-templates/football.jpg +0 -0
  74. images/pro-templates/frozen-nature.jpg +0 -0
  75. images/pro-templates/future-technology.jpg +0 -0
  76. images/pro-templates/gaming.jpg +0 -0
  77. images/pro-templates/graphic-design.jpg +0 -0
  78. images/pro-templates/greenlife.jpg +0 -0
  79. images/pro-templates/halloween.jpg +0 -0
  80. images/pro-templates/healthy-eating.jpg +0 -0
  81. images/pro-templates/hexagons-video.jpg +0 -0
  82. images/pro-templates/holiday-resort.jpg +0 -0
  83. images/pro-templates/home-design.jpg +0 -0
  84. images/pro-templates/homemade-chocolate-gifts.jpg +0 -0
  85. images/pro-templates/hosting.jpg +0 -0
  86. images/pro-templates/ice-cream-shop.jpg +0 -0
  87. images/pro-templates/in-design.jpg +0 -0
  88. images/pro-templates/inspy-romance.jpg +0 -0
  89. images/pro-templates/interior-design.jpg +0 -0
  90. images/pro-templates/internet-service-provider.jpg +0 -0
  91. images/pro-templates/it-conference.jpg +0 -0
  92. images/pro-templates/journey-video.jpg +0 -0
  93. images/pro-templates/keyword-research.jpg +0 -0
  94. images/pro-templates/kids-center.jpg +0 -0
  95. images/pro-templates/kids-innovation-program.jpg +0 -0
  96. images/pro-templates/ladies-accessories.jpg +0 -0
  97. images/pro-templates/law.jpg +0 -0
  98. images/pro-templates/lego-bricks.jpg +0 -0
  99. images/pro-templates/loneliness.jpg +0 -0
  100. images/pro-templates/lonely-road.jpg +0 -0
  101. images/pro-templates/luxury-car.jpg +0 -0
  102. images/pro-templates/maintenance-mode.jpg +0 -0
  103. images/pro-templates/makeup-artist-training.jpg +0 -0
  104. images/pro-templates/marketing-webinar.jpg +0 -0
  105. images/pro-templates/metrics-video.jpg +0 -0
  106. images/pro-templates/misty-forest-video.jpg +0 -0
  107. images/pro-templates/mobile-app.jpg +0 -0
  108. images/pro-templates/mobile-designer.jpg +0 -0
  109. images/pro-templates/mobile-meeting.jpg +0 -0
  110. images/pro-templates/modern-blog.jpg +0 -0
  111. images/pro-templates/modern-office.jpg +0 -0
  112. images/pro-templates/modern-recipes.jpg +0 -0
  113. images/pro-templates/mountain-slide.jpg +0 -0
  114. images/pro-templates/mountain.jpg +0 -0
  115. images/pro-templates/movie-trailer-video.jpg +0 -0
  116. images/pro-templates/moving-service.jpg +0 -0
  117. images/pro-templates/museum.jpg +0 -0
  118. images/pro-templates/music-lessons.jpg +0 -0
  119. images/pro-templates/music.jpg +0 -0
  120. images/pro-templates/nature.jpg +0 -0
  121. images/pro-templates/non-profit-organization.jpg +0 -0
  122. images/pro-templates/nutritionist.jpg +0 -0
  123. images/pro-templates/office-meeting-video.jpg +0 -0
  124. images/pro-templates/office-theme.jpg +0 -0
  125. images/pro-templates/online-food-delivery.jpg +0 -0
  126. images/pro-templates/online-learning.jpg +0 -0
  127. images/pro-templates/online-shopping.jpg +0 -0
  128. images/pro-templates/organic-cosmetics.jpg +0 -0
  129. images/pro-templates/organic-farming.jpg +0 -0
  130. images/pro-templates/pancake-house.jpg +0 -0
  131. images/pro-templates/parenting.jpg +0 -0
  132. images/pro-templates/parents-online.jpg +0 -0
  133. images/pro-templates/passage.jpg +0 -0
  134. images/pro-templates/peaceful-river.jpg +0 -0
  135. images/pro-templates/perfume-shop.jpg +0 -0
  136. images/pro-templates/personal-trainer.jpg +0 -0
  137. images/pro-templates/photo-studio.jpg +0 -0
  138. images/pro-templates/photography.jpg +0 -0
  139. images/pro-templates/plumbing.jpg +0 -0
  140. images/pro-templates/podcast.jpg +0 -0
  141. images/pro-templates/portfolio.jpg +0 -0
  142. images/pro-templates/product-marketing.jpg +0 -0
  143. images/pro-templates/real-estate.jpg +0 -0
  144. images/pro-templates/remote-work.jpg +0 -0
  145. images/pro-templates/restaurant.jpg +0 -0
  146. images/pro-templates/romantic-travels.jpg +0 -0
  147. images/pro-templates/running-blog.jpg +0 -0
  148. images/pro-templates/running-video.jpg +0 -0
  149. images/pro-templates/scholar-university.jpg +0 -0
  150. images/pro-templates/seo-digital-marketing.jpg +0 -0
  151. images/pro-templates/shoes-store.jpg +0 -0
  152. images/pro-templates/simple-beige-design.jpg +0 -0
  153. images/pro-templates/skin-care.jpg +0 -0
  154. images/pro-templates/skincare.jpg +0 -0
  155. images/pro-templates/snow-screensaver-video.jpg +0 -0
  156. images/pro-templates/snowboarding-blog.jpg +0 -0
  157. images/pro-templates/snowy-mountain.jpg +0 -0
  158. images/pro-templates/snowy-oasis.jpg +0 -0
  159. images/pro-templates/social-media-service.jpg +0 -0
  160. images/pro-templates/social-media.jpg +0 -0
  161. images/pro-templates/spa-beauty-studio.jpg +0 -0
  162. images/pro-templates/spa.jpg +0 -0
  163. images/pro-templates/sport-shop.jpg +0 -0
  164. images/pro-templates/sport.jpg +0 -0
  165. images/pro-templates/spring-sale.jpg +0 -0
  166. images/pro-templates/spring.jpg +0 -0
  167. images/pro-templates/startup.jpg +0 -0
  168. images/pro-templates/stat-team.jpg +0 -0
  169. images/pro-templates/statistics-survey.jpg +0 -0
  170. images/pro-templates/studio-design.jpg +0 -0
  171. images/pro-templates/stylish-workplace.jpg +0 -0
  172. images/pro-templates/tattoo-studio.jpg +0 -0
  173. images/pro-templates/tech.jpg +0 -0
  174. images/pro-templates/techexpo.jpg +0 -0
  175. images/pro-templates/technology.jpg +0 -0
  176. images/pro-templates/telecommunication.jpg +0 -0
  177. images/pro-templates/the-big-city-newsletter.jpg +0 -0
  178. images/pro-templates/the-sunny-view.jpg +0 -0
  179. images/pro-templates/theatre.jpg +0 -0
  180. images/pro-templates/travel-agency.jpg +0 -0
  181. images/pro-templates/travel-blog.jpg +0 -0
  182. images/pro-templates/travel-vlog.jpg +0 -0
  183. images/pro-templates/travel.jpg +0 -0
  184. images/pro-templates/tulips.jpg +0 -0
  185. images/pro-templates/valentines-day.jpg +0 -0
  186. images/pro-templates/video-production.jpg +0 -0
  187. images/pro-templates/virtual-assistant-service.jpg +0 -0
  188. images/pro-templates/virtual-reality.jpg +0 -0
  189. images/pro-templates/walking-away-video.jpg +0 -0
  190. images/pro-templates/web-security.jpg +0 -0
  191. images/pro-templates/webinar.jpg +0 -0
  192. images/pro-templates/wedding-blog.jpg +0 -0
  193. images/pro-templates/wedding.jpg +0 -0
  194. images/pro-templates/wellness.jpg +0 -0
  195. images/pro-templates/white-orchids.jpg +0 -0
  196. images/pro-templates/winery.jpg +0 -0
  197. images/pro-templates/winter-sale.jpg +0 -0
  198. images/pro-templates/working-out.jpg +0 -0
  199. images/pro-templates/workplace.jpg +0 -0
  200. images/pro-templates/writing-service-video.jpg +0 -0
  201. images/pro-templates/yoga-classes.jpg +0 -0
  202. images/star.png +0 -0
  203. images/support.png +0 -0
  204. images/themes.png +0 -0
  205. images/translate.png +0 -0
  206. images/weglot-logo-white.png +0 -0
  207. images/worker.png +0 -0
  208. images/wp-maintenance-logo.png +0 -0
  209. includes/admin.php +52 -4
  210. includes/functions.php +253 -2055
  211. index.php +2 -0
  212. js/init.js +61 -0
  213. js/pointers.js +32 -0
  214. load/functions.php +1 -1
  215. maintenance.php +109 -2
  216. readme.txt +7 -3
  217. wf-flyout/config.php +1 -0
  218. wf-flyout/wf-flyout.php +1 -1
css/admin.css CHANGED
@@ -29,6 +29,26 @@
29
  display: none;
30
  }
31
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
  #review-top p {
33
  font-size: 14px;
34
  }
@@ -110,7 +130,7 @@
110
 
111
  .tzCheckBox.checked {
112
  background-position: top left;
113
- margin: 8px 0 0 18px;
114
  }
115
 
116
  .tzCheckBox .tzCBContent {
@@ -213,22 +233,6 @@
213
  padding: 6px 0 6px 40px;
214
  }
215
 
216
- .sidebar-promo h4.support {
217
- background: url('../images/support.png') no-repeat scroll 0 0 rgba(0, 0, 0, 0);
218
- }
219
-
220
- .sidebar-promo h4.star {
221
- background: url('../images/star.png') no-repeat scroll 0 0 rgba(0, 0, 0, 0);
222
- }
223
-
224
- .sidebar-promo h4.themes {
225
- background: url('../images/themes.png') no-repeat scroll 0 0 rgba(0, 0, 0, 0);
226
- }
227
-
228
- .sidebar-promo h4.translate {
229
- background: url('../images/translate.png') no-repeat scroll 0 0 rgba(0, 0, 0, 0);
230
- }
231
-
232
  .sidebar-promo p {
233
  color: #3e3e3e;
234
  font-family: Arial;
@@ -243,12 +247,6 @@
243
  text-decoration: none;
244
  }
245
 
246
- .sidebar-promo.worker {
247
- background-image: url('../images/worker.png');
248
- background-repeat: no-repeat;
249
- background-position: 100% 20px;
250
- }
251
-
252
  #maintenance-options input#page_title,
253
  #maintenance-options input#heading,
254
  #maintenance-options textarea,
@@ -301,7 +299,6 @@
301
 
302
  .start-date,
303
  .end-date {
304
- float: left;
305
  display: inline-block;
306
  margin: 0 20px 0 0;
307
  }
@@ -512,3 +509,141 @@
512
  white-space: normal;
513
  max-width: 90%;
514
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  display: none;
30
  }
31
 
32
+ .logo-image {
33
+ height: 45px;
34
+ width: auto;
35
+ display: inline-block;
36
+ margin-bottom: -26px;
37
+ }
38
+
39
+ .postbox-container.column-2 .postbox-header {
40
+ pointer-events: none;
41
+ }
42
+
43
+ .postbox-container.column-2 .handle-actions {
44
+ display: none;
45
+ }
46
+
47
+ #maintenance-options #poststuff .metabox-holder .postbox-container.column-2 {
48
+ position: sticky;
49
+ top: 40px;
50
+ }
51
+
52
  #review-top p {
53
  font-size: 14px;
54
  }
130
 
131
  .tzCheckBox.checked {
132
  background-position: top left;
133
+ margin: 8px 24px 0 0;
134
  }
135
 
136
  .tzCheckBox .tzCBContent {
233
  padding: 6px 0 6px 40px;
234
  }
235
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
236
  .sidebar-promo p {
237
  color: #3e3e3e;
238
  font-family: Arial;
247
  text-decoration: none;
248
  }
249
 
 
 
 
 
 
 
250
  #maintenance-options input#page_title,
251
  #maintenance-options input#heading,
252
  #maintenance-options textarea,
299
 
300
  .start-date,
301
  .end-date {
 
302
  display: inline-block;
303
  margin: 0 20px 0 0;
304
  }
509
  white-space: normal;
510
  max-width: 90%;
511
  }
512
+
513
+ .mtnc-pro-dialog .ui-dialog-titlebar {
514
+ display: none;
515
+ }
516
+
517
+ .mtnc-pro-dialog .logo img {
518
+ max-height: 55px;
519
+ }
520
+
521
+ .mtnc-pro-dialog .logo {
522
+ text-align: center;
523
+ background: #f8f8f8;
524
+ margin: -16px -16px 0 -16px;
525
+ padding: 15px;
526
+ }
527
+
528
+ .mtnc-pro-dialog .footer {
529
+ text-align: center;
530
+ background: #f8f8f8;
531
+ margin: 0 -16px -16px -16px;
532
+ padding: 20px;
533
+ }
534
+
535
+ .mtnc-pro-dialog .logo span {
536
+ display: block;
537
+ font-size: 18px;
538
+ margin: 10px;
539
+ }
540
+
541
+ .mtnc-pro-dialog .logo span b {
542
+ border-bottom: 3px solid #0387e6;
543
+ }
544
+
545
+ #mtnc-pro-table {
546
+ width: 100%;
547
+ margin: 10px auto 0 auto;
548
+ border-collapse: collapse;
549
+ }
550
+
551
+ #mtnc-pro-table td {
552
+ padding: 4px 10px 4px 34px;
553
+ border: none;
554
+ font-size: 14px;
555
+ }
556
+
557
+ #mtnc-pro-table tr:last-child td {
558
+ text-align: center;
559
+ }
560
+
561
+ #mtnc-pro-table .dashicons-yes {
562
+ color: #0387e6;
563
+ }
564
+
565
+ #mtnc-pro-table .dashicons {
566
+ padding-right: 8px;
567
+ margin-left: -27px;
568
+ }
569
+
570
+ .center {
571
+ text-align: center;
572
+ }
573
+
574
+ .prices del {
575
+ color: #00000099;
576
+ }
577
+
578
+ .prices span {
579
+ font-weight: 600;
580
+ font-size: 40px;
581
+ color: #0387e6;
582
+ line-height: 1;
583
+ display: inline-block;
584
+ padding-bottom: 15px;
585
+ }
586
+
587
+ #mtnc-pro-table tr:first-child td {
588
+ color: #000;
589
+ font-size: 18px;
590
+ font-weight: 800 !important;
591
+ padding: 10px 0;
592
+ text-align: center;
593
+ }
594
+
595
+ #mtnc-pro-table tr:last-child td {
596
+ padding: 20px 0 20px 0;
597
+ vertical-align: top;
598
+ }
599
+
600
+ #mtnc-pro-table tr:last-child td {
601
+ text-align: center;
602
+ }
603
+
604
+ a.button.button-buy {
605
+ padding: 11px 40px;
606
+ color: white;
607
+ background: #0387e6;
608
+ font-weight: 600;
609
+ border: none;
610
+ line-height: 1.5;
611
+ height: auto;
612
+ margin-bottom: 10px;
613
+ }
614
+
615
+ a.button.button-buy:hover,
616
+ a.button.button-buy:active,
617
+ a.button.button-buy:focus {
618
+ box-shadow: 0px 0px 10px 0px rgb(50 138 210 / 52%);
619
+ background: #0387e6;
620
+ color: white;
621
+ border: none;
622
+ }
623
+
624
+ .wp-dialog.ui-widget-content {
625
+ background: #fff !important;
626
+ }
627
+
628
+ #mtnc-pro-dialog {
629
+ overflow: hidden;
630
+ }
631
+
632
+ label sup {
633
+ color: #0387e6;
634
+ font-weight: 600;
635
+ font-size: 10px;
636
+ font-style: italic;
637
+ }
638
+
639
+ .form-table tr {
640
+ border-bottom: thin solid #f0f0f1;
641
+ }
642
+ .form-table tr:last-child {
643
+ border-bottom: none;
644
+ }
645
+
646
+ #mtnc-toc ul {
647
+ list-style: disc;
648
+ list-style-position: inside;
649
+ }
images/icon-small.png CHANGED
Binary file
images/maintenance-mascot.png ADDED
Binary file
images/pro-templates/adventure-blog.jpg ADDED
Binary file
images/pro-templates/aeroplane-company.jpg DELETED
Binary file
images/pro-templates/air-balloon.jpg DELETED
Binary file
images/pro-templates/animated-clock.jpg DELETED
Binary file
images/pro-templates/architecture-inc.jpg DELETED
Binary file
images/pro-templates/architecture.jpg DELETED
Binary file
images/pro-templates/art-gallery.jpg DELETED
Binary file
images/pro-templates/auto-service.jpg DELETED
Binary file
images/pro-templates/bakery.jpg DELETED
Binary file
images/pro-templates/banking-app.jpg DELETED
Binary file
images/pro-templates/barbershop.jpg DELETED
Binary file
images/pro-templates/beach.jpg DELETED
Binary file
images/pro-templates/bicycle-race.jpg DELETED
Binary file
images/pro-templates/bike-shop.jpg DELETED
Binary file
images/pro-templates/bitcoin-miners.jpg DELETED
Binary file
images/pro-templates/black-friday.jpg DELETED
Binary file
images/pro-templates/blogging.jpg DELETED
Binary file
images/pro-templates/blue-ocean.jpg DELETED
Binary file
images/pro-templates/body-transformation.jpg DELETED
Binary file
images/pro-templates/bodybuilding.jpg DELETED
Binary file
images/pro-templates/book-lovers.jpg DELETED
Binary file
images/pro-templates/business-company.jpg DELETED
Binary file
images/pro-templates/business-consulting-video.jpg DELETED
Binary file
images/pro-templates/business-consulting.jpg DELETED
Binary file
images/pro-templates/business-launch.jpg DELETED
Binary file
images/pro-templates/business-meeting-video.jpg DELETED
Binary file
images/pro-templates/business.jpg CHANGED
Binary file
images/pro-templates/cafe.jpg DELETED
Binary file
images/pro-templates/chatbot.jpg DELETED
Binary file
images/pro-templates/christmas-decor.jpg DELETED
Binary file
images/pro-templates/christmas-sale.jpg DELETED
Binary file
images/pro-templates/church.jpg DELETED
Binary file
images/pro-templates/cinema-trailer-video.jpg DELETED
Binary file
images/pro-templates/city-nighttime.jpg DELETED
Binary file
images/pro-templates/cityscape.jpg DELETED
Binary file
images/pro-templates/clothing-trends.jpg DELETED
Binary file
images/pro-templates/clouds-screensaver-video.jpg DELETED
Binary file
images/pro-templates/coffee-shop.jpg DELETED
Binary file
images/pro-templates/cold-lake.jpg DELETED
Binary file
images/pro-templates/computer-repair-service.jpg DELETED
Binary file
images/pro-templates/concert.jpg DELETED
Binary file
images/pro-templates/conference-event.jpg DELETED
Binary file
images/pro-templates/construction-company.jpg DELETED
Binary file
images/pro-templates/creative-design.jpg DELETED
Binary file
images/pro-templates/custom-decor.jpg DELETED
Binary file
images/pro-templates/cyber-security.jpg DELETED
Binary file
images/pro-templates/default.jpg DELETED
Binary file
images/pro-templates/dental-clinic.jpg DELETED
Binary file
images/pro-templates/digital-agency.jpg DELETED
Binary file
images/pro-templates/digital-marketing-agency.jpg ADDED
Binary file
images/pro-templates/dog-shelter.jpg DELETED
Binary file
images/pro-templates/dog-training-and-behavior-consulting.jpg DELETED
Binary file
images/pro-templates/donation.jpg DELETED
Binary file
images/pro-templates/e-shop.jpg ADDED
Binary file
images/pro-templates/ecommerce.jpg DELETED
Binary file
images/pro-templates/email-platform.jpg DELETED
Binary file
images/pro-templates/employment.jpg DELETED
Binary file
images/pro-templates/essay-writing-service.jpg DELETED
Binary file
images/pro-templates/fall-video.jpg DELETED
Binary file
images/pro-templates/fashion.jpg CHANGED
Binary file
images/pro-templates/film-trailer.jpg DELETED
Binary file
images/pro-templates/financial-counselling.jpg DELETED
Binary file
images/pro-templates/financial-district.jpg DELETED
Binary file
images/pro-templates/fitness-e-shop.jpg DELETED
Binary file
images/pro-templates/florium.jpg DELETED
Binary file
images/pro-templates/flower-shop.jpg CHANGED
Binary file
images/pro-templates/food-blog.jpg DELETED
Binary file
images/pro-templates/food-store.jpg DELETED
Binary file
images/pro-templates/foodie.jpg DELETED
Binary file
images/pro-templates/football.jpg DELETED
Binary file
images/pro-templates/frozen-nature.jpg DELETED
Binary file
images/pro-templates/future-technology.jpg DELETED
Binary file
images/pro-templates/gaming.jpg ADDED
Binary file
images/pro-templates/graphic-design.jpg DELETED
Binary file
images/pro-templates/greenlife.jpg DELETED
Binary file
images/pro-templates/halloween.jpg DELETED
Binary file
images/pro-templates/healthy-eating.jpg DELETED
Binary file
images/pro-templates/hexagons-video.jpg DELETED
Binary file
images/pro-templates/holiday-resort.jpg DELETED
Binary file
images/pro-templates/home-design.jpg DELETED
Binary file
images/pro-templates/homemade-chocolate-gifts.jpg DELETED
Binary file
images/pro-templates/hosting.jpg DELETED
Binary file
images/pro-templates/ice-cream-shop.jpg DELETED
Binary file
images/pro-templates/in-design.jpg DELETED
Binary file
images/pro-templates/inspy-romance.jpg DELETED
Binary file
images/pro-templates/interior-design.jpg CHANGED
Binary file
images/pro-templates/internet-service-provider.jpg DELETED
Binary file
images/pro-templates/it-conference.jpg DELETED
Binary file
images/pro-templates/journey-video.jpg DELETED
Binary file
images/pro-templates/keyword-research.jpg DELETED
Binary file
images/pro-templates/kids-center.jpg DELETED
Binary file
images/pro-templates/kids-innovation-program.jpg DELETED
Binary file
images/pro-templates/ladies-accessories.jpg DELETED
Binary file
images/pro-templates/law.jpg DELETED
Binary file
images/pro-templates/lego-bricks.jpg DELETED
Binary file
images/pro-templates/loneliness.jpg DELETED
Binary file
images/pro-templates/lonely-road.jpg DELETED
Binary file
images/pro-templates/luxury-car.jpg DELETED
Binary file
images/pro-templates/maintenance-mode.jpg DELETED
Binary file
images/pro-templates/makeup-artist-training.jpg DELETED
Binary file
images/pro-templates/marketing-webinar.jpg DELETED
Binary file
images/pro-templates/metrics-video.jpg DELETED
Binary file
images/pro-templates/misty-forest-video.jpg DELETED
Binary file
images/pro-templates/mobile-app.jpg CHANGED
Binary file
images/pro-templates/mobile-designer.jpg DELETED
Binary file
images/pro-templates/mobile-meeting.jpg DELETED
Binary file
images/pro-templates/modern-blog.jpg DELETED
Binary file
images/pro-templates/modern-office.jpg DELETED
Binary file
images/pro-templates/modern-recipes.jpg DELETED
Binary file
images/pro-templates/mountain-slide.jpg DELETED
Binary file
images/pro-templates/mountain.jpg DELETED
Binary file
images/pro-templates/movie-trailer-video.jpg DELETED
Binary file
images/pro-templates/moving-service.jpg DELETED
Binary file
images/pro-templates/museum.jpg DELETED
Binary file
images/pro-templates/music-lessons.jpg DELETED
Binary file
images/pro-templates/music.jpg DELETED
Binary file
images/pro-templates/nature.jpg DELETED
Binary file
images/pro-templates/non-profit-organization.jpg CHANGED
Binary file
images/pro-templates/nutritionist.jpg DELETED
Binary file
images/pro-templates/office-meeting-video.jpg DELETED
Binary file
images/pro-templates/office-theme.jpg DELETED
Binary file
images/pro-templates/online-food-delivery.jpg DELETED
Binary file
images/pro-templates/online-learning.jpg DELETED
Binary file
images/pro-templates/online-shopping.jpg DELETED
Binary file
images/pro-templates/organic-cosmetics.jpg DELETED
Binary file
images/pro-templates/organic-farming.jpg DELETED
Binary file
images/pro-templates/pancake-house.jpg DELETED
Binary file
images/pro-templates/parenting.jpg DELETED
Binary file
images/pro-templates/parents-online.jpg DELETED
Binary file
images/pro-templates/passage.jpg DELETED
Binary file
images/pro-templates/peaceful-river.jpg DELETED
Binary file
images/pro-templates/perfume-shop.jpg DELETED
Binary file
images/pro-templates/personal-trainer.jpg DELETED
Binary file
images/pro-templates/photo-studio.jpg DELETED
Binary file
images/pro-templates/photography.jpg CHANGED
Binary file
images/pro-templates/plumbing.jpg DELETED
Binary file
images/pro-templates/podcast.jpg CHANGED
Binary file
images/pro-templates/portfolio.jpg DELETED
Binary file
images/pro-templates/product-marketing.jpg ADDED
Binary file
images/pro-templates/real-estate.jpg DELETED
Binary file
images/pro-templates/remote-work.jpg DELETED
Binary file
images/pro-templates/restaurant.jpg CHANGED
Binary file
images/pro-templates/romantic-travels.jpg DELETED
Binary file
images/pro-templates/running-blog.jpg DELETED
Binary file
images/pro-templates/running-video.jpg DELETED
Binary file
images/pro-templates/scholar-university.jpg DELETED
Binary file
images/pro-templates/seo-digital-marketing.jpg DELETED
Binary file
images/pro-templates/shoes-store.jpg DELETED
Binary file
images/pro-templates/simple-beige-design.jpg DELETED
Binary file
images/pro-templates/skin-care.jpg DELETED
Binary file
images/pro-templates/skincare.jpg CHANGED
Binary file
images/pro-templates/snow-screensaver-video.jpg DELETED
Binary file
images/pro-templates/snowboarding-blog.jpg DELETED
Binary file
images/pro-templates/snowy-mountain.jpg DELETED
Binary file
images/pro-templates/snowy-oasis.jpg DELETED
Binary file
images/pro-templates/social-media-service.jpg DELETED
Binary file
images/pro-templates/social-media.jpg CHANGED
Binary file
images/pro-templates/spa-beauty-studio.jpg DELETED
Binary file
images/pro-templates/spa.jpg DELETED
Binary file
images/pro-templates/sport-shop.jpg DELETED
Binary file
images/pro-templates/sport.jpg ADDED
Binary file
images/pro-templates/spring-sale.jpg DELETED
Binary file
images/pro-templates/spring.jpg DELETED
Binary file
images/pro-templates/startup.jpg DELETED
Binary file
images/pro-templates/stat-team.jpg DELETED
Binary file
images/pro-templates/statistics-survey.jpg DELETED
Binary file
images/pro-templates/studio-design.jpg DELETED
Binary file
images/pro-templates/stylish-workplace.jpg DELETED
Binary file
images/pro-templates/tattoo-studio.jpg DELETED
Binary file
images/pro-templates/tech.jpg DELETED
Binary file
images/pro-templates/techexpo.jpg DELETED
Binary file
images/pro-templates/technology.jpg DELETED
Binary file
images/pro-templates/telecommunication.jpg DELETED
Binary file
images/pro-templates/the-big-city-newsletter.jpg DELETED
Binary file
images/pro-templates/the-sunny-view.jpg DELETED
Binary file
images/pro-templates/theatre.jpg DELETED
Binary file
images/pro-templates/travel-agency.jpg DELETED
Binary file
images/pro-templates/travel-blog.jpg DELETED
Binary file
images/pro-templates/travel-vlog.jpg ADDED
Binary file
images/pro-templates/travel.jpg DELETED
Binary file
images/pro-templates/tulips.jpg DELETED
Binary file
images/pro-templates/valentines-day.jpg DELETED
Binary file
images/pro-templates/video-production.jpg DELETED
Binary file
images/pro-templates/virtual-assistant-service.jpg DELETED
Binary file
images/pro-templates/virtual-reality.jpg DELETED
Binary file
images/pro-templates/walking-away-video.jpg DELETED
Binary file
images/pro-templates/web-security.jpg DELETED
Binary file
images/pro-templates/webinar.jpg DELETED
Binary file
images/pro-templates/wedding-blog.jpg DELETED
Binary file
images/pro-templates/wedding.jpg CHANGED
Binary file
images/pro-templates/wellness.jpg ADDED
Binary file
images/pro-templates/white-orchids.jpg DELETED
Binary file
images/pro-templates/winery.jpg DELETED
Binary file
images/pro-templates/winter-sale.jpg DELETED
Binary file
images/pro-templates/working-out.jpg DELETED
Binary file
images/pro-templates/workplace.jpg DELETED
Binary file
images/pro-templates/writing-service-video.jpg DELETED
Binary file
images/pro-templates/yoga-classes.jpg DELETED
Binary file
images/star.png DELETED
Binary file
images/support.png DELETED
Binary file
images/themes.png DELETED
Binary file
images/translate.png DELETED
Binary file
images/weglot-logo-white.png DELETED
Binary file
images/worker.png DELETED
Binary file
images/wp-maintenance-logo.png ADDED
Binary file
includes/admin.php CHANGED
@@ -4,7 +4,7 @@ add_action('admin_menu', 'mtnc_admin_setup');
4
  function mtnc_admin_setup()
5
  {
6
  global $mtnc_variable;
7
- $mtnc_variable->options_page = add_menu_page(__('Maintenance', 'maintenance'), __('Maintenance', 'maintenance'), 'manage_options', 'maintenance', 'mtnc_manage_options', MTNC_URI . 'images/icon-small.png');
8
 
9
  add_action('admin_init', 'mtnc_register_settings');
10
  add_action("admin_head-{$mtnc_variable->options_page}", 'mtnc_metaboxes_scripts');
@@ -31,6 +31,26 @@ function mtnc_plugin_dismiss_dialog() {
31
  die();
32
  }
33
  add_action("wp_ajax_mtnc_dismiss_dialog", "mtnc_plugin_dismiss_dialog");
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
 
35
  function mtnc_plugin_information() {
36
  if (empty($_GET['fix-install-button']) || empty($_GET['tab']) || $_GET['tab'] != 'plugin-information') {
@@ -128,7 +148,7 @@ function mtnc_admin_print_custom_styles()
128
  );
129
 
130
  wp_enqueue_script('mtnc');
131
- wp_enqueue_style('mtnc', MTNC_URI . 'css/admin.css', '', filemtime(MTNC_DIR . 'css/admin.css'));
132
 
133
  wp_enqueue_style('wp-jquery-ui-dialog');
134
  wp_enqueue_script('jquery-ui-dialog');
@@ -163,13 +183,39 @@ function mtnc_codemirror_enqueue_scripts($hook)
163
  wp_enqueue_style('wp-codemirror');
164
  }
165
 
 
 
 
 
 
 
 
 
 
166
  function mtnc_load_later_scripts($hook)
167
  {
 
 
 
 
 
 
 
 
 
 
 
 
168
  if ($hook !== 'toplevel_page_maintenance') {
169
  return;
170
  }
171
 
172
- // fix a bug with WooCommerce 3.2.2 .
 
 
 
 
 
173
  wp_deregister_script('select2');
174
  wp_deregister_style('select2');
175
  wp_dequeue_script('select2');
@@ -243,7 +289,7 @@ function mtnc_generate_plugin_page()
243
  <?php wp_nonce_field('meta-box-order', 'meta-box-order-nonce', false); ?>
244
  <?php wp_nonce_field('closedpostboxes', 'closedpostboxesnonce', false); ?>
245
  <div class="postbox-container header-container column-1 normal">
246
- <h1><?php esc_html_e('Maintenance', 'maintenance'); ?><input type="checkbox" id="state" name="lib_options[state]" <?php checked($mt_option['state'], 1); ?> /> <p class="submit"><a href="<?php echo esc_url(home_url( '?maintenance-preview')); ?>" target="_blank" class="button">Preview</a> &nbsp;&nbsp; <input type="submit" name="submit" id="submit" class="button button-primary" value="Save Changes"></p></h1>
247
 
248
  </div>
249
  <div class="clear"></div>
@@ -265,4 +311,6 @@ function mtnc_generate_plugin_page()
265
  </form>
266
  </div>
267
  <?php
 
 
268
  }
4
  function mtnc_admin_setup()
5
  {
6
  global $mtnc_variable;
7
+ $mtnc_variable->options_page = add_menu_page(__('Maintenance', 'maintenance'), __('Maintenance', 'maintenance'), 'manage_options', 'maintenance', 'mtnc_manage_options', MTNC_URI . 'images/icon-small.png?v2');
8
 
9
  add_action('admin_init', 'mtnc_register_settings');
10
  add_action("admin_head-{$mtnc_variable->options_page}", 'mtnc_metaboxes_scripts');
31
  die();
32
  }
33
  add_action("wp_ajax_mtnc_dismiss_dialog", "mtnc_plugin_dismiss_dialog");
34
+ add_action('wp_ajax_mtnc_dismiss_notice', 'mtnc_ajax_dismiss_notice');
35
+
36
+ function mtnc_ajax_dismiss_notice() {
37
+ check_ajax_referer('maintenance_dismiss_notice');
38
+
39
+ if (!current_user_can('administrator')) {
40
+ wp_send_json_error('You are not allowed to run this action.');
41
+ }
42
+
43
+ $notice_name = trim(sanitize_text_field(@$_GET['notice_name']));
44
+ $meta = get_option('maintenance_meta', array());
45
+
46
+ if ($notice_name != 'welcome') {
47
+ wp_send_json_error('Unknown notice');
48
+ } else {
49
+ $meta['hide_welcome_pointer'] = true;
50
+ update_option('maintenance_meta', $meta);
51
+ wp_send_json_success();
52
+ }
53
+ } // ajax_dismiss_notice
54
 
55
  function mtnc_plugin_information() {
56
  if (empty($_GET['fix-install-button']) || empty($_GET['tab']) || $_GET['tab'] != 'plugin-information') {
148
  );
149
 
150
  wp_enqueue_script('mtnc');
151
+ wp_enqueue_style('maintenance', MTNC_URI . 'css/admin.css', '', filemtime(MTNC_DIR . 'css/admin.css'));
152
 
153
  wp_enqueue_style('wp-jquery-ui-dialog');
154
  wp_enqueue_script('jquery-ui-dialog');
183
  wp_enqueue_style('wp-codemirror');
184
  }
185
 
186
+ function mtnc_is_plugin_page() {
187
+ $current_screen = get_current_screen();
188
+ if ($current_screen->id === 'toplevel_page_maintenance') {
189
+ return true;
190
+ } else {
191
+ return false;
192
+ }
193
+ } // mtnc_is_plugin_page
194
+
195
  function mtnc_load_later_scripts($hook)
196
  {
197
+ $meta = get_option('maintenance_meta', array());
198
+ if (empty($meta['hide_welcome_pointer']) && !mtnc_is_plugin_page() && current_user_can('administrator')) {
199
+ $pointers['_nonce_dismiss_pointer'] = wp_create_nonce('maintenance_dismiss_notice');
200
+ $pointers['welcome'] = array('target' => '#toplevel_page_maintenance', 'edge' => 'left', 'align' => 'right', 'content' => 'Thank you for installing the <b style="font-weight: 800;">Maintenance</b> plugin!<br>Open <a href="' . admin_url('admin.php?page=maintenance') . '">Maintenance</a> to access settings.');
201
+
202
+ wp_enqueue_style('wp-pointer');
203
+
204
+ wp_enqueue_script('wp-maintenance-pointers', MTNC_URI . 'js/pointers.js', array('jquery'), MTNC_VERSION, true);
205
+ wp_enqueue_script('wp-pointer');
206
+ wp_localize_script('wp-pointer', 'mtnc_pointers', $pointers);
207
+ }
208
+
209
  if ($hook !== 'toplevel_page_maintenance') {
210
  return;
211
  }
212
 
213
+ wp_enqueue_style('wp-jquery-ui-dialog');
214
+ wp_enqueue_script('jquery-ui-core');
215
+ wp_enqueue_script('jquery-ui-position');
216
+ wp_enqueue_script('jquery-ui-dialog');
217
+
218
+ // fix a bug with WooCommerce 3.2.2
219
  wp_deregister_script('select2');
220
  wp_deregister_style('select2');
221
  wp_dequeue_script('select2');
289
  <?php wp_nonce_field('meta-box-order', 'meta-box-order-nonce', false); ?>
290
  <?php wp_nonce_field('closedpostboxes', 'closedpostboxesnonce', false); ?>
291
  <div class="postbox-container header-container column-1 normal">
292
+ <h1><img src="<?php echo esc_url(MTNC_URI); ?>images/wp-maintenance-logo.png" class="logo-image" title="Maintenance" alt="Maintenance"><p class="submit"><input type="checkbox" id="state" name="lib_options[state]" <?php checked($mt_option['state'], 1); ?> /> <a href="<?php echo esc_url(home_url( '?maintenance-preview')); ?>" target="_blank" class="button">Preview</a> &nbsp;&nbsp; <input type="submit" name="submit" id="submit" class="button button-primary" value="Save Changes"></p></h1>
293
 
294
  </div>
295
  <div class="clear"></div>
311
  </form>
312
  </div>
313
  <?php
314
+ global $mtnc;
315
+ mtnc_wp_kses($mtnc->pro_dialog());
316
  }
includes/functions.php CHANGED
@@ -36,21 +36,33 @@ function mtnc_get_plugin_options($is_current = false)
36
  return $options;
37
  }
38
 
39
- function mtnc_generate_input_filed($title, $id, $name, $value, $placeholder = '')
40
  {
41
  $out_filed = '';
42
  $out_filed .= '<tr valign="top">';
43
- $out_filed .= '<th scope="row"><label for="' . esc_attr($id) . '">' . esc_attr($title) . '</label></th>';
 
 
 
 
44
  $out_filed .= '<td>';
45
  $out_filed .= '<fieldset>';
46
- $out_filed .= '<input type="text" id="' . esc_attr($id) . '" name="lib_options[' . $name . ']" value="' . esc_attr(stripslashes($value)) . '" placeholder="' . esc_attr($placeholder) . '"/>';
 
 
 
 
 
 
 
 
47
  $out_filed .= '</fieldset>';
48
  $out_filed .= '</td>';
49
  $out_filed .= '</tr>';
50
  mtnc_wp_kses($out_filed);
51
  }
52
 
53
- function mtnc_generate_number_filed($title, $id, $name, $value, $placeholder = '')
54
  {
55
  $out_filed = '';
56
  $out_filed .= '<tr valign="top">';
@@ -106,16 +118,27 @@ function mtnc_generate_tinymce_filed($title, $id, $name, $value)
106
  }
107
 
108
 
109
- function mtnc_generate_check_filed($title, $label, $id, $name, $value)
110
  {
111
  $out_filed = '';
112
  $out_filed .= '<tr valign="top">';
113
- $out_filed .= '<th scope="row"><label for="' . esc_attr($id) . '">' . esc_attr($title) . '</label></th>';
 
 
 
 
114
  $out_filed .= '<td>';
115
  $out_filed .= '<fieldset>';
116
  $out_filed .= '<label for=' . esc_attr($id) . '>';
117
- $out_filed .= '<input type="checkbox" id="' . esc_attr($id) . '" name="lib_options[' . $name . ']" value="1" ' . checked(true, $value, false) . '/>';
 
 
 
 
118
  $out_filed .= $label;
 
 
 
119
  $out_filed .= '</label>';
120
  $out_filed .= '</fieldset>';
121
  $out_filed .= '</td>';
@@ -123,6 +146,32 @@ function mtnc_generate_check_filed($title, $label, $id, $name, $value)
123
  mtnc_wp_kses($out_filed);
124
  }
125
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
126
  function mtnc_generate_image_filed($title, $id, $name, $value, $class, $name_btn, $class_btn)
127
  {
128
  $out_filed = '';
@@ -276,9 +325,12 @@ function mtnc_page_create_meta_boxes()
276
  if (!$mt_option['default_settings'] || $mt_option['gg_analytics_id']) {
277
  //add_meta_box('review-top', __('Please help us keep the plugin free &amp; maintained', 'maintenance'), 'mtnc_add_review_top', $mtnc_variable->options_page, 'normal', 'high');
278
  }
279
- add_meta_box('mtnc-general', __('General Settings', 'maintenance'), 'mtnc_add_data_fields', $mtnc_variable->options_page, 'normal', 'default');
280
- add_meta_box('mtnc-themes', __('Ready To Use Themes', 'maintenance'), 'mtnc_add_themes_fields', $mtnc_variable->options_page, 'normal', 'default');
281
- add_meta_box('mtnc-css', __('Custom CSS', 'maintenance'), 'mtnc_add_css_fields', $mtnc_variable->options_page, 'normal', 'default');
 
 
 
282
  add_meta_box('mtnc-excludepages', __('Exclude pages from maintenance mode', 'maintenance'), 'mtnc_add_exclude_pages_fields', $mtnc_variable->options_page, 'normal', 'default');
283
  }
284
  add_action('add_mt_meta_boxes', 'mtnc_page_create_meta_boxes', 10);
@@ -302,8 +354,10 @@ function mtnc_page_create_meta_boxes_widget_support()
302
  {
303
  global $mtnc_variable;
304
 
 
 
305
  if (!defined('WPFSSL_OPTIONS_KEY')) {
306
- add_meta_box('promo-wpfssl', __('Solve all SSL problems - free WP Force SSL plugin', 'maintenance'), 'mtnc_promo_wpfssl', $mtnc_variable->options_page, 'side', 'high');
307
  }
308
 
309
  add_meta_box('promo-review2', __('Help us keep the plugin free &amp; maintained', 'maintenance'), 'mtnc_review_box', $mtnc_variable->options_page, 'side', 'high');
@@ -312,12 +366,26 @@ function mtnc_page_create_meta_boxes_widget_support()
312
  }
313
  add_action('add_mt_meta_boxes', 'mtnc_page_create_meta_boxes_widget_support', 13);
314
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
315
  function mtnc_add_data_fields($object, $box)
316
  {
317
  $mt_option = mtnc_get_plugin_options(true);
318
  $is_blur = false;
319
 
320
- /*Deafult Variable*/
321
  $page_title = $heading = $description = $logo_width = $logo_height = '';
322
 
323
  $allowed_tags = wp_kses_allowed_html('post');
@@ -344,29 +412,82 @@ function mtnc_add_data_fields($object, $box)
344
  <tbody>
345
  <?php
346
  mtnc_generate_input_filed(__('Page Title', 'maintenance'), 'page_title', 'page_title', $page_title);
 
347
  mtnc_generate_input_filed(__('Headline', 'maintenance'), 'heading', 'heading', $heading);
348
  mtnc_generate_tinymce_filed(__('Description', 'maintenance'), 'description', 'description', $description);
349
  mtnc_generate_input_filed(__('Footer Text', 'maintenance'), 'footer_text', 'footer_text', $footer_text);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
350
  mtnc_smush_option();
351
- mtnc_generate_check_filed(__('Show Some Love', 'maintenance'), __('Show a small link in the footer to let others know you\'re using this awesome &amp; free plugin', 'maintenance'), 'show_some_love', 'show_some_love', !empty($mt_option['show_some_love']));
352
- mtnc_generate_number_filed(__('Set Logo Width', 'maintenance'), 'logo_width', 'logo_width', $logo_width);
353
- mtnc_generate_number_filed(__('Set Logo Height', 'maintenance'), 'logo_height', 'logo_height', $logo_height);
354
  mtnc_generate_image_filed(__('Logo', 'maintenance'), 'logo', 'logo', (int) $mt_option['logo'], 'boxes box-logo', __('Upload Logo', 'maintenance'), 'upload_logo upload_btn button');
355
  mtnc_generate_image_filed(__('Retina Logo (optional)', 'maintenance'), 'retina_logo', 'retina_logo', (int) $mt_option['retina_logo'], 'boxes box-logo', __('Upload Retina Logo', 'maintenance'), 'upload_logo upload_btn button');
356
  do_action('mtnc_background_field');
 
357
  mtnc_generate_image_filed(__('Background Image (portrait mode)', 'maintenance'), 'bg_image_portrait', 'bg_image_portrait', isset($mt_option['bg_image_portrait']) ? (int) $mt_option['bg_image_portrait'] : '', 'boxes box-logo', __('Upload image for portrait device orientation', 'maintenance'), 'upload_logo upload_btn button');
358
  mtnc_generate_image_filed(__('Page Preloader Image', 'maintenance'), 'preloader_img', 'preloader_img', isset($mt_option['preloader_img']) ? (int) $mt_option['preloader_img'] : '', 'boxes box-logo', __('Upload preloader', 'maintenance'), 'upload_logo upload_btn button');
359
 
360
  do_action('mtnc_color_fields');
361
  do_action('mtnc_font_fields');
362
- mtnc_generate_check_filed(__('503 Response Code', 'maintenance'), __('Service temporarily unavailable, Google analytics will be disabled.', 'maintenance'), '503_enabled', '503_enabled', !empty($mt_option['503_enabled']));
363
-
364
- $gg_analytics_id = '';
365
- if (!empty($mt_option['gg_analytics_id'])) {
366
- $gg_analytics_id = esc_js($mt_option['gg_analytics_id']);
367
- }
368
-
369
- mtnc_generate_input_filed(__('Google Analytics ID', 'maintenance'), 'gg_analytics_id', 'gg_analytics_id', $gg_analytics_id, __('UA-XXXXX-X', 'maintenance'));
370
 
371
  if (isset($mt_option['is_blur'])) {
372
  if ($mt_option['is_blur']) {
@@ -374,10 +495,8 @@ function mtnc_add_data_fields($object, $box)
374
  }
375
  }
376
 
377
- mtnc_generate_check_filed(__('Apply Background Blur', 'maintenance'), 'Add blur effect to the background image', 'is_blur', 'is_blur', $is_blur);
378
- mtnc_generate_number_filed(__('Set Blur Intensity', 'maintenance'), 'blur_intensity', 'blur_intensity', (int) $mt_option['blur_intensity']);
379
-
380
- mtnc_generate_check_filed(__('Enable Frontend Login', 'maintenance'), '', 'is_login', 'is_login', isset($mt_option['is_login']));
381
 
382
  mtnc_wp_kses('<tr><td colspan="2"><p><input type="submit" name="submit" id="submit" class="button button-primary" value="Save Changes"></p></td></tr>');
383
  ?>
@@ -434,8 +553,19 @@ function mtnc_smush_option() {
434
  function mtnc_add_css_fields()
435
  {
436
  $mt_option = mtnc_get_plugin_options(true);
 
 
 
 
 
437
  echo '<table class="form-table">';
438
  echo '<tbody>';
 
 
 
 
 
 
439
  mtnc_generate_textarea_filed(__('CSS Code', 'maintenance'), 'custom_css', 'custom_css', wp_kses_stripslashes($mt_option['custom_css']));
440
  echo '<tr><td>&nbsp;</td><td>Enter only the CSS code, without the <i>&lt;style&gt; tags.</i></td></tr>';
441
  echo '<tr><td colspan="2"><p><input type="submit" name="submit" id="submit" class="button button-primary" value="Save Changes"></p></td></tr>';
@@ -445,2085 +575,147 @@ function mtnc_add_css_fields()
445
 
446
  function mtnc_add_themes_fields()
447
  {
448
- $themes = array(
 
449
  0 =>
450
  array (
451
- 'type' => 'CSMM PRO',
452
- 'version' => '5.005',
453
- 'last_edit' => 'Thu, 22 Feb 2018 18:45:00 +0000',
454
- 'name' => 'Aeroplane Company',
455
- 'description' => 'Andrea',
456
- 'frontpage' => '1',
457
  'status' => 'pro',
458
- 'name_clean' => 'aeroplane-company',
459
  ),
460
  1 =>
461
  array (
462
- 'type' => 'CSMM PRO',
463
- 'version' => '6.09',
464
- 'last_edit' => 'Wed, 23 Sep 2020 12:32:06 +0000',
465
- 'name' => 'Air Balloon',
466
- 'description' => '',
467
- 'frontpage' => '1',
468
- 'status' => 'agency',
469
- 'name_clean' => 'air-balloon',
470
  ),
471
  2 =>
472
  array (
473
- 'type' => 'CSMM PRO',
474
- 'version' => '6.00',
475
- 'last_edit' => 'Mon, 03 Aug 2020 12:43:26 +0000',
476
- 'name' => 'Animated Clock',
477
- 'description' => 'Andrea',
478
- 'frontpage' => '0',
479
  'status' => 'pro',
480
- 'name_clean' => 'animated-clock',
481
  ),
482
  3 =>
483
  array (
484
- 'type' => 'CSMM PRO',
485
- 'version' => '6.09',
486
- 'last_edit' => 'Wed, 23 Sep 2020 12:34:04 +0000',
487
- 'name' => 'Architecture INC',
488
- 'description' => '',
489
- 'frontpage' => '1',
490
  'status' => 'pro',
491
- 'name_clean' => 'architecture-inc',
492
  ),
493
  4 =>
494
  array (
495
- 'type' => 'CSMM PRO',
496
- 'version' => '15.17',
497
- 'last_edit' => 'Sat, 08 Sep 2018 14:42:03 +0000',
498
- 'name' => 'Architecture',
499
- 'description' => '',
500
- 'frontpage' => '1',
501
- 'status' => 'agency',
502
- 'name_clean' => 'architecture',
503
  ),
504
  5 =>
505
  array (
506
- 'type' => 'CSMM PRO',
507
- 'version' => '6.09',
508
- 'last_edit' => 'Wed, 23 Sep 2020 12:36:45 +0000',
509
- 'name' => 'Art Gallery',
510
- 'description' => '',
511
- 'frontpage' => '1',
512
  'status' => 'pro',
513
- 'name_clean' => 'art-gallery',
514
  ),
515
  6 =>
516
  array (
517
- 'type' => 'CSMM PRO',
518
- 'version' => '15.17',
519
- 'last_edit' => 'Sun, 23 Sep 2018 12:44:52 +0000',
520
- 'name' => 'Auto Service',
521
- 'description' => '',
522
- 'frontpage' => '1',
523
- 'status' => 'agency',
524
- 'name_clean' => 'auto-service',
525
  ),
526
  7 =>
527
  array (
528
- 'type' => 'CSMM PRO',
529
- 'version' => '6.09',
530
- 'last_edit' => 'Wed, 23 Sep 2020 12:38:10 +0000',
531
- 'name' => 'Bakery',
532
- 'description' => '',
533
- 'frontpage' => '1',
534
  'status' => 'pro',
535
- 'name_clean' => 'bakery',
536
  ),
537
  8 =>
538
  array (
539
- 'type' => 'CSMM PRO',
540
- 'version' => '6.09',
541
- 'last_edit' => 'Wed, 23 Sep 2020 12:39:02 +0000',
542
- 'name' => 'Banking App',
543
- 'description' => '',
544
- 'frontpage' => '1',
545
- 'status' => 'agency',
546
- 'name_clean' => 'banking-app',
547
  ),
548
  9 =>
549
  array (
550
- 'type' => 'CSMM PRO',
551
- 'version' => '6.09',
552
- 'last_edit' => 'Sun, 30 Aug 2020 12:23:36 +0000',
553
- 'name' => 'Barbershop',
554
- 'description' => '',
555
- 'frontpage' => '1',
556
- 'status' => 'agency',
557
- 'name_clean' => 'barbershop',
558
  ),
559
  10 =>
560
  array (
561
- 'type' => 'CSMM PRO',
562
- 'version' => '6.09',
563
- 'last_edit' => 'Wed, 23 Sep 2020 12:42:04 +0000',
564
- 'name' => 'Beach',
565
- 'description' => '',
566
- 'frontpage' => '1',
567
  'status' => 'pro',
568
- 'name_clean' => 'beach',
569
  ),
570
  11 =>
571
  array (
572
- 'type' => 'CSMM PRO',
573
- 'version' => '5.05',
574
- 'last_edit' => 'Wed, 28 Feb 2018 10:30:46 +0000',
575
- 'name' => 'Bicycle Race',
576
- 'description' => 'Andrea',
577
- 'frontpage' => '0',
578
- 'status' => 'agency',
579
- 'name_clean' => 'bicycle-race',
580
  ),
581
  12 =>
582
  array (
583
- 'type' => 'CSMM PRO',
584
- 'version' => '15.17',
585
- 'last_edit' => 'Sat, 23 Mar 2019 14:44:52 +0000',
586
- 'name' => 'Bike Shop',
587
- 'description' => '',
588
- 'frontpage' => '1',
589
  'status' => 'pro',
590
- 'name_clean' => 'bike-shop',
591
  ),
592
  13 =>
593
  array (
594
- 'type' => 'CSMM PRO',
595
- 'version' => '5.005',
596
- 'last_edit' => 'Sat, 24 Feb 2018 11:48:50 +0000',
597
- 'name' => 'Bitcoin Miners',
598
- 'description' => '',
599
- 'frontpage' => '1',
600
- 'status' => 'agency',
601
- 'name_clean' => 'bitcoin-miners',
602
  ),
603
  14 =>
604
  array (
605
- 'type' => 'CSMM PRO',
606
- 'version' => '6.09',
607
- 'last_edit' => 'Wed, 23 Sep 2020 12:44:52 +0000',
608
- 'name' => 'Black Friday',
609
- 'description' => '',
610
- 'frontpage' => '0',
611
  'status' => 'pro',
612
- 'name_clean' => 'black-friday',
613
  ),
614
  15 =>
615
  array (
616
- 'type' => 'CSMM PRO',
617
- 'version' => '15.17',
618
- 'last_edit' => 'Fri, 30 Mar 2018 11:50:26 +0000',
619
- 'name' => 'Blogging',
620
- 'description' => '',
621
- 'frontpage' => '1',
622
- 'status' => 'agency',
623
- 'name_clean' => 'blogging',
624
  ),
625
  16 =>
626
  array (
627
- 'type' => 'CSMM PRO',
628
- 'version' => '15.17',
629
- 'last_edit' => 'Wed, 29 May 2019 18:05:04 +0000',
630
- 'name' => 'Blue Ocean',
631
- 'description' => '',
632
- 'frontpage' => '1',
633
- 'status' => 'agency',
634
- 'name_clean' => 'blue-ocean',
635
  ),
636
  17 =>
637
  array (
638
- 'type' => 'CSMM PRO',
639
- 'version' => '6.09',
640
- 'last_edit' => 'Wed, 23 Sep 2020 12:51:48 +0000',
641
- 'name' => 'Body Transformation',
642
- 'description' => '',
643
- 'frontpage' => '1',
644
  'status' => 'pro',
645
- 'name_clean' => 'body-transformation',
646
  ),
647
  18 =>
648
  array (
649
- 'type' => 'CSMM PRO',
650
- 'version' => '6.09',
651
- 'last_edit' => 'Wed, 23 Sep 2020 12:53:11 +0000',
652
- 'name' => 'Bodybuilding',
653
- 'description' => '',
654
- 'frontpage' => '0',
655
- 'status' => 'extra',
656
- 'name_clean' => 'bodybuilding',
657
- ),
658
- 19 =>
659
- array (
660
- 'type' => 'CSMM PRO',
661
- 'version' => '5.005',
662
- 'last_edit' => 'Tue, 27 Feb 2018 09:56:05 +0000',
663
- 'name' => 'Book Lovers',
664
- 'description' => 'Andrea',
665
- 'frontpage' => '1',
666
- 'status' => 'agency',
667
- 'name_clean' => 'book-lovers',
668
- ),
669
- 20 =>
670
- array (
671
- 'type' => 'CSMM PRO',
672
- 'version' => '6.00',
673
- 'last_edit' => 'Mon, 03 Aug 2020 12:36:52 +0000',
674
- 'name' => 'Business Company',
675
- 'description' => '',
676
- 'frontpage' => '0',
677
- 'status' => 'agency',
678
- 'name_clean' => 'business-company',
679
- ),
680
- 21 =>
681
- array (
682
- 'type' => 'CSMM PRO',
683
- 'version' => '6.09',
684
- 'last_edit' => 'Wed, 23 Sep 2020 12:56:21 +0000',
685
- 'name' => 'Business Consulting (Video)',
686
- 'description' => '',
687
- 'frontpage' => '0',
688
- 'status' => 'extra',
689
- 'name_clean' => 'business-consulting-video',
690
- ),
691
- 22 =>
692
- array (
693
- 'type' => 'CSMM PRO',
694
- 'version' => '6.09',
695
- 'last_edit' => 'Wed, 23 Sep 2020 13:00:25 +0000',
696
- 'name' => 'Business Consulting',
697
- 'description' => '',
698
- 'frontpage' => '1',
699
- 'status' => 'pro',
700
- 'name_clean' => 'business-consulting',
701
- ),
702
- 23 =>
703
- array (
704
- 'type' => 'CSMM PRO',
705
- 'version' => '6.00',
706
- 'last_edit' => 'Thu, 06 Aug 2020 20:25:12 +0000',
707
- 'name' => 'Business Launch',
708
- 'description' => '',
709
- 'frontpage' => '0',
710
- 'status' => 'extra',
711
- 'name_clean' => 'business-launch',
712
- ),
713
- 24 =>
714
- array (
715
- 'type' => 'CSMM PRO',
716
- 'version' => '6.09',
717
- 'last_edit' => 'Wed, 23 Sep 2020 13:02:11 +0000',
718
- 'name' => 'Business Meeting (Video)',
719
- 'description' => '',
720
- 'frontpage' => '1',
721
- 'status' => 'agency',
722
- 'name_clean' => 'business-meeting-video',
723
- ),
724
- 25 =>
725
- array (
726
- 'type' => 'CSMM PRO',
727
- 'version' => '6.09',
728
- 'last_edit' => 'Wed, 23 Sep 2020 13:02:57 +0000',
729
- 'name' => 'Business',
730
- 'description' => '',
731
- 'frontpage' => '0',
732
- 'status' => 'agency',
733
- 'name_clean' => 'business',
734
- ),
735
- 26 =>
736
- array (
737
- 'type' => 'CSMM PRO',
738
- 'version' => '6.09',
739
- 'last_edit' => 'Wed, 23 Sep 2020 13:04:27 +0000',
740
- 'name' => 'Café',
741
- 'description' => '',
742
- 'frontpage' => '1',
743
- 'status' => 'agency',
744
- 'name_clean' => 'cafe',
745
- ),
746
- 27 =>
747
- array (
748
- 'type' => 'CSMM PRO',
749
- 'version' => '6.00',
750
- 'last_edit' => 'Fri, 07 Aug 2020 08:09:16 +0000',
751
- 'name' => 'Chatbot',
752
- 'description' => '',
753
- 'frontpage' => '0',
754
- 'status' => 'extra',
755
- 'name_clean' => 'chatbot',
756
- ),
757
- 28 =>
758
- array (
759
- 'type' => 'CSMM PRO',
760
- 'version' => '15.17',
761
- 'last_edit' => 'Sat, 23 Nov 2019 11:33:13 +0000',
762
- 'name' => 'Christmas Decor',
763
- 'description' => '',
764
- 'frontpage' => '1',
765
- 'status' => 'pro',
766
- 'name_clean' => 'christmas-decor',
767
- ),
768
- 29 =>
769
- array (
770
- 'type' => 'CSMM PRO',
771
- 'version' => '6.09',
772
- 'last_edit' => 'Sat, 21 Nov 2020 12:38:08 +0000',
773
- 'name' => 'Christmas Sale',
774
- 'description' => '',
775
- 'frontpage' => '1',
776
- 'status' => 'pro',
777
- 'name_clean' => 'christmas-sale',
778
- ),
779
- 30 =>
780
- array (
781
- 'type' => 'CSMM PRO',
782
- 'version' => '6.09',
783
- 'last_edit' => 'Wed, 23 Sep 2020 13:07:28 +0000',
784
- 'name' => 'Church',
785
- 'description' => '',
786
- 'frontpage' => '1',
787
- 'status' => 'pro',
788
- 'name_clean' => 'church',
789
- ),
790
- 31 =>
791
- array (
792
- 'type' => 'CSMM PRO',
793
- 'version' => '6.09',
794
- 'last_edit' => 'Fri, 18 Dec 2020 14:02:43 +0000',
795
- 'name' => 'Cinema Trailer (Video)',
796
- 'description' => '',
797
- 'frontpage' => '1',
798
- 'status' => 'agency',
799
- 'name_clean' => 'cinema-trailer-video',
800
- ),
801
- 32 =>
802
- array (
803
- 'type' => 'CSMM PRO',
804
- 'version' => '6.09',
805
- 'last_edit' => 'Wed, 23 Sep 2020 13:08:33 +0000',
806
- 'name' => 'City Nighttime',
807
- 'description' => '',
808
- 'frontpage' => '1',
809
- 'status' => 'pro',
810
- 'name_clean' => 'city-nighttime',
811
- ),
812
- 33 =>
813
- array (
814
- 'type' => 'CSMM PRO',
815
- 'version' => '6.09',
816
- 'last_edit' => 'Wed, 23 Sep 2020 13:09:33 +0000',
817
- 'name' => 'Cityscape',
818
- 'description' => '',
819
- 'frontpage' => '1',
820
- 'status' => 'agency',
821
- 'name_clean' => 'cityscape',
822
- ),
823
- 34 =>
824
- array (
825
- 'type' => 'CSMM PRO',
826
- 'version' => '6.00',
827
- 'last_edit' => 'Fri, 07 Aug 2020 08:17:59 +0000',
828
- 'name' => 'Clothing Trends',
829
- 'description' => '',
830
- 'frontpage' => '0',
831
- 'status' => 'extra',
832
- 'name_clean' => 'clothing-trends',
833
- ),
834
- 35 =>
835
- array (
836
- 'type' => 'CSMM PRO',
837
- 'version' => '6.09',
838
- 'last_edit' => 'Wed, 23 Sep 2020 13:11:48 +0000',
839
- 'name' => 'Clouds Screensaver (Video)',
840
- 'description' => '',
841
- 'frontpage' => '1',
842
- 'status' => 'agency',
843
- 'name_clean' => 'clouds-screensaver-video',
844
- ),
845
- 36 =>
846
- array (
847
- 'type' => 'CSMM PRO',
848
- 'version' => '5.005',
849
- 'last_edit' => 'Thu, 22 Feb 2018 18:45:40 +0000',
850
- 'name' => 'Coffee Shop',
851
- 'description' => 'Andrea',
852
- 'frontpage' => '1',
853
- 'status' => 'agency',
854
- 'name_clean' => 'coffee-shop',
855
- ),
856
- 37 =>
857
- array (
858
- 'type' => 'CSMM PRO',
859
- 'version' => '6.09',
860
- 'last_edit' => 'Wed, 23 Sep 2020 13:16:02 +0000',
861
- 'name' => 'Cold Lake',
862
- 'description' => '',
863
- 'frontpage' => '1',
864
- 'status' => 'agency',
865
- 'name_clean' => 'cold-lake',
866
- ),
867
- 38 =>
868
- array (
869
- 'type' => 'CSMM PRO',
870
- 'version' => '6.09',
871
- 'last_edit' => 'Wed, 23 Sep 2020 13:16:57 +0000',
872
- 'name' => 'Computer Repair Service',
873
- 'description' => '',
874
- 'frontpage' => '1',
875
- 'status' => 'agency',
876
- 'name_clean' => 'computer-repair-service',
877
- ),
878
- 39 =>
879
- array (
880
- 'type' => 'CSMM PRO',
881
- 'version' => '6.09',
882
- 'last_edit' => 'Wed, 23 Sep 2020 13:18:01 +0000',
883
- 'name' => 'Concert',
884
- 'description' => '',
885
- 'frontpage' => '1',
886
- 'status' => 'pro',
887
- 'name_clean' => 'concert',
888
- ),
889
- 40 =>
890
- array (
891
- 'type' => 'CSMM PRO',
892
- 'version' => '6.09',
893
- 'last_edit' => 'Wed, 23 Sep 2020 13:19:59 +0000',
894
- 'name' => 'Conference Event',
895
- 'description' => '',
896
- 'frontpage' => '1',
897
- 'status' => 'pro',
898
- 'name_clean' => 'conference-event',
899
- ),
900
- 41 =>
901
- array (
902
- 'type' => 'CSMM PRO',
903
- 'version' => '6.09',
904
- 'last_edit' => 'Wed, 23 Sep 2020 13:21:29 +0000',
905
- 'name' => 'Construction Company',
906
- 'description' => '',
907
- 'frontpage' => '1',
908
- 'status' => 'agency',
909
- 'name_clean' => 'construction-company',
910
- ),
911
- 42 =>
912
- array (
913
- 'type' => 'CSMM PRO',
914
- 'version' => '6.09',
915
- 'last_edit' => 'Wed, 23 Sep 2020 13:23:02 +0000',
916
- 'name' => 'Creative Design',
917
- 'description' => '',
918
- 'frontpage' => '1',
919
- 'status' => 'agency',
920
- 'name_clean' => 'creative-design',
921
- ),
922
- 43 =>
923
- array (
924
- 'type' => 'CSMM PRO',
925
- 'version' => '6.09',
926
- 'last_edit' => 'Wed, 23 Sep 2020 13:24:34 +0000',
927
- 'name' => 'Custom Decor',
928
- 'description' => '',
929
- 'frontpage' => '1',
930
- 'status' => 'agency',
931
- 'name_clean' => 'custom-decor',
932
- ),
933
- 44 =>
934
- array (
935
- 'type' => 'CSMM PRO',
936
- 'version' => '6.09',
937
- 'last_edit' => 'Tue, 29 Sep 2020 09:54:37 +0000',
938
- 'name' => 'Cyber Security',
939
- 'description' => '',
940
- 'frontpage' => '1',
941
- 'status' => 'pro',
942
- 'name_clean' => 'cyber-security',
943
- ),
944
- 45 =>
945
- array (
946
- 'type' => 'CSMM PRO',
947
- 'version' => '5.005',
948
- 'last_edit' => 'Mon, 26 Feb 2018 20:41:31 +0000',
949
- 'name' => 'Default',
950
- 'description' => 'Default settings, nothing more.',
951
- 'frontpage' => '0',
952
- 'status' => 'pro',
953
- 'name_clean' => 'default',
954
- ),
955
- 46 =>
956
- array (
957
- 'type' => 'CSMM PRO',
958
- 'version' => '15.17',
959
- 'last_edit' => 'Fri, 30 Mar 2018 11:24:59 +0000',
960
- 'name' => 'Dental Clinic',
961
- 'description' => 'Andrea',
962
- 'frontpage' => '1',
963
- 'status' => 'agency',
964
- 'name_clean' => 'dental-clinic',
965
- ),
966
- 47 =>
967
- array (
968
- 'type' => 'CSMM PRO',
969
- 'version' => '15.17',
970
- 'last_edit' => 'Mon, 27 Apr 2020 11:17:15 +0000',
971
- 'name' => 'Digital Agency',
972
- 'description' => '',
973
- 'frontpage' => '1',
974
- 'status' => 'agency',
975
- 'name_clean' => 'digital-agency',
976
- ),
977
- 48 =>
978
- array (
979
- 'type' => 'CSMM PRO',
980
- 'version' => '15.17',
981
- 'last_edit' => 'Mon, 26 Nov 2018 18:41:25 +0000',
982
- 'name' => 'Dog Shelter',
983
- 'description' => '',
984
- 'frontpage' => '1',
985
- 'status' => 'pro',
986
- 'name_clean' => 'dog-shelter',
987
- ),
988
- 49 =>
989
- array (
990
- 'type' => 'CSMM PRO',
991
- 'version' => '5.001',
992
- 'last_edit' => 'Tue, 20 Feb 2018 09:14:59 +0000',
993
- 'name' => 'Dog Training and Behavior Consulting',
994
- 'description' => '',
995
- 'frontpage' => '1',
996
- 'status' => 'agency',
997
- 'name_clean' => 'dog-training-and-behavior-consulting',
998
- ),
999
- 50 =>
1000
- array (
1001
- 'type' => 'CSMM PRO',
1002
- 'version' => '15.17',
1003
- 'last_edit' => 'Sun, 19 Jan 2020 16:12:34 +0000',
1004
- 'name' => 'Donation',
1005
- 'description' => '',
1006
- 'frontpage' => '1',
1007
- 'status' => 'agency',
1008
- 'name_clean' => 'donation',
1009
- ),
1010
- 51 =>
1011
- array (
1012
- 'type' => 'CSMM PRO',
1013
- 'version' => '6.09',
1014
- 'last_edit' => 'Wed, 23 Sep 2020 13:33:24 +0000',
1015
- 'name' => 'Ecommerce',
1016
- 'description' => '',
1017
- 'frontpage' => '0',
1018
- 'status' => 'extra',
1019
- 'name_clean' => 'ecommerce',
1020
- ),
1021
- 52 =>
1022
- array (
1023
- 'type' => 'CSMM PRO',
1024
- 'version' => '6.09',
1025
- 'last_edit' => 'Sun, 30 Aug 2020 14:14:29 +0000',
1026
- 'name' => 'Email Platform',
1027
- 'description' => '',
1028
- 'frontpage' => '1',
1029
- 'status' => 'pro',
1030
- 'name_clean' => 'email-platform',
1031
- ),
1032
- 53 =>
1033
- array (
1034
- 'type' => 'CSMM PRO',
1035
- 'version' => '6.09',
1036
- 'last_edit' => 'Wed, 23 Sep 2020 13:38:56 +0000',
1037
- 'name' => 'Employment',
1038
- 'description' => '',
1039
- 'frontpage' => '1',
1040
- 'status' => 'pro',
1041
- 'name_clean' => 'employment',
1042
- ),
1043
- 54 =>
1044
- array (
1045
- 'type' => 'CSMM PRO',
1046
- 'version' => '6.09',
1047
- 'last_edit' => 'Wed, 23 Sep 2020 13:41:50 +0000',
1048
- 'name' => 'Essay Writing Service',
1049
- 'description' => '',
1050
- 'frontpage' => '1',
1051
- 'status' => 'agency',
1052
- 'name_clean' => 'essay-writing-service',
1053
- ),
1054
- 55 =>
1055
- array (
1056
- 'type' => 'CSMM PRO',
1057
- 'version' => '15.17',
1058
- 'last_edit' => 'Wed, 29 Aug 2018 16:00:04 +0000',
1059
- 'name' => 'Fall (Video)',
1060
- 'description' => '',
1061
- 'frontpage' => '1',
1062
- 'status' => 'pro',
1063
- 'name_clean' => 'fall-video',
1064
- ),
1065
- 56 =>
1066
- array (
1067
- 'type' => 'CSMM PRO',
1068
- 'version' => '6.09',
1069
- 'last_edit' => 'Wed, 23 Sep 2020 13:43:16 +0000',
1070
- 'name' => 'Fashion',
1071
- 'description' => '',
1072
- 'frontpage' => '1',
1073
- 'status' => 'agency',
1074
- 'name_clean' => 'fashion',
1075
- ),
1076
- 57 =>
1077
- array (
1078
- 'type' => 'CSMM PRO',
1079
- 'version' => '6.09',
1080
- 'last_edit' => 'Sun, 22 Nov 2020 14:12:40 +0000',
1081
- 'name' => 'Film Trailer',
1082
- 'description' => '',
1083
- 'frontpage' => '1',
1084
- 'status' => 'pro',
1085
- 'name_clean' => 'film-trailer',
1086
- ),
1087
- 58 =>
1088
- array (
1089
- 'type' => 'CSMM PRO',
1090
- 'version' => '6.09',
1091
- 'last_edit' => 'Wed, 23 Sep 2020 13:44:14 +0000',
1092
- 'name' => 'Financial Counselling',
1093
- 'description' => '',
1094
- 'frontpage' => '1',
1095
- 'status' => 'agency',
1096
- 'name_clean' => 'financial-counselling',
1097
- ),
1098
- 59 =>
1099
- array (
1100
- 'type' => 'CSMM PRO',
1101
- 'version' => '15.17',
1102
- 'last_edit' => 'Tue, 30 Oct 2018 18:11:40 +0000',
1103
- 'name' => 'Financial District',
1104
- 'description' => '',
1105
- 'frontpage' => '1',
1106
- 'status' => 'pro',
1107
- 'name_clean' => 'financial-district',
1108
- ),
1109
- 60 =>
1110
- array (
1111
- 'type' => 'CSMM PRO',
1112
- 'version' => '6.09',
1113
- 'last_edit' => 'Wed, 23 Sep 2020 13:45:50 +0000',
1114
- 'name' => 'Fitness E-Shop',
1115
- 'description' => '',
1116
- 'frontpage' => '1',
1117
- 'status' => 'agency',
1118
- 'name_clean' => 'fitness-e-shop',
1119
- ),
1120
- 61 =>
1121
- array (
1122
- 'type' => 'CSMM PRO',
1123
- 'version' => '6.09',
1124
- 'last_edit' => 'Wed, 23 Sep 2020 13:46:51 +0000',
1125
- 'name' => 'Florium',
1126
- 'description' => '',
1127
- 'frontpage' => '0',
1128
- 'status' => 'extra',
1129
- 'name_clean' => 'florium',
1130
- ),
1131
- 62 =>
1132
- array (
1133
- 'type' => 'CSMM PRO',
1134
- 'version' => '15.05',
1135
- 'last_edit' => 'Fri, 02 Mar 2018 12:33:55 +0000',
1136
- 'name' => 'Flower Shop',
1137
- 'description' => '',
1138
- 'frontpage' => '1',
1139
- 'status' => 'agency',
1140
- 'name_clean' => 'flower-shop',
1141
- ),
1142
- 63 =>
1143
- array (
1144
- 'type' => 'CSMM PRO',
1145
- 'version' => '15.17',
1146
- 'last_edit' => 'Wed, 02 May 2018 09:37:48 +0000',
1147
- 'name' => 'Food Blog',
1148
- 'description' => '',
1149
- 'frontpage' => '1',
1150
- 'status' => 'pro',
1151
- 'name_clean' => 'food-blog',
1152
- ),
1153
- 64 =>
1154
- array (
1155
- 'type' => 'CSMM PRO',
1156
- 'version' => '6.00',
1157
- 'last_edit' => 'Fri, 07 Aug 2020 08:13:26 +0000',
1158
- 'name' => 'Food Store',
1159
- 'description' => '',
1160
- 'frontpage' => '0',
1161
- 'status' => 'extra',
1162
- 'name_clean' => 'food-store',
1163
- ),
1164
- 65 =>
1165
- array (
1166
- 'type' => 'CSMM PRO',
1167
- 'version' => '6.09',
1168
- 'last_edit' => 'Wed, 23 Sep 2020 13:49:30 +0000',
1169
- 'name' => 'Foodie',
1170
- 'description' => '',
1171
- 'frontpage' => '1',
1172
- 'status' => 'pro',
1173
- 'name_clean' => 'foodie',
1174
- ),
1175
- 66 =>
1176
- array (
1177
- 'type' => 'CSMM PRO',
1178
- 'version' => '6.09',
1179
- 'last_edit' => 'Wed, 23 Sep 2020 13:50:19 +0000',
1180
- 'name' => 'Football',
1181
- 'description' => '',
1182
- 'frontpage' => '1',
1183
- 'status' => 'pro',
1184
- 'name_clean' => 'football',
1185
- ),
1186
- 67 =>
1187
- array (
1188
- 'type' => 'CSMM PRO',
1189
- 'version' => '6.09',
1190
- 'last_edit' => 'Wed, 23 Sep 2020 13:51:39 +0000',
1191
- 'name' => 'Frozen Nature',
1192
- 'description' => '',
1193
- 'frontpage' => '1',
1194
- 'status' => 'pro',
1195
- 'name_clean' => 'frozen-nature',
1196
- ),
1197
- 68 =>
1198
- array (
1199
- 'type' => 'CSMM PRO',
1200
- 'version' => '6.09',
1201
- 'last_edit' => 'Fri, 25 Sep 2020 08:46:14 +0000',
1202
- 'name' => 'Future Technology',
1203
- 'description' => '',
1204
- 'frontpage' => '1',
1205
  'status' => 'pro',
1206
- 'name_clean' => 'future-technology',
1207
- ),
1208
- 69 =>
1209
- array (
1210
- 'type' => 'CSMM PRO',
1211
- 'version' => '15.17',
1212
- 'last_edit' => 'Sun, 24 May 2020 05:27:47 +0000',
1213
- 'name' => 'Graphic Design',
1214
- 'description' => '',
1215
- 'frontpage' => '1',
1216
- 'status' => 'agency',
1217
- 'name_clean' => 'graphic-design',
1218
  ),
1219
- 70 =>
1220
  array (
1221
- 'type' => 'CSMM PRO',
1222
- 'version' => '6.09',
1223
- 'last_edit' => 'Fri, 25 Sep 2020 08:48:06 +0000',
1224
- 'name' => 'Greenlife',
1225
- 'description' => '',
1226
- 'frontpage' => '1',
1227
  'status' => 'pro',
1228
- 'name_clean' => 'greenlife',
1229
- ),
1230
- 71 =>
1231
- array (
1232
- 'type' => 'CSMM PRO',
1233
- 'version' => '6.09',
1234
- 'last_edit' => 'Fri, 25 Sep 2020 08:50:04 +0000',
1235
- 'name' => 'Halloween',
1236
- 'description' => '',
1237
- 'frontpage' => '1',
1238
- 'status' => 'pro',
1239
- 'name_clean' => 'halloween',
1240
- ),
1241
- 72 =>
1242
- array (
1243
- 'type' => 'CSMM PRO',
1244
- 'version' => '15.17',
1245
- 'last_edit' => 'Tue, 30 Jul 2019 14:26:58 +0000',
1246
- 'name' => 'Healthy Eating',
1247
- 'description' => '',
1248
- 'frontpage' => '1',
1249
- 'status' => 'agency',
1250
- 'name_clean' => 'healthy-eating',
1251
- ),
1252
- 73 =>
1253
- array (
1254
- 'type' => 'CSMM PRO',
1255
- 'version' => '6.00',
1256
- 'last_edit' => 'Fri, 07 Aug 2020 17:00:48 +0000',
1257
- 'name' => 'Hexagons (Video)',
1258
- 'description' => '',
1259
- 'frontpage' => '0',
1260
- 'status' => 'extra',
1261
- 'name_clean' => 'hexagons-video',
1262
- ),
1263
- 74 =>
1264
- array (
1265
- 'type' => 'CSMM PRO',
1266
- 'version' => '15.17',
1267
- 'last_edit' => 'Sat, 28 Jul 2018 15:16:26 +0000',
1268
- 'name' => 'Holiday Resort',
1269
- 'description' => '',
1270
- 'frontpage' => '1',
1271
- 'status' => 'pro',
1272
- 'name_clean' => 'holiday-resort',
1273
- ),
1274
- 75 =>
1275
- array (
1276
- 'type' => 'CSMM PRO',
1277
- 'version' => '6.09',
1278
- 'last_edit' => 'Fri, 25 Sep 2020 08:55:50 +0000',
1279
- 'name' => 'Home Design',
1280
- 'description' => '',
1281
- 'frontpage' => '1',
1282
- 'status' => 'pro',
1283
- 'name_clean' => 'home-design',
1284
- ),
1285
- 76 =>
1286
- array (
1287
- 'type' => 'CSMM PRO',
1288
- 'version' => '15.17',
1289
- 'last_edit' => 'Fri, 30 Mar 2018 11:26:42 +0000',
1290
- 'name' => 'Homemade Chocolate Gifts',
1291
- 'description' => '',
1292
- 'frontpage' => '0',
1293
- 'status' => 'pro',
1294
- 'name_clean' => 'homemade-chocolate-gifts',
1295
- ),
1296
- 77 =>
1297
- array (
1298
- 'type' => 'CSMM PRO',
1299
- 'version' => '6.09',
1300
- 'last_edit' => 'Tue, 29 Sep 2020 09:57:03 +0000',
1301
- 'name' => 'Hosting',
1302
- 'description' => '',
1303
- 'frontpage' => '1',
1304
- 'status' => 'pro',
1305
- 'name_clean' => 'hosting',
1306
- ),
1307
- 78 =>
1308
- array (
1309
- 'type' => 'CSMM PRO',
1310
- 'version' => '15.17',
1311
- 'last_edit' => 'Wed, 30 Jan 2019 19:33:31 +0000',
1312
- 'name' => 'Ice Cream Shop',
1313
- 'description' => '',
1314
- 'frontpage' => '1',
1315
- 'status' => 'pro',
1316
- 'name_clean' => 'ice-cream-shop',
1317
- ),
1318
- 79 =>
1319
- array (
1320
- 'type' => 'CSMM PRO',
1321
- 'version' => '6.09',
1322
- 'last_edit' => 'Fri, 25 Sep 2020 09:03:39 +0000',
1323
- 'name' => 'In Design',
1324
- 'description' => '',
1325
- 'frontpage' => '0',
1326
- 'status' => 'extra',
1327
- 'name_clean' => 'in-design',
1328
- ),
1329
- 80 =>
1330
- array (
1331
- 'type' => 'CSMM PRO',
1332
- 'version' => '15.17',
1333
- 'last_edit' => 'Mon, 23 Sep 2019 13:35:23 +0000',
1334
- 'name' => 'Inspy Romance',
1335
- 'description' => '',
1336
- 'frontpage' => '1',
1337
- 'status' => 'pro',
1338
- 'name_clean' => 'inspy-romance',
1339
- ),
1340
- 81 =>
1341
- array (
1342
- 'type' => 'CSMM PRO',
1343
- 'version' => '15.05',
1344
- 'last_edit' => 'Fri, 02 Mar 2018 12:59:44 +0000',
1345
- 'name' => 'Interior Design',
1346
- 'description' => 'Andrea',
1347
- 'frontpage' => '1',
1348
- 'status' => 'agency',
1349
- 'name_clean' => 'interior-design',
1350
- ),
1351
- 82 =>
1352
- array (
1353
- 'type' => 'CSMM PRO',
1354
- 'version' => '6.09',
1355
- 'last_edit' => 'Sat, 21 Nov 2020 08:50:16 +0000',
1356
- 'name' => 'Internet Service Provider',
1357
- 'description' => '',
1358
- 'frontpage' => '1',
1359
- 'status' => 'agency',
1360
- 'name_clean' => 'internet-service-provider',
1361
- ),
1362
- 83 =>
1363
- array (
1364
- 'type' => 'CSMM PRO',
1365
- 'version' => '6.09',
1366
- 'last_edit' => 'Fri, 25 Sep 2020 09:05:58 +0000',
1367
- 'name' => 'IT Conference',
1368
- 'description' => '',
1369
- 'frontpage' => '1',
1370
- 'status' => 'pro',
1371
- 'name_clean' => 'it-conference',
1372
- ),
1373
- 84 =>
1374
- array (
1375
- 'type' => 'CSMM PRO',
1376
- 'version' => '5.14',
1377
- 'last_edit' => 'Fri, 23 Mar 2018 16:42:15 +0000',
1378
- 'name' => 'Journey (Video)',
1379
- 'description' => '',
1380
- 'frontpage' => '1',
1381
- 'status' => 'agency',
1382
- 'name_clean' => 'journey-video',
1383
- ),
1384
- 85 =>
1385
- array (
1386
- 'type' => 'CSMM PRO',
1387
- 'version' => '15.17',
1388
- 'last_edit' => 'Sat, 25 Apr 2020 11:37:42 +0000',
1389
- 'name' => 'Keyword Research',
1390
- 'description' => '',
1391
- 'frontpage' => '1',
1392
- 'status' => 'pro',
1393
- 'name_clean' => 'keyword-research',
1394
- ),
1395
- 86 =>
1396
- array (
1397
- 'type' => 'CSMM PRO',
1398
- 'version' => '6.09',
1399
- 'last_edit' => 'Fri, 25 Sep 2020 09:20:14 +0000',
1400
- 'name' => 'Kids Center',
1401
- 'description' => '',
1402
- 'frontpage' => '1',
1403
- 'status' => 'pro',
1404
- 'name_clean' => 'kids-center',
1405
- ),
1406
- 87 =>
1407
- array (
1408
- 'type' => 'CSMM PRO',
1409
- 'version' => '6.09',
1410
- 'last_edit' => 'Fri, 25 Sep 2020 09:22:07 +0000',
1411
- 'name' => 'Kids Innovation Program',
1412
- 'description' => '',
1413
- 'frontpage' => '1',
1414
- 'status' => 'agency',
1415
- 'name_clean' => 'kids-innovation-program',
1416
- ),
1417
- 88 =>
1418
- array (
1419
- 'type' => 'CSMM PRO',
1420
- 'version' => '15.17',
1421
- 'last_edit' => 'Mon, 11 Mar 2019 18:11:04 +0000',
1422
- 'name' => 'Ladies Accessories',
1423
- 'description' => '',
1424
- 'frontpage' => '1',
1425
- 'status' => 'agency',
1426
- 'name_clean' => 'ladies-accessories',
1427
- ),
1428
- 89 =>
1429
- array (
1430
- 'type' => 'CSMM PRO',
1431
- 'version' => '6.09',
1432
- 'last_edit' => 'Fri, 18 Dec 2020 10:57:35 +0000',
1433
- 'name' => 'Law',
1434
- 'description' => '',
1435
- 'frontpage' => '0',
1436
- 'status' => 'agency',
1437
- 'name_clean' => 'law',
1438
- ),
1439
- 90 =>
1440
- array (
1441
- 'type' => 'CSMM PRO',
1442
- 'version' => '15.17',
1443
- 'last_edit' => 'Fri, 30 Mar 2018 11:28:28 +0000',
1444
- 'name' => 'LEGO Bricks',
1445
- 'description' => '',
1446
- 'frontpage' => '0',
1447
- 'status' => 'pro',
1448
- 'name_clean' => 'lego-bricks',
1449
- ),
1450
- 91 =>
1451
- array (
1452
- 'type' => 'CSMM PRO',
1453
- 'version' => '15.17',
1454
- 'last_edit' => 'Wed, 29 Aug 2018 16:36:44 +0000',
1455
- 'name' => 'Loneliness',
1456
- 'description' => '',
1457
- 'frontpage' => '1',
1458
- 'status' => 'agency',
1459
- 'name_clean' => 'loneliness',
1460
- ),
1461
- 92 =>
1462
- array (
1463
- 'type' => 'CSMM PRO',
1464
- 'version' => '6.00',
1465
- 'last_edit' => 'Wed, 25 Apr 2018 11:04:55 +0000',
1466
- 'name' => 'Lonely Road',
1467
- 'description' => '',
1468
- 'frontpage' => '1',
1469
- 'status' => 'agency',
1470
- 'name_clean' => 'lonely-road',
1471
- ),
1472
- 93 =>
1473
- array (
1474
- 'type' => 'CSMM PRO',
1475
- 'version' => '6.00',
1476
- 'last_edit' => 'Fri, 30 Mar 2018 11:30:37 +0000',
1477
- 'name' => 'Luxury Car',
1478
- 'description' => '',
1479
- 'frontpage' => '1',
1480
- 'status' => 'pro',
1481
- 'name_clean' => 'luxury-car',
1482
- ),
1483
- 94 =>
1484
- array (
1485
- 'type' => 'CSMM PRO',
1486
- 'version' => '5.005',
1487
- 'last_edit' => 'Mon, 26 Feb 2018 18:31:18 +0000',
1488
- 'name' => 'Maintenance Mode',
1489
- 'description' => 'Andrea',
1490
- 'frontpage' => '0',
1491
- 'status' => 'pro',
1492
- 'name_clean' => 'maintenance-mode',
1493
- ),
1494
- 95 =>
1495
- array (
1496
- 'type' => 'CSMM PRO',
1497
- 'version' => '5.005',
1498
- 'last_edit' => 'Mon, 26 Feb 2018 17:59:30 +0000',
1499
- 'name' => 'Makeup Artist Training',
1500
- 'description' => 'Andrea',
1501
- 'frontpage' => '1',
1502
- 'status' => 'agency',
1503
- 'name_clean' => 'makeup-artist-training',
1504
- ),
1505
- 96 =>
1506
- array (
1507
- 'type' => 'CSMM PRO',
1508
- 'version' => '6.09',
1509
- 'last_edit' => 'Tue, 29 Sep 2020 09:51:03 +0000',
1510
- 'name' => 'Marketing Webinar',
1511
- 'description' => '',
1512
- 'frontpage' => '1',
1513
- 'status' => 'agency',
1514
- 'name_clean' => 'marketing-webinar',
1515
- ),
1516
- 97 =>
1517
- array (
1518
- 'type' => 'CSMM PRO',
1519
- 'version' => '6.09',
1520
- 'last_edit' => 'Fri, 25 Sep 2020 09:26:53 +0000',
1521
- 'name' => 'Metrics (Video)',
1522
- 'description' => '',
1523
- 'frontpage' => '1',
1524
- 'status' => 'agency',
1525
- 'name_clean' => 'metrics-video',
1526
- ),
1527
- 98 =>
1528
- array (
1529
- 'type' => 'CSMM PRO',
1530
- 'version' => '15.17',
1531
- 'last_edit' => 'Sun, 23 Sep 2018 13:09:03 +0000',
1532
- 'name' => 'Misty Forest (Video)',
1533
- 'description' => '',
1534
- 'frontpage' => '1',
1535
- 'status' => 'pro',
1536
- 'name_clean' => 'misty-forest-video',
1537
- ),
1538
- 99 =>
1539
- array (
1540
- 'type' => 'CSMM PRO',
1541
- 'version' => '6.09',
1542
- 'last_edit' => 'Fri, 25 Sep 2020 09:28:18 +0000',
1543
- 'name' => 'Mobile App',
1544
- 'description' => '',
1545
- 'frontpage' => '1',
1546
- 'status' => 'extra',
1547
- 'name_clean' => 'mobile-app',
1548
- ),
1549
- 100 =>
1550
- array (
1551
- 'type' => 'CSMM PRO',
1552
- 'version' => '6.00',
1553
- 'last_edit' => 'Wed, 25 Apr 2018 11:08:31 +0000',
1554
- 'name' => 'Mobile Designer',
1555
- 'description' => '',
1556
- 'frontpage' => '1',
1557
- 'status' => 'agency',
1558
- 'name_clean' => 'mobile-designer',
1559
- ),
1560
- 101 =>
1561
- array (
1562
- 'type' => 'CSMM PRO',
1563
- 'version' => '15.17',
1564
- 'last_edit' => 'Tue, 30 Oct 2018 18:10:11 +0000',
1565
- 'name' => 'Mobile Meeting',
1566
- 'description' => '',
1567
- 'frontpage' => '1',
1568
- 'status' => 'agency',
1569
- 'name_clean' => 'mobile-meeting',
1570
- ),
1571
- 102 =>
1572
- array (
1573
- 'type' => 'CSMM PRO',
1574
- 'version' => '6.00',
1575
- 'last_edit' => 'Mon, 26 Feb 2018 18:04:32 +0000',
1576
- 'name' => 'Modern Blog',
1577
- 'description' => '',
1578
- 'frontpage' => '1',
1579
- 'status' => 'pro',
1580
- 'name_clean' => 'modern-blog',
1581
- ),
1582
- 103 =>
1583
- array (
1584
- 'type' => 'CSMM PRO',
1585
- 'version' => '15.05',
1586
- 'last_edit' => 'Fri, 02 Mar 2018 10:14:21 +0000',
1587
- 'name' => 'Modern Office',
1588
- 'description' => 'Andrea',
1589
- 'frontpage' => '0',
1590
- 'status' => 'agency',
1591
- 'name_clean' => 'modern-office',
1592
- ),
1593
- 104 =>
1594
- array (
1595
- 'type' => 'CSMM PRO',
1596
- 'version' => '15.17',
1597
- 'last_edit' => 'Mon, 26 Nov 2018 18:42:35 +0000',
1598
- 'name' => 'Modern Recipes',
1599
- 'description' => '',
1600
- 'frontpage' => '1',
1601
- 'status' => 'agency',
1602
- 'name_clean' => 'modern-recipes',
1603
- ),
1604
- 105 =>
1605
- array (
1606
- 'type' => 'CSMM PRO',
1607
- 'version' => '15.17',
1608
- 'last_edit' => 'Fri, 30 Mar 2018 11:48:23 +0000',
1609
- 'name' => 'Mountain Slide',
1610
- 'description' => '',
1611
- 'frontpage' => '1',
1612
- 'status' => 'pro',
1613
- 'name_clean' => 'mountain-slide',
1614
- ),
1615
- 106 =>
1616
- array (
1617
- 'type' => 'CSMM PRO',
1618
- 'version' => '5.05',
1619
- 'last_edit' => 'Thu, 01 Mar 2018 10:49:52 +0000',
1620
- 'name' => 'Mountain',
1621
- 'description' => 'Andrea',
1622
- 'frontpage' => '0',
1623
- 'status' => 'pro',
1624
- 'name_clean' => 'mountain',
1625
- ),
1626
- 107 =>
1627
- array (
1628
- 'type' => 'CSMM PRO',
1629
- 'version' => '6.09',
1630
- 'last_edit' => 'Fri, 25 Sep 2020 09:31:15 +0000',
1631
- 'name' => 'Movie Trailer (Video)',
1632
- 'description' => '',
1633
- 'frontpage' => '1',
1634
- 'status' => 'pro',
1635
- 'name_clean' => 'movie-trailer-video',
1636
- ),
1637
- 108 =>
1638
- array (
1639
- 'type' => 'CSMM PRO',
1640
- 'version' => '6.09',
1641
- 'last_edit' => 'Sun, 27 Sep 2020 11:45:25 +0000',
1642
- 'name' => 'Moving Service',
1643
- 'description' => '',
1644
- 'frontpage' => '1',
1645
- 'status' => 'agency',
1646
- 'name_clean' => 'moving-service',
1647
- ),
1648
- 109 =>
1649
- array (
1650
- 'type' => 'CSMM PRO',
1651
- 'version' => '6.09',
1652
- 'last_edit' => 'Sun, 27 Sep 2020 13:47:44 +0000',
1653
- 'name' => 'Museum',
1654
- 'description' => '',
1655
- 'frontpage' => '1',
1656
- 'status' => 'pro',
1657
- 'name_clean' => 'museum',
1658
- ),
1659
- 110 =>
1660
- array (
1661
- 'type' => 'CSMM PRO',
1662
- 'version' => '6.09',
1663
- 'last_edit' => 'Sun, 27 Sep 2020 10:31:56 +0000',
1664
- 'name' => 'Music Lessons',
1665
- 'description' => '',
1666
- 'frontpage' => '1',
1667
- 'status' => 'pro',
1668
- 'name_clean' => 'music-lessons',
1669
- ),
1670
- 111 =>
1671
- array (
1672
- 'type' => 'CSMM PRO',
1673
- 'version' => '6.09',
1674
- 'last_edit' => 'Tue, 29 Sep 2020 10:04:47 +0000',
1675
- 'name' => 'Music',
1676
- 'description' => '',
1677
- 'frontpage' => '1',
1678
- 'status' => 'pro',
1679
- 'name_clean' => 'music',
1680
- ),
1681
- 112 =>
1682
- array (
1683
- 'type' => 'CSMM PRO',
1684
- 'version' => '15.05',
1685
- 'last_edit' => 'Fri, 02 Mar 2018 10:17:02 +0000',
1686
- 'name' => 'Nature',
1687
- 'description' => 'Andrea',
1688
- 'frontpage' => '0',
1689
- 'status' => 'agency',
1690
- 'name_clean' => 'nature',
1691
- ),
1692
- 113 =>
1693
- array (
1694
- 'type' => 'CSMM PRO',
1695
- 'version' => '6.00',
1696
- 'last_edit' => 'Fri, 07 Aug 2020 08:05:07 +0000',
1697
- 'name' => 'Non-Profit Organization',
1698
- 'description' => '',
1699
- 'frontpage' => '0',
1700
- 'status' => 'extra',
1701
- 'name_clean' => 'non-profit-organization',
1702
- ),
1703
- 114 =>
1704
- array (
1705
- 'type' => 'CSMM PRO',
1706
- 'version' => '6.09',
1707
- 'last_edit' => 'Fri, 25 Sep 2020 09:33:03 +0000',
1708
- 'name' => 'Nutritionist',
1709
- 'description' => '',
1710
- 'frontpage' => '0',
1711
- 'status' => 'pro',
1712
- 'name_clean' => 'nutritionist',
1713
- ),
1714
- 115 =>
1715
- array (
1716
- 'type' => 'CSMM PRO',
1717
- 'version' => '5.14',
1718
- 'last_edit' => 'Fri, 23 Mar 2018 16:37:55 +0000',
1719
- 'name' => 'Office Meeting (Video)',
1720
- 'description' => '',
1721
- 'frontpage' => '1',
1722
- 'status' => 'agency',
1723
- 'name_clean' => 'office-meeting-video',
1724
- ),
1725
- 116 =>
1726
- array (
1727
- 'type' => 'CSMM PRO',
1728
- 'version' => '15.05',
1729
- 'last_edit' => 'Fri, 02 Mar 2018 12:35:44 +0000',
1730
- 'name' => 'Office Theme',
1731
- 'description' => '',
1732
- 'frontpage' => '1',
1733
- 'status' => 'agency',
1734
- 'name_clean' => 'office-theme',
1735
- ),
1736
- 117 =>
1737
- array (
1738
- 'type' => 'CSMM PRO',
1739
- 'version' => '6.09',
1740
- 'last_edit' => 'Fri, 25 Sep 2020 09:35:03 +0000',
1741
- 'name' => 'Online Food Delivery',
1742
- 'description' => '',
1743
- 'frontpage' => '1',
1744
- 'status' => 'pro',
1745
- 'name_clean' => 'online-food-delivery',
1746
- ),
1747
- 118 =>
1748
- array (
1749
- 'type' => 'CSMM PRO',
1750
- 'version' => '5.005',
1751
- 'last_edit' => 'Mon, 26 Feb 2018 18:07:28 +0000',
1752
- 'name' => 'Online Learning',
1753
- 'description' => 'Andrea',
1754
- 'frontpage' => '1',
1755
- 'status' => 'agency',
1756
- 'name_clean' => 'online-learning',
1757
- ),
1758
- 119 =>
1759
- array (
1760
- 'type' => 'CSMM PRO',
1761
- 'version' => '6.09',
1762
- 'last_edit' => 'Fri, 25 Sep 2020 09:36:15 +0000',
1763
- 'name' => 'Online Shopping',
1764
- 'description' => '',
1765
- 'frontpage' => '1',
1766
- 'status' => 'pro',
1767
- 'name_clean' => 'online-shopping',
1768
- ),
1769
- 120 =>
1770
- array (
1771
- 'type' => 'CSMM PRO',
1772
- 'version' => '6.09',
1773
- 'last_edit' => 'Fri, 25 Sep 2020 09:38:08 +0000',
1774
- 'name' => 'Organic Cosmetics',
1775
- 'description' => '',
1776
- 'frontpage' => '1',
1777
- 'status' => 'pro',
1778
- 'name_clean' => 'organic-cosmetics',
1779
- ),
1780
- 121 =>
1781
- array (
1782
- 'type' => 'CSMM PRO',
1783
- 'version' => '6.09',
1784
- 'last_edit' => 'Fri, 18 Dec 2020 10:15:49 +0000',
1785
- 'name' => 'Organic Farming',
1786
- 'description' => '',
1787
- 'frontpage' => '1',
1788
- 'status' => 'agency',
1789
- 'name_clean' => 'organic-farming',
1790
- ),
1791
- 122 =>
1792
- array (
1793
- 'type' => 'CSMM PRO',
1794
- 'version' => '6.00',
1795
- 'last_edit' => 'Wed, 25 Apr 2018 11:10:44 +0000',
1796
- 'name' => 'Pancake House',
1797
- 'description' => '',
1798
- 'frontpage' => '1',
1799
- 'status' => 'pro',
1800
- 'name_clean' => 'pancake-house',
1801
- ),
1802
- 123 =>
1803
- array (
1804
- 'type' => 'CSMM PRO',
1805
- 'version' => '6.00',
1806
- 'last_edit' => 'Wed, 25 Apr 2018 11:15:19 +0000',
1807
- 'name' => 'Parenting',
1808
- 'description' => '',
1809
- 'frontpage' => '1',
1810
- 'status' => 'pro',
1811
- 'name_clean' => 'parenting',
1812
- ),
1813
- 124 =>
1814
- array (
1815
- 'type' => 'CSMM PRO',
1816
- 'version' => '6.09',
1817
- 'last_edit' => 'Sun, 27 Sep 2020 11:14:39 +0000',
1818
- 'name' => 'Parents Online',
1819
- 'description' => '',
1820
- 'frontpage' => '1',
1821
- 'status' => 'pro',
1822
- 'name_clean' => 'parents-online',
1823
- ),
1824
- 125 =>
1825
- array (
1826
- 'type' => 'CSMM PRO',
1827
- 'version' => '15.17',
1828
- 'last_edit' => 'Tue, 28 Aug 2018 15:03:08 +0000',
1829
- 'name' => 'Passage',
1830
- 'description' => '',
1831
- 'frontpage' => '0',
1832
- 'status' => 'pro',
1833
- 'name_clean' => 'passage',
1834
- ),
1835
- 126 =>
1836
- array (
1837
- 'type' => 'CSMM PRO',
1838
- 'version' => '15.17',
1839
- 'last_edit' => 'Tue, 23 Oct 2018 18:08:17 +0000',
1840
- 'name' => 'Peaceful River',
1841
- 'description' => '',
1842
- 'frontpage' => '1',
1843
- 'status' => 'agency',
1844
- 'name_clean' => 'peaceful-river',
1845
- ),
1846
- 127 =>
1847
- array (
1848
- 'type' => 'CSMM PRO',
1849
- 'version' => '6.09',
1850
- 'last_edit' => 'Sun, 22 Nov 2020 14:38:52 +0000',
1851
- 'name' => 'Perfume Shop',
1852
- 'description' => '',
1853
- 'frontpage' => '1',
1854
- 'status' => 'pro',
1855
- 'name_clean' => 'perfume-shop',
1856
- ),
1857
- 128 =>
1858
- array (
1859
- 'type' => 'CSMM PRO',
1860
- 'version' => '6.09',
1861
- 'last_edit' => 'Tue, 29 Sep 2020 10:02:16 +0000',
1862
- 'name' => 'Personal Trainer',
1863
- 'description' => '',
1864
- 'frontpage' => '1',
1865
- 'status' => 'pro',
1866
- 'name_clean' => 'personal-trainer',
1867
- ),
1868
- 129 =>
1869
- array (
1870
- 'type' => 'CSMM PRO',
1871
- 'version' => '6.09',
1872
- 'last_edit' => 'Fri, 25 Sep 2020 09:42:02 +0000',
1873
- 'name' => 'Photo Studio',
1874
- 'description' => '',
1875
- 'frontpage' => '1',
1876
- 'status' => 'agency',
1877
- 'name_clean' => 'photo-studio',
1878
- ),
1879
- 130 =>
1880
- array (
1881
- 'type' => 'CSMM PRO',
1882
- 'version' => '6.09',
1883
- 'last_edit' => 'Fri, 25 Sep 2020 09:43:25 +0000',
1884
- 'name' => 'Photography',
1885
- 'description' => '',
1886
- 'frontpage' => '1',
1887
- 'status' => 'agency',
1888
- 'name_clean' => 'photography',
1889
- ),
1890
- 131 =>
1891
- array (
1892
- 'type' => 'CSMM PRO',
1893
- 'version' => '6.09',
1894
- 'last_edit' => 'Fri, 25 Sep 2020 09:44:16 +0000',
1895
- 'name' => 'Plumbing',
1896
- 'description' => '',
1897
- 'frontpage' => '1',
1898
- 'status' => 'pro',
1899
- 'name_clean' => 'plumbing',
1900
- ),
1901
- 132 =>
1902
- array (
1903
- 'type' => 'CSMM PRO',
1904
- 'version' => '6.00',
1905
- 'last_edit' => 'Fri, 07 Aug 2020 06:53:04 +0000',
1906
- 'name' => 'Podcast',
1907
- 'description' => '',
1908
- 'frontpage' => '0',
1909
- 'status' => 'extra',
1910
- 'name_clean' => 'podcast',
1911
- ),
1912
- 133 =>
1913
- array (
1914
- 'type' => 'CSMM PRO',
1915
- 'version' => '6.09',
1916
- 'last_edit' => 'Fri, 25 Sep 2020 09:45:34 +0000',
1917
- 'name' => 'Portfolio',
1918
- 'description' => '',
1919
- 'frontpage' => '0',
1920
- 'status' => 'extra',
1921
- 'name_clean' => 'portfolio',
1922
- ),
1923
- 134 =>
1924
- array (
1925
- 'type' => 'CSMM PRO',
1926
- 'version' => '6.09',
1927
- 'last_edit' => 'Fri, 30 Oct 2020 20:35:22 +0000',
1928
- 'name' => 'Real Estate',
1929
- 'description' => '',
1930
- 'frontpage' => '1',
1931
- 'status' => 'pro',
1932
- 'name_clean' => 'real-estate',
1933
- ),
1934
- 135 =>
1935
- array (
1936
- 'type' => 'CSMM PRO',
1937
- 'version' => '6.09',
1938
- 'last_edit' => 'Fri, 30 Oct 2020 19:59:35 +0000',
1939
- 'name' => 'Remote Work',
1940
- 'description' => '',
1941
- 'frontpage' => '1',
1942
- 'status' => 'agency',
1943
- 'name_clean' => 'remote-work',
1944
- ),
1945
- 136 =>
1946
- array (
1947
- 'type' => 'CSMM PRO',
1948
- 'version' => '6.09',
1949
- 'last_edit' => 'Fri, 25 Sep 2020 09:46:39 +0000',
1950
- 'name' => 'Restaurant',
1951
- 'description' => '',
1952
- 'frontpage' => '1',
1953
- 'status' => 'agency',
1954
- 'name_clean' => 'restaurant',
1955
- ),
1956
- 137 =>
1957
- array (
1958
- 'type' => 'CSMM PRO',
1959
- 'version' => '6.09',
1960
- 'last_edit' => 'Fri, 25 Sep 2020 09:47:38 +0000',
1961
- 'name' => 'Romantic Travels',
1962
- 'description' => '',
1963
- 'frontpage' => '1',
1964
- 'status' => 'agency',
1965
- 'name_clean' => 'romantic-travels',
1966
- ),
1967
- 138 =>
1968
- array (
1969
- 'type' => 'CSMM PRO',
1970
- 'version' => '15.17',
1971
- 'last_edit' => 'Fri, 30 Mar 2018 11:41:09 +0000',
1972
- 'name' => 'Running Blog',
1973
- 'description' => '',
1974
- 'frontpage' => '0',
1975
- 'status' => 'agency',
1976
- 'name_clean' => 'running-blog',
1977
- ),
1978
- 139 =>
1979
- array (
1980
- 'type' => 'CSMM PRO',
1981
- 'version' => '15.14',
1982
- 'last_edit' => 'Sat, 24 Mar 2018 10:23:40 +0000',
1983
- 'name' => 'Running (Video)',
1984
- 'description' => '',
1985
- 'frontpage' => '1',
1986
- 'status' => 'pro',
1987
- 'name_clean' => 'running-video',
1988
- ),
1989
- 140 =>
1990
- array (
1991
- 'type' => 'CSMM PRO',
1992
- 'version' => '6.09',
1993
- 'last_edit' => 'Fri, 25 Sep 2020 09:49:31 +0000',
1994
- 'name' => 'Scholar University',
1995
- 'description' => '',
1996
- 'frontpage' => '1',
1997
- 'status' => 'agency',
1998
- 'name_clean' => 'scholar-university',
1999
- ),
2000
- 141 =>
2001
- array (
2002
- 'type' => 'CSMM PRO',
2003
- 'version' => '6.09',
2004
- 'last_edit' => 'Fri, 25 Sep 2020 09:54:51 +0000',
2005
- 'name' => 'SEO & Digital Marketing',
2006
- 'description' => '',
2007
- 'frontpage' => '1',
2008
- 'status' => 'agency',
2009
- 'name_clean' => 'seo-digital-marketing',
2010
- ),
2011
- 142 =>
2012
- array (
2013
- 'type' => 'CSMM PRO',
2014
- 'version' => '5.005',
2015
- 'last_edit' => 'Mon, 26 Feb 2018 11:17:32 +0000',
2016
- 'name' => 'Shoes Store',
2017
- 'description' => 'Andrea',
2018
- 'frontpage' => '1',
2019
- 'status' => 'agency',
2020
- 'name_clean' => 'shoes-store',
2021
- ),
2022
- 143 =>
2023
- array (
2024
- 'type' => 'CSMM PRO',
2025
- 'version' => '6.00',
2026
- 'last_edit' => 'Wed, 25 Apr 2018 11:17:21 +0000',
2027
- 'name' => 'Simple Beige Design',
2028
- 'description' => '',
2029
- 'frontpage' => '1',
2030
- 'status' => 'pro',
2031
- 'name_clean' => 'simple-beige-design',
2032
- ),
2033
- 144 =>
2034
- array (
2035
- 'type' => 'CSMM PRO',
2036
- 'version' => '6.00',
2037
- 'last_edit' => 'Fri, 07 Aug 2020 08:11:48 +0000',
2038
- 'name' => 'Skin Care',
2039
- 'description' => '',
2040
- 'frontpage' => '0',
2041
- 'status' => 'extra',
2042
- 'name_clean' => 'skin-care',
2043
- ),
2044
- 145 =>
2045
- array (
2046
- 'type' => 'CSMM PRO',
2047
- 'version' => '6.09',
2048
- 'last_edit' => 'Fri, 25 Sep 2020 10:07:56 +0000',
2049
- 'name' => 'Skincare',
2050
- 'description' => '',
2051
- 'frontpage' => '1',
2052
- 'status' => 'agency',
2053
- 'name_clean' => 'skincare',
2054
- ),
2055
- 146 =>
2056
- array (
2057
- 'type' => 'CSMM PRO',
2058
- 'version' => '6.09',
2059
- 'last_edit' => 'Fri, 25 Sep 2020 10:10:09 +0000',
2060
- 'name' => 'Snow Screensaver (Video)',
2061
- 'description' => '',
2062
- 'frontpage' => '1',
2063
- 'status' => 'pro',
2064
- 'name_clean' => 'snow-screensaver-video',
2065
- ),
2066
- 147 =>
2067
- array (
2068
- 'type' => 'CSMM PRO',
2069
- 'version' => '15.17',
2070
- 'last_edit' => 'Fri, 30 Mar 2018 11:44:39 +0000',
2071
- 'name' => 'Snowboarding Blog',
2072
- 'description' => '',
2073
- 'frontpage' => '1',
2074
- 'status' => 'pro',
2075
- 'name_clean' => 'snowboarding-blog',
2076
- ),
2077
- 148 =>
2078
- array (
2079
- 'type' => 'CSMM PRO',
2080
- 'version' => '6.00',
2081
- 'last_edit' => 'Wed, 25 Apr 2018 11:21:19 +0000',
2082
- 'name' => 'Snowy Mountain',
2083
- 'description' => '',
2084
- 'frontpage' => '1',
2085
- 'status' => 'pro',
2086
- 'name_clean' => 'snowy-mountain',
2087
- ),
2088
- 149 =>
2089
- array (
2090
- 'type' => 'CSMM PRO',
2091
- 'version' => '6.09',
2092
- 'last_edit' => 'Fri, 25 Sep 2020 10:11:27 +0000',
2093
- 'name' => 'Snowy Oasis',
2094
- 'description' => '',
2095
- 'frontpage' => '1',
2096
- 'status' => 'pro',
2097
- 'name_clean' => 'snowy-oasis',
2098
- ),
2099
- 150 =>
2100
- array (
2101
- 'type' => 'CSMM PRO',
2102
- 'version' => '6.09',
2103
- 'last_edit' => 'Fri, 25 Sep 2020 10:12:39 +0000',
2104
- 'name' => 'Social Media Service',
2105
- 'description' => '',
2106
- 'frontpage' => '1',
2107
- 'status' => 'agency',
2108
- 'name_clean' => 'social-media-service',
2109
- ),
2110
- 151 =>
2111
- array (
2112
- 'type' => 'CSMM PRO',
2113
- 'version' => '6.09',
2114
- 'last_edit' => 'Fri, 25 Sep 2020 10:13:42 +0000',
2115
- 'name' => 'Social Media',
2116
- 'description' => '',
2117
- 'frontpage' => '0',
2118
- 'status' => 'extra',
2119
- 'name_clean' => 'social-media',
2120
- ),
2121
- 152 =>
2122
- array (
2123
- 'type' => 'CSMM PRO',
2124
- 'version' => '6.09',
2125
- 'last_edit' => 'Fri, 25 Sep 2020 10:14:37 +0000',
2126
- 'name' => 'Spa & Beauty Studio',
2127
- 'description' => '',
2128
- 'frontpage' => '1',
2129
- 'status' => 'agency',
2130
- 'name_clean' => 'spa-beauty-studio',
2131
- ),
2132
- 153 =>
2133
- array (
2134
- 'type' => 'CSMM PRO',
2135
- 'version' => '15.17',
2136
- 'last_edit' => 'Thu, 30 May 2019 17:05:57 +0000',
2137
- 'name' => 'Spa',
2138
- 'description' => '',
2139
- 'frontpage' => '1',
2140
- 'status' => 'agency',
2141
- 'name_clean' => 'spa',
2142
- ),
2143
- 154 =>
2144
- array (
2145
- 'type' => 'CSMM PRO',
2146
- 'version' => '6.09',
2147
- 'last_edit' => 'Fri, 30 Oct 2020 19:34:57 +0000',
2148
- 'name' => 'Sport Shop',
2149
- 'description' => '',
2150
- 'frontpage' => '1',
2151
- 'status' => 'agency',
2152
- 'name_clean' => 'sport-shop',
2153
- ),
2154
- 155 =>
2155
- array (
2156
- 'type' => 'CSMM PRO',
2157
- 'version' => '6.09',
2158
- 'last_edit' => 'Fri, 25 Sep 2020 10:21:31 +0000',
2159
- 'name' => 'Spring Sale',
2160
- 'description' => '',
2161
- 'frontpage' => '1',
2162
- 'status' => 'pro',
2163
- 'name_clean' => 'spring-sale',
2164
- ),
2165
- 156 =>
2166
- array (
2167
- 'type' => 'CSMM PRO',
2168
- 'version' => '6.09',
2169
- 'last_edit' => 'Fri, 25 Sep 2020 10:22:17 +0000',
2170
- 'name' => 'Spring',
2171
- 'description' => '',
2172
- 'frontpage' => '1',
2173
- 'status' => 'agency',
2174
- 'name_clean' => 'spring',
2175
- ),
2176
- 157 =>
2177
- array (
2178
- 'type' => 'CSMM PRO',
2179
- 'version' => '15.17',
2180
- 'last_edit' => 'Sat, 26 Jan 2019 16:30:01 +0000',
2181
- 'name' => 'Startup',
2182
- 'description' => '',
2183
- 'frontpage' => '1',
2184
- 'status' => 'pro',
2185
- 'name_clean' => 'startup',
2186
- ),
2187
- 158 =>
2188
- array (
2189
- 'type' => 'CSMM PRO',
2190
- 'version' => '6.09',
2191
- 'last_edit' => 'Sun, 25 Oct 2020 11:57:16 +0000',
2192
- 'name' => 'Stat Team',
2193
- 'description' => '',
2194
- 'frontpage' => '0',
2195
- 'status' => 'agency',
2196
- 'name_clean' => 'stat-team',
2197
- ),
2198
- 159 =>
2199
- array (
2200
- 'type' => 'CSMM PRO',
2201
- 'version' => '6.09',
2202
- 'last_edit' => 'Fri, 25 Sep 2020 10:24:20 +0000',
2203
- 'name' => 'Statistics Survey',
2204
- 'description' => '',
2205
- 'frontpage' => '0',
2206
- 'status' => 'extra',
2207
- 'name_clean' => 'statistics-survey',
2208
- ),
2209
- 160 =>
2210
- array (
2211
- 'type' => 'CSMM PRO',
2212
- 'version' => '6.09',
2213
- 'last_edit' => 'Fri, 25 Sep 2020 10:25:41 +0000',
2214
- 'name' => 'Studio Design',
2215
- 'description' => '',
2216
- 'frontpage' => '1',
2217
- 'status' => 'agency',
2218
- 'name_clean' => 'studio-design',
2219
- ),
2220
- 161 =>
2221
- array (
2222
- 'type' => 'CSMM PRO',
2223
- 'version' => '15.17',
2224
- 'last_edit' => 'Sun, 19 Aug 2018 07:48:14 +0000',
2225
- 'name' => 'Stylish Workplace',
2226
- 'description' => '',
2227
- 'frontpage' => '1',
2228
- 'status' => 'pro',
2229
- 'name_clean' => 'stylish-workplace',
2230
- ),
2231
- 162 =>
2232
- array (
2233
- 'type' => 'CSMM PRO',
2234
- 'version' => '6.09',
2235
- 'last_edit' => 'Fri, 25 Sep 2020 10:27:00 +0000',
2236
- 'name' => 'Tattoo Studio',
2237
- 'description' => '',
2238
- 'frontpage' => '1',
2239
- 'status' => 'pro',
2240
- 'name_clean' => 'tattoo-studio',
2241
- ),
2242
- 163 =>
2243
- array (
2244
- 'type' => 'CSMM PRO',
2245
- 'version' => '6.00',
2246
- 'last_edit' => 'Fri, 07 Aug 2020 08:10:14 +0000',
2247
- 'name' => 'Tech',
2248
- 'description' => '',
2249
- 'frontpage' => '0',
2250
- 'status' => 'extra',
2251
- 'name_clean' => 'tech',
2252
- ),
2253
- 164 =>
2254
- array (
2255
- 'type' => 'CSMM PRO',
2256
- 'version' => '6.09',
2257
- 'last_edit' => 'Fri, 25 Sep 2020 10:27:58 +0000',
2258
- 'name' => 'TechExpo',
2259
- 'description' => '',
2260
- 'frontpage' => '1',
2261
- 'status' => 'pro',
2262
- 'name_clean' => 'techexpo',
2263
- ),
2264
- 165 =>
2265
- array (
2266
- 'type' => 'CSMM PRO',
2267
- 'version' => '6.09',
2268
- 'last_edit' => 'Fri, 25 Sep 2020 10:28:48 +0000',
2269
- 'name' => 'Telecommunication',
2270
- 'description' => '',
2271
- 'frontpage' => '1',
2272
- 'status' => 'agency',
2273
- 'name_clean' => 'telecommunication',
2274
- ),
2275
- 166 =>
2276
- array (
2277
- 'type' => 'CSMM PRO',
2278
- 'version' => '6.00',
2279
- 'last_edit' => 'Wed, 25 Apr 2018 11:22:49 +0000',
2280
- 'name' => 'The Big City Newsletter',
2281
- 'description' => '',
2282
- 'frontpage' => '1',
2283
- 'status' => 'agency',
2284
- 'name_clean' => 'the-big-city-newsletter',
2285
- ),
2286
- 167 =>
2287
- array (
2288
- 'type' => 'CSMM PRO',
2289
- 'version' => '6.09',
2290
- 'last_edit' => 'Fri, 25 Sep 2020 10:30:02 +0000',
2291
- 'name' => 'The Sunny View',
2292
- 'description' => '',
2293
- 'frontpage' => '0',
2294
- 'status' => 'pro',
2295
- 'name_clean' => 'the-sunny-view',
2296
- ),
2297
- 168 =>
2298
- array (
2299
- 'type' => 'CSMM PRO',
2300
- 'version' => '6.09',
2301
- 'last_edit' => 'Fri, 25 Sep 2020 10:30:53 +0000',
2302
- 'name' => 'Theatre',
2303
- 'description' => '',
2304
- 'frontpage' => '1',
2305
- 'status' => 'agency',
2306
- 'name_clean' => 'theatre',
2307
- ),
2308
- 169 =>
2309
- array (
2310
- 'type' => 'CSMM PRO',
2311
- 'version' => '5.001',
2312
- 'last_edit' => 'Tue, 20 Feb 2018 10:57:27 +0000',
2313
- 'name' => 'Travel Agency',
2314
- 'description' => '',
2315
- 'frontpage' => '1',
2316
- 'status' => 'pro',
2317
- 'name_clean' => 'travel-agency',
2318
- ),
2319
- 170 =>
2320
- array (
2321
- 'type' => 'CSMM PRO',
2322
- 'version' => '15.05',
2323
- 'last_edit' => 'Fri, 02 Mar 2018 12:39:22 +0000',
2324
- 'name' => 'Travel Blog',
2325
- 'description' => 'Andrea',
2326
- 'frontpage' => '1',
2327
- 'status' => 'agency',
2328
- 'name_clean' => 'travel-blog',
2329
- ),
2330
- 171 =>
2331
- array (
2332
- 'type' => 'CSMM PRO',
2333
- 'version' => '6.09',
2334
- 'last_edit' => 'Fri, 25 Sep 2020 10:31:59 +0000',
2335
- 'name' => 'Travel',
2336
- 'description' => '',
2337
- 'frontpage' => '1',
2338
- 'status' => 'agency',
2339
- 'name_clean' => 'travel',
2340
- ),
2341
- 172 =>
2342
- array (
2343
- 'type' => 'CSMM PRO',
2344
- 'version' => '6.09',
2345
- 'last_edit' => 'Fri, 25 Sep 2020 10:32:57 +0000',
2346
- 'name' => 'Tulips',
2347
- 'description' => '',
2348
- 'frontpage' => '1',
2349
- 'status' => 'agency',
2350
- 'name_clean' => 'tulips',
2351
- ),
2352
- 173 =>
2353
- array (
2354
- 'type' => 'CSMM PRO',
2355
- 'version' => '6.09',
2356
- 'last_edit' => 'Fri, 25 Sep 2020 10:33:31 +0000',
2357
- 'name' => 'Valentines Day',
2358
- 'description' => '',
2359
- 'frontpage' => '1',
2360
- 'status' => 'pro',
2361
- 'name_clean' => 'valentines-day',
2362
- ),
2363
- 174 =>
2364
- array (
2365
- 'type' => 'CSMM PRO',
2366
- 'version' => '5.001',
2367
- 'last_edit' => 'Mon, 19 Feb 2018 12:31:48 +0000',
2368
- 'name' => 'Video Production',
2369
- 'description' => '',
2370
- 'frontpage' => '1',
2371
- 'status' => 'pro',
2372
- 'name_clean' => 'video-production',
2373
- ),
2374
- 175 =>
2375
- array (
2376
- 'type' => 'CSMM PRO',
2377
- 'version' => '6.09',
2378
- 'last_edit' => 'Fri, 25 Sep 2020 10:34:15 +0000',
2379
- 'name' => 'Virtual Assistant Service',
2380
- 'description' => '',
2381
- 'frontpage' => '1',
2382
- 'status' => 'agency',
2383
- 'name_clean' => 'virtual-assistant-service',
2384
- ),
2385
- 176 =>
2386
- array (
2387
- 'type' => 'CSMM PRO',
2388
- 'version' => '6.09',
2389
- 'last_edit' => 'Fri, 25 Sep 2020 10:34:56 +0000',
2390
- 'name' => 'Virtual Reality',
2391
- 'description' => '',
2392
- 'frontpage' => '1',
2393
- 'status' => 'pro',
2394
- 'name_clean' => 'virtual-reality',
2395
- ),
2396
- 177 =>
2397
- array (
2398
- 'type' => 'CSMM PRO',
2399
- 'version' => '6.09',
2400
- 'last_edit' => 'Tue, 29 Sep 2020 10:19:24 +0000',
2401
- 'name' => 'Walking Away (Video)',
2402
- 'description' => '',
2403
- 'frontpage' => '1',
2404
- 'status' => 'pro',
2405
- 'name_clean' => 'walking-away-video',
2406
- ),
2407
- 178 =>
2408
- array (
2409
- 'type' => 'CSMM PRO',
2410
- 'version' => '6.09',
2411
- 'last_edit' => 'Fri, 25 Sep 2020 10:36:23 +0000',
2412
- 'name' => 'Web Security',
2413
- 'description' => '',
2414
- 'frontpage' => '1',
2415
- 'status' => 'extra',
2416
- 'name_clean' => 'web-security',
2417
- ),
2418
- 179 =>
2419
- array (
2420
- 'type' => 'CSMM PRO',
2421
- 'version' => '5.005',
2422
- 'last_edit' => 'Mon, 26 Feb 2018 19:54:07 +0000',
2423
- 'name' => 'Webinar',
2424
- 'description' => 'Andrea',
2425
- 'frontpage' => '1',
2426
- 'status' => 'agency',
2427
- 'name_clean' => 'webinar',
2428
- ),
2429
- 180 =>
2430
- array (
2431
- 'type' => 'CSMM PRO',
2432
- 'version' => '5.005',
2433
- 'last_edit' => 'Fri, 23 Feb 2018 11:53:23 +0000',
2434
- 'name' => 'Wedding Blog',
2435
- 'description' => 'Andrea',
2436
- 'frontpage' => '1',
2437
- 'status' => 'agency',
2438
- 'name_clean' => 'wedding-blog',
2439
- ),
2440
- 181 =>
2441
- array (
2442
- 'type' => 'CSMM PRO',
2443
- 'version' => '6.09',
2444
- 'last_edit' => 'Fri, 25 Sep 2020 10:37:36 +0000',
2445
- 'name' => 'Wedding',
2446
- 'description' => '',
2447
- 'frontpage' => '0',
2448
- 'status' => 'extra',
2449
- 'name_clean' => 'wedding',
2450
- ),
2451
- 182 =>
2452
- array (
2453
- 'type' => 'CSMM PRO',
2454
- 'version' => '6.09',
2455
- 'last_edit' => 'Fri, 25 Sep 2020 10:38:17 +0000',
2456
- 'name' => 'White Orchids',
2457
- 'description' => '',
2458
- 'frontpage' => '1',
2459
- 'status' => 'pro',
2460
- 'name_clean' => 'white-orchids',
2461
- ),
2462
- 183 =>
2463
- array (
2464
- 'type' => 'CSMM PRO',
2465
- 'version' => '6.09',
2466
- 'last_edit' => 'Fri, 18 Dec 2020 12:13:02 +0000',
2467
- 'name' => 'Winery',
2468
- 'description' => '',
2469
- 'frontpage' => '1',
2470
- 'status' => 'pro',
2471
- 'name_clean' => 'winery',
2472
- ),
2473
- 184 =>
2474
- array (
2475
- 'type' => 'CSMM PRO',
2476
- 'version' => '6.09',
2477
- 'last_edit' => 'Fri, 25 Sep 2020 10:39:03 +0000',
2478
- 'name' => 'Winter Sale',
2479
- 'description' => '',
2480
- 'frontpage' => '1',
2481
- 'status' => 'pro',
2482
- 'name_clean' => 'winter-sale',
2483
- ),
2484
- 185 =>
2485
- array (
2486
- 'type' => 'CSMM PRO',
2487
- 'version' => '6.09',
2488
- 'last_edit' => 'Fri, 25 Sep 2020 10:39:48 +0000',
2489
- 'name' => 'Working Out',
2490
- 'description' => '',
2491
- 'frontpage' => '1',
2492
- 'status' => 'agency',
2493
- 'name_clean' => 'working-out',
2494
- ),
2495
- 186 =>
2496
- array (
2497
- 'type' => 'CSMM PRO',
2498
- 'version' => '15.05',
2499
- 'last_edit' => 'Fri, 02 Mar 2018 12:36:42 +0000',
2500
- 'name' => 'Workplace',
2501
- 'description' => 'Andrea',
2502
- 'frontpage' => '1',
2503
- 'status' => 'agency',
2504
- 'name_clean' => 'workplace',
2505
- ),
2506
- 187 =>
2507
- array (
2508
- 'type' => 'CSMM PRO',
2509
- 'version' => '6.09',
2510
- 'last_edit' => 'Fri, 25 Sep 2020 10:40:35 +0000',
2511
- 'name' => 'Writing Service (Video)',
2512
- 'description' => '',
2513
- 'frontpage' => '1',
2514
- 'status' => 'agency',
2515
- 'name_clean' => 'writing-service-video',
2516
- ),
2517
- 188 =>
2518
- array (
2519
- 'type' => 'CSMM PRO',
2520
- 'version' => '6.09',
2521
- 'last_edit' => 'Sun, 30 Aug 2020 13:19:59 +0000',
2522
- 'name' => 'Yoga Classes',
2523
- 'description' => '',
2524
- 'frontpage' => '1',
2525
- 'status' => 'pro',
2526
- 'name_clean' => 'yoga-classes',
2527
  ),
2528
  );
2529
 
@@ -2533,39 +725,33 @@ function mtnc_add_themes_fields()
2533
  }
2534
  return strtotime($item1['last_edit']) < strtotime($item2['last_edit']) ? 1 : -1;
2535
  }
2536
- usort($themes,'mntc_themes_sort');
2537
 
2538
- echo '<p>Are you in a hurry? Looking for something that looks great for your site? Pick one of <b>150+ premium pre-built themes</b> and be done in 5 minutes! Our PRO plugin comes with built-in SEO analyzer, a collection of 2 million plus images and it can connect to any mailing system like Mailchimp so you can start collecting emails from day one! Did we mention you can <b>rebrand the plugin</b> and control all client sites from the plugin\'s centralized Dashboard?</p>';
2539
 
2540
  $i = 1;
2541
  foreach ($themes as $theme) {
2542
- if ($i > 9) {
2543
- echo '<div class="theme-thumb hidden" data-theme="' . esc_html($theme['name_clean']) . '">';
2544
- } else {
2545
- echo '<div class="theme-thumb" data-theme="' . esc_html($theme['name_clean']) . '">';
2546
- }
2547
  $i++;
2548
  if ($theme['status'] != 'free') {
2549
- echo '<a href="' . esc_url(mtnc_csmm_generate_web_link('preview-theme-thumb-' . $theme['name_clean'], 'theme-preview', array('theme' => $theme['name_clean']))) . '" target="_blank"><img src="' . esc_url(MTNC_URI) . 'images/pro-templates/' . esc_html($theme['name_clean']) . '.jpg" alt="Preview ' . esc_html($theme['name']) . '" title="Preview ' . esc_html($theme['name']) . '"></a>';
2550
  }
2551
- echo '<span class="name">' . esc_html($theme['name']) . ' <small>' . esc_html($theme['status']) . ' theme</small></span>';
2552
  echo '<span name="actions">';
2553
  if ($theme['status'] != 'free') {
2554
- echo '<a href="' . esc_url(mtnc_csmm_generate_web_link('buy-with-25', '/', array('coupon' => 'maintenance'))) . '" target="_blank" class="button button-primary">BUY with 25% discount</a>&nbsp; &nbsp;';
2555
- echo '<a target="_blank" class="button button-secondary" href="' . esc_url(mtnc_csmm_generate_web_link('preview-theme-' . $theme['name_clean'], 'theme-preview', array('theme' => $theme['name_clean']))) . '">Preview</a>';
2556
  }
2557
  echo '</span>';
2558
  if ($theme['status'] != 'free') {
2559
- echo '<div class="ribbon" title="' . esc_html(ucfirst($theme['status'])) . ' theme. Click \'Get this theme\' for more info."><i><span class="dashicons dashicons-star-filled"></span></i></div>';
2560
  }
2561
  echo '</div>';
2562
  } // foreach theme
2563
-
2564
- echo '<p class="textcenter"><a href="#" class="button button-primary" id="show-all-themes">Show All 190+ Themes</a><br><br></p>';
2565
  }
2566
 
2567
- function mtnc_csmm_generate_web_link($placement = '', $page = '/', $params = array(), $anchor = '') {
2568
- $base_url = 'https://comingsoonwp.com';
2569
 
2570
  if ('/' != $page) {
2571
  $page = '/' . trim($page, '/') . '/';
@@ -2716,15 +902,27 @@ function mtnc_review_box()
2716
  function mtnc_promo_wpfssl()
2717
  {
2718
  $promo_text = '';
2719
- $promo_text .= '<h3 class="textcenter"><b>Problems with SSL certificate?<br>Moving a site from HTTP to HTTPS?<br>Mixed content giving you troubles?</b></h3>';
2720
  $promo_text .= '<p class="textcenter"><a href="#" class="textcenter install-wpfssl"><img style="max-width: 90%;" src="' . MTNC_URI . 'images/wp-force-ssl-logo.png" alt="WP Force SSL" title="WP Force SSL"></a></p>';
2721
 
2722
  $promo_text .= '<p class="textcenter"><br><a href="#" class="install-wpfssl button button-primary">Install &amp; activate the free WP Force SSL plugin</a></p>';
2723
 
2724
- $promo_text .= '<p><a href="https://wordpress.org/plugins/wp-force-ssl/" target="_blank">WP Force SSL</a> is a free WP plugin maintained by the same team as this Maintenance plugin. It has <b>+150,000 users, 5-star rating</b>, and is hosted on the official WP repository.</p>';
2725
  mtnc_wp_kses($promo_text);
2726
  } // mtnc_promo_wpfssl
2727
 
 
 
 
 
 
 
 
 
 
 
 
 
2728
  function mtnc_cur_page_url()
2729
  {
2730
  $page_url = 'http';
36
  return $options;
37
  }
38
 
39
+ function mtnc_generate_input_filed($title, $id, $name, $value, $placeholder = '', $label = '', $pro = false)
40
  {
41
  $out_filed = '';
42
  $out_filed .= '<tr valign="top">';
43
+ if ($pro) {
44
+ $out_filed .= '<th scope="row"><label for="' . esc_attr($id) . '">' . esc_attr($title) . ' <sup>PRO</sup></label></th>';
45
+ } else {
46
+ $out_filed .= '<th scope="row"><label for="' . esc_attr($id) . '">' . esc_attr($title) . '</label></th>';
47
+ }
48
  $out_filed .= '<td>';
49
  $out_filed .= '<fieldset>';
50
+ if ($pro) {
51
+ $out_filed .= '<input class="open-pro-dialog" data-pro-feature="' . $id . '" type="text" id="' . esc_attr($id) . '" name="" value="" placeholder="' . esc_attr($placeholder) . '"/>';
52
+ } else {
53
+ $out_filed .= '<input type="text" id="' . esc_attr($id) . '" name="lib_options[' . $name . ']" value="' . esc_attr(stripslashes($value)) . '" placeholder="' . esc_attr($placeholder) . '"/>';
54
+ }
55
+ $out_filed .= ' &nbsp; ' . $label;
56
+ if ($pro) {
57
+ $out_filed .= ' This is a <a class="open-pro-dialog" data-pro-feature="' . $id . '" href="#">PRO feature</a>.';
58
+ }
59
  $out_filed .= '</fieldset>';
60
  $out_filed .= '</td>';
61
  $out_filed .= '</tr>';
62
  mtnc_wp_kses($out_filed);
63
  }
64
 
65
+ function mtnc_generate_number_field($title, $id, $name, $value, $placeholder = '')
66
  {
67
  $out_filed = '';
68
  $out_filed .= '<tr valign="top">';
118
  }
119
 
120
 
121
+ function mtnc_generate_check_field($title, $label, $id, $name, $value, $pro = false)
122
  {
123
  $out_filed = '';
124
  $out_filed .= '<tr valign="top">';
125
+ if ($pro) {
126
+ $out_filed .= '<th scope="row"><label for="' . esc_attr($id) . '">' . esc_attr($title) . ' <sup>PRO</sup></label></th>';
127
+ } else {
128
+ $out_filed .= '<th scope="row"><label for="' . esc_attr($id) . '">' . esc_attr($title) . '</label></th>';
129
+ }
130
  $out_filed .= '<td>';
131
  $out_filed .= '<fieldset>';
132
  $out_filed .= '<label for=' . esc_attr($id) . '>';
133
+ if ($pro) {
134
+ $out_filed .= '<input class="open-pro-dialog" data-pro-feature="' . $id . '" type="checkbox" id="' . esc_attr($id) . '" name="" value="1" />';
135
+ } else {
136
+ $out_filed .= '<input type="checkbox" id="' . esc_attr($id) . '" name="lib_options[' . $name . ']" value="1" ' . checked(true, $value, false) . '/>';
137
+ }
138
  $out_filed .= $label;
139
+ if ($pro) {
140
+ $out_filed .= ' This is a <a class="open-pro-dialog" data-pro-feature="' . $id . '" href="#">PRO feature</a>.';
141
+ }
142
  $out_filed .= '</label>';
143
  $out_filed .= '</fieldset>';
144
  $out_filed .= '</td>';
146
  mtnc_wp_kses($out_filed);
147
  }
148
 
149
+ function mtnc_generate_button_field($title, $label, $button_label, $id, $name, $value, $pro = false)
150
+ {
151
+ $out_filed = '';
152
+ $out_filed .= '<tr valign="top">';
153
+ if ($pro) {
154
+ $out_filed .= '<th scope="row"><label for="' . esc_attr($id) . '">' . esc_attr($title) . ' <sup>PRO</sup></label></th>';
155
+ } else {
156
+ $out_filed .= '<th scope="row"><label for="' . esc_attr($id) . '">' . esc_attr($title) . '</label></th>';
157
+ }
158
+ $out_filed .= '<td>';
159
+ $out_filed .= '<fieldset>';
160
+ if ($pro) {
161
+ $out_filed .= '<button class="open-pro-dialog" data-pro-feature="' . $id . '" id="' . esc_attr($id) . '" name="">' . $button_label . '</button> &nbsp; ';
162
+ } else {
163
+ $out_filed .= '<input type="checkbox" id="' . esc_attr($id) . '" name="lib_options[' . $name . ']" value="1" ' . checked(true, $value, false) . '/>';
164
+ }
165
+ $out_filed .= $label;
166
+ if ($pro) {
167
+ $out_filed .= ' This is a <a class="open-pro-dialog" data-pro-feature="' . $id . '" href="#">PRO feature</a>.';
168
+ }
169
+ $out_filed .= '</fieldset>';
170
+ $out_filed .= '</td>';
171
+ $out_filed .= '</tr>';
172
+ mtnc_wp_kses($out_filed);
173
+ }
174
+
175
  function mtnc_generate_image_filed($title, $id, $name, $value, $class, $name_btn, $class_btn)
176
  {
177
  $out_filed = '';
325
  if (!$mt_option['default_settings'] || $mt_option['gg_analytics_id']) {
326
  //add_meta_box('review-top', __('Please help us keep the plugin free &amp; maintained', 'maintenance'), 'mtnc_add_review_top', $mtnc_variable->options_page, 'normal', 'high');
327
  }
328
+ add_meta_box('mtnc-toc', __('Jump to Settings Sections', 'maintenance'), 'mtnc_add_toc', $mtnc_variable->options_page, 'normal', 'high');
329
+ add_meta_box('mtnc-general', __('Content', 'maintenance'), 'mtnc_add_data_fields', $mtnc_variable->options_page, 'normal', 'high');
330
+ add_meta_box('mtnc-themes', __('Themes', 'maintenance'), 'mtnc_add_themes_fields', $mtnc_variable->options_page, 'normal', 'high');
331
+ add_meta_box('mtnc-design', __('Design', 'maintenance'), 'mtnc_add_design_fields', $mtnc_variable->options_page, 'normal', 'high');
332
+ add_meta_box('mtnc-access', __('Access Settings', 'maintenance'), 'mtnc_add_access_fields', $mtnc_variable->options_page, 'normal', 'high');
333
+ add_meta_box('mtnc-css', __('Advanced Settings', 'maintenance'), 'mtnc_add_css_fields', $mtnc_variable->options_page, 'normal', 'default');
334
  add_meta_box('mtnc-excludepages', __('Exclude pages from maintenance mode', 'maintenance'), 'mtnc_add_exclude_pages_fields', $mtnc_variable->options_page, 'normal', 'default');
335
  }
336
  add_action('add_mt_meta_boxes', 'mtnc_page_create_meta_boxes', 10);
354
  {
355
  global $mtnc_variable;
356
 
357
+ add_meta_box('promo-mtnc', __('Work faster - get the PRO version', 'maintenance'), 'mtnc_promo_mtnc', $mtnc_variable->options_page, 'side', 'high');
358
+
359
  if (!defined('WPFSSL_OPTIONS_KEY')) {
360
+ add_meta_box('promo-wpfssl', __('Solve all SSL problems with the free WP Force SSL plugin', 'maintenance'), 'mtnc_promo_wpfssl', $mtnc_variable->options_page, 'side', 'high');
361
  }
362
 
363
  add_meta_box('promo-review2', __('Help us keep the plugin free &amp; maintained', 'maintenance'), 'mtnc_review_box', $mtnc_variable->options_page, 'side', 'high');
366
  }
367
  add_action('add_mt_meta_boxes', 'mtnc_page_create_meta_boxes_widget_support', 13);
368
 
369
+ function mtnc_add_toc($object, $box) {
370
+ $out = '';
371
+
372
+ $out .= '<ul>';
373
+ $out .= '<li><a href="#mtnc-general">Content</a></li>';
374
+ $out .= '<li><a href="#mtnc-themes">Themes</a></li>';
375
+ $out .= '<li><a href="#mtnc-design">Design</a></li>';
376
+ $out .= '<li><a href="#mtnc-access">Access Settings</a></li>';
377
+ $out .= '<li><a href="#mtnc-css">Advanced Settings</a></li>';
378
+ $out .= '<li><a href="#mtnc-excludepages">Exlcuded Pages</a></li>';
379
+ $out .= '</ul>';
380
+
381
+ mtnc_wp_kses($out);
382
+ }
383
+
384
  function mtnc_add_data_fields($object, $box)
385
  {
386
  $mt_option = mtnc_get_plugin_options(true);
387
  $is_blur = false;
388
 
 
389
  $page_title = $heading = $description = $logo_width = $logo_height = '';
390
 
391
  $allowed_tags = wp_kses_allowed_html('post');
412
  <tbody>
413
  <?php
414
  mtnc_generate_input_filed(__('Page Title', 'maintenance'), 'page_title', 'page_title', $page_title);
415
+ mtnc_generate_button_field(__('SEO Options', 'maintenance'), 'Make sure your page can be indexed and found from day one!', 'Configure SEO Options', 'content_seo', '', false, true);
416
  mtnc_generate_input_filed(__('Headline', 'maintenance'), 'heading', 'heading', $heading);
417
  mtnc_generate_tinymce_filed(__('Description', 'maintenance'), 'description', 'description', $description);
418
  mtnc_generate_input_filed(__('Footer Text', 'maintenance'), 'footer_text', 'footer_text', $footer_text);
419
+ mtnc_generate_check_field(__('Show Some Love', 'maintenance'), __('Show a small link in the footer to let others know you\'re using this awesome &amp; free plugin', 'maintenance'), 'show_some_love', 'show_some_love', !empty($mt_option['show_some_love']));
420
+ mtnc_generate_check_field(__('Show Contact Form', 'maintenance'), 'Enable &amp; customize a contact form on the page so that visitors can easily get in touch with you.', 'content_contact_form', '', false, true);
421
+ mtnc_generate_check_field(__('Show Map', 'maintenance'), 'Make it super-easy for visitors to find your business by displaying a map with your location.', 'content_map', '', false, true);
422
+ mtnc_generate_check_field(__('Show Progress Bar', 'maintenance'), 'Let visitors know how your new site is progressing and when is it going to be complete.', 'content_progress_bar', '', false, true);
423
+ mtnc_generate_check_field(__('Enable Frontend Login', 'maintenance'), '', 'is_login', 'is_login', isset($mt_option['is_login']));
424
+
425
+ mtnc_wp_kses('<tr><td colspan="2"><p><input type="submit" name="submit" id="submit" class="button button-primary" value="Save Changes"></p></td></tr>');
426
+ ?>
427
+ </tbody>
428
+ </table>
429
+ <?php
430
+ }
431
+
432
+ function mtnc_add_access_fields($object, $box)
433
+ {
434
+ ?>
435
+ <table class="form-table">
436
+ <tbody>
437
+ <?php
438
+ mtnc_generate_check_field(__('Enable Secret Access Link', 'maintenance'), 'Give clients and friends a secret access link so they can see the full site.', 'access_secret_link', '', false, true);
439
+ mtnc_generate_check_field(__('Password Protect the Page', 'maintenance'), 'Protect the maintenanace page with a password so that only selected people can open it. Perfect for launches.', 'access_password', '', false, true);
440
+ mtnc_generate_check_field(__('Enable URL Based Rules', 'maintenance'), 'Individually pick pages, posts and URLs that will be or not be hidden behind the maintenance page.', 'access_url_rules', '', false, true);
441
+
442
+ mtnc_wp_kses('<tr><td colspan="2"><p><input type="submit" name="submit" id="submit" class="button button-primary" value="Save Changes"></p></td></tr>');
443
+ ?>
444
+ </tbody>
445
+ </table>
446
+ <?php
447
+ }
448
+
449
+ function mtnc_add_design_fields($object, $box)
450
+ {
451
+ $mt_option = mtnc_get_plugin_options(true);
452
+ $is_blur = false;
453
+
454
+ $page_title = $heading = $description = $logo_width = $logo_height = '';
455
+
456
+ $allowed_tags = wp_kses_allowed_html('post');
457
+ if (isset($mt_option['page_title'])) {
458
+ $page_title = wp_kses(stripslashes($mt_option['page_title']), $allowed_tags);
459
+ }
460
+ if (isset($mt_option['heading'])) {
461
+ $heading = wp_kses_post($mt_option['heading']);
462
+ }
463
+ if (isset($mt_option['description'])) {
464
+ $description = wp_kses(stripslashes($mt_option['description']), $allowed_tags);
465
+ }
466
+ if (isset($mt_option['footer_text'])) {
467
+ $footer_text = wp_kses_post($mt_option['footer_text']);
468
+ }
469
+ if (isset($mt_option['logo_width'])) {
470
+ $logo_width = wp_kses_post($mt_option['logo_width']);
471
+ }
472
+ if (isset($mt_option['logo_height'])) {
473
+ $logo_height = wp_kses_post($mt_option['logo_height']);
474
+ }
475
+ ?>
476
+ <table class="form-table">
477
+ <tbody>
478
+ <?php
479
  mtnc_smush_option();
480
+ mtnc_generate_number_field(__('Set Logo Width', 'maintenance'), 'logo_width', 'logo_width', $logo_width);
481
+ mtnc_generate_number_field(__('Set Logo Height', 'maintenance'), 'logo_height', 'logo_height', $logo_height);
 
482
  mtnc_generate_image_filed(__('Logo', 'maintenance'), 'logo', 'logo', (int) $mt_option['logo'], 'boxes box-logo', __('Upload Logo', 'maintenance'), 'upload_logo upload_btn button');
483
  mtnc_generate_image_filed(__('Retina Logo (optional)', 'maintenance'), 'retina_logo', 'retina_logo', (int) $mt_option['retina_logo'], 'boxes box-logo', __('Upload Retina Logo', 'maintenance'), 'upload_logo upload_btn button');
484
  do_action('mtnc_background_field');
485
+ mtnc_generate_input_filed(__('Background Video', 'maintenance'), 'design_bg_video', 'design_bg_video', '', '', 'Use a YouTube video for the bage background. It\' be muted and looped.', true);
486
  mtnc_generate_image_filed(__('Background Image (portrait mode)', 'maintenance'), 'bg_image_portrait', 'bg_image_portrait', isset($mt_option['bg_image_portrait']) ? (int) $mt_option['bg_image_portrait'] : '', 'boxes box-logo', __('Upload image for portrait device orientation', 'maintenance'), 'upload_logo upload_btn button');
487
  mtnc_generate_image_filed(__('Page Preloader Image', 'maintenance'), 'preloader_img', 'preloader_img', isset($mt_option['preloader_img']) ? (int) $mt_option['preloader_img'] : '', 'boxes box-logo', __('Upload preloader', 'maintenance'), 'upload_logo upload_btn button');
488
 
489
  do_action('mtnc_color_fields');
490
  do_action('mtnc_font_fields');
 
 
 
 
 
 
 
 
491
 
492
  if (isset($mt_option['is_blur'])) {
493
  if ($mt_option['is_blur']) {
495
  }
496
  }
497
 
498
+ mtnc_generate_check_field(__('Apply Background Blur', 'maintenance'), 'Add blur effect to the background image', 'is_blur', 'is_blur', $is_blur);
499
+ mtnc_generate_number_field(__('Set Blur Intensity', 'maintenance'), 'blur_intensity', 'blur_intensity', (int) $mt_option['blur_intensity']);
 
 
500
 
501
  mtnc_wp_kses('<tr><td colspan="2"><p><input type="submit" name="submit" id="submit" class="button button-primary" value="Save Changes"></p></td></tr>');
502
  ?>
553
  function mtnc_add_css_fields()
554
  {
555
  $mt_option = mtnc_get_plugin_options(true);
556
+ $gg_analytics_id = '';
557
+ if (!empty($mt_option['gg_analytics_id'])) {
558
+ $gg_analytics_id = esc_js($mt_option['gg_analytics_id']);
559
+ }
560
+
561
  echo '<table class="form-table">';
562
  echo '<tbody>';
563
+ mtnc_generate_input_filed(__('Google Analytics ID', 'maintenance'), 'gg_analytics_id', 'gg_analytics_id', $gg_analytics_id, __('UA-XXXXX-X', 'maintenance'));
564
+ mtnc_generate_input_filed(__('Custom Tracking Pixel/Code', 'maintenance'), 'advanced_pixel', 'advanced_pixel', '', '', 'Place 3rd party tracking pixels and other tracking code here.', true);
565
+ mtnc_generate_check_field(__('503 Response Code', 'maintenance'), __('Service temporarily unavailable, Google analytics will be disabled.', 'maintenance'), '503_enabled', '503_enabled', !empty($mt_option['503_enabled']));
566
+ mtnc_generate_check_field(__('Send no-cache Headers', 'maintenance'), __('If you don\'t want Google, Facebook, Twitter and similar services to cache the preview of your site under maintenance use this option.', 'maintenance'), 'advanced_nocache', 'advanced_nocache', false, true);
567
+ mtnc_generate_check_field(__('Enable WP REST API', 'maintenance'), __('By default WP REST API is blocked along with all other pages/URLs. If you need it while the site is under maintenance use this option.', 'maintenance'), 'advanced_restapi', 'advanced_restapi', false, true);
568
+
569
  mtnc_generate_textarea_filed(__('CSS Code', 'maintenance'), 'custom_css', 'custom_css', wp_kses_stripslashes($mt_option['custom_css']));
570
  echo '<tr><td>&nbsp;</td><td>Enter only the CSS code, without the <i>&lt;style&gt; tags.</i></td></tr>';
571
  echo '<tr><td colspan="2"><p><input type="submit" name="submit" id="submit" class="button button-primary" value="Save Changes"></p></td></tr>';
575
 
576
  function mtnc_add_themes_fields()
577
  {
578
+
579
+ $themes = array (
580
  0 =>
581
  array (
582
+ 'id' => '5f2f8c65307b6f3097f2ca4d25d5cb26',
583
+ 'name' => 'Adventure Blog',
584
+ 'name_clean' => 'adventure-blog',
 
 
 
585
  'status' => 'pro',
 
586
  ),
587
  1 =>
588
  array (
589
+ 'id' => '0a0c5efe1e95f91a42bc9e6e6ca884dd',
590
+ 'name' => 'Business',
591
+ 'name_clean' => 'business',
592
+ 'status' => 'pro',
 
 
 
 
593
  ),
594
  2 =>
595
  array (
596
+ 'id' => '06142f926b2da71d8dddfba3254a78cb',
597
+ 'name' => 'Digital Marketing Agency',
598
+ 'name_clean' => 'digital-marketing-agency',
 
 
 
599
  'status' => 'pro',
 
600
  ),
601
  3 =>
602
  array (
603
+ 'id' => '1f62286e16a799a6cf57a5013518a915',
604
+ 'name' => 'E-Shop',
605
+ 'name_clean' => 'e-shop',
 
 
 
606
  'status' => 'pro',
 
607
  ),
608
  4 =>
609
  array (
610
+ 'id' => 'd41b1b0a6d4cb304e886121b3118cfa0',
611
+ 'name' => 'Fashion',
612
+ 'name_clean' => 'fashion',
613
+ 'status' => 'pro',
 
 
 
 
614
  ),
615
  5 =>
616
  array (
617
+ 'id' => '7f96d3918bd5840258a6dce654f4b0dc',
618
+ 'name' => 'Flower Shop',
619
+ 'name_clean' => 'flower-shop',
 
 
 
620
  'status' => 'pro',
 
621
  ),
622
  6 =>
623
  array (
624
+ 'id' => '1c498ed60de01a93c2a4cac0ab50ddc2',
625
+ 'name' => 'Gaming',
626
+ 'name_clean' => 'gaming',
627
+ 'status' => 'pro',
 
 
 
 
628
  ),
629
  7 =>
630
  array (
631
+ 'id' => 'bb9f78a54648fe776fe7cdce018d4649',
632
+ 'name' => 'Interior Design',
633
+ 'name_clean' => 'interior-design',
 
 
 
634
  'status' => 'pro',
 
635
  ),
636
  8 =>
637
  array (
638
+ 'id' => 'bce5308440264fa4a8ce9cf1b38f3242',
639
+ 'name' => 'Mobile App',
640
+ 'name_clean' => 'mobile-app',
641
+ 'status' => 'pro',
 
 
 
 
642
  ),
643
  9 =>
644
  array (
645
+ 'id' => 'b20f2da4e5cd0753638723ff12383378',
646
+ 'name' => 'Non-Profit Organization',
647
+ 'name_clean' => 'non-profit-organization',
648
+ 'status' => 'pro',
 
 
 
 
649
  ),
650
  10 =>
651
  array (
652
+ 'id' => '2c6c47a437172cf970e9027ab7c4f680',
653
+ 'name' => 'Photography',
654
+ 'name_clean' => 'photography',
 
 
 
655
  'status' => 'pro',
 
656
  ),
657
  11 =>
658
  array (
659
+ 'id' => 'ea2584e286d8e0304994f4d9d9e4d335',
660
+ 'name' => 'Podcast',
661
+ 'name_clean' => 'podcast',
662
+ 'status' => 'pro',
 
 
 
 
663
  ),
664
  12 =>
665
  array (
666
+ 'id' => 'f7432f296c75f398c018ebbd0118cf1f',
667
+ 'name' => 'Product Marketing',
668
+ 'name_clean' => 'product-marketing',
 
 
 
669
  'status' => 'pro',
 
670
  ),
671
  13 =>
672
  array (
673
+ 'id' => '274bd92fd91aadc05fe0637f614633d8',
674
+ 'name' => 'Restaurant',
675
+ 'name_clean' => 'restaurant',
676
+ 'status' => 'pro',
 
 
 
 
677
  ),
678
  14 =>
679
  array (
680
+ 'id' => '1ff8ca16c5010eec8797eb5416373c6d',
681
+ 'name' => 'Skincare',
682
+ 'name_clean' => 'skincare',
 
 
 
683
  'status' => 'pro',
 
684
  ),
685
  15 =>
686
  array (
687
+ 'id' => 'a2df8994e86f844e9fe7516fb272b6f3',
688
+ 'name' => 'Social Media',
689
+ 'name_clean' => 'social-media',
690
+ 'status' => 'pro',
 
 
 
 
691
  ),
692
  16 =>
693
  array (
694
+ 'id' => 'eb668b7221bb4ed50c8edc8aebb68ba4',
695
+ 'name' => 'Sport',
696
+ 'name_clean' => 'sport',
697
+ 'status' => 'pro',
 
 
 
 
698
  ),
699
  17 =>
700
  array (
701
+ 'id' => '906d50132e2caf64ad57d9c76b07f78c',
702
+ 'name' => 'Travel Vlog',
703
+ 'name_clean' => 'travel-vlog',
 
 
 
704
  'status' => 'pro',
 
705
  ),
706
  18 =>
707
  array (
708
+ 'id' => 'd1dd1f82d0d557460f22ac7058c291e0',
709
+ 'name' => 'Wedding',
710
+ 'name_clean' => 'wedding',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
711
  'status' => 'pro',
 
 
 
 
 
 
 
 
 
 
 
 
712
  ),
713
+ 19 =>
714
  array (
715
+ 'id' => '35b404155b3be97d198dadf05ddfc960',
716
+ 'name' => 'Wellness',
717
+ 'name_clean' => 'wellness',
 
 
 
718
  'status' => 'pro',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
719
  ),
720
  );
721
 
725
  }
726
  return strtotime($item1['last_edit']) < strtotime($item2['last_edit']) ? 1 : -1;
727
  }
728
+ //usort($themes,'mntc_themes_sort');
729
 
730
+ echo '<p>Are you in a hurry? Looking for something that looks great for your site? Pick one of <b>+20 premium pre-built themes</b> and be done in 5 minutes! Our PRO plugin comes with built-in SEO analyzer, a collection of over 3.7 million images and it can connect to any mailing system like Mailchimp so you can start collecting emails from day one! Did we mention you can <b>rebrand the plugin</b> and control all client sites from the plugin\'s centralized Dashboard?</p>';
731
 
732
  $i = 1;
733
  foreach ($themes as $theme) {
734
+ echo '<div class="theme-thumb" data-theme="' . esc_html($theme['name_clean']) . '">';
 
 
 
 
735
  $i++;
736
  if ($theme['status'] != 'free') {
737
+ echo '<a href="' . esc_url('https://themes.wpmaintenancemode.com/?maintenance-preview=' . $theme['id']) . '" target="_blank"><img src="' . esc_url(MTNC_URI) . 'images/pro-templates/' . esc_html($theme['name_clean']) . '.jpg" alt="Preview ' . esc_html($theme['name']) . '" title="Preview ' . esc_html($theme['name']) . '"></a>';
738
  }
739
+ echo '<span class="name">' . esc_html($theme['name']) . '</span>';
740
  echo '<span name="actions">';
741
  if ($theme['status'] != 'free') {
742
+ echo '<a href="#" data-pro-feature="theme-' . esc_attr($theme['name_clean']) . '" class="open-pro-dialog button button-primary">BUY lifetime license</a>&nbsp; &nbsp;';
743
+ echo '<a target="_blank" class="button button-secondary" href="' . esc_url('https://themes.wpmaintenancemode.com/?maintenance-preview=' . $theme['id']) . '">Preview</a>';
744
  }
745
  echo '</span>';
746
  if ($theme['status'] != 'free') {
747
+ echo '<div class="ribbon" title="PRO theme. Click \'Get this theme\' for more info."><i><span class="dashicons dashicons-star-filled"></span></i></div>';
748
  }
749
  echo '</div>';
750
  } // foreach theme
 
 
751
  }
752
 
753
+ function mtnc_generate_web_link($placement = '', $page = '/', $params = array(), $anchor = '') {
754
+ $base_url = 'https://wpmaintenancemode.com';
755
 
756
  if ('/' != $page) {
757
  $page = '/' . trim($page, '/') . '/';
902
  function mtnc_promo_wpfssl()
903
  {
904
  $promo_text = '';
905
+ //$promo_text .= '<h3 class="textcenter"><b>Problems with SSL certificate?<br>Moving a site from HTTP to HTTPS?<br>Mixed content giving you troubles?</b></h3>';
906
  $promo_text .= '<p class="textcenter"><a href="#" class="textcenter install-wpfssl"><img style="max-width: 90%;" src="' . MTNC_URI . 'images/wp-force-ssl-logo.png" alt="WP Force SSL" title="WP Force SSL"></a></p>';
907
 
908
  $promo_text .= '<p class="textcenter"><br><a href="#" class="install-wpfssl button button-primary">Install &amp; activate the free WP Force SSL plugin</a></p>';
909
 
910
+ $promo_text .= '<p><a href="https://wordpress.org/plugins/wp-force-ssl/" target="_blank">WP Force SSL</a> is a free WP plugin maintained by the same team as this Maintenance plugin. It has <b>+180,000 users, 5-star rating</b>, and is hosted on the official WP repository.</p>';
911
  mtnc_wp_kses($promo_text);
912
  } // mtnc_promo_wpfssl
913
 
914
+ function mtnc_promo_mtnc()
915
+ {
916
+ $promo_text = '';
917
+ //$promo_text .= '<h3 class="textcenter"><b>Problems with SSL certificate?<br>Moving a site from HTTP to HTTPS?<br>Mixed content giving you troubles?</b></h3>';
918
+ $promo_text .= '<p class="textcenter"><a data-pro-feature="sidebar-mascot" href="#" class="textcenter open-pro-dialog"><img style="max-width: 70%; max-height: 300px;" src="' . MTNC_URI . 'images/maintenance-mascot.png" alt="WP Maintenance PRO" title="WP Maintenance PRO"></a></p>';
919
+
920
+ $promo_text .= '<p class="textcenter"><br><a href="#" data-pro-feature="sidebar-button" class="open-pro-dialog button button-primary">Get PRO now</a></p>';
921
+
922
+ $promo_text .= '<p class="textcenter">PRO version is here! Grab the launch discount - <b>all prices are LIFETIME!</b></p>';
923
+ mtnc_wp_kses($promo_text);
924
+ } // mtnc_promo_mtnc
925
+
926
  function mtnc_cur_page_url()
927
  {
928
  $page_url = 'http';
index.php ADDED
@@ -0,0 +1,2 @@
 
 
1
+ <?php
2
+ // silence is golden
js/init.js CHANGED
@@ -288,6 +288,67 @@ jQuery(window).ready(function($) {
288
  checkIfHasToShowDialog();
289
  }
290
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
291
  });
292
 
293
  function maintenance_fix_dialog_close(event, ui) {
288
  checkIfHasToShowDialog();
289
  }
290
 
291
+ $('#wpwrap').on('click', '.open-pro-dialog', function (e) {
292
+ e.preventDefault();
293
+ $(this).blur();
294
+
295
+ pro_feature = $(this).data('pro-feature');
296
+ if (!pro_feature) {
297
+ pro_feature = $(this).parent('label').attr('for');
298
+ }
299
+ open_upsell(pro_feature);
300
+
301
+ return false;
302
+ });
303
+
304
+ $('#mtnc-pro-dialog').dialog({
305
+ dialogClass: 'wp-dialog mtnc-pro-dialog',
306
+ modal: true,
307
+ resizable: false,
308
+ width: 850,
309
+ height: 'auto',
310
+ show: 'fade',
311
+ hide: 'fade',
312
+ close: function (event, ui) {},
313
+ open: function (event, ui) {
314
+ $(this).siblings().find('span.ui-dialog-title').html('Maintenance PRO is here!');
315
+ maintenance_fix_dialog_close(event, ui);
316
+ },
317
+ autoOpen: false,
318
+ closeOnEscape: true,
319
+ });
320
+
321
+ function open_upsell(feature) {
322
+ feature = clean_feature(feature);
323
+
324
+ $('#mtnc-pro-dialog').dialog('open');
325
+
326
+ $('#mtnc-pro-table .button-buy').each(function (ind, el) {
327
+ tmp = $(el).data('href-org');
328
+ tmp = tmp.replace('pricing-table', feature);
329
+ $(el).attr('href', tmp);
330
+ });
331
+ } // open_upsell
332
+
333
+ function clean_feature(feature) {
334
+ feature = feature || 'free-plugin-unknown';
335
+ feature = feature.toLowerCase();
336
+ feature = feature.replace(' ', '-');
337
+
338
+ return feature;
339
+ }
340
+
341
+ if (window.localStorage.getItem('mtnc_upsell_shown') != 'true') {
342
+ open_upsell('welcome');
343
+
344
+ window.localStorage.setItem('mtnc_upsell_shown', 'true');
345
+ window.localStorage.setItem('mtnc_upsell_shown_timestamp', new Date().getTime());
346
+ }
347
+
348
+ if (window.location.hash == '#open-pro-dialog') {
349
+ open_upsell('url-hash');
350
+ window.location.hash = '';
351
+ }
352
  });
353
 
354
  function maintenance_fix_dialog_close(event, ui) {
js/pointers.js ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Maintenance
3
+ * https://wpmaintenancemode.com/
4
+ * (c) WebFactory Ltd, 2022
5
+ */
6
+
7
+ jQuery(document).ready(function($){
8
+ if (typeof mtnc_pointers == 'undefined') {
9
+ return;
10
+ }
11
+
12
+ $.each(mtnc_pointers, function(index, pointer) {
13
+ if (index.charAt(0) == '_') {
14
+ return true;
15
+ }
16
+ $(pointer.target).pointer({
17
+ content: '<h3>Maintenance</h3><p>' + pointer.content + '</p>',
18
+ pointerWidth: 380,
19
+ position: {
20
+ edge: pointer.edge,
21
+ align: pointer.align
22
+ },
23
+ close: function() {
24
+ $.get(ajaxurl, {
25
+ notice_name: index,
26
+ _ajax_nonce: mtnc_pointers._nonce_dismiss_pointer,
27
+ action: 'mtnc_dismiss_notice'
28
+ });
29
+ }
30
+ }).pointer('open');
31
+ });
32
+ });
load/functions.php CHANGED
@@ -333,7 +333,7 @@ function mtnc_get_footer_section()
333
  $out_ftext .= wp_kses_post(stripslashes($mt_options['footer_text']));
334
  }
335
  if (!empty($mt_options['show_some_love'])) {
336
- $out_ftext .= '<br><small>This site is using the free <a title="Free WP Maintenance Plugin" target="_blank" href="https://wordpress.org/plugins/maintenance/">WP Maintenance plugin</a>.</small>';
337
  }
338
 
339
  if ($out_ftext) {
333
  $out_ftext .= wp_kses_post(stripslashes($mt_options['footer_text']));
334
  }
335
  if (!empty($mt_options['show_some_love'])) {
336
+ $out_ftext .= '<br><small>This site is using the free <a title="Free WP Maintenance Plugin" target="_blank" href="https://wordpress.org/plugins/maintenance/">WP Maintenance plugin</a>. Download and use it for free.</small>';
337
  }
338
 
339
  if ($out_ftext) {
maintenance.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Maintenance
4
  Plugin URI: https://wpmaintenancemode.com/
5
  Description: Put your site in maintenance mode, away from the public view. Use maintenance plugin if your website is in development or you need to change a few things, run an upgrade. Make it only accessible to logged in users.
6
- Version: 4.05
7
  Author: WebFactory Ltd
8
  Author URI: https://www.webfactoryltd.com/
9
  License: GPL2
@@ -47,6 +47,7 @@ class MTNC
47
  add_action('wp_logout', array(&$this, 'mtnc_user_logout'));
48
  add_action('init', array(&$this, 'mtnc_admin_bar'));
49
  add_action('init', array(&$this, 'mtnc_set_global_options'), 1);
 
50
 
51
  add_action('admin_action_mtnc_install_wpfssl', array(&$this, 'install_wpfssl'));
52
 
@@ -56,19 +57,124 @@ class MTNC
56
  );
57
  }
58
 
 
 
 
 
 
 
 
 
 
 
 
59
  // add settings link to plugins page
60
  function plugin_action_links($links)
61
  {
62
  $settings_link = '<a href="' . admin_url('admin.php?page=maintenance') . '" title="' . __('Maintenance Settings', 'maintenance') . '">' . __('Settings', 'maintenance') . '</a>';
 
63
 
 
64
  array_unshift($links, $settings_link);
65
 
66
  return $links;
67
  } // plugin_action_links
68
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69
  public function mtnc_constants()
70
  {
71
- define('MTNC_VERSION', '4.0');
72
  define('MTNC_DB_VERSION', 2);
73
  define('MTNC_WP_VERSION', get_bloginfo('version'));
74
  define('MTNC_DIR', trailingslashit(plugin_dir_path(__FILE__)));
@@ -260,4 +366,5 @@ class MTNC
260
 
261
  } // class MTNC
262
 
 
263
  $mtnc = new MTNC();
3
  Plugin Name: Maintenance
4
  Plugin URI: https://wpmaintenancemode.com/
5
  Description: Put your site in maintenance mode, away from the public view. Use maintenance plugin if your website is in development or you need to change a few things, run an upgrade. Make it only accessible to logged in users.
6
+ Version: 4.06
7
  Author: WebFactory Ltd
8
  Author URI: https://www.webfactoryltd.com/
9
  License: GPL2
47
  add_action('wp_logout', array(&$this, 'mtnc_user_logout'));
48
  add_action('init', array(&$this, 'mtnc_admin_bar'));
49
  add_action('init', array(&$this, 'mtnc_set_global_options'), 1);
50
+ add_filter('admin_footer_text', array(&$this, 'admin_footer_text'), 10, 1);
51
 
52
  add_action('admin_action_mtnc_install_wpfssl', array(&$this, 'install_wpfssl'));
53
 
57
  );
58
  }
59
 
60
+ function admin_footer_text($text_org)
61
+ {
62
+ if (false === mtnc_is_plugin_page()) {
63
+ return $text_org;
64
+ }
65
+
66
+ $text = '<i><a target="_blank" href="https://wpmaintenancemode.com/?ref=mtnc-free">WP Maintenance</a> v' . MTNC_VERSION . ' by <a href="https://www.webfactoryltd.com/" title="' . __('Visit our site to get more great plugins', 'maintenance') . '" target="_blank">WebFactory Ltd</a>.';
67
+ $text .= ' Please <a target="_blank" href="https://wordpress.org/support/plugin/maintenance/reviews/#new-post" title="' . __('Rate the plugin', 'maintenance') . '">' . __('Rate the plugin ★★★★★', 'maintenance') . '</a>.</i> ';
68
+ return $text;
69
+ } // admin_footer_text
70
+
71
  // add settings link to plugins page
72
  function plugin_action_links($links)
73
  {
74
  $settings_link = '<a href="' . admin_url('admin.php?page=maintenance') . '" title="' . __('Maintenance Settings', 'maintenance') . '">' . __('Settings', 'maintenance') . '</a>';
75
+ $pro_link = '<a href="' . admin_url('admin.php?page=maintenance#open-pro-dialog') . '" title="' . __('Get PRO', 'maintenance') . '"><b>' . __('Get PRO', 'maintenance') . '</b></a>';
76
 
77
+ array_unshift($links, $pro_link);
78
  array_unshift($links, $settings_link);
79
 
80
  return $links;
81
  } // plugin_action_links
82
 
83
+ function pro_dialog()
84
+ {
85
+ $out = '';
86
+
87
+ $out .= '<div id="mtnc-pro-dialog" style="display: none;" title="WP Maintenance PRO is here!"><span class="ui-helper-hidden-accessible"><input type="text"/></span>';
88
+
89
+ $out .= '<div class="center logo"><a href="https://wpmaintenancemode.com/?ref=mtnc-free-pricing-table" target="_blank"><img src="' . MTNC_URI . 'images/wp-maintenance-logo.png' . '" alt="WP Maintenance PRO" title="WP Maintenance PRO"></a><br>';
90
+
91
+ $out .= '<span>Limited PRO Launch Discount - <b>all prices are LIFETIME</b>! Pay once &amp; use forever!</span>';
92
+ $out .= '</div>';
93
+
94
+ $out .= '<table id="mtnc-pro-table">';
95
+ $out .= '<tr>';
96
+ $out .= '<td class="center">Lifetime Personal License</td>';
97
+ $out .= '<td class="center">Lifetime Team License</td>';
98
+ $out .= '<td class="center">Lifetime Agency License</td>';
99
+ $out .= '</tr>';
100
+
101
+ $out .= '<tr class="prices">';
102
+ $out .= '<td class="center"><del>$49 /year</del><br><span>$59</span> <b>/lifetime</b></td>';
103
+ $out .= '<td class="center"><del>$89 /year</del><br><span>$69</span> <b>/lifetime</b></td>';
104
+ $out .= '<td class="center"><del>$199 /year</del><br><span>$119</span> <b>/lifetime</b></td>';
105
+ $out .= '</tr>';
106
+
107
+ $out .= '<tr>';
108
+ $out .= '<td><span class="dashicons dashicons-yes"></span><b>1 Site License</b></td>';
109
+ $out .= '<td><span class="dashicons dashicons-yes"></span><b>5 Sites License</b></td>';
110
+ $out .= '<td><span class="dashicons dashicons-yes"></span><b>100 Sites License</b></td>';
111
+ $out .= '</tr>';
112
+
113
+ $out .= '<tr>';
114
+ $out .= '<td><span class="dashicons dashicons-yes"></span>All Plugin Features</td>';
115
+ $out .= '<td><span class="dashicons dashicons-yes"></span>All Plugin Features</td>';
116
+ $out .= '<td><span class="dashicons dashicons-yes"></span>All Plugin Features</td>';
117
+ $out .= '</tr>';
118
+
119
+ $out .= '<tr>';
120
+ $out .= '<td><span class="dashicons dashicons-yes"></span>Lifetime Updates &amp; Support</td>';
121
+ $out .= '<td><span class="dashicons dashicons-yes"></span>Lifetime Updates &amp; Support</td>';
122
+ $out .= '<td><span class="dashicons dashicons-yes"></span>Lifetime Updates &amp; Support</td>';
123
+ $out .= '</tr>';
124
+
125
+ $out .= '<tr>';
126
+ $out .= '<td><span class="dashicons dashicons-yes"></span>+20 Themes</td>';
127
+ $out .= '<td><span class="dashicons dashicons-yes"></span>+20 Themes</td>';
128
+ $out .= '<td><span class="dashicons dashicons-yes"></span>+20 Themes</td>';
129
+ $out .= '</tr>';
130
+
131
+ $out .= '<tr>';
132
+ $out .= '<td><span class="dashicons dashicons-yes"></span>+3.7 Million HD Images</td>';
133
+ $out .= '<td><span class="dashicons dashicons-yes"></span>+3.7 Million HD Images</td>';
134
+ $out .= '<td><span class="dashicons dashicons-yes"></span>+3.7 Million HD Images</td>';
135
+ $out .= '</tr>';
136
+
137
+ $out .= '<tr>';
138
+ $out .= '<td><span class="dashicons dashicons-yes"></span>5 new themes each month guaranteed</td>';
139
+ $out .= '<td><span class="dashicons dashicons-yes"></span>5 new themes each month guaranteed</td>';
140
+ $out .= '<td><span class="dashicons dashicons-yes"></span>5 new themes each month guaranteed</td>';
141
+ $out .= '</tr>';
142
+
143
+ $out .= '<tr>';
144
+ $out .= '<td><span class="dashicons dashicons-no"></span>Licenses &amp; Sites Manager</td>';
145
+ $out .= '<td><span class="dashicons dashicons-yes"></span>Licenses &amp; Sites Manager</td>';
146
+ $out .= '<td><span class="dashicons dashicons-yes"></span>Licenses &amp; Sites Manager</td>';
147
+ $out .= '</tr>';
148
+
149
+ $out .= '<tr>';
150
+ $out .= '<td><span class="dashicons dashicons-no"></span>White-label Mode</td>';
151
+ $out .= '<td><span class="dashicons dashicons-yes"></span>White-label Mode</td>';
152
+ $out .= '<td><span class="dashicons dashicons-yes"></span>White-label Mode</td>';
153
+ $out .= '</tr>';
154
+
155
+ $out .= '<tr>';
156
+ $out .= '<td><span class="dashicons dashicons-no"></span>Full Plugin Rebranding</td>';
157
+ $out .= '<td><span class="dashicons dashicons-no"></span>Full Plugin Rebranding</td>';
158
+ $out .= '<td><span class="dashicons dashicons-yes"></span>Full Plugin Rebranding</td>';
159
+ $out .= '</tr>';
160
+
161
+ $out .= '<tr>';
162
+ $out .= '<td><a class="button button-buy" data-href-org="https://wpmaintenancemode.com/buy/?product=personal-launch&ref=pricing-table" href="https://wpmaintenancemode.com/buy/?product=personal-launch&ref=pricing-table" target="_blank">Lifetime License<br>$59 -&gt; BUY NOW</a>
163
+ <br>or <a class="button-buy" data-href-org="https://wpmaintenancemode.com/buy/?product=personal-monthly&ref=pricing-table" href="https://wpmaintenancemode.com/buy/?product=personal-monthly&ref=pricing-table" target="_blank">only $7.99 <small>/month</small></a></td>';
164
+ $out .= '<td><a class="button button-buy" data-href-org="https://wpmaintenancemode.com/buy/?product=team-launch&ref=pricing-table" href="https://wpmaintenancemode.com/buy/?product=team-launch&ref=pricing-table" target="_blank">Lifetime License<br>$69 -&gt; BUY NOW</a></td>';
165
+ $out .= '<td><a class="button button-buy" data-href-org="https://wpmaintenancemode.com/buy/?product=agency-launch&ref=pricing-table" href="https://wpmaintenancemode.com/buy/?product=agency-launch&ref=pricing-table" target="_blank">Lifetime License<br>$119 -&gt; BUY NOW</a></td>';
166
+ $out .= '</tr>';
167
+
168
+ $out .= '</table>';
169
+
170
+ $out .= '<div class="center footer"><b>100% No-Risk Money Back Guarantee!</b> If you don\'t like the plugin over the next 7 days, we will happily refund 100% of your money. No questions asked! Payments are processed by our merchant of records - <a href="https://paddle.com/" target="_blank">Paddle</a>.</div></div>';
171
+
172
+ return $out;
173
+ } // pro_dialog
174
+
175
  public function mtnc_constants()
176
  {
177
+ define('MTNC_VERSION', '4.06');
178
  define('MTNC_DB_VERSION', 2);
179
  define('MTNC_WP_VERSION', get_bloginfo('version'));
180
  define('MTNC_DIR', trailingslashit(plugin_dir_path(__FILE__)));
366
 
367
  } // class MTNC
368
 
369
+ global $mtnc;
370
  $mtnc = new MTNC();
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: WebFactory
3
  Tags: maintenance, maintenance mode, maintenance page, coming soon, coming soon page, under construction, under construction page
4
  Requires at least: 4.0
5
- Tested up to: 5.9
6
- Stable tag: 4.05
7
  Requires PHP: 5.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -14,7 +14,7 @@ Great looking maintenance, coming soon & under construction pages. Put your site
14
 
15
  Maintenance plugin allows the WordPress site administrator to close the website for maintenance, enable "503 Service temporarily unavailable”, set a temporary page with authorization, which can be edited via the plugin settings. Easy customize the good look on all devices. Add your logo, background image, select the desired color, add text.
16
 
17
- Need **200+ pre-made themes** to build coming soon & landing pages faster? Have a look at our <a href="https://comingsoonwp.com/">Coming Soon & Maintenance Mode</a> plugin.
18
 
19
  If you're having problems with SSL or HTTPS try our free <a href="https://wordpress.org/plugins/wp-force-ssl/">WP Force SSL</a> plugin. It's a great plugin to enable SSL.
20
 
@@ -87,6 +87,10 @@ Please post the question on the <a href="http://wordpress.org/support/plugin/mai
87
 
88
  == Changelog ==
89
 
 
 
 
 
90
  = v4.05 =
91
  - 2022/01/04
92
  - bug fix for retina image
2
  Contributors: WebFactory
3
  Tags: maintenance, maintenance mode, maintenance page, coming soon, coming soon page, under construction, under construction page
4
  Requires at least: 4.0
5
+ Tested up to: 6.1
6
+ Stable tag: 4.06
7
  Requires PHP: 5.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
14
 
15
  Maintenance plugin allows the WordPress site administrator to close the website for maintenance, enable "503 Service temporarily unavailable”, set a temporary page with authorization, which can be edited via the plugin settings. Easy customize the good look on all devices. Add your logo, background image, select the desired color, add text.
16
 
17
+ Need **pre-made themes** and over 3 million free images to build maintenance, coming soon & landing pages faster? Have a look at <a href="https://wpmaintenancemode.com/">WP Maintenance PRO</a> plugin.
18
 
19
  If you're having problems with SSL or HTTPS try our free <a href="https://wordpress.org/plugins/wp-force-ssl/">WP Force SSL</a> plugin. It's a great plugin to enable SSL.
20
 
87
 
88
  == Changelog ==
89
 
90
+ = v4.06 =
91
+ - 2022/05/06
92
+ - introduction of the PRO version
93
+
94
  = v4.05 =
95
  - 2022/01/04
96
  - bug fix for retina image
wf-flyout/config.php CHANGED
@@ -12,6 +12,7 @@ $config['menu_accent_color'] = '#dd3036';
12
  $config['custom_css'] = '#wf-flyout .wff-menu-item .dashicons.dashicons-universal-access { font-size: 30px; padding: 0px 10px 0px 0; } #wf-flyout .ucp-icon .wff-icon img { max-width: 66%; } #wf-flyout .ucp-icon .wff-icon { line-height: 57px; } #wf-flyout .wpr-icon .wff-icon { line-height: 62px; } #wf-flyout .wp301-icon .wff-icon img { max-width: 66%; } #wf-flyout .wp301-icon .wff-icon { line-height: 57px; } #wf-flyout .wpfssl-icon .wff-icon img { max-width: 66%; } #wf-flyout .wpfssl-icon .wff-icon { line-height: 57px; }';
13
 
14
  $config['menu_items'] = array(
 
15
  array('href' => 'https://wpforcessl.com/?ref=wff-maintenance', 'label' => 'Fix all SSL problems &amp; monitor site in real-time', 'icon' => 'wp-ssl.png', 'class' => 'wpfssl-icon'),
16
  array('href' => 'https://wp301redirects.com/?ref=wff-maintenance&coupon=50off', 'label' => 'Fix 2 most common SEO issues on WordPress that most people ignore', 'icon' => '301-logo.png', 'class' => 'wp301-icon'),
17
  array('href' => 'https://wpreset.com/?ref=wff-maintenance&coupon=50off', 'target' => '_blank', 'label' => 'Get WP Reset PRO with 50% off', 'icon' => 'wp-reset.png', 'class' => 'wpr-icon'),
12
  $config['custom_css'] = '#wf-flyout .wff-menu-item .dashicons.dashicons-universal-access { font-size: 30px; padding: 0px 10px 0px 0; } #wf-flyout .ucp-icon .wff-icon img { max-width: 66%; } #wf-flyout .ucp-icon .wff-icon { line-height: 57px; } #wf-flyout .wpr-icon .wff-icon { line-height: 62px; } #wf-flyout .wp301-icon .wff-icon img { max-width: 66%; } #wf-flyout .wp301-icon .wff-icon { line-height: 57px; } #wf-flyout .wpfssl-icon .wff-icon img { max-width: 66%; } #wf-flyout .wpfssl-icon .wff-icon { line-height: 57px; }';
13
 
14
  $config['menu_items'] = array(
15
+ array('href' => '#', 'data' => 'data-pro-feature="flyout"', 'label' => 'Get Maintenance PRO with a special discount', 'icon' => 'maintenance.png', 'class' => 'maintenance-icon open-pro-dialog'),
16
  array('href' => 'https://wpforcessl.com/?ref=wff-maintenance', 'label' => 'Fix all SSL problems &amp; monitor site in real-time', 'icon' => 'wp-ssl.png', 'class' => 'wpfssl-icon'),
17
  array('href' => 'https://wp301redirects.com/?ref=wff-maintenance&coupon=50off', 'label' => 'Fix 2 most common SEO issues on WordPress that most people ignore', 'icon' => '301-logo.png', 'class' => 'wp301-icon'),
18
  array('href' => 'https://wpreset.com/?ref=wff-maintenance&coupon=50off', 'target' => '_blank', 'label' => 'Get WP Reset PRO with 50% off', 'icon' => 'wp-reset.png', 'class' => 'wpr-icon'),
wf-flyout/wf-flyout.php CHANGED
@@ -147,7 +147,7 @@ if (false == class_exists('wf_flyout')) {
147
  $item['class'] = trim($item['class']);
148
  }
149
 
150
- $out .= '<a href="' . esc_url($item['href']) . '" class="wff-menu-item wff-menu-item-' . $i . ' ' . esc_attr($item['class']) . '" target="_blank">';
151
  $out .= '<span class="wff-label visible">' . esc_html($item['label']) . '</span>';
152
  if (substr($item['icon'], 0, 9) == 'dashicons') {
153
  $out .= '<span class="dashicons ' . sanitize_text_field($item['icon']) . '"></span>';
147
  $item['class'] = trim($item['class']);
148
  }
149
 
150
+ $out .= '<a ' . $item['data'] . ' href="' . esc_url($item['href']) . '" class="wff-menu-item wff-menu-item-' . $i . ' ' . esc_attr($item['class']) . '" target="_blank">';
151
  $out .= '<span class="wff-label visible">' . esc_html($item['label']) . '</span>';
152
  if (substr($item['icon'], 0, 9) == 'dashicons') {
153
  $out .= '<span class="dashicons ' . sanitize_text_field($item['icon']) . '"></span>';