Calendar by WD – Responsive Event Calendar - Version 1.5.50

Version Description

Fixed: Minor bug

Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 Calendar by WD – Responsive Event Calendar
Version 1.5.50
Comparing to
See all releases

Code changes from version 1.5.49 to 1.5.50

calendar.php CHANGED
@@ -3,11 +3,11 @@
3
  Plugin Name: Spider Event Calendar
4
  Plugin URI: https://web-dorado.com/products/wordpress-calendar.html
5
  Description: Spider Event Calendar is a highly configurable product which allows you to have multiple organized events. Spider Event Calendar is an extraordinary user friendly extension.
6
- Version: 1.5.49
7
  Author: https://web-dorado.com/
8
  License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
9
  */
10
- $wd_spider_calendar_version="1.5.49";
11
  // LANGUAGE localization.
12
  function sp_calendar_language_load() {
13
  load_plugin_textdomain('sp_calendar', FALSE, basename(dirname(__FILE__)) . '/languages');
@@ -258,7 +258,6 @@ if(widget!=1)
258
  'date' => $date,
259
  'months' => (($default == 'week' || $default == 'week_widget') ? $prev_month . ',' . $this_month . ',' . $next_month : ''),
260
  'many_sp_calendar' => $many_sp_calendar,
261
- 'cur_page_url' => urlencode(current_page_url_sc()),
262
  'widget' => $widget,
263
  'rand' => $many_sp_calendar,
264
  ), admin_url('admin-ajax.php'));?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>');</script>
3
  Plugin Name: Spider Event Calendar
4
  Plugin URI: https://web-dorado.com/products/wordpress-calendar.html
5
  Description: Spider Event Calendar is a highly configurable product which allows you to have multiple organized events. Spider Event Calendar is an extraordinary user friendly extension.
6
+ Version: 1.5.50
7
  Author: https://web-dorado.com/
8
  License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
9
  */
10
+ $wd_spider_calendar_version="1.5.50";
11
  // LANGUAGE localization.
12
  function sp_calendar_language_load() {
13
  load_plugin_textdomain('sp_calendar', FALSE, basename(dirname(__FILE__)) . '/languages');
258
  'date' => $date,
259
  'months' => (($default == 'week' || $default == 'week_widget') ? $prev_month . ',' . $this_month . ',' . $next_month : ''),
260
  'many_sp_calendar' => $many_sp_calendar,
 
261
  'widget' => $widget,
262
  'rand' => $many_sp_calendar,
263
  ), admin_url('admin-ajax.php'));?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>');</script>
front_end/bigcalendarday.php CHANGED
@@ -8,7 +8,6 @@ function big_calendar_day() {
8
  $theme_id = (isset($_GET['theme_id']) ? (int) $_GET['theme_id'] : 30);
9
  $date = ((isset($_GET['date']) && IsDate_inputed(esc_html($_GET['date']))) ? esc_html($_GET['date']) : '');
10
  $view_select = (isset($_GET['select']) ? esc_html($_GET['select']) : 'month,');
11
- $path_sp_cal = (isset($_GET['cur_page_url']) ? esc_html($_GET['cur_page_url']) : '');
12
  $cat_id = (isset($_GET['cat_id']) ? esc_html($_GET['cat_id']) : '');
13
  $cat_ids = (isset($_GET['cat_ids']) ? esc_html($_GET['cat_ids']) : '');
14
  $site_url = get_admin_url().'admin-ajax.php';
@@ -564,7 +563,6 @@ $theme = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'spide
564
  'select' => $view_select,
565
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
566
  'many_sp_calendar' => $many_sp_calendar,
567
- 'cur_page_url' => $path_sp_cal,
568
  'cat_id' => '',
569
  'cat_ids' => $cat_ids,
570
  'widget' => $widget,
@@ -580,7 +578,6 @@ $theme = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'spide
580
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
581
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
582
  'many_sp_calendar' => $many_sp_calendar,
583
- 'cur_page_url' => $path_sp_cal,
584
  'cat_id' => '',
585
  'cat_ids' => $cat_ids,
586
  'widget' => $widget,
@@ -595,7 +592,6 @@ $theme = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'spide
595
  'select' => $view_select,
596
  'date' => $year . '-' . add_0((Month_num($month))),
597
  'many_sp_calendar' => $many_sp_calendar,
598
- 'cur_page_url' => $path_sp_cal,
599
  'cat_id' => '',
600
  'cat_ids' => $cat_ids,
601
  'widget' => $widget,
@@ -610,7 +606,6 @@ $theme = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'spide
610
  'select' => $view_select,
611
  'date' => $year . '-' . add_0((Month_num($month))),
612
  'many_sp_calendar' => $many_sp_calendar,
613
- 'cur_page_url' => $path_sp_cal,
614
  'cat_id' => '',
615
  'cat_ids' => $cat_ids,
616
  'widget' => $widget,
@@ -637,7 +632,6 @@ $theme = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'spide
637
  'select' => $view_select,
638
  'date' => $year.'-'.add_0((Month_num($month))).'-'.date('d'),
639
  'many_sp_calendar' => $many_sp_calendar,
640
- 'cur_page_url' => $path_sp_cal,
641
  'cat_id' => '',
642
  'cat_ids' => $cat_ids,
643
  'widget' => $widget,
@@ -655,7 +649,6 @@ $theme = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'spide
655
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
656
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
657
  'many_sp_calendar' => $many_sp_calendar,
658
- 'cur_page_url' => $path_sp_cal,
659
  'cat_id' => '',
660
  'cat_ids' => $cat_ids,
661
  'widget' => $widget,
@@ -672,7 +665,6 @@ $theme = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'spide
672
  'select' => $view_select,
673
  'date' => $year . '-' . add_0((Month_num($month))),
674
  'many_sp_calendar' => $many_sp_calendar,
675
- 'cur_page_url' => $path_sp_cal,
676
  'cat_id' => '',
677
  'cat_ids' => $cat_ids,
678
  'widget' => $widget,
@@ -689,7 +681,6 @@ $theme = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'spide
689
  'select' => $view_select,
690
  'date' => $year . '-' . add_0((Month_num($month))),
691
  'many_sp_calendar' => $many_sp_calendar,
692
- 'cur_page_url' => $path_sp_cal,
693
  'cat_id' => '',
694
  'cat_ids' => $cat_ids,
695
  'widget' => $widget,
@@ -720,7 +711,6 @@ $theme = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'spide
720
  'select' => $view_select,
721
  'date' => ($year - 1) . '-' . add_0((Month_num($month))) . '-' . $day,
722
  'many_sp_calendar' => $many_sp_calendar,
723
- 'cur_page_url' => $path_sp_cal,
724
  'cat_id' => '',
725
  'cat_ids' => $cat_ids,
726
  'widget' => $widget,
@@ -755,7 +745,6 @@ $theme = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'spide
755
  'select' => $view_select,
756
  'date' => $needed_date,
757
  'many_sp_calendar' => $many_sp_calendar,
758
- 'cur_page_url' => $path_sp_cal,
759
  'cat_id' => '',
760
  'cat_ids' => $cat_ids,
761
  'widget' => $widget,
@@ -796,7 +785,6 @@ $theme = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'spide
796
  'select' => $view_select,
797
  'date' => $needed_date,
798
  'many_sp_calendar' => $many_sp_calendar,
799
- 'cur_page_url' => $path_sp_cal,
800
  'cat_id' => '',
801
  'cat_ids' => $cat_ids,
802
  'widget' => $widget,
@@ -813,7 +801,6 @@ $theme = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'spide
813
  'select' => $view_select,
814
  'date' => ($year + 1) . '-' . add_0((Month_num($month))) . '-' . $day,
815
  'many_sp_calendar' => $many_sp_calendar,
816
- 'cur_page_url' => $path_sp_cal,
817
  'cat_id' => '',
818
  'cat_ids' => $cat_ids,
819
  'widget' => $widget,
@@ -931,7 +918,6 @@ $theme = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'spide
931
  'eventID' => $ev_id[$j],
932
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . (int) $day,
933
  'many_sp_calendar' => $many_sp_calendar,
934
- 'cur_page_url' => $path_sp_cal,
935
  'widget' => $widget,
936
  'TB_iframe' => 1,
937
  'tbWidth' => $popup_width,
@@ -1028,7 +1014,6 @@ foreach($categories as $category)
1028
  'select' => $view_select,
1029
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . add_0($day),
1030
  'many_sp_calendar' => $many_sp_calendar,
1031
- 'cur_page_url' => $path_sp_cal,
1032
  'cat_id' => $category->id,
1033
  'cat_ids' => $cat_ids,
1034
  'widget' => $widget,
@@ -1046,7 +1031,6 @@ if (!empty($categories)) {
1046
  'select' => $view_select,
1047
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . add_0($day),
1048
  'many_sp_calendar' => $many_sp_calendar,
1049
- 'cur_page_url' => $path_sp_cal,
1050
  'cat_id' => '',
1051
  'cat_ids' => '',
1052
  'widget' => $widget,
8
  $theme_id = (isset($_GET['theme_id']) ? (int) $_GET['theme_id'] : 30);
9
  $date = ((isset($_GET['date']) && IsDate_inputed(esc_html($_GET['date']))) ? esc_html($_GET['date']) : '');
10
  $view_select = (isset($_GET['select']) ? esc_html($_GET['select']) : 'month,');
 
11
  $cat_id = (isset($_GET['cat_id']) ? esc_html($_GET['cat_id']) : '');
12
  $cat_ids = (isset($_GET['cat_ids']) ? esc_html($_GET['cat_ids']) : '');
13
  $site_url = get_admin_url().'admin-ajax.php';
563
  'select' => $view_select,
564
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
565
  'many_sp_calendar' => $many_sp_calendar,
 
566
  'cat_id' => '',
567
  'cat_ids' => $cat_ids,
568
  'widget' => $widget,
578
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
579
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
580
  'many_sp_calendar' => $many_sp_calendar,
 
581
  'cat_id' => '',
582
  'cat_ids' => $cat_ids,
583
  'widget' => $widget,
592
  'select' => $view_select,
593
  'date' => $year . '-' . add_0((Month_num($month))),
594
  'many_sp_calendar' => $many_sp_calendar,
 
595
  'cat_id' => '',
596
  'cat_ids' => $cat_ids,
597
  'widget' => $widget,
606
  'select' => $view_select,
607
  'date' => $year . '-' . add_0((Month_num($month))),
608
  'many_sp_calendar' => $many_sp_calendar,
 
609
  'cat_id' => '',
610
  'cat_ids' => $cat_ids,
611
  'widget' => $widget,
632
  'select' => $view_select,
633
  'date' => $year.'-'.add_0((Month_num($month))).'-'.date('d'),
634
  'many_sp_calendar' => $many_sp_calendar,
 
635
  'cat_id' => '',
636
  'cat_ids' => $cat_ids,
637
  'widget' => $widget,
649
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
650
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
651
  'many_sp_calendar' => $many_sp_calendar,
 
652
  'cat_id' => '',
653
  'cat_ids' => $cat_ids,
654
  'widget' => $widget,
665
  'select' => $view_select,
666
  'date' => $year . '-' . add_0((Month_num($month))),
667
  'many_sp_calendar' => $many_sp_calendar,
 
668
  'cat_id' => '',
669
  'cat_ids' => $cat_ids,
670
  'widget' => $widget,
681
  'select' => $view_select,
682
  'date' => $year . '-' . add_0((Month_num($month))),
683
  'many_sp_calendar' => $many_sp_calendar,
 
684
  'cat_id' => '',
685
  'cat_ids' => $cat_ids,
686
  'widget' => $widget,
711
  'select' => $view_select,
712
  'date' => ($year - 1) . '-' . add_0((Month_num($month))) . '-' . $day,
713
  'many_sp_calendar' => $many_sp_calendar,
 
714
  'cat_id' => '',
715
  'cat_ids' => $cat_ids,
716
  'widget' => $widget,
745
  'select' => $view_select,
746
  'date' => $needed_date,
747
  'many_sp_calendar' => $many_sp_calendar,
 
748
  'cat_id' => '',
749
  'cat_ids' => $cat_ids,
750
  'widget' => $widget,
785
  'select' => $view_select,
786
  'date' => $needed_date,
787
  'many_sp_calendar' => $many_sp_calendar,
 
788
  'cat_id' => '',
789
  'cat_ids' => $cat_ids,
790
  'widget' => $widget,
801
  'select' => $view_select,
802
  'date' => ($year + 1) . '-' . add_0((Month_num($month))) . '-' . $day,
803
  'many_sp_calendar' => $many_sp_calendar,
 
804
  'cat_id' => '',
805
  'cat_ids' => $cat_ids,
806
  'widget' => $widget,
918
  'eventID' => $ev_id[$j],
919
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . (int) $day,
920
  'many_sp_calendar' => $many_sp_calendar,
 
921
  'widget' => $widget,
922
  'TB_iframe' => 1,
923
  'tbWidth' => $popup_width,
1014
  'select' => $view_select,
1015
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . add_0($day),
1016
  'many_sp_calendar' => $many_sp_calendar,
 
1017
  'cat_id' => $category->id,
1018
  'cat_ids' => $cat_ids,
1019
  'widget' => $widget,
1031
  'select' => $view_select,
1032
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . add_0($day),
1033
  'many_sp_calendar' => $many_sp_calendar,
 
1034
  'cat_id' => '',
1035
  'cat_ids' => '',
1036
  'widget' => $widget,
front_end/bigcalendarday_widget.php CHANGED
@@ -10,7 +10,6 @@ function big_calendar_day_widget() {
10
  $cat_ids = (isset($_GET['cat_ids']) ? esc_html($_GET['cat_ids']) : '');
11
  $date = ((isset($_GET['date']) && IsDate_inputed(esc_html($_GET['date']))) ? esc_html($_GET['date']) : '');
12
  $view_select = (isset($_GET['select']) ? esc_html($_GET['select']) : 'month,');
13
- $path_sp_cal = (isset($_GET['cur_page_url']) ? esc_html($_GET['cur_page_url']) : '');
14
  $site_url = get_admin_url().'admin-ajax.php';
15
  ///////////////////////////////////////////////////////////////////////////////////
16
 
@@ -355,7 +354,6 @@ position: relative;
355
  'select' => $view_select,
356
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
357
  'many_sp_calendar' => $many_sp_calendar,
358
- 'cur_page_url' => $path_sp_cal,
359
  'cat_id' => '',
360
  'cat_ids' => $cat_ids,
361
  'widget' => $widget,
@@ -371,7 +369,6 @@ position: relative;
371
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
372
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
373
  'many_sp_calendar' => $many_sp_calendar,
374
- 'cur_page_url' => $path_sp_cal,
375
  'cat_id' => '',
376
  'cat_ids' => $cat_ids,
377
  'widget' => $widget,
@@ -386,7 +383,6 @@ position: relative;
386
  'select' => $view_select,
387
  'date' => $year . '-' . add_0((Month_num($month))),
388
  'many_sp_calendar' => $many_sp_calendar,
389
- 'cur_page_url' => $path_sp_cal,
390
  'cat_id' => '',
391
  'cat_ids' => $cat_ids,
392
  'widget' => $widget,
@@ -401,7 +397,6 @@ position: relative;
401
  'select' => $view_select,
402
  'date' => $year . '-' . add_0((Month_num($month))),
403
  'many_sp_calendar' => $many_sp_calendar,
404
- 'cur_page_url' => $path_sp_cal,
405
  'cat_id' => '',
406
  'cat_ids' => $cat_ids,
407
  'widget' => $widget,
@@ -438,7 +433,6 @@ position: relative;
438
  'select' => $view_select,
439
  'date' => $needed_date,
440
  'many_sp_calendar' => $many_sp_calendar,
441
- 'cur_page_url' => $path_sp_cal,
442
  'cat_id' => '',
443
  'cat_ids' => $cat_ids,
444
  'widget' => $widget,
@@ -469,7 +463,6 @@ position: relative;
469
  'select' => $view_select,
470
  'date' => $needed_date,
471
  'many_sp_calendar' => $many_sp_calendar,
472
- 'cur_page_url' => $path_sp_cal,
473
  'cat_id' => '',
474
  'cat_ids' => $cat_ids,
475
  'widget' => $widget,
@@ -580,7 +573,6 @@ position: relative;
580
  'eventID' => $ev_id[$j],
581
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . (int) $day,
582
  'many_sp_calendar' => $many_sp_calendar,
583
- 'cur_page_url' => $path_sp_cal,
584
  'widget' => $widget,
585
  'TB_iframe' => 1,
586
  'tbWidth' => $popup_width,
@@ -607,7 +599,6 @@ position: relative;
607
  'select' => $view_select,
608
  'date' => ($year - 1) . '-' . add_0((Month_num($month))). '-' . $day,
609
  'many_sp_calendar' => $many_sp_calendar,
610
- 'cur_page_url' => $path_sp_cal,
611
  'widget' => $widget,
612
  'cat_id' => '',
613
  'cat_ids' => $cat_ids,
@@ -626,7 +617,6 @@ position: relative;
626
  'select' => $view_select,
627
  'date' => ($year + 1) . '-' . add_0((Month_num($month))). '-' . $day,
628
  'many_sp_calendar' => $many_sp_calendar,
629
- 'cur_page_url' => $path_sp_cal,
630
  'widget' => $widget,
631
  'cat_id' => '',
632
  'cat_ids' => $cat_ids,
@@ -697,7 +687,6 @@ foreach($categories as $category)
697
  'select' => $view_select,
698
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . add_0($day),
699
  'many_sp_calendar' => $many_sp_calendar,
700
- 'cur_page_url' => $path_sp_cal,
701
  'cat_id' => $category->id,
702
  'cat_ids' => $cat_ids,
703
  'widget' => $widget,
@@ -716,7 +705,6 @@ if (!empty($categories)) {
716
  'select' => $view_select,
717
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . add_0($day),
718
  'many_sp_calendar' => $many_sp_calendar,
719
- 'cur_page_url' => $path_sp_cal,
720
  'cat_id' => '',
721
  'cat_ids' => '',
722
  'widget' => $widget,
10
  $cat_ids = (isset($_GET['cat_ids']) ? esc_html($_GET['cat_ids']) : '');
11
  $date = ((isset($_GET['date']) && IsDate_inputed(esc_html($_GET['date']))) ? esc_html($_GET['date']) : '');
12
  $view_select = (isset($_GET['select']) ? esc_html($_GET['select']) : 'month,');
 
13
  $site_url = get_admin_url().'admin-ajax.php';
14
  ///////////////////////////////////////////////////////////////////////////////////
15
 
354
  'select' => $view_select,
355
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
356
  'many_sp_calendar' => $many_sp_calendar,
 
357
  'cat_id' => '',
358
  'cat_ids' => $cat_ids,
359
  'widget' => $widget,
369
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
370
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
371
  'many_sp_calendar' => $many_sp_calendar,
 
372
  'cat_id' => '',
373
  'cat_ids' => $cat_ids,
374
  'widget' => $widget,
383
  'select' => $view_select,
384
  'date' => $year . '-' . add_0((Month_num($month))),
385
  'many_sp_calendar' => $many_sp_calendar,
 
386
  'cat_id' => '',
387
  'cat_ids' => $cat_ids,
388
  'widget' => $widget,
397
  'select' => $view_select,
398
  'date' => $year . '-' . add_0((Month_num($month))),
399
  'many_sp_calendar' => $many_sp_calendar,
 
400
  'cat_id' => '',
401
  'cat_ids' => $cat_ids,
402
  'widget' => $widget,
433
  'select' => $view_select,
434
  'date' => $needed_date,
435
  'many_sp_calendar' => $many_sp_calendar,
 
436
  'cat_id' => '',
437
  'cat_ids' => $cat_ids,
438
  'widget' => $widget,
463
  'select' => $view_select,
464
  'date' => $needed_date,
465
  'many_sp_calendar' => $many_sp_calendar,
 
466
  'cat_id' => '',
467
  'cat_ids' => $cat_ids,
468
  'widget' => $widget,
573
  'eventID' => $ev_id[$j],
574
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . (int) $day,
575
  'many_sp_calendar' => $many_sp_calendar,
 
576
  'widget' => $widget,
577
  'TB_iframe' => 1,
578
  'tbWidth' => $popup_width,
599
  'select' => $view_select,
600
  'date' => ($year - 1) . '-' . add_0((Month_num($month))). '-' . $day,
601
  'many_sp_calendar' => $many_sp_calendar,
 
602
  'widget' => $widget,
603
  'cat_id' => '',
604
  'cat_ids' => $cat_ids,
617
  'select' => $view_select,
618
  'date' => ($year + 1) . '-' . add_0((Month_num($month))). '-' . $day,
619
  'many_sp_calendar' => $many_sp_calendar,
 
620
  'widget' => $widget,
621
  'cat_id' => '',
622
  'cat_ids' => $cat_ids,
687
  'select' => $view_select,
688
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . add_0($day),
689
  'many_sp_calendar' => $many_sp_calendar,
 
690
  'cat_id' => $category->id,
691
  'cat_ids' => $cat_ids,
692
  'widget' => $widget,
705
  'select' => $view_select,
706
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . add_0($day),
707
  'many_sp_calendar' => $many_sp_calendar,
 
708
  'cat_id' => '',
709
  'cat_ids' => '',
710
  'widget' => $widget,
front_end/bigcalendarlist.php CHANGED
@@ -10,7 +10,6 @@ function big_calendar_list() {
10
  $cat_ids = (isset($_GET['cat_ids']) ? esc_html($_GET['cat_ids']) : '');
11
  $date = ((isset($_GET['date']) && IsDate_inputed(esc_html($_GET['date']))) ? esc_html($_GET['date']) : '');
12
  $view_select = (isset($_GET['select']) ? esc_html($_GET['select']) : 'month,');
13
- $path_sp_cal = (isset($_GET['cur_page_url']) ? esc_html($_GET['cur_page_url']) : '');
14
  $site_url = get_admin_url().'admin-ajax.php';
15
  ///////////////////////////////////////////////////////////////////////////////////
16
 
@@ -547,7 +546,6 @@ position: relative;
547
  'select' => $view_select,
548
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
549
  'many_sp_calendar' => $many_sp_calendar,
550
- 'cur_page_url' => $path_sp_cal,
551
  'cat_id' => '',
552
  'cat_ids' => $cat_ids,
553
  'widget' => $widget,
@@ -563,7 +561,6 @@ position: relative;
563
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
564
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
565
  'many_sp_calendar' => $many_sp_calendar,
566
- 'cur_page_url' => $path_sp_cal,
567
  'cat_id' => '',
568
  'cat_ids' => $cat_ids,
569
  'widget' => $widget,
@@ -578,7 +575,6 @@ position: relative;
578
  'select' => $view_select,
579
  'date' => $year . '-' . add_0((Month_num($month))),
580
  'many_sp_calendar' => $many_sp_calendar,
581
- 'cur_page_url' => $path_sp_cal,
582
  'cat_id' => '',
583
  'cat_ids' => $cat_ids,
584
  'widget' => $widget,
@@ -593,7 +589,6 @@ position: relative;
593
  'select' => $view_select,
594
  'date' => $year . '-' . add_0((Month_num($month))),
595
  'many_sp_calendar' => $many_sp_calendar,
596
- 'cur_page_url' => $path_sp_cal,
597
  'cat_id' => '',
598
  'cat_ids' => $cat_ids,
599
  'widget' => $widget,
@@ -621,7 +616,6 @@ position: relative;
621
  'select' => $view_select,
622
  'date' => $year.'-'.add_0((Month_num($month))).'-'.date('d'),
623
  'many_sp_calendar' => $many_sp_calendar,
624
- 'cur_page_url' => $path_sp_cal,
625
  'cat_id' => '',
626
  'cat_ids' => $cat_ids,
627
  'widget' => $widget,
@@ -639,7 +633,6 @@ position: relative;
639
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
640
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
641
  'many_sp_calendar' => $many_sp_calendar,
642
- 'cur_page_url' => $path_sp_cal,
643
  'cat_id' => '',
644
  'cat_ids' => $cat_ids,
645
  'widget' => $widget,
@@ -656,7 +649,6 @@ position: relative;
656
  'select' => $view_select,
657
  'date' => $year . '-' . add_0((Month_num($month))),
658
  'many_sp_calendar' => $many_sp_calendar,
659
- 'cur_page_url' => $path_sp_cal,
660
  'cat_id' => '',
661
  'cat_ids' => $cat_ids,
662
  'widget' => $widget,
@@ -673,7 +665,6 @@ position: relative;
673
  'select' => $view_select,
674
  'date' => $year . '-' . add_0((Month_num($month))),
675
  'many_sp_calendar' => $many_sp_calendar,
676
- 'cur_page_url' => $path_sp_cal,
677
  'cat_id' => '',
678
  'cat_ids' => $cat_ids,
679
  'widget' => $widget,
@@ -706,7 +697,6 @@ position: relative;
706
  'select' => $view_select,
707
  'date' => ($year - 1) . '-' . add_0((Month_num($month))),
708
  'many_sp_calendar' => $many_sp_calendar,
709
- 'cur_page_url' => $path_sp_cal,
710
  'cat_id' => '',
711
  'cat_ids' => $cat_ids,
712
  'widget' => $widget,
@@ -729,7 +719,6 @@ position: relative;
729
  'select' => $view_select,
730
  'date' => $needed_date,
731
  'many_sp_calendar' => $many_sp_calendar,
732
- 'cur_page_url' => $path_sp_cal,
733
  'cat_id' => '',
734
  'cat_ids' => $cat_ids,
735
  'widget' => $widget,
@@ -755,7 +744,6 @@ position: relative;
755
  'select' => $view_select,
756
  'date' => $needed_date,
757
  'many_sp_calendar' => $many_sp_calendar,
758
- 'cur_page_url' => $path_sp_cal,
759
  'cat_id' => '',
760
  'cat_ids' => $cat_ids,
761
  'widget' => $widget,
@@ -771,7 +759,6 @@ position: relative;
771
  'select' => $view_select,
772
  'date' => ($year + 1) . '-' . add_0((Month_num($month))),
773
  'many_sp_calendar' => $many_sp_calendar,
774
- 'cur_page_url' => $path_sp_cal,
775
  'cat_id' => '',
776
  'cat_ids' => $cat_ids,
777
  'widget' => $widget,
@@ -875,7 +862,6 @@ position: relative;
875
  'eventID' => $ev_id[$j],
876
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $array_days[$i],
877
  'many_sp_calendar' => $many_sp_calendar,
878
- 'cur_page_url' => $path_sp_cal,
879
  'widget' => $widget,
880
  'TB_iframe' => 1,
881
  'tbWidth' => $popup_width,
@@ -972,7 +958,6 @@ foreach($categories as $category)
972
  'select' => $view_select,
973
  'date' => $year.'-'.add_0((Month_num($month))) . '-' . add_0($day),
974
  'many_sp_calendar' => $many_sp_calendar,
975
- 'cur_page_url' => $path_sp_cal,
976
  'cat_id' => $category->id,
977
  'cat_ids' => $cat_ids,
978
  'widget' => $widget,
@@ -990,7 +975,6 @@ if (!empty($categories)) {
990
  'select' => $view_select,
991
  'date' => $year.'-'.add_0((Month_num($month))) . '-' . add_0($day),
992
  'many_sp_calendar' => $many_sp_calendar,
993
- 'cur_page_url' => $path_sp_cal,
994
  'cat_id' => '',
995
  'cat_ids' => '',
996
  'widget' => $widget,
10
  $cat_ids = (isset($_GET['cat_ids']) ? esc_html($_GET['cat_ids']) : '');
11
  $date = ((isset($_GET['date']) && IsDate_inputed(esc_html($_GET['date']))) ? esc_html($_GET['date']) : '');
12
  $view_select = (isset($_GET['select']) ? esc_html($_GET['select']) : 'month,');
 
13
  $site_url = get_admin_url().'admin-ajax.php';
14
  ///////////////////////////////////////////////////////////////////////////////////
15
 
546
  'select' => $view_select,
547
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
548
  'many_sp_calendar' => $many_sp_calendar,
 
549
  'cat_id' => '',
550
  'cat_ids' => $cat_ids,
551
  'widget' => $widget,
561
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
562
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
563
  'many_sp_calendar' => $many_sp_calendar,
 
564
  'cat_id' => '',
565
  'cat_ids' => $cat_ids,
566
  'widget' => $widget,
575
  'select' => $view_select,
576
  'date' => $year . '-' . add_0((Month_num($month))),
577
  'many_sp_calendar' => $many_sp_calendar,
 
578
  'cat_id' => '',
579
  'cat_ids' => $cat_ids,
580
  'widget' => $widget,
589
  'select' => $view_select,
590
  'date' => $year . '-' . add_0((Month_num($month))),
591
  'many_sp_calendar' => $many_sp_calendar,
 
592
  'cat_id' => '',
593
  'cat_ids' => $cat_ids,
594
  'widget' => $widget,
616
  'select' => $view_select,
617
  'date' => $year.'-'.add_0((Month_num($month))).'-'.date('d'),
618
  'many_sp_calendar' => $many_sp_calendar,
 
619
  'cat_id' => '',
620
  'cat_ids' => $cat_ids,
621
  'widget' => $widget,
633
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
634
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
635
  'many_sp_calendar' => $many_sp_calendar,
 
636
  'cat_id' => '',
637
  'cat_ids' => $cat_ids,
638
  'widget' => $widget,
649
  'select' => $view_select,
650
  'date' => $year . '-' . add_0((Month_num($month))),
651
  'many_sp_calendar' => $many_sp_calendar,
 
652
  'cat_id' => '',
653
  'cat_ids' => $cat_ids,
654
  'widget' => $widget,
665
  'select' => $view_select,
666
  'date' => $year . '-' . add_0((Month_num($month))),
667
  'many_sp_calendar' => $many_sp_calendar,
 
668
  'cat_id' => '',
669
  'cat_ids' => $cat_ids,
670
  'widget' => $widget,
697
  'select' => $view_select,
698
  'date' => ($year - 1) . '-' . add_0((Month_num($month))),
699
  'many_sp_calendar' => $many_sp_calendar,
 
700
  'cat_id' => '',
701
  'cat_ids' => $cat_ids,
702
  'widget' => $widget,
719
  'select' => $view_select,
720
  'date' => $needed_date,
721
  'many_sp_calendar' => $many_sp_calendar,
 
722
  'cat_id' => '',
723
  'cat_ids' => $cat_ids,
724
  'widget' => $widget,
744
  'select' => $view_select,
745
  'date' => $needed_date,
746
  'many_sp_calendar' => $many_sp_calendar,
 
747
  'cat_id' => '',
748
  'cat_ids' => $cat_ids,
749
  'widget' => $widget,
759
  'select' => $view_select,
760
  'date' => ($year + 1) . '-' . add_0((Month_num($month))),
761
  'many_sp_calendar' => $many_sp_calendar,
 
762
  'cat_id' => '',
763
  'cat_ids' => $cat_ids,
764
  'widget' => $widget,
862
  'eventID' => $ev_id[$j],
863
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $array_days[$i],
864
  'many_sp_calendar' => $many_sp_calendar,
 
865
  'widget' => $widget,
866
  'TB_iframe' => 1,
867
  'tbWidth' => $popup_width,
958
  'select' => $view_select,
959
  'date' => $year.'-'.add_0((Month_num($month))) . '-' . add_0($day),
960
  'many_sp_calendar' => $many_sp_calendar,
 
961
  'cat_id' => $category->id,
962
  'cat_ids' => $cat_ids,
963
  'widget' => $widget,
975
  'select' => $view_select,
976
  'date' => $year.'-'.add_0((Month_num($month))) . '-' . add_0($day),
977
  'many_sp_calendar' => $many_sp_calendar,
 
978
  'cat_id' => '',
979
  'cat_ids' => '',
980
  'widget' => $widget,
front_end/bigcalendarlist_widget.php CHANGED
@@ -10,7 +10,6 @@ function big_calendar_list_widget() {
10
  $cat_id = (isset($_GET['cat_id']) ? esc_html($_GET['cat_id']) : '');
11
  $cat_ids = (isset($_GET['cat_ids']) ? esc_html($_GET['cat_ids']) : '');
12
  $view_select = (isset($_GET['select']) ? esc_html($_GET['select']) : 'month,');
13
- $path_sp_cal = (isset($_GET['cur_page_url']) ? esc_html($_GET['cur_page_url']) : '');
14
  $site_url = get_admin_url().'admin-ajax.php';
15
  ///////////////////////////////////////////////////////////////////////////////////
16
 
@@ -330,7 +329,6 @@ position: relative;
330
  'select' => $view_select,
331
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
332
  'many_sp_calendar' => $many_sp_calendar,
333
- 'cur_page_url' => $path_sp_cal,
334
  'cat_id' => '',
335
  'cat_ids' => $cat_ids,
336
  'widget' => $widget,
@@ -346,7 +344,6 @@ position: relative;
346
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
347
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
348
  'many_sp_calendar' => $many_sp_calendar,
349
- 'cur_page_url' => $path_sp_cal,
350
  'cat_id' => '',
351
  'cat_ids' => $cat_ids,
352
  'widget' => $widget,
@@ -361,7 +358,6 @@ position: relative;
361
  'select' => $view_select,
362
  'date' => $year . '-' . add_0((Month_num($month))),
363
  'many_sp_calendar' => $many_sp_calendar,
364
- 'cur_page_url' => $path_sp_cal,
365
  'cat_id' => '',
366
  'cat_ids' => $cat_ids,
367
  'widget' => $widget,
@@ -376,7 +372,6 @@ position: relative;
376
  'select' => $view_select,
377
  'date' => $year . '-' . add_0((Month_num($month))),
378
  'many_sp_calendar' => $many_sp_calendar,
379
- 'cur_page_url' => $path_sp_cal,
380
  'cat_id' => '',
381
  'cat_ids' => $cat_ids,
382
  'widget' => $widget,
@@ -410,7 +405,6 @@ position: relative;
410
  'select' => $view_select,
411
  'date' => $needed_date,
412
  'many_sp_calendar' => $many_sp_calendar,
413
- 'cur_page_url' => $path_sp_cal,
414
  'cat_id' => '',
415
  'cat_ids' => $cat_ids,
416
  'widget' => $widget,
@@ -438,7 +432,6 @@ position: relative;
438
  'select' => $view_select,
439
  'date' => $needed_date,
440
  'many_sp_calendar' => $many_sp_calendar,
441
- 'cur_page_url' => $path_sp_cal,
442
  'cat_id' => '',
443
  'cat_ids' => $cat_ids,
444
  'widget' => $widget,
@@ -538,7 +531,6 @@ position: relative;
538
  'eventID' => $ev_id[$j],
539
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $array_days[$i],
540
  'many_sp_calendar' => $many_sp_calendar,
541
- 'cur_page_url' => $path_sp_cal,
542
  'widget' => $widget,
543
  'TB_iframe' => 1,
544
  'tbWidth' => $popup_width,
@@ -566,7 +558,6 @@ position: relative;
566
  'select' => $view_select,
567
  'date' => ($year - 1) . '-' . add_0((Month_num($month))),
568
  'many_sp_calendar' => $many_sp_calendar,
569
- 'cur_page_url' => $path_sp_cal,
570
  'widget' => $widget,
571
  'cat_id' => '',
572
  'cat_ids' => $cat_ids,
@@ -585,7 +576,6 @@ position: relative;
585
  'select' => $view_select,
586
  'date' => ($year + 1) . '-' . add_0((Month_num($month))),
587
  'many_sp_calendar' => $many_sp_calendar,
588
- 'cur_page_url' => $path_sp_cal,
589
  'widget' => $widget,
590
  'cat_id' => '',
591
  'cat_ids' => $cat_ids,
@@ -656,7 +646,6 @@ foreach($categories as $category)
656
  'select' => $view_select,
657
  'date' => $year.'-'.add_0((Month_num($month))) . '-' . add_0($day),
658
  'many_sp_calendar' => $many_sp_calendar,
659
- 'cur_page_url' => $path_sp_cal,
660
  'cat_id' => $category->id,
661
  'cat_ids' => $cat_ids,
662
  'widget' => $widget,
@@ -675,7 +664,6 @@ if (!empty($categories)) {
675
  'select' => $view_select,
676
  'date' => $year.'-'.add_0((Month_num($month))) . '-' . add_0($day),
677
  'many_sp_calendar' => $many_sp_calendar,
678
- 'cur_page_url' => $path_sp_cal,
679
  'cat_id' => '',
680
  'cat_ids' => '',
681
  'widget' => $widget,
10
  $cat_id = (isset($_GET['cat_id']) ? esc_html($_GET['cat_id']) : '');
11
  $cat_ids = (isset($_GET['cat_ids']) ? esc_html($_GET['cat_ids']) : '');
12
  $view_select = (isset($_GET['select']) ? esc_html($_GET['select']) : 'month,');
 
13
  $site_url = get_admin_url().'admin-ajax.php';
14
  ///////////////////////////////////////////////////////////////////////////////////
15
 
329
  'select' => $view_select,
330
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
331
  'many_sp_calendar' => $many_sp_calendar,
 
332
  'cat_id' => '',
333
  'cat_ids' => $cat_ids,
334
  'widget' => $widget,
344
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
345
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
346
  'many_sp_calendar' => $many_sp_calendar,
 
347
  'cat_id' => '',
348
  'cat_ids' => $cat_ids,
349
  'widget' => $widget,
358
  'select' => $view_select,
359
  'date' => $year . '-' . add_0((Month_num($month))),
360
  'many_sp_calendar' => $many_sp_calendar,
 
361
  'cat_id' => '',
362
  'cat_ids' => $cat_ids,
363
  'widget' => $widget,
372
  'select' => $view_select,
373
  'date' => $year . '-' . add_0((Month_num($month))),
374
  'many_sp_calendar' => $many_sp_calendar,
 
375
  'cat_id' => '',
376
  'cat_ids' => $cat_ids,
377
  'widget' => $widget,
405
  'select' => $view_select,
406
  'date' => $needed_date,
407
  'many_sp_calendar' => $many_sp_calendar,
 
408
  'cat_id' => '',
409
  'cat_ids' => $cat_ids,
410
  'widget' => $widget,
432
  'select' => $view_select,
433
  'date' => $needed_date,
434
  'many_sp_calendar' => $many_sp_calendar,
 
435
  'cat_id' => '',
436
  'cat_ids' => $cat_ids,
437
  'widget' => $widget,
531
  'eventID' => $ev_id[$j],
532
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $array_days[$i],
533
  'many_sp_calendar' => $many_sp_calendar,
 
534
  'widget' => $widget,
535
  'TB_iframe' => 1,
536
  'tbWidth' => $popup_width,
558
  'select' => $view_select,
559
  'date' => ($year - 1) . '-' . add_0((Month_num($month))),
560
  'many_sp_calendar' => $many_sp_calendar,
 
561
  'widget' => $widget,
562
  'cat_id' => '',
563
  'cat_ids' => $cat_ids,
576
  'select' => $view_select,
577
  'date' => ($year + 1) . '-' . add_0((Month_num($month))),
578
  'many_sp_calendar' => $many_sp_calendar,
 
579
  'widget' => $widget,
580
  'cat_id' => '',
581
  'cat_ids' => $cat_ids,
646
  'select' => $view_select,
647
  'date' => $year.'-'.add_0((Month_num($month))) . '-' . add_0($day),
648
  'many_sp_calendar' => $many_sp_calendar,
 
649
  'cat_id' => $category->id,
650
  'cat_ids' => $cat_ids,
651
  'widget' => $widget,
664
  'select' => $view_select,
665
  'date' => $year.'-'.add_0((Month_num($month))) . '-' . add_0($day),
666
  'many_sp_calendar' => $many_sp_calendar,
 
667
  'cat_id' => '',
668
  'cat_ids' => '',
669
  'widget' => $widget,
front_end/bigcalendarmonth.php CHANGED
@@ -10,7 +10,6 @@ function big_calendar_month() {
10
  $cat_ids = (isset($_GET['cat_ids']) ? esc_html($_GET['cat_ids']) : '');
11
  $date = ((isset($_GET['date']) && IsDate_inputed(esc_html($_GET['date']))) ? esc_html($_GET['date']) : '');
12
  $view_select = (isset($_GET['select']) ? esc_html($_GET['select']) : 'month,');
13
- $path_sp_cal = (isset($_GET['cur_page_url']) ? esc_html($_GET['cur_page_url']) : '');
14
  $query = "SELECT * FROM " . $wpdb->prefix . "spidercalendar_calendar where id=".$calendar_id."";
15
  $calendar = $wpdb->query($query);
16
  $site_url = get_admin_url().'admin-ajax.php';
@@ -546,7 +545,6 @@ echo '<style>
546
  'select' => $view_select,
547
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
548
  'many_sp_calendar' => $many_sp_calendar,
549
- 'cur_page_url' => $path_sp_cal,
550
  'cat_id' => '',
551
  'cat_ids' => $cat_ids,
552
  'widget' => $widget,
@@ -562,7 +560,6 @@ echo '<style>
562
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
563
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
564
  'many_sp_calendar' => $many_sp_calendar,
565
- 'cur_page_url' => $path_sp_cal,
566
  'cat_id' => '',
567
  'cat_ids' => $cat_ids,
568
  'widget' => $widget,
@@ -577,7 +574,6 @@ echo '<style>
577
  'select' => $view_select,
578
  'date' => $year . '-' . add_0((Month_num($month))),
579
  'many_sp_calendar' => $many_sp_calendar,
580
- 'cur_page_url' => $path_sp_cal,
581
  'cat_id' => '',
582
  'cat_ids' => $cat_ids,
583
  'widget' => $widget,
@@ -592,7 +588,6 @@ echo '<style>
592
  'select' => $view_select,
593
  'date' => $year . '-' . add_0((Month_num($month))),
594
  'many_sp_calendar' => $many_sp_calendar,
595
- 'cur_page_url' => $path_sp_cal,
596
  'cat_id' => '',
597
  'cat_ids' => $cat_ids,
598
  'widget' => $widget,
@@ -620,7 +615,6 @@ echo '<style>
620
  'select' => $view_select,
621
  'date' => $year.'-'.add_0((Month_num($month))).'-'.date('d'),
622
  'many_sp_calendar' => $many_sp_calendar,
623
- 'cur_page_url' => $path_sp_cal,
624
  'cat_id' => '',
625
  'cat_ids' => $cat_ids,
626
  'widget' => $widget,
@@ -638,7 +632,6 @@ echo '<style>
638
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
639
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
640
  'many_sp_calendar' => $many_sp_calendar,
641
- 'cur_page_url' => $path_sp_cal,
642
  'cat_id' => '',
643
  'cat_ids' => $cat_ids,
644
  'widget' => $widget,
@@ -655,7 +648,6 @@ echo '<style>
655
  'select' => $view_select,
656
  'date' => $year . '-' . add_0((Month_num($month))),
657
  'many_sp_calendar' => $many_sp_calendar,
658
- 'cur_page_url' => $path_sp_cal,
659
  'cat_id' => '',
660
  'cat_ids' => $cat_ids,
661
  'widget' => $widget,
@@ -672,7 +664,6 @@ echo '<style>
672
  'select' => $view_select,
673
  'date' => $year . '-' . add_0((Month_num($month))),
674
  'many_sp_calendar' => $many_sp_calendar,
675
- 'cur_page_url' => $path_sp_cal,
676
  'cat_id' => '',
677
  'cat_ids' => $cat_ids,
678
  'widget' => $widget,
@@ -702,7 +693,6 @@ echo '<style>
702
  'select' => $view_select,
703
  'date' => ($year - 1) . '-' . add_0(Month_num($month)),
704
  'many_sp_calendar' => $many_sp_calendar,
705
- 'cur_page_url' => $path_sp_cal,
706
  'cat_id' => '',
707
  'cat_ids' => $cat_ids,
708
  'widget' => $widget,
@@ -725,7 +715,6 @@ echo '<style>
725
  'select' => $view_select,
726
  'date' => $needed_date,
727
  'many_sp_calendar' => $many_sp_calendar,
728
- 'cur_page_url' => $path_sp_cal,
729
  'cat_id' => '',
730
  'cat_ids' => $cat_ids,
731
  'widget' => $widget,
@@ -752,7 +741,6 @@ echo '<style>
752
  'select' => $view_select,
753
  'date' => $needed_date,
754
  'many_sp_calendar' => $many_sp_calendar,
755
- 'cur_page_url' => $path_sp_cal,
756
  'cat_id' => '',
757
  'cat_ids' => $cat_ids,
758
  'widget' => $widget,
@@ -769,7 +757,6 @@ echo '<style>
769
  'select' => $view_select,
770
  'date' => ($year + 1) . '-' . add_0(Month_num($month)),
771
  'many_sp_calendar' => $many_sp_calendar,
772
- 'cur_page_url' => $path_sp_cal,
773
  'cat_id' => '',
774
  'cat_ids' => $cat_ids,
775
  'widget' => $widget,
@@ -937,7 +924,6 @@ function evented_days($r, $number_of_shown_evetns, $ev_id, $i,$evented_color_bg,
937
  'eventID' => $ev_id[$j],
938
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
939
  'many_sp_calendar' => $many_sp_calendar,
940
- 'cur_page_url' => $path_sp_cal,
941
  'widget' => $widget,
942
  'TB_iframe' => 1,
943
  'tbWidth' => $popup_width,
@@ -956,7 +942,6 @@ function evented_days($r, $number_of_shown_evetns, $ev_id, $i,$evented_color_bg,
956
  'ev_ids' => $ev_ids_inline,
957
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
958
  'many_sp_calendar' => $many_sp_calendar,
959
- 'cur_page_url' => $path_sp_cal,
960
  'widget' => $widget,
961
  'TB_iframe' => 1,
962
  'tbWidth' => $popup_width,
@@ -1004,7 +989,6 @@ function evented_days($r, $number_of_shown_evetns, $ev_id, $i,$evented_color_bg,
1004
  'eventID' => $ev_id[$j],
1005
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
1006
  'many_sp_calendar' => $many_sp_calendar,
1007
- 'cur_page_url' => $path_sp_cal,
1008
  'widget' => $widget,
1009
  'TB_iframe' => 1,
1010
  'tbWidth' => $popup_width,
@@ -1022,7 +1006,6 @@ function evented_days($r, $number_of_shown_evetns, $ev_id, $i,$evented_color_bg,
1022
  'ev_ids' => $ev_ids_inline,
1023
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
1024
  'many_sp_calendar' => $many_sp_calendar,
1025
- 'cur_page_url' => $path_sp_cal,
1026
  'widget' => $widget,
1027
  'TB_iframe' => 1,
1028
  'tbWidth' => $popup_width,
@@ -1071,7 +1054,6 @@ function evented_days($r, $number_of_shown_evetns, $ev_id, $i,$evented_color_bg,
1071
  'eventID' => $ev_id[$j],
1072
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
1073
  'many_sp_calendar' => $many_sp_calendar,
1074
- 'cur_page_url' => $path_sp_cal,
1075
  'widget' => $widget,
1076
  'TB_iframe' => 1,
1077
  'tbWidth' => $popup_width,
@@ -1089,7 +1071,6 @@ function evented_days($r, $number_of_shown_evetns, $ev_id, $i,$evented_color_bg,
1089
  'ev_ids' => $ev_ids_inline,
1090
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
1091
  'many_sp_calendar' => $many_sp_calendar,
1092
- 'cur_page_url' => $path_sp_cal,
1093
  'widget' => $widget,
1094
  'TB_iframe' => 1,
1095
  'tbWidth' => $popup_width,
@@ -1139,7 +1120,6 @@ function evented_days($r, $number_of_shown_evetns, $ev_id, $i,$evented_color_bg,
1139
  'eventID' => $ev_id[$j],
1140
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
1141
  'many_sp_calendar' => $many_sp_calendar,
1142
- 'cur_page_url' => $path_sp_cal,
1143
  'widget' => $widget,
1144
  'TB_iframe' => 1,
1145
  'tbWidth' => $popup_width,
@@ -1157,7 +1137,6 @@ function evented_days($r, $number_of_shown_evetns, $ev_id, $i,$evented_color_bg,
1157
  'ev_ids' => $ev_ids_inline,
1158
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
1159
  'many_sp_calendar' => $many_sp_calendar,
1160
- 'cur_page_url' => $path_sp_cal,
1161
  'widget' => $widget,
1162
  'TB_iframe' => 1,
1163
  'tbWidth' => $popup_width,
@@ -1203,7 +1182,6 @@ function evented_days($r, $number_of_shown_evetns, $ev_id, $i,$evented_color_bg,
1203
  'eventID' => $ev_id[$j],
1204
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
1205
  'many_sp_calendar' => $many_sp_calendar,
1206
- 'cur_page_url' => $path_sp_cal,
1207
  'widget' => $widget,
1208
  'TB_iframe' => 1,
1209
  'tbWidth' => $popup_width,
@@ -1222,7 +1200,6 @@ function evented_days($r, $number_of_shown_evetns, $ev_id, $i,$evented_color_bg,
1222
  'ev_ids' => $ev_ids_inline,
1223
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
1224
  'many_sp_calendar' => $many_sp_calendar,
1225
- 'cur_page_url' => $path_sp_cal,
1226
  'widget' => $widget,
1227
  'TB_iframe' => 1,
1228
  'tbWidth' => $popup_width,
@@ -1273,7 +1250,6 @@ if (in_array($i, $array_days)) {
1273
  'eventID' => $ev_id[$j],
1274
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
1275
  'many_sp_calendar' => $many_sp_calendar,
1276
- 'cur_page_url' => $path_sp_cal,
1277
  'widget' => $widget,
1278
  'TB_iframe' => 1,
1279
  'tbWidth' => $popup_width,
@@ -1290,7 +1266,6 @@ if (in_array($i, $array_days)) {
1290
  'ev_ids' => $ev_ids_inline,
1291
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
1292
  'many_sp_calendar' => $many_sp_calendar,
1293
- 'cur_page_url' => $path_sp_cal,
1294
  'widget' => $widget,
1295
  'TB_iframe' => 1,
1296
  'tbWidth' => $popup_width,
@@ -1413,7 +1388,6 @@ foreach($categories as $category)
1413
  'select' => $view_select,
1414
  'date' => $year . '-' . add_0((Month_num($month))),
1415
  'many_sp_calendar' => $many_sp_calendar,
1416
- 'cur_page_url' => $path_sp_cal,
1417
  'cat_id' => $category->id,
1418
  'cat_ids' => $cat_ids,
1419
  'widget' => $widget,
@@ -1430,7 +1404,6 @@ if (!empty($categories)) {
1430
  'select' => $view_select,
1431
  'date' => $year . '-' . add_0((Month_num($month))),
1432
  'many_sp_calendar' => $many_sp_calendar,
1433
- 'cur_page_url' => $path_sp_cal,
1434
  'cat_id' => '',
1435
  'cat_ids' => '',
1436
  'widget' => $widget,
10
  $cat_ids = (isset($_GET['cat_ids']) ? esc_html($_GET['cat_ids']) : '');
11
  $date = ((isset($_GET['date']) && IsDate_inputed(esc_html($_GET['date']))) ? esc_html($_GET['date']) : '');
12
  $view_select = (isset($_GET['select']) ? esc_html($_GET['select']) : 'month,');
 
13
  $query = "SELECT * FROM " . $wpdb->prefix . "spidercalendar_calendar where id=".$calendar_id."";
14
  $calendar = $wpdb->query($query);
15
  $site_url = get_admin_url().'admin-ajax.php';
545
  'select' => $view_select,
546
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
547
  'many_sp_calendar' => $many_sp_calendar,
 
548
  'cat_id' => '',
549
  'cat_ids' => $cat_ids,
550
  'widget' => $widget,
560
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
561
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
562
  'many_sp_calendar' => $many_sp_calendar,
 
563
  'cat_id' => '',
564
  'cat_ids' => $cat_ids,
565
  'widget' => $widget,
574
  'select' => $view_select,
575
  'date' => $year . '-' . add_0((Month_num($month))),
576
  'many_sp_calendar' => $many_sp_calendar,
 
577
  'cat_id' => '',
578
  'cat_ids' => $cat_ids,
579
  'widget' => $widget,
588
  'select' => $view_select,
589
  'date' => $year . '-' . add_0((Month_num($month))),
590
  'many_sp_calendar' => $many_sp_calendar,
 
591
  'cat_id' => '',
592
  'cat_ids' => $cat_ids,
593
  'widget' => $widget,
615
  'select' => $view_select,
616
  'date' => $year.'-'.add_0((Month_num($month))).'-'.date('d'),
617
  'many_sp_calendar' => $many_sp_calendar,
 
618
  'cat_id' => '',
619
  'cat_ids' => $cat_ids,
620
  'widget' => $widget,
632
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
633
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
634
  'many_sp_calendar' => $many_sp_calendar,
 
635
  'cat_id' => '',
636
  'cat_ids' => $cat_ids,
637
  'widget' => $widget,
648
  'select' => $view_select,
649
  'date' => $year . '-' . add_0((Month_num($month))),
650
  'many_sp_calendar' => $many_sp_calendar,
 
651
  'cat_id' => '',
652
  'cat_ids' => $cat_ids,
653
  'widget' => $widget,
664
  'select' => $view_select,
665
  'date' => $year . '-' . add_0((Month_num($month))),
666
  'many_sp_calendar' => $many_sp_calendar,
 
667
  'cat_id' => '',
668
  'cat_ids' => $cat_ids,
669
  'widget' => $widget,
693
  'select' => $view_select,
694
  'date' => ($year - 1) . '-' . add_0(Month_num($month)),
695
  'many_sp_calendar' => $many_sp_calendar,
 
696
  'cat_id' => '',
697
  'cat_ids' => $cat_ids,
698
  'widget' => $widget,
715
  'select' => $view_select,
716
  'date' => $needed_date,
717
  'many_sp_calendar' => $many_sp_calendar,
 
718
  'cat_id' => '',
719
  'cat_ids' => $cat_ids,
720
  'widget' => $widget,
741
  'select' => $view_select,
742
  'date' => $needed_date,
743
  'many_sp_calendar' => $many_sp_calendar,
 
744
  'cat_id' => '',
745
  'cat_ids' => $cat_ids,
746
  'widget' => $widget,
757
  'select' => $view_select,
758
  'date' => ($year + 1) . '-' . add_0(Month_num($month)),
759
  'many_sp_calendar' => $many_sp_calendar,
 
760
  'cat_id' => '',
761
  'cat_ids' => $cat_ids,
762
  'widget' => $widget,
924
  'eventID' => $ev_id[$j],
925
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
926
  'many_sp_calendar' => $many_sp_calendar,
 
927
  'widget' => $widget,
928
  'TB_iframe' => 1,
929
  'tbWidth' => $popup_width,
942
  'ev_ids' => $ev_ids_inline,
943
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
944
  'many_sp_calendar' => $many_sp_calendar,
 
945
  'widget' => $widget,
946
  'TB_iframe' => 1,
947
  'tbWidth' => $popup_width,
989
  'eventID' => $ev_id[$j],
990
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
991
  'many_sp_calendar' => $many_sp_calendar,
 
992
  'widget' => $widget,
993
  'TB_iframe' => 1,
994
  'tbWidth' => $popup_width,
1006
  'ev_ids' => $ev_ids_inline,
1007
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
1008
  'many_sp_calendar' => $many_sp_calendar,
 
1009
  'widget' => $widget,
1010
  'TB_iframe' => 1,
1011
  'tbWidth' => $popup_width,
1054
  'eventID' => $ev_id[$j],
1055
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
1056
  'many_sp_calendar' => $many_sp_calendar,
 
1057
  'widget' => $widget,
1058
  'TB_iframe' => 1,
1059
  'tbWidth' => $popup_width,
1071
  'ev_ids' => $ev_ids_inline,
1072
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
1073
  'many_sp_calendar' => $many_sp_calendar,
 
1074
  'widget' => $widget,
1075
  'TB_iframe' => 1,
1076
  'tbWidth' => $popup_width,
1120
  'eventID' => $ev_id[$j],
1121
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
1122
  'many_sp_calendar' => $many_sp_calendar,
 
1123
  'widget' => $widget,
1124
  'TB_iframe' => 1,
1125
  'tbWidth' => $popup_width,
1137
  'ev_ids' => $ev_ids_inline,
1138
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
1139
  'many_sp_calendar' => $many_sp_calendar,
 
1140
  'widget' => $widget,
1141
  'TB_iframe' => 1,
1142
  'tbWidth' => $popup_width,
1182
  'eventID' => $ev_id[$j],
1183
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
1184
  'many_sp_calendar' => $many_sp_calendar,
 
1185
  'widget' => $widget,
1186
  'TB_iframe' => 1,
1187
  'tbWidth' => $popup_width,
1200
  'ev_ids' => $ev_ids_inline,
1201
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
1202
  'many_sp_calendar' => $many_sp_calendar,
 
1203
  'widget' => $widget,
1204
  'TB_iframe' => 1,
1205
  'tbWidth' => $popup_width,
1250
  'eventID' => $ev_id[$j],
1251
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
1252
  'many_sp_calendar' => $many_sp_calendar,
 
1253
  'widget' => $widget,
1254
  'TB_iframe' => 1,
1255
  'tbWidth' => $popup_width,
1266
  'ev_ids' => $ev_ids_inline,
1267
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
1268
  'many_sp_calendar' => $many_sp_calendar,
 
1269
  'widget' => $widget,
1270
  'TB_iframe' => 1,
1271
  'tbWidth' => $popup_width,
1388
  'select' => $view_select,
1389
  'date' => $year . '-' . add_0((Month_num($month))),
1390
  'many_sp_calendar' => $many_sp_calendar,
 
1391
  'cat_id' => $category->id,
1392
  'cat_ids' => $cat_ids,
1393
  'widget' => $widget,
1404
  'select' => $view_select,
1405
  'date' => $year . '-' . add_0((Month_num($month))),
1406
  'many_sp_calendar' => $many_sp_calendar,
 
1407
  'cat_id' => '',
1408
  'cat_ids' => '',
1409
  'widget' => $widget,
front_end/bigcalendarmonth_widget.php CHANGED
@@ -7,8 +7,7 @@ function big_calendar_month_widget() {
7
  $calendar_id = (isset($_GET['calendar']) ? (int) $_GET['calendar'] : '');
8
  $theme_id = (isset($_GET['theme_id']) ? (int) $_GET['theme_id'] : 1);
9
  $date = ((isset($_GET['date']) && IsDate_inputed(esc_html($_GET['date']))) ? esc_html($_GET['date']) : '');
10
- $view_select = (isset($_GET['select']) ? esc_html($_GET['select']) : 'month,');
11
- $path_sp_cal = (isset($_GET['cur_page_url']) ? esc_html($_GET['cur_page_url']) : '');
12
  $cat_id = (isset($_GET['cat_id']) ? esc_html($_GET['cat_id']) : '');
13
  $cat_ids = (isset($_GET['cat_ids']) ? esc_html($_GET['cat_ids']) : '');
14
  $site_url = get_admin_url().'admin-ajax.php';
@@ -325,7 +324,6 @@ $cat_ids = substr($cat_ids, 0,-1);
325
  'select' => $view_select,
326
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
327
  'many_sp_calendar' => $many_sp_calendar,
328
- 'cur_page_url' => $path_sp_cal,
329
  'cat_id' => '',
330
  'cat_ids' => $cat_ids,
331
  'widget' => $widget,
@@ -341,7 +339,6 @@ $cat_ids = substr($cat_ids, 0,-1);
341
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
342
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
343
  'many_sp_calendar' => $many_sp_calendar,
344
- 'cur_page_url' => $path_sp_cal,
345
  'cat_id' => '',
346
  'cat_ids' => $cat_ids,
347
  'widget' => $widget,
@@ -355,7 +352,6 @@ $cat_ids = substr($cat_ids, 0,-1);
355
  'select' => $view_select,
356
  'date' => $year . '-' . add_0((Month_num($month))),
357
  'many_sp_calendar' => $many_sp_calendar,
358
- 'cur_page_url' => $path_sp_cal,
359
  'cat_id' => '',
360
  'cat_ids' => $cat_ids,
361
  'widget' => $widget,
@@ -369,7 +365,6 @@ $cat_ids = substr($cat_ids, 0,-1);
369
  'select' => $view_select,
370
  'date' => $year . '-' . add_0((Month_num($month))),
371
  'many_sp_calendar' => $many_sp_calendar,
372
- 'cur_page_url' => $path_sp_cal,
373
  'cat_id' => '',
374
  'cat_ids' => $cat_ids,
375
  'widget' => $widget,
@@ -402,7 +397,6 @@ $cat_ids = substr($cat_ids, 0,-1);
402
  'select' => $view_select,
403
  'date' => $needed_date,
404
  'many_sp_calendar' => $many_sp_calendar,
405
- 'cur_page_url' => $path_sp_cal,
406
  'cat_id' => '',
407
  'cat_ids' => $cat_ids,
408
  'widget' => $widget,
@@ -430,7 +424,6 @@ $cat_ids = substr($cat_ids, 0,-1);
430
  'select' => $view_select,
431
  'date' => $needed_date,
432
  'many_sp_calendar' => $many_sp_calendar,
433
- 'cur_page_url' => $path_sp_cal,
434
  'cat_id' => '',
435
  'cat_ids' => $cat_ids,
436
  'widget' => $widget,
@@ -543,7 +536,6 @@ $cat_ids = substr($cat_ids, 0,-1);
543
  'eventID' => $ev_id[0],
544
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
545
  'many_sp_calendar' => $many_sp_calendar,
546
- 'cur_page_url' => $path_sp_cal,
547
  'widget' => $widget,
548
  'TB_iframe' => 1,
549
  'tbWidth' => $popup_width,
@@ -567,7 +559,6 @@ $cat_ids = substr($cat_ids, 0,-1);
567
  'eventID' => $ev_id[0],
568
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
569
  'many_sp_calendar' => $many_sp_calendar,
570
- 'cur_page_url' => $path_sp_cal,
571
  'widget' => $widget,
572
  'TB_iframe' => 1,
573
  'tbWidth' => $popup_width,
@@ -593,7 +584,6 @@ $cat_ids = substr($cat_ids, 0,-1);
593
  'eventID' => $ev_id[0],
594
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
595
  'many_sp_calendar' => $many_sp_calendar,
596
- 'cur_page_url' => $path_sp_cal,
597
  'widget' => $widget,
598
  'TB_iframe' => 1,
599
  'tbWidth' => $popup_width,
@@ -630,7 +620,6 @@ $cat_ids = substr($cat_ids, 0,-1);
630
  'eventID' => $ev_id[0],
631
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
632
  'many_sp_calendar' => $many_sp_calendar,
633
- 'cur_page_url' => $path_sp_cal,
634
  'widget' => $widget,
635
  'TB_iframe' => 1,
636
  'tbWidth' => $popup_width,
@@ -657,7 +646,6 @@ $cat_ids = substr($cat_ids, 0,-1);
657
  'eventID' => $ev_id[0],
658
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
659
  'many_sp_calendar' => $many_sp_calendar,
660
- 'cur_page_url' => $path_sp_cal,
661
  'widget' => $widget,
662
  'TB_iframe' => 1,
663
  'tbWidth' => $popup_width,
@@ -696,7 +684,6 @@ if (in_array ($i,$array_days)) {
696
  'eventID' => $ev_id[0],
697
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
698
  'many_sp_calendar' => $many_sp_calendar,
699
- 'cur_page_url' => $path_sp_cal,
700
  'widget' => $widget,
701
  'TB_iframe' => 1,
702
  'tbWidth' => $popup_width,
@@ -739,7 +726,6 @@ if (in_array ($i,$array_days)) {
739
  'eventID' => $ev_id[0],
740
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
741
  'many_sp_calendar' => $many_sp_calendar,
742
- 'cur_page_url' => $path_sp_cal,
743
  'widget' => $widget,
744
  'TB_iframe' => 1,
745
  'tbWidth' => $popup_width,
@@ -766,7 +752,6 @@ if (in_array ($i,$array_days)) {
766
  'eventID' => $ev_id[0],
767
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
768
  'many_sp_calendar' => $many_sp_calendar,
769
- 'cur_page_url' => $path_sp_cal,
770
  'widget' => $widget,
771
  'TB_iframe' => 1,
772
  'tbWidth' => $popup_width,
@@ -801,7 +786,6 @@ if (in_array ($i,$array_days)) {
801
  'eventID' => $ev_id[0],
802
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
803
  'many_sp_calendar' => $many_sp_calendar,
804
- 'cur_page_url' => $path_sp_cal,
805
  'widget' => $widget,
806
  'TB_iframe' => 1,
807
  'tbWidth' => $popup_width,
@@ -827,7 +811,6 @@ if (in_array ($i,$array_days)) {
827
  'eventID' => $ev_id[0],
828
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
829
  'many_sp_calendar' => $many_sp_calendar,
830
- 'cur_page_url' => $path_sp_cal,
831
  'widget' => $widget,
832
  'TB_iframe' => 1,
833
  'tbWidth' => $popup_width,
@@ -875,7 +858,6 @@ if (in_array ($i,$array_days)) {
875
  'select' => $view_select,
876
  'date' => ($year - 1) . '-' . add_0((Month_num($month))),
877
  'many_sp_calendar' => $many_sp_calendar,
878
- 'cur_page_url' => $path_sp_cal,
879
  'widget' => $widget,
880
  'cat_id' => '',
881
  'cat_ids' => $cat_ids,
@@ -894,7 +876,6 @@ if (in_array ($i,$array_days)) {
894
  'select' => $view_select,
895
  'date' => ($year + 1) . '-' . add_0((Month_num($month))),
896
  'many_sp_calendar' => $many_sp_calendar,
897
- 'cur_page_url' => $path_sp_cal,
898
  'widget' => $widget,
899
  'cat_id' => '',
900
  'cat_ids' => $cat_ids,
@@ -967,7 +948,6 @@ foreach($categories as $category)
967
  'select' => $view_select,
968
  'date' => $year . '-' . add_0((Month_num($month))),
969
  'many_sp_calendar' => $many_sp_calendar,
970
- 'cur_page_url' => $path_sp_cal,
971
  'cat_id' => $category->id,
972
  'cat_ids' => $cat_ids,
973
  'widget' => $widget,
@@ -983,7 +963,6 @@ if (!empty($categories)) {
983
  'select' => $view_select,
984
  'date' => $year . '-' . add_0((Month_num($month))),
985
  'many_sp_calendar' => $many_sp_calendar,
986
- 'cur_page_url' => $path_sp_cal,
987
  'cat_id' => '',
988
  'cat_ids' => '',
989
  'widget' => $widget,
7
  $calendar_id = (isset($_GET['calendar']) ? (int) $_GET['calendar'] : '');
8
  $theme_id = (isset($_GET['theme_id']) ? (int) $_GET['theme_id'] : 1);
9
  $date = ((isset($_GET['date']) && IsDate_inputed(esc_html($_GET['date']))) ? esc_html($_GET['date']) : '');
10
+ $view_select = (isset($_GET['select']) ? esc_html($_GET['select']) : 'month,');
 
11
  $cat_id = (isset($_GET['cat_id']) ? esc_html($_GET['cat_id']) : '');
12
  $cat_ids = (isset($_GET['cat_ids']) ? esc_html($_GET['cat_ids']) : '');
13
  $site_url = get_admin_url().'admin-ajax.php';
324
  'select' => $view_select,
325
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
326
  'many_sp_calendar' => $many_sp_calendar,
 
327
  'cat_id' => '',
328
  'cat_ids' => $cat_ids,
329
  'widget' => $widget,
339
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
340
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
341
  'many_sp_calendar' => $many_sp_calendar,
 
342
  'cat_id' => '',
343
  'cat_ids' => $cat_ids,
344
  'widget' => $widget,
352
  'select' => $view_select,
353
  'date' => $year . '-' . add_0((Month_num($month))),
354
  'many_sp_calendar' => $many_sp_calendar,
 
355
  'cat_id' => '',
356
  'cat_ids' => $cat_ids,
357
  'widget' => $widget,
365
  'select' => $view_select,
366
  'date' => $year . '-' . add_0((Month_num($month))),
367
  'many_sp_calendar' => $many_sp_calendar,
 
368
  'cat_id' => '',
369
  'cat_ids' => $cat_ids,
370
  'widget' => $widget,
397
  'select' => $view_select,
398
  'date' => $needed_date,
399
  'many_sp_calendar' => $many_sp_calendar,
 
400
  'cat_id' => '',
401
  'cat_ids' => $cat_ids,
402
  'widget' => $widget,
424
  'select' => $view_select,
425
  'date' => $needed_date,
426
  'many_sp_calendar' => $many_sp_calendar,
 
427
  'cat_id' => '',
428
  'cat_ids' => $cat_ids,
429
  'widget' => $widget,
536
  'eventID' => $ev_id[0],
537
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
538
  'many_sp_calendar' => $many_sp_calendar,
 
539
  'widget' => $widget,
540
  'TB_iframe' => 1,
541
  'tbWidth' => $popup_width,
559
  'eventID' => $ev_id[0],
560
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
561
  'many_sp_calendar' => $many_sp_calendar,
 
562
  'widget' => $widget,
563
  'TB_iframe' => 1,
564
  'tbWidth' => $popup_width,
584
  'eventID' => $ev_id[0],
585
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
586
  'many_sp_calendar' => $many_sp_calendar,
 
587
  'widget' => $widget,
588
  'TB_iframe' => 1,
589
  'tbWidth' => $popup_width,
620
  'eventID' => $ev_id[0],
621
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
622
  'many_sp_calendar' => $many_sp_calendar,
 
623
  'widget' => $widget,
624
  'TB_iframe' => 1,
625
  'tbWidth' => $popup_width,
646
  'eventID' => $ev_id[0],
647
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
648
  'many_sp_calendar' => $many_sp_calendar,
 
649
  'widget' => $widget,
650
  'TB_iframe' => 1,
651
  'tbWidth' => $popup_width,
684
  'eventID' => $ev_id[0],
685
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
686
  'many_sp_calendar' => $many_sp_calendar,
 
687
  'widget' => $widget,
688
  'TB_iframe' => 1,
689
  'tbWidth' => $popup_width,
726
  'eventID' => $ev_id[0],
727
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
728
  'many_sp_calendar' => $many_sp_calendar,
 
729
  'widget' => $widget,
730
  'TB_iframe' => 1,
731
  'tbWidth' => $popup_width,
752
  'eventID' => $ev_id[0],
753
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
754
  'many_sp_calendar' => $many_sp_calendar,
 
755
  'widget' => $widget,
756
  'TB_iframe' => 1,
757
  'tbWidth' => $popup_width,
786
  'eventID' => $ev_id[0],
787
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
788
  'many_sp_calendar' => $many_sp_calendar,
 
789
  'widget' => $widget,
790
  'TB_iframe' => 1,
791
  'tbWidth' => $popup_width,
811
  'eventID' => $ev_id[0],
812
  'date' => $year . '-' . add_0(Month_num($month)) . '-' . $i,
813
  'many_sp_calendar' => $many_sp_calendar,
 
814
  'widget' => $widget,
815
  'TB_iframe' => 1,
816
  'tbWidth' => $popup_width,
858
  'select' => $view_select,
859
  'date' => ($year - 1) . '-' . add_0((Month_num($month))),
860
  'many_sp_calendar' => $many_sp_calendar,
 
861
  'widget' => $widget,
862
  'cat_id' => '',
863
  'cat_ids' => $cat_ids,
876
  'select' => $view_select,
877
  'date' => ($year + 1) . '-' . add_0((Month_num($month))),
878
  'many_sp_calendar' => $many_sp_calendar,
 
879
  'widget' => $widget,
880
  'cat_id' => '',
881
  'cat_ids' => $cat_ids,
948
  'select' => $view_select,
949
  'date' => $year . '-' . add_0((Month_num($month))),
950
  'many_sp_calendar' => $many_sp_calendar,
 
951
  'cat_id' => $category->id,
952
  'cat_ids' => $cat_ids,
953
  'widget' => $widget,
963
  'select' => $view_select,
964
  'date' => $year . '-' . add_0((Month_num($month))),
965
  'many_sp_calendar' => $many_sp_calendar,
 
966
  'cat_id' => '',
967
  'cat_ids' => '',
968
  'widget' => $widget,
front_end/bigcalendarweek.php CHANGED
@@ -8,7 +8,6 @@ function big_calendar_week() {
8
  $theme_id = (isset($_GET['theme_id']) ? (int) $_GET['theme_id'] : 30);
9
  $date = ((isset($_GET['date']) && IsDate_inputed(esc_html($_GET['date']))) ? esc_html($_GET['date']) : '');
10
  $view_select = (isset($_GET['select']) ? esc_html($_GET['select']) : 'month,');
11
- $path_sp_cal = (isset($_GET['cur_page_url']) ? esc_html($_GET['cur_page_url']) : '');
12
  $months = (isset($_GET['months']) ? esc_html($_GET['months']) : '');
13
  $cat_id = (isset($_GET['cat_id']) ? esc_html($_GET['cat_id']) : '');
14
  $cat_ids = (isset($_GET['cat_ids']) ? esc_html($_GET['cat_ids']) : '');
@@ -593,7 +592,6 @@ position: relative;
593
  'select' => $view_select,
594
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
595
  'many_sp_calendar' => $many_sp_calendar,
596
- 'cur_page_url' => $path_sp_cal,
597
  'cat_id' => '',
598
  'cat_ids' => $cat_ids,
599
  'widget' => $widget,
@@ -609,7 +607,6 @@ position: relative;
609
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
610
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
611
  'many_sp_calendar' => $many_sp_calendar,
612
- 'cur_page_url' => $path_sp_cal,
613
  'cat_id' => '',
614
  'cat_ids' => $cat_ids,
615
  'widget' => $widget,
@@ -624,7 +621,6 @@ position: relative;
624
  'select' => $view_select,
625
  'date' => $year . '-' . add_0((Month_num($month))),
626
  'many_sp_calendar' => $many_sp_calendar,
627
- 'cur_page_url' => $path_sp_cal,
628
  'cat_id' => '',
629
  'cat_ids' => $cat_ids,
630
  'widget' => $widget,
@@ -639,7 +635,6 @@ position: relative;
639
  'select' => $view_select,
640
  'date' => $year . '-' . add_0((Month_num($month))),
641
  'many_sp_calendar' => $many_sp_calendar,
642
- 'cur_page_url' => $path_sp_cal,
643
  'cat_id' => '',
644
  'cat_ids' => $cat_ids,
645
  'widget' => $widget,
@@ -666,7 +661,6 @@ position: relative;
666
  'select' => $view_select,
667
  'date' => $year.'-'.add_0((Month_num($month))).'-'.date('d'),
668
  'many_sp_calendar' => $many_sp_calendar,
669
- 'cur_page_url' => $path_sp_cal,
670
  'cat_id' => '',
671
  'cat_ids' => $cat_ids,
672
  'widget' => $widget,
@@ -684,7 +678,6 @@ position: relative;
684
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
685
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
686
  'many_sp_calendar' => $many_sp_calendar,
687
- 'cur_page_url' => $path_sp_cal,
688
  'cat_id' => '',
689
  'cat_ids' => $cat_ids,
690
  'widget' => $widget,
@@ -701,7 +694,6 @@ position: relative;
701
  'select' => $view_select,
702
  'date' => $year . '-' . add_0((Month_num($month))),
703
  'many_sp_calendar' => $many_sp_calendar,
704
- 'cur_page_url' => $path_sp_cal,
705
  'cat_id' => '',
706
  'cat_ids' => $cat_ids,
707
  'widget' => $widget,
@@ -718,7 +710,6 @@ position: relative;
718
  'select' => $view_select,
719
  'date' => $year . '-' . add_0((Month_num($month))),
720
  'many_sp_calendar' => $many_sp_calendar,
721
- 'cur_page_url' => $path_sp_cal,
722
  'cat_id' => '',
723
  'cat_ids' => $cat_ids,
724
  'widget' => $widget,
@@ -752,7 +743,6 @@ position: relative;
752
  'date' => ($year - 1) . '-' . add_0((Month_num($month))) . '-' . date('d'),
753
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
754
  'many_sp_calendar' => $many_sp_calendar,
755
- 'cur_page_url' => $path_sp_cal,
756
  'cat_id' => '',
757
  'cat_ids' => $cat_ids,
758
  'widget' => $widget,
@@ -770,7 +760,6 @@ position: relative;
770
  'date' => $prev_date,
771
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
772
  'many_sp_calendar' => $many_sp_calendar,
773
- 'cur_page_url' => $path_sp_cal,
774
  'cat_id' => '',
775
  'cat_ids' => $cat_ids,
776
  'widget' => $widget,
@@ -791,7 +780,6 @@ position: relative;
791
  'date' => $next_date,
792
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
793
  'many_sp_calendar' => $many_sp_calendar,
794
- 'cur_page_url' => $path_sp_cal,
795
  'cat_id' => '',
796
  'cat_ids' => $cat_ids,
797
  'widget' => $widget,
@@ -808,7 +796,6 @@ position: relative;
808
  'date' => ($year + 1) . '-' . add_0((Month_num($month))) . '-' . date('d'),
809
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
810
  'many_sp_calendar' => $many_sp_calendar,
811
- 'cur_page_url' => $path_sp_cal,
812
  'cat_id' => '',
813
  'cat_ids' => $cat_ids,
814
  'widget' => $widget,
@@ -943,7 +930,6 @@ position: relative;
943
  'eventID' => $ev_id[$j],
944
  'date' => $year . '-' . $month . '-' . (int) $day,
945
  'many_sp_calendar' => $many_sp_calendar,
946
- 'cur_page_url' => $path_sp_cal,
947
  'widget' => $widget,
948
  'TB_iframe' => 1,
949
  'tbWidth' => $popup_width,
@@ -1050,7 +1036,6 @@ foreach($categories as $category)
1050
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
1051
  'date' => $year . '-' . $month . '-' . add_0($day),
1052
  'many_sp_calendar' => $many_sp_calendar,
1053
- 'cur_page_url' => $path_sp_cal,
1054
  'cat_id' => $category->id,
1055
  'cat_ids' => $cat_ids,
1056
  'widget' => $widget,
@@ -1069,7 +1054,6 @@ if (!empty($categories)) {
1069
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
1070
  'date' => $year . '-' . $month . '-' . add_0($day),
1071
  'many_sp_calendar' => $many_sp_calendar,
1072
- 'cur_page_url' => $path_sp_cal,
1073
  'cat_id' => '',
1074
  'cat_ids' => '',
1075
  'widget' => $widget,
8
  $theme_id = (isset($_GET['theme_id']) ? (int) $_GET['theme_id'] : 30);
9
  $date = ((isset($_GET['date']) && IsDate_inputed(esc_html($_GET['date']))) ? esc_html($_GET['date']) : '');
10
  $view_select = (isset($_GET['select']) ? esc_html($_GET['select']) : 'month,');
 
11
  $months = (isset($_GET['months']) ? esc_html($_GET['months']) : '');
12
  $cat_id = (isset($_GET['cat_id']) ? esc_html($_GET['cat_id']) : '');
13
  $cat_ids = (isset($_GET['cat_ids']) ? esc_html($_GET['cat_ids']) : '');
592
  'select' => $view_select,
593
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
594
  'many_sp_calendar' => $many_sp_calendar,
 
595
  'cat_id' => '',
596
  'cat_ids' => $cat_ids,
597
  'widget' => $widget,
607
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
608
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
609
  'many_sp_calendar' => $many_sp_calendar,
 
610
  'cat_id' => '',
611
  'cat_ids' => $cat_ids,
612
  'widget' => $widget,
621
  'select' => $view_select,
622
  'date' => $year . '-' . add_0((Month_num($month))),
623
  'many_sp_calendar' => $many_sp_calendar,
 
624
  'cat_id' => '',
625
  'cat_ids' => $cat_ids,
626
  'widget' => $widget,
635
  'select' => $view_select,
636
  'date' => $year . '-' . add_0((Month_num($month))),
637
  'many_sp_calendar' => $many_sp_calendar,
 
638
  'cat_id' => '',
639
  'cat_ids' => $cat_ids,
640
  'widget' => $widget,
661
  'select' => $view_select,
662
  'date' => $year.'-'.add_0((Month_num($month))).'-'.date('d'),
663
  'many_sp_calendar' => $many_sp_calendar,
 
664
  'cat_id' => '',
665
  'cat_ids' => $cat_ids,
666
  'widget' => $widget,
678
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
679
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
680
  'many_sp_calendar' => $many_sp_calendar,
 
681
  'cat_id' => '',
682
  'cat_ids' => $cat_ids,
683
  'widget' => $widget,
694
  'select' => $view_select,
695
  'date' => $year . '-' . add_0((Month_num($month))),
696
  'many_sp_calendar' => $many_sp_calendar,
 
697
  'cat_id' => '',
698
  'cat_ids' => $cat_ids,
699
  'widget' => $widget,
710
  'select' => $view_select,
711
  'date' => $year . '-' . add_0((Month_num($month))),
712
  'many_sp_calendar' => $many_sp_calendar,
 
713
  'cat_id' => '',
714
  'cat_ids' => $cat_ids,
715
  'widget' => $widget,
743
  'date' => ($year - 1) . '-' . add_0((Month_num($month))) . '-' . date('d'),
744
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
745
  'many_sp_calendar' => $many_sp_calendar,
 
746
  'cat_id' => '',
747
  'cat_ids' => $cat_ids,
748
  'widget' => $widget,
760
  'date' => $prev_date,
761
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
762
  'many_sp_calendar' => $many_sp_calendar,
 
763
  'cat_id' => '',
764
  'cat_ids' => $cat_ids,
765
  'widget' => $widget,
780
  'date' => $next_date,
781
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
782
  'many_sp_calendar' => $many_sp_calendar,
 
783
  'cat_id' => '',
784
  'cat_ids' => $cat_ids,
785
  'widget' => $widget,
796
  'date' => ($year + 1) . '-' . add_0((Month_num($month))) . '-' . date('d'),
797
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
798
  'many_sp_calendar' => $many_sp_calendar,
 
799
  'cat_id' => '',
800
  'cat_ids' => $cat_ids,
801
  'widget' => $widget,
930
  'eventID' => $ev_id[$j],
931
  'date' => $year . '-' . $month . '-' . (int) $day,
932
  'many_sp_calendar' => $many_sp_calendar,
 
933
  'widget' => $widget,
934
  'TB_iframe' => 1,
935
  'tbWidth' => $popup_width,
1036
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
1037
  'date' => $year . '-' . $month . '-' . add_0($day),
1038
  'many_sp_calendar' => $many_sp_calendar,
 
1039
  'cat_id' => $category->id,
1040
  'cat_ids' => $cat_ids,
1041
  'widget' => $widget,
1054
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
1055
  'date' => $year . '-' . $month . '-' . add_0($day),
1056
  'many_sp_calendar' => $many_sp_calendar,
 
1057
  'cat_id' => '',
1058
  'cat_ids' => '',
1059
  'widget' => $widget,
front_end/bigcalendarweek_widget.php CHANGED
@@ -8,7 +8,6 @@ function big_calendar_week_widget() {
8
  $theme_id = (isset($_GET['theme_id']) ? (int) $_GET['theme_id'] : 1);
9
  $date = ((isset($_GET['date']) && IsDate_inputed(esc_html($_GET['date']))) ? esc_html($_GET['date']) : '');
10
  $view_select = (isset($_GET['select']) ? esc_html($_GET['select']) : 'month,');
11
- $path_sp_cal = (isset($_GET['cur_page_url']) ? esc_html($_GET['cur_page_url']) : '');
12
  $months = (isset($_GET['months']) ? esc_html($_GET['months']) : '');
13
  $cat_id = (isset($_GET['cat_id']) ? esc_html($_GET['cat_id']) : '');
14
  $cat_ids = (isset($_GET['cat_ids']) ? esc_html($_GET['cat_ids']) : '');
@@ -353,7 +352,6 @@ position: relative;
353
  'select' => $view_select,
354
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
355
  'many_sp_calendar' => $many_sp_calendar,
356
- 'cur_page_url' => $path_sp_cal,
357
  'cat_id' => '',
358
  'cat_ids' => $cat_ids,
359
  'widget' => $widget,
@@ -369,7 +367,6 @@ position: relative;
369
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
370
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
371
  'many_sp_calendar' => $many_sp_calendar,
372
- 'cur_page_url' => $path_sp_cal,
373
  'cat_id' => '',
374
  'cat_ids' => $cat_ids,
375
  'widget' => $widget,
@@ -384,7 +381,6 @@ position: relative;
384
  'select' => $view_select,
385
  'date' => $year . '-' . add_0((Month_num($month))),
386
  'many_sp_calendar' => $many_sp_calendar,
387
- 'cur_page_url' => $path_sp_cal,
388
  'cat_id' => '',
389
  'cat_ids' => $cat_ids,
390
  'widget' => $widget,
@@ -399,7 +395,6 @@ position: relative;
399
  'select' => $view_select,
400
  'date' => $year . '-' . add_0((Month_num($month))),
401
  'many_sp_calendar' => $many_sp_calendar,
402
- 'cur_page_url' => $path_sp_cal,
403
  'cat_id' => '',
404
  'cat_ids' => $cat_ids,
405
  'widget' => $widget,
@@ -434,7 +429,6 @@ position: relative;
434
  'date' => $prev_date,
435
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
436
  'many_sp_calendar' => $many_sp_calendar,
437
- 'cur_page_url' => $path_sp_cal,
438
  'cat_id' => '',
439
  'cat_ids' => $cat_ids,
440
  'widget' => $widget,
@@ -471,7 +465,6 @@ position: relative;
471
  'date' => $next_date,
472
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
473
  'many_sp_calendar' => $many_sp_calendar,
474
- 'cur_page_url' => $path_sp_cal,
475
  'cat_id' => '',
476
  'cat_ids' => $cat_ids,
477
  'widget' => $widget,
@@ -596,7 +589,6 @@ position: relative;
596
  'eventID' => $ev_id[$j],
597
  'date' => $year . '-' . $month . '-' . (int) $day,
598
  'many_sp_calendar' => $many_sp_calendar,
599
- 'cur_page_url' => $path_sp_cal,
600
  'widget' => $widget,
601
  'TB_iframe' => 1,
602
  'tbWidth' => $popup_width,
@@ -633,7 +625,6 @@ position: relative;
633
  'date' => ($year - 1) . '-' . add_0((Month_num($month_year))),
634
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
635
  'many_sp_calendar' => $many_sp_calendar,
636
- 'cur_page_url' => $path_sp_cal,
637
  'widget' => $widget,
638
  'cat_id' => '',
639
  'cat_ids' => $cat_ids,
@@ -653,7 +644,6 @@ position: relative;
653
  'date' => ($year + 1) . '-' . add_0((Month_num($month_year))),
654
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
655
  'many_sp_calendar' => $many_sp_calendar,
656
- 'cur_page_url' => $path_sp_cal,
657
  'widget' => $widget,
658
  'cat_id' => '',
659
  'cat_ids' => $cat_ids,
@@ -723,7 +713,6 @@ foreach($categories as $category)
723
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
724
  'date' => $year . '-' . $month . '-' . add_0($day),
725
  'many_sp_calendar' => $many_sp_calendar,
726
- 'cur_page_url' => $path_sp_cal,
727
  'cat_id' => $category->id,
728
  'cat_ids' => $cat_ids,
729
  'widget' => $widget,
@@ -741,7 +730,6 @@ if (!empty($categories)) {
741
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
742
  'date' => $year . '-' . $month . '-' . add_0($day),
743
  'many_sp_calendar' => $many_sp_calendar,
744
- 'cur_page_url' => $path_sp_cal,
745
  'cat_id' => '',
746
  'cat_ids' => '',
747
  'widget' => $widget,
8
  $theme_id = (isset($_GET['theme_id']) ? (int) $_GET['theme_id'] : 1);
9
  $date = ((isset($_GET['date']) && IsDate_inputed(esc_html($_GET['date']))) ? esc_html($_GET['date']) : '');
10
  $view_select = (isset($_GET['select']) ? esc_html($_GET['select']) : 'month,');
 
11
  $months = (isset($_GET['months']) ? esc_html($_GET['months']) : '');
12
  $cat_id = (isset($_GET['cat_id']) ? esc_html($_GET['cat_id']) : '');
13
  $cat_ids = (isset($_GET['cat_ids']) ? esc_html($_GET['cat_ids']) : '');
352
  'select' => $view_select,
353
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
354
  'many_sp_calendar' => $many_sp_calendar,
 
355
  'cat_id' => '',
356
  'cat_ids' => $cat_ids,
357
  'widget' => $widget,
367
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
368
  'date' => $year . '-' . add_0((Month_num($month))) . '-' . date('d'),
369
  'many_sp_calendar' => $many_sp_calendar,
 
370
  'cat_id' => '',
371
  'cat_ids' => $cat_ids,
372
  'widget' => $widget,
381
  'select' => $view_select,
382
  'date' => $year . '-' . add_0((Month_num($month))),
383
  'many_sp_calendar' => $many_sp_calendar,
 
384
  'cat_id' => '',
385
  'cat_ids' => $cat_ids,
386
  'widget' => $widget,
395
  'select' => $view_select,
396
  'date' => $year . '-' . add_0((Month_num($month))),
397
  'many_sp_calendar' => $many_sp_calendar,
 
398
  'cat_id' => '',
399
  'cat_ids' => $cat_ids,
400
  'widget' => $widget,
429
  'date' => $prev_date,
430
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
431
  'many_sp_calendar' => $many_sp_calendar,
 
432
  'cat_id' => '',
433
  'cat_ids' => $cat_ids,
434
  'widget' => $widget,
465
  'date' => $next_date,
466
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
467
  'many_sp_calendar' => $many_sp_calendar,
 
468
  'cat_id' => '',
469
  'cat_ids' => $cat_ids,
470
  'widget' => $widget,
589
  'eventID' => $ev_id[$j],
590
  'date' => $year . '-' . $month . '-' . (int) $day,
591
  'many_sp_calendar' => $many_sp_calendar,
 
592
  'widget' => $widget,
593
  'TB_iframe' => 1,
594
  'tbWidth' => $popup_width,
625
  'date' => ($year - 1) . '-' . add_0((Month_num($month_year))),
626
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
627
  'many_sp_calendar' => $many_sp_calendar,
 
628
  'widget' => $widget,
629
  'cat_id' => '',
630
  'cat_ids' => $cat_ids,
644
  'date' => ($year + 1) . '-' . add_0((Month_num($month_year))),
645
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
646
  'many_sp_calendar' => $many_sp_calendar,
 
647
  'widget' => $widget,
648
  'cat_id' => '',
649
  'cat_ids' => $cat_ids,
713
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
714
  'date' => $year . '-' . $month . '-' . add_0($day),
715
  'many_sp_calendar' => $many_sp_calendar,
 
716
  'cat_id' => $category->id,
717
  'cat_ids' => $cat_ids,
718
  'widget' => $widget,
730
  'months' => $prev_month . ',' . $this_month . ',' . $next_month,
731
  'date' => $year . '-' . $month . '-' . add_0($day),
732
  'many_sp_calendar' => $many_sp_calendar,
 
733
  'cat_id' => '',
734
  'cat_ids' => '',
735
  'widget' => $widget,
functions_for_xml_and_ajax.php CHANGED
@@ -174,7 +174,6 @@ function seemore() {
174
  $widget = ((isset($_GET['widget']) && (int) $_GET['widget']) ? (int) $_GET['widget'] : 0);
175
  $theme_id = (isset($_GET['theme_id']) ? (int) $_GET['theme_id'] : 1);
176
  $date = ((isset($_GET['date']) && IsDate_inputed(esc_html($_GET['date']))) ? esc_html($_GET['date']) : '');
177
- $path_sp_cal = (isset($_GET['cur_page_url']) ? esc_html($_GET['cur_page_url']) : '');
178
  if ($date != '' && !IsDate_inputed($date)) {
179
  $date = date("Y-m-d");
180
  }
@@ -343,7 +342,6 @@ WHERE " . $wpdb->prefix . "spidercalendar_event.published=1 AND " . $wpdb->pref
343
  'eventID' => $ev_id[$i],
344
  'date' => $date,
345
  'day' => $day,
346
- 'cur_page_url' => $path_sp_cal,
347
  'widget' => $widget,
348
  'TB_iframe' => 1,
349
  'tbWidth' => $popup_width,
@@ -365,7 +363,6 @@ WHERE " . $wpdb->prefix . "spidercalendar_event.published=1 AND " . $wpdb->pref
365
  'eventID' => $ev_id[$i],
366
  'date' => $date,
367
  'day' => $day,
368
- 'cur_page_url' => $path_sp_cal,
369
  'widget' => $widget,
370
  'TB_iframe' => 1,
371
  'tbWidth' => $popup_width,
@@ -737,36 +734,7 @@ function spiderbigcalendar() {
737
  <span class="arrow">&gt;</span>
738
  </td>
739
  </tr>
740
- </table>
741
- <?php
742
- ////////////////
743
- $url_for_page = (isset($_GET['cur_page_url']) ? esc_html($_GET['cur_page_url']) : '');
744
- $url_for_page_de = urldecode($url_for_page);
745
- if (!strpos($url_for_page_de, '?')) {
746
- $cuery_string = '?' . $_SERVER['QUERY_STRING'];
747
- }
748
- else {
749
- $cuery_string = '&' . $_SERVER['QUERY_STRING'];
750
- }
751
- $url_for_page_de .= $cuery_string;
752
- $url_for_page_de = str_replace('theme_id=', 'frst_theme_id=\'', $url_for_page_de);
753
- $url_for_page_de = str_replace('calendar_id=', 'frst_calendar_id=\'', $url_for_page_de);
754
- $url_for_page_de = str_replace('ev_ids=', 'frst_ev_ids=\'', $url_for_page_de);
755
- $url_for_page_de = str_replace('eventID=', 'frst_eventID=\'', $url_for_page_de);
756
- $url_for_page_de = str_replace('date=', 'frst_date=\'', $url_for_page_de);
757
- $url_for_page_de = str_replace('day=', 'frst_day=\'', $url_for_page_de);
758
- if (substr($url_for_page_de, -1) == '&') {
759
- $url_for_page_de = substr_replace($url_for_page_de, "", -1);
760
- }
761
- $zzzzzzzzz = 0;
762
- if ($zzzzzzzzz == 1) {
763
- ?>
764
- <iframe src="//www.facebook.com/plugins/like.php?href=<?php echo urlencode($url_for_page_de); ?>" scrolling="no"
765
- frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;"
766
- allowTransparency="true"></iframe>
767
- <?php
768
- }
769
- ?>
770
  </body>
771
  </html>
772
  <?php
174
  $widget = ((isset($_GET['widget']) && (int) $_GET['widget']) ? (int) $_GET['widget'] : 0);
175
  $theme_id = (isset($_GET['theme_id']) ? (int) $_GET['theme_id'] : 1);
176
  $date = ((isset($_GET['date']) && IsDate_inputed(esc_html($_GET['date']))) ? esc_html($_GET['date']) : '');
 
177
  if ($date != '' && !IsDate_inputed($date)) {
178
  $date = date("Y-m-d");
179
  }
342
  'eventID' => $ev_id[$i],
343
  'date' => $date,
344
  'day' => $day,
 
345
  'widget' => $widget,
346
  'TB_iframe' => 1,
347
  'tbWidth' => $popup_width,
363
  'eventID' => $ev_id[$i],
364
  'date' => $date,
365
  'day' => $day,
 
366
  'widget' => $widget,
367
  'TB_iframe' => 1,
368
  'tbWidth' => $popup_width,
734
  <span class="arrow">&gt;</span>
735
  </td>
736
  </tr>
737
+ </table>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
738
  </body>
739
  </html>
740
  <?php
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://web-dorado.com/products/wordpress-calendar.html
4
  Tags: calendar, date, event, event calendar, events, events calendar, meeting, organizer, recurring, reservation, responsive, schedule
5
  Requires at least: 3.4
6
  Tested up to: 4.7
7
- Stable tag: 1.5.49
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -142,6 +142,9 @@ Vietnamese (vi)
142
 
143
  == Changelog ==
144
 
 
 
 
145
  = 1.5.49 =
146
  Fixed: Bug on PHP 7
147
 
4
  Tags: calendar, date, event, event calendar, events, events calendar, meeting, organizer, recurring, reservation, responsive, schedule
5
  Requires at least: 3.4
6
  Tested up to: 4.7
7
+ Stable tag: 1.5.50
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
142
 
143
  == Changelog ==
144
 
145
+ = 1.5.50 =
146
+ Fixed: Minor bug
147
+
148
  = 1.5.49 =
149
  Fixed: Bug on PHP 7
150
 
spider_calendar_admin_class.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  class SC_Admin {
4
  public static $instance = null;
5
- protected $version = '1.5.49';
6
  public $prefix = "sc_";
7
  protected $notices = null;
8
  public static function get_instance() {
2
 
3
  class SC_Admin {
4
  public static $instance = null;
5
+ protected $version = '1.5.50';
6
  public $prefix = "sc_";
7
  protected $notices = null;
8
  public static function get_instance() {