Minimal Coming Soon & Maintenance Mode - Version 2.10

Version Description

  • 2019-11-11
  • minor fixes
  • removed NotificationX integration
Download this release

Release Info

Developer WebFactory
Plugin Icon 128x128 Minimal Coming Soon & Maintenance Mode
Version 2.10
Comparing to
See all releases

Code changes from version 2.07 to 2.10

framework/admin/css/admin.css CHANGED
@@ -1258,6 +1258,7 @@ input.color, input.jscolor {
1258
  display: inline-block;
1259
  font-style: italic;
1260
  margin: 0 -5px 0 -5px;
 
1261
  }
1262
  #pricing-table .promo-button small {
1263
  font-size: x-small;
@@ -1460,132 +1461,10 @@ option.mailoptin-promo {
1460
  border: none;
1461
  }
1462
 
1463
- /* notificationx upsell dialog */
1464
- .notificationx-upsell-dialog .ui-dialog-titlebar {
1465
- background: #5614d5;
1466
- text-align: center;
1467
- height: 55px;
1468
- }
1469
- .notificationx-upsell-dialog .ui-dialog-titlebar img {
1470
- height: 32px;
1471
- display: inline-block;
1472
- margin: 11px 0 0 0;
1473
- }
1474
- .notificationx-upsell-dialog .ui-dialog-titlebar-close {
1475
- color: #fff;
1476
- height: 55px;
1477
- }
1478
- .notificationx-upsell-dialog .ui-dialog-titlebar-close:hover {
1479
- color: #333;
1480
- }
1481
- .notificationx-upsell-dialog .ui-dialog-content {
1482
- padding: 0;
1483
- }
1484
- .notificationx-upsell-dialog .ui-tabs-nav {
1485
- text-align: center;
1486
- }
1487
- .notificationx-upsell-dialog .ui-tabs .upsell-tab {
1488
- padding: 20px 15px;
1489
- text-align: center;
1490
- }
1491
- .notificationx-upsell-dialog a {
1492
- color: #333;
1493
- }
1494
- .notificationx-upsell-dialog a:hover {
1495
- color: #000;
1496
- }
1497
- option.notificationx-promo {
1498
- color: #2980b9;
1499
- }
1500
- .notificationx-pro-feature {
1501
- display: inline-block;
1502
- width: 32%;
1503
- background: rgba(128, 128, 128, 0.03);
1504
- margin: 0 5px 20px 5px;
1505
- padding: 10px;
1506
- box-sizing: border-box;
1507
- vertical-align: top;
1508
- position: relative;
1509
- border-top: 1px solid #2980b9;
1510
- }
1511
- /* upsell dialog */
1512
-
1513
- #notificationx-popup {
1514
- position: fixed;
1515
- width: 240px;
1516
- bottom: 90px;
1517
- right: 40px;
1518
- border: 1px solid #d4d4d4;
1519
- padding: 16px;
1520
- background: #FFF;
1521
- display: none;
1522
- -webkit-box-shadow: 0px 0px 16px 0px rgba(0,0,0,0.25);
1523
- -moz-box-shadow: 0px 0px 16px 0px rgba(0,0,0,0.25);
1524
- box-shadow: 0px 0px 16px 0px rgba(0,0,0,0.25);
1525
- border-radius: 4px;
1526
- z-index:99999;
1527
- }
1528
-
1529
- #notificationx-popup:hover{
1530
- cursor: pointer;
1531
- }
1532
-
1533
- #notificationx-popup img{
1534
- width:48px;
1535
- }
1536
-
1537
- .settings_page_maintenance_mode_options .notificationx-popup-icon {
1538
- background: #efefff;
1539
- padding: 6px 4px 0px 4px;
1540
- width: 48px;
1541
- float: left;
1542
- margin-right: 10px;
1543
- }
1544
-
1545
- .settings_page_maintenance_mode_options .notificationx-popup-text {
1546
- float: left;
1547
- font-weight: bold;
1548
- }
1549
-
1550
- .settings_page_maintenance_mode_options .notificationx-popup-title {
1551
- color: #6138bd;
1552
- font-size: 18px;
1553
- font-weight: bold;
1554
- padding: 5px 0px;
1555
- }
1556
-
1557
- .settings_page_maintenance_mode_options .notificationx-popup-stars .dashicons-star-filled {
1558
- color:#ecac57;
1559
- font-size: 14px;
1560
- }
1561
-
1562
- .settings_page_maintenance_mode_options .notitificationx-popup-desc {
1563
- width: 100%;
1564
- display: block;
1565
- clear: both;
1566
- padding: 4px 0;
1567
- }
1568
-
1569
- .settings_page_maintenance_mode_options .notificationx-popup-close {
1570
- position: absolute;
1571
- top: 4px;
1572
- right: 6px;
1573
- }
1574
-
1575
- .settings_page_maintenance_mode_options .notificationx-popup-close .dashicons {
1576
- font-size: 24px;
1577
- }
1578
-
1579
- .settings_page_maintenance_mode_options .notificationx-popup-close:hover {
1580
- color:#CCC;
1581
- cursor: pointer;
1582
- }
1583
-
1584
  .settings_page_maintenance_mode_options .put-dismiss-notice {
1585
  display: none;
1586
  }
1587
 
1588
-
1589
  .csmm-list {
1590
  list-style-type: circle;
1591
  list-style-position: outside;
1258
  display: inline-block;
1259
  font-style: italic;
1260
  margin: 0 -5px 0 -5px;
1261
+ font-weight: 400;
1262
  }
1263
  #pricing-table .promo-button small {
1264
  font-size: x-small;
1461
  border: none;
1462
  }
1463
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1464
  .settings_page_maintenance_mode_options .put-dismiss-notice {
1465
  display: none;
1466
  }
1467
 
 
1468
  .csmm-list {
1469
  list-style-type: circle;
1470
  list-style-position: outside;
framework/admin/img/nx-icon.png DELETED
Binary file
framework/admin/img/nx-logo.png DELETED
Binary file
framework/admin/img/themes/pro/black-friday.jpg ADDED
Binary file
framework/admin/img/themes/pro/hosting.jpg ADDED
Binary file
framework/admin/img/themes/pro/metrics-video.jpg ADDED
Binary file
framework/admin/include/nx.php DELETED
@@ -1,76 +0,0 @@
1
- <?php
2
-
3
- if (!defined('WPINC')) {
4
- die;
5
- }
6
-
7
- // check if NotificationX plugin is active
8
- function csmm_is_notificationx_really_setup_and_active() {
9
- if (!function_exists('is_plugin_active') || !function_exists('get_plugin_data')) {
10
- require_once ABSPATH . 'wp-admin/includes/plugin.php';
11
- }
12
-
13
- if (is_plugin_active('notificationx/notificationx.php') && version_compare(NOTIFICATIONX_VERSION,'1.0.3','>=')) {
14
- return true;
15
- } else {
16
- return false;
17
- }
18
- } // is_notificationx_really_setup_and_active
19
-
20
-
21
- // auto download / install / activate MailOptin plugin
22
- function csmm_install_notificationx() {
23
- if (false === current_user_can('administrator')) {
24
- wp_die('Sorry, you have to be an admin to run this action.');
25
- }
26
-
27
- $plugin_slug = 'notificationx/notificationx.php';
28
- $plugin_zip = 'https://downloads.wordpress.org/plugin/notificationx.latest-stable.zip';
29
-
30
- @include_once ABSPATH . 'wp-admin/includes/plugin.php';
31
- @include_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
32
- @include_once ABSPATH . 'wp-admin/includes/plugin-install.php';
33
- @include_once ABSPATH . 'wp-admin/includes/file.php';
34
- @include_once ABSPATH . 'wp-admin/includes/misc.php';
35
- echo '<style>
36
- body{
37
- font-family: sans-serif;
38
- font-size: 14px;
39
- line-height: 1.5;
40
- color: #444;
41
- }
42
- </style>';
43
-
44
- echo '<div style="margin: 20px; color:#444;">';
45
- echo 'If things are not done in a minute <a target="_parent" href="' . admin_url('plugin-install.php?s=notificationx&tab=search&type=term') .'">install the plugin manually via Plugins page</a><br><br>';
46
- echo 'Starting ...<br><br>';
47
-
48
- wp_cache_flush();
49
- $upgrader = new Plugin_Upgrader();
50
- echo 'Check if NotificationX is already installed ... <br />';
51
- if (csmm_is_plugin_installed($plugin_slug)) {
52
- echo 'NotificationX is already installed! <br /><br />Making sure it\'s the latest version.<br />';
53
- $upgrader->upgrade($plugin_slug);
54
- $installed = true;
55
- } else {
56
- echo 'Installing NotificationX.<br />';
57
- $installed = $upgrader->install($plugin_zip);
58
- }
59
- wp_cache_flush();
60
-
61
- if (!is_wp_error($installed) && $installed) {
62
- echo 'Activating NotificationX.<br />';
63
- $activate = activate_plugin($plugin_slug);
64
-
65
- if (is_null($activate)) {
66
- echo 'NotificationX Activated.<br />';
67
-
68
- echo '<script>setTimeout(function() { top.location = "options-general.php?page=maintenance_mode_options"; }, 1000);</script>';
69
- echo '<br>If you are not redirected in a few seconds - <a href="options-general.php?page=maintenance_mode_options" target="_parent">click here</a>.';
70
- }
71
- } else {
72
- echo 'Could not install NotificationX. You\'ll have to <a target="_parent" href="' . admin_url('plugin-install.php?s=notificationx&tab=search&type=term') .'">download and install manually</a>.';
73
- }
74
-
75
- echo '</div>';
76
- } // install_notificationx
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
framework/admin/init.php CHANGED
@@ -24,10 +24,8 @@ function csmm_add_menu() {
24
  );
25
 
26
  // Loading the JS conditionally
27
- delete_transient('_nx_meta_activation_notice');
28
  add_action( 'load-' . $signals_csmm_menu, 'csmm_load_scripts' );
29
  add_action( 'admin_action_csmm_install_mailoptin', 'csmm_install_mailoptin' );
30
- add_action( 'admin_action_install_notificationx', 'csmm_install_notificationx');
31
  }
32
 
33
  }
@@ -130,8 +128,6 @@ function csmm_admin_scripts() {
130
  'mm_mo_title' => '<img alt="' . __('MailOptin', 'signals') . '" title="' . __('MailOptin', 'signals') . '" src="' . CSMM_URL . '/framework/admin/img/mailoptin-logo-white.png' . '">',
131
  'mm_mo_install_url' => add_query_arg( array('action' => 'csmm_install_mailoptin'), admin_url('admin.php') ),
132
  'mm_images' => array('ad_themes.png', 'joshua-coleman-1476380-unsplash.jpg', 'joshua-coleman-623077-unsplash.jpg', 'samuel-zeller-379406-unsplash.jpg', 'ad_more-images.png', 'william-daigneault-733670-unsplash.jpg', 'yuriy-bogdanov-428617-unsplash.jpg', 'john-cobb-13961-unsplash.jpg', 'aaron-burden-189321-unsplash.jpg', 'alberto-restifo-4510-unsplash.jpg', 'amy-humphries-227515-unsplash.jpg', 'anders-jilden-89745-unsplash.jpg', 'art-by-lonfeldt-1064207-unsplash.jpg', 'brenda-godinez-229718-unsplash.jpg', 'ad_more-images.png', 'brooke-lark-229136-unsplash.jpg', 'carmine-de-fazio-31543-unsplash.jpg', 'denys-nevozhai-100695-unsplash.jpg', 'dustin-lee-19667-unsplash.jpg', 'elena-prokofyeva-17909-unsplash.jpg', 'fezbot2000-278419-unsplash.jpg', 'glenn-carstens-peters-190592-unsplash.jpg', 'greg-rakozy-38802-unsplash.jpg', 'henry-be-99471-unsplash.jpg', 'hoach-le-dinh-91879-unsplash.jpg', 'ian-dooley-280928-unsplash.jpg', 'ian-schneider-108618-unsplash.jpg', 'jakub-sejkora-42069-unsplash.jpg', 'jesus-kiteque-224069-unsplash.jpg', 'joanna-kosinska-44214-unsplash.jpg', 'jonathan-bean-37632-unsplash.jpg', 'ad_themes.png', 'kimon-maritz-193428-unsplash.jpg', 'matthew-henry-49707-unsplash.jpg', 'ng-32703-unsplash.jpg', 'nitish-meena-37745-unsplash.jpg', 'osman-rana-1064081-unsplash.jpg', 'patrick-tomasso-208114-unsplash.jpg', 'patrick-tomasso-71909-unsplash.jpg', 'pawel-czerwinski-1060762-unsplash.jpg', 'rachael-gorjestani-282049-unsplash.jpg', 'rawpixel-191102-unsplash.jpg', 'sarah-dorweiler-211779-unsplash.jpg', 'stefan-stefancik-105374-unsplash.jpg', 'steven-wei-124690-unsplash.jpg', 'sunrise-1756274.jpg', 'teddy-kelley-106391-unsplash.jpg', 'thought-catalog-214785-unsplash.jpg', 'ad_custom-image.png', 'brooke-lark-356767-unsplash.jpg', 'ian-dooley-280928-unsplash.jpg', 'jeremy-bishop-334996-unsplash.jpg', 'martin-reisch-185835-unsplash.jpg', 'simon-matzinger-320332-unsplash.jpg', 'trevor-cole-393228-unsplash.jpg', 'verne-ho-237626-unsplash.jpg', 'ad_more-images.png','annie-spratt-1369965-unsplash.jpg', 'jonathan-borba-1339221-unsplash.jpg', 'lana-guillemet-1373193-unsplash.jpg', 'nazar-sharafutdinov-1373782-unsplash.jpg', 'pawel-czerwinski-1373010-unsplash.jpg', 'fancycrave-284224-unsplash.jpg', 'joshua-coleman-1394520-unsplash.jpg', 'robert-bye-103196-unsplash.jpg', 'tim-patch-1020411-unsplash.jpg', 'william-daigneault-691488-unsplash.jpg'),
133
- 'notificationx_dialog_upsell_title' => '<img alt="' . __('NotificationX', 'option-tree') . '" title="' . __('NotificationX', 'option-tree') . '" src="' . CSMM_URL . '/framework/admin/img/nx-logo.png' . '">',
134
- 'notificationx_install_url' => add_query_arg(array('action' => 'install_notificationx'), admin_url('admin.php')),
135
  );
136
  wp_localize_script( 'csmm-admin-base', 'mm_js_vars', $mm_js_vars );
137
 
24
  );
25
 
26
  // Loading the JS conditionally
 
27
  add_action( 'load-' . $signals_csmm_menu, 'csmm_load_scripts' );
28
  add_action( 'admin_action_csmm_install_mailoptin', 'csmm_install_mailoptin' );
 
29
  }
30
 
31
  }
128
  'mm_mo_title' => '<img alt="' . __('MailOptin', 'signals') . '" title="' . __('MailOptin', 'signals') . '" src="' . CSMM_URL . '/framework/admin/img/mailoptin-logo-white.png' . '">',
129
  'mm_mo_install_url' => add_query_arg( array('action' => 'csmm_install_mailoptin'), admin_url('admin.php') ),
130
  'mm_images' => array('ad_themes.png', 'joshua-coleman-1476380-unsplash.jpg', 'joshua-coleman-623077-unsplash.jpg', 'samuel-zeller-379406-unsplash.jpg', 'ad_more-images.png', 'william-daigneault-733670-unsplash.jpg', 'yuriy-bogdanov-428617-unsplash.jpg', 'john-cobb-13961-unsplash.jpg', 'aaron-burden-189321-unsplash.jpg', 'alberto-restifo-4510-unsplash.jpg', 'amy-humphries-227515-unsplash.jpg', 'anders-jilden-89745-unsplash.jpg', 'art-by-lonfeldt-1064207-unsplash.jpg', 'brenda-godinez-229718-unsplash.jpg', 'ad_more-images.png', 'brooke-lark-229136-unsplash.jpg', 'carmine-de-fazio-31543-unsplash.jpg', 'denys-nevozhai-100695-unsplash.jpg', 'dustin-lee-19667-unsplash.jpg', 'elena-prokofyeva-17909-unsplash.jpg', 'fezbot2000-278419-unsplash.jpg', 'glenn-carstens-peters-190592-unsplash.jpg', 'greg-rakozy-38802-unsplash.jpg', 'henry-be-99471-unsplash.jpg', 'hoach-le-dinh-91879-unsplash.jpg', 'ian-dooley-280928-unsplash.jpg', 'ian-schneider-108618-unsplash.jpg', 'jakub-sejkora-42069-unsplash.jpg', 'jesus-kiteque-224069-unsplash.jpg', 'joanna-kosinska-44214-unsplash.jpg', 'jonathan-bean-37632-unsplash.jpg', 'ad_themes.png', 'kimon-maritz-193428-unsplash.jpg', 'matthew-henry-49707-unsplash.jpg', 'ng-32703-unsplash.jpg', 'nitish-meena-37745-unsplash.jpg', 'osman-rana-1064081-unsplash.jpg', 'patrick-tomasso-208114-unsplash.jpg', 'patrick-tomasso-71909-unsplash.jpg', 'pawel-czerwinski-1060762-unsplash.jpg', 'rachael-gorjestani-282049-unsplash.jpg', 'rawpixel-191102-unsplash.jpg', 'sarah-dorweiler-211779-unsplash.jpg', 'stefan-stefancik-105374-unsplash.jpg', 'steven-wei-124690-unsplash.jpg', 'sunrise-1756274.jpg', 'teddy-kelley-106391-unsplash.jpg', 'thought-catalog-214785-unsplash.jpg', 'ad_custom-image.png', 'brooke-lark-356767-unsplash.jpg', 'ian-dooley-280928-unsplash.jpg', 'jeremy-bishop-334996-unsplash.jpg', 'martin-reisch-185835-unsplash.jpg', 'simon-matzinger-320332-unsplash.jpg', 'trevor-cole-393228-unsplash.jpg', 'verne-ho-237626-unsplash.jpg', 'ad_more-images.png','annie-spratt-1369965-unsplash.jpg', 'jonathan-borba-1339221-unsplash.jpg', 'lana-guillemet-1373193-unsplash.jpg', 'nazar-sharafutdinov-1373782-unsplash.jpg', 'pawel-czerwinski-1373010-unsplash.jpg', 'fancycrave-284224-unsplash.jpg', 'joshua-coleman-1394520-unsplash.jpg', 'robert-bye-103196-unsplash.jpg', 'tim-patch-1020411-unsplash.jpg', 'william-daigneault-691488-unsplash.jpg'),
 
 
131
  );
132
  wp_localize_script( 'csmm-admin-base', 'mm_js_vars', $mm_js_vars );
133
 
framework/admin/js/admin.js CHANGED
@@ -18,7 +18,7 @@ function reloadFont( $fontValue ) {
18
 
19
  function changeFont( $font ) {
20
 
21
- var $fontValue = $font.val();
22
 
23
  reloadFont( $fontValue );
24
  $font.parent().find( 'h3' ).css( 'font-family', $fontValue );
@@ -62,7 +62,7 @@ function getUploader( $text, $target ) {
62
  function csmm_change_tab(tab_name) {
63
  tab_name = '#' + tab_name.replace('#', '');
64
 
65
- $('.signals-main-menu li a[href="' + tab_name + '"]').trigger('click');
66
  window.scrollTo(0, 0);
67
  } // csmm_change_tab
68
 
@@ -78,15 +78,15 @@ function getMMUploader($text, $target) {
78
  } // for
79
  html +='</div>';
80
  html +='</div>';
81
- $('.csmm-image-picker').remove();
82
- $('body').append(html);
83
 
84
- $('body').on('click', '.csmm-image-picker-image',function() {
85
- var image_url = $(this).data('image');
86
  $target.parent().find( 'input' ).val( image_url );
87
  $target.parent().find( '.signals-preview-area' ).html( '<img src="' + image_url + '" />' );
88
  $target.parent().find( '.signals-upload-append' ).html( '&nbsp;<a href="javascript: void(0);" class="signals-remove-image">Remove</a>' );
89
- $('.csmm-image-picker').remove();
90
  });
91
  } // getMMuploader
92
 
@@ -169,67 +169,6 @@ function getMMUploader($text, $target) {
169
  // on dom ready
170
  $( document ).ready( function() {
171
 
172
- csmm_nx = $.cookie('csmm_nx');
173
- if(csmm_nx != 'closed'){
174
- $('#notificationx-popup').delay(2000).slideDown(500);
175
- }
176
-
177
- $('.settings_page_maintenance_mode_options').on('click','.notificationx-popup-close',function(e){
178
- e.stopPropagation();
179
- $('#notificationx-popup').hide();
180
- $.cookie('csmm_nx', 'closed', { expires: 700 });
181
- });
182
-
183
- $('.settings_page_maintenance_mode_options').on('click', '#notificationx-popup', function(e) {
184
- e.preventDefault();
185
-
186
- $(this).blur();
187
-
188
- $('#notificationx-upsell-dialog').dialog('open');
189
-
190
- return false;
191
- });
192
-
193
- // upsell dialog init
194
- $('#notificationx-upsell-dialog').dialog({'dialogClass': 'wp-dialog notificationx-upsell-dialog',
195
- 'modal': 1,
196
- 'resizable': false,
197
- 'title': 'Display notification bars',
198
- 'zIndex': 9999,
199
- 'width': 550,
200
- 'height': 'auto',
201
- 'show': 'fade',
202
- 'hide': 'fade',
203
- 'open': function(event, ui) {
204
- csmm_fix_dialog_close(event, ui);
205
- $(this).siblings().find('span.ui-dialog-title').html(mm_js_vars.notificationx_dialog_upsell_title);
206
- },
207
- 'close': function(event, ui) { },
208
- 'autoOpen': false,
209
- 'closeOnEscape': true
210
- });
211
- $(window).resize(function(e) {
212
- $('#notificationx-upsell-dialog').dialog("option", "position", {my: "center", at: "center", of: window});
213
- });
214
-
215
- jQuery('#install-notificationx').on('click',function(e) {
216
- $('#notificationx-upsell-dialog').dialog('close');
217
- jQuery('body').append('<div style="width:550px;height:450px; position:fixed;top:10%;left:50%;margin-left:-275px; color:#444; background-color: #fbfbfb;border:1px solid #DDD; border-radius:4px;box-shadow: 0px 0px 0px 4000px rgba(0, 0, 0, 0.85);z-index: 9999999;"><iframe src="' + mm_js_vars.notificationx_install_url + '" style="width:100%;height:100%;border:none;" /></div>');
218
- jQuery('#wpwrap').css('pointer-events', 'none');
219
- e.preventDefault();
220
- return false;
221
- });
222
-
223
- $('.settings_page_maintenance_mode_options').on('click', '.open-notificationx-upsell', function(e) {
224
- e.preventDefault();
225
-
226
- $(this).blur();
227
-
228
- $('#notificationx-upsell-dialog').dialog('open');
229
-
230
- return false;
231
- });
232
-
233
  // hide nags from other plugins
234
  $('#wpbody-content .notice-warning, #wpbody-content .update-nag, #wpbody-content .notice-error, #wpbody-content .notice-info, #wpbody-content .error, #wpbody-content .updated').hide();
235
 
@@ -399,10 +338,10 @@ function getMMUploader($text, $target) {
399
  // zebra on pricing table, per column
400
  $('#pricing-table').find('tr').each(function(index) {
401
  $(this).find('td').eq(1).addClass('hover');
402
- if (index == 0 || index == 9) {
403
  return true;
404
  }
405
- $(this).find('td').eq(1).html('<span class="dashicons dashicons-yes"></span> ' + $(this).find('td').eq(1).html());
406
  });
407
 
408
 
18
 
19
  function changeFont( $font ) {
20
 
21
+ var $fontValue = $font.val();
22
 
23
  reloadFont( $fontValue );
24
  $font.parent().find( 'h3' ).css( 'font-family', $fontValue );
62
  function csmm_change_tab(tab_name) {
63
  tab_name = '#' + tab_name.replace('#', '');
64
 
65
+ jQuery('.signals-main-menu li a[href="' + tab_name + '"]').trigger('click');
66
  window.scrollTo(0, 0);
67
  } // csmm_change_tab
68
 
78
  } // for
79
  html +='</div>';
80
  html +='</div>';
81
+ jQuery('.csmm-image-picker').remove();
82
+ jQuery('body').append(html);
83
 
84
+ jQuery('body').on('click', '.csmm-image-picker-image',function() {
85
+ var image_url = jQuery(this).data('image');
86
  $target.parent().find( 'input' ).val( image_url );
87
  $target.parent().find( '.signals-preview-area' ).html( '<img src="' + image_url + '" />' );
88
  $target.parent().find( '.signals-upload-append' ).html( '&nbsp;<a href="javascript: void(0);" class="signals-remove-image">Remove</a>' );
89
+ jQuery('.csmm-image-picker').remove();
90
  });
91
  } // getMMuploader
92
 
169
  // on dom ready
170
  $( document ).ready( function() {
171
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
172
  // hide nags from other plugins
173
  $('#wpbody-content .notice-warning, #wpbody-content .update-nag, #wpbody-content .notice-error, #wpbody-content .notice-info, #wpbody-content .error, #wpbody-content .updated').hide();
174
 
338
  // zebra on pricing table, per column
339
  $('#pricing-table').find('tr').each(function(index) {
340
  $(this).find('td').eq(1).addClass('hover');
341
+ if (index == 0 || index == 11) {
342
  return true;
343
  }
344
+ $(this).find('td:not(.not-available)').eq(1).html('<span class="dashicons dashicons-yes"></span> ' + $(this).find('td').eq(1).html());
345
  });
346
 
347
 
framework/admin/settings.php CHANGED
@@ -145,7 +145,6 @@ function csmm_admin_settings() {
145
 
146
  'mail_system_to_use' => sanitize_html_class($_POST['mail_system_to_use']),
147
  'mailoptin_campaign' => strip_tags(@$_POST['signals_csmm_mailoptin_campaign']),
148
- 'notificationx_notification' => strip_tags(@$_POST['signals_csmm_notificationx_notification']),
149
  'mailchimp_api' => strip_tags( $_POST['signals_csmm_api'] ),
150
  'mailchimp_list' => $tmp_options['list'],
151
  'message_noemail' => strip_tags( $_POST['signals_csmm_message_noemail'] ),
145
 
146
  'mail_system_to_use' => sanitize_html_class($_POST['mail_system_to_use']),
147
  'mailoptin_campaign' => strip_tags(@$_POST['signals_csmm_mailoptin_campaign']),
 
148
  'mailchimp_api' => strip_tags( $_POST['signals_csmm_api'] ),
149
  'mailchimp_list' => $tmp_options['list'],
150
  'message_noemail' => strip_tags( $_POST['signals_csmm_message_noemail'] ),
framework/admin/views/header.php CHANGED
@@ -10,33 +10,6 @@
10
  if (!defined('WPINC')) {
11
  die;
12
  }
13
-
14
- if (!csmm_is_notificationx_really_setup_and_active()) {
15
- echo '<div id="notificationx-popup" style="display: none;">
16
- <div class="notificationx-popup-icon"><img alt="Notification X" src="' . CSMM_URL . '/framework/admin/img/nx-icon.png' . '"></div>
17
- <div class="notificationx-popup-text">435 people rated <br />
18
- <div class="notificationx-popup-title">Notification X</div>
19
- <div class="notificationx-popup-stars"><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span></div>
20
- </div>
21
- <div class="notitificationx-popup-desc">Put a notification like this on your page to instantly influence your visitors</div>
22
- <div class="notificationx-popup-close"><span title="Close" class="dashicons dashicons-no"></span></div>
23
- </div>';
24
- }
25
-
26
- // notificationx install dialog
27
- echo '<div id="notificationx-upsell-dialog" style="display: none;" title="NotificationX"><span class="ui-helper-hidden-accessible"><input type="text"/></span>';
28
- echo '<div style="padding: 20px; font-size: 14px;">';
29
- echo '<ul class="csmm-list">';
30
- echo '<li>influence your visitors’ actions using social proof notifications';
31
- echo '<li>increase your leads, sales & engagements';
32
- echo '<li>boost conversion rates using 4 different types of notification';
33
- echo '<li>works out-of-the-box';
34
- echo '<li>free plugin available from the official WordPress repository';
35
- echo '</ul>';
36
- echo '<p class="upsell-footer"><a class="button button-primary" id="install-notificationx">Install &amp; activate NotificationX to display notification bars</a></p>';
37
- echo '</div>';
38
- echo '</div>';
39
-
40
  ?>
41
 
42
  <div class="signals-cnt-fix">
10
  if (!defined('WPINC')) {
11
  die;
12
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  ?>
14
 
15
  <div class="signals-cnt-fix">
framework/admin/views/settings-basic.php CHANGED
@@ -82,7 +82,7 @@ if (!defined('WPINC')) {
82
  <p class="signals-form-help-block"><?php _e( 'In case you\'re using a plugin that customizes the default WP login URL, enter that URL above.', 'signals' ); ?></p>
83
  </div>
84
  </div>
85
-
86
  <div class="signals-double-group signals-clearfix">
87
  <div class="signals-form-group">
88
  <label for="signals_csmm_showloginbutton" class="signals-strong"><?php _e( 'Show Login Button', 'signals' ); ?></label>
@@ -90,55 +90,6 @@ if (!defined('WPINC')) {
90
 
91
  <p class="signals-form-help-block"><?php _e( 'Show a discrete link to the login form, or WP admin if you\'re logged in, in the lower right corner of the page.', 'signals' ); ?></p>
92
  </div>
93
-
94
- <div class="signals-form-group">
95
- <?php
96
- if (csmm_is_notificationx_really_setup_and_active()) {
97
- $nx_args = array (
98
- 'post_type' => array( 'notificationx' ),
99
- 'post_status' => array( 'publish' ),
100
- 'nopaging' => true,
101
- 'order' => 'ASC',
102
- );
103
- $nx_notifications = get_posts( $nx_args );
104
- $nx_notifications_dd = array();
105
-
106
- if(count($nx_notifications)>0){
107
- foreach($nx_notifications as $nx_notification){
108
- $nx_notifications_dd[] = array('val' => $nx_notification->ID, 'label' => strlen($nx_notification->post_title)?$nx_notification->post_title:'NotificationX '.$nx_notification->ID.' (no title)');
109
- }
110
- } else {
111
- $nx_notifications_dd = false;
112
- }
113
- ?>
114
- <label for="signals_csmm_notificationx_notification" class="signals-strong"><?php _e( 'Notifications', 'signals' ); ?></label>
115
- <select name="signals_csmm_notificationx_notification" id="signals_csmm_notificationx_notification">
116
- <option value="0">none</option>
117
- <?php
118
-
119
- if(is_array($nx_notifications_dd) && count($nx_notifications_dd)>0){
120
- foreach($nx_notifications_dd as $nx_notification){
121
- echo '<option value="' . $nx_notification['val'] . '"' . ( $signals_csmm_options['notificationx_notification'] == $nx_notification['val']?'selected':'' ) . '>' . $nx_notification['label'] . '</option>';
122
- }
123
- }
124
- ?>
125
- <option value="all" <?php echo ($signals_csmm_options['notificationx_notification'] == 'all'?'selected':''); ?> >Show all</option>
126
- </select>
127
-
128
- <p class="signals-form-help-block">Create, edit and manage notifications on the <a href="<?php echo admin_url('admin.php?page=nx-admin'); ?>">NotificationX page</a>.</p>
129
-
130
- <?php } else { ?>
131
- <label for="signals_csmm_notificationx_show" class="signals-strong open-notificationx-upsell"><?php _e( 'Notification Bar', 'signals' ); ?></label>
132
- <div class="open-notificationx-upsell"><input id="signals_csmm_notificationx_show" type="checkbox" class="signals-form-ios" disabled name="signals_csmm_notificationx_show" value="0" /></div>
133
-
134
- <p class="signals-form-help-block">Add notifications to instantly engage and influence your visitors' actions using social proof.</p>
135
- <p class="signals-form-help-block">To add notifications <a href="#" class="open-notificationx-upsell">install the free NotificationX plugin</a>. It seamlessly integrates with Coming Soon and offers numerous options.</p>
136
- <?php
137
- } // notificationx not active
138
- ?>
139
- </div>
140
-
141
-
142
  </div>
143
 
144
  <div class="signals-form-group signals-clearfix">
82
  <p class="signals-form-help-block"><?php _e( 'In case you\'re using a plugin that customizes the default WP login URL, enter that URL above.', 'signals' ); ?></p>
83
  </div>
84
  </div>
85
+
86
  <div class="signals-double-group signals-clearfix">
87
  <div class="signals-form-group">
88
  <label for="signals_csmm_showloginbutton" class="signals-strong"><?php _e( 'Show Login Button', 'signals' ); ?></label>
90
 
91
  <p class="signals-form-help-block"><?php _e( 'Show a discrete link to the login form, or WP admin if you\'re logged in, in the lower right corner of the page.', 'signals' ); ?></p>
92
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93
  </div>
94
 
95
  <div class="signals-form-group signals-clearfix">
framework/admin/views/settings-form.php CHANGED
@@ -16,7 +16,7 @@ if (!defined('WPINC')) {
16
  <div class="signals-tile" id="form">
17
  <div class="signals-tile-body">
18
  <div class="signals-tile-title"><?php _e( 'FORM', 'signals' ); ?></div>
19
- <p><?php _e( 'Leads are the lifeline of any business. Make sure your form looks trustworthy. Configure technical details on the <a href="">email tab</a>.', 'signals' ); ?></p>
20
 
21
  <div id="csmm-setting-form-mo" style="<?php if ($signals_csmm_options['mail_system_to_use'] != 'mo') echo 'display: none;' ?>">
22
  <br><br><p class="signals-form-help-block">When MailOptin is active as the <a href="#email" class="js-action csmm-change-tab">email system</a> all form related options, including creating, editing and managing optins are done on the <a href="admin.php?page=mailoptin-optin-campaigns">MailOptin campaigns page</a>.</p>
16
  <div class="signals-tile" id="form">
17
  <div class="signals-tile-body">
18
  <div class="signals-tile-title"><?php _e( 'FORM', 'signals' ); ?></div>
19
+ <p><?php _e( 'Leads are the lifeline of any business. Make sure your form looks trustworthy. Configure technical details on the <a href="#email" class="csmm-change-tab">email tab</a>.', 'signals' ); ?></p>
20
 
21
  <div id="csmm-setting-form-mo" style="<?php if ($signals_csmm_options['mail_system_to_use'] != 'mo') echo 'display: none;' ?>">
22
  <br><br><p class="signals-form-help-block">When MailOptin is active as the <a href="#email" class="js-action csmm-change-tab">email system</a> all form related options, including creating, editing and managing optins are done on the <a href="admin.php?page=mailoptin-optin-campaigns">MailOptin campaigns page</a>.</p>
framework/admin/views/settings-pro.php CHANGED
@@ -79,7 +79,7 @@ if (!defined('WPINC')) {
79
  <tbody>
80
  <tr>
81
  <td>
82
- <h3>Lifetime Unlimited<br>Agency License</h3>
83
  <span>Best value for money</span>
84
  </td>
85
  <td>
@@ -98,14 +98,19 @@ if (!defined('WPINC')) {
98
  <td>Monthly / Yearly Payment</td>
99
  </tr>
100
  <tr>
101
- <td>Unlimited Client &amp; Personal Sites</td>
102
  <td>1 Personal or Client Site</td>
103
  <td>1 Personal or Client Site</td>
104
  </tr>
 
 
 
 
 
105
  <tr>
106
  <td>Lifetime Priority Support &amp; Updates</td>
107
  <td>Lifetime Support &amp; Updates</td>
108
- <td>1 Year of Support &amp; Updates</td>
109
  </tr>
110
  <tr>
111
  <td>Advanced SEO Preview &amp; Anaylsis</td>
@@ -118,9 +123,14 @@ if (!defined('WPINC')) {
118
  <td>1 Million Hi-Resolution Images</td>
119
  </tr>
120
  <tr>
121
- <td>100+ Templates</td>
122
- <td>50+ Templates</td>
123
- <td>50+ Templates</td>
 
 
 
 
 
124
  </tr>
125
  <tr>
126
  <td>10+ Page Modules</td>
79
  <tbody>
80
  <tr>
81
  <td>
82
+ <h3>Lifetime<br>Agency License</h3>
83
  <span>Best value for money</span>
84
  </td>
85
  <td>
98
  <td>Monthly / Yearly Payment</td>
99
  </tr>
100
  <tr>
101
+ <td>100 Client or Personal Sites (sites can be changed)</td>
102
  <td>1 Personal or Client Site</td>
103
  <td>1 Personal or Client Site</td>
104
  </tr>
105
+ <tr>
106
+ <td><b>White-Label License Mode</b></td>
107
+ <td class="not-available">n/a</td>
108
+ <td class="not-available">n/a</td>
109
+ </tr>
110
  <tr>
111
  <td>Lifetime Priority Support &amp; Updates</td>
112
  <td>Lifetime Support &amp; Updates</td>
113
+ <td>1 Year/Month of Support &amp; Updates</td>
114
  </tr>
115
  <tr>
116
  <td>Advanced SEO Preview &amp; Anaylsis</td>
123
  <td>1 Million Hi-Resolution Images</td>
124
  </tr>
125
  <tr>
126
+ <td>60+ PRO Templates</td>
127
+ <td>60+ PRO Templates</td>
128
+ <td>60+ PRO Templates</td>
129
+ </tr>
130
+ <tr>
131
+ <td><b>60+ Extra Agency Templates = 120+ Templates</b></td>
132
+ <td class="not-available">n/a</td>
133
+ <td class="not-available">n/a</td>
134
  </tr>
135
  <tr>
136
  <td>10+ Page Modules</td>
framework/admin/views/settings-themes.php CHANGED
@@ -6,6 +6,7 @@ if (!defined('WPINC')) {
6
 
7
  $themes =
8
 
 
9
  array (
10
  0 =>
11
  array (
@@ -129,6 +130,17 @@ array (
129
  'name_clean' => 'bitcoin-miners',
130
  ),
131
  11 =>
 
 
 
 
 
 
 
 
 
 
 
132
  array (
133
  'type' => 'CSMM PRO',
134
  'version' => '15.17',
@@ -139,7 +151,7 @@ array (
139
  'status' => 'agency',
140
  'name_clean' => 'blogging',
141
  ),
142
- 12 =>
143
  array (
144
  'type' => 'CSMM PRO',
145
  'version' => '15.17',
@@ -150,7 +162,7 @@ array (
150
  'status' => 'agency',
151
  'name_clean' => 'blue-ocean',
152
  ),
153
- 13 =>
154
  array (
155
  'type' => 'CSMM PRO',
156
  'version' => '15.17',
@@ -161,7 +173,7 @@ array (
161
  'status' => 'pro',
162
  'name_clean' => 'body-transformation',
163
  ),
164
- 14 =>
165
  array (
166
  'type' => 'CSMM PRO',
167
  'version' => '5.005',
@@ -172,7 +184,7 @@ array (
172
  'status' => 'agency',
173
  'name_clean' => 'book-lovers',
174
  ),
175
- 15 =>
176
  array (
177
  'type' => 'CSMM PRO',
178
  'version' => '5.001',
@@ -183,7 +195,7 @@ array (
183
  'status' => 'agency',
184
  'name_clean' => 'business-company',
185
  ),
186
- 16 =>
187
  array (
188
  'type' => 'CSMM PRO',
189
  'version' => '15.17',
@@ -194,7 +206,7 @@ array (
194
  'status' => 'agency',
195
  'name_clean' => 'business-meeting-video',
196
  ),
197
- 17 =>
198
  array (
199
  'type' => 'CSMM PRO',
200
  'version' => '15.17',
@@ -205,7 +217,7 @@ array (
205
  'status' => 'agency',
206
  'name_clean' => 'business',
207
  ),
208
- 18 =>
209
  array (
210
  'type' => 'CSMM PRO',
211
  'version' => '15.17',
@@ -216,7 +228,7 @@ array (
216
  'status' => 'agency',
217
  'name_clean' => 'cafe',
218
  ),
219
- 19 =>
220
  array (
221
  'type' => 'CSMM PRO',
222
  'version' => '15.17',
@@ -227,7 +239,7 @@ array (
227
  'status' => 'pro',
228
  'name_clean' => 'church',
229
  ),
230
- 20 =>
231
  array (
232
  'type' => 'CSMM PRO',
233
  'version' => '15.17',
@@ -238,7 +250,7 @@ array (
238
  'status' => 'pro',
239
  'name_clean' => 'city-nighttime',
240
  ),
241
- 21 =>
242
  array (
243
  'type' => 'CSMM PRO',
244
  'version' => '15.17',
@@ -249,7 +261,7 @@ array (
249
  'status' => 'agency',
250
  'name_clean' => 'cityscape',
251
  ),
252
- 22 =>
253
  array (
254
  'type' => 'CSMM PRO',
255
  'version' => '5.14',
@@ -260,7 +272,7 @@ array (
260
  'status' => 'agency',
261
  'name_clean' => 'clouds-screensaver-video',
262
  ),
263
- 23 =>
264
  array (
265
  'type' => 'CSMM PRO',
266
  'version' => '5.005',
@@ -271,7 +283,7 @@ array (
271
  'status' => 'agency',
272
  'name_clean' => 'coffee-shop',
273
  ),
274
- 24 =>
275
  array (
276
  'type' => 'CSMM PRO',
277
  'version' => '15.17',
@@ -282,7 +294,7 @@ array (
282
  'status' => 'agency',
283
  'name_clean' => 'cold-lake',
284
  ),
285
- 25 =>
286
  array (
287
  'type' => 'CSMM PRO',
288
  'version' => '15.17',
@@ -293,7 +305,7 @@ array (
293
  'status' => 'agency',
294
  'name_clean' => 'computer-repair-service',
295
  ),
296
- 26 =>
297
  array (
298
  'type' => 'CSMM PRO',
299
  'version' => '15.17',
@@ -304,7 +316,7 @@ array (
304
  'status' => 'pro',
305
  'name_clean' => 'concert',
306
  ),
307
- 27 =>
308
  array (
309
  'type' => 'CSMM PRO',
310
  'version' => '15.17',
@@ -315,7 +327,7 @@ array (
315
  'status' => 'pro',
316
  'name_clean' => 'conference-event',
317
  ),
318
- 28 =>
319
  array (
320
  'type' => 'CSMM PRO',
321
  'version' => '15.17',
@@ -326,7 +338,7 @@ array (
326
  'status' => 'agency',
327
  'name_clean' => 'construction-company',
328
  ),
329
- 29 =>
330
  array (
331
  'type' => 'CSMM PRO',
332
  'version' => '15.17',
@@ -337,7 +349,7 @@ array (
337
  'status' => 'agency',
338
  'name_clean' => 'custom-decor',
339
  ),
340
- 30 =>
341
  array (
342
  'type' => 'CSMM PRO',
343
  'version' => '5.005',
@@ -348,7 +360,7 @@ array (
348
  'status' => 'pro',
349
  'name_clean' => 'default',
350
  ),
351
- 31 =>
352
  array (
353
  'type' => 'CSMM PRO',
354
  'version' => '15.17',
@@ -359,7 +371,7 @@ array (
359
  'status' => 'agency',
360
  'name_clean' => 'dental-clinic',
361
  ),
362
- 32 =>
363
  array (
364
  'type' => 'CSMM PRO',
365
  'version' => '15.17',
@@ -370,7 +382,7 @@ array (
370
  'status' => 'pro',
371
  'name_clean' => 'dog-shelter',
372
  ),
373
- 33 =>
374
  array (
375
  'type' => 'CSMM PRO',
376
  'version' => '5.001',
@@ -381,7 +393,7 @@ array (
381
  'status' => 'agency',
382
  'name_clean' => 'dog-training-and-behavior-consulting',
383
  ),
384
- 34 =>
385
  array (
386
  'type' => 'CSMM PRO',
387
  'version' => '15.17',
@@ -392,7 +404,7 @@ array (
392
  'status' => 'pro',
393
  'name_clean' => 'employment',
394
  ),
395
- 35 =>
396
  array (
397
  'type' => 'CSMM PRO',
398
  'version' => '15.17',
@@ -403,7 +415,7 @@ array (
403
  'status' => 'agency',
404
  'name_clean' => 'essay-writing-service',
405
  ),
406
- 36 =>
407
  array (
408
  'type' => 'CSMM PRO',
409
  'version' => '15.17',
@@ -414,7 +426,7 @@ array (
414
  'status' => 'pro',
415
  'name_clean' => 'fall-video',
416
  ),
417
- 37 =>
418
  array (
419
  'type' => 'CSMM PRO',
420
  'version' => '15.17',
@@ -425,7 +437,7 @@ array (
425
  'status' => 'agency',
426
  'name_clean' => 'fashion',
427
  ),
428
- 38 =>
429
  array (
430
  'type' => 'CSMM PRO',
431
  'version' => '15.17',
@@ -436,7 +448,7 @@ array (
436
  'status' => 'pro',
437
  'name_clean' => 'financial-district',
438
  ),
439
- 39 =>
440
  array (
441
  'type' => 'CSMM PRO',
442
  'version' => '15.17',
@@ -447,7 +459,7 @@ array (
447
  'status' => 'agency',
448
  'name_clean' => 'fitness-e-shop',
449
  ),
450
- 40 =>
451
  array (
452
  'type' => 'CSMM PRO',
453
  'version' => '15.05',
@@ -458,7 +470,7 @@ array (
458
  'status' => 'agency',
459
  'name_clean' => 'flower-shop',
460
  ),
461
- 41 =>
462
  array (
463
  'type' => 'CSMM PRO',
464
  'version' => '15.17',
@@ -469,7 +481,7 @@ array (
469
  'status' => 'pro',
470
  'name_clean' => 'food-blog',
471
  ),
472
- 42 =>
473
  array (
474
  'type' => 'CSMM PRO',
475
  'version' => '15.17',
@@ -480,7 +492,7 @@ array (
480
  'status' => 'pro',
481
  'name_clean' => 'football',
482
  ),
483
- 43 =>
484
  array (
485
  'type' => 'CSMM PRO',
486
  'version' => '15.17',
@@ -491,7 +503,7 @@ array (
491
  'status' => 'pro',
492
  'name_clean' => 'frozen-nature',
493
  ),
494
- 44 =>
495
  array (
496
  'type' => 'CSMM PRO',
497
  'version' => '15.17',
@@ -502,7 +514,7 @@ array (
502
  'status' => 'pro',
503
  'name_clean' => 'future-technology',
504
  ),
505
- 45 =>
506
  array (
507
  'type' => 'CSMM PRO',
508
  'version' => '15.17',
@@ -513,7 +525,7 @@ array (
513
  'status' => 'pro',
514
  'name_clean' => 'greenlife',
515
  ),
516
- 46 =>
517
  array (
518
  'type' => 'CSMM PRO',
519
  'version' => '15.17',
@@ -524,7 +536,7 @@ array (
524
  'status' => 'pro',
525
  'name_clean' => 'halloween',
526
  ),
527
- 47 =>
528
  array (
529
  'type' => 'CSMM PRO',
530
  'version' => '15.17',
@@ -535,7 +547,7 @@ array (
535
  'status' => 'agency',
536
  'name_clean' => 'healthy-eating',
537
  ),
538
- 48 =>
539
  array (
540
  'type' => 'CSMM PRO',
541
  'version' => '15.17',
@@ -546,7 +558,7 @@ array (
546
  'status' => 'pro',
547
  'name_clean' => 'holiday-resort',
548
  ),
549
- 49 =>
550
  array (
551
  'type' => 'CSMM PRO',
552
  'version' => '15.17',
@@ -557,7 +569,18 @@ array (
557
  'status' => 'pro',
558
  'name_clean' => 'homemade-chocolate-gifts',
559
  ),
560
- 50 =>
 
 
 
 
 
 
 
 
 
 
 
561
  array (
562
  'type' => 'CSMM PRO',
563
  'version' => '15.17',
@@ -568,7 +591,7 @@ array (
568
  'status' => 'pro',
569
  'name_clean' => 'ice-cream-shop',
570
  ),
571
- 51 =>
572
  array (
573
  'type' => 'CSMM PRO',
574
  'version' => '15.17',
@@ -579,7 +602,7 @@ array (
579
  'status' => 'pro',
580
  'name_clean' => 'inspy-romance',
581
  ),
582
- 52 =>
583
  array (
584
  'type' => 'CSMM PRO',
585
  'version' => '15.05',
@@ -590,7 +613,7 @@ array (
590
  'status' => 'agency',
591
  'name_clean' => 'interior-design',
592
  ),
593
- 53 =>
594
  array (
595
  'type' => 'CSMM PRO',
596
  'version' => '15.17',
@@ -601,7 +624,7 @@ array (
601
  'status' => 'pro',
602
  'name_clean' => 'it-conference',
603
  ),
604
- 54 =>
605
  array (
606
  'type' => 'CSMM PRO',
607
  'version' => '5.14',
@@ -612,7 +635,7 @@ array (
612
  'status' => 'agency',
613
  'name_clean' => 'journey-video',
614
  ),
615
- 55 =>
616
  array (
617
  'type' => 'CSMM PRO',
618
  'version' => '15.17',
@@ -623,7 +646,7 @@ array (
623
  'status' => 'agency',
624
  'name_clean' => 'ladies-accessories',
625
  ),
626
- 56 =>
627
  array (
628
  'type' => 'CSMM PRO',
629
  'version' => '15.17',
@@ -634,7 +657,7 @@ array (
634
  'status' => 'pro',
635
  'name_clean' => 'lego-bricks',
636
  ),
637
- 57 =>
638
  array (
639
  'type' => 'CSMM PRO',
640
  'version' => '15.17',
@@ -645,7 +668,7 @@ array (
645
  'status' => 'agency',
646
  'name_clean' => 'loneliness',
647
  ),
648
- 58 =>
649
  array (
650
  'type' => 'CSMM PRO',
651
  'version' => '15.17',
@@ -656,7 +679,7 @@ array (
656
  'status' => 'agency',
657
  'name_clean' => 'lonely-road',
658
  ),
659
- 59 =>
660
  array (
661
  'type' => 'CSMM PRO',
662
  'version' => '15.17',
@@ -667,7 +690,7 @@ array (
667
  'status' => 'pro',
668
  'name_clean' => 'luxury-car',
669
  ),
670
- 60 =>
671
  array (
672
  'type' => 'CSMM PRO',
673
  'version' => '5.005',
@@ -678,7 +701,7 @@ array (
678
  'status' => 'pro',
679
  'name_clean' => 'maintenance-mode',
680
  ),
681
- 61 =>
682
  array (
683
  'type' => 'CSMM PRO',
684
  'version' => '5.005',
@@ -689,7 +712,18 @@ array (
689
  'status' => 'agency',
690
  'name_clean' => 'makeup-artist-training',
691
  ),
692
- 62 =>
 
 
 
 
 
 
 
 
 
 
 
693
  array (
694
  'type' => 'CSMM PRO',
695
  'version' => '15.17',
@@ -700,7 +734,7 @@ array (
700
  'status' => 'pro',
701
  'name_clean' => 'misty-forest-video',
702
  ),
703
- 63 =>
704
  array (
705
  'type' => 'CSMM PRO',
706
  'version' => '15.17',
@@ -711,7 +745,7 @@ array (
711
  'status' => 'agency',
712
  'name_clean' => 'mobile-designer',
713
  ),
714
- 64 =>
715
  array (
716
  'type' => 'CSMM PRO',
717
  'version' => '15.17',
@@ -722,7 +756,7 @@ array (
722
  'status' => 'agency',
723
  'name_clean' => 'mobile-meeting',
724
  ),
725
- 65 =>
726
  array (
727
  'type' => 'CSMM PRO',
728
  'version' => '5.005',
@@ -733,7 +767,7 @@ array (
733
  'status' => 'pro',
734
  'name_clean' => 'modern-blog',
735
  ),
736
- 66 =>
737
  array (
738
  'type' => 'CSMM PRO',
739
  'version' => '15.05',
@@ -744,7 +778,7 @@ array (
744
  'status' => 'agency',
745
  'name_clean' => 'modern-office',
746
  ),
747
- 67 =>
748
  array (
749
  'type' => 'CSMM PRO',
750
  'version' => '15.17',
@@ -755,7 +789,7 @@ array (
755
  'status' => 'agency',
756
  'name_clean' => 'modern-recipes',
757
  ),
758
- 68 =>
759
  array (
760
  'type' => 'CSMM PRO',
761
  'version' => '15.17',
@@ -766,7 +800,7 @@ array (
766
  'status' => 'pro',
767
  'name_clean' => 'mountain-slide',
768
  ),
769
- 69 =>
770
  array (
771
  'type' => 'CSMM PRO',
772
  'version' => '5.05',
@@ -777,7 +811,7 @@ array (
777
  'status' => 'pro',
778
  'name_clean' => 'mountain',
779
  ),
780
- 70 =>
781
  array (
782
  'type' => 'CSMM PRO',
783
  'version' => '15.17',
@@ -788,7 +822,7 @@ array (
788
  'status' => 'pro',
789
  'name_clean' => 'movie-trailer-video',
790
  ),
791
- 71 =>
792
  array (
793
  'type' => 'CSMM PRO',
794
  'version' => '15.17',
@@ -799,7 +833,7 @@ array (
799
  'status' => 'pro',
800
  'name_clean' => 'music',
801
  ),
802
- 72 =>
803
  array (
804
  'type' => 'CSMM PRO',
805
  'version' => '15.05',
@@ -810,7 +844,7 @@ array (
810
  'status' => 'agency',
811
  'name_clean' => 'nature',
812
  ),
813
- 73 =>
814
  array (
815
  'type' => 'CSMM PRO',
816
  'version' => '5.14',
@@ -821,7 +855,7 @@ array (
821
  'status' => 'agency',
822
  'name_clean' => 'office-meeting-video',
823
  ),
824
- 74 =>
825
  array (
826
  'type' => 'CSMM PRO',
827
  'version' => '15.05',
@@ -832,7 +866,7 @@ array (
832
  'status' => 'agency',
833
  'name_clean' => 'office-theme',
834
  ),
835
- 75 =>
836
  array (
837
  'type' => 'CSMM PRO',
838
  'version' => '5.005',
@@ -843,7 +877,7 @@ array (
843
  'status' => 'agency',
844
  'name_clean' => 'online-learning',
845
  ),
846
- 76 =>
847
  array (
848
  'type' => 'CSMM PRO',
849
  'version' => '15.17',
@@ -854,7 +888,7 @@ array (
854
  'status' => 'pro',
855
  'name_clean' => 'organic-cosmetics',
856
  ),
857
- 77 =>
858
  array (
859
  'type' => 'CSMM PRO',
860
  'version' => '15.17',
@@ -865,7 +899,7 @@ array (
865
  'status' => 'pro',
866
  'name_clean' => 'pancake-house',
867
  ),
868
- 78 =>
869
  array (
870
  'type' => 'CSMM PRO',
871
  'version' => '15.17',
@@ -876,7 +910,7 @@ array (
876
  'status' => 'pro',
877
  'name_clean' => 'parenting',
878
  ),
879
- 79 =>
880
  array (
881
  'type' => 'CSMM PRO',
882
  'version' => '15.17',
@@ -887,7 +921,7 @@ array (
887
  'status' => 'pro',
888
  'name_clean' => 'passage',
889
  ),
890
- 80 =>
891
  array (
892
  'type' => 'CSMM PRO',
893
  'version' => '15.17',
@@ -898,7 +932,7 @@ array (
898
  'status' => 'agency',
899
  'name_clean' => 'peaceful-river',
900
  ),
901
- 81 =>
902
  array (
903
  'type' => 'CSMM PRO',
904
  'version' => '15.17',
@@ -909,7 +943,7 @@ array (
909
  'status' => 'pro',
910
  'name_clean' => 'personal-trainer',
911
  ),
912
- 82 =>
913
  array (
914
  'type' => 'CSMM PRO',
915
  'version' => '15.17',
@@ -920,7 +954,7 @@ array (
920
  'status' => 'agency',
921
  'name_clean' => 'photography',
922
  ),
923
- 83 =>
924
  array (
925
  'type' => 'CSMM PRO',
926
  'version' => '15.17',
@@ -931,7 +965,7 @@ array (
931
  'status' => 'agency',
932
  'name_clean' => 'podcast',
933
  ),
934
- 84 =>
935
  array (
936
  'type' => 'CSMM PRO',
937
  'version' => '15.17',
@@ -942,7 +976,7 @@ array (
942
  'status' => 'agency',
943
  'name_clean' => 'romantic-travels',
944
  ),
945
- 85 =>
946
  array (
947
  'type' => 'CSMM PRO',
948
  'version' => '15.17',
@@ -953,7 +987,7 @@ array (
953
  'status' => 'agency',
954
  'name_clean' => 'running-blog',
955
  ),
956
- 86 =>
957
  array (
958
  'type' => 'CSMM PRO',
959
  'version' => '15.14',
@@ -964,7 +998,7 @@ array (
964
  'status' => 'pro',
965
  'name_clean' => 'running-video',
966
  ),
967
- 87 =>
968
  array (
969
  'type' => 'CSMM PRO',
970
  'version' => '15.17',
@@ -975,7 +1009,7 @@ array (
975
  'status' => 'agency',
976
  'name_clean' => 'scholar-university',
977
  ),
978
- 88 =>
979
  array (
980
  'type' => 'CSMM PRO',
981
  'version' => '15.17',
@@ -986,7 +1020,7 @@ array (
986
  'status' => 'agency',
987
  'name_clean' => 'seo-digital-marketing',
988
  ),
989
- 89 =>
990
  array (
991
  'type' => 'CSMM PRO',
992
  'version' => '5.005',
@@ -997,7 +1031,7 @@ array (
997
  'status' => 'agency',
998
  'name_clean' => 'shoes-store',
999
  ),
1000
- 90 =>
1001
  array (
1002
  'type' => 'CSMM PRO',
1003
  'version' => '15.17',
@@ -1008,7 +1042,7 @@ array (
1008
  'status' => 'pro',
1009
  'name_clean' => 'simple-beige-design',
1010
  ),
1011
- 91 =>
1012
  array (
1013
  'type' => 'CSMM PRO',
1014
  'version' => '15.17',
@@ -1019,7 +1053,7 @@ array (
1019
  'status' => 'agency',
1020
  'name_clean' => 'skincare',
1021
  ),
1022
- 92 =>
1023
  array (
1024
  'type' => 'CSMM PRO',
1025
  'version' => '15.17',
@@ -1030,7 +1064,7 @@ array (
1030
  'status' => 'pro',
1031
  'name_clean' => 'snow-screensaver-video',
1032
  ),
1033
- 93 =>
1034
  array (
1035
  'type' => 'CSMM PRO',
1036
  'version' => '15.17',
@@ -1041,7 +1075,7 @@ array (
1041
  'status' => 'pro',
1042
  'name_clean' => 'snowboarding-blog',
1043
  ),
1044
- 94 =>
1045
  array (
1046
  'type' => 'CSMM PRO',
1047
  'version' => '15.17',
@@ -1052,7 +1086,7 @@ array (
1052
  'status' => 'pro',
1053
  'name_clean' => 'snowy-mountain',
1054
  ),
1055
- 95 =>
1056
  array (
1057
  'type' => 'CSMM PRO',
1058
  'version' => '15.17',
@@ -1063,7 +1097,7 @@ array (
1063
  'status' => 'pro',
1064
  'name_clean' => 'snowy-oasis',
1065
  ),
1066
- 96 =>
1067
  array (
1068
  'type' => 'CSMM PRO',
1069
  'version' => '15.17',
@@ -1074,7 +1108,7 @@ array (
1074
  'status' => 'agency',
1075
  'name_clean' => 'social-media-service',
1076
  ),
1077
- 97 =>
1078
  array (
1079
  'type' => 'CSMM PRO',
1080
  'version' => '15.17',
@@ -1085,7 +1119,7 @@ array (
1085
  'status' => 'agency',
1086
  'name_clean' => 'spa-beauty-studio',
1087
  ),
1088
- 98 =>
1089
  array (
1090
  'type' => 'CSMM PRO',
1091
  'version' => '15.17',
@@ -1096,7 +1130,7 @@ array (
1096
  'status' => 'agency',
1097
  'name_clean' => 'spa',
1098
  ),
1099
- 99 =>
1100
  array (
1101
  'type' => 'CSMM PRO',
1102
  'version' => '15.17',
@@ -1107,7 +1141,7 @@ array (
1107
  'status' => 'agency',
1108
  'name_clean' => 'spring',
1109
  ),
1110
- 100 =>
1111
  array (
1112
  'type' => 'CSMM PRO',
1113
  'version' => '15.17',
@@ -1118,7 +1152,7 @@ array (
1118
  'status' => 'pro',
1119
  'name_clean' => 'startup',
1120
  ),
1121
- 101 =>
1122
  array (
1123
  'type' => 'CSMM PRO',
1124
  'version' => '15.17',
@@ -1129,7 +1163,7 @@ array (
1129
  'status' => 'pro',
1130
  'name_clean' => 'stylish-workplace',
1131
  ),
1132
- 102 =>
1133
  array (
1134
  'type' => 'CSMM PRO',
1135
  'version' => '15.17',
@@ -1140,7 +1174,7 @@ array (
1140
  'status' => 'pro',
1141
  'name_clean' => 'techexpo',
1142
  ),
1143
- 103 =>
1144
  array (
1145
  'type' => 'CSMM PRO',
1146
  'version' => '15.17',
@@ -1151,7 +1185,7 @@ array (
1151
  'status' => 'agency',
1152
  'name_clean' => 'telecommunication',
1153
  ),
1154
- 104 =>
1155
  array (
1156
  'type' => 'CSMM PRO',
1157
  'version' => '15.17',
@@ -1162,7 +1196,7 @@ array (
1162
  'status' => 'agency',
1163
  'name_clean' => 'the-big-city-newsletter',
1164
  ),
1165
- 105 =>
1166
  array (
1167
  'type' => 'CSMM PRO',
1168
  'version' => '5.14',
@@ -1173,7 +1207,7 @@ array (
1173
  'status' => 'pro',
1174
  'name_clean' => 'the-sunny-view',
1175
  ),
1176
- 106 =>
1177
  array (
1178
  'type' => 'CSMM PRO',
1179
  'version' => '5.001',
@@ -1184,7 +1218,7 @@ array (
1184
  'status' => 'pro',
1185
  'name_clean' => 'travel-agency',
1186
  ),
1187
- 107 =>
1188
  array (
1189
  'type' => 'CSMM PRO',
1190
  'version' => '15.05',
@@ -1195,7 +1229,7 @@ array (
1195
  'status' => 'agency',
1196
  'name_clean' => 'travel-blog',
1197
  ),
1198
- 108 =>
1199
  array (
1200
  'type' => 'CSMM PRO',
1201
  'version' => '15.17',
@@ -1206,7 +1240,7 @@ array (
1206
  'status' => 'agency',
1207
  'name_clean' => 'tulips',
1208
  ),
1209
- 109 =>
1210
  array (
1211
  'type' => 'CSMM PRO',
1212
  'version' => '15.17',
@@ -1217,7 +1251,7 @@ array (
1217
  'status' => 'pro',
1218
  'name_clean' => 'valentines-day',
1219
  ),
1220
- 110 =>
1221
  array (
1222
  'type' => 'CSMM PRO',
1223
  'version' => '5.001',
@@ -1228,7 +1262,7 @@ array (
1228
  'status' => 'pro',
1229
  'name_clean' => 'video-production',
1230
  ),
1231
- 111 =>
1232
  array (
1233
  'type' => 'CSMM PRO',
1234
  'version' => '15.17',
@@ -1239,7 +1273,7 @@ array (
1239
  'status' => 'agency',
1240
  'name_clean' => 'virtual-assistant-service',
1241
  ),
1242
- 112 =>
1243
  array (
1244
  'type' => 'CSMM PRO',
1245
  'version' => '15.17',
@@ -1250,7 +1284,7 @@ array (
1250
  'status' => 'pro',
1251
  'name_clean' => 'walking-away-video',
1252
  ),
1253
- 113 =>
1254
  array (
1255
  'type' => 'CSMM PRO',
1256
  'version' => '5.005',
@@ -1261,7 +1295,7 @@ array (
1261
  'status' => 'agency',
1262
  'name_clean' => 'webinar',
1263
  ),
1264
- 114 =>
1265
  array (
1266
  'type' => 'CSMM PRO',
1267
  'version' => '5.005',
@@ -1272,7 +1306,7 @@ array (
1272
  'status' => 'agency',
1273
  'name_clean' => 'wedding-blog',
1274
  ),
1275
- 115 =>
1276
  array (
1277
  'type' => 'CSMM PRO',
1278
  'version' => '15.17',
@@ -1283,7 +1317,7 @@ array (
1283
  'status' => 'pro',
1284
  'name_clean' => 'white-orchids',
1285
  ),
1286
- 116 =>
1287
  array (
1288
  'type' => 'CSMM PRO',
1289
  'version' => '5.14',
@@ -1294,7 +1328,7 @@ array (
1294
  'status' => 'agency',
1295
  'name_clean' => 'working-out',
1296
  ),
1297
- 117 =>
1298
  array (
1299
  'type' => 'CSMM PRO',
1300
  'version' => '15.05',
@@ -1305,7 +1339,7 @@ array (
1305
  'status' => 'agency',
1306
  'name_clean' => 'workplace',
1307
  ),
1308
- 118 =>
1309
  array (
1310
  'type' => 'CSMM PRO',
1311
  'version' => '15.17',
@@ -1319,10 +1353,10 @@ array (
1319
  );
1320
 
1321
  function csmm_themes_sort($item1, $item2) {
1322
- if ($item1['last_edit'] == $item2['last_edit']) {
1323
  return 0;
1324
  }
1325
- return $item1['last_edit'] < $item2['last_edit'] ? 1 : -1;
1326
  }
1327
  usort($themes,'csmm_themes_sort');
1328
 
6
 
7
  $themes =
8
 
9
+
10
  array (
11
  0 =>
12
  array (
130
  'name_clean' => 'bitcoin-miners',
131
  ),
132
  11 =>
133
+ array (
134
+ 'type' => 'CSMM PRO',
135
+ 'version' => '15.17',
136
+ 'last_edit' => 'Mon, 21 Oct 2019 12:55:24 +0000',
137
+ 'name' => 'Black Friday',
138
+ 'description' => '',
139
+ 'frontpage' => '1',
140
+ 'status' => 'pro',
141
+ 'name_clean' => 'black-friday',
142
+ ),
143
+ 12 =>
144
  array (
145
  'type' => 'CSMM PRO',
146
  'version' => '15.17',
151
  'status' => 'agency',
152
  'name_clean' => 'blogging',
153
  ),
154
+ 13 =>
155
  array (
156
  'type' => 'CSMM PRO',
157
  'version' => '15.17',
162
  'status' => 'agency',
163
  'name_clean' => 'blue-ocean',
164
  ),
165
+ 14 =>
166
  array (
167
  'type' => 'CSMM PRO',
168
  'version' => '15.17',
173
  'status' => 'pro',
174
  'name_clean' => 'body-transformation',
175
  ),
176
+ 15 =>
177
  array (
178
  'type' => 'CSMM PRO',
179
  'version' => '5.005',
184
  'status' => 'agency',
185
  'name_clean' => 'book-lovers',
186
  ),
187
+ 16 =>
188
  array (
189
  'type' => 'CSMM PRO',
190
  'version' => '5.001',
195
  'status' => 'agency',
196
  'name_clean' => 'business-company',
197
  ),
198
+ 17 =>
199
  array (
200
  'type' => 'CSMM PRO',
201
  'version' => '15.17',
206
  'status' => 'agency',
207
  'name_clean' => 'business-meeting-video',
208
  ),
209
+ 18 =>
210
  array (
211
  'type' => 'CSMM PRO',
212
  'version' => '15.17',
217
  'status' => 'agency',
218
  'name_clean' => 'business',
219
  ),
220
+ 19 =>
221
  array (
222
  'type' => 'CSMM PRO',
223
  'version' => '15.17',
228
  'status' => 'agency',
229
  'name_clean' => 'cafe',
230
  ),
231
+ 20 =>
232
  array (
233
  'type' => 'CSMM PRO',
234
  'version' => '15.17',
239
  'status' => 'pro',
240
  'name_clean' => 'church',
241
  ),
242
+ 21 =>
243
  array (
244
  'type' => 'CSMM PRO',
245
  'version' => '15.17',
250
  'status' => 'pro',
251
  'name_clean' => 'city-nighttime',
252
  ),
253
+ 22 =>
254
  array (
255
  'type' => 'CSMM PRO',
256
  'version' => '15.17',
261
  'status' => 'agency',
262
  'name_clean' => 'cityscape',
263
  ),
264
+ 23 =>
265
  array (
266
  'type' => 'CSMM PRO',
267
  'version' => '5.14',
272
  'status' => 'agency',
273
  'name_clean' => 'clouds-screensaver-video',
274
  ),
275
+ 24 =>
276
  array (
277
  'type' => 'CSMM PRO',
278
  'version' => '5.005',
283
  'status' => 'agency',
284
  'name_clean' => 'coffee-shop',
285
  ),
286
+ 25 =>
287
  array (
288
  'type' => 'CSMM PRO',
289
  'version' => '15.17',
294
  'status' => 'agency',
295
  'name_clean' => 'cold-lake',
296
  ),
297
+ 26 =>
298
  array (
299
  'type' => 'CSMM PRO',
300
  'version' => '15.17',
305
  'status' => 'agency',
306
  'name_clean' => 'computer-repair-service',
307
  ),
308
+ 27 =>
309
  array (
310
  'type' => 'CSMM PRO',
311
  'version' => '15.17',
316
  'status' => 'pro',
317
  'name_clean' => 'concert',
318
  ),
319
+ 28 =>
320
  array (
321
  'type' => 'CSMM PRO',
322
  'version' => '15.17',
327
  'status' => 'pro',
328
  'name_clean' => 'conference-event',
329
  ),
330
+ 29 =>
331
  array (
332
  'type' => 'CSMM PRO',
333
  'version' => '15.17',
338
  'status' => 'agency',
339
  'name_clean' => 'construction-company',
340
  ),
341
+ 30 =>
342
  array (
343
  'type' => 'CSMM PRO',
344
  'version' => '15.17',
349
  'status' => 'agency',
350
  'name_clean' => 'custom-decor',
351
  ),
352
+ 31 =>
353
  array (
354
  'type' => 'CSMM PRO',
355
  'version' => '5.005',
360
  'status' => 'pro',
361
  'name_clean' => 'default',
362
  ),
363
+ 32 =>
364
  array (
365
  'type' => 'CSMM PRO',
366
  'version' => '15.17',
371
  'status' => 'agency',
372
  'name_clean' => 'dental-clinic',
373
  ),
374
+ 33 =>
375
  array (
376
  'type' => 'CSMM PRO',
377
  'version' => '15.17',
382
  'status' => 'pro',
383
  'name_clean' => 'dog-shelter',
384
  ),
385
+ 34 =>
386
  array (
387
  'type' => 'CSMM PRO',
388
  'version' => '5.001',
393
  'status' => 'agency',
394
  'name_clean' => 'dog-training-and-behavior-consulting',
395
  ),
396
+ 35 =>
397
  array (
398
  'type' => 'CSMM PRO',
399
  'version' => '15.17',
404
  'status' => 'pro',
405
  'name_clean' => 'employment',
406
  ),
407
+ 36 =>
408
  array (
409
  'type' => 'CSMM PRO',
410
  'version' => '15.17',
415
  'status' => 'agency',
416
  'name_clean' => 'essay-writing-service',
417
  ),
418
+ 37 =>
419
  array (
420
  'type' => 'CSMM PRO',
421
  'version' => '15.17',
426
  'status' => 'pro',
427
  'name_clean' => 'fall-video',
428
  ),
429
+ 38 =>
430
  array (
431
  'type' => 'CSMM PRO',
432
  'version' => '15.17',
437
  'status' => 'agency',
438
  'name_clean' => 'fashion',
439
  ),
440
+ 39 =>
441
  array (
442
  'type' => 'CSMM PRO',
443
  'version' => '15.17',
448
  'status' => 'pro',
449
  'name_clean' => 'financial-district',
450
  ),
451
+ 40 =>
452
  array (
453
  'type' => 'CSMM PRO',
454
  'version' => '15.17',
459
  'status' => 'agency',
460
  'name_clean' => 'fitness-e-shop',
461
  ),
462
+ 41 =>
463
  array (
464
  'type' => 'CSMM PRO',
465
  'version' => '15.05',
470
  'status' => 'agency',
471
  'name_clean' => 'flower-shop',
472
  ),
473
+ 42 =>
474
  array (
475
  'type' => 'CSMM PRO',
476
  'version' => '15.17',
481
  'status' => 'pro',
482
  'name_clean' => 'food-blog',
483
  ),
484
+ 43 =>
485
  array (
486
  'type' => 'CSMM PRO',
487
  'version' => '15.17',
492
  'status' => 'pro',
493
  'name_clean' => 'football',
494
  ),
495
+ 44 =>
496
  array (
497
  'type' => 'CSMM PRO',
498
  'version' => '15.17',
503
  'status' => 'pro',
504
  'name_clean' => 'frozen-nature',
505
  ),
506
+ 45 =>
507
  array (
508
  'type' => 'CSMM PRO',
509
  'version' => '15.17',
514
  'status' => 'pro',
515
  'name_clean' => 'future-technology',
516
  ),
517
+ 46 =>
518
  array (
519
  'type' => 'CSMM PRO',
520
  'version' => '15.17',
525
  'status' => 'pro',
526
  'name_clean' => 'greenlife',
527
  ),
528
+ 47 =>
529
  array (
530
  'type' => 'CSMM PRO',
531
  'version' => '15.17',
536
  'status' => 'pro',
537
  'name_clean' => 'halloween',
538
  ),
539
+ 48 =>
540
  array (
541
  'type' => 'CSMM PRO',
542
  'version' => '15.17',
547
  'status' => 'agency',
548
  'name_clean' => 'healthy-eating',
549
  ),
550
+ 49 =>
551
  array (
552
  'type' => 'CSMM PRO',
553
  'version' => '15.17',
558
  'status' => 'pro',
559
  'name_clean' => 'holiday-resort',
560
  ),
561
+ 50 =>
562
  array (
563
  'type' => 'CSMM PRO',
564
  'version' => '15.17',
569
  'status' => 'pro',
570
  'name_clean' => 'homemade-chocolate-gifts',
571
  ),
572
+ 51 =>
573
+ array (
574
+ 'type' => 'CSMM PRO',
575
+ 'version' => '15.17',
576
+ 'last_edit' => 'Mon, 21 Oct 2019 12:34:08 +0000',
577
+ 'name' => 'Hosting',
578
+ 'description' => '',
579
+ 'frontpage' => '1',
580
+ 'status' => 'pro',
581
+ 'name_clean' => 'hosting',
582
+ ),
583
+ 52 =>
584
  array (
585
  'type' => 'CSMM PRO',
586
  'version' => '15.17',
591
  'status' => 'pro',
592
  'name_clean' => 'ice-cream-shop',
593
  ),
594
+ 53 =>
595
  array (
596
  'type' => 'CSMM PRO',
597
  'version' => '15.17',
602
  'status' => 'pro',
603
  'name_clean' => 'inspy-romance',
604
  ),
605
+ 54 =>
606
  array (
607
  'type' => 'CSMM PRO',
608
  'version' => '15.05',
613
  'status' => 'agency',
614
  'name_clean' => 'interior-design',
615
  ),
616
+ 55 =>
617
  array (
618
  'type' => 'CSMM PRO',
619
  'version' => '15.17',
624
  'status' => 'pro',
625
  'name_clean' => 'it-conference',
626
  ),
627
+ 56 =>
628
  array (
629
  'type' => 'CSMM PRO',
630
  'version' => '5.14',
635
  'status' => 'agency',
636
  'name_clean' => 'journey-video',
637
  ),
638
+ 57 =>
639
  array (
640
  'type' => 'CSMM PRO',
641
  'version' => '15.17',
646
  'status' => 'agency',
647
  'name_clean' => 'ladies-accessories',
648
  ),
649
+ 58 =>
650
  array (
651
  'type' => 'CSMM PRO',
652
  'version' => '15.17',
657
  'status' => 'pro',
658
  'name_clean' => 'lego-bricks',
659
  ),
660
+ 59 =>
661
  array (
662
  'type' => 'CSMM PRO',
663
  'version' => '15.17',
668
  'status' => 'agency',
669
  'name_clean' => 'loneliness',
670
  ),
671
+ 60 =>
672
  array (
673
  'type' => 'CSMM PRO',
674
  'version' => '15.17',
679
  'status' => 'agency',
680
  'name_clean' => 'lonely-road',
681
  ),
682
+ 61 =>
683
  array (
684
  'type' => 'CSMM PRO',
685
  'version' => '15.17',
690
  'status' => 'pro',
691
  'name_clean' => 'luxury-car',
692
  ),
693
+ 62 =>
694
  array (
695
  'type' => 'CSMM PRO',
696
  'version' => '5.005',
701
  'status' => 'pro',
702
  'name_clean' => 'maintenance-mode',
703
  ),
704
+ 63 =>
705
  array (
706
  'type' => 'CSMM PRO',
707
  'version' => '5.005',
712
  'status' => 'agency',
713
  'name_clean' => 'makeup-artist-training',
714
  ),
715
+ 64 =>
716
+ array (
717
+ 'type' => 'CSMM PRO',
718
+ 'version' => '15.17',
719
+ 'last_edit' => 'Mon, 21 Oct 2019 13:36:56 +0000',
720
+ 'name' => 'Metrics (Video)',
721
+ 'description' => '',
722
+ 'frontpage' => '1',
723
+ 'status' => 'agency',
724
+ 'name_clean' => 'metrics-video',
725
+ ),
726
+ 65 =>
727
  array (
728
  'type' => 'CSMM PRO',
729
  'version' => '15.17',
734
  'status' => 'pro',
735
  'name_clean' => 'misty-forest-video',
736
  ),
737
+ 66 =>
738
  array (
739
  'type' => 'CSMM PRO',
740
  'version' => '15.17',
745
  'status' => 'agency',
746
  'name_clean' => 'mobile-designer',
747
  ),
748
+ 67 =>
749
  array (
750
  'type' => 'CSMM PRO',
751
  'version' => '15.17',
756
  'status' => 'agency',
757
  'name_clean' => 'mobile-meeting',
758
  ),
759
+ 68 =>
760
  array (
761
  'type' => 'CSMM PRO',
762
  'version' => '5.005',
767
  'status' => 'pro',
768
  'name_clean' => 'modern-blog',
769
  ),
770
+ 69 =>
771
  array (
772
  'type' => 'CSMM PRO',
773
  'version' => '15.05',
778
  'status' => 'agency',
779
  'name_clean' => 'modern-office',
780
  ),
781
+ 70 =>
782
  array (
783
  'type' => 'CSMM PRO',
784
  'version' => '15.17',
789
  'status' => 'agency',
790
  'name_clean' => 'modern-recipes',
791
  ),
792
+ 71 =>
793
  array (
794
  'type' => 'CSMM PRO',
795
  'version' => '15.17',
800
  'status' => 'pro',
801
  'name_clean' => 'mountain-slide',
802
  ),
803
+ 72 =>
804
  array (
805
  'type' => 'CSMM PRO',
806
  'version' => '5.05',
811
  'status' => 'pro',
812
  'name_clean' => 'mountain',
813
  ),
814
+ 73 =>
815
  array (
816
  'type' => 'CSMM PRO',
817
  'version' => '15.17',
822
  'status' => 'pro',
823
  'name_clean' => 'movie-trailer-video',
824
  ),
825
+ 74 =>
826
  array (
827
  'type' => 'CSMM PRO',
828
  'version' => '15.17',
833
  'status' => 'pro',
834
  'name_clean' => 'music',
835
  ),
836
+ 75 =>
837
  array (
838
  'type' => 'CSMM PRO',
839
  'version' => '15.05',
844
  'status' => 'agency',
845
  'name_clean' => 'nature',
846
  ),
847
+ 76 =>
848
  array (
849
  'type' => 'CSMM PRO',
850
  'version' => '5.14',
855
  'status' => 'agency',
856
  'name_clean' => 'office-meeting-video',
857
  ),
858
+ 77 =>
859
  array (
860
  'type' => 'CSMM PRO',
861
  'version' => '15.05',
866
  'status' => 'agency',
867
  'name_clean' => 'office-theme',
868
  ),
869
+ 78 =>
870
  array (
871
  'type' => 'CSMM PRO',
872
  'version' => '5.005',
877
  'status' => 'agency',
878
  'name_clean' => 'online-learning',
879
  ),
880
+ 79 =>
881
  array (
882
  'type' => 'CSMM PRO',
883
  'version' => '15.17',
888
  'status' => 'pro',
889
  'name_clean' => 'organic-cosmetics',
890
  ),
891
+ 80 =>
892
  array (
893
  'type' => 'CSMM PRO',
894
  'version' => '15.17',
899
  'status' => 'pro',
900
  'name_clean' => 'pancake-house',
901
  ),
902
+ 81 =>
903
  array (
904
  'type' => 'CSMM PRO',
905
  'version' => '15.17',
910
  'status' => 'pro',
911
  'name_clean' => 'parenting',
912
  ),
913
+ 82 =>
914
  array (
915
  'type' => 'CSMM PRO',
916
  'version' => '15.17',
921
  'status' => 'pro',
922
  'name_clean' => 'passage',
923
  ),
924
+ 83 =>
925
  array (
926
  'type' => 'CSMM PRO',
927
  'version' => '15.17',
932
  'status' => 'agency',
933
  'name_clean' => 'peaceful-river',
934
  ),
935
+ 84 =>
936
  array (
937
  'type' => 'CSMM PRO',
938
  'version' => '15.17',
943
  'status' => 'pro',
944
  'name_clean' => 'personal-trainer',
945
  ),
946
+ 85 =>
947
  array (
948
  'type' => 'CSMM PRO',
949
  'version' => '15.17',
954
  'status' => 'agency',
955
  'name_clean' => 'photography',
956
  ),
957
+ 86 =>
958
  array (
959
  'type' => 'CSMM PRO',
960
  'version' => '15.17',
965
  'status' => 'agency',
966
  'name_clean' => 'podcast',
967
  ),
968
+ 87 =>
969
  array (
970
  'type' => 'CSMM PRO',
971
  'version' => '15.17',
976
  'status' => 'agency',
977
  'name_clean' => 'romantic-travels',
978
  ),
979
+ 88 =>
980
  array (
981
  'type' => 'CSMM PRO',
982
  'version' => '15.17',
987
  'status' => 'agency',
988
  'name_clean' => 'running-blog',
989
  ),
990
+ 89 =>
991
  array (
992
  'type' => 'CSMM PRO',
993
  'version' => '15.14',
998
  'status' => 'pro',
999
  'name_clean' => 'running-video',
1000
  ),
1001
+ 90 =>
1002
  array (
1003
  'type' => 'CSMM PRO',
1004
  'version' => '15.17',
1009
  'status' => 'agency',
1010
  'name_clean' => 'scholar-university',
1011
  ),
1012
+ 91 =>
1013
  array (
1014
  'type' => 'CSMM PRO',
1015
  'version' => '15.17',
1020
  'status' => 'agency',
1021
  'name_clean' => 'seo-digital-marketing',
1022
  ),
1023
+ 92 =>
1024
  array (
1025
  'type' => 'CSMM PRO',
1026
  'version' => '5.005',
1031
  'status' => 'agency',
1032
  'name_clean' => 'shoes-store',
1033
  ),
1034
+ 93 =>
1035
  array (
1036
  'type' => 'CSMM PRO',
1037
  'version' => '15.17',
1042
  'status' => 'pro',
1043
  'name_clean' => 'simple-beige-design',
1044
  ),
1045
+ 94 =>
1046
  array (
1047
  'type' => 'CSMM PRO',
1048
  'version' => '15.17',
1053
  'status' => 'agency',
1054
  'name_clean' => 'skincare',
1055
  ),
1056
+ 95 =>
1057
  array (
1058
  'type' => 'CSMM PRO',
1059
  'version' => '15.17',
1064
  'status' => 'pro',
1065
  'name_clean' => 'snow-screensaver-video',
1066
  ),
1067
+ 96 =>
1068
  array (
1069
  'type' => 'CSMM PRO',
1070
  'version' => '15.17',
1075
  'status' => 'pro',
1076
  'name_clean' => 'snowboarding-blog',
1077
  ),
1078
+ 97 =>
1079
  array (
1080
  'type' => 'CSMM PRO',
1081
  'version' => '15.17',
1086
  'status' => 'pro',
1087
  'name_clean' => 'snowy-mountain',
1088
  ),
1089
+ 98 =>
1090
  array (
1091
  'type' => 'CSMM PRO',
1092
  'version' => '15.17',
1097
  'status' => 'pro',
1098
  'name_clean' => 'snowy-oasis',
1099
  ),
1100
+ 99 =>
1101
  array (
1102
  'type' => 'CSMM PRO',
1103
  'version' => '15.17',
1108
  'status' => 'agency',
1109
  'name_clean' => 'social-media-service',
1110
  ),
1111
+ 100 =>
1112
  array (
1113
  'type' => 'CSMM PRO',
1114
  'version' => '15.17',
1119
  'status' => 'agency',
1120
  'name_clean' => 'spa-beauty-studio',
1121
  ),
1122
+ 101 =>
1123
  array (
1124
  'type' => 'CSMM PRO',
1125
  'version' => '15.17',
1130
  'status' => 'agency',
1131
  'name_clean' => 'spa',
1132
  ),
1133
+ 102 =>
1134
  array (
1135
  'type' => 'CSMM PRO',
1136
  'version' => '15.17',
1141
  'status' => 'agency',
1142
  'name_clean' => 'spring',
1143
  ),
1144
+ 103 =>
1145
  array (
1146
  'type' => 'CSMM PRO',
1147
  'version' => '15.17',
1152
  'status' => 'pro',
1153
  'name_clean' => 'startup',
1154
  ),
1155
+ 104 =>
1156
  array (
1157
  'type' => 'CSMM PRO',
1158
  'version' => '15.17',
1163
  'status' => 'pro',
1164
  'name_clean' => 'stylish-workplace',
1165
  ),
1166
+ 105 =>
1167
  array (
1168
  'type' => 'CSMM PRO',
1169
  'version' => '15.17',
1174
  'status' => 'pro',
1175
  'name_clean' => 'techexpo',
1176
  ),
1177
+ 106 =>
1178
  array (
1179
  'type' => 'CSMM PRO',
1180
  'version' => '15.17',
1185
  'status' => 'agency',
1186
  'name_clean' => 'telecommunication',
1187
  ),
1188
+ 107 =>
1189
  array (
1190
  'type' => 'CSMM PRO',
1191
  'version' => '15.17',
1196
  'status' => 'agency',
1197
  'name_clean' => 'the-big-city-newsletter',
1198
  ),
1199
+ 108 =>
1200
  array (
1201
  'type' => 'CSMM PRO',
1202
  'version' => '5.14',
1207
  'status' => 'pro',
1208
  'name_clean' => 'the-sunny-view',
1209
  ),
1210
+ 109 =>
1211
  array (
1212
  'type' => 'CSMM PRO',
1213
  'version' => '5.001',
1218
  'status' => 'pro',
1219
  'name_clean' => 'travel-agency',
1220
  ),
1221
+ 110 =>
1222
  array (
1223
  'type' => 'CSMM PRO',
1224
  'version' => '15.05',
1229
  'status' => 'agency',
1230
  'name_clean' => 'travel-blog',
1231
  ),
1232
+ 111 =>
1233
  array (
1234
  'type' => 'CSMM PRO',
1235
  'version' => '15.17',
1240
  'status' => 'agency',
1241
  'name_clean' => 'tulips',
1242
  ),
1243
+ 112 =>
1244
  array (
1245
  'type' => 'CSMM PRO',
1246
  'version' => '15.17',
1251
  'status' => 'pro',
1252
  'name_clean' => 'valentines-day',
1253
  ),
1254
+ 113 =>
1255
  array (
1256
  'type' => 'CSMM PRO',
1257
  'version' => '5.001',
1262
  'status' => 'pro',
1263
  'name_clean' => 'video-production',
1264
  ),
1265
+ 114 =>
1266
  array (
1267
  'type' => 'CSMM PRO',
1268
  'version' => '15.17',
1273
  'status' => 'agency',
1274
  'name_clean' => 'virtual-assistant-service',
1275
  ),
1276
+ 115 =>
1277
  array (
1278
  'type' => 'CSMM PRO',
1279
  'version' => '15.17',
1284
  'status' => 'pro',
1285
  'name_clean' => 'walking-away-video',
1286
  ),
1287
+ 116 =>
1288
  array (
1289
  'type' => 'CSMM PRO',
1290
  'version' => '5.005',
1295
  'status' => 'agency',
1296
  'name_clean' => 'webinar',
1297
  ),
1298
+ 117 =>
1299
  array (
1300
  'type' => 'CSMM PRO',
1301
  'version' => '5.005',
1306
  'status' => 'agency',
1307
  'name_clean' => 'wedding-blog',
1308
  ),
1309
+ 118 =>
1310
  array (
1311
  'type' => 'CSMM PRO',
1312
  'version' => '15.17',
1317
  'status' => 'pro',
1318
  'name_clean' => 'white-orchids',
1319
  ),
1320
+ 119 =>
1321
  array (
1322
  'type' => 'CSMM PRO',
1323
  'version' => '5.14',
1328
  'status' => 'agency',
1329
  'name_clean' => 'working-out',
1330
  ),
1331
+ 120 =>
1332
  array (
1333
  'type' => 'CSMM PRO',
1334
  'version' => '15.05',
1339
  'status' => 'agency',
1340
  'name_clean' => 'workplace',
1341
  ),
1342
+ 121 =>
1343
  array (
1344
  'type' => 'CSMM PRO',
1345
  'version' => '15.17',
1353
  );
1354
 
1355
  function csmm_themes_sort($item1, $item2) {
1356
+ if (strtotime($item1['last_edit']) == strtotime($item2['last_edit'])) {
1357
  return 0;
1358
  }
1359
+ return strtotime($item1['last_edit']) < strtotime($item2['last_edit']) ? 1 : -1;
1360
  }
1361
  usort($themes,'csmm_themes_sort');
1362
 
framework/public/include/functions.php CHANGED
@@ -12,30 +12,9 @@ if (!defined('WPINC')) {
12
  }
13
 
14
  function csmm_render_template( $options ) {
15
-
16
- if(csmm_is_notificationx_really_setup_and_active()){
17
- libxml_use_internal_errors(true);
18
- $doc = new DOMDocument();
19
- $doc->loadHTML('<?xml encoding="UTF-8">' . ob_get_clean());
20
- $selector = new DOMXPath($doc);
21
- $notificationx_notification = $options['notificationx_notification'];
22
- if($notificationx_notification == 'all'){
23
- $nx_query = 'nx-bar-';
24
- } else if($notificationx_notification>0){
25
- $nx_query = 'nx-bar-'.$notificationx_notification;
26
- } else {
27
- $nx_query = false;
28
- }
29
-
30
- if($nx_query !== false){
31
- $nodes = $selector->query('//*[starts-with(@id, "'.$nx_query.'")]');
32
- $nx_bar_html = array();
33
- foreach($nodes as $node){
34
- $nx_bar_html[] = $node->ownerDocument->saveHTML($node);
35
- }
36
- }
37
- } else if (ob_get_length() > 0 ) {
38
- ob_end_clean();
39
  }
40
 
41
  /**
12
  }
13
 
14
  function csmm_render_template( $options ) {
15
+
16
+ if (ob_get_length() > 0 ) {
17
+ ob_end_clean();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  }
19
 
20
  /**
framework/public/init.php CHANGED
@@ -75,23 +75,12 @@ function csmm_plugin_init() {
75
  if ( '1' == $signals_csmm_options['show_logged_in'] ) {
76
  // Checking if the user is logged in or not
77
  if ( ! is_user_logged_in() ) {
78
- // Render the maintenance mode template since the user is not logged in
79
- if(csmm_is_notificationx_really_setup_and_active()){
80
- ob_start();
81
- add_action('shutdown','csmm_render_template_x', 0, 1);
82
- } else {
83
- csmm_render_template( $signals_csmm_options );
84
- }
85
-
86
  }
87
  } else {
88
  // Render the maintenance mode template
89
- if(csmm_is_notificationx_really_setup_and_active()){
90
- ob_start();
91
- add_action('shutdown','csmm_render_template_x', 0, 1);
92
- } else {
93
- csmm_render_template( $signals_csmm_options );
94
- }
95
  }
96
  }
97
  } else {
@@ -99,21 +88,11 @@ function csmm_plugin_init() {
99
  // Checking if the user is logged in or not
100
  if ( ! is_user_logged_in() ) {
101
  // Render the maintenance mode template since the user is not logged in
102
- if(csmm_is_notificationx_really_setup_and_active()){
103
- ob_start();
104
- add_action('shutdown','csmm_render_template_x', 0, 1);
105
- } else {
106
- csmm_render_template( $signals_csmm_options );
107
- }
108
  }
109
  } else {
110
  // Render the maintenance mode template.
111
- if(csmm_is_notificationx_really_setup_and_active()){
112
- ob_start();
113
- add_action('shutdown','csmm_render_template_x', 0, 1);
114
- } else {
115
- csmm_render_template( $signals_csmm_options );
116
- }
117
  }
118
  }
119
  }
@@ -122,9 +101,6 @@ function csmm_plugin_init() {
122
  }
123
  add_action( 'init', 'csmm_plugin_init' );
124
 
125
-
126
-
127
-
128
  function csmm_subscribe_hide() {
129
  set_transient('csmm_subscribe_hide', true, DAY_IN_SECONDS * 90);
130
 
75
  if ( '1' == $signals_csmm_options['show_logged_in'] ) {
76
  // Checking if the user is logged in or not
77
  if ( ! is_user_logged_in() ) {
78
+ // Render the maintenance mode template since the user is not logged in
79
+ csmm_render_template( $signals_csmm_options );
 
 
 
 
 
 
80
  }
81
  } else {
82
  // Render the maintenance mode template
83
+ csmm_render_template( $signals_csmm_options );
 
 
 
 
 
84
  }
85
  }
86
  } else {
88
  // Checking if the user is logged in or not
89
  if ( ! is_user_logged_in() ) {
90
  // Render the maintenance mode template since the user is not logged in
91
+ csmm_render_template( $signals_csmm_options );
 
 
 
 
 
92
  }
93
  } else {
94
  // Render the maintenance mode template.
95
+ csmm_render_template( $signals_csmm_options );
 
 
 
 
 
96
  }
97
  }
98
  }
101
  }
102
  add_action( 'init', 'csmm_plugin_init' );
103
 
 
 
 
104
  function csmm_subscribe_hide() {
105
  set_transient('csmm_subscribe_hide', true, DAY_IN_SECONDS * 90);
106
 
framework/public/views/html.php CHANGED
@@ -57,13 +57,6 @@ if(csmm_is_mailoptin_active() && $options['mailoptin_campaign']>0 && isset($opti
57
  echo '<script src="'.MAILOPTIN_ASSETS_URL.'/js/mailoptin.min.js"></script>';
58
  }
59
 
60
- if(csmm_is_notificationx_really_setup_and_active()){
61
- echo '<script src="'.includes_url('/js/jquery/jquery.js').'"></script>';
62
- echo '<link rel="stylesheet" href="' . NOTIFICATIONX_PUBLIC_URL . 'assets/css/notificationx-public.min.css" type="text/css">';
63
- echo '<script type="text/javascript" src="' . NOTIFICATIONX_PUBLIC_URL . 'assets/js/Cookies.js"></script>';
64
- echo '<script type="text/javascript" src="' . NOTIFICATIONX_PUBLIC_URL . 'assets/js/notificationx-public.min.js"></script>';
65
- }
66
-
67
  // analytics
68
  if (csmm_convert_ga($options['analytics'])) {
69
  echo "<script>
@@ -203,10 +196,6 @@ if(csmm_is_notificationx_really_setup_and_active()){
203
  </div><!-- .maintenance-mode -->
204
  <?php
205
 
206
- if(isset($nx_bar_html) && is_array($nx_bar_html) && count($nx_bar_html)>0){
207
- echo implode('',$nx_bar_html);
208
- }
209
-
210
  if (@$options['show_login_button'] == '1') {
211
  if (is_user_logged_in()) {
212
  echo '<div id="login-button" class="loggedin">';
@@ -217,6 +206,6 @@ if (@$options['show_login_button'] == '1') {
217
  }
218
  echo '</div>';
219
  }
220
- ?>
221
  </body>
222
- </html>
57
  echo '<script src="'.MAILOPTIN_ASSETS_URL.'/js/mailoptin.min.js"></script>';
58
  }
59
 
 
 
 
 
 
 
 
60
  // analytics
61
  if (csmm_convert_ga($options['analytics'])) {
62
  echo "<script>
196
  </div><!-- .maintenance-mode -->
197
  <?php
198
 
 
 
 
 
199
  if (@$options['show_login_button'] == '1') {
200
  if (is_user_logged_in()) {
201
  echo '<div id="login-button" class="loggedin">';
206
  }
207
  echo '</div>';
208
  }
209
+ ?>
210
  </body>
211
+ </html>
minimal-coming-soon-maintenance-mode.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Minimal Coming Soon & Maintenance Mode
4
  * Plugin URI: https://comingsoonwp.com/
5
  * Description: Simply awesome coming soon & maintenance mode plugin. Super-simple to use. MailChimp support built-in.
6
- * Version: 2.07
7
  * Author: WebFactory Ltd
8
  * Author URI: https://www.webfactoryltd.com/
9
  * License: GPLv3
@@ -62,7 +62,6 @@ function csmm_default_options() {
62
  'settings_customized' => '0',
63
 
64
  'mailoptin_campaign' => 0,
65
- 'notificationx_notification' => 0,
66
  'mail_system_to_use' => 'mc',
67
  'mailchimp_api' => '',
68
  'mailchimp_list' => '',
@@ -218,10 +217,6 @@ require CSMM_PATH . 'framework/public/init.php';
218
  // MailOptin
219
  require_once CSMM_PATH . 'framework/admin/include/mailoptin.php';
220
 
221
- // NotificationX
222
- require_once CSMM_PATH . 'framework/admin/include/nx.php';
223
-
224
-
225
  function csmm_get_plugin_version() {
226
  $plugin_data = get_file_data(__FILE__, array('version' => 'Version'), 'plugin');
227
 
3
  * Plugin Name: Minimal Coming Soon & Maintenance Mode
4
  * Plugin URI: https://comingsoonwp.com/
5
  * Description: Simply awesome coming soon & maintenance mode plugin. Super-simple to use. MailChimp support built-in.
6
+ * Version: 2.10
7
  * Author: WebFactory Ltd
8
  * Author URI: https://www.webfactoryltd.com/
9
  * License: GPLv3
62
  'settings_customized' => '0',
63
 
64
  'mailoptin_campaign' => 0,
 
65
  'mail_system_to_use' => 'mc',
66
  'mailchimp_api' => '',
67
  'mailchimp_list' => '',
217
  // MailOptin
218
  require_once CSMM_PATH . 'framework/admin/include/mailoptin.php';
219
 
 
 
 
 
220
  function csmm_get_plugin_version() {
221
  $plugin_data = get_file_data(__FILE__, array('version' => 'Version'), 'plugin');
222
 
readme.txt CHANGED
@@ -1,14 +1,14 @@
1
- === Minimal Coming Soon & Maintenance Mode – Coming Soon Builder ===
2
  Contributors: WebFactory, googlemapswidget, wpreset, underconstructionpage
3
  Tags: coming soon, coming soon page, maintenance mode, maintenance mode page, coming soon mode, under construction, maintenance mode page, landing page, offline page, subscribe form, maintenance, mailchimp, gdpr, coming soon builder, coming soon status
4
  Requires at least: 4.0
5
  Requires PHP: 5.2
6
- Tested up to: 5.2
7
- Stable tag: 2.07
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
11
- Best Coming Soon & Maintenance Mode page builder! Create awesome Coming Soon Pages with a MailChimp form.
12
 
13
  == Description ==
14
  The <a href="https://comingsoonwp.com/?utm_source=wordpressorg&utm_medium=content&utm_campaign=readme&utm_content=top">Minimal Coming Soon & Maintenance Mode</a> plugin allows you to **quickly & easily** set up a **Coming Soon Page, Maintenance Mode Page**, Landing Page or Launch Page for your website. It's best to start any new site with a Coming Soon page and collect leads from day one!
@@ -19,11 +19,9 @@ Minimal Coming Soon plugin is simple & flexible and works with any WordPress the
19
 
20
  You can collect leads and subscribers on your Coming Soon Page via optin boxes or via optin popups thanks to our integration with <a href="https://wordpress.org/plugins/mailoptin/">MailOptin</a>. A great, free plugin that connects to Aweber, Constant Contact and numerous other autoresponder services allowing you to easily collect emails from the moment your coming soon page is up.
21
 
22
- Increase 20-40% Sales & Interaction in Your Site with <a href="https://wordpress.org/plugins/notificationx/">NotificationX</a>!
23
-
24
  = Coming Soon Plugin Features =
25
 
26
- * Check out <a href="https://comingsoonwp.com/themes/?utm_source=wordpressorg&utm_medium=content&utm_campaign=readme&utm_content=themes">100+ themes</a> that come with the PRO version, <a href="https://comingsoonwp.com/image-filters/?utm_source=wordpressorg&utm_medium=content&utm_campaign=readme&utm_content=instagram-filters">26+ Instagram filters</a> and <a href="https://comingsoonwp.com/content-animations/?utm_source=wordpressorg&utm_medium=content&utm_campaign=readme&utm_content=content-animations">47+ spectacular content animations</a> for Coming Soon Pages
27
  * Works with all WordPress themes and plugins
28
  * Completely customizable look and feel including background color, cover image, fonts, logo
29
  * Includes <a href="https://comingsoonwp.com/?utm_source=wordpressorg&utm_medium=content&utm_campaign=readme&utm_content=million_images">over a million premium images</a> in PRO version
@@ -84,6 +82,11 @@ Yes and no. When activated it enables itself across the entire WP-MU network.
84
 
85
  == Changelog ==
86
 
 
 
 
 
 
87
  = 2.07 =
88
  * 2019-10-09
89
  * minor fixes
1
+ === Minimal Coming Soon & Maintenance Mode – Coming Soon Page ===
2
  Contributors: WebFactory, googlemapswidget, wpreset, underconstructionpage
3
  Tags: coming soon, coming soon page, maintenance mode, maintenance mode page, coming soon mode, under construction, maintenance mode page, landing page, offline page, subscribe form, maintenance, mailchimp, gdpr, coming soon builder, coming soon status
4
  Requires at least: 4.0
5
  Requires PHP: 5.2
6
+ Tested up to: 5.3
7
+ Stable tag: 2.10
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
11
+ Best Coming Soon & Maintenance Mode page! Create awesome Coming Soon Pages with a MailChimp form.
12
 
13
  == Description ==
14
  The <a href="https://comingsoonwp.com/?utm_source=wordpressorg&utm_medium=content&utm_campaign=readme&utm_content=top">Minimal Coming Soon & Maintenance Mode</a> plugin allows you to **quickly & easily** set up a **Coming Soon Page, Maintenance Mode Page**, Landing Page or Launch Page for your website. It's best to start any new site with a Coming Soon page and collect leads from day one!
19
 
20
  You can collect leads and subscribers on your Coming Soon Page via optin boxes or via optin popups thanks to our integration with <a href="https://wordpress.org/plugins/mailoptin/">MailOptin</a>. A great, free plugin that connects to Aweber, Constant Contact and numerous other autoresponder services allowing you to easily collect emails from the moment your coming soon page is up.
21
 
 
 
22
  = Coming Soon Plugin Features =
23
 
24
+ * Check out <a href="https://comingsoonwp.com/themes/?utm_source=wordpressorg&utm_medium=content&utm_campaign=readme&utm_content=themes">120+ themes</a> that come with the PRO version, <a href="https://comingsoonwp.com/image-filters/?utm_source=wordpressorg&utm_medium=content&utm_campaign=readme&utm_content=instagram-filters">26+ Instagram filters</a> and <a href="https://comingsoonwp.com/content-animations/?utm_source=wordpressorg&utm_medium=content&utm_campaign=readme&utm_content=content-animations">47+ spectacular content animations</a> for Coming Soon Pages
25
  * Works with all WordPress themes and plugins
26
  * Completely customizable look and feel including background color, cover image, fonts, logo
27
  * Includes <a href="https://comingsoonwp.com/?utm_source=wordpressorg&utm_medium=content&utm_campaign=readme&utm_content=million_images">over a million premium images</a> in PRO version
82
 
83
  == Changelog ==
84
 
85
+ = 2.10 =
86
+ * 2019-11-11
87
+ * minor fixes
88
+ * removed NotificationX integration
89
+
90
  = 2.07 =
91
  * 2019-10-09
92
  * minor fixes