Maintenance - Version 3.97

Version Description

Download this release

Release Info

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

Code changes from version 3.96 to 3.97

includes/admin.php CHANGED
@@ -104,7 +104,7 @@ function mtnc_admin_print_custom_styles()
104
 
105
  $meta = get_option('maintenance_meta', array());
106
  $isDialogDismiss = isset($meta['mtnc_dismiss_dialog']) ? $meta['mtnc_dismiss_dialog'] : 0;
107
- //$isDialogDismiss = 0;
108
 
109
  wp_localize_script(
110
  'mtnc',
104
 
105
  $meta = get_option('maintenance_meta', array());
106
  $isDialogDismiss = isset($meta['mtnc_dismiss_dialog']) ? $meta['mtnc_dismiss_dialog'] : 0;
107
+ $isDialogDismiss = 1;
108
 
109
  wp_localize_script(
110
  'mtnc',
includes/functions.php CHANGED
@@ -110,7 +110,7 @@ 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">' . esc_attr($title) . '</th>';
114
  $out_filed .= '<td>';
115
  $out_filed .= '<fieldset>';
116
  $out_filed .= '<label for=' . esc_attr($id) . '>';
@@ -342,19 +342,20 @@ function mtnc_add_data_fields($object, $box)
342
  <table class="form-table">
343
  <tbody>
344
  <?php
345
- mtnc_generate_input_filed(__('Page title', 'maintenance'), 'page_title', 'page_title', $page_title);
346
  mtnc_generate_input_filed(__('Headline', 'maintenance'), 'heading', 'heading', $heading);
347
  mtnc_generate_tinymce_filed(__('Description', 'maintenance'), 'description', 'description', $description);
348
  mtnc_generate_input_filed(__('Footer Text', 'maintenance'), 'footer_text', 'footer_text', $footer_text);
349
  mtnc_weglot_option();
 
350
  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']));
351
- mtnc_generate_number_filed(__('Set Logo width', 'maintenance'), 'logo_width', 'logo_width', $logo_width);
352
- mtnc_generate_number_filed(__('Set Logo height', 'maintenance'), 'logo_height', 'logo_height', $logo_height);
353
  mtnc_generate_image_filed(__('Logo', 'maintenance'), 'logo', 'logo', (int) $mt_option['logo'], 'boxes box-logo', __('Upload Logo', 'maintenance'), 'upload_logo upload_btn button');
354
- mtnc_generate_image_filed(__('Retina logo', 'maintenance'), 'retina_logo', 'retina_logo', (int) $mt_option['retina_logo'], 'boxes box-logo', __('Upload Retina Logo', 'maintenance'), 'upload_logo upload_btn button');
355
  do_action('mtnc_background_field');
356
- 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');
357
- 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');
358
 
359
  do_action('mtnc_color_fields');
360
  do_action('mtnc_font_fields');
@@ -373,10 +374,10 @@ function mtnc_add_data_fields($object, $box)
373
  }
374
  }
375
 
376
- mtnc_generate_check_filed(__('Apply background blur', 'maintenance'), '', 'is_blur', 'is_blur', $is_blur);
377
- mtnc_generate_number_filed(__('Set blur intensity', 'maintenance'), 'blur_intensity', 'blur_intensity', (int) $mt_option['blur_intensity']);
378
 
379
- mtnc_generate_check_filed(__('Enable frontend login', 'maintenance'), '', 'is_login', 'is_login', isset($mt_option['is_login']));
380
 
381
  echo '<tr><td colspan="2"><p><input type="submit" name="submit" id="submit" class="button button-primary" value="Save Changes"></p></td></tr>'
382
  ?>
@@ -412,6 +413,24 @@ function mtnc_create_select_options($options, $selected = null, $output = true)
412
  }
413
  } // create_select_options
414
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
415
  function mtnc_weglot_option() {
416
  return;
417
  if (mtnc_is_weglot_active()) {
@@ -513,7 +532,7 @@ function mtnc_add_themes_fields()
513
  $themes =
514
 
515
  array (
516
- 0 =>
517
  array (
518
  'type' => 'CSMM PRO',
519
  'version' => '5.005',
@@ -524,7 +543,7 @@ function mtnc_add_themes_fields()
524
  'status' => 'pro',
525
  'name_clean' => 'aeroplane-company',
526
  ),
527
- 1 =>
528
  array (
529
  'type' => 'CSMM PRO',
530
  'version' => '15.17',
@@ -535,7 +554,7 @@ function mtnc_add_themes_fields()
535
  'status' => 'agency',
536
  'name_clean' => 'air-balloon',
537
  ),
538
- 2 =>
539
  array (
540
  'type' => 'CSMM PRO',
541
  'version' => '6.00',
@@ -546,7 +565,7 @@ function mtnc_add_themes_fields()
546
  'status' => 'pro',
547
  'name_clean' => 'animated-clock',
548
  ),
549
- 3 =>
550
  array (
551
  'type' => 'CSMM PRO',
552
  'version' => '15.17',
@@ -557,7 +576,7 @@ function mtnc_add_themes_fields()
557
  'status' => 'pro',
558
  'name_clean' => 'architecture-inc',
559
  ),
560
- 4 =>
561
  array (
562
  'type' => 'CSMM PRO',
563
  'version' => '15.17',
@@ -568,7 +587,7 @@ function mtnc_add_themes_fields()
568
  'status' => 'agency',
569
  'name_clean' => 'architecture',
570
  ),
571
- 5 =>
572
  array (
573
  'type' => 'CSMM PRO',
574
  'version' => '6.00',
@@ -579,7 +598,7 @@ function mtnc_add_themes_fields()
579
  'status' => 'pro',
580
  'name_clean' => 'art-gallery',
581
  ),
582
- 6 =>
583
  array (
584
  'type' => 'CSMM PRO',
585
  'version' => '15.17',
@@ -590,7 +609,7 @@ function mtnc_add_themes_fields()
590
  'status' => 'agency',
591
  'name_clean' => 'auto-service',
592
  ),
593
- 7 =>
594
  array (
595
  'type' => 'CSMM PRO',
596
  'version' => '15.17',
@@ -601,7 +620,7 @@ function mtnc_add_themes_fields()
601
  'status' => 'pro',
602
  'name_clean' => 'bakery',
603
  ),
604
- 8 =>
605
  array (
606
  'type' => 'CSMM PRO',
607
  'version' => '6.00',
@@ -612,7 +631,7 @@ function mtnc_add_themes_fields()
612
  'status' => 'agency',
613
  'name_clean' => 'banking-app',
614
  ),
615
- 9 =>
616
  array (
617
  'type' => 'CSMM PRO',
618
  'version' => '15.17',
@@ -623,7 +642,7 @@ function mtnc_add_themes_fields()
623
  'status' => 'pro',
624
  'name_clean' => 'beach',
625
  ),
626
- 10 =>
627
  array (
628
  'type' => 'CSMM PRO',
629
  'version' => '5.05',
@@ -634,7 +653,7 @@ function mtnc_add_themes_fields()
634
  'status' => 'agency',
635
  'name_clean' => 'bicycle-race',
636
  ),
637
- 11 =>
638
  array (
639
  'type' => 'CSMM PRO',
640
  'version' => '15.17',
@@ -645,7 +664,7 @@ function mtnc_add_themes_fields()
645
  'status' => 'pro',
646
  'name_clean' => 'bike-shop',
647
  ),
648
- 12 =>
649
  array (
650
  'type' => 'CSMM PRO',
651
  'version' => '5.005',
@@ -656,7 +675,7 @@ function mtnc_add_themes_fields()
656
  'status' => 'agency',
657
  'name_clean' => 'bitcoin-miners',
658
  ),
659
- 13 =>
660
  array (
661
  'type' => 'CSMM PRO',
662
  'version' => '6.00',
@@ -667,7 +686,7 @@ function mtnc_add_themes_fields()
667
  'status' => 'pro',
668
  'name_clean' => 'black-friday',
669
  ),
670
- 14 =>
671
  array (
672
  'type' => 'CSMM PRO',
673
  'version' => '15.17',
@@ -678,7 +697,7 @@ function mtnc_add_themes_fields()
678
  'status' => 'agency',
679
  'name_clean' => 'blogging',
680
  ),
681
- 15 =>
682
  array (
683
  'type' => 'CSMM PRO',
684
  'version' => '15.17',
@@ -689,7 +708,7 @@ function mtnc_add_themes_fields()
689
  'status' => 'agency',
690
  'name_clean' => 'blue-ocean',
691
  ),
692
- 16 =>
693
  array (
694
  'type' => 'CSMM PRO',
695
  'version' => '15.17',
@@ -700,7 +719,7 @@ function mtnc_add_themes_fields()
700
  'status' => 'pro',
701
  'name_clean' => 'body-transformation',
702
  ),
703
- 17 =>
704
  array (
705
  'type' => 'CSMM PRO',
706
  'version' => '6.00',
@@ -711,7 +730,7 @@ function mtnc_add_themes_fields()
711
  'status' => 'extra',
712
  'name_clean' => 'bodybuilding',
713
  ),
714
- 18 =>
715
  array (
716
  'type' => 'CSMM PRO',
717
  'version' => '5.005',
@@ -722,7 +741,7 @@ function mtnc_add_themes_fields()
722
  'status' => 'agency',
723
  'name_clean' => 'book-lovers',
724
  ),
725
- 19 =>
726
  array (
727
  'type' => 'CSMM PRO',
728
  'version' => '6.00',
@@ -733,7 +752,7 @@ function mtnc_add_themes_fields()
733
  'status' => 'agency',
734
  'name_clean' => 'business-company',
735
  ),
736
- 20 =>
737
  array (
738
  'type' => 'CSMM PRO',
739
  'version' => '6.00',
@@ -744,7 +763,7 @@ function mtnc_add_themes_fields()
744
  'status' => 'extra',
745
  'name_clean' => 'business-consulting-video',
746
  ),
747
- 21 =>
748
  array (
749
  'type' => 'CSMM PRO',
750
  'version' => '15.17',
@@ -755,7 +774,7 @@ function mtnc_add_themes_fields()
755
  'status' => 'pro',
756
  'name_clean' => 'business-consulting',
757
  ),
758
- 22 =>
759
  array (
760
  'type' => 'CSMM PRO',
761
  'version' => '6.00',
@@ -766,7 +785,7 @@ function mtnc_add_themes_fields()
766
  'status' => 'extra',
767
  'name_clean' => 'business-launch',
768
  ),
769
- 23 =>
770
  array (
771
  'type' => 'CSMM PRO',
772
  'version' => '6.00',
@@ -777,7 +796,7 @@ function mtnc_add_themes_fields()
777
  'status' => 'agency',
778
  'name_clean' => 'business-meeting-video',
779
  ),
780
- 24 =>
781
  array (
782
  'type' => 'CSMM PRO',
783
  'version' => '6.00',
@@ -788,7 +807,7 @@ function mtnc_add_themes_fields()
788
  'status' => 'agency',
789
  'name_clean' => 'business',
790
  ),
791
- 25 =>
792
  array (
793
  'type' => 'CSMM PRO',
794
  'version' => '15.17',
@@ -799,7 +818,7 @@ function mtnc_add_themes_fields()
799
  'status' => 'agency',
800
  'name_clean' => 'cafe',
801
  ),
802
- 26 =>
803
  array (
804
  'type' => 'CSMM PRO',
805
  'version' => '6.00',
@@ -810,7 +829,7 @@ function mtnc_add_themes_fields()
810
  'status' => 'extra',
811
  'name_clean' => 'chatbot',
812
  ),
813
- 27 =>
814
  array (
815
  'type' => 'CSMM PRO',
816
  'version' => '15.17',
@@ -821,7 +840,7 @@ function mtnc_add_themes_fields()
821
  'status' => 'pro',
822
  'name_clean' => 'christmas-decor',
823
  ),
824
- 28 =>
825
  array (
826
  'type' => 'CSMM PRO',
827
  'version' => '15.17',
@@ -832,7 +851,7 @@ function mtnc_add_themes_fields()
832
  'status' => 'pro',
833
  'name_clean' => 'church',
834
  ),
835
- 29 =>
836
  array (
837
  'type' => 'CSMM PRO',
838
  'version' => '6.00',
@@ -843,7 +862,7 @@ function mtnc_add_themes_fields()
843
  'status' => 'pro',
844
  'name_clean' => 'city-nighttime',
845
  ),
846
- 30 =>
847
  array (
848
  'type' => 'CSMM PRO',
849
  'version' => '15.17',
@@ -854,7 +873,7 @@ function mtnc_add_themes_fields()
854
  'status' => 'agency',
855
  'name_clean' => 'cityscape',
856
  ),
857
- 31 =>
858
  array (
859
  'type' => 'CSMM PRO',
860
  'version' => '6.00',
@@ -865,7 +884,7 @@ function mtnc_add_themes_fields()
865
  'status' => 'extra',
866
  'name_clean' => 'clothing-trends',
867
  ),
868
- 32 =>
869
  array (
870
  'type' => 'CSMM PRO',
871
  'version' => '5.14',
@@ -876,7 +895,7 @@ function mtnc_add_themes_fields()
876
  'status' => 'agency',
877
  'name_clean' => 'clouds-screensaver-video',
878
  ),
879
- 33 =>
880
  array (
881
  'type' => 'CSMM PRO',
882
  'version' => '5.005',
@@ -887,7 +906,7 @@ function mtnc_add_themes_fields()
887
  'status' => 'agency',
888
  'name_clean' => 'coffee-shop',
889
  ),
890
- 34 =>
891
  array (
892
  'type' => 'CSMM PRO',
893
  'version' => '6.00',
@@ -898,7 +917,7 @@ function mtnc_add_themes_fields()
898
  'status' => 'agency',
899
  'name_clean' => 'cold-lake',
900
  ),
901
- 35 =>
902
  array (
903
  'type' => 'CSMM PRO',
904
  'version' => '15.17',
@@ -909,7 +928,7 @@ function mtnc_add_themes_fields()
909
  'status' => 'agency',
910
  'name_clean' => 'computer-repair-service',
911
  ),
912
- 36 =>
913
  array (
914
  'type' => 'CSMM PRO',
915
  'version' => '15.17',
@@ -920,7 +939,7 @@ function mtnc_add_themes_fields()
920
  'status' => 'pro',
921
  'name_clean' => 'concert',
922
  ),
923
- 37 =>
924
  array (
925
  'type' => 'CSMM PRO',
926
  'version' => '15.17',
@@ -931,7 +950,7 @@ function mtnc_add_themes_fields()
931
  'status' => 'pro',
932
  'name_clean' => 'conference-event',
933
  ),
934
- 38 =>
935
  array (
936
  'type' => 'CSMM PRO',
937
  'version' => '15.17',
@@ -942,7 +961,7 @@ function mtnc_add_themes_fields()
942
  'status' => 'agency',
943
  'name_clean' => 'construction-company',
944
  ),
945
- 39 =>
946
  array (
947
  'type' => 'CSMM PRO',
948
  'version' => '15.17',
@@ -953,7 +972,7 @@ function mtnc_add_themes_fields()
953
  'status' => 'agency',
954
  'name_clean' => 'creative-design',
955
  ),
956
- 40 =>
957
  array (
958
  'type' => 'CSMM PRO',
959
  'version' => '15.17',
@@ -964,7 +983,7 @@ function mtnc_add_themes_fields()
964
  'status' => 'agency',
965
  'name_clean' => 'custom-decor',
966
  ),
967
- 41 =>
968
  array (
969
  'type' => 'CSMM PRO',
970
  'version' => '6.00',
@@ -975,7 +994,7 @@ function mtnc_add_themes_fields()
975
  'status' => 'pro',
976
  'name_clean' => 'cyber-security',
977
  ),
978
- 42 =>
979
  array (
980
  'type' => 'CSMM PRO',
981
  'version' => '5.005',
@@ -986,7 +1005,7 @@ function mtnc_add_themes_fields()
986
  'status' => 'pro',
987
  'name_clean' => 'default',
988
  ),
989
- 43 =>
990
  array (
991
  'type' => 'CSMM PRO',
992
  'version' => '15.17',
@@ -997,7 +1016,7 @@ function mtnc_add_themes_fields()
997
  'status' => 'agency',
998
  'name_clean' => 'dental-clinic',
999
  ),
1000
- 44 =>
1001
  array (
1002
  'type' => 'CSMM PRO',
1003
  'version' => '15.17',
@@ -1008,7 +1027,7 @@ function mtnc_add_themes_fields()
1008
  'status' => 'agency',
1009
  'name_clean' => 'digital-agency',
1010
  ),
1011
- 45 =>
1012
  array (
1013
  'type' => 'CSMM PRO',
1014
  'version' => '15.17',
@@ -1019,7 +1038,7 @@ function mtnc_add_themes_fields()
1019
  'status' => 'pro',
1020
  'name_clean' => 'dog-shelter',
1021
  ),
1022
- 46 =>
1023
  array (
1024
  'type' => 'CSMM PRO',
1025
  'version' => '5.001',
@@ -1030,7 +1049,7 @@ function mtnc_add_themes_fields()
1030
  'status' => 'agency',
1031
  'name_clean' => 'dog-training-and-behavior-consulting',
1032
  ),
1033
- 47 =>
1034
  array (
1035
  'type' => 'CSMM PRO',
1036
  'version' => '15.17',
@@ -1041,7 +1060,7 @@ function mtnc_add_themes_fields()
1041
  'status' => 'agency',
1042
  'name_clean' => 'donation',
1043
  ),
1044
- 48 =>
1045
  array (
1046
  'type' => 'CSMM PRO',
1047
  'version' => '6.00',
@@ -1052,7 +1071,7 @@ function mtnc_add_themes_fields()
1052
  'status' => 'extra',
1053
  'name_clean' => 'ecommerce',
1054
  ),
1055
- 49 =>
1056
  array (
1057
  'type' => 'CSMM PRO',
1058
  'version' => '15.17',
@@ -1063,7 +1082,7 @@ function mtnc_add_themes_fields()
1063
  'status' => 'pro',
1064
  'name_clean' => 'employment',
1065
  ),
1066
- 50 =>
1067
  array (
1068
  'type' => 'CSMM PRO',
1069
  'version' => '15.17',
@@ -1074,7 +1093,7 @@ function mtnc_add_themes_fields()
1074
  'status' => 'agency',
1075
  'name_clean' => 'essay-writing-service',
1076
  ),
1077
- 51 =>
1078
  array (
1079
  'type' => 'CSMM PRO',
1080
  'version' => '15.17',
@@ -1085,7 +1104,7 @@ function mtnc_add_themes_fields()
1085
  'status' => 'pro',
1086
  'name_clean' => 'fall-video',
1087
  ),
1088
- 52 =>
1089
  array (
1090
  'type' => 'CSMM PRO',
1091
  'version' => '15.17',
@@ -1096,7 +1115,7 @@ function mtnc_add_themes_fields()
1096
  'status' => 'agency',
1097
  'name_clean' => 'fashion',
1098
  ),
1099
- 53 =>
1100
  array (
1101
  'type' => 'CSMM PRO',
1102
  'version' => '15.17',
@@ -1107,7 +1126,7 @@ function mtnc_add_themes_fields()
1107
  'status' => 'agency',
1108
  'name_clean' => 'financial-counselling',
1109
  ),
1110
- 54 =>
1111
  array (
1112
  'type' => 'CSMM PRO',
1113
  'version' => '15.17',
@@ -1118,7 +1137,7 @@ function mtnc_add_themes_fields()
1118
  'status' => 'pro',
1119
  'name_clean' => 'financial-district',
1120
  ),
1121
- 55 =>
1122
  array (
1123
  'type' => 'CSMM PRO',
1124
  'version' => '15.17',
@@ -1129,7 +1148,7 @@ function mtnc_add_themes_fields()
1129
  'status' => 'agency',
1130
  'name_clean' => 'fitness-e-shop',
1131
  ),
1132
- 56 =>
1133
  array (
1134
  'type' => 'CSMM PRO',
1135
  'version' => '6.00',
@@ -1140,7 +1159,7 @@ function mtnc_add_themes_fields()
1140
  'status' => 'extra',
1141
  'name_clean' => 'florium',
1142
  ),
1143
- 57 =>
1144
  array (
1145
  'type' => 'CSMM PRO',
1146
  'version' => '15.05',
@@ -1151,7 +1170,7 @@ function mtnc_add_themes_fields()
1151
  'status' => 'agency',
1152
  'name_clean' => 'flower-shop',
1153
  ),
1154
- 58 =>
1155
  array (
1156
  'type' => 'CSMM PRO',
1157
  'version' => '15.17',
@@ -1162,7 +1181,7 @@ function mtnc_add_themes_fields()
1162
  'status' => 'pro',
1163
  'name_clean' => 'food-blog',
1164
  ),
1165
- 59 =>
1166
  array (
1167
  'type' => 'CSMM PRO',
1168
  'version' => '6.00',
@@ -1173,7 +1192,7 @@ function mtnc_add_themes_fields()
1173
  'status' => 'extra',
1174
  'name_clean' => 'food-store',
1175
  ),
1176
- 60 =>
1177
  array (
1178
  'type' => 'CSMM PRO',
1179
  'version' => '6.00',
@@ -1184,7 +1203,7 @@ function mtnc_add_themes_fields()
1184
  'status' => 'pro',
1185
  'name_clean' => 'foodie',
1186
  ),
1187
- 61 =>
1188
  array (
1189
  'type' => 'CSMM PRO',
1190
  'version' => '6.00',
@@ -1195,7 +1214,7 @@ function mtnc_add_themes_fields()
1195
  'status' => 'pro',
1196
  'name_clean' => 'football',
1197
  ),
1198
- 62 =>
1199
  array (
1200
  'type' => 'CSMM PRO',
1201
  'version' => '15.17',
@@ -1206,7 +1225,7 @@ function mtnc_add_themes_fields()
1206
  'status' => 'pro',
1207
  'name_clean' => 'frozen-nature',
1208
  ),
1209
- 63 =>
1210
  array (
1211
  'type' => 'CSMM PRO',
1212
  'version' => '15.17',
@@ -1217,7 +1236,7 @@ function mtnc_add_themes_fields()
1217
  'status' => 'pro',
1218
  'name_clean' => 'future-technology',
1219
  ),
1220
- 64 =>
1221
  array (
1222
  'type' => 'CSMM PRO',
1223
  'version' => '15.17',
@@ -1228,7 +1247,7 @@ function mtnc_add_themes_fields()
1228
  'status' => 'agency',
1229
  'name_clean' => 'graphic-design',
1230
  ),
1231
- 65 =>
1232
  array (
1233
  'type' => 'CSMM PRO',
1234
  'version' => '15.17',
@@ -1239,7 +1258,7 @@ function mtnc_add_themes_fields()
1239
  'status' => 'pro',
1240
  'name_clean' => 'greenlife',
1241
  ),
1242
- 66 =>
1243
  array (
1244
  'type' => 'CSMM PRO',
1245
  'version' => '15.17',
@@ -1250,7 +1269,7 @@ function mtnc_add_themes_fields()
1250
  'status' => 'pro',
1251
  'name_clean' => 'halloween',
1252
  ),
1253
- 67 =>
1254
  array (
1255
  'type' => 'CSMM PRO',
1256
  'version' => '15.17',
@@ -1261,7 +1280,7 @@ function mtnc_add_themes_fields()
1261
  'status' => 'agency',
1262
  'name_clean' => 'healthy-eating',
1263
  ),
1264
- 68 =>
1265
  array (
1266
  'type' => 'CSMM PRO',
1267
  'version' => '6.00',
@@ -1272,7 +1291,7 @@ function mtnc_add_themes_fields()
1272
  'status' => 'extra',
1273
  'name_clean' => 'hexagons-video',
1274
  ),
1275
- 69 =>
1276
  array (
1277
  'type' => 'CSMM PRO',
1278
  'version' => '15.17',
@@ -1283,7 +1302,7 @@ function mtnc_add_themes_fields()
1283
  'status' => 'pro',
1284
  'name_clean' => 'holiday-resort',
1285
  ),
1286
- 70 =>
1287
  array (
1288
  'type' => 'CSMM PRO',
1289
  'version' => '6.00',
@@ -1294,7 +1313,7 @@ function mtnc_add_themes_fields()
1294
  'status' => 'pro',
1295
  'name_clean' => 'home-design',
1296
  ),
1297
- 71 =>
1298
  array (
1299
  'type' => 'CSMM PRO',
1300
  'version' => '15.17',
@@ -1305,7 +1324,7 @@ function mtnc_add_themes_fields()
1305
  'status' => 'pro',
1306
  'name_clean' => 'homemade-chocolate-gifts',
1307
  ),
1308
- 72 =>
1309
  array (
1310
  'type' => 'CSMM PRO',
1311
  'version' => '15.17',
@@ -1316,7 +1335,7 @@ function mtnc_add_themes_fields()
1316
  'status' => 'pro',
1317
  'name_clean' => 'hosting',
1318
  ),
1319
- 73 =>
1320
  array (
1321
  'type' => 'CSMM PRO',
1322
  'version' => '15.17',
@@ -1327,7 +1346,7 @@ function mtnc_add_themes_fields()
1327
  'status' => 'pro',
1328
  'name_clean' => 'ice-cream-shop',
1329
  ),
1330
- 74 =>
1331
  array (
1332
  'type' => 'CSMM PRO',
1333
  'version' => '6.00',
@@ -1338,7 +1357,7 @@ function mtnc_add_themes_fields()
1338
  'status' => 'extra',
1339
  'name_clean' => 'in-design',
1340
  ),
1341
- 75 =>
1342
  array (
1343
  'type' => 'CSMM PRO',
1344
  'version' => '15.17',
@@ -1349,7 +1368,7 @@ function mtnc_add_themes_fields()
1349
  'status' => 'pro',
1350
  'name_clean' => 'inspy-romance',
1351
  ),
1352
- 76 =>
1353
  array (
1354
  'type' => 'CSMM PRO',
1355
  'version' => '15.05',
@@ -1360,7 +1379,7 @@ function mtnc_add_themes_fields()
1360
  'status' => 'agency',
1361
  'name_clean' => 'interior-design',
1362
  ),
1363
- 77 =>
1364
  array (
1365
  'type' => 'CSMM PRO',
1366
  'version' => '15.17',
@@ -1371,7 +1390,7 @@ function mtnc_add_themes_fields()
1371
  'status' => 'pro',
1372
  'name_clean' => 'it-conference',
1373
  ),
1374
- 78 =>
1375
  array (
1376
  'type' => 'CSMM PRO',
1377
  'version' => '5.14',
@@ -1382,7 +1401,7 @@ function mtnc_add_themes_fields()
1382
  'status' => 'agency',
1383
  'name_clean' => 'journey-video',
1384
  ),
1385
- 79 =>
1386
  array (
1387
  'type' => 'CSMM PRO',
1388
  'version' => '15.17',
@@ -1393,7 +1412,7 @@ function mtnc_add_themes_fields()
1393
  'status' => 'pro',
1394
  'name_clean' => 'keyword-research',
1395
  ),
1396
- 80 =>
1397
  array (
1398
  'type' => 'CSMM PRO',
1399
  'version' => '6.00',
@@ -1404,7 +1423,7 @@ function mtnc_add_themes_fields()
1404
  'status' => 'pro',
1405
  'name_clean' => 'kids-center',
1406
  ),
1407
- 81 =>
1408
  array (
1409
  'type' => 'CSMM PRO',
1410
  'version' => '15.17',
@@ -1415,7 +1434,7 @@ function mtnc_add_themes_fields()
1415
  'status' => 'agency',
1416
  'name_clean' => 'kids-innovation-program',
1417
  ),
1418
- 82 =>
1419
  array (
1420
  'type' => 'CSMM PRO',
1421
  'version' => '15.17',
@@ -1426,7 +1445,7 @@ function mtnc_add_themes_fields()
1426
  'status' => 'agency',
1427
  'name_clean' => 'ladies-accessories',
1428
  ),
1429
- 83 =>
1430
  array (
1431
  'type' => 'CSMM PRO',
1432
  'version' => '15.17',
@@ -1437,7 +1456,7 @@ function mtnc_add_themes_fields()
1437
  'status' => 'pro',
1438
  'name_clean' => 'lego-bricks',
1439
  ),
1440
- 84 =>
1441
  array (
1442
  'type' => 'CSMM PRO',
1443
  'version' => '15.17',
@@ -1448,7 +1467,7 @@ function mtnc_add_themes_fields()
1448
  'status' => 'agency',
1449
  'name_clean' => 'loneliness',
1450
  ),
1451
- 85 =>
1452
  array (
1453
  'type' => 'CSMM PRO',
1454
  'version' => '6.00',
@@ -1459,7 +1478,7 @@ function mtnc_add_themes_fields()
1459
  'status' => 'agency',
1460
  'name_clean' => 'lonely-road',
1461
  ),
1462
- 86 =>
1463
  array (
1464
  'type' => 'CSMM PRO',
1465
  'version' => '6.00',
@@ -1470,7 +1489,7 @@ function mtnc_add_themes_fields()
1470
  'status' => 'pro',
1471
  'name_clean' => 'luxury-car',
1472
  ),
1473
- 87 =>
1474
  array (
1475
  'type' => 'CSMM PRO',
1476
  'version' => '5.005',
@@ -1481,7 +1500,7 @@ function mtnc_add_themes_fields()
1481
  'status' => 'pro',
1482
  'name_clean' => 'maintenance-mode',
1483
  ),
1484
- 88 =>
1485
  array (
1486
  'type' => 'CSMM PRO',
1487
  'version' => '5.005',
@@ -1492,7 +1511,7 @@ function mtnc_add_themes_fields()
1492
  'status' => 'agency',
1493
  'name_clean' => 'makeup-artist-training',
1494
  ),
1495
- 89 =>
1496
  array (
1497
  'type' => 'CSMM PRO',
1498
  'version' => '6.00',
@@ -1503,7 +1522,7 @@ function mtnc_add_themes_fields()
1503
  'status' => 'agency',
1504
  'name_clean' => 'marketing-webinar',
1505
  ),
1506
- 90 =>
1507
  array (
1508
  'type' => 'CSMM PRO',
1509
  'version' => '6.00',
@@ -1514,7 +1533,7 @@ function mtnc_add_themes_fields()
1514
  'status' => 'agency',
1515
  'name_clean' => 'metrics-video',
1516
  ),
1517
- 91 =>
1518
  array (
1519
  'type' => 'CSMM PRO',
1520
  'version' => '15.17',
@@ -1525,7 +1544,7 @@ function mtnc_add_themes_fields()
1525
  'status' => 'pro',
1526
  'name_clean' => 'misty-forest-video',
1527
  ),
1528
- 92 =>
1529
  array (
1530
  'type' => 'CSMM PRO',
1531
  'version' => '6.00',
@@ -1536,7 +1555,7 @@ function mtnc_add_themes_fields()
1536
  'status' => 'extra',
1537
  'name_clean' => 'mobile-app',
1538
  ),
1539
- 93 =>
1540
  array (
1541
  'type' => 'CSMM PRO',
1542
  'version' => '6.00',
@@ -1547,7 +1566,7 @@ function mtnc_add_themes_fields()
1547
  'status' => 'agency',
1548
  'name_clean' => 'mobile-designer',
1549
  ),
1550
- 94 =>
1551
  array (
1552
  'type' => 'CSMM PRO',
1553
  'version' => '15.17',
@@ -1558,7 +1577,7 @@ function mtnc_add_themes_fields()
1558
  'status' => 'agency',
1559
  'name_clean' => 'mobile-meeting',
1560
  ),
1561
- 95 =>
1562
  array (
1563
  'type' => 'CSMM PRO',
1564
  'version' => '6.00',
@@ -1569,7 +1588,7 @@ function mtnc_add_themes_fields()
1569
  'status' => 'pro',
1570
  'name_clean' => 'modern-blog',
1571
  ),
1572
- 96 =>
1573
  array (
1574
  'type' => 'CSMM PRO',
1575
  'version' => '15.05',
@@ -1580,7 +1599,7 @@ function mtnc_add_themes_fields()
1580
  'status' => 'agency',
1581
  'name_clean' => 'modern-office',
1582
  ),
1583
- 97 =>
1584
  array (
1585
  'type' => 'CSMM PRO',
1586
  'version' => '15.17',
@@ -1591,7 +1610,7 @@ function mtnc_add_themes_fields()
1591
  'status' => 'agency',
1592
  'name_clean' => 'modern-recipes',
1593
  ),
1594
- 98 =>
1595
  array (
1596
  'type' => 'CSMM PRO',
1597
  'version' => '15.17',
@@ -1602,7 +1621,7 @@ function mtnc_add_themes_fields()
1602
  'status' => 'pro',
1603
  'name_clean' => 'mountain-slide',
1604
  ),
1605
- 99 =>
1606
  array (
1607
  'type' => 'CSMM PRO',
1608
  'version' => '5.05',
@@ -1613,7 +1632,7 @@ function mtnc_add_themes_fields()
1613
  'status' => 'pro',
1614
  'name_clean' => 'mountain',
1615
  ),
1616
- 100 =>
1617
  array (
1618
  'type' => 'CSMM PRO',
1619
  'version' => '6.00',
@@ -1624,7 +1643,7 @@ function mtnc_add_themes_fields()
1624
  'status' => 'pro',
1625
  'name_clean' => 'movie-trailer-video',
1626
  ),
1627
- 101 =>
1628
  array (
1629
  'type' => 'CSMM PRO',
1630
  'version' => '15.17',
@@ -1635,7 +1654,7 @@ function mtnc_add_themes_fields()
1635
  'status' => 'pro',
1636
  'name_clean' => 'music',
1637
  ),
1638
- 102 =>
1639
  array (
1640
  'type' => 'CSMM PRO',
1641
  'version' => '15.05',
@@ -1646,7 +1665,7 @@ function mtnc_add_themes_fields()
1646
  'status' => 'agency',
1647
  'name_clean' => 'nature',
1648
  ),
1649
- 103 =>
1650
  array (
1651
  'type' => 'CSMM PRO',
1652
  'version' => '6.00',
@@ -1657,7 +1676,7 @@ function mtnc_add_themes_fields()
1657
  'status' => 'extra',
1658
  'name_clean' => 'non-profit-organization',
1659
  ),
1660
- 104 =>
1661
  array (
1662
  'type' => 'CSMM PRO',
1663
  'version' => '6.00',
@@ -1668,7 +1687,7 @@ function mtnc_add_themes_fields()
1668
  'status' => 'pro',
1669
  'name_clean' => 'nutritionist',
1670
  ),
1671
- 105 =>
1672
  array (
1673
  'type' => 'CSMM PRO',
1674
  'version' => '5.14',
@@ -1679,7 +1698,7 @@ function mtnc_add_themes_fields()
1679
  'status' => 'agency',
1680
  'name_clean' => 'office-meeting-video',
1681
  ),
1682
- 106 =>
1683
  array (
1684
  'type' => 'CSMM PRO',
1685
  'version' => '15.05',
@@ -1690,7 +1709,7 @@ function mtnc_add_themes_fields()
1690
  'status' => 'agency',
1691
  'name_clean' => 'office-theme',
1692
  ),
1693
- 107 =>
1694
  array (
1695
  'type' => 'CSMM PRO',
1696
  'version' => '15.17',
@@ -1701,7 +1720,7 @@ function mtnc_add_themes_fields()
1701
  'status' => 'pro',
1702
  'name_clean' => 'online-food-delivery',
1703
  ),
1704
- 108 =>
1705
  array (
1706
  'type' => 'CSMM PRO',
1707
  'version' => '5.005',
@@ -1712,7 +1731,7 @@ function mtnc_add_themes_fields()
1712
  'status' => 'agency',
1713
  'name_clean' => 'online-learning',
1714
  ),
1715
- 109 =>
1716
  array (
1717
  'type' => 'CSMM PRO',
1718
  'version' => '15.17',
@@ -1723,7 +1742,7 @@ function mtnc_add_themes_fields()
1723
  'status' => 'pro',
1724
  'name_clean' => 'online-shopping',
1725
  ),
1726
- 110 =>
1727
  array (
1728
  'type' => 'CSMM PRO',
1729
  'version' => '15.17',
@@ -1734,7 +1753,7 @@ function mtnc_add_themes_fields()
1734
  'status' => 'pro',
1735
  'name_clean' => 'organic-cosmetics',
1736
  ),
1737
- 111 =>
1738
  array (
1739
  'type' => 'CSMM PRO',
1740
  'version' => '6.00',
@@ -1745,7 +1764,7 @@ function mtnc_add_themes_fields()
1745
  'status' => 'pro',
1746
  'name_clean' => 'pancake-house',
1747
  ),
1748
- 112 =>
1749
  array (
1750
  'type' => 'CSMM PRO',
1751
  'version' => '6.00',
@@ -1756,7 +1775,7 @@ function mtnc_add_themes_fields()
1756
  'status' => 'pro',
1757
  'name_clean' => 'parenting',
1758
  ),
1759
- 113 =>
1760
  array (
1761
  'type' => 'CSMM PRO',
1762
  'version' => '15.17',
@@ -1767,7 +1786,7 @@ function mtnc_add_themes_fields()
1767
  'status' => 'pro',
1768
  'name_clean' => 'passage',
1769
  ),
1770
- 114 =>
1771
  array (
1772
  'type' => 'CSMM PRO',
1773
  'version' => '15.17',
@@ -1778,7 +1797,7 @@ function mtnc_add_themes_fields()
1778
  'status' => 'agency',
1779
  'name_clean' => 'peaceful-river',
1780
  ),
1781
- 115 =>
1782
  array (
1783
  'type' => 'CSMM PRO',
1784
  'version' => '15.17',
@@ -1789,7 +1808,7 @@ function mtnc_add_themes_fields()
1789
  'status' => 'pro',
1790
  'name_clean' => 'personal-trainer',
1791
  ),
1792
- 116 =>
1793
  array (
1794
  'type' => 'CSMM PRO',
1795
  'version' => '15.17',
@@ -1800,7 +1819,7 @@ function mtnc_add_themes_fields()
1800
  'status' => 'agency',
1801
  'name_clean' => 'photo-studio',
1802
  ),
1803
- 117 =>
1804
  array (
1805
  'type' => 'CSMM PRO',
1806
  'version' => '15.17',
@@ -1811,7 +1830,7 @@ function mtnc_add_themes_fields()
1811
  'status' => 'agency',
1812
  'name_clean' => 'photography',
1813
  ),
1814
- 118 =>
1815
  array (
1816
  'type' => 'CSMM PRO',
1817
  'version' => '6.00',
@@ -1822,7 +1841,7 @@ function mtnc_add_themes_fields()
1822
  'status' => 'pro',
1823
  'name_clean' => 'plumbing',
1824
  ),
1825
- 119 =>
1826
  array (
1827
  'type' => 'CSMM PRO',
1828
  'version' => '6.00',
@@ -1833,7 +1852,7 @@ function mtnc_add_themes_fields()
1833
  'status' => 'extra',
1834
  'name_clean' => 'podcast',
1835
  ),
1836
- 120 =>
1837
  array (
1838
  'type' => 'CSMM PRO',
1839
  'version' => '6.00',
@@ -1844,7 +1863,7 @@ function mtnc_add_themes_fields()
1844
  'status' => 'extra',
1845
  'name_clean' => 'portfolio',
1846
  ),
1847
- 121 =>
1848
  array (
1849
  'type' => 'CSMM PRO',
1850
  'version' => '15.17',
@@ -1855,7 +1874,7 @@ function mtnc_add_themes_fields()
1855
  'status' => 'agency',
1856
  'name_clean' => 'restaurant',
1857
  ),
1858
- 122 =>
1859
  array (
1860
  'type' => 'CSMM PRO',
1861
  'version' => '15.17',
@@ -1866,7 +1885,7 @@ function mtnc_add_themes_fields()
1866
  'status' => 'agency',
1867
  'name_clean' => 'romantic-travels',
1868
  ),
1869
- 123 =>
1870
  array (
1871
  'type' => 'CSMM PRO',
1872
  'version' => '15.17',
@@ -1877,7 +1896,7 @@ function mtnc_add_themes_fields()
1877
  'status' => 'agency',
1878
  'name_clean' => 'running-blog',
1879
  ),
1880
- 124 =>
1881
  array (
1882
  'type' => 'CSMM PRO',
1883
  'version' => '15.14',
@@ -1888,7 +1907,7 @@ function mtnc_add_themes_fields()
1888
  'status' => 'pro',
1889
  'name_clean' => 'running-video',
1890
  ),
1891
- 125 =>
1892
  array (
1893
  'type' => 'CSMM PRO',
1894
  'version' => '6.00',
@@ -1899,7 +1918,7 @@ function mtnc_add_themes_fields()
1899
  'status' => 'agency',
1900
  'name_clean' => 'scholar-university',
1901
  ),
1902
- 126 =>
1903
  array (
1904
  'type' => 'CSMM PRO',
1905
  'version' => '6.00',
@@ -1910,7 +1929,7 @@ function mtnc_add_themes_fields()
1910
  'status' => 'agency',
1911
  'name_clean' => 'seo-digital-marketing',
1912
  ),
1913
- 127 =>
1914
  array (
1915
  'type' => 'CSMM PRO',
1916
  'version' => '5.005',
@@ -1921,7 +1940,7 @@ function mtnc_add_themes_fields()
1921
  'status' => 'agency',
1922
  'name_clean' => 'shoes-store',
1923
  ),
1924
- 128 =>
1925
  array (
1926
  'type' => 'CSMM PRO',
1927
  'version' => '6.00',
@@ -1932,7 +1951,7 @@ function mtnc_add_themes_fields()
1932
  'status' => 'pro',
1933
  'name_clean' => 'simple-beige-design',
1934
  ),
1935
- 129 =>
1936
  array (
1937
  'type' => 'CSMM PRO',
1938
  'version' => '6.00',
@@ -1943,7 +1962,7 @@ function mtnc_add_themes_fields()
1943
  'status' => 'extra',
1944
  'name_clean' => 'skin-care',
1945
  ),
1946
- 130 =>
1947
  array (
1948
  'type' => 'CSMM PRO',
1949
  'version' => '15.17',
@@ -1954,7 +1973,7 @@ function mtnc_add_themes_fields()
1954
  'status' => 'agency',
1955
  'name_clean' => 'skincare',
1956
  ),
1957
- 131 =>
1958
  array (
1959
  'type' => 'CSMM PRO',
1960
  'version' => '6.00',
@@ -1965,7 +1984,7 @@ function mtnc_add_themes_fields()
1965
  'status' => 'pro',
1966
  'name_clean' => 'snow-screensaver-video',
1967
  ),
1968
- 132 =>
1969
  array (
1970
  'type' => 'CSMM PRO',
1971
  'version' => '15.17',
@@ -1976,7 +1995,7 @@ function mtnc_add_themes_fields()
1976
  'status' => 'pro',
1977
  'name_clean' => 'snowboarding-blog',
1978
  ),
1979
- 133 =>
1980
  array (
1981
  'type' => 'CSMM PRO',
1982
  'version' => '6.00',
@@ -1987,7 +2006,7 @@ function mtnc_add_themes_fields()
1987
  'status' => 'pro',
1988
  'name_clean' => 'snowy-mountain',
1989
  ),
1990
- 134 =>
1991
  array (
1992
  'type' => 'CSMM PRO',
1993
  'version' => '15.17',
@@ -1998,7 +2017,7 @@ function mtnc_add_themes_fields()
1998
  'status' => 'pro',
1999
  'name_clean' => 'snowy-oasis',
2000
  ),
2001
- 135 =>
2002
  array (
2003
  'type' => 'CSMM PRO',
2004
  'version' => '15.17',
@@ -2009,7 +2028,7 @@ function mtnc_add_themes_fields()
2009
  'status' => 'agency',
2010
  'name_clean' => 'social-media-service',
2011
  ),
2012
- 136 =>
2013
  array (
2014
  'type' => 'CSMM PRO',
2015
  'version' => '6.00',
@@ -2020,7 +2039,7 @@ function mtnc_add_themes_fields()
2020
  'status' => 'extra',
2021
  'name_clean' => 'social-media',
2022
  ),
2023
- 137 =>
2024
  array (
2025
  'type' => 'CSMM PRO',
2026
  'version' => '15.17',
@@ -2031,7 +2050,7 @@ function mtnc_add_themes_fields()
2031
  'status' => 'agency',
2032
  'name_clean' => 'spa-beauty-studio',
2033
  ),
2034
- 138 =>
2035
  array (
2036
  'type' => 'CSMM PRO',
2037
  'version' => '15.17',
@@ -2042,7 +2061,7 @@ function mtnc_add_themes_fields()
2042
  'status' => 'agency',
2043
  'name_clean' => 'spa',
2044
  ),
2045
- 139 =>
2046
  array (
2047
  'type' => 'CSMM PRO',
2048
  'version' => '6.00',
@@ -2053,7 +2072,7 @@ function mtnc_add_themes_fields()
2053
  'status' => 'pro',
2054
  'name_clean' => 'spring-sale',
2055
  ),
2056
- 140 =>
2057
  array (
2058
  'type' => 'CSMM PRO',
2059
  'version' => '6.00',
@@ -2064,7 +2083,7 @@ function mtnc_add_themes_fields()
2064
  'status' => 'agency',
2065
  'name_clean' => 'spring',
2066
  ),
2067
- 141 =>
2068
  array (
2069
  'type' => 'CSMM PRO',
2070
  'version' => '15.17',
@@ -2075,7 +2094,7 @@ function mtnc_add_themes_fields()
2075
  'status' => 'pro',
2076
  'name_clean' => 'startup',
2077
  ),
2078
- 142 =>
2079
  array (
2080
  'type' => 'CSMM PRO',
2081
  'version' => '6.00',
@@ -2086,7 +2105,7 @@ function mtnc_add_themes_fields()
2086
  'status' => 'extra',
2087
  'name_clean' => 'statistics-survey',
2088
  ),
2089
- 143 =>
2090
  array (
2091
  'type' => 'CSMM PRO',
2092
  'version' => '6.00',
@@ -2097,7 +2116,7 @@ function mtnc_add_themes_fields()
2097
  'status' => 'agency',
2098
  'name_clean' => 'studio-design',
2099
  ),
2100
- 144 =>
2101
  array (
2102
  'type' => 'CSMM PRO',
2103
  'version' => '15.17',
@@ -2108,7 +2127,7 @@ function mtnc_add_themes_fields()
2108
  'status' => 'pro',
2109
  'name_clean' => 'stylish-workplace',
2110
  ),
2111
- 145 =>
2112
  array (
2113
  'type' => 'CSMM PRO',
2114
  'version' => '15.17',
@@ -2119,7 +2138,7 @@ function mtnc_add_themes_fields()
2119
  'status' => 'pro',
2120
  'name_clean' => 'tattoo-studio',
2121
  ),
2122
- 146 =>
2123
  array (
2124
  'type' => 'CSMM PRO',
2125
  'version' => '6.00',
@@ -2130,7 +2149,7 @@ function mtnc_add_themes_fields()
2130
  'status' => 'extra',
2131
  'name_clean' => 'tech',
2132
  ),
2133
- 147 =>
2134
  array (
2135
  'type' => 'CSMM PRO',
2136
  'version' => '15.17',
@@ -2141,7 +2160,7 @@ function mtnc_add_themes_fields()
2141
  'status' => 'pro',
2142
  'name_clean' => 'techexpo',
2143
  ),
2144
- 148 =>
2145
  array (
2146
  'type' => 'CSMM PRO',
2147
  'version' => '6.00',
@@ -2152,7 +2171,7 @@ function mtnc_add_themes_fields()
2152
  'status' => 'agency',
2153
  'name_clean' => 'telecommunication',
2154
  ),
2155
- 149 =>
2156
  array (
2157
  'type' => 'CSMM PRO',
2158
  'version' => '6.00',
@@ -2163,7 +2182,7 @@ function mtnc_add_themes_fields()
2163
  'status' => 'agency',
2164
  'name_clean' => 'the-big-city-newsletter',
2165
  ),
2166
- 150 =>
2167
  array (
2168
  'type' => 'CSMM PRO',
2169
  'version' => '5.14',
@@ -2174,7 +2193,7 @@ function mtnc_add_themes_fields()
2174
  'status' => 'pro',
2175
  'name_clean' => 'the-sunny-view',
2176
  ),
2177
- 151 =>
2178
  array (
2179
  'type' => 'CSMM PRO',
2180
  'version' => '15.17',
@@ -2185,7 +2204,7 @@ function mtnc_add_themes_fields()
2185
  'status' => 'agency',
2186
  'name_clean' => 'theatre',
2187
  ),
2188
- 152 =>
2189
  array (
2190
  'type' => 'CSMM PRO',
2191
  'version' => '5.001',
@@ -2196,7 +2215,7 @@ function mtnc_add_themes_fields()
2196
  'status' => 'pro',
2197
  'name_clean' => 'travel-agency',
2198
  ),
2199
- 153 =>
2200
  array (
2201
  'type' => 'CSMM PRO',
2202
  'version' => '15.05',
@@ -2207,7 +2226,7 @@ function mtnc_add_themes_fields()
2207
  'status' => 'agency',
2208
  'name_clean' => 'travel-blog',
2209
  ),
2210
- 154 =>
2211
  array (
2212
  'type' => 'CSMM PRO',
2213
  'version' => '6.00',
@@ -2218,7 +2237,7 @@ function mtnc_add_themes_fields()
2218
  'status' => 'agency',
2219
  'name_clean' => 'tulips',
2220
  ),
2221
- 155 =>
2222
  array (
2223
  'type' => 'CSMM PRO',
2224
  'version' => '6.00',
@@ -2229,7 +2248,7 @@ function mtnc_add_themes_fields()
2229
  'status' => 'pro',
2230
  'name_clean' => 'valentines-day',
2231
  ),
2232
- 156 =>
2233
  array (
2234
  'type' => 'CSMM PRO',
2235
  'version' => '5.001',
@@ -2240,7 +2259,7 @@ function mtnc_add_themes_fields()
2240
  'status' => 'pro',
2241
  'name_clean' => 'video-production',
2242
  ),
2243
- 157 =>
2244
  array (
2245
  'type' => 'CSMM PRO',
2246
  'version' => '15.17',
@@ -2251,7 +2270,7 @@ function mtnc_add_themes_fields()
2251
  'status' => 'agency',
2252
  'name_clean' => 'virtual-assistant-service',
2253
  ),
2254
- 158 =>
2255
  array (
2256
  'type' => 'CSMM PRO',
2257
  'version' => '15.17',
@@ -2262,7 +2281,7 @@ function mtnc_add_themes_fields()
2262
  'status' => 'pro',
2263
  'name_clean' => 'virtual-reality',
2264
  ),
2265
- 159 =>
2266
  array (
2267
  'type' => 'CSMM PRO',
2268
  'version' => '6.00',
@@ -2273,7 +2292,7 @@ function mtnc_add_themes_fields()
2273
  'status' => 'pro',
2274
  'name_clean' => 'walking-away-video',
2275
  ),
2276
- 160 =>
2277
  array (
2278
  'type' => 'CSMM PRO',
2279
  'version' => '6.00',
@@ -2284,7 +2303,7 @@ function mtnc_add_themes_fields()
2284
  'status' => 'extra',
2285
  'name_clean' => 'web-security',
2286
  ),
2287
- 161 =>
2288
  array (
2289
  'type' => 'CSMM PRO',
2290
  'version' => '5.005',
@@ -2295,7 +2314,7 @@ function mtnc_add_themes_fields()
2295
  'status' => 'agency',
2296
  'name_clean' => 'webinar',
2297
  ),
2298
- 162 =>
2299
  array (
2300
  'type' => 'CSMM PRO',
2301
  'version' => '5.005',
@@ -2306,7 +2325,7 @@ function mtnc_add_themes_fields()
2306
  'status' => 'agency',
2307
  'name_clean' => 'wedding-blog',
2308
  ),
2309
- 163 =>
2310
  array (
2311
  'type' => 'CSMM PRO',
2312
  'version' => '6.00',
@@ -2317,7 +2336,7 @@ function mtnc_add_themes_fields()
2317
  'status' => 'extra',
2318
  'name_clean' => 'wedding',
2319
  ),
2320
- 164 =>
2321
  array (
2322
  'type' => 'CSMM PRO',
2323
  'version' => '15.17',
@@ -2328,7 +2347,7 @@ function mtnc_add_themes_fields()
2328
  'status' => 'pro',
2329
  'name_clean' => 'white-orchids',
2330
  ),
2331
- 165 =>
2332
  array (
2333
  'type' => 'CSMM PRO',
2334
  'version' => '15.17',
@@ -2339,7 +2358,7 @@ function mtnc_add_themes_fields()
2339
  'status' => 'pro',
2340
  'name_clean' => 'winter-sale',
2341
  ),
2342
- 166 =>
2343
  array (
2344
  'type' => 'CSMM PRO',
2345
  'version' => '5.14',
@@ -2350,7 +2369,7 @@ function mtnc_add_themes_fields()
2350
  'status' => 'agency',
2351
  'name_clean' => 'working-out',
2352
  ),
2353
- 167 =>
2354
  array (
2355
  'type' => 'CSMM PRO',
2356
  'version' => '15.05',
@@ -2361,7 +2380,7 @@ function mtnc_add_themes_fields()
2361
  'status' => 'agency',
2362
  'name_clean' => 'workplace',
2363
  ),
2364
- 168 =>
2365
  array (
2366
  'type' => 'CSMM PRO',
2367
  'version' => '6.00',
@@ -2512,16 +2531,16 @@ function mtnc_add_exclude_pages_fields()
2512
  function mtnc_get_background_fileds_action()
2513
  {
2514
  $mt_option = mtnc_get_plugin_options(true);
2515
- mtnc_generate_image_filed(__('Background image', 'maintenance'), 'body_bg', 'body_bg', esc_attr($mt_option['body_bg']), 'boxes box-bg', __('Upload Background', 'maintenance'), 'upload_background upload_btn button');
2516
  }
2517
  add_action('mtnc_background_field', 'mtnc_get_background_fileds_action', 10);
2518
 
2519
  function mtnc_get_color_fileds_action()
2520
  {
2521
  $mt_option = mtnc_get_plugin_options(true);
2522
- mtnc_get_color_field(__('Background color', 'maintenance'), 'body_bg_color', 'body_bg_color', esc_attr($mt_option['body_bg_color']), '#111111');
2523
- mtnc_get_color_field(__('Font color', 'maintenance'), 'font_color', 'font_color', esc_attr($mt_option['font_color']), '#ffffff');
2524
- mtnc_get_color_field(__('Login block background color', 'maintenance'), 'controls_bg_color', 'controls_bg_color', isset($mt_option['controls_bg_color']) ? esc_attr($mt_option['controls_bg_color']) : '', '#000000');
2525
  }
2526
  add_action('mtnc_color_fields', 'mtnc_get_color_fileds_action', 10);
2527
 
@@ -2529,7 +2548,7 @@ add_action('mtnc_color_fields', 'mtnc_get_color_fileds_action', 10);
2529
  function mtnc_get_font_fileds_action()
2530
  {
2531
  $mt_option = mtnc_get_plugin_options(true);
2532
- echo mtnc_get_fonts_field(__('Font family', 'maintenance'), 'body_font_family', 'body_font_family', esc_attr($mt_option['body_font_family'])); // phpcs:ignore WordPress.Security.EscapeOutput
2533
  $subset = '';
2534
 
2535
  if (!empty($mt_option['body_font_subset'])) {
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) . '>';
342
  <table class="form-table">
343
  <tbody>
344
  <?php
345
+ mtnc_generate_input_filed(__('Page Title', 'maintenance'), 'page_title', 'page_title', $page_title);
346
  mtnc_generate_input_filed(__('Headline', 'maintenance'), 'heading', 'heading', $heading);
347
  mtnc_generate_tinymce_filed(__('Description', 'maintenance'), 'description', 'description', $description);
348
  mtnc_generate_input_filed(__('Footer Text', 'maintenance'), 'footer_text', 'footer_text', $footer_text);
349
  mtnc_weglot_option();
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', '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');
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
  echo '<tr><td colspan="2"><p><input type="submit" name="submit" id="submit" class="button button-primary" value="Save Changes"></p></td></tr>'
383
  ?>
413
  }
414
  } // create_select_options
415
 
416
+ function mtnc_smush_option() {
417
+ if (defined('WP_SMUSH_VERSION')) {
418
+ echo '<tr>';
419
+ echo '<th><label for="smush_support">Enable Image Compression</label></th>';
420
+ echo '<td style="line-height: 1.5;">';
421
+ echo 'Configure <a href="' . admin_url('admin.php?page=smush') . '">image compression options</a>.';
422
+ echo '</td>';
423
+ echo '</tr>';
424
+ } else {
425
+ echo '<tr>';
426
+ echo '<th><label for="smush_support">Enable Image Compression</label></th>';
427
+ echo '<td style="line-height: 1.5;">';
428
+ echo '<input type="checkbox" id="smush_support" type="checkbox" value="1" class="skip-save">The easiest way to speed up any site is to <b>compress images</b>. On an average page you can easily save a few megabytes. Doing it manually in Photoshop is a pain! That\'s why there are plugins like <a href="' . admin_url('plugin-install.php?fix-install-button=1&tab=plugin-information&plugin=wp-smushit&TB_iframe=true&width=600&height=550') . '" class="thickbox open-plugin-details-modal smush-thickbox">Smush</a> that specialize in compressing images. <a href="' . admin_url('plugin-install.php?fix-install-button=1&tab=plugin-information&plugin=wp-smushit&TB_iframe=true&width=600&height=550') . '" class="thickbox open-plugin-details-modal smush-thickbox">Install the free Smush plugin</a>. It has no limit on the amount of images you can compress, seamlessly integrates with WordPress, and is compatible with all plugins &amp; themes. And best of all - <b>it\'s used by over a million users just like you</b>.';
429
+ echo '</td>';
430
+ echo '</tr>';
431
+ }
432
+ } // mtnc_smush_option
433
+
434
  function mtnc_weglot_option() {
435
  return;
436
  if (mtnc_is_weglot_active()) {
532
  $themes =
533
 
534
  array (
535
+ 0 =>
536
  array (
537
  'type' => 'CSMM PRO',
538
  'version' => '5.005',
543
  'status' => 'pro',
544
  'name_clean' => 'aeroplane-company',
545
  ),
546
+ 1 =>
547
  array (
548
  'type' => 'CSMM PRO',
549
  'version' => '15.17',
554
  'status' => 'agency',
555
  'name_clean' => 'air-balloon',
556
  ),
557
+ 2 =>
558
  array (
559
  'type' => 'CSMM PRO',
560
  'version' => '6.00',
565
  'status' => 'pro',
566
  'name_clean' => 'animated-clock',
567
  ),
568
+ 3 =>
569
  array (
570
  'type' => 'CSMM PRO',
571
  'version' => '15.17',
576
  'status' => 'pro',
577
  'name_clean' => 'architecture-inc',
578
  ),
579
+ 4 =>
580
  array (
581
  'type' => 'CSMM PRO',
582
  'version' => '15.17',
587
  'status' => 'agency',
588
  'name_clean' => 'architecture',
589
  ),
590
+ 5 =>
591
  array (
592
  'type' => 'CSMM PRO',
593
  'version' => '6.00',
598
  'status' => 'pro',
599
  'name_clean' => 'art-gallery',
600
  ),
601
+ 6 =>
602
  array (
603
  'type' => 'CSMM PRO',
604
  'version' => '15.17',
609
  'status' => 'agency',
610
  'name_clean' => 'auto-service',
611
  ),
612
+ 7 =>
613
  array (
614
  'type' => 'CSMM PRO',
615
  'version' => '15.17',
620
  'status' => 'pro',
621
  'name_clean' => 'bakery',
622
  ),
623
+ 8 =>
624
  array (
625
  'type' => 'CSMM PRO',
626
  'version' => '6.00',
631
  'status' => 'agency',
632
  'name_clean' => 'banking-app',
633
  ),
634
+ 9 =>
635
  array (
636
  'type' => 'CSMM PRO',
637
  'version' => '15.17',
642
  'status' => 'pro',
643
  'name_clean' => 'beach',
644
  ),
645
+ 10 =>
646
  array (
647
  'type' => 'CSMM PRO',
648
  'version' => '5.05',
653
  'status' => 'agency',
654
  'name_clean' => 'bicycle-race',
655
  ),
656
+ 11 =>
657
  array (
658
  'type' => 'CSMM PRO',
659
  'version' => '15.17',
664
  'status' => 'pro',
665
  'name_clean' => 'bike-shop',
666
  ),
667
+ 12 =>
668
  array (
669
  'type' => 'CSMM PRO',
670
  'version' => '5.005',
675
  'status' => 'agency',
676
  'name_clean' => 'bitcoin-miners',
677
  ),
678
+ 13 =>
679
  array (
680
  'type' => 'CSMM PRO',
681
  'version' => '6.00',
686
  'status' => 'pro',
687
  'name_clean' => 'black-friday',
688
  ),
689
+ 14 =>
690
  array (
691
  'type' => 'CSMM PRO',
692
  'version' => '15.17',
697
  'status' => 'agency',
698
  'name_clean' => 'blogging',
699
  ),
700
+ 15 =>
701
  array (
702
  'type' => 'CSMM PRO',
703
  'version' => '15.17',
708
  'status' => 'agency',
709
  'name_clean' => 'blue-ocean',
710
  ),
711
+ 16 =>
712
  array (
713
  'type' => 'CSMM PRO',
714
  'version' => '15.17',
719
  'status' => 'pro',
720
  'name_clean' => 'body-transformation',
721
  ),
722
+ 17 =>
723
  array (
724
  'type' => 'CSMM PRO',
725
  'version' => '6.00',
730
  'status' => 'extra',
731
  'name_clean' => 'bodybuilding',
732
  ),
733
+ 18 =>
734
  array (
735
  'type' => 'CSMM PRO',
736
  'version' => '5.005',
741
  'status' => 'agency',
742
  'name_clean' => 'book-lovers',
743
  ),
744
+ 19 =>
745
  array (
746
  'type' => 'CSMM PRO',
747
  'version' => '6.00',
752
  'status' => 'agency',
753
  'name_clean' => 'business-company',
754
  ),
755
+ 20 =>
756
  array (
757
  'type' => 'CSMM PRO',
758
  'version' => '6.00',
763
  'status' => 'extra',
764
  'name_clean' => 'business-consulting-video',
765
  ),
766
+ 21 =>
767
  array (
768
  'type' => 'CSMM PRO',
769
  'version' => '15.17',
774
  'status' => 'pro',
775
  'name_clean' => 'business-consulting',
776
  ),
777
+ 22 =>
778
  array (
779
  'type' => 'CSMM PRO',
780
  'version' => '6.00',
785
  'status' => 'extra',
786
  'name_clean' => 'business-launch',
787
  ),
788
+ 23 =>
789
  array (
790
  'type' => 'CSMM PRO',
791
  'version' => '6.00',
796
  'status' => 'agency',
797
  'name_clean' => 'business-meeting-video',
798
  ),
799
+ 24 =>
800
  array (
801
  'type' => 'CSMM PRO',
802
  'version' => '6.00',
807
  'status' => 'agency',
808
  'name_clean' => 'business',
809
  ),
810
+ 25 =>
811
  array (
812
  'type' => 'CSMM PRO',
813
  'version' => '15.17',
818
  'status' => 'agency',
819
  'name_clean' => 'cafe',
820
  ),
821
+ 26 =>
822
  array (
823
  'type' => 'CSMM PRO',
824
  'version' => '6.00',
829
  'status' => 'extra',
830
  'name_clean' => 'chatbot',
831
  ),
832
+ 27 =>
833
  array (
834
  'type' => 'CSMM PRO',
835
  'version' => '15.17',
840
  'status' => 'pro',
841
  'name_clean' => 'christmas-decor',
842
  ),
843
+ 28 =>
844
  array (
845
  'type' => 'CSMM PRO',
846
  'version' => '15.17',
851
  'status' => 'pro',
852
  'name_clean' => 'church',
853
  ),
854
+ 29 =>
855
  array (
856
  'type' => 'CSMM PRO',
857
  'version' => '6.00',
862
  'status' => 'pro',
863
  'name_clean' => 'city-nighttime',
864
  ),
865
+ 30 =>
866
  array (
867
  'type' => 'CSMM PRO',
868
  'version' => '15.17',
873
  'status' => 'agency',
874
  'name_clean' => 'cityscape',
875
  ),
876
+ 31 =>
877
  array (
878
  'type' => 'CSMM PRO',
879
  'version' => '6.00',
884
  'status' => 'extra',
885
  'name_clean' => 'clothing-trends',
886
  ),
887
+ 32 =>
888
  array (
889
  'type' => 'CSMM PRO',
890
  'version' => '5.14',
895
  'status' => 'agency',
896
  'name_clean' => 'clouds-screensaver-video',
897
  ),
898
+ 33 =>
899
  array (
900
  'type' => 'CSMM PRO',
901
  'version' => '5.005',
906
  'status' => 'agency',
907
  'name_clean' => 'coffee-shop',
908
  ),
909
+ 34 =>
910
  array (
911
  'type' => 'CSMM PRO',
912
  'version' => '6.00',
917
  'status' => 'agency',
918
  'name_clean' => 'cold-lake',
919
  ),
920
+ 35 =>
921
  array (
922
  'type' => 'CSMM PRO',
923
  'version' => '15.17',
928
  'status' => 'agency',
929
  'name_clean' => 'computer-repair-service',
930
  ),
931
+ 36 =>
932
  array (
933
  'type' => 'CSMM PRO',
934
  'version' => '15.17',
939
  'status' => 'pro',
940
  'name_clean' => 'concert',
941
  ),
942
+ 37 =>
943
  array (
944
  'type' => 'CSMM PRO',
945
  'version' => '15.17',
950
  'status' => 'pro',
951
  'name_clean' => 'conference-event',
952
  ),
953
+ 38 =>
954
  array (
955
  'type' => 'CSMM PRO',
956
  'version' => '15.17',
961
  'status' => 'agency',
962
  'name_clean' => 'construction-company',
963
  ),
964
+ 39 =>
965
  array (
966
  'type' => 'CSMM PRO',
967
  'version' => '15.17',
972
  'status' => 'agency',
973
  'name_clean' => 'creative-design',
974
  ),
975
+ 40 =>
976
  array (
977
  'type' => 'CSMM PRO',
978
  'version' => '15.17',
983
  'status' => 'agency',
984
  'name_clean' => 'custom-decor',
985
  ),
986
+ 41 =>
987
  array (
988
  'type' => 'CSMM PRO',
989
  'version' => '6.00',
994
  'status' => 'pro',
995
  'name_clean' => 'cyber-security',
996
  ),
997
+ 42 =>
998
  array (
999
  'type' => 'CSMM PRO',
1000
  'version' => '5.005',
1005
  'status' => 'pro',
1006
  'name_clean' => 'default',
1007
  ),
1008
+ 43 =>
1009
  array (
1010
  'type' => 'CSMM PRO',
1011
  'version' => '15.17',
1016
  'status' => 'agency',
1017
  'name_clean' => 'dental-clinic',
1018
  ),
1019
+ 44 =>
1020
  array (
1021
  'type' => 'CSMM PRO',
1022
  'version' => '15.17',
1027
  'status' => 'agency',
1028
  'name_clean' => 'digital-agency',
1029
  ),
1030
+ 45 =>
1031
  array (
1032
  'type' => 'CSMM PRO',
1033
  'version' => '15.17',
1038
  'status' => 'pro',
1039
  'name_clean' => 'dog-shelter',
1040
  ),
1041
+ 46 =>
1042
  array (
1043
  'type' => 'CSMM PRO',
1044
  'version' => '5.001',
1049
  'status' => 'agency',
1050
  'name_clean' => 'dog-training-and-behavior-consulting',
1051
  ),
1052
+ 47 =>
1053
  array (
1054
  'type' => 'CSMM PRO',
1055
  'version' => '15.17',
1060
  'status' => 'agency',
1061
  'name_clean' => 'donation',
1062
  ),
1063
+ 48 =>
1064
  array (
1065
  'type' => 'CSMM PRO',
1066
  'version' => '6.00',
1071
  'status' => 'extra',
1072
  'name_clean' => 'ecommerce',
1073
  ),
1074
+ 49 =>
1075
  array (
1076
  'type' => 'CSMM PRO',
1077
  'version' => '15.17',
1082
  'status' => 'pro',
1083
  'name_clean' => 'employment',
1084
  ),
1085
+ 50 =>
1086
  array (
1087
  'type' => 'CSMM PRO',
1088
  'version' => '15.17',
1093
  'status' => 'agency',
1094
  'name_clean' => 'essay-writing-service',
1095
  ),
1096
+ 51 =>
1097
  array (
1098
  'type' => 'CSMM PRO',
1099
  'version' => '15.17',
1104
  'status' => 'pro',
1105
  'name_clean' => 'fall-video',
1106
  ),
1107
+ 52 =>
1108
  array (
1109
  'type' => 'CSMM PRO',
1110
  'version' => '15.17',
1115
  'status' => 'agency',
1116
  'name_clean' => 'fashion',
1117
  ),
1118
+ 53 =>
1119
  array (
1120
  'type' => 'CSMM PRO',
1121
  'version' => '15.17',
1126
  'status' => 'agency',
1127
  'name_clean' => 'financial-counselling',
1128
  ),
1129
+ 54 =>
1130
  array (
1131
  'type' => 'CSMM PRO',
1132
  'version' => '15.17',
1137
  'status' => 'pro',
1138
  'name_clean' => 'financial-district',
1139
  ),
1140
+ 55 =>
1141
  array (
1142
  'type' => 'CSMM PRO',
1143
  'version' => '15.17',
1148
  'status' => 'agency',
1149
  'name_clean' => 'fitness-e-shop',
1150
  ),
1151
+ 56 =>
1152
  array (
1153
  'type' => 'CSMM PRO',
1154
  'version' => '6.00',
1159
  'status' => 'extra',
1160
  'name_clean' => 'florium',
1161
  ),
1162
+ 57 =>
1163
  array (
1164
  'type' => 'CSMM PRO',
1165
  'version' => '15.05',
1170
  'status' => 'agency',
1171
  'name_clean' => 'flower-shop',
1172
  ),
1173
+ 58 =>
1174
  array (
1175
  'type' => 'CSMM PRO',
1176
  'version' => '15.17',
1181
  'status' => 'pro',
1182
  'name_clean' => 'food-blog',
1183
  ),
1184
+ 59 =>
1185
  array (
1186
  'type' => 'CSMM PRO',
1187
  'version' => '6.00',
1192
  'status' => 'extra',
1193
  'name_clean' => 'food-store',
1194
  ),
1195
+ 60 =>
1196
  array (
1197
  'type' => 'CSMM PRO',
1198
  'version' => '6.00',
1203
  'status' => 'pro',
1204
  'name_clean' => 'foodie',
1205
  ),
1206
+ 61 =>
1207
  array (
1208
  'type' => 'CSMM PRO',
1209
  'version' => '6.00',
1214
  'status' => 'pro',
1215
  'name_clean' => 'football',
1216
  ),
1217
+ 62 =>
1218
  array (
1219
  'type' => 'CSMM PRO',
1220
  'version' => '15.17',
1225
  'status' => 'pro',
1226
  'name_clean' => 'frozen-nature',
1227
  ),
1228
+ 63 =>
1229
  array (
1230
  'type' => 'CSMM PRO',
1231
  'version' => '15.17',
1236
  'status' => 'pro',
1237
  'name_clean' => 'future-technology',
1238
  ),
1239
+ 64 =>
1240
  array (
1241
  'type' => 'CSMM PRO',
1242
  'version' => '15.17',
1247
  'status' => 'agency',
1248
  'name_clean' => 'graphic-design',
1249
  ),
1250
+ 65 =>
1251
  array (
1252
  'type' => 'CSMM PRO',
1253
  'version' => '15.17',
1258
  'status' => 'pro',
1259
  'name_clean' => 'greenlife',
1260
  ),
1261
+ 66 =>
1262
  array (
1263
  'type' => 'CSMM PRO',
1264
  'version' => '15.17',
1269
  'status' => 'pro',
1270
  'name_clean' => 'halloween',
1271
  ),
1272
+ 67 =>
1273
  array (
1274
  'type' => 'CSMM PRO',
1275
  'version' => '15.17',
1280
  'status' => 'agency',
1281
  'name_clean' => 'healthy-eating',
1282
  ),
1283
+ 68 =>
1284
  array (
1285
  'type' => 'CSMM PRO',
1286
  'version' => '6.00',
1291
  'status' => 'extra',
1292
  'name_clean' => 'hexagons-video',
1293
  ),
1294
+ 69 =>
1295
  array (
1296
  'type' => 'CSMM PRO',
1297
  'version' => '15.17',
1302
  'status' => 'pro',
1303
  'name_clean' => 'holiday-resort',
1304
  ),
1305
+ 70 =>
1306
  array (
1307
  'type' => 'CSMM PRO',
1308
  'version' => '6.00',
1313
  'status' => 'pro',
1314
  'name_clean' => 'home-design',
1315
  ),
1316
+ 71 =>
1317
  array (
1318
  'type' => 'CSMM PRO',
1319
  'version' => '15.17',
1324
  'status' => 'pro',
1325
  'name_clean' => 'homemade-chocolate-gifts',
1326
  ),
1327
+ 72 =>
1328
  array (
1329
  'type' => 'CSMM PRO',
1330
  'version' => '15.17',
1335
  'status' => 'pro',
1336
  'name_clean' => 'hosting',
1337
  ),
1338
+ 73 =>
1339
  array (
1340
  'type' => 'CSMM PRO',
1341
  'version' => '15.17',
1346
  'status' => 'pro',
1347
  'name_clean' => 'ice-cream-shop',
1348
  ),
1349
+ 74 =>
1350
  array (
1351
  'type' => 'CSMM PRO',
1352
  'version' => '6.00',
1357
  'status' => 'extra',
1358
  'name_clean' => 'in-design',
1359
  ),
1360
+ 75 =>
1361
  array (
1362
  'type' => 'CSMM PRO',
1363
  'version' => '15.17',
1368
  'status' => 'pro',
1369
  'name_clean' => 'inspy-romance',
1370
  ),
1371
+ 76 =>
1372
  array (
1373
  'type' => 'CSMM PRO',
1374
  'version' => '15.05',
1379
  'status' => 'agency',
1380
  'name_clean' => 'interior-design',
1381
  ),
1382
+ 77 =>
1383
  array (
1384
  'type' => 'CSMM PRO',
1385
  'version' => '15.17',
1390
  'status' => 'pro',
1391
  'name_clean' => 'it-conference',
1392
  ),
1393
+ 78 =>
1394
  array (
1395
  'type' => 'CSMM PRO',
1396
  'version' => '5.14',
1401
  'status' => 'agency',
1402
  'name_clean' => 'journey-video',
1403
  ),
1404
+ 79 =>
1405
  array (
1406
  'type' => 'CSMM PRO',
1407
  'version' => '15.17',
1412
  'status' => 'pro',
1413
  'name_clean' => 'keyword-research',
1414
  ),
1415
+ 80 =>
1416
  array (
1417
  'type' => 'CSMM PRO',
1418
  'version' => '6.00',
1423
  'status' => 'pro',
1424
  'name_clean' => 'kids-center',
1425
  ),
1426
+ 81 =>
1427
  array (
1428
  'type' => 'CSMM PRO',
1429
  'version' => '15.17',
1434
  'status' => 'agency',
1435
  'name_clean' => 'kids-innovation-program',
1436
  ),
1437
+ 82 =>
1438
  array (
1439
  'type' => 'CSMM PRO',
1440
  'version' => '15.17',
1445
  'status' => 'agency',
1446
  'name_clean' => 'ladies-accessories',
1447
  ),
1448
+ 83 =>
1449
  array (
1450
  'type' => 'CSMM PRO',
1451
  'version' => '15.17',
1456
  'status' => 'pro',
1457
  'name_clean' => 'lego-bricks',
1458
  ),
1459
+ 84 =>
1460
  array (
1461
  'type' => 'CSMM PRO',
1462
  'version' => '15.17',
1467
  'status' => 'agency',
1468
  'name_clean' => 'loneliness',
1469
  ),
1470
+ 85 =>
1471
  array (
1472
  'type' => 'CSMM PRO',
1473
  'version' => '6.00',
1478
  'status' => 'agency',
1479
  'name_clean' => 'lonely-road',
1480
  ),
1481
+ 86 =>
1482
  array (
1483
  'type' => 'CSMM PRO',
1484
  'version' => '6.00',
1489
  'status' => 'pro',
1490
  'name_clean' => 'luxury-car',
1491
  ),
1492
+ 87 =>
1493
  array (
1494
  'type' => 'CSMM PRO',
1495
  'version' => '5.005',
1500
  'status' => 'pro',
1501
  'name_clean' => 'maintenance-mode',
1502
  ),
1503
+ 88 =>
1504
  array (
1505
  'type' => 'CSMM PRO',
1506
  'version' => '5.005',
1511
  'status' => 'agency',
1512
  'name_clean' => 'makeup-artist-training',
1513
  ),
1514
+ 89 =>
1515
  array (
1516
  'type' => 'CSMM PRO',
1517
  'version' => '6.00',
1522
  'status' => 'agency',
1523
  'name_clean' => 'marketing-webinar',
1524
  ),
1525
+ 90 =>
1526
  array (
1527
  'type' => 'CSMM PRO',
1528
  'version' => '6.00',
1533
  'status' => 'agency',
1534
  'name_clean' => 'metrics-video',
1535
  ),
1536
+ 91 =>
1537
  array (
1538
  'type' => 'CSMM PRO',
1539
  'version' => '15.17',
1544
  'status' => 'pro',
1545
  'name_clean' => 'misty-forest-video',
1546
  ),
1547
+ 92 =>
1548
  array (
1549
  'type' => 'CSMM PRO',
1550
  'version' => '6.00',
1555
  'status' => 'extra',
1556
  'name_clean' => 'mobile-app',
1557
  ),
1558
+ 93 =>
1559
  array (
1560
  'type' => 'CSMM PRO',
1561
  'version' => '6.00',
1566
  'status' => 'agency',
1567
  'name_clean' => 'mobile-designer',
1568
  ),
1569
+ 94 =>
1570
  array (
1571
  'type' => 'CSMM PRO',
1572
  'version' => '15.17',
1577
  'status' => 'agency',
1578
  'name_clean' => 'mobile-meeting',
1579
  ),
1580
+ 95 =>
1581
  array (
1582
  'type' => 'CSMM PRO',
1583
  'version' => '6.00',
1588
  'status' => 'pro',
1589
  'name_clean' => 'modern-blog',
1590
  ),
1591
+ 96 =>
1592
  array (
1593
  'type' => 'CSMM PRO',
1594
  'version' => '15.05',
1599
  'status' => 'agency',
1600
  'name_clean' => 'modern-office',
1601
  ),
1602
+ 97 =>
1603
  array (
1604
  'type' => 'CSMM PRO',
1605
  'version' => '15.17',
1610
  'status' => 'agency',
1611
  'name_clean' => 'modern-recipes',
1612
  ),
1613
+ 98 =>
1614
  array (
1615
  'type' => 'CSMM PRO',
1616
  'version' => '15.17',
1621
  'status' => 'pro',
1622
  'name_clean' => 'mountain-slide',
1623
  ),
1624
+ 99 =>
1625
  array (
1626
  'type' => 'CSMM PRO',
1627
  'version' => '5.05',
1632
  'status' => 'pro',
1633
  'name_clean' => 'mountain',
1634
  ),
1635
+ 100 =>
1636
  array (
1637
  'type' => 'CSMM PRO',
1638
  'version' => '6.00',
1643
  'status' => 'pro',
1644
  'name_clean' => 'movie-trailer-video',
1645
  ),
1646
+ 101 =>
1647
  array (
1648
  'type' => 'CSMM PRO',
1649
  'version' => '15.17',
1654
  'status' => 'pro',
1655
  'name_clean' => 'music',
1656
  ),
1657
+ 102 =>
1658
  array (
1659
  'type' => 'CSMM PRO',
1660
  'version' => '15.05',
1665
  'status' => 'agency',
1666
  'name_clean' => 'nature',
1667
  ),
1668
+ 103 =>
1669
  array (
1670
  'type' => 'CSMM PRO',
1671
  'version' => '6.00',
1676
  'status' => 'extra',
1677
  'name_clean' => 'non-profit-organization',
1678
  ),
1679
+ 104 =>
1680
  array (
1681
  'type' => 'CSMM PRO',
1682
  'version' => '6.00',
1687
  'status' => 'pro',
1688
  'name_clean' => 'nutritionist',
1689
  ),
1690
+ 105 =>
1691
  array (
1692
  'type' => 'CSMM PRO',
1693
  'version' => '5.14',
1698
  'status' => 'agency',
1699
  'name_clean' => 'office-meeting-video',
1700
  ),
1701
+ 106 =>
1702
  array (
1703
  'type' => 'CSMM PRO',
1704
  'version' => '15.05',
1709
  'status' => 'agency',
1710
  'name_clean' => 'office-theme',
1711
  ),
1712
+ 107 =>
1713
  array (
1714
  'type' => 'CSMM PRO',
1715
  'version' => '15.17',
1720
  'status' => 'pro',
1721
  'name_clean' => 'online-food-delivery',
1722
  ),
1723
+ 108 =>
1724
  array (
1725
  'type' => 'CSMM PRO',
1726
  'version' => '5.005',
1731
  'status' => 'agency',
1732
  'name_clean' => 'online-learning',
1733
  ),
1734
+ 109 =>
1735
  array (
1736
  'type' => 'CSMM PRO',
1737
  'version' => '15.17',
1742
  'status' => 'pro',
1743
  'name_clean' => 'online-shopping',
1744
  ),
1745
+ 110 =>
1746
  array (
1747
  'type' => 'CSMM PRO',
1748
  'version' => '15.17',
1753
  'status' => 'pro',
1754
  'name_clean' => 'organic-cosmetics',
1755
  ),
1756
+ 111 =>
1757
  array (
1758
  'type' => 'CSMM PRO',
1759
  'version' => '6.00',
1764
  'status' => 'pro',
1765
  'name_clean' => 'pancake-house',
1766
  ),
1767
+ 112 =>
1768
  array (
1769
  'type' => 'CSMM PRO',
1770
  'version' => '6.00',
1775
  'status' => 'pro',
1776
  'name_clean' => 'parenting',
1777
  ),
1778
+ 113 =>
1779
  array (
1780
  'type' => 'CSMM PRO',
1781
  'version' => '15.17',
1786
  'status' => 'pro',
1787
  'name_clean' => 'passage',
1788
  ),
1789
+ 114 =>
1790
  array (
1791
  'type' => 'CSMM PRO',
1792
  'version' => '15.17',
1797
  'status' => 'agency',
1798
  'name_clean' => 'peaceful-river',
1799
  ),
1800
+ 115 =>
1801
  array (
1802
  'type' => 'CSMM PRO',
1803
  'version' => '15.17',
1808
  'status' => 'pro',
1809
  'name_clean' => 'personal-trainer',
1810
  ),
1811
+ 116 =>
1812
  array (
1813
  'type' => 'CSMM PRO',
1814
  'version' => '15.17',
1819
  'status' => 'agency',
1820
  'name_clean' => 'photo-studio',
1821
  ),
1822
+ 117 =>
1823
  array (
1824
  'type' => 'CSMM PRO',
1825
  'version' => '15.17',
1830
  'status' => 'agency',
1831
  'name_clean' => 'photography',
1832
  ),
1833
+ 118 =>
1834
  array (
1835
  'type' => 'CSMM PRO',
1836
  'version' => '6.00',
1841
  'status' => 'pro',
1842
  'name_clean' => 'plumbing',
1843
  ),
1844
+ 119 =>
1845
  array (
1846
  'type' => 'CSMM PRO',
1847
  'version' => '6.00',
1852
  'status' => 'extra',
1853
  'name_clean' => 'podcast',
1854
  ),
1855
+ 120 =>
1856
  array (
1857
  'type' => 'CSMM PRO',
1858
  'version' => '6.00',
1863
  'status' => 'extra',
1864
  'name_clean' => 'portfolio',
1865
  ),
1866
+ 121 =>
1867
  array (
1868
  'type' => 'CSMM PRO',
1869
  'version' => '15.17',
1874
  'status' => 'agency',
1875
  'name_clean' => 'restaurant',
1876
  ),
1877
+ 122 =>
1878
  array (
1879
  'type' => 'CSMM PRO',
1880
  'version' => '15.17',
1885
  'status' => 'agency',
1886
  'name_clean' => 'romantic-travels',
1887
  ),
1888
+ 123 =>
1889
  array (
1890
  'type' => 'CSMM PRO',
1891
  'version' => '15.17',
1896
  'status' => 'agency',
1897
  'name_clean' => 'running-blog',
1898
  ),
1899
+ 124 =>
1900
  array (
1901
  'type' => 'CSMM PRO',
1902
  'version' => '15.14',
1907
  'status' => 'pro',
1908
  'name_clean' => 'running-video',
1909
  ),
1910
+ 125 =>
1911
  array (
1912
  'type' => 'CSMM PRO',
1913
  'version' => '6.00',
1918
  'status' => 'agency',
1919
  'name_clean' => 'scholar-university',
1920
  ),
1921
+ 126 =>
1922
  array (
1923
  'type' => 'CSMM PRO',
1924
  'version' => '6.00',
1929
  'status' => 'agency',
1930
  'name_clean' => 'seo-digital-marketing',
1931
  ),
1932
+ 127 =>
1933
  array (
1934
  'type' => 'CSMM PRO',
1935
  'version' => '5.005',
1940
  'status' => 'agency',
1941
  'name_clean' => 'shoes-store',
1942
  ),
1943
+ 128 =>
1944
  array (
1945
  'type' => 'CSMM PRO',
1946
  'version' => '6.00',
1951
  'status' => 'pro',
1952
  'name_clean' => 'simple-beige-design',
1953
  ),
1954
+ 129 =>
1955
  array (
1956
  'type' => 'CSMM PRO',
1957
  'version' => '6.00',
1962
  'status' => 'extra',
1963
  'name_clean' => 'skin-care',
1964
  ),
1965
+ 130 =>
1966
  array (
1967
  'type' => 'CSMM PRO',
1968
  'version' => '15.17',
1973
  'status' => 'agency',
1974
  'name_clean' => 'skincare',
1975
  ),
1976
+ 131 =>
1977
  array (
1978
  'type' => 'CSMM PRO',
1979
  'version' => '6.00',
1984
  'status' => 'pro',
1985
  'name_clean' => 'snow-screensaver-video',
1986
  ),
1987
+ 132 =>
1988
  array (
1989
  'type' => 'CSMM PRO',
1990
  'version' => '15.17',
1995
  'status' => 'pro',
1996
  'name_clean' => 'snowboarding-blog',
1997
  ),
1998
+ 133 =>
1999
  array (
2000
  'type' => 'CSMM PRO',
2001
  'version' => '6.00',
2006
  'status' => 'pro',
2007
  'name_clean' => 'snowy-mountain',
2008
  ),
2009
+ 134 =>
2010
  array (
2011
  'type' => 'CSMM PRO',
2012
  'version' => '15.17',
2017
  'status' => 'pro',
2018
  'name_clean' => 'snowy-oasis',
2019
  ),
2020
+ 135 =>
2021
  array (
2022
  'type' => 'CSMM PRO',
2023
  'version' => '15.17',
2028
  'status' => 'agency',
2029
  'name_clean' => 'social-media-service',
2030
  ),
2031
+ 136 =>
2032
  array (
2033
  'type' => 'CSMM PRO',
2034
  'version' => '6.00',
2039
  'status' => 'extra',
2040
  'name_clean' => 'social-media',
2041
  ),
2042
+ 137 =>
2043
  array (
2044
  'type' => 'CSMM PRO',
2045
  'version' => '15.17',
2050
  'status' => 'agency',
2051
  'name_clean' => 'spa-beauty-studio',
2052
  ),
2053
+ 138 =>
2054
  array (
2055
  'type' => 'CSMM PRO',
2056
  'version' => '15.17',
2061
  'status' => 'agency',
2062
  'name_clean' => 'spa',
2063
  ),
2064
+ 139 =>
2065
  array (
2066
  'type' => 'CSMM PRO',
2067
  'version' => '6.00',
2072
  'status' => 'pro',
2073
  'name_clean' => 'spring-sale',
2074
  ),
2075
+ 140 =>
2076
  array (
2077
  'type' => 'CSMM PRO',
2078
  'version' => '6.00',
2083
  'status' => 'agency',
2084
  'name_clean' => 'spring',
2085
  ),
2086
+ 141 =>
2087
  array (
2088
  'type' => 'CSMM PRO',
2089
  'version' => '15.17',
2094
  'status' => 'pro',
2095
  'name_clean' => 'startup',
2096
  ),
2097
+ 142 =>
2098
  array (
2099
  'type' => 'CSMM PRO',
2100
  'version' => '6.00',
2105
  'status' => 'extra',
2106
  'name_clean' => 'statistics-survey',
2107
  ),
2108
+ 143 =>
2109
  array (
2110
  'type' => 'CSMM PRO',
2111
  'version' => '6.00',
2116
  'status' => 'agency',
2117
  'name_clean' => 'studio-design',
2118
  ),
2119
+ 144 =>
2120
  array (
2121
  'type' => 'CSMM PRO',
2122
  'version' => '15.17',
2127
  'status' => 'pro',
2128
  'name_clean' => 'stylish-workplace',
2129
  ),
2130
+ 145 =>
2131
  array (
2132
  'type' => 'CSMM PRO',
2133
  'version' => '15.17',
2138
  'status' => 'pro',
2139
  'name_clean' => 'tattoo-studio',
2140
  ),
2141
+ 146 =>
2142
  array (
2143
  'type' => 'CSMM PRO',
2144
  'version' => '6.00',
2149
  'status' => 'extra',
2150
  'name_clean' => 'tech',
2151
  ),
2152
+ 147 =>
2153
  array (
2154
  'type' => 'CSMM PRO',
2155
  'version' => '15.17',
2160
  'status' => 'pro',
2161
  'name_clean' => 'techexpo',
2162
  ),
2163
+ 148 =>
2164
  array (
2165
  'type' => 'CSMM PRO',
2166
  'version' => '6.00',
2171
  'status' => 'agency',
2172
  'name_clean' => 'telecommunication',
2173
  ),
2174
+ 149 =>
2175
  array (
2176
  'type' => 'CSMM PRO',
2177
  'version' => '6.00',
2182
  'status' => 'agency',
2183
  'name_clean' => 'the-big-city-newsletter',
2184
  ),
2185
+ 150 =>
2186
  array (
2187
  'type' => 'CSMM PRO',
2188
  'version' => '5.14',
2193
  'status' => 'pro',
2194
  'name_clean' => 'the-sunny-view',
2195
  ),
2196
+ 151 =>
2197
  array (
2198
  'type' => 'CSMM PRO',
2199
  'version' => '15.17',
2204
  'status' => 'agency',
2205
  'name_clean' => 'theatre',
2206
  ),
2207
+ 152 =>
2208
  array (
2209
  'type' => 'CSMM PRO',
2210
  'version' => '5.001',
2215
  'status' => 'pro',
2216
  'name_clean' => 'travel-agency',
2217
  ),
2218
+ 153 =>
2219
  array (
2220
  'type' => 'CSMM PRO',
2221
  'version' => '15.05',
2226
  'status' => 'agency',
2227
  'name_clean' => 'travel-blog',
2228
  ),
2229
+ 154 =>
2230
  array (
2231
  'type' => 'CSMM PRO',
2232
  'version' => '6.00',
2237
  'status' => 'agency',
2238
  'name_clean' => 'tulips',
2239
  ),
2240
+ 155 =>
2241
  array (
2242
  'type' => 'CSMM PRO',
2243
  'version' => '6.00',
2248
  'status' => 'pro',
2249
  'name_clean' => 'valentines-day',
2250
  ),
2251
+ 156 =>
2252
  array (
2253
  'type' => 'CSMM PRO',
2254
  'version' => '5.001',
2259
  'status' => 'pro',
2260
  'name_clean' => 'video-production',
2261
  ),
2262
+ 157 =>
2263
  array (
2264
  'type' => 'CSMM PRO',
2265
  'version' => '15.17',
2270
  'status' => 'agency',
2271
  'name_clean' => 'virtual-assistant-service',
2272
  ),
2273
+ 158 =>
2274
  array (
2275
  'type' => 'CSMM PRO',
2276
  'version' => '15.17',
2281
  'status' => 'pro',
2282
  'name_clean' => 'virtual-reality',
2283
  ),
2284
+ 159 =>
2285
  array (
2286
  'type' => 'CSMM PRO',
2287
  'version' => '6.00',
2292
  'status' => 'pro',
2293
  'name_clean' => 'walking-away-video',
2294
  ),
2295
+ 160 =>
2296
  array (
2297
  'type' => 'CSMM PRO',
2298
  'version' => '6.00',
2303
  'status' => 'extra',
2304
  'name_clean' => 'web-security',
2305
  ),
2306
+ 161 =>
2307
  array (
2308
  'type' => 'CSMM PRO',
2309
  'version' => '5.005',
2314
  'status' => 'agency',
2315
  'name_clean' => 'webinar',
2316
  ),
2317
+ 162 =>
2318
  array (
2319
  'type' => 'CSMM PRO',
2320
  'version' => '5.005',
2325
  'status' => 'agency',
2326
  'name_clean' => 'wedding-blog',
2327
  ),
2328
+ 163 =>
2329
  array (
2330
  'type' => 'CSMM PRO',
2331
  'version' => '6.00',
2336
  'status' => 'extra',
2337
  'name_clean' => 'wedding',
2338
  ),
2339
+ 164 =>
2340
  array (
2341
  'type' => 'CSMM PRO',
2342
  'version' => '15.17',
2347
  'status' => 'pro',
2348
  'name_clean' => 'white-orchids',
2349
  ),
2350
+ 165 =>
2351
  array (
2352
  'type' => 'CSMM PRO',
2353
  'version' => '15.17',
2358
  'status' => 'pro',
2359
  'name_clean' => 'winter-sale',
2360
  ),
2361
+ 166 =>
2362
  array (
2363
  'type' => 'CSMM PRO',
2364
  'version' => '5.14',
2369
  'status' => 'agency',
2370
  'name_clean' => 'working-out',
2371
  ),
2372
+ 167 =>
2373
  array (
2374
  'type' => 'CSMM PRO',
2375
  'version' => '15.05',
2380
  'status' => 'agency',
2381
  'name_clean' => 'workplace',
2382
  ),
2383
+ 168 =>
2384
  array (
2385
  'type' => 'CSMM PRO',
2386
  'version' => '6.00',
2531
  function mtnc_get_background_fileds_action()
2532
  {
2533
  $mt_option = mtnc_get_plugin_options(true);
2534
+ mtnc_generate_image_filed(__('Background Image', 'maintenance'), 'body_bg', 'body_bg', esc_attr($mt_option['body_bg']), 'boxes box-bg', __('Upload Background', 'maintenance'), 'upload_background upload_btn button');
2535
  }
2536
  add_action('mtnc_background_field', 'mtnc_get_background_fileds_action', 10);
2537
 
2538
  function mtnc_get_color_fileds_action()
2539
  {
2540
  $mt_option = mtnc_get_plugin_options(true);
2541
+ mtnc_get_color_field(__('Background Color', 'maintenance'), 'body_bg_color', 'body_bg_color', esc_attr($mt_option['body_bg_color']), '#111111');
2542
+ mtnc_get_color_field(__('Font Color', 'maintenance'), 'font_color', 'font_color', esc_attr($mt_option['font_color']), '#ffffff');
2543
+ mtnc_get_color_field(__('Login Block Background Color', 'maintenance'), 'controls_bg_color', 'controls_bg_color', isset($mt_option['controls_bg_color']) ? esc_attr($mt_option['controls_bg_color']) : '', '#000000');
2544
  }
2545
  add_action('mtnc_color_fields', 'mtnc_get_color_fileds_action', 10);
2546
 
2548
  function mtnc_get_font_fileds_action()
2549
  {
2550
  $mt_option = mtnc_get_plugin_options(true);
2551
+ echo mtnc_get_fonts_field(__('Font Family', 'maintenance'), 'body_font_family', 'body_font_family', esc_attr($mt_option['body_font_family'])); // phpcs:ignore WordPress.Security.EscapeOutput
2552
  $subset = '';
2553
 
2554
  if (!empty($mt_option['body_font_subset'])) {
js/init.js CHANGED
@@ -114,6 +114,15 @@ jQuery(window).ready(function($) {
114
  return false;
115
  });
116
 
 
 
 
 
 
 
 
 
 
117
  // upsell dialog init
118
  $('#weglot-upsell-dialog').dialog({'dialogClass': 'wp-dialog weglot-upsell-dialog',
119
  'modal': 1,
@@ -288,7 +297,7 @@ jQuery(window).ready(function($) {
288
  /*'Cancel': function() {
289
  dialogForNewInfo.dialog( "close" );
290
  },*/
291
-
292
  },
293
  close: function() {
294
  dialogForNewInfoForm[ 0 ].reset();
@@ -347,6 +356,3 @@ function getTimestamp(strDate){
347
  function stopDialogInterval() {
348
  clearInterval(dialogCheckIntervalHandler);
349
  }
350
-
351
-
352
-
114
  return false;
115
  });
116
 
117
+ $('#smush_support').on('click change', function(e) {
118
+ e.preventDefault();
119
+ $(this).prop("checked", false);
120
+
121
+ $('.smush-thickbox').first().trigger('click');
122
+
123
+ return false;
124
+ });
125
+
126
  // upsell dialog init
127
  $('#weglot-upsell-dialog').dialog({'dialogClass': 'wp-dialog weglot-upsell-dialog',
128
  'modal': 1,
297
  /*'Cancel': function() {
298
  dialogForNewInfo.dialog( "close" );
299
  },*/
300
+
301
  },
302
  close: function() {
303
  dialogForNewInfoForm[ 0 ].reset();
356
  function stopDialogInterval() {
357
  clearInterval(dialogCheckIntervalHandler);
358
  }
 
 
 
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: 3.96
7
  Author: WebFactory Ltd
8
  Author URI: https://www.webfactoryltd.com/
9
  License: GPL2
@@ -24,6 +24,9 @@
24
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25
  */
26
 
 
 
 
27
  class MTNC
28
  {
29
  public function __construct()
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: 3.97
7
  Author: WebFactory Ltd
8
  Author URI: https://www.webfactoryltd.com/
9
  License: GPL2
24
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25
  */
26
 
27
+ require_once 'wp301/wp301.php';
28
+ new wf_wp301(__FILE__, 'toplevel_page_maintenance');
29
+
30
  class MTNC
31
  {
32
  public function __construct()
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.5
6
- Stable tag: 3.96
7
  Requires PHP: 5.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -87,6 +87,11 @@ Please post the question on the <a href="http://wordpress.org/support/plugin/mai
87
 
88
  == Changelog ==
89
 
 
 
 
 
 
90
  = v3.96 =
91
  - 2020/08/19
92
  - "headers already sent" bug fixed
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.6
6
+ Stable tag: 3.97
7
  Requires PHP: 5.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
87
 
88
  == Changelog ==
89
 
90
+ = v3.97 =
91
+ - 2020/10/02
92
+ - minor fixes
93
+ - added promo for WP 301 Redirects
94
+
95
  = v3.96 =
96
  - 2020/08/19
97
  - "headers already sent" bug fixed
wp301/wp301-logo.png ADDED
Binary file
wp301/wp301.js ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Campaign for WP 301 Redirects PRO
3
+ * (c) WebFactory Ltd, 2020
4
+ */
5
+
6
+ jQuery(document).ready(function ($) {
7
+ $('#wp301promo_dismiss').on('click', function (e) {
8
+ e.preventDefault();
9
+
10
+ var slug = $(this).data('plugin-slug');
11
+
12
+ $.get({
13
+ url: ajaxurl,
14
+ data: {
15
+ action: 'wp301_promo_dismiss',
16
+ slug: slug,
17
+ _ajax_nonce: wp301_promo.nonce_wp301_promo_dismiss,
18
+ },
19
+ })
20
+ .always(function (data) {})
21
+ .done(function (data) {
22
+ if (data.success) {
23
+ if (slug == 'dashboard') {
24
+ $('#wp301promo_widget').hide();
25
+ } else {
26
+ $('#wp301-dialog').dialog('close');
27
+ }
28
+ } else {
29
+ alert('Sorry, something is not right. Please reload the page and try again.');
30
+ }
31
+ })
32
+ .fail(function (data) {
33
+ alert('Sorry, something is not right. Please reload the page and try again.');
34
+ });
35
+ }); // dismiss
36
+
37
+
38
+ $('#wp301promo_submit').on('click', function (e) {
39
+ e.preventDefault();
40
+
41
+ var btn = $('#wp301promo_submit');
42
+ var name = $('#wp301promo_name').val();
43
+ var email = $('#wp301promo_email').val();
44
+ var plugin = $('#wp301promo_plugin').val();
45
+ var position = $('#wp301promo_position').val();
46
+ var regex = /^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/;
47
+
48
+ if (name.length < 2 || name.length > 128) {
49
+ $('#wp301promo_name').focus();
50
+ alert('Please enter your name. Thank you 👍');
51
+ return false;
52
+ }
53
+ if (!regex.test(email) || email.lenght > 128) {
54
+ $('#wp301promo_email').focus();
55
+ alert('Please enter a valid email address. Thank you 👍');
56
+ return false;
57
+ }
58
+
59
+ $(btn).addClass('disabled');
60
+ $.get({
61
+ url: ajaxurl,
62
+ data: {
63
+ action: 'wp301_promo_submit',
64
+ _ajax_nonce: wp301_promo.nonce_wp301_promo_submit,
65
+ name: name,
66
+ email: email,
67
+ position: position,
68
+ plugin: plugin,
69
+ },
70
+ })
71
+ .always(function (data) {
72
+ $(btn).removeClass('disabled');
73
+ })
74
+ .done(function (data) {
75
+ if (data.success) {
76
+ alert(data.data);
77
+
78
+ if (position == 'dashboard') {
79
+ $('#wp301promo_widget').hide();
80
+ } else {
81
+ $('#wp301-dialog').dialog('close');
82
+ }
83
+ } else {
84
+ alert(data.data);
85
+ }
86
+ })
87
+ .fail(function (data) {
88
+ alert('Sorry, something is not right. Please reload the page and try again.');
89
+ });
90
+ });
91
+
92
+
93
+ $('#wp301promo_name, #wp301promo_email').on('keypress', function (e) {
94
+ if (e.which == 13) {
95
+ $('#wp301promo_submit').trigger('click');
96
+ }
97
+ }); // on enter
98
+
99
+
100
+ if (wp301_promo.open_popup && $('#wp301-dialog').length == 1) {
101
+ $('#wp301-dialog').dialog({
102
+ dialogClass: 'wp-dialog wp301-dialog',
103
+ modal: true,
104
+ resizable: false,
105
+ width: 550,
106
+ height: 'auto',
107
+ show: 'fade',
108
+ hide: 'fade',
109
+ close: function (event, ui) {},
110
+ open: function (event, ui) {
111
+ $(this)
112
+ .siblings()
113
+ .find('span.ui-dialog-title')
114
+ .html('Get a WP 301 Redirects PRO license for FREE <del>$158</del>');
115
+ wp301_fix_dialog_close(event, ui);
116
+ },
117
+ autoOpen: true,
118
+ closeOnEscape: false,
119
+ });
120
+ } // open dialog
121
+ }); // jQuery ready
122
+
123
+
124
+ function wp301_fix_dialog_close(event, ui) {
125
+ jQuery('.ui-widget-overlay').bind('click', function () {
126
+ jQuery('#' + event.target.id).dialog('close');
127
+ });
128
+ } // wp301_fix_dialog_close
wp301/wp301.php ADDED
@@ -0,0 +1,295 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Campaign for WP 301 Redirects PRO
5
+ * (c) WebFactory Ltd, 2020
6
+ */
7
+
8
+
9
+ if (false == class_exists('wf_wp301')) {
10
+ class wf_wp301
11
+ {
12
+ var $plugin_file = '';
13
+ var $plugin_slug = '';
14
+ var $plugin_screen = '';
15
+ var $options = '';
16
+ var $disable_dashboard = true;
17
+
18
+
19
+ function __construct($plugin_file, $plugin_screen)
20
+ {
21
+ $this->plugin_file = $plugin_file;
22
+ $this->plugin_slug = basename(dirname($plugin_file));
23
+ $this->plugin_screen = $plugin_screen;
24
+ $this->options = get_option('wp301promo', array());
25
+
26
+ if (!is_admin() || !empty($this->options['email_submitted']) || date('Y-m-d') > '2020-12-15') {
27
+ return;
28
+ } else {
29
+ add_action('admin_init', array($this, 'init'));
30
+ }
31
+ } // __construct
32
+
33
+
34
+ function init()
35
+ {
36
+ add_action('wp_dashboard_setup', array($this, 'add_widget'));
37
+ add_action('admin_enqueue_scripts', array($this, 'admin_enqueue_scripts'));
38
+ add_action('wp_ajax_wp301_promo_submit', array($this, 'ajax_submit'));
39
+ add_action('wp_ajax_wp301_promo_dismiss', array($this, 'ajax_dismiss'));
40
+ add_action('admin_footer', array($this, 'admin_footer'));
41
+ } // init
42
+
43
+
44
+ function admin_enqueue_scripts()
45
+ {
46
+ $screen = get_current_screen();
47
+
48
+ if ($screen->base != 'dashboard' && $screen->id != $this->plugin_screen) {
49
+ return;
50
+ }
51
+
52
+ if ($screen->base == 'dashboard' && (!empty($this->options['popup_dismissed_dashboard']) || !empty($this->disable_dashboard))) {
53
+ return;
54
+ }
55
+
56
+ if ($screen->id == $this->plugin_screen) {
57
+ wp_enqueue_style('wp-jquery-ui-dialog');
58
+ wp_enqueue_script('jquery-ui-dialog');
59
+ }
60
+
61
+ wp_enqueue_script('wp301_promo', plugin_dir_url($this->plugin_file) . 'wp301/wp301.js');
62
+
63
+ $js_vars = array(
64
+ 'nonce_wp301_promo_submit' => wp_create_nonce('wp301_submit'),
65
+ 'nonce_wp301_promo_dismiss' => wp_create_nonce('wp301_dismiss'),
66
+ );
67
+
68
+ if (empty($this->options['popup_dismissed_' . $this->plugin_slug])) {
69
+ $js_vars['open_popup'] = true;
70
+ }
71
+
72
+ wp_localize_script('wp301_promo', 'wp301_promo', $js_vars);
73
+ } // admin_enqueue_scripts
74
+
75
+
76
+ function ajax_dismiss()
77
+ {
78
+ if (!wp_verify_nonce(@$_GET['_ajax_nonce'], 'wp301_dismiss')) {
79
+ wp_send_json_error('Something is not right. Please reload the page and try again.');
80
+ }
81
+
82
+ $slug = substr(strip_tags(trim(@$_GET['slug'])), 0, 64);
83
+
84
+ $this->options['popup_dismissed_' . $slug] = true;
85
+ $tmp = update_option('wp301promo', $this->options);
86
+
87
+ if ($tmp) {
88
+ wp_send_json_success();
89
+ } else {
90
+ wp_send_json_error();
91
+ }
92
+ } // ajax_dismiss
93
+
94
+
95
+ function ajax_submit()
96
+ {
97
+ if (!wp_verify_nonce(@$_GET['_ajax_nonce'], 'wp301_submit')) {
98
+ wp_send_json_error('Something is not right. Please reload the page and try again.');
99
+ }
100
+
101
+ $email = strip_tags(trim(@$_GET['email']));
102
+ $name = strip_tags(trim(@$_GET['name']));
103
+ $plugin = strip_tags(trim(@$_GET['plugin'])) . '-' . strip_tags(trim(@$_GET['position']));
104
+
105
+ if (!is_email($email)) {
106
+ wp_send_json_error('Please enter a valid email address.');
107
+ }
108
+
109
+ $url = add_query_arg(array('name' => $name, 'email' => $email, 'plugin' => $plugin), 'https://wp301redirects.com/subscribe/');
110
+
111
+ $response = wp_remote_get($url, array('timeout' => 25));
112
+
113
+ if (is_wp_error($response)) {
114
+ wp_send_json_error('Something is not right. Please reload the page and try again.');
115
+ }
116
+
117
+ $body = @json_decode(wp_remote_retrieve_body($response), true);
118
+ if (empty($body['success'])) {
119
+ wp_send_json_error('Something is not right. Please reload the page and try again.');
120
+ }
121
+
122
+ $this->options['email_submitted'] = true;
123
+ update_option('wp301promo', $this->options);
124
+ wp_send_json_success('Thank you for trusting us with your email! You\'ll hear from us soon 🚀');
125
+ } // ajax_submit
126
+
127
+
128
+ function add_widget()
129
+ {
130
+ if (!empty($this->options['popup_dismissed_dashboard']) || !empty($this->disable_dashboard)) {
131
+ return;
132
+ }
133
+
134
+ add_meta_box('wp301promo_widget', 'Get a WP 301 Redirects PRO license for FREE <del>$158</del>', array($this, 'widget_content'), 'dashboard', 'side', 'high');
135
+ } // add_widget
136
+
137
+
138
+ function widget_content()
139
+ {
140
+ $out = '';
141
+
142
+ $out .= '<style>';
143
+ $out .= '#wp301promo_widget .disabled { pointer-events: none; }';
144
+ $out .= '#wp301promo_widget label { font-weight: normal; display: inline-block; width: 15%; margin-bottom: 10px; }';
145
+ $out .= '#wp301promo_widget input { width: 74%; margin-bottom: 10px; }';
146
+ $out .= '#wp301promo_widget .button-primary { padding: 14px 28px; text-decoration: none; line-height: 1; }';
147
+ $out .= '#wp301promo_dismiss { font-style: italic; display: inline-block; color: #444; text-decoration: none; margin: 8px 0 0 0; }';
148
+ $out .= '#wp301promo_dismiss:hover { text-decoration: underline; }';
149
+ $out .= '#wp301promo_widget, #wp301promo_widget p { font-size: 14px; }';
150
+ $out .= '#wp301promo_widget .title301 { font-weight: 600; margin: 10px 0 -10px 0; }';
151
+ $out .= '#wp301promo_widget img { max-width: 45%; max-height: 80px; }';
152
+ $out .= '#wp301promo_widget .center { text-align: center; }';
153
+ $out .= '#wp301promo_email { margin-bottom: 0 !important; }';
154
+ $out .= '#wp301promo_widget { background-color: #fafafa; }';
155
+ $out .= '#wp301promo_widget li a { text-decoration: underline; }';
156
+ $out .= '#wp301promo_widget .wp301inside { padding: 25px 12px 0px 12px; position: relative; }';
157
+ $out .= '#wp301promo_widget p { margin-top: 14px; line-height: 1.5; }';
158
+ $out .= '#wp301promo_widget small { margin-left: 17%; }';
159
+ $out .= '#wp301promo_widget ul { font-size: 14px; margin: 0 0 20px 0; list-style-type: disc; list-style-position: inside; }';
160
+ $out .= '#wp301promo_widget li { margin-bottom: 3px; }';
161
+ $out .= '#wp301promo_submit span { display: none; text-decoration: none; margin-right: 10px; animation: wf-spin-animation 1.5s infinite linear; }';
162
+ $out .= '#wp301promo_submit.disabled span { display: inline-block; }';
163
+ $out .= '@keyframes wf-spin-animation {
164
+ from { transform: rotate(0deg); }
165
+ to { transform: rotate(360deg); }
166
+ }';
167
+ $out .= '#wp301promo_widget .inside { overflow: hidden; margin: 0; }
168
+ #wp301promo_widget .ribbon { margin: 0; padding: 11px 20px 10px 20px; background: #007cba; color: #FFF; font-weight: 800; position: absolute; top: -17px; right: -17px; transform: translateX(30%) translateY(0%) rotate(45deg); transform-origin: top left; letter-spacing: 1px; }
169
+ #wp301promo_widget .ribbon:before, #wp301promo_widget .ribbon:after { content: ""; position: absolute; top:0; margin: 0 -1px; width: 100%; height: 100%; background: #007cba; }
170
+ #wp301promo_widget .ribbon:before { right:100%; }
171
+ #wp301promo_widget .ribbon:after { left:100%; }';
172
+ $out .= '</style>';
173
+
174
+ $plugin_url = plugin_dir_url($this->plugin_file);
175
+
176
+ $out .= '<div class="ribbon">FREE</div>';
177
+ $out .= '<div class="wp301inside">';
178
+
179
+ $out .= '<div class="center"><a href="https://wp301redirects.com/free-license/?ref=free-' . $this->plugin_slug . '-dashboard" target="_blank"><img src="' . $plugin_url . 'wp301/wp301-logo.png' . '" alt="WP 301 Redirects PRO" title="WP 301 Redirects PRO"></a></div>';
180
+
181
+ $out .= '<p>On November 6th <a href="https://www.webfactoryltd.com/" target="_blank">WebFactory Ltd</a> will give away a limited number of lifetime WP 301 Redirect PRO licenses, <b>each for 10 sites</b>. A $158 retail value! 🚀 Leave your email, we\'ll send you a link &amp; download your copy.</p><p style="margin-bottom: 0;"><b>What do I get?</b></p>';
182
+
183
+ $out .= '<ul>';
184
+ $out .= '<li>Automatically fix 404 errors &amp; URL typos</li>';
185
+ $out .= '<li>Create advanced redirect rules &amp; control affiliate links</li>';
186
+ $out .= '<li>Detailed log of all redirects &amp; 404s</li>';
187
+ $out .= '<li>Manage all sites\' licenses from a central Dashboard</li>';
188
+ $out .= '<li>Lifetime license for 10 sites. <a href="https://wp301redirects.com/free-license/?ref=free-' . $this->plugin_slug . '-dashboard" target="_blank">See all features</a></li>';
189
+ $out .= '</ul>';
190
+
191
+ $out .= '
192
+ <div>
193
+ <label for="wp301promo_name">Name:</label>
194
+ <input type="text" name="wp301promo_name" id="wp301promo_name" placeholder="How shall we call you?"><br>
195
+ <label for="wp301promo_email">Email:</label>
196
+ <input type="text" name="wp301promo_email" id="wp301promo_email" placeholder="Your best email address to get the plugin"><br>
197
+ <small>We hate spam as much as you do and never send it!</small>
198
+ <input type="hidden" id="wp301promo_plugin" value="' . $this->plugin_slug . '">
199
+ <input type="hidden" id="wp301promo_position" value="dashboard">
200
+ </div>
201
+
202
+ <p class="center">
203
+ <a id="wp301promo_submit" class="button button-primary" href="#"><span class="dashicons dashicons-update"></span>I Want My FREE License <del>$158</del></a><br>
204
+ <a id="wp301promo_dismiss" class="" href="#" data-plugin-slug="dashboard">I don\'t want a free license; don\'t show this again</a>
205
+ </p>
206
+ </div>';
207
+
208
+ echo $out;
209
+ } // widget_content
210
+
211
+
212
+ function admin_footer()
213
+ {
214
+ $screen = get_current_screen();
215
+ if ($screen->id != $this->plugin_screen) {
216
+ return;
217
+ }
218
+
219
+ $out = '';
220
+
221
+ $out .= '<style>';
222
+ $out .= '#wp301promo_widget .disabled { pointer-events: none; }';
223
+ $out .= '.wp301-dialog .ui-dialog-titlebar-close { visibility: hidden; }';
224
+ $out .= '#wp301-dialog label { font-weight: normal; display: inline-block; width: 15%; margin-bottom: 10px; }';
225
+ $out .= '#wp301-dialog input { width: 74%; margin-bottom: 10px; }';
226
+ $out .= '#wp301-dialog .button-primary { padding: 14px 28px; text-decoration: none; line-height: 1; }';
227
+ $out .= '#wp301-dialog, #wp301-dialog p { font-size: 14px; }';
228
+ $out .= '#wp301-dialog .title301 { font-size: 1.3em; font-weight: 600; margin: 10px 0 -10px 0; }';
229
+ $out .= '#wp301-dialog img { max-width: 60%; }';
230
+ $out .= '#wp301-dialog li a { text-decoration: underline; }';
231
+ $out .= '#wp301-dialog small { margin-left: 16%; }';
232
+ $out .= '#wp301-dialog .center { text-align: center; }';
233
+ $out .= '#wp301-dialog, .wp301-dialog .ui-dialog-titlebar { background-color: #fafafa; }';
234
+ $out .= '#wp301-dialog .wp301inside { padding: 12px 12px 0px 12px; }';
235
+ $out .= '#wp301-dialog p { margin-top: 14px; line-height: 1.5; }';
236
+ $out .= '#wp301-dialog ul { margin: 0 0 20px 0; list-style-type: disc; list-style-position: inside; }';
237
+ $out .= '#wp301-dialog li { margin-bottom: 3px; }';
238
+ $out .= '#wp301promo_dismiss { display: inline-block; color: #444; text-decoration: none; margin: 8px 0 0 0; }';
239
+ $out .= '#wp301promo_dismiss:hover { text-decoration: underline; }';
240
+ $out .= '#wp301promo_submit span { display: none; text-decoration: none; margin-right: 10px; animation: wf-spin-animation 1.5s infinite linear; }';
241
+ $out .= '#wp301promo_submit.disabled span { display: inline-block; }';
242
+ $out .= '@keyframes wf-spin-animation {
243
+ from { transform: rotate(0deg); }
244
+ to { transform: rotate(360deg); }
245
+ }';
246
+ $out .= '#wp301-dialog .inside { overflow: hidden; margin: 0; }
247
+ #wp301-dialog .ribbon { margin: 0; padding: 11px 20px 10px 20px; background: #007cba; color: #FFF; font-weight: 800; position: absolute; top: -17px; right: -17px; transform: translateX(30%) translateY(0%) rotate(45deg); transform-origin: top left; letter-spacing: 1px; }
248
+ #wp301-dialog .ribbon:before, #wp301-dialog .ribbon:after { content: ""; position: absolute; top:0; margin: 0 -1px; width: 100%; height: 100%; background: #007cba; }
249
+ #wp301-dialog .ribbon:before { right:100%; }
250
+ #wp301-dialog .ribbon:after { left:100%; }';
251
+ $out .= '</style>';
252
+
253
+ $out .= '<div id="wp301-dialog" style="display: none;" title="Get a WP 301 Redirects PRO license for FREE"><span class="ui-helper-hidden-accessible"><input type="text"/></span>';
254
+
255
+ $plugin_url = plugin_dir_url($this->plugin_file);
256
+
257
+ $out .= '<div class="wp301inside">';
258
+ $out .= '<div class="ribbon">FREE</div>';
259
+
260
+ $out .= '<div class="center"><a href="https://wp301redirects.com/free-license/?ref=free-' . $this->plugin_slug . '-popup" target="_blank"><img src="' . $plugin_url . 'wp301/wp301-logo.png' . '" alt="WP 301 Redirects PRO" title="WP 301 Redirects PRO"></a></div>';
261
+
262
+ $out .= '<p><a href="https://www.webfactoryltd.com/" target="_blank">WebFactory Ltd</a> is giving away a limited number of lifetime WP 301 Redirect PRO licenses, <b>each for 10 sites</b>. A $158 retail value! 🚀 Leave your email, we\'ll send you a link in a few moments &amp; download your copy for free.</p><p style="margin-bottom: 0;"><b>What do I get?</b></p>';
263
+
264
+ $out .= '<ul>';
265
+ $out .= '<li>Automatically fix 404 errors &amp; URL typos</li>';
266
+ $out .= '<li>Create advanced redirect rules &amp; control affiliate links</li>';
267
+ $out .= '<li>Detailed log of all redirects &amp; 404s</li>';
268
+ $out .= '<li>Manage all sites\' licenses from a central Dashboard</li>';
269
+ $out .= '<li>Lifetime license for 10 sites. <a href="https://wp301redirects.com/free-license/?ref=free-' . $this->plugin_slug . '-popup" target="_blank">See all features</a></li>';
270
+ $out .= '</ul>';
271
+
272
+ $out .= '
273
+ <div>
274
+ <label for="wp301promo_name">Name:</label>
275
+ <input type="text" name="wp301promo_name" id="wp301promo_name" placeholder="How shall we call you?"><br>
276
+ <label for="wp301promo_email">Email:</label>
277
+ <input type="text" name="wp301promo_email" id="wp301promo_email" placeholder="Your best email address to get the plugin"><br>
278
+ <small>We hate spam as much as you do and never send it!</small>
279
+ <input type="hidden" id="wp301promo_plugin" value="' . $this->plugin_slug . '">
280
+ <input type="hidden" id="wp301promo_position" value="popup">
281
+ </div>
282
+
283
+ <p class="center">
284
+ <a id="wp301promo_submit" class="button button-primary" href="#"><span class="dashicons dashicons-update"></span>I Want My FREE License <del>$158</del></a><br>
285
+ <a id="wp301promo_dismiss" class="" href="#" data-plugin-slug="' . $this->plugin_slug . '">I don\'t want a free license; don\'t show this again</a>
286
+ </p>
287
+
288
+ </div>';
289
+
290
+ $out .= '</div>';
291
+
292
+ echo $out;
293
+ } // wp_footer
294
+ } // wf_wp301
295
+ }