Calendar by WD – Responsive Event Calendar - Version 1.4.22

Version Description

Fixed: Conflict with some themes

Download this release

Release Info

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

Code changes from version 1.4.21 to 1.4.22

calendar.php CHANGED
@@ -1,14 +1,13 @@
1
  <?php
2
-
3
  /*
4
  Plugin Name: Spider Event Calendar
5
  Plugin URI: https://web-dorado.com/products/wordpress-calendar.html
6
  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.
7
- Version: 1.4.21
8
  Author: https://web-dorado.com/
9
  License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
10
  */
11
- $wd_spider_calendar_version="1.4.21";
12
  // LANGUAGE localization.
13
  function sp_calendar_language_load() {
14
  load_plugin_textdomain('sp_calendar', FALSE, basename(dirname(__FILE__)) . '/languages');
@@ -305,6 +304,15 @@ if(jQuery(window).width() > 900 )
305
  #TB_window{
306
  z-index: 1000000;
307
  }
 
 
 
 
 
 
 
 
 
308
  </style>
309
  <?php
310
  $many_sp_calendar++;
1
  <?php
 
2
  /*
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.4.22
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.4.22";
11
  // LANGUAGE localization.
12
  function sp_calendar_language_load() {
13
  load_plugin_textdomain('sp_calendar', FALSE, basename(dirname(__FILE__)) . '/languages');
304
  #TB_window{
305
  z-index: 1000000;
306
  }
307
+ .screen-reader-text{
308
+ display: none;
309
+ }
310
+ #afterbig<?php echo $many_sp_calendar; ?>{
311
+ width: 100% !important;
312
+ }
313
+ #afterbig<?php echo $many_sp_calendar; ?> li{
314
+ list-style: none;
315
+ }
316
  </style>
317
  <?php
318
  $many_sp_calendar++;
front_end/bigcalendarday.php CHANGED
@@ -449,16 +449,15 @@ $theme = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'spide
449
 
450
 
451
  #bigcalendar<?php echo $many_sp_calendar; ?> .views_select ,
452
- #bigcalendar<?php echo $many_sp_calendar; ?> #views_select
453
- {
454
-
455
- background-color: <?php echo $views_tabs_bg_color?>;
456
- width: 120px;
457
- text-align: center;
458
- cursor: pointer;
459
- padding: 6px;
460
- position: relative;
461
- }
462
 
463
  #bigcalendar<?php echo $many_sp_calendar; ?> .views span{
464
  padding: 7px;
@@ -499,7 +498,7 @@ position: relative;
499
  <td>
500
 
501
  <div id="views_tabs" style="width: 100%;<?php echo $display ?>">
502
- <div class="views" style="<?php if (!in_array('day', $views) AND $defaultview != 'day') echo 'display:none;'; if ($view == 'bigcalendarday') echo 'background-color:' . $bg_top . ';top:0;'; ?>"
503
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
504
  'action' => 'spiderbigcalendar_day',
505
  'theme_id' => $theme_id,
@@ -514,7 +513,7 @@ position: relative;
514
  'rand' => $many_sp_calendar,
515
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px"><?php echo __('Day', 'sp_calendar'); ?></span>
516
  </div>
517
- <div class="views" style="<?php if (!in_array('week', $views) AND $defaultview != 'week') echo 'display:none;'; if ($view == 'bigcalendarweek') echo 'background-color:' . $bg_top . ';top:0;'; ?>"
518
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
519
  'action' => 'spiderbigcalendar_week',
520
  'theme_id' => $theme_id,
@@ -530,7 +529,7 @@ position: relative;
530
  'rand' => $many_sp_calendar,
531
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px"><?php echo __('Week', 'sp_calendar'); ?></span>
532
  </div>
533
- <div class="views" style="<?php if (!in_array('list', $views) AND $defaultview != 'list') echo 'display:none;'; if ($view == 'bigcalendarlist') echo 'background-color:' . $bg_top . ';top:0;'; ?>"
534
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
535
  'action' => 'spiderbigcalendar_list',
536
  'theme_id' => $theme_id,
@@ -545,7 +544,7 @@ position: relative;
545
  'rand' => $many_sp_calendar,
546
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px"><?php echo __('List', 'sp_calendar'); ?></span>
547
  </div>
548
- <div class="views" style="<?php if (!in_array('month', $views) AND $defaultview != 'month') echo 'display:none;'; if ($view == 'bigcalendarmonth') echo 'background-color:' . $bg_top . ';top:0;'; ?>"
549
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
550
  'action' => 'spiderbigcalendar_month',
551
  'theme_id' => $theme_id,
@@ -562,7 +561,7 @@ position: relative;
562
  </div>
563
  </div>
564
  <div id="views_tabs_select" style="display:none" >
565
- <div id="views_select" style="background-color:<?php echo $bg_top?>;color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px">
566
  <?php if($view=='bigcalendarday') echo 'Day'; ?>
567
  <?php if($view=='bigcalendarmonth') echo 'Month'; ?>
568
  <?php if($view=='bigcalendarweek') echo 'Week'; ?>
@@ -645,12 +644,12 @@ position: relative;
645
  </tr>
646
  <tr>
647
  <td>
648
- <table cellpadding="0" cellspacing="0" class="general_table" style="border-spacing:0; width:100%; border:<?php echo $border_color; ?> solid <?php echo $border_width; ?>px; margin:0; padding:0; background-color:<?php echo $bg_bottom; ?>;">
649
  <tr>
650
  <td width="100%" style="padding:0; margin:0;">
651
  <table cellpadding="0" cellspacing="0" border="0" style="border-spacing:0; font-size:12px; margin:0; padding:0; width:100%;" >
652
  <tr style="height:40px; width:100%;">
653
- <td class="top_table" align="center" colspan="7" style="z-index: 5;position: relative;background-image:url('<?php echo plugins_url('/images/Stver.png', __FILE__) ?>');padding:0; margin:0; background-color:<?php echo $bg_top; ?>;height:20px; background-repeat: no-repeat;background-size: 100% 100%;">
654
  <table cellpadding="0" cellspacing="0" border="0" align="center" class="calyear_table" style="margin:0; padding:0; text-align:center; width:99.8%; height:<?php echo $top_height; ?>px;">
655
  <tr>
656
  <td width="15%">
@@ -806,7 +805,7 @@ position: relative;
806
  $week_day = date('D', mktime(0, 0, 0, Month_num($month), (int) $day , $year));
807
  echo '<table style="border-spacing:0;width:100%;border-bottom:1px solid ' . $cell_border_color . '">
808
  <tr>
809
- <td style="height:' . $date_height . 'px;font-size:' . $date_font_size . 'px; padding-left:10px;background-color:' . $date_bg_color . '; color:#6E7276">
810
  <span style="padding-left:10px; font-size:' . $week_font_size . 'px;color:' . $week_font_color . '">' . week_convert($week_day) . '</span>
811
  <span style="font-size:' . $day_month_font_size . 'px;color:' . $day_month_font_color . '">(' . __($month,'sp_calendar') . ' ' . (int) $day . ', ' . $year . ')</span>
812
  </td>
@@ -815,7 +814,7 @@ position: relative;
815
  <td>
816
  <table style="border-bottom-left-radius: '.$border_radius2.'px;border-bottom-right-radius: '.$border_radius2.'px;height:' . $event_table_height . 'px;border-spacing:0;width: 100%;background-color:' . $event_bg_color1 . '" class="week_list">
817
  <tr>
818
- <td style="font-size:22px;font-weight:bold;width:15px;text-align:center;background-color:' . $event_num_bg_color1 . ';color:' . $event_num_color . '"></td>
819
  <td><p style="color:' . $event_title_color . ';border:none;">&nbsp;' . __('There Is No Event In This Day', 'sp_calendar') . '</p></td>
820
  </tr>
821
  </table>
@@ -827,7 +826,7 @@ position: relative;
827
  $week_day = date('D', mktime(0, 0, 0, Month_num($month), (int) $day , $year));
828
  echo '<table style="border-spacing:0;width:100%;border-bottom:1px solid ' . $cell_border_color . '">
829
  <tr>
830
- <td style="height:' . $date_height . 'px;font-size:' . $date_font_size . 'px; padding-left:10px;background-color:' . $date_bg_color . '; color:#6E7276">
831
  <span style="padding-left:10px; font-size:' . $date_font_size . 'px;color:' . $week_font_color . '">' . week_convert($week_day) . '</span>
832
  <span style="font-size:' . $day_month_font_size . 'px;color:' . $day_month_font_color . '">(' . __($month,'sp_calendar') . ' ' . (int) $day . ', ' . $year . ')</span>
833
  </td>
@@ -860,9 +859,9 @@ position: relative;
860
  $table_color = $event_bg_color1;
861
  }
862
 
863
- echo '<table style="margin: 0;border-spacing:0;height:' . $event_table_height . 'px;border-spacing:0;width: 100%;background-color:' . $table_color . ';" class="day_ev">
864
  <tr>
865
- <td style="font-size:' . $event_num_font_size . 'px;font-weight:bold;width:15px;text-align:center;background-color: #' . str_replace('#','',$cat_color->color) . ';color:' . $event_num_color . '">' . (($show_numbers_for_events) ? ($j + 1) : '') . '</td>
866
  <td>
867
  <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="font-size:15px;background:none;text-decoration:none;color:' . $event_title_color . '; "
868
  href="' . add_query_arg(array(
@@ -992,7 +991,7 @@ foreach($categories as $category)
992
 
993
  ?>
994
 
995
- <li style="float:left;"><p class="categories1" style="background-color:#<?php echo str_replace('#','',$category->color); ?>">&nbsp;&nbsp;&nbsp;&nbsp;</p><p class="categories2" id="category<?php echo $category->id ?>" style="color:#<?php echo str_replace('#','',$category->color); ?>" onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
996
  'action' => 'spiderbigcalendar_day',
997
  'theme_id' => $theme_id,
998
  'calendar' => $calendar_id,
@@ -1010,7 +1009,7 @@ foreach($categories as $category)
1010
  }
1011
  if (!empty($categories)) {
1012
  ?>
1013
- <li style="float:left;"><p class="categories1" style="background-color:#<?php echo str_replace('#','',$bg_top); ?>">&nbsp;&nbsp;&nbsp;&nbsp;</p><p class="categories2" id="category0" style="color:#<?php echo str_replace('#','',$bg_top); ?>" onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
1014
  'action' => 'spiderbigcalendar_day',
1015
  'theme_id' => $theme_id,
1016
  'calendar' => $calendar_id,
449
 
450
 
451
  #bigcalendar<?php echo $many_sp_calendar; ?> .views_select ,
452
+ #bigcalendar<?php echo $many_sp_calendar; ?> #views_select
453
+ {
454
+ background-color: <?php echo $views_tabs_bg_color?>;
455
+ width: 120px;
456
+ text-align: center;
457
+ cursor: pointer;
458
+ padding: 6px;
459
+ position: relative;
460
+ }
 
461
 
462
  #bigcalendar<?php echo $many_sp_calendar; ?> .views span{
463
  padding: 7px;
498
  <td>
499
 
500
  <div id="views_tabs" style="width: 100%;<?php echo $display ?>">
501
+ <div class="views" style="<?php if (!in_array('day', $views) AND $defaultview != 'day') echo 'display:none;'; if ($view == 'bigcalendarday') echo 'background-color:' . $bg_top . ' !important;top:0;'; ?>"
502
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
503
  'action' => 'spiderbigcalendar_day',
504
  'theme_id' => $theme_id,
513
  'rand' => $many_sp_calendar,
514
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px"><?php echo __('Day', 'sp_calendar'); ?></span>
515
  </div>
516
+ <div class="views" style="<?php if (!in_array('week', $views) AND $defaultview != 'week') echo 'display:none;'; if ($view == 'bigcalendarweek') echo 'background-color:' . $bg_top . ' !important;top:0;'; ?>"
517
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
518
  'action' => 'spiderbigcalendar_week',
519
  'theme_id' => $theme_id,
529
  'rand' => $many_sp_calendar,
530
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px"><?php echo __('Week', 'sp_calendar'); ?></span>
531
  </div>
532
+ <div class="views" style="<?php if (!in_array('list', $views) AND $defaultview != 'list') echo 'display:none;'; if ($view == 'bigcalendarlist') echo 'background-color:' . $bg_top . ' !important;top:0;'; ?>"
533
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
534
  'action' => 'spiderbigcalendar_list',
535
  'theme_id' => $theme_id,
544
  'rand' => $many_sp_calendar,
545
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px"><?php echo __('List', 'sp_calendar'); ?></span>
546
  </div>
547
+ <div class="views" style="<?php if (!in_array('month', $views) AND $defaultview != 'month') echo 'display:none;'; if ($view == 'bigcalendarmonth') echo 'background-color:' . $bg_top . ' !important;top:0;'; ?>"
548
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
549
  'action' => 'spiderbigcalendar_month',
550
  'theme_id' => $theme_id,
561
  </div>
562
  </div>
563
  <div id="views_tabs_select" style="display:none" >
564
+ <div id="views_select" style="background-color:<?php echo $bg_top?> !important;color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px">
565
  <?php if($view=='bigcalendarday') echo 'Day'; ?>
566
  <?php if($view=='bigcalendarmonth') echo 'Month'; ?>
567
  <?php if($view=='bigcalendarweek') echo 'Week'; ?>
644
  </tr>
645
  <tr>
646
  <td>
647
+ <table cellpadding="0" cellspacing="0" class="general_table" style="border-spacing:0; width:100%; border:<?php echo $border_color; ?> solid <?php echo $border_width; ?>px; margin:0; padding:0; background-color:<?php echo $bg_bottom; ?> !important;">
648
  <tr>
649
  <td width="100%" style="padding:0; margin:0;">
650
  <table cellpadding="0" cellspacing="0" border="0" style="border-spacing:0; font-size:12px; margin:0; padding:0; width:100%;" >
651
  <tr style="height:40px; width:100%;">
652
+ <td class="top_table" align="center" colspan="7" style="z-index: 5;position: relative;background-image:url('<?php echo plugins_url('/images/Stver.png', __FILE__) ?>');padding:0; margin:0; background-color:<?php echo $bg_top; ?> !important;height:20px; background-repeat: no-repeat;background-size: 100% 100%;">
653
  <table cellpadding="0" cellspacing="0" border="0" align="center" class="calyear_table" style="margin:0; padding:0; text-align:center; width:99.8%; height:<?php echo $top_height; ?>px;">
654
  <tr>
655
  <td width="15%">
805
  $week_day = date('D', mktime(0, 0, 0, Month_num($month), (int) $day , $year));
806
  echo '<table style="border-spacing:0;width:100%;border-bottom:1px solid ' . $cell_border_color . '">
807
  <tr>
808
+ <td style="height:' . $date_height . 'px;font-size:' . $date_font_size . 'px; padding-left:10px;background-color:' . $date_bg_color . ' !important; color:#6E7276">
809
  <span style="padding-left:10px; font-size:' . $week_font_size . 'px;color:' . $week_font_color . '">' . week_convert($week_day) . '</span>
810
  <span style="font-size:' . $day_month_font_size . 'px;color:' . $day_month_font_color . '">(' . __($month,'sp_calendar') . ' ' . (int) $day . ', ' . $year . ')</span>
811
  </td>
814
  <td>
815
  <table style="border-bottom-left-radius: '.$border_radius2.'px;border-bottom-right-radius: '.$border_radius2.'px;height:' . $event_table_height . 'px;border-spacing:0;width: 100%;background-color:' . $event_bg_color1 . '" class="week_list">
816
  <tr>
817
+ <td style="font-size:22px;font-weight:bold;width:15px;text-align:center;background-color:' . $event_num_bg_color1 . ' !important;color:' . $event_num_color . '"></td>
818
  <td><p style="color:' . $event_title_color . ';border:none;">&nbsp;' . __('There Is No Event In This Day', 'sp_calendar') . '</p></td>
819
  </tr>
820
  </table>
826
  $week_day = date('D', mktime(0, 0, 0, Month_num($month), (int) $day , $year));
827
  echo '<table style="border-spacing:0;width:100%;border-bottom:1px solid ' . $cell_border_color . '">
828
  <tr>
829
+ <td style="height:' . $date_height . 'px;font-size:' . $date_font_size . 'px; padding-left:10px;background-color:' . $date_bg_color . ' !important; color:#6E7276">
830
  <span style="padding-left:10px; font-size:' . $date_font_size . 'px;color:' . $week_font_color . '">' . week_convert($week_day) . '</span>
831
  <span style="font-size:' . $day_month_font_size . 'px;color:' . $day_month_font_color . '">(' . __($month,'sp_calendar') . ' ' . (int) $day . ', ' . $year . ')</span>
832
  </td>
859
  $table_color = $event_bg_color1;
860
  }
861
 
862
+ echo '<table style="margin: 0;border-spacing:0;height:' . $event_table_height . 'px;border-spacing:0;width: 100%;background-color:' . $table_color . ' !important;" class="day_ev">
863
  <tr>
864
+ <td style="font-size:' . $event_num_font_size . 'px;font-weight:bold;width:15px;text-align:center;background-color: #' . str_replace('#','',$cat_color->color) . ' !important;color:' . $event_num_color . '">' . (($show_numbers_for_events) ? ($j + 1) : '') . '</td>
865
  <td>
866
  <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="font-size:15px;background:none;text-decoration:none;color:' . $event_title_color . '; "
867
  href="' . add_query_arg(array(
991
 
992
  ?>
993
 
994
+ <li style="float:left;"><p class="categories1" style="background-color:#<?php echo str_replace('#','',$category->color); ?> !important">&nbsp;&nbsp;&nbsp;&nbsp;</p><p class="categories2" id="category<?php echo $category->id ?>" style="color:#<?php echo str_replace('#','',$category->color); ?> !important" onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
995
  'action' => 'spiderbigcalendar_day',
996
  'theme_id' => $theme_id,
997
  'calendar' => $calendar_id,
1009
  }
1010
  if (!empty($categories)) {
1011
  ?>
1012
+ <li style="float:left;"><p class="categories1" style="background-color:#<?php echo str_replace('#','',$bg_top); ?> !important">&nbsp;&nbsp;&nbsp;&nbsp;</p><p class="categories2" id="category0" style="color:#<?php echo str_replace('#','',$bg_top); ?> !important" onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
1013
  'action' => 'spiderbigcalendar_day',
1014
  'theme_id' => $theme_id,
1015
  'calendar' => $calendar_id,
front_end/bigcalendarday_widget.php CHANGED
@@ -112,7 +112,7 @@ $cat_ids = substr($cat_ids, 0,-1);
112
  $font_month = $theme->font_month;
113
  $font_day = $theme->font_day;
114
  $font_weekday = $theme->font_weekday;
115
- $ev_title_color = $theme->ev_title_color;
116
  $popup_width = $theme->popup_width;
117
  $popup_height = $theme->popup_height;
118
 
@@ -214,18 +214,18 @@ $cat_ids = substr($cat_ids, 0,-1);
214
  #calendar_<?php echo $many_sp_calendar; ?> .cala_arrow a:visited {
215
  color: <?php echo $color_arrow; ?>;
216
  text-decoration: none;
217
- background: none;
218
  font-size: 16px;
219
  }
220
  #calendar_<?php echo $many_sp_calendar; ?> .cala_arrow a:hover {
221
  color: <?php echo $color_arrow; ?>;
222
  text-decoration:none;
223
- background:none;
224
  }
225
  #calendar_<?php echo $many_sp_calendar; ?> .cala_day a:link,
226
  #calendar_<?php echo $many_sp_calendar; ?> .cala_day a:visited {
227
  text-decoration:underline;
228
- background:none;
229
  font-size:11px;
230
  }
231
  #calendar_<?php echo $many_sp_calendar; ?> a {
@@ -234,7 +234,7 @@ $cat_ids = substr($cat_ids, 0,-1);
234
  #calendar_<?php echo $many_sp_calendar; ?> .cala_day a:hover {
235
  font-size:12px;
236
  text-decoration:none;
237
- background:none;
238
  }
239
  #calendar_<?php echo $many_sp_calendar; ?> .calyear_table {
240
  border-spacing:0;
@@ -246,7 +246,7 @@ $cat_ids = substr($cat_ids, 0,-1);
246
  width: 100%;
247
  }
248
  #calendar_<?php echo $many_sp_calendar; ?> .calbg {
249
- background-color:<?php echo $bg; ?>;
250
  text-align:center;
251
  vertical-align: middle;
252
  }
@@ -272,7 +272,7 @@ $cat_ids = substr($cat_ids, 0,-1);
272
  }
273
  #calendar_<?php echo $many_sp_calendar; ?> .views {
274
  float: right;
275
- background-color: <?php echo $calendar_bg; ?>;
276
  height: 25px;
277
  width: <?php echo ($calendar_width / 4) - 2; ?>px;
278
  margin-left: 2px;
@@ -321,11 +321,11 @@ position: relative;
321
  }
322
  </style>
323
  <div id="calendar_<?php echo $many_sp_calendar; ?>" style="width:<?php echo $calendar_width; ?>px;">
324
- <table cellpadding="0" cellspacing="0" style="border-spacing:0; width:<?php echo $calendar_width; ?>px; margin:0; padding:0;background-color:<?php echo $calendar_bg; ?>">
325
  <tr style="background-color:#FFFFFF;">
326
  <td style="background-color:#FFFFFF;">
327
  <div id="views_tabs" style="width: 101%;margin-left: -2px;<?php echo $display; ?>">
328
- <div class="views" style="margin-left: 4px;<?php if (!in_array('day', $views) AND $defaultview != 'day') echo 'display:none;'; if ($view == 'bigcalendarday_widget') echo 'background-color:' . $bg . ';height:28px;top:0;'; ?>"
329
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar ?>', '<?php echo add_query_arg(array(
330
  'action' => 'spiderbigcalendar_day_widget',
331
  'theme_id' => $theme_id,
@@ -340,7 +340,7 @@ position: relative;
340
  'TB_iframe' => 1,
341
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="line-height: 2;color:<?php echo $text_color_month; ?>;"><?php echo __('Day', 'sp_calendar'); ?></span>
342
  </div>
343
- <div class="views" style="<?php if (!in_array('week', $views) AND $defaultview != 'week') echo 'display:none;'; if ($view == 'bigcalendarweek_widget') echo 'background-color:' . $bg . ';height:28px;top:0;'; ?>"
344
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar ?>', '<?php echo add_query_arg(array(
345
  'action' => 'spiderbigcalendar_week_widget',
346
  'theme_id' => $theme_id,
@@ -356,7 +356,7 @@ position: relative;
356
  'TB_iframe' => 1,
357
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="line-height: 2;color:<?php echo $text_color_month; ?>;"><?php echo __('Week', 'sp_calendar'); ?></span>
358
  </div>
359
- <div class="views" style="<?php if (!in_array('list', $views) AND $defaultview != 'list') echo 'display:none;'; if ($view == 'bigcalendarlist_widget') echo 'background-color:' . $bg . ';height:28px;top:0;' ?>"
360
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar ?>', '<?php echo add_query_arg(array(
361
  'action' => 'spiderbigcalendar_list_widget',
362
  'theme_id' => $theme_id,
@@ -371,7 +371,7 @@ position: relative;
371
  'TB_iframe' => 1,
372
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')"><span style="line-height: 2;color:<?php echo $text_color_month; ?>;"><?php echo __('List', 'sp_calendar'); ?></span>
373
  </div>
374
- <div class="views" style="<?php if (!in_array('month', $views) AND $defaultview != 'month') echo 'display:none;'; if ($view == 'bigcalendarmonth_widget') echo 'background-color:' . $bg . ';height:28px;top:0;'; ?>"
375
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar ?>', '<?php echo add_query_arg(array(
376
  'action' => 'spiderbigcalendar_month_widget',
377
  'theme_id' => $theme_id,
@@ -495,16 +495,16 @@ position: relative;
495
  $week_day = date('D', mktime(0, 0, 0, Month_num($month), (int) $day , $year));
496
  echo '<table style="border-spacing:0;width:100%;">
497
  <tr>
498
- <td style="height:14px;font-size:12px; padding-left:10px;background-color:#D6D4D5; color:#6E7276">
499
  <span style="padding-left:10px; font-size:12px;color:' . $color_week_days . '">' . week_convert($week_day) . '</span>
500
  <span style="font-size:12px;color:#949394;">(' . __($month,'sp_calendar') . ' ' . (int) $day . ', ' . $year . ')</span>
501
  </td>
502
  </tr>
503
  <tr>
504
  <td>
505
- <table style="height:14px;border-spacing:0;width: 100%;background-color:#D6D4D5;">
506
  <tr>
507
- <td style="font-size:22px;font-weight:bold;width:15px;text-align:center;background-color:' . $bg . ';color:#949394;"></td>
508
  <td><p style="font-size:12px;color:' . $bg . ';border:none;">&nbsp;' . __('There Is No Event In This Day', 'sp_calendar') . '</p></td>
509
  </tr>
510
  </table>
@@ -516,7 +516,7 @@ position: relative;
516
  $week_day = date('D', mktime(0, 0, 0, Month_num($month), (int) $day , $year));
517
  echo '<table style="border-spacing:0;width:100%;">
518
  <tr>
519
- <td style="height:14px;font-size:12px; padding-left:10px;background-color:#D6D4D5; color:#6E7276">
520
  <span style="padding-left:10px; font-size:12px;color:' . $color_week_days . '">' . week_convert($week_day) . '</span>
521
  <span style="font-size:12px;color:#949394;">(' . __($month,'sp_calendar') . ' ' . (int) $day . ', ' . $year . ')</span>
522
  </td>
@@ -547,7 +547,7 @@ position: relative;
547
  if(!isset($cat_color->color)) { $cat_color = new stdClass; $cat_color->color="";};
548
  echo '<table style="border-spacing:0;height:14px;border-spacing:0;width: 100%;background-color:' . $table_color . '">
549
  <tr>
550
- <td style="font-size:14px;font-weight:bold;width:15px;text-align:center;background-color:#' . str_replace('#','',$cat_color->color) . ';color:' . $calendar_bg . '">' . ($j + 1) . '</td>
551
  <td>
552
  <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="font-size:15px;background:none;text-decoration:none;color:' . $ev_title_color . '; "
553
  href="' . add_query_arg(array(
@@ -590,7 +590,7 @@ position: relative;
590
  'cat_id' => '',
591
  'cat_ids' => $cat_ids,
592
  'TB_iframe' => 1,
593
- ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" style="cursor:pointer;font-size:<?php echo $year_font_size; ?>px;color:<?php echo $year_font_color; ?>;text-align: center;background-color:<?php echo $year_tabs_bg_color; ?>">
594
  <?php echo ($year - 1); ?>
595
  </td>
596
  <td colspan="3" style="font-size:<?php echo $year_font_size + 2; ?>px;color:<?php echo $year_font_color; ?>;text-align: center;border-right:1px solid <?php echo $cell_border_color; ?>;border-left:1px solid <?php echo $cell_border_color; ?>">
@@ -609,7 +609,7 @@ position: relative;
609
  'cat_id' => '',
610
  'cat_ids' => $cat_ids,
611
  'TB_iframe' => 1,
612
- ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" style="cursor:pointer;font-size:<?php echo $year_font_size; ?>px;text-align: center;background-color:<?php echo $year_tabs_bg_color; ?>;color:<?php echo $year_font_color; ?>">
613
  <?php echo ($year + 1); ?>
614
  </td>
615
  </tr>
@@ -673,7 +673,7 @@ foreach($categories as $category)
673
 
674
  ?>
675
 
676
- <li style="height:30px"><p class="categories1" style="background-color:#<?php echo str_replace('#','',$category->color); ?>">&nbsp;&nbsp;&nbsp;&nbsp;</p><p class="categories2" id="category<?php echo $category->id ?>" style="color:#<?php echo str_replace('#','',$category->color); ?>" onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
677
  'action' => 'spiderbigcalendar_day_widget',
678
  'theme_id' => $theme_id,
679
  'calendar' => $calendar_id,
@@ -692,7 +692,7 @@ foreach($categories as $category)
692
  }
693
  if (!empty($categories)) {
694
  ?>
695
- <li style="height:30px"><p class="categories1" style="background-color:<?php echo $bg; ?>">&nbsp;&nbsp;&nbsp;&nbsp;</p><p class="categories2" id="category0" style="color:<?php echo $bg; ?>" onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
696
  'action' => 'spiderbigcalendar_day_widget',
697
  'theme_id' => $theme_id,
698
  'calendar' => $calendar_id,
112
  $font_month = $theme->font_month;
113
  $font_day = $theme->font_day;
114
  $font_weekday = $theme->font_weekday;
115
+ $ev_title_color = '#' . str_replace('#','',$theme->ev_title_color);
116
  $popup_width = $theme->popup_width;
117
  $popup_height = $theme->popup_height;
118
 
214
  #calendar_<?php echo $many_sp_calendar; ?> .cala_arrow a:visited {
215
  color: <?php echo $color_arrow; ?>;
216
  text-decoration: none;
217
+ background: none !important;
218
  font-size: 16px;
219
  }
220
  #calendar_<?php echo $many_sp_calendar; ?> .cala_arrow a:hover {
221
  color: <?php echo $color_arrow; ?>;
222
  text-decoration:none;
223
+ background:none !important;
224
  }
225
  #calendar_<?php echo $many_sp_calendar; ?> .cala_day a:link,
226
  #calendar_<?php echo $many_sp_calendar; ?> .cala_day a:visited {
227
  text-decoration:underline;
228
+ background:none !important;
229
  font-size:11px;
230
  }
231
  #calendar_<?php echo $many_sp_calendar; ?> a {
234
  #calendar_<?php echo $many_sp_calendar; ?> .cala_day a:hover {
235
  font-size:12px;
236
  text-decoration:none;
237
+ background:none !important;
238
  }
239
  #calendar_<?php echo $many_sp_calendar; ?> .calyear_table {
240
  border-spacing:0;
246
  width: 100%;
247
  }
248
  #calendar_<?php echo $many_sp_calendar; ?> .calbg {
249
+ background-color:<?php echo $bg; ?> !important;
250
  text-align:center;
251
  vertical-align: middle;
252
  }
272
  }
273
  #calendar_<?php echo $many_sp_calendar; ?> .views {
274
  float: right;
275
+ background-color: <?php echo $calendar_bg; ?> !important;
276
  height: 25px;
277
  width: <?php echo ($calendar_width / 4) - 2; ?>px;
278
  margin-left: 2px;
321
  }
322
  </style>
323
  <div id="calendar_<?php echo $many_sp_calendar; ?>" style="width:<?php echo $calendar_width; ?>px;">
324
+ <table cellpadding="0" cellspacing="0" style="border-spacing:0; width:<?php echo $calendar_width; ?>px; margin:0; padding:0;background-color:<?php echo $calendar_bg; ?> !important">
325
  <tr style="background-color:#FFFFFF;">
326
  <td style="background-color:#FFFFFF;">
327
  <div id="views_tabs" style="width: 101%;margin-left: -2px;<?php echo $display; ?>">
328
+ <div class="views" style="margin-left: 4px;<?php if (!in_array('day', $views) AND $defaultview != 'day') echo 'display:none;'; if ($view == 'bigcalendarday_widget') echo 'background-color:' . $bg . ' !important;height:28px;top:0;'; ?>"
329
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar ?>', '<?php echo add_query_arg(array(
330
  'action' => 'spiderbigcalendar_day_widget',
331
  'theme_id' => $theme_id,
340
  'TB_iframe' => 1,
341
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="line-height: 2;color:<?php echo $text_color_month; ?>;"><?php echo __('Day', 'sp_calendar'); ?></span>
342
  </div>
343
+ <div class="views" style="<?php if (!in_array('week', $views) AND $defaultview != 'week') echo 'display:none;'; if ($view == 'bigcalendarweek_widget') echo 'background-color:' . $bg . ' !important;height:28px;top:0;'; ?>"
344
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar ?>', '<?php echo add_query_arg(array(
345
  'action' => 'spiderbigcalendar_week_widget',
346
  'theme_id' => $theme_id,
356
  'TB_iframe' => 1,
357
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="line-height: 2;color:<?php echo $text_color_month; ?>;"><?php echo __('Week', 'sp_calendar'); ?></span>
358
  </div>
359
+ <div class="views" style="<?php if (!in_array('list', $views) AND $defaultview != 'list') echo 'display:none;'; if ($view == 'bigcalendarlist_widget') echo 'background-color:' . $bg . ' !important;height:28px;top:0;' ?>"
360
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar ?>', '<?php echo add_query_arg(array(
361
  'action' => 'spiderbigcalendar_list_widget',
362
  'theme_id' => $theme_id,
371
  'TB_iframe' => 1,
372
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')"><span style="line-height: 2;color:<?php echo $text_color_month; ?>;"><?php echo __('List', 'sp_calendar'); ?></span>
373
  </div>
374
+ <div class="views" style="<?php if (!in_array('month', $views) AND $defaultview != 'month') echo 'display:none;'; if ($view == 'bigcalendarmonth_widget') echo 'background-color:' . $bg . ' !important;height:28px;top:0;'; ?>"
375
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar ?>', '<?php echo add_query_arg(array(
376
  'action' => 'spiderbigcalendar_month_widget',
377
  'theme_id' => $theme_id,
495
  $week_day = date('D', mktime(0, 0, 0, Month_num($month), (int) $day , $year));
496
  echo '<table style="border-spacing:0;width:100%;">
497
  <tr>
498
+ <td style="height:14px;font-size:12px; padding-left:10px;background-color:#D6D4D5 !important; color:#6E7276">
499
  <span style="padding-left:10px; font-size:12px;color:' . $color_week_days . '">' . week_convert($week_day) . '</span>
500
  <span style="font-size:12px;color:#949394;">(' . __($month,'sp_calendar') . ' ' . (int) $day . ', ' . $year . ')</span>
501
  </td>
502
  </tr>
503
  <tr>
504
  <td>
505
+ <table style="height:14px;border-spacing:0;width: 100%;background-color:#D6D4D5 !important;">
506
  <tr>
507
+ <td style="font-size:22px;font-weight:bold;width:15px;text-align:center;background-color:' . $bg . ' !important;color:#949394;"></td>
508
  <td><p style="font-size:12px;color:' . $bg . ';border:none;">&nbsp;' . __('There Is No Event In This Day', 'sp_calendar') . '</p></td>
509
  </tr>
510
  </table>
516
  $week_day = date('D', mktime(0, 0, 0, Month_num($month), (int) $day , $year));
517
  echo '<table style="border-spacing:0;width:100%;">
518
  <tr>
519
+ <td style="height:14px;font-size:12px; padding-left:10px;background-color:#D6D4D5 !important; color:#6E7276">
520
  <span style="padding-left:10px; font-size:12px;color:' . $color_week_days . '">' . week_convert($week_day) . '</span>
521
  <span style="font-size:12px;color:#949394;">(' . __($month,'sp_calendar') . ' ' . (int) $day . ', ' . $year . ')</span>
522
  </td>
547
  if(!isset($cat_color->color)) { $cat_color = new stdClass; $cat_color->color="";};
548
  echo '<table style="border-spacing:0;height:14px;border-spacing:0;width: 100%;background-color:' . $table_color . '">
549
  <tr>
550
+ <td style="font-size:14px;font-weight:bold;width:15px;text-align:center;background-color:#' . str_replace('#','',$cat_color->color) . ' !important;color:' . $calendar_bg . '">' . ($j + 1) . '</td>
551
  <td>
552
  <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="font-size:15px;background:none;text-decoration:none;color:' . $ev_title_color . '; "
553
  href="' . add_query_arg(array(
590
  'cat_id' => '',
591
  'cat_ids' => $cat_ids,
592
  'TB_iframe' => 1,
593
+ ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" style="cursor:pointer;font-size:<?php echo $year_font_size; ?>px;color:<?php echo $year_font_color; ?>;text-align: center;background-color:<?php echo $year_tabs_bg_color; ?> !important">
594
  <?php echo ($year - 1); ?>
595
  </td>
596
  <td colspan="3" style="font-size:<?php echo $year_font_size + 2; ?>px;color:<?php echo $year_font_color; ?>;text-align: center;border-right:1px solid <?php echo $cell_border_color; ?>;border-left:1px solid <?php echo $cell_border_color; ?>">
609
  'cat_id' => '',
610
  'cat_ids' => $cat_ids,
611
  'TB_iframe' => 1,
612
+ ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" style="cursor:pointer;font-size:<?php echo $year_font_size; ?>px;text-align: center;background-color:<?php echo $year_tabs_bg_color; ?> !important;color:<?php echo $year_font_color; ?>">
613
  <?php echo ($year + 1); ?>
614
  </td>
615
  </tr>
673
 
674
  ?>
675
 
676
+ <li style="height:30px"><p class="categories1" style="background-color:#<?php echo str_replace('#','',$category->color); ?> !important">&nbsp;&nbsp;&nbsp;&nbsp;</p><p class="categories2" id="category<?php echo $category->id ?>" style="color:#<?php echo str_replace('#','',$category->color); ?>" onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
677
  'action' => 'spiderbigcalendar_day_widget',
678
  'theme_id' => $theme_id,
679
  'calendar' => $calendar_id,
692
  }
693
  if (!empty($categories)) {
694
  ?>
695
+ <li style="height:30px"><p class="categories1" style="background-color:<?php echo $bg; ?> !important">&nbsp;&nbsp;&nbsp;&nbsp;</p><p class="categories2" id="category0" style="color:<?php echo $bg; ?>" onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
696
  'action' => 'spiderbigcalendar_day_widget',
697
  'theme_id' => $theme_id,
698
  'calendar' => $calendar_id,
front_end/bigcalendarlist.php CHANGED
@@ -413,11 +413,11 @@ $cat_ids = substr($cat_ids, 0,-1);
413
  border:1px solid <?php echo $cell_border_color; ?>;
414
  vertical-align:top;
415
  text-align:left;
416
- background-color:<?php echo $sundays_bg_color; ?>;
417
  }
418
  #bigcalendar<?php echo $many_sp_calendar; ?> .views {
419
  float: right;
420
- background-color: <?php echo $views_tabs_bg_color; ?>;
421
  min-height: 25px;
422
  min-width: 70px;
423
  margin-right: 2px;
@@ -434,7 +434,7 @@ $cat_ids = substr($cat_ids, 0,-1);
434
  #bigcalendar<?php echo $many_sp_calendar; ?> #views_select
435
  {
436
 
437
- background-color: <?php echo $views_tabs_bg_color?>;
438
  width: 120px;
439
  text-align: center;
440
  cursor: pointer;
@@ -456,7 +456,7 @@ position: relative;
456
 
457
  #drop_down_views >li:hover .views_select, #drop_down_views >li.active .views_select
458
  {
459
- background:<?php echo $bg_top ?>;
460
  }
461
 
462
  #drop_down_views >li
@@ -478,7 +478,7 @@ position: relative;
478
  <td>
479
 
480
  <div id="views_tabs" style="width: 100.4%;<?php echo $display; ?>">
481
- <div class="views" style="<?php if (!in_array('day', $views) AND $defaultview != 'day') echo 'display:none;'; if ($view == 'bigcalendarday') echo 'background-color:' . $bg_top . ';top:0;'; ?>"
482
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
483
  'action' => 'spiderbigcalendar_day',
484
  'theme_id' => $theme_id,
@@ -493,7 +493,7 @@ position: relative;
493
  'rand' => $many_sp_calendar,
494
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px"><?php echo __('Day', 'sp_calendar'); ?></span>
495
  </div>
496
- <div class="views" style="<?php if (!in_array('week', $views) AND $defaultview != 'week') echo 'display:none;'; if ($view == 'bigcalendarweek') echo 'background-color:' . $bg_top . ';top:0;'; ?>"
497
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
498
  'action' => 'spiderbigcalendar_week',
499
  'theme_id' => $theme_id,
@@ -509,7 +509,7 @@ position: relative;
509
  'rand' => $many_sp_calendar,
510
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px"><?php echo __('Week', 'sp_calendar'); ?></span>
511
  </div>
512
- <div class="views" style="<?php if (!in_array('list', $views) AND $defaultview != 'list') echo 'display:none;'; if ($view == 'bigcalendarlist') echo 'background-color:' . $bg_top . ';top:0;'; ?>"
513
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
514
  'action' => 'spiderbigcalendar_list',
515
  'theme_id' => $theme_id,
@@ -524,7 +524,7 @@ position: relative;
524
  'rand' => $many_sp_calendar,
525
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px"><?php echo __('List', 'sp_calendar'); ?></span>
526
  </div>
527
- <div class="views" style="<?php if (!in_array('month', $views) AND $defaultview != 'month') echo 'display:none;'; if ($view == 'bigcalendarmonth') echo 'background-color:' . $bg_top . ';top:0;'; ?>"
528
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
529
  'action' => 'spiderbigcalendar_month',
530
  'theme_id' => $theme_id,
@@ -542,7 +542,7 @@ position: relative;
542
  </div>
543
 
544
  <div id="views_tabs_select" style="display:none" >
545
- <div id="views_select" style="background-color:<?php echo $bg_top?>;color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px">
546
  <?php if($view=='bigcalendarday') echo 'Day'; ?>
547
  <?php if($view=='bigcalendarmonth') echo 'Month'; ?>
548
  <?php if($view=='bigcalendarweek') echo 'Week'; ?>
@@ -624,7 +624,7 @@ position: relative;
624
  </tr>
625
  <tr>
626
  <td>
627
- <table cellpadding="0" cellspacing="0" class="general_table" style="border-spacing:0; width:100%;border:<?php echo $border_color ?> solid <?php echo $border_width ?>px; margin:0; padding:0;background-color:<?php echo $bg_bottom; ?>;">
628
  <tr>
629
  <td width="100%" style=" padding:0; margin:0">
630
  <table cellpadding="0" cellspacing="0" border="0" style="border-spacing:0; font-size:12px; margin:0; padding:0; width:100.3%">
@@ -760,9 +760,9 @@ position: relative;
760
 
761
  sort($array_days, SORT_NUMERIC);
762
  if (!$array_days) {
763
- echo '<table style="height:' . $event_table_height . 'px;border-spacing:0;border-spacing:0;width: 100%;background-color:' . $event_bg_color1 . '">
764
  <tr>
765
- <td style="padding-left:10px; font-size:22px;font-weight:bold;width:15px;text-align:center;background-color:' . $event_num_bg_color1 . ';color:' . $event_num_color . '"></td>
766
  <td><p style="color:' . $event_title_color . '; border:none">&nbsp;' . __('There Is No Event In This Month', 'sp_calendar') . '</p></td>
767
  </tr>
768
  </table>';
@@ -771,7 +771,7 @@ position: relative;
771
  $week_day = date('D', mktime(0, 0, 0, Month_num($month), $array_days[$i], $year));
772
  echo '<table style="width:100%;border-spacing:0;">
773
  <tr>
774
- <td style="height:' . $date_height . 'px;font-size:' . $date_font_size . 'px; padding-left:10px;background-color:' . $date_bg_color . '; color:#6E7276">
775
  <span style="padding-left:10px; font-size:' . $date_font_size . 'px;color:' . $week_font_color . '">' . week_convert($week_day) . '</span>
776
  <span style="font-size:' . $day_month_font_size . 'px;color:' . $day_month_font_color . '">(' . add_0($array_days[$i]) . ' ' . __($month,'sp_calendar') . ')</span>
777
  </td>
@@ -801,9 +801,9 @@ position: relative;
801
  $table_color = $event_bg_color1;
802
  }
803
  if(!isset($cat_color->color)) { $cat_color = new stdClass; $cat_color->color="";};
804
- echo '<table class="last_table" style="overflow:hidden;height:' . $event_table_height . 'px;border-spacing:0;width: 100%;background-color:' . $table_color . ';">
805
  <tr>
806
- <td style="font-size:' . $event_num_font_size . 'px;font-weight:bold;width:15px;text-align:center;background-color: #' . str_replace('#','',$cat_color->color) . ';color:' . $event_num_color . '">' . (($show_numbers_for_events) ? ($j + 1) : '') . '</td>
807
  <td>
808
  <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="text-decoration:none;font-size:13px;background:none;color:' . $event_title_color . ';"
809
  href="' . add_query_arg(array(
@@ -932,7 +932,7 @@ foreach($categories as $category)
932
 
933
  ?>
934
 
935
- <li style="float:left;"><p class="categories1" style="background-color:#<?php echo str_replace('#','',$category->color); ?>">&nbsp;&nbsp;&nbsp;&nbsp;</p><p class="categories2" id="category<?php echo $category->id ?>" style="color:#<?php echo str_replace('#','',$category->color); ?>" onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
936
  'action' => 'spiderbigcalendar_list',
937
  'theme_id' => $theme_id,
938
  'calendar' => $calendar_id,
@@ -950,7 +950,7 @@ foreach($categories as $category)
950
  }
951
  if (!empty($categories)) {
952
  ?>
953
- <li style="float:left;"><p class="categories1" style="background-color:<?php echo $bg_top;?>">&nbsp;&nbsp;&nbsp;&nbsp;</p><p class="categories2" id="category0" style="color:<?php echo $bg_top; ?>" onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
954
  'action' => 'spiderbigcalendar_list',
955
  'theme_id' => $theme_id,
956
  'calendar' => $calendar_id,
413
  border:1px solid <?php echo $cell_border_color; ?>;
414
  vertical-align:top;
415
  text-align:left;
416
+ background-color:<?php echo $sundays_bg_color; ?> !important;
417
  }
418
  #bigcalendar<?php echo $many_sp_calendar; ?> .views {
419
  float: right;
420
+ background-color: <?php echo $views_tabs_bg_color; ?> !important;
421
  min-height: 25px;
422
  min-width: 70px;
423
  margin-right: 2px;
434
  #bigcalendar<?php echo $many_sp_calendar; ?> #views_select
435
  {
436
 
437
+ background-color: <?php echo $views_tabs_bg_color?> !important;
438
  width: 120px;
439
  text-align: center;
440
  cursor: pointer;
456
 
457
  #drop_down_views >li:hover .views_select, #drop_down_views >li.active .views_select
458
  {
459
+ background:<?php echo $bg_top ?> !important;
460
  }
461
 
462
  #drop_down_views >li
478
  <td>
479
 
480
  <div id="views_tabs" style="width: 100.4%;<?php echo $display; ?>">
481
+ <div class="views" style="<?php if (!in_array('day', $views) AND $defaultview != 'day') echo 'display:none;'; if ($view == 'bigcalendarday') echo 'background-color:' . $bg_top . ' !important;top:0;'; ?>"
482
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
483
  'action' => 'spiderbigcalendar_day',
484
  'theme_id' => $theme_id,
493
  'rand' => $many_sp_calendar,
494
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px"><?php echo __('Day', 'sp_calendar'); ?></span>
495
  </div>
496
+ <div class="views" style="<?php if (!in_array('week', $views) AND $defaultview != 'week') echo 'display:none;'; if ($view == 'bigcalendarweek') echo 'background-color:' . $bg_top . ' !important;top:0;'; ?>"
497
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
498
  'action' => 'spiderbigcalendar_week',
499
  'theme_id' => $theme_id,
509
  'rand' => $many_sp_calendar,
510
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px"><?php echo __('Week', 'sp_calendar'); ?></span>
511
  </div>
512
+ <div class="views" style="<?php if (!in_array('list', $views) AND $defaultview != 'list') echo 'display:none;'; if ($view == 'bigcalendarlist') echo 'background-color:' . $bg_top . ' !important;top:0;'; ?>"
513
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
514
  'action' => 'spiderbigcalendar_list',
515
  'theme_id' => $theme_id,
524
  'rand' => $many_sp_calendar,
525
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px"><?php echo __('List', 'sp_calendar'); ?></span>
526
  </div>
527
+ <div class="views" style="<?php if (!in_array('month', $views) AND $defaultview != 'month') echo 'display:none;'; if ($view == 'bigcalendarmonth') echo 'background-color:' . $bg_top . ' !important;top:0;'; ?>"
528
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
529
  'action' => 'spiderbigcalendar_month',
530
  'theme_id' => $theme_id,
542
  </div>
543
 
544
  <div id="views_tabs_select" style="display:none" >
545
+ <div id="views_select" style="background-color:<?php echo $bg_top?> !important;color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px">
546
  <?php if($view=='bigcalendarday') echo 'Day'; ?>
547
  <?php if($view=='bigcalendarmonth') echo 'Month'; ?>
548
  <?php if($view=='bigcalendarweek') echo 'Week'; ?>
624
  </tr>
625
  <tr>
626
  <td>
627
+ <table cellpadding="0" cellspacing="0" class="general_table" style="border-spacing:0; width:100%;border:<?php echo $border_color ?> solid <?php echo $border_width ?>px; margin:0; padding:0;background-color:<?php echo $bg_bottom; ?> !important;">
628
  <tr>
629
  <td width="100%" style=" padding:0; margin:0">
630
  <table cellpadding="0" cellspacing="0" border="0" style="border-spacing:0; font-size:12px; margin:0; padding:0; width:100.3%">
760
 
761
  sort($array_days, SORT_NUMERIC);
762
  if (!$array_days) {
763
+ echo '<table style="height:' . $event_table_height . 'px;border-spacing:0;border-spacing:0;width: 100%;background-color:' . $event_bg_color1 . ' !important">
764
  <tr>
765
+ <td style="padding-left:10px; font-size:22px;font-weight:bold;width:15px;text-align:center;background-color:' . $event_num_bg_color1 . ' !important;color:' . $event_num_color . '"></td>
766
  <td><p style="color:' . $event_title_color . '; border:none">&nbsp;' . __('There Is No Event In This Month', 'sp_calendar') . '</p></td>
767
  </tr>
768
  </table>';
771
  $week_day = date('D', mktime(0, 0, 0, Month_num($month), $array_days[$i], $year));
772
  echo '<table style="width:100%;border-spacing:0;">
773
  <tr>
774
+ <td style="height:' . $date_height . 'px;font-size:' . $date_font_size . 'px; padding-left:10px;background-color:' . $date_bg_color . ' !important; color:#6E7276">
775
  <span style="padding-left:10px; font-size:' . $date_font_size . 'px;color:' . $week_font_color . '">' . week_convert($week_day) . '</span>
776
  <span style="font-size:' . $day_month_font_size . 'px;color:' . $day_month_font_color . '">(' . add_0($array_days[$i]) . ' ' . __($month,'sp_calendar') . ')</span>
777
  </td>
801
  $table_color = $event_bg_color1;
802
  }
803
  if(!isset($cat_color->color)) { $cat_color = new stdClass; $cat_color->color="";};
804
+ echo '<table class="last_table" style="overflow:hidden;height:' . $event_table_height . 'px;border-spacing:0;width: 100%;background-color:' . $table_color . ' !important;">
805
  <tr>
806
+ <td style="font-size:' . $event_num_font_size . 'px;font-weight:bold;width:15px;text-align:center;background-color: #' . str_replace('#','',$cat_color->color) . ' !important;color:' . $event_num_color . '">' . (($show_numbers_for_events) ? ($j + 1) : '') . '</td>
807
  <td>
808
  <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="text-decoration:none;font-size:13px;background:none;color:' . $event_title_color . ';"
809
  href="' . add_query_arg(array(
932
 
933
  ?>
934
 
935
+ <li style="float:left;"><p class="categories1" style="background-color:#<?php echo str_replace('#','',$category->color); ?> !important">&nbsp;&nbsp;&nbsp;&nbsp;</p><p class="categories2" id="category<?php echo $category->id ?>" style="color:#<?php echo str_replace('#','',$category->color); ?>" onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
936
  'action' => 'spiderbigcalendar_list',
937
  'theme_id' => $theme_id,
938
  'calendar' => $calendar_id,
950
  }
951
  if (!empty($categories)) {
952
  ?>
953
+ <li style="float:left;"><p class="categories1" style="background-color:<?php echo $bg_top;?> !important">&nbsp;&nbsp;&nbsp;&nbsp;</p><p class="categories2" id="category0" style="color:<?php echo $bg_top; ?>" onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
954
  'action' => 'spiderbigcalendar_list',
955
  'theme_id' => $theme_id,
956
  'calendar' => $calendar_id,
front_end/bigcalendarlist_widget.php CHANGED
@@ -111,7 +111,7 @@ $cat_ids = substr($cat_ids, 0,-1);
111
  $font_month = $theme->font_month;
112
  $font_day = $theme->font_day;
113
  $font_weekday = $theme->font_weekday;
114
- $ev_title_color = $theme->ev_title_color;
115
  $popup_width = $theme->popup_width;
116
  $popup_height = $theme->popup_height;
117
 
@@ -223,7 +223,7 @@ $cat_ids = substr($cat_ids, 0,-1);
223
  width: 100%;
224
  }
225
  #calendar_<?php echo $many_sp_calendar; ?> .calbg {
226
- background-color:<?php echo $bg; ?>;
227
  text-align:center;
228
  vertical-align: middle;
229
  }
@@ -249,7 +249,7 @@ $cat_ids = substr($cat_ids, 0,-1);
249
  }
250
  #calendar_<?php echo $many_sp_calendar; ?> .views {
251
  float: right;
252
- background-color: <?php echo $calendar_bg; ?>;
253
  height: 25px;
254
  width: <?php echo ($calendar_width / 4) - 2; ?>px;
255
  margin-left: 2px;
@@ -297,11 +297,11 @@ position: relative;
297
  }
298
  </style>
299
  <div id="calendar_<?php echo $many_sp_calendar; ?>" style="width:<?php echo $calendar_width; ?>px;">
300
- <table cellpadding="0" cellspacing="0" style="border-spacing:0; width:<?php echo $calendar_width; ?>px; margin:0; padding:0;background-color:<?php echo $calendar_bg; ?>">
301
  <tr style="background-color:#FFFFFF;">
302
  <td style="background-color:#FFFFFF;">
303
  <div id="views_tabs" style="width: 101%;margin-left: -2px;<?php echo $display; ?>">
304
- <div class="views" style="<?php if (!in_array('day', $views) AND $defaultview != 'day') echo 'display:none;'; if ($view == 'bigcalendarday_widget') echo 'background-color:' . $bg . ';height:28px;top:0;'; ?>"
305
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
306
  'action' => 'spiderbigcalendar_day_widget',
307
  'theme_id' => $theme_id,
@@ -316,7 +316,7 @@ position: relative;
316
  'TB_iframe' => 1,
317
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="line-height: 2;color:<?php echo $text_color_month; ?>;"><?php echo __('Day', 'sp_calendar'); ?></span>
318
  </div>
319
- <div class="views" style="<?php if (!in_array('week', $views) AND $defaultview != 'week') echo 'display:none;'; if ($view == 'bigcalendarweek_widget') echo 'background-color:' . $bg . ';height:28px;top:0;'; ?>"
320
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
321
  'action' => 'spiderbigcalendar_week_widget',
322
  'theme_id' => $theme_id,
@@ -332,7 +332,7 @@ position: relative;
332
  'TB_iframe' => 1,
333
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="line-height: 2;color:<?php echo $text_color_month; ?>;"><?php echo __('Week', 'sp_calendar'); ?></span>
334
  </div>
335
- <div class="views" style="margin-left: 3px;margin-right: 1px;<?php if (!in_array('list', $views) AND $defaultview != 'list') echo 'display:none;'; if ($view == 'bigcalendarlist_widget') echo 'background-color:' . $bg . ';height:28px;top:0;' ?>"
336
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
337
  'action' => 'spiderbigcalendar_list_widget',
338
  'theme_id' => $theme_id,
@@ -347,7 +347,7 @@ position: relative;
347
  'TB_iframe' => 1,
348
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')"><span style="line-height: 2;color:<?php echo $text_color_month; ?>;"><?php echo __('List', 'sp_calendar'); ?></span>
349
  </div>
350
- <div class="views" style="<?php if (!in_array('month', $views) AND $defaultview != 'month') echo 'display:none;'; if ($view == 'bigcalendarmonth_widget') echo 'background-color:' . $bg . ';height:28px;top:0;'; ?>"
351
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
352
  'action' => 'spiderbigcalendar_month_widget',
353
  'theme_id' => $theme_id,
@@ -462,9 +462,9 @@ position: relative;
462
  $ev_ids = $all_calendar_files[0]['ev_ids'];
463
  sort($array_days, SORT_NUMERIC);
464
  if (!$array_days) {
465
- echo '<table style="height:14px;border-spacing:0;border-spacing:0;width: 100%;background-color:#D6D4D5;">
466
  <tr>
467
- <td style="padding-left:10px; font-size:12px;font-weight:bold;width:10px;text-align:center;background-color:' . $bg . ';color:#949394;"></td>
468
  <td><p style="font-size:12px;color:' . $bg . '; border:none">&nbsp;' . __('There Is No Event In This Month', 'sp_calendar') . '</p></td>
469
  </tr>
470
  </table>';
@@ -473,7 +473,7 @@ position: relative;
473
  $week_day = date('D', mktime(0, 0, 0, Month_num($month), $array_days[$i], $year));
474
  echo '<table style="width:100%; border-spacing:0;">
475
  <tr>
476
- <td style="height:14px;font-size:12px; padding-left:10px;background-color:#D6D4D5; color:#6E7276">
477
  <span style="padding-left:10px; font-size:12px;color:' . $color_week_days . '">' . week_convert($week_day) . '</span>
478
  <span style="font-size:12px;color:#949394;">(' . add_0($array_days[$i]) . ' ' . __($month,'sp_calendar') . ')</span>
479
  </td>
@@ -505,7 +505,7 @@ position: relative;
505
  if(!isset($cat_color->color)) { $cat_color = new stdClass; $cat_color->color="";};
506
  echo '<table class="last_table" style="overflow:hidden;height:14px;border-spacing:0;width: 100%;background-color:' . $table_color . '">
507
  <tr>
508
- <td style="font-size:14px;font-weight:bold;width:15px;text-align:center;background-color:#' . str_replace('#','',$cat_color->color) . ';color:' . $calendar_bg . '">' . ($j +1 ) . '</td>
509
  <td>
510
  <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="text-decoration:none;font-size:13px;background:none;color:' . $ev_title_color . ';"
511
  href="' . add_query_arg(array(
@@ -548,7 +548,7 @@ position: relative;
548
  'cat_id' => '',
549
  'cat_ids' => $cat_ids,
550
  'TB_iframe' => 1,
551
- ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" style="cursor:pointer;font-size:<?php echo $year_font_size; ?>px;color:<?php echo $year_font_color; ?>;text-align: center;background-color:<?php echo $year_tabs_bg_color; ?>">
552
  <?php echo ($year - 1); ?>
553
  </td>
554
  <td colspan="3" style="font-size:<?php echo $year_font_size + 2; ?>px;color:<?php echo $year_font_color; ?>;text-align: center;border-right:1px solid <?php echo $cell_border_color; ?>;border-left:1px solid <?php echo $cell_border_color; ?>">
@@ -567,7 +567,7 @@ position: relative;
567
  'cat_id' => '',
568
  'cat_ids' => $cat_ids,
569
  'TB_iframe' => 1,
570
- ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" style="cursor:pointer;font-size:<?php echo $year_font_size; ?>px;text-align: center;background-color:<?php echo $year_tabs_bg_color; ?>;color:<?php echo $year_font_color; ?>">
571
  <?php echo ($year + 1); ?>
572
  </td>
573
  </tr>
@@ -631,7 +631,7 @@ foreach($categories as $category)
631
 
632
  ?>
633
 
634
- <li style="height:30px"><p class="categories1" style="background-color:#<?php echo str_replace('#','',$category->color);?>">&nbsp;&nbsp;&nbsp;&nbsp;</p><p class="categories2" id="category<?php echo $category->id ?>" style="color:#<?php echo str_replace('#','',$category->color); ?>" onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
635
  'action' => 'spiderbigcalendar_list_widget',
636
  'theme_id' => $theme_id,
637
  'calendar' => $calendar_id,
@@ -650,7 +650,7 @@ foreach($categories as $category)
650
  }
651
  if (!empty($categories)) {
652
  ?>
653
- <li style="height:30px"><p class="categories1" style="background-color:#<?php echo str_replace('#','',$bg);?>">&nbsp;&nbsp;&nbsp;&nbsp;</p><p class="categories2" id="category0" style="color:#<?php echo str_replace('#','',$bg); ?>" onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
654
  'action' => 'spiderbigcalendar_list_widget',
655
  'theme_id' => $theme_id,
656
  'calendar' => $calendar_id,
111
  $font_month = $theme->font_month;
112
  $font_day = $theme->font_day;
113
  $font_weekday = $theme->font_weekday;
114
+ $ev_title_color = '#' . str_replace('#','',$theme->ev_title_color);
115
  $popup_width = $theme->popup_width;
116
  $popup_height = $theme->popup_height;
117
 
223
  width: 100%;
224
  }
225
  #calendar_<?php echo $many_sp_calendar; ?> .calbg {
226
+ background-color:<?php echo $bg; ?> !important;
227
  text-align:center;
228
  vertical-align: middle;
229
  }
249
  }
250
  #calendar_<?php echo $many_sp_calendar; ?> .views {
251
  float: right;
252
+ background-color: <?php echo $calendar_bg; ?> !important;
253
  height: 25px;
254
  width: <?php echo ($calendar_width / 4) - 2; ?>px;
255
  margin-left: 2px;
297
  }
298
  </style>
299
  <div id="calendar_<?php echo $many_sp_calendar; ?>" style="width:<?php echo $calendar_width; ?>px;">
300
+ <table cellpadding="0" cellspacing="0" style="border-spacing:0; width:<?php echo $calendar_width; ?>px; margin:0; padding:0;background-color:<?php echo $calendar_bg; ?> !important">
301
  <tr style="background-color:#FFFFFF;">
302
  <td style="background-color:#FFFFFF;">
303
  <div id="views_tabs" style="width: 101%;margin-left: -2px;<?php echo $display; ?>">
304
+ <div class="views" style="<?php if (!in_array('day', $views) AND $defaultview != 'day') echo 'display:none;'; if ($view == 'bigcalendarday_widget') echo 'background-color:' . $bg . ' !important;height:28px;top:0;'; ?>"
305
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
306
  'action' => 'spiderbigcalendar_day_widget',
307
  'theme_id' => $theme_id,
316
  'TB_iframe' => 1,
317
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="line-height: 2;color:<?php echo $text_color_month; ?>;"><?php echo __('Day', 'sp_calendar'); ?></span>
318
  </div>
319
+ <div class="views" style="<?php if (!in_array('week', $views) AND $defaultview != 'week') echo 'display:none;'; if ($view == 'bigcalendarweek_widget') echo 'background-color:' . $bg . ' !important;height:28px;top:0;'; ?>"
320
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
321
  'action' => 'spiderbigcalendar_week_widget',
322
  'theme_id' => $theme_id,
332
  'TB_iframe' => 1,
333
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="line-height: 2;color:<?php echo $text_color_month; ?>;"><?php echo __('Week', 'sp_calendar'); ?></span>
334
  </div>
335
+ <div class="views" style="margin-left: 3px;margin-right: 1px;<?php if (!in_array('list', $views) AND $defaultview != 'list') echo 'display:none;'; if ($view == 'bigcalendarlist_widget') echo 'background-color:' . $bg . ' !important;height:28px;top:0;' ?>"
336
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
337
  'action' => 'spiderbigcalendar_list_widget',
338
  'theme_id' => $theme_id,
347
  'TB_iframe' => 1,
348
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')"><span style="line-height: 2;color:<?php echo $text_color_month; ?>;"><?php echo __('List', 'sp_calendar'); ?></span>
349
  </div>
350
+ <div class="views" style="<?php if (!in_array('month', $views) AND $defaultview != 'month') echo 'display:none;'; if ($view == 'bigcalendarmonth_widget') echo 'background-color:' . $bg . ' !important;height:28px;top:0;'; ?>"
351
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
352
  'action' => 'spiderbigcalendar_month_widget',
353
  'theme_id' => $theme_id,
462
  $ev_ids = $all_calendar_files[0]['ev_ids'];
463
  sort($array_days, SORT_NUMERIC);
464
  if (!$array_days) {
465
+ echo '<table style="height:14px;border-spacing:0;border-spacing:0;width: 100%;background-color:#D6D4D5 !important;">
466
  <tr>
467
+ <td style="padding-left:10px; font-size:12px;font-weight:bold;width:10px;text-align:center;background-color:' . $bg . ' !important;color:#949394;"></td>
468
  <td><p style="font-size:12px;color:' . $bg . '; border:none">&nbsp;' . __('There Is No Event In This Month', 'sp_calendar') . '</p></td>
469
  </tr>
470
  </table>';
473
  $week_day = date('D', mktime(0, 0, 0, Month_num($month), $array_days[$i], $year));
474
  echo '<table style="width:100%; border-spacing:0;">
475
  <tr>
476
+ <td style="height:14px;font-size:12px; padding-left:10px;background-color:#D6D4D5 !important; color:#6E7276">
477
  <span style="padding-left:10px; font-size:12px;color:' . $color_week_days . '">' . week_convert($week_day) . '</span>
478
  <span style="font-size:12px;color:#949394;">(' . add_0($array_days[$i]) . ' ' . __($month,'sp_calendar') . ')</span>
479
  </td>
505
  if(!isset($cat_color->color)) { $cat_color = new stdClass; $cat_color->color="";};
506
  echo '<table class="last_table" style="overflow:hidden;height:14px;border-spacing:0;width: 100%;background-color:' . $table_color . '">
507
  <tr>
508
+ <td style="font-size:14px;font-weight:bold;width:15px;text-align:center;background-color:#' . str_replace('#','',$cat_color->color) . ' !important;color:' . $calendar_bg . '">' . ($j +1 ) . '</td>
509
  <td>
510
  <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="text-decoration:none;font-size:13px;background:none;color:' . $ev_title_color . ';"
511
  href="' . add_query_arg(array(
548
  'cat_id' => '',
549
  'cat_ids' => $cat_ids,
550
  'TB_iframe' => 1,
551
+ ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" style="cursor:pointer;font-size:<?php echo $year_font_size; ?>px;color:<?php echo $year_font_color; ?>;text-align: center;background-color:<?php echo $year_tabs_bg_color; ?> !important">
552
  <?php echo ($year - 1); ?>
553
  </td>
554
  <td colspan="3" style="font-size:<?php echo $year_font_size + 2; ?>px;color:<?php echo $year_font_color; ?>;text-align: center;border-right:1px solid <?php echo $cell_border_color; ?>;border-left:1px solid <?php echo $cell_border_color; ?>">
567
  'cat_id' => '',
568
  'cat_ids' => $cat_ids,
569
  'TB_iframe' => 1,
570
+ ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" style="cursor:pointer;font-size:<?php echo $year_font_size; ?>px;text-align: center;background-color:<?php echo $year_tabs_bg_color; ?> !important;color:<?php echo $year_font_color; ?>">
571
  <?php echo ($year + 1); ?>
572
  </td>
573
  </tr>
631
 
632
  ?>
633
 
634
+ <li style="height:30px"><p class="categories1" style="background-color:#<?php echo str_replace('#','',$category->color);?> !important">&nbsp;&nbsp;&nbsp;&nbsp;</p><p class="categories2" id="category<?php echo $category->id ?>" style="color:#<?php echo str_replace('#','',$category->color); ?> !important" onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
635
  'action' => 'spiderbigcalendar_list_widget',
636
  'theme_id' => $theme_id,
637
  'calendar' => $calendar_id,
650
  }
651
  if (!empty($categories)) {
652
  ?>
653
+ <li style="height:30px"><p class="categories1" style="background-color:#<?php echo str_replace('#','',$bg);?> !important">&nbsp;&nbsp;&nbsp;&nbsp;</p><p class="categories2" id="category0" style="color:#<?php echo str_replace('#','',$bg); ?> !important" onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
654
  'action' => 'spiderbigcalendar_list_widget',
655
  'theme_id' => $theme_id,
656
  'calendar' => $calendar_id,
front_end/bigcalendarmonth.php CHANGED
@@ -345,11 +345,11 @@ echo '<style>
345
  border:1px solid <?php echo $cell_border_color; ?> !important;
346
  vertical-align:top;
347
  text-align:left;
348
- background-color: <?php echo $sundays_bg_color; ?>;
349
  }
350
  #bigcalendar<?php echo $many_sp_calendar; ?> .views {
351
  float: right;
352
- background-color: <?php echo $views_tabs_bg_color; ?>;
353
  min-height: 25px;
354
  min-width: 70px;
355
  margin-right: 2px;
@@ -366,7 +366,7 @@ echo '<style>
366
  #bigcalendar<?php echo $many_sp_calendar; ?> .views_select ,
367
  #bigcalendar<?php echo $many_sp_calendar; ?> #views_select
368
  {
369
- background-color: <?php echo $views_tabs_bg_color ?>;
370
  width: 120px;
371
  text-align: center;
372
  cursor: pointer;
@@ -389,7 +389,7 @@ min-height: 30px;
389
 
390
  #drop_down_views >li:hover .views_select, #drop_down_views >li.active .views_select
391
  {
392
- background:<?php echo $bg_top ?>;
393
  }
394
 
395
  #drop_down_views >li
@@ -413,7 +413,7 @@ min-height: 30px;
413
  <tr>
414
  <td>
415
  <div id="views_tabs" style="<?php echo $display ?>;width: 100.3%;">
416
- <div class="views" style="<?php if (!in_array('day', $views) AND $defaultview != 'day') echo 'display:none;'; if ($view == 'bigcalendarday') echo 'background-color:' . $bg_top . ';top:0;' ?>"
417
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
418
  'action' => 'spiderbigcalendar_day',
419
  'theme_id' => $theme_id,
@@ -428,7 +428,7 @@ min-height: 30px;
428
  'rand' => $many_sp_calendar,
429
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px"><?php echo __('Day', 'sp_calendar'); ?></span>
430
  </div>
431
- <div class="views" style="<?php if (!in_array('week', $views) AND $defaultview != 'week') echo 'display:none;'; if ($view == 'bigcalendarweek') echo 'background-color:' . $bg_top . ';top:0;' ?>"
432
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
433
  'action' => 'spiderbigcalendar_week',
434
  'theme_id' => $theme_id,
@@ -444,7 +444,7 @@ min-height: 30px;
444
  'rand' => $many_sp_calendar,
445
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px"><?php echo __('Week', 'sp_calendar'); ?></span>
446
  </div>
447
- <div class="views" style="<?php if (!in_array('list', $views) AND $defaultview != 'list') echo 'display:none;'; if ($view == 'bigcalendarlist') echo 'background-color:' . $bg_top . ';top:0;' ?>"
448
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
449
  'action' => 'spiderbigcalendar_list',
450
  'theme_id' => $theme_id,
@@ -459,7 +459,7 @@ min-height: 30px;
459
  'rand' => $many_sp_calendar,
460
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')"><span style="color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px"><?php echo __('List', 'sp_calendar'); ?></span>
461
  </div>
462
- <div class="views" style="<?php if (!in_array('month', $views) AND $defaultview != 'month') echo 'display:none;'; if ($view == 'bigcalendarmonth') echo 'background-color:' . $bg_top . ';top:0;'; ?>"
463
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
464
  'action' => 'spiderbigcalendar_month',
465
  'theme_id' => $theme_id,
@@ -477,7 +477,7 @@ min-height: 30px;
477
  </div>
478
 
479
  <div id="views_tabs_select" style="display:none" >
480
- <div id="views_select" style="background-color:<?php echo $bg_top?>;color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px">
481
  <?php if($view=='bigcalendarday') echo 'Day'; ?>
482
  <?php if($view=='bigcalendarmonth') echo 'Month'; ?>
483
  <?php if($view=='bigcalendarweek') echo 'Week'; ?>
@@ -559,7 +559,7 @@ min-height: 30px;
559
  </tr>
560
  <tr>
561
  <td>
562
- <table cellpadding="0" cellspacing="0" class="general_table" style="border-spacing:0; width:100%;border:<?php echo $border_color; ?> solid <?php echo $border_width; ?>px; margin:0; padding:0;background-color:<?php echo $bg_bottom; ?>;">
563
  <tr>
564
  <td width="100%" style="padding:0; margin:0">
565
  <table cellpadding="0" cellspacing="0" border="0" style="border-spacing:0; font-size:12px; margin:0; padding:0; width:100%;">
@@ -655,9 +655,9 @@ min-height: 30px;
655
  </table>
656
  </td>
657
  </tr>
658
- <tr align="center" height="<?php echo $week_days_cell_height; ?>" style="background-color:<?php echo $weekdays_bg_color; ?>;">
659
  <?php if ($weekstart == "su") { ?>
660
- <td class="weekdays" style="width:14.2857143%; color:<?php echo $color_week_days;?>; margin:0; padding:0;background-color:<?php echo $weekday_sunday_bg_color; ?>">
661
  <div class="calbottom_border" style="text-align:center; margin:0; padding:0;"><b class="week_days"><?php echo __('Su', 'sp_calendar'); ?> </b></div>
662
  </td>
663
  <?php } ?>
@@ -680,7 +680,7 @@ min-height: 30px;
680
  <div class="calbottom_border" style="text-align:center; margin:0; padding:0;"><b class="week_days"><?php echo __('Sa', 'sp_calendar'); ?> </b></div>
681
  </td>
682
  <?php if ($weekstart == "mo") { ?>
683
- <td class="weekdays" style="width:14.2857143%; color:<?php echo $color_week_days;?>; margin:0; padding:0;background-color:<?php echo $weekday_sunday_bg_color; ?>">
684
  <div class="calbottom_border" style="text-align:center; margin:0; padding:0;"><b class="week_days"><?php echo __('Su', 'sp_calendar'); ?> </b></div>
685
  </td>
686
  <?php } ?>
@@ -715,7 +715,7 @@ min-height: 30px;
715
 
716
  echo ' <tr id="days" height="' . $cell_height . '" style="line-height:15px;">';
717
  for ($i = 1; $i < $weekday_i; $i++) {
718
- echo ' <td class="caltext_color_other_months" style="background-color:' . $bg_color_other_months . '">
719
  <span style="font-size:' . $other_days_font_size . 'px;line-height:1.3;font-family: tahoma;padding-left: 5px;">' . $last_month_days . '</span>
720
  </td>';
721
  $last_month_days = $last_month_days + 1;
@@ -754,7 +754,7 @@ $color=str_replace('#','',$color);
754
 
755
 
756
  $bg_color='rgba('.HEXDEC(SUBSTR($color, 0, 2)).','.HEXDEC(SUBSTR($color, 2, 2)).','.HEXDEC(SUBSTR($color, 4, 2)).',0.3'.')';
757
- $event='<div id="cal_event" style="background-color:'.$bg_color.';border-left:2px solid #'.$color.' "><p>'.$ev_title.'</p></div>';
758
 
759
  return $event;
760
  }
@@ -780,7 +780,7 @@ $color=str_replace('#','',$color);
780
  <div class="calborder_day" style=" margin:0; padding:0;">
781
  <p style="font-size:' . $other_days_font_size . 'px;color:' . $evented_color . ';line-height:1.3;font-family: tahoma;padding-left: 5px;text-shadow: 1px 1px white;">' . $i . '</p>';
782
  $r = 0;
783
- echo ' <div style="background-color:' . $ev_title_bg_color . ';">';
784
  for ($j = 0; $j < $k; $j++) {
785
  if(category_color($ev_id[$j])=='#')
786
  $cat_color=$bg_top;
@@ -838,10 +838,10 @@ $color=str_replace('#','',$color);
838
  if(!isset($border_day)) $border_day = "";
839
  if ($i == date('j') and $month == date('F') and $year == date('Y')) { $border_day = $current_day_border_color;}
840
  if (in_array($i,$array_days)) {
841
- echo ' <td class="cala_day" style="background-color:' . $ev_title_bg_color . ';padding:0; margin:0;line-height:15px; border: 3px solid ' . $current_day_border_color . ' !important">
842
- <p style="background-color:' . $evented_color_bg . ';color:' . $evented_color . ';font-size:' . $other_days_font_size . 'px;line-height:1.3;font-family:tahoma;padding-left: 5px;text-shadow: 1px 1px white;">' . $i . '</p>';
843
  $r = 0;
844
- echo ' <div style="background-color:' . $ev_title_bg_color . '">';
845
  for ($j = 0; $j < $k; $j++) {
846
 
847
  if(category_color($ev_id[$j])=='#')
@@ -900,9 +900,9 @@ $color=str_replace('#','',$color);
900
  else
901
 
902
  if (in_array($i, $array_days)) {
903
- echo ' <td class="cala_day" style="background-color:' . $ev_title_bg_color . ';padding:0; margin:0;line-height:15px;">
904
- <p style="background-color:' . $evented_color_bg . ';color:' . $evented_color . ';font-size:' . $other_days_font_size . 'px;line-height:1.3;font-family:tahoma;padding-left: 5px;text-shadow: 1px 1px white;">' . $i . '</p>
905
- <div style="background-color:' . $ev_title_bg_color . '">';
906
  $r = 0;
907
  for ($j = 0; $j < $k; $j++) {
908
  if(category_color($ev_id[$j])=='#')
@@ -911,7 +911,7 @@ $color=str_replace('#','',$color);
911
  $cat_color=category_color($ev_id[$j]);
912
 
913
  if ($r < $number_of_shown_evetns) {
914
- echo ' <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="background:none; color:' . $event_title_color . ';"
915
  href="' . add_query_arg(array(
916
  'action' => 'spidercalendarbig',
917
  'theme_id' => $theme_id,
@@ -930,7 +930,7 @@ $color=str_replace('#','',$color);
930
  }
931
  else {
932
  echo '
933
- <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="font-size:11px; background:none; color:' . $event_title_color . ';text-align:center;"
934
  href="' . add_query_arg(array(
935
  'action' => 'spiderseemore',
936
  'theme_id' => $theme_id,
@@ -964,8 +964,8 @@ $color=str_replace('#','',$color);
964
 
965
  echo ' <td bgcolor="' . $ev_title_bg_color . '" class="cala_day" style="border: 3px solid ' . $current_day_border_color . ' !important;padding:0; margin:0;line-height:15px;">
966
  <div class="calborder_day" style="margin:0; padding:0;">
967
- <p style="background-color:' . $evented_color_bg . ';color:' . $evented_color . ';font-size:' . $other_days_font_size . 'px;line-height:1.3;font-family: tahoma;padding-left: 5px;text-shadow: 1px 1px white;">' . $i . '</p>
968
- <div style="background-color:' . $ev_title_bg_color . '">';
969
  $r = 0;
970
  for ($j = 0; $j < $k; $j++) {
971
  if(category_color($ev_id[$j])=='#')
@@ -974,7 +974,7 @@ $color=str_replace('#','',$color);
974
  $cat_color=category_color($ev_id[$j]);
975
 
976
  if ($r < $number_of_shown_evetns) {
977
- echo ' <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="background:none; color:' . $event_title_color . ';"
978
  href="' . add_query_arg(array(
979
  'action' => 'spidercalendarbig',
980
  'theme_id' => $theme_id,
@@ -1022,9 +1022,9 @@ $color=str_replace('#','',$color);
1022
 
1023
 
1024
  if (in_array ($i,$array_days)) {
1025
- echo ' <td class="cala_day" style="background-color:' . $ev_title_bg_color . ';padding:0; margin:0;line-height:15px; border: 3px solid ' . $current_day_border_color . ' !important;">
1026
- <p style="background-color:' . $evented_color_bg . ';color:' . $evented_color . ';font-size:' . $other_days_font_size . 'px;line-height:1.3;font-family:tahoma;padding-left: 5px;text-shadow: 1px 1px white;">' . $i . '</p>
1027
- <div style="background-color:' . $ev_title_bg_color . '">';
1028
  $r = 0;
1029
  for ($j = 0; $j < $k; $j++) {
1030
  if(category_color($ev_id[$j])=='#')
@@ -1083,8 +1083,8 @@ $color=str_replace('#','',$color);
1083
  else
1084
 
1085
  if (in_array($i, $array_days)) {
1086
- echo ' <td class="cala_day" style="background-color:' . $ev_title_bg_color . ';padding:0; margin:0;line-height:15px;">
1087
- <p style="background-color:' . $evented_color_bg . ';background-color:' . $evented_color_bg . ';color:' . $evented_color . ';font-size:' . $other_days_font_size . 'px;line-height:1.3;font-family:tahoma;padding-left: 5px;text-shadow: 1px 1px white;">' . $i . '</p>';
1088
  $r = 0;
1089
  echo ' <div>';
1090
  for ($j = 0; $j < $k; $j++) {
@@ -1153,10 +1153,10 @@ if (in_array($i, $array_days)) {
1153
  if ($weekday_i != 1) {
1154
  for ($i = $weekday_i; $i <= 7; $i++) {
1155
  if ($i != 7) {
1156
- echo ' <td class="caltext_color_other_months" style="font-size:' . $other_days_font_size . 'px;line-height:1.3;font-family:tahoma;padding-left: 5px;background-color:' . $bg_color_other_months . ';">' . $next_i . '</td>';
1157
  }
1158
  else {
1159
- echo ' <td class="caltext_color_other_months" style="font-size:' . $other_days_font_size . 'px;line-height:1.3;font-family:tahoma;padding-left: 5px;background-color:' . $bg_color_other_months . ';">' . $next_i . '</td>';
1160
  }
1161
  $next_i += 1;
1162
  }
@@ -1267,7 +1267,7 @@ foreach($categories as $category)
1267
 
1268
  ?>
1269
 
1270
- <li style="float:left;"><p class="categories1" style="background-color:#<?php echo str_replace('#','',$category->color);?>">&nbsp;&nbsp;&nbsp;&nbsp;</p><p class="categories2" id="category<?php echo $category->id ?>" style="color:#<?php echo str_replace('#','',$category->color); ?>" onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
1271
  'action' => 'spiderbigcalendar_month',
1272
  'theme_id' => $theme_id,
1273
  'calendar' => $calendar_id,
@@ -1284,7 +1284,7 @@ foreach($categories as $category)
1284
  <?php }
1285
  if (!empty($categories)) {
1286
  ?>
1287
- <li style="float:left;"><p class="categories1" style="background-color:#<?php echo str_replace('#','',$bg_top); ?>">&nbsp;&nbsp;&nbsp;&nbsp;</p><p class="categories2" id="category0" style="color:#<?php echo str_replace('#','',$bg_top); ?>" onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
1288
  'action' => 'spiderbigcalendar_month',
1289
  'theme_id' => $theme_id,
1290
  'calendar' => $calendar_id,
345
  border:1px solid <?php echo $cell_border_color; ?> !important;
346
  vertical-align:top;
347
  text-align:left;
348
+ background-color: <?php echo $sundays_bg_color; ?> !important;
349
  }
350
  #bigcalendar<?php echo $many_sp_calendar; ?> .views {
351
  float: right;
352
+ background-color: <?php echo $views_tabs_bg_color; ?> !important;
353
  min-height: 25px;
354
  min-width: 70px;
355
  margin-right: 2px;
366
  #bigcalendar<?php echo $many_sp_calendar; ?> .views_select ,
367
  #bigcalendar<?php echo $many_sp_calendar; ?> #views_select
368
  {
369
+ background-color: <?php echo $views_tabs_bg_color ?> !important;
370
  width: 120px;
371
  text-align: center;
372
  cursor: pointer;
389
 
390
  #drop_down_views >li:hover .views_select, #drop_down_views >li.active .views_select
391
  {
392
+ background:<?php echo $bg_top ?> !important;
393
  }
394
 
395
  #drop_down_views >li
413
  <tr>
414
  <td>
415
  <div id="views_tabs" style="<?php echo $display ?>;width: 100.3%;">
416
+ <div class="views" style="<?php if (!in_array('day', $views) AND $defaultview != 'day') echo 'display:none;'; if ($view == 'bigcalendarday') echo 'background-color:' . $bg_top . ' !important;top:0;' ?>"
417
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
418
  'action' => 'spiderbigcalendar_day',
419
  'theme_id' => $theme_id,
428
  'rand' => $many_sp_calendar,
429
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px"><?php echo __('Day', 'sp_calendar'); ?></span>
430
  </div>
431
+ <div class="views" style="<?php if (!in_array('week', $views) AND $defaultview != 'week') echo 'display:none;'; if ($view == 'bigcalendarweek') echo 'background-color:' . $bg_top . ' !important;top:0;' ?>"
432
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
433
  'action' => 'spiderbigcalendar_week',
434
  'theme_id' => $theme_id,
444
  'rand' => $many_sp_calendar,
445
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px"><?php echo __('Week', 'sp_calendar'); ?></span>
446
  </div>
447
+ <div class="views" style="<?php if (!in_array('list', $views) AND $defaultview != 'list') echo 'display:none;'; if ($view == 'bigcalendarlist') echo 'background-color:' . $bg_top . ' !important;top:0;' ?>"
448
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
449
  'action' => 'spiderbigcalendar_list',
450
  'theme_id' => $theme_id,
459
  'rand' => $many_sp_calendar,
460
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')"><span style="color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px"><?php echo __('List', 'sp_calendar'); ?></span>
461
  </div>
462
+ <div class="views" style="<?php if (!in_array('month', $views) AND $defaultview != 'month') echo 'display:none;'; if ($view == 'bigcalendarmonth') echo 'background-color:' . $bg_top . ' !important;top:0;'; ?>"
463
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
464
  'action' => 'spiderbigcalendar_month',
465
  'theme_id' => $theme_id,
477
  </div>
478
 
479
  <div id="views_tabs_select" style="display:none" >
480
+ <div id="views_select" style="background-color:<?php echo $bg_top?> !important;color:<?php echo $views_tabs_text_color ?> !important;font-size:<?php echo $views_tabs_font_size ?>px">
481
  <?php if($view=='bigcalendarday') echo 'Day'; ?>
482
  <?php if($view=='bigcalendarmonth') echo 'Month'; ?>
483
  <?php if($view=='bigcalendarweek') echo 'Week'; ?>
559
  </tr>
560
  <tr>
561
  <td>
562
+ <table cellpadding="0" cellspacing="0" class="general_table" style="border-spacing:0; width:100%;border:<?php echo $border_color; ?> solid <?php echo $border_width; ?>px; margin:0; padding:0;background-color:<?php echo $bg_bottom; ?> !important;">
563
  <tr>
564
  <td width="100%" style="padding:0; margin:0">
565
  <table cellpadding="0" cellspacing="0" border="0" style="border-spacing:0; font-size:12px; margin:0; padding:0; width:100%;">
655
  </table>
656
  </td>
657
  </tr>
658
+ <tr align="center" height="<?php echo $week_days_cell_height; ?>" style="background-color:<?php echo $weekdays_bg_color; ?> !important;">
659
  <?php if ($weekstart == "su") { ?>
660
+ <td class="weekdays" style="width:14.2857143%; color:<?php echo $color_week_days;?>; margin:0; padding:0;background-color:<?php echo $weekday_sunday_bg_color; ?> !important">
661
  <div class="calbottom_border" style="text-align:center; margin:0; padding:0;"><b class="week_days"><?php echo __('Su', 'sp_calendar'); ?> </b></div>
662
  </td>
663
  <?php } ?>
680
  <div class="calbottom_border" style="text-align:center; margin:0; padding:0;"><b class="week_days"><?php echo __('Sa', 'sp_calendar'); ?> </b></div>
681
  </td>
682
  <?php if ($weekstart == "mo") { ?>
683
+ <td class="weekdays" style="width:14.2857143%; color:<?php echo $color_week_days;?>; margin:0; padding:0;background-color:<?php echo $weekday_sunday_bg_color; ?> !important">
684
  <div class="calbottom_border" style="text-align:center; margin:0; padding:0;"><b class="week_days"><?php echo __('Su', 'sp_calendar'); ?> </b></div>
685
  </td>
686
  <?php } ?>
715
 
716
  echo ' <tr id="days" height="' . $cell_height . '" style="line-height:15px;">';
717
  for ($i = 1; $i < $weekday_i; $i++) {
718
+ echo ' <td class="caltext_color_other_months" style="background-color:' . $bg_color_other_months . ' !important">
719
  <span style="font-size:' . $other_days_font_size . 'px;line-height:1.3;font-family: tahoma;padding-left: 5px;">' . $last_month_days . '</span>
720
  </td>';
721
  $last_month_days = $last_month_days + 1;
754
 
755
 
756
  $bg_color='rgba('.HEXDEC(SUBSTR($color, 0, 2)).','.HEXDEC(SUBSTR($color, 2, 2)).','.HEXDEC(SUBSTR($color, 4, 2)).',0.3'.')';
757
+ $event='<div id="cal_event" style="background-color:'.$bg_color.' !important;border-left:2px solid #'.$color.' "><p>'.$ev_title.'</p></div>';
758
 
759
  return $event;
760
  }
780
  <div class="calborder_day" style=" margin:0; padding:0;">
781
  <p style="font-size:' . $other_days_font_size . 'px;color:' . $evented_color . ';line-height:1.3;font-family: tahoma;padding-left: 5px;text-shadow: 1px 1px white;">' . $i . '</p>';
782
  $r = 0;
783
+ echo ' <div style="background-color:' . $ev_title_bg_color . ' !important;">';
784
  for ($j = 0; $j < $k; $j++) {
785
  if(category_color($ev_id[$j])=='#')
786
  $cat_color=$bg_top;
838
  if(!isset($border_day)) $border_day = "";
839
  if ($i == date('j') and $month == date('F') and $year == date('Y')) { $border_day = $current_day_border_color;}
840
  if (in_array($i,$array_days)) {
841
+ echo ' <td class="cala_day" style="background-color:' . $ev_title_bg_color . ' !important;padding:0; margin:0;line-height:15px; border: 3px solid ' . $current_day_border_color . ' !important">
842
+ <p style="background-color:' . $evented_color_bg . ' !important;color:' . $evented_color . ' !important;font-size:' . $other_days_font_size . 'px;line-height:1.3;font-family:tahoma;padding-left: 5px;text-shadow: 1px 1px white;">' . $i . '</p>';
843
  $r = 0;
844
+ echo ' <div style="background-color:' . $ev_title_bg_color . ' !important">';
845
  for ($j = 0; $j < $k; $j++) {
846
 
847
  if(category_color($ev_id[$j])=='#')
900
  else
901
 
902
  if (in_array($i, $array_days)) {
903
+ echo ' <td class="cala_day" style="background-color:' . $ev_title_bg_color . ' !important;padding:0; margin:0;line-height:15px;">
904
+ <p style="background-color:' . $evented_color_bg . ' !important;color:' . $evented_color . ';font-size:' . $other_days_font_size . 'px;line-height:1.3;font-family:tahoma;padding-left: 5px;text-shadow: 1px 1px white;">' . $i . '</p>
905
+ <div style="background-color:' . $ev_title_bg_color . ' !important">';
906
  $r = 0;
907
  for ($j = 0; $j < $k; $j++) {
908
  if(category_color($ev_id[$j])=='#')
911
  $cat_color=category_color($ev_id[$j]);
912
 
913
  if ($r < $number_of_shown_evetns) {
914
+ echo ' <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="background:none; color:' . $event_title_color . ' !important;"
915
  href="' . add_query_arg(array(
916
  'action' => 'spidercalendarbig',
917
  'theme_id' => $theme_id,
930
  }
931
  else {
932
  echo '
933
+ <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="font-size:11px; background:none; color:' . $event_title_color . ' !important;text-align:center;"
934
  href="' . add_query_arg(array(
935
  'action' => 'spiderseemore',
936
  'theme_id' => $theme_id,
964
 
965
  echo ' <td bgcolor="' . $ev_title_bg_color . '" class="cala_day" style="border: 3px solid ' . $current_day_border_color . ' !important;padding:0; margin:0;line-height:15px;">
966
  <div class="calborder_day" style="margin:0; padding:0;">
967
+ <p style="background-color:' . $evented_color_bg . ' !important;color:' . $evented_color . ' !important;font-size:' . $other_days_font_size . 'px;line-height:1.3;font-family: tahoma;padding-left: 5px;text-shadow: 1px 1px white;">' . $i . '</p>
968
+ <div style="background-color:' . $ev_title_bg_color . ' !important">';
969
  $r = 0;
970
  for ($j = 0; $j < $k; $j++) {
971
  if(category_color($ev_id[$j])=='#')
974
  $cat_color=category_color($ev_id[$j]);
975
 
976
  if ($r < $number_of_shown_evetns) {
977
+ echo ' <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="background:none; color:' . $event_title_color . ' !important;"
978
  href="' . add_query_arg(array(
979
  'action' => 'spidercalendarbig',
980
  'theme_id' => $theme_id,
1022
 
1023
 
1024
  if (in_array ($i,$array_days)) {
1025
+ echo ' <td class="cala_day" style="background-color:' . $ev_title_bg_color . ' !important;padding:0; margin:0;line-height:15px; border: 3px solid ' . $current_day_border_color . ' !important;">
1026
+ <p style="background-color:' . $evented_color_bg . ' !important;color:' . $evented_color . ';font-size:' . $other_days_font_size . 'px;line-height:1.3;font-family:tahoma;padding-left: 5px;text-shadow: 1px 1px white;">' . $i . '</p>
1027
+ <div style="background-color:' . $ev_title_bg_color . ' !important">';
1028
  $r = 0;
1029
  for ($j = 0; $j < $k; $j++) {
1030
  if(category_color($ev_id[$j])=='#')
1083
  else
1084
 
1085
  if (in_array($i, $array_days)) {
1086
+ echo ' <td class="cala_day" style="background-color:' . $ev_title_bg_color . ' !important;padding:0; margin:0;line-height:15px;">
1087
+ <p style="background-color:' . $evented_color_bg . ' !important;background-color:' . $evented_color_bg . ' !important;color:' . $evented_color . ' !important;font-size:' . $other_days_font_size . 'px;line-height:1.3;font-family:tahoma;padding-left: 5px;text-shadow: 1px 1px white;">' . $i . '</p>';
1088
  $r = 0;
1089
  echo ' <div>';
1090
  for ($j = 0; $j < $k; $j++) {
1153
  if ($weekday_i != 1) {
1154
  for ($i = $weekday_i; $i <= 7; $i++) {
1155
  if ($i != 7) {
1156
+ echo ' <td class="caltext_color_other_months" style="font-size:' . $other_days_font_size . 'px;line-height:1.3;font-family:tahoma;padding-left: 5px;background-color:' . $bg_color_other_months . ' !important;">' . $next_i . '</td>';
1157
  }
1158
  else {
1159
+ echo ' <td class="caltext_color_other_months" style="font-size:' . $other_days_font_size . 'px;line-height:1.3;font-family:tahoma;padding-left: 5px;background-color:' . $bg_color_other_months . ' !important;">' . $next_i . '</td>';
1160
  }
1161
  $next_i += 1;
1162
  }
1267
 
1268
  ?>
1269
 
1270
+ <li style="float:left;"><p class="categories1" style="background-color:#<?php echo str_replace('#','',$category->color);?> !important">&nbsp;&nbsp;&nbsp;&nbsp;</p><p class="categories2" id="category<?php echo $category->id ?>" style="color:#<?php echo str_replace('#','',$category->color); ?> !important" onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
1271
  'action' => 'spiderbigcalendar_month',
1272
  'theme_id' => $theme_id,
1273
  'calendar' => $calendar_id,
1284
  <?php }
1285
  if (!empty($categories)) {
1286
  ?>
1287
+ <li style="float:left;"><p class="categories1" style="background-color:#<?php echo str_replace('#','',$bg_top); ?> !important">&nbsp;&nbsp;&nbsp;&nbsp;</p><p class="categories2" id="category0" style="color:#<?php echo str_replace('#','',$bg_top); ?> !important" onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
1288
  'action' => 'spiderbigcalendar_month',
1289
  'theme_id' => $theme_id,
1290
  'calendar' => $calendar_id,
front_end/bigcalendarmonth_widget.php CHANGED
@@ -225,7 +225,7 @@ $cat_ids = substr($cat_ids, 0,-1);
225
  width: 100%;
226
  }
227
  #calendar_<?php echo $many_sp_calendar; ?> .calbg {
228
- background-color:<?php echo $bg; ?>;
229
  text-align:center;
230
  vertical-align: middle;
231
  }
@@ -246,7 +246,7 @@ $cat_ids = substr($cat_ids, 0,-1);
246
  }
247
  #calendar_<?php echo $many_sp_calendar; ?> .views {
248
  float: right;
249
- background-color: <?php echo $calendar_bg; ?>;
250
  height: 25px;
251
  width: <?php echo ($calendar_width / 4) - 2; ?>px;
252
  margin-left: 2px;
@@ -295,11 +295,11 @@ $cat_ids = substr($cat_ids, 0,-1);
295
  </style>
296
 
297
  <div id="calendar_<?php echo $many_sp_calendar; ?>" style="width:<?php echo $calendar_width; ?>px;">
298
- <table cellpadding="0" cellspacing="0" style="border-spacing:0; width:<?php echo $calendar_width; ?>px; height:190px; margin:0; padding:0;background-color:<?php echo $calendar_bg; ?>">
299
  <tr style="background-color:#FFFFFF;">
300
  <td style="background-color:#FFFFFF;">
301
  <div id="views_tabs" style="<?php echo $display; ?>">
302
- <div class="views" style="<?php if (!in_array('day', $views) AND $defaultview != 'day') echo 'display:none;'; if ($view == 'bigcalendarday_widget') echo 'background-color:' . $bg . ';height:28px;top:0;'; ?>"
303
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
304
  'action' => 'spiderbigcalendar_day_widget',
305
  'theme_id' => $theme_id,
@@ -314,7 +314,7 @@ $cat_ids = substr($cat_ids, 0,-1);
314
  'rand' => $many_sp_calendar,
315
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="line-height: 2;color:<?php echo $text_color_month; ?>;"><?php echo __('Day', 'sp_calendar'); ?></span>
316
  </div>
317
- <div class="views" style="<?php if (!in_array('week', $views) AND $defaultview != 'week') echo 'display:none;'; if ($view == 'bigcalendarweek_widget') echo 'background-color:' . $bg . ';height:28px;top:0;' ?>"
318
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
319
  'action' => 'spiderbigcalendar_week_widget',
320
  'theme_id' => $theme_id,
@@ -329,7 +329,7 @@ $cat_ids = substr($cat_ids, 0,-1);
329
  'widget' => $widget,
330
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="line-height: 2;color:<?php echo $text_color_month; ?>;"><?php echo __('Week', 'sp_calendar'); ?></span>
331
  </div>
332
- <div class="views" style="<?php if (!in_array('list', $views) AND $defaultview != 'list') echo 'display:none;'; if ($view == 'bigcalendarlist_widget') echo 'background-color:' . $bg . ';height:28px;top:0;'; ?>"
333
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
334
  'action' => 'spiderbigcalendar_list_widget',
335
  'theme_id' => $theme_id,
@@ -343,7 +343,7 @@ $cat_ids = substr($cat_ids, 0,-1);
343
  'widget' => $widget,
344
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')"><span style="line-height: 2;color:<?php echo $text_color_month; ?>;"><?php echo __('List', 'sp_calendar'); ?></span>
345
  </div>
346
- <div class="views" style="margin-left: 0px;margin-right: 2px;<?php if (!in_array('month', $views) AND $defaultview != 'month') echo 'display:none;'; if ($view == 'bigcalendarmonth_widget') echo 'background-color:' . $bg . ';height:28px;top:0;'; ?>"
347
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
348
  'action' => 'spiderbigcalendar_month_widget',
349
  'theme_id' => $theme_id,
@@ -426,7 +426,7 @@ $cat_ids = substr($cat_ids, 0,-1);
426
  </tr>
427
  <tr class="cell_body" align="center" height="10%" style="background-color:<?php echo $weekdays_bg_color; ?> !important;width:<?php echo $calendar_width; ?>px">
428
  <?php if ($weekstart == "su") { ?>
429
- <td style="font-family:<?php echo $font_weekday; ?>;background-color:<?php echo $weekday_su_bg_color; ?>;width:<?php echo $cell_width; ?>px; color:<?php echo $color_week_days; ?>; margin:0; padding:0">
430
  <div class="calbottom_border" style="text-align:center; width:<?php echo $cell_width; ?>px; margin:0; padding:0;"><b> <?php echo __('Su', 'sp_calendar'); ?> </b></div>
431
  </td>
432
  <?php } ?>
@@ -449,7 +449,7 @@ $cat_ids = substr($cat_ids, 0,-1);
449
  <div class="calbottom_border" style="text-align:center; width:<?php echo $cell_width; ?>px; margin:0; padding:0;"><b> <?php echo __('Sa', 'sp_calendar'); ?> </b></div>
450
  </td>
451
  <?php if ($weekstart == "mo") { ?>
452
- <td style="font-family:<?php echo $font_weekday; ?>;background-color:<?php echo $weekday_su_bg_color; ?>;width:<?php echo $cell_width; ?>px; color:<?php echo $color_week_days; ?>; margin:0; padding:0">
453
  <div class="calbottom_border" style="text-align:center; width:<?php echo $cell_width; ?>px; margin:0; padding:0;"><b> <?php echo __('Su', 'sp_calendar'); ?> </b></div>
454
  </td>
455
  <?php } ?>
@@ -514,7 +514,7 @@ $cat_ids = substr($cat_ids, 0,-1);
514
  if (($weekday_i % 7 == 0 and $weekstart == "mo") or ($weekday_i % 7 == 1 and $weekstart == "su")) {
515
  if ($i == $day_REFERER and $month == $month_REFERER and $year == $year_REFERER) {
516
 
517
- echo ' <td class="cala_day" style="background-color:' . $bg_color_selected . ';text-align:center;padding:0; margin:0;line-height:inherit;">
518
  <div class="calborder_day" style="text-align:center; width:' . $cell_width . 'px; margin:0; padding:0;">
519
  <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="background:none;color:' . $text_color_selected . '; text-decoration:underline;"
520
  href="' . add_query_arg(array(
@@ -539,7 +539,7 @@ $cat_ids = substr($cat_ids, 0,-1);
539
  if (in_array($i, $array_days)) {
540
  if (in_array ($i, $array_days1)) {
541
  echo '
542
- <td class="cala_day" style="color:' . $text_color_selected . ';background-color:' . $bg_color_selected . ';text-align:center;padding:0; margin:0;line-height:inherit; border: 2px solid ' . $border_day . '">
543
  <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="background:none;color:' . $text_color_selected . ';text-align:center;text-decoration:underline;"
544
  href="' . add_query_arg(array(
545
  'action' => ((isset($ev_id[1])) ? 'spiderseemore' : 'spidercalendarbig'),
@@ -565,7 +565,7 @@ $cat_ids = substr($cat_ids, 0,-1);
565
  }
566
  else {
567
  echo '
568
- <td class="cala_day" style="color:' . $text_color_selected . ';background-color:' . $bg_color_selected . ';text-align:center;padding:0; margin:0;line-height:inherit; border: 2px solid ' . $border_day . '">
569
  <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="background:none;color:' . $text_color_selected . ';text-align:center;text-decoration:underline;"
570
  href="' . add_query_arg(array(
571
  'action' => ((isset($ev_id[1])) ? 'spiderseemore' : 'spidercalendarbig'),
@@ -602,7 +602,7 @@ $cat_ids = substr($cat_ids, 0,-1);
602
  if (in_array ($i, $array_days1)) {
603
 
604
  echo '
605
- <td class="cala_day" style="background-color:' . $evented_color_bg . ';text-align:center;padding:0; margin:0;line-height:inherit;">
606
  <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="background:none;color:' . $evented_color . ';text-align:center;text-decoration:underline;"
607
  href="' . add_query_arg(array(
608
  'action' => ((isset($ev_id[1])) ? 'spiderseemore' : 'spidercalendarbig'),
@@ -629,7 +629,7 @@ $cat_ids = substr($cat_ids, 0,-1);
629
  }
630
  else {
631
  echo '
632
- <td class="cala_day" style="background-color:' . $evented_color_bg . ';text-align:center;padding:0; margin:0;line-height:inherit;">
633
  <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="background:none;color:' . $evented_color . ';text-align:center;text-decoration:underline;"
634
  href="' . add_query_arg(array(
635
  'action' => ((isset($ev_id[1])) ? 'spiderseemore' : 'spidercalendarbig'),
@@ -667,7 +667,7 @@ $cat_ids = substr($cat_ids, 0,-1);
667
 
668
  if (in_array ($i,$array_days)) {
669
 
670
- echo ' <td style="background-color:' . $bg_color_selected . ';text-align:center;padding:0; margin:0;line-height:inherit;">
671
  <div class="calborder_day" style="text-align:center; width:' . $cell_width . 'px; margin:0; padding:0;">
672
  <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="background:none;color:' . $text_color_selected . '; text-decoration:underline;"
673
  href="' . add_query_arg(array(
@@ -711,7 +711,7 @@ if (in_array ($i,$array_days)) {
711
 
712
  if (in_array ($i, $array_days1)) {
713
  echo '
714
- <td class="cala_day" style="color:' . $text_color_selected . ';background-color:' . $bg_color_selected . ';text-align:center;padding:0; margin:0;line-height:inherit; border: 2px solid ' . $border_day . '">
715
  <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="background:none;color:' . $text_color_selected . '; text-align:center;text-decoration:underline;"
716
  href="' . add_query_arg(array(
717
  'action' => ((isset($ev_id[1])) ? 'spiderseemore' : 'spidercalendarbig'),
@@ -738,7 +738,7 @@ if (in_array ($i,$array_days)) {
738
  }
739
  else {
740
  echo '
741
- <td class="cala_day" style="color:' . $text_color_selected . ';background-color:' . $bg_color_selected . ';text-align:center;padding:0; margin:0;line-height:inherit; border: 2px solid ' . $border_day . '">
742
  <a id="cur_day" class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="background:none;color:' . $text_color_selected . '; text-align:center;text-decoration:underline;"
743
  href="' . add_query_arg(array(
744
  'action' => ((isset($ev_id[1])) ? 'spiderseemore' : 'spidercalendarbig'),
@@ -773,7 +773,7 @@ if (in_array ($i,$array_days)) {
773
  elseif (in_array($i, $array_days)) {
774
 
775
  if (in_array ($i, $array_days1)) {
776
- echo '<td class="cala_day" style="background-color:' . $evented_color_bg . ';text-align:center;padding:0; margin:0;line-height:inherit;">
777
  <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="background:none;color:' . $evented_color . '; text-align:center;text-decoration:underline;"
778
  href="' . add_query_arg(array(
779
  'action' => ((isset($ev_id[1])) ? 'spiderseemore' : 'spidercalendarbig'),
@@ -799,7 +799,7 @@ if (in_array ($i,$array_days)) {
799
  echo '</td>';
800
  }
801
  else {
802
- echo '<td class="cala_day" style="background-color:' . $evented_color_bg . ';text-align:center;padding:0; margin:0;line-height:inherit;">
803
  <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="background:none;color:' . $evented_color . '; text-align:center;text-decoration:underline;"
804
  href="' . add_query_arg(array(
805
  'action' => ((isset($ev_id[1])) ? 'spiderseemore' : 'spidercalendarbig'),
@@ -862,7 +862,7 @@ if (in_array ($i,$array_days)) {
862
  'cat_id' => '',
863
  'cat_ids' => $cat_ids,
864
  'TB_iframe' => 1,
865
- ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" style="cursor:pointer;font-size:<?php echo $year_font_size; ?>px;color:<?php echo $year_font_color; ?>;text-align: center;background-color:<?php echo $year_tabs_bg_color; ?>">
866
  <?php echo ($year - 1); ?>
867
  </td>
868
  <td colspan="3" style="font-size:<?php echo $year_font_size + 2; ?>px;color:<?php echo $year_font_color; ?>;text-align: center;border-right:1px solid <?php echo $cell_border_color; ?>;border-left:1px solid <?php echo $cell_border_color; ?>">
@@ -881,7 +881,7 @@ if (in_array ($i,$array_days)) {
881
  'cat_id' => '',
882
  'cat_ids' => $cat_ids,
883
  'TB_iframe' => 1,
884
- ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" style="cursor:pointer;font-size:<?php echo $year_font_size; ?>px;text-align: center;background-color:<?php echo $year_tabs_bg_color; ?>;color:<?php echo $year_font_color; ?>">
885
  <?php echo ($year + 1); ?>
886
  </td>
887
  </tr>
@@ -947,7 +947,7 @@ foreach($categories as $category)
947
 
948
  ?>
949
 
950
- <li style="height:30px"><p class="categories1" style="background-color:#<?php echo str_replace('#','',$category->color);?>">&nbsp;&nbsp;&nbsp;&nbsp;</p><p class="categories2" id="category<?php echo $category->id ?>" style="color:#<?php echo str_replace('#','',$category->color); ?>" onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
951
  'action' => 'spiderbigcalendar_month_widget',
952
  'theme_id' => $theme_id,
953
  'calendar' => $calendar_id,
@@ -963,7 +963,7 @@ foreach($categories as $category)
963
  }
964
  if (!empty($categories)) {
965
  ?>
966
- <li style="height:30px"><p class="categories1" style="background-color:#<?php echo str_replace('#','',$bg);?>">&nbsp;&nbsp;&nbsp;&nbsp;</p><p class="categories2" id="category0" style="color:#<?php echo str_replace('#','',$bg); ?>" onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
967
  'action' => 'spiderbigcalendar_month_widget',
968
  'theme_id' => $theme_id,
969
  'calendar' => $calendar_id,
225
  width: 100%;
226
  }
227
  #calendar_<?php echo $many_sp_calendar; ?> .calbg {
228
+ background-color:<?php echo $bg; ?> !important;
229
  text-align:center;
230
  vertical-align: middle;
231
  }
246
  }
247
  #calendar_<?php echo $many_sp_calendar; ?> .views {
248
  float: right;
249
+ background-color: <?php echo $calendar_bg; ?> !important;
250
  height: 25px;
251
  width: <?php echo ($calendar_width / 4) - 2; ?>px;
252
  margin-left: 2px;
295
  </style>
296
 
297
  <div id="calendar_<?php echo $many_sp_calendar; ?>" style="width:<?php echo $calendar_width; ?>px;">
298
+ <table cellpadding="0" cellspacing="0" style="border-spacing:0; width:<?php echo $calendar_width; ?>px; height:190px; margin:0; padding:0;background-color:<?php echo $calendar_bg; ?> !important">
299
  <tr style="background-color:#FFFFFF;">
300
  <td style="background-color:#FFFFFF;">
301
  <div id="views_tabs" style="<?php echo $display; ?>">
302
+ <div class="views" style="<?php if (!in_array('day', $views) AND $defaultview != 'day') echo 'display:none;'; if ($view == 'bigcalendarday_widget') echo 'background-color:' . $bg . ' !important;height:28px;top:0;'; ?>"
303
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
304
  'action' => 'spiderbigcalendar_day_widget',
305
  'theme_id' => $theme_id,
314
  'rand' => $many_sp_calendar,
315
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="line-height: 2;color:<?php echo $text_color_month; ?>;"><?php echo __('Day', 'sp_calendar'); ?></span>
316
  </div>
317
+ <div class="views" style="<?php if (!in_array('week', $views) AND $defaultview != 'week') echo 'display:none;'; if ($view == 'bigcalendarweek_widget') echo 'background-color:' . $bg . ' !important;height:28px;top:0;' ?>"
318
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
319
  'action' => 'spiderbigcalendar_week_widget',
320
  'theme_id' => $theme_id,
329
  'widget' => $widget,
330
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="line-height: 2;color:<?php echo $text_color_month; ?>;"><?php echo __('Week', 'sp_calendar'); ?></span>
331
  </div>
332
+ <div class="views" style="<?php if (!in_array('list', $views) AND $defaultview != 'list') echo 'display:none;'; if ($view == 'bigcalendarlist_widget') echo 'background-color:' . $bg . ' !important;height:28px;top:0;'; ?>"
333
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
334
  'action' => 'spiderbigcalendar_list_widget',
335
  'theme_id' => $theme_id,
343
  'widget' => $widget,
344
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')"><span style="line-height: 2;color:<?php echo $text_color_month; ?>;"><?php echo __('List', 'sp_calendar'); ?></span>
345
  </div>
346
+ <div class="views" style="margin-left: 0px;margin-right: 2px;<?php if (!in_array('month', $views) AND $defaultview != 'month') echo 'display:none;'; if ($view == 'bigcalendarmonth_widget') echo 'background-color:' . $bg . ' !important;height:28px;top:0;'; ?>"
347
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
348
  'action' => 'spiderbigcalendar_month_widget',
349
  'theme_id' => $theme_id,
426
  </tr>
427
  <tr class="cell_body" align="center" height="10%" style="background-color:<?php echo $weekdays_bg_color; ?> !important;width:<?php echo $calendar_width; ?>px">
428
  <?php if ($weekstart == "su") { ?>
429
+ <td style="font-family:<?php echo $font_weekday; ?>;background-color:<?php echo $weekday_su_bg_color; ?> !important;width:<?php echo $cell_width; ?>px; color:<?php echo $color_week_days; ?>; margin:0; padding:0">
430
  <div class="calbottom_border" style="text-align:center; width:<?php echo $cell_width; ?>px; margin:0; padding:0;"><b> <?php echo __('Su', 'sp_calendar'); ?> </b></div>
431
  </td>
432
  <?php } ?>
449
  <div class="calbottom_border" style="text-align:center; width:<?php echo $cell_width; ?>px; margin:0; padding:0;"><b> <?php echo __('Sa', 'sp_calendar'); ?> </b></div>
450
  </td>
451
  <?php if ($weekstart == "mo") { ?>
452
+ <td style="font-family:<?php echo $font_weekday; ?>;background-color:<?php echo $weekday_su_bg_color; ?> !important;width:<?php echo $cell_width; ?>px; color:<?php echo $color_week_days; ?>; margin:0; padding:0">
453
  <div class="calbottom_border" style="text-align:center; width:<?php echo $cell_width; ?>px; margin:0; padding:0;"><b> <?php echo __('Su', 'sp_calendar'); ?> </b></div>
454
  </td>
455
  <?php } ?>
514
  if (($weekday_i % 7 == 0 and $weekstart == "mo") or ($weekday_i % 7 == 1 and $weekstart == "su")) {
515
  if ($i == $day_REFERER and $month == $month_REFERER and $year == $year_REFERER) {
516
 
517
+ echo ' <td class="cala_day" style="background-color:' . $bg_color_selected . ' !important;text-align:center;padding:0; margin:0;line-height:inherit;">
518
  <div class="calborder_day" style="text-align:center; width:' . $cell_width . 'px; margin:0; padding:0;">
519
  <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="background:none;color:' . $text_color_selected . '; text-decoration:underline;"
520
  href="' . add_query_arg(array(
539
  if (in_array($i, $array_days)) {
540
  if (in_array ($i, $array_days1)) {
541
  echo '
542
+ <td class="cala_day" style="color:' . $text_color_selected . ';background-color:' . $bg_color_selected . ' !important;text-align:center;padding:0; margin:0;line-height:inherit; border: 2px solid ' . $border_day . '">
543
  <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="background:none;color:' . $text_color_selected . ';text-align:center;text-decoration:underline;"
544
  href="' . add_query_arg(array(
545
  'action' => ((isset($ev_id[1])) ? 'spiderseemore' : 'spidercalendarbig'),
565
  }
566
  else {
567
  echo '
568
+ <td class="cala_day" style="color:' . $text_color_selected . ';background-color:' . $bg_color_selected . ' !important;text-align:center;padding:0; margin:0;line-height:inherit; border: 2px solid ' . $border_day . '">
569
  <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="background:none;color:' . $text_color_selected . ';text-align:center;text-decoration:underline;"
570
  href="' . add_query_arg(array(
571
  'action' => ((isset($ev_id[1])) ? 'spiderseemore' : 'spidercalendarbig'),
602
  if (in_array ($i, $array_days1)) {
603
 
604
  echo '
605
+ <td class="cala_day" style="background-color:' . $evented_color_bg . ' !important;text-align:center;padding:0; margin:0;line-height:inherit;">
606
  <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="background:none;color:' . $evented_color . ';text-align:center;text-decoration:underline;"
607
  href="' . add_query_arg(array(
608
  'action' => ((isset($ev_id[1])) ? 'spiderseemore' : 'spidercalendarbig'),
629
  }
630
  else {
631
  echo '
632
+ <td class="cala_day" style="background-color:' . $evented_color_bg . ' !important;text-align:center;padding:0; margin:0;line-height:inherit;">
633
  <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="background:none;color:' . $evented_color . ';text-align:center;text-decoration:underline;"
634
  href="' . add_query_arg(array(
635
  'action' => ((isset($ev_id[1])) ? 'spiderseemore' : 'spidercalendarbig'),
667
 
668
  if (in_array ($i,$array_days)) {
669
 
670
+ echo ' <td style="background-color:' . $bg_color_selected . ' !important;text-align:center;padding:0; margin:0;line-height:inherit;">
671
  <div class="calborder_day" style="text-align:center; width:' . $cell_width . 'px; margin:0; padding:0;">
672
  <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="background:none;color:' . $text_color_selected . '; text-decoration:underline;"
673
  href="' . add_query_arg(array(
711
 
712
  if (in_array ($i, $array_days1)) {
713
  echo '
714
+ <td class="cala_day" style="color:' . $text_color_selected . ' !important;background-color:' . $bg_color_selected . ';text-align:center;padding:0; margin:0;line-height:inherit; border: 2px solid ' . $border_day . '">
715
  <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="background:none;color:' . $text_color_selected . '; text-align:center;text-decoration:underline;"
716
  href="' . add_query_arg(array(
717
  'action' => ((isset($ev_id[1])) ? 'spiderseemore' : 'spidercalendarbig'),
738
  }
739
  else {
740
  echo '
741
+ <td class="cala_day" style="color:' . $text_color_selected . ' !important;background-color:' . $bg_color_selected . ' !important;text-align:center;padding:0; margin:0;line-height:inherit; border: 2px solid ' . $border_day . '">
742
  <a id="cur_day" class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="background:none;color:' . $text_color_selected . '; text-align:center;text-decoration:underline;"
743
  href="' . add_query_arg(array(
744
  'action' => ((isset($ev_id[1])) ? 'spiderseemore' : 'spidercalendarbig'),
773
  elseif (in_array($i, $array_days)) {
774
 
775
  if (in_array ($i, $array_days1)) {
776
+ echo '<td class="cala_day" style="background-color:' . $evented_color_bg . ' !important;text-align:center;padding:0; margin:0;line-height:inherit;">
777
  <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="background:none;color:' . $evented_color . '; text-align:center;text-decoration:underline;"
778
  href="' . add_query_arg(array(
779
  'action' => ((isset($ev_id[1])) ? 'spiderseemore' : 'spidercalendarbig'),
799
  echo '</td>';
800
  }
801
  else {
802
+ echo '<td class="cala_day" style="background-color:' . $evented_color_bg . ' !important;text-align:center;padding:0; margin:0;line-height:inherit;">
803
  <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="background:none;color:' . $evented_color . '; text-align:center;text-decoration:underline;"
804
  href="' . add_query_arg(array(
805
  'action' => ((isset($ev_id[1])) ? 'spiderseemore' : 'spidercalendarbig'),
862
  'cat_id' => '',
863
  'cat_ids' => $cat_ids,
864
  'TB_iframe' => 1,
865
+ ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" style="cursor:pointer;font-size:<?php echo $year_font_size; ?>px;color:<?php echo $year_font_color; ?>;text-align: center;background-color:<?php echo $year_tabs_bg_color; ?> !important">
866
  <?php echo ($year - 1); ?>
867
  </td>
868
  <td colspan="3" style="font-size:<?php echo $year_font_size + 2; ?>px;color:<?php echo $year_font_color; ?>;text-align: center;border-right:1px solid <?php echo $cell_border_color; ?>;border-left:1px solid <?php echo $cell_border_color; ?>">
881
  'cat_id' => '',
882
  'cat_ids' => $cat_ids,
883
  'TB_iframe' => 1,
884
+ ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" style="cursor:pointer;font-size:<?php echo $year_font_size; ?>px;text-align: center;background-color:<?php echo $year_tabs_bg_color; ?> !important;color:<?php echo $year_font_color; ?> !important">
885
  <?php echo ($year + 1); ?>
886
  </td>
887
  </tr>
947
 
948
  ?>
949
 
950
+ <li style="height:30px"><p class="categories1" style="background-color:#<?php echo str_replace('#','',$category->color);?> !important">&nbsp;&nbsp;&nbsp;&nbsp;</p><p class="categories2" id="category<?php echo $category->id ?>" style="color:#<?php echo str_replace('#','',$category->color); ?> !important" onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
951
  'action' => 'spiderbigcalendar_month_widget',
952
  'theme_id' => $theme_id,
953
  'calendar' => $calendar_id,
963
  }
964
  if (!empty($categories)) {
965
  ?>
966
+ <li style="height:30px"><p class="categories1" style="background-color:#<?php echo str_replace('#','',$bg);?> !important">&nbsp;&nbsp;&nbsp;&nbsp;</p><p class="categories2" id="category0" style="color:#<?php echo str_replace('#','',$bg); ?> !important" onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
967
  'action' => 'spiderbigcalendar_month_widget',
968
  'theme_id' => $theme_id,
969
  'calendar' => $calendar_id,
front_end/bigcalendarweek.php CHANGED
@@ -458,11 +458,11 @@ $cat_ids = substr($cat_ids, 0,-1);
458
  border:1px solid <?php echo $cell_border_color; ?>;
459
  vertical-align:top;
460
  text-align:left;
461
- background-color:<?php echo $sundays_bg_color; ?>;
462
  }
463
  #bigcalendar<?php echo $many_sp_calendar; ?> .views {
464
  float: right;
465
- background-color: <?php echo $views_tabs_bg_color; ?>;
466
  min-height: 25px;
467
  min-width: 70px;
468
  margin-right: 2px;
@@ -479,7 +479,7 @@ $cat_ids = substr($cat_ids, 0,-1);
479
  #bigcalendar<?php echo $many_sp_calendar; ?> #views_select
480
  {
481
 
482
- background-color: <?php echo $views_tabs_bg_color?> ;
483
  width: 120px;
484
  text-align: center;
485
  cursor: pointer;
@@ -501,7 +501,7 @@ position: relative;
501
 
502
  #drop_down_views >li:hover .views_select, #drop_down_views >li.active .views_select
503
  {
504
- background:<?php echo $bg_top ?>;
505
  }
506
 
507
  #drop_down_views >li
@@ -522,7 +522,7 @@ position: relative;
522
  <tr>
523
  <td>
524
  <div id="views_tabs" style="width: 100%;<?php echo $display; ?>">
525
- <div class="views" style="<?php if (!in_array('day', $views) AND $defaultview != 'day') echo 'display:none;'; if ($view == 'bigcalendarday') echo 'background-color:' . $bg_top . ';top:0;'; ?>"
526
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
527
  'action' => 'spiderbigcalendar_day',
528
  'theme_id' => $theme_id,
@@ -537,7 +537,7 @@ position: relative;
537
  'rand' => $many_sp_calendar,
538
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px"><?php echo __('Day', 'sp_calendar'); ?></span>
539
  </div>
540
- <div class="views" style="<?php if (!in_array('week', $views) AND $defaultview != 'week') echo 'display:none;'; if ($view == 'bigcalendarweek') echo 'background-color:' . $bg_top . ';top:0;'; ?>"
541
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
542
  'action' => 'spiderbigcalendar_week',
543
  'theme_id' => $theme_id,
@@ -553,7 +553,7 @@ position: relative;
553
  'rand' => $many_sp_calendar,
554
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px"><?php echo __('Week', 'sp_calendar'); ?></span>
555
  </div>
556
- <div class="views" style="<?php if (!in_array('list', $views) AND $defaultview != 'list') echo 'display:none;'; if ($view == 'bigcalendarlist') echo 'background-color:' . $bg_top . ';top:0;' ?>"
557
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
558
  'action' => 'spiderbigcalendar_list',
559
  'theme_id' => $theme_id,
@@ -568,7 +568,7 @@ position: relative;
568
  'rand' => $many_sp_calendar,
569
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px"><?php echo __('List', 'sp_calendar'); ?></span>
570
  </div>
571
- <div class="views" style="<?php if (!in_array('month', $views) AND $defaultview != 'month') echo 'display:none;'; if ($view == 'bigcalendarmonth') echo 'background-color:' . $bg_top . ';top:0;'; ?>"
572
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
573
  'action' => 'spiderbigcalendar_month',
574
  'theme_id' => $theme_id,
@@ -585,7 +585,7 @@ position: relative;
585
  </div>
586
  </div>
587
  <div id="views_tabs_select" style="display:none" >
588
- <div id="views_select" style="background-color:<?php echo $bg_top?>;color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px">
589
  <?php if($view=='bigcalendarday') echo 'Day'; ?>
590
  <?php if($view=='bigcalendarmonth') echo 'Month'; ?>
591
  <?php if($view=='bigcalendarweek') echo 'Week'; ?>
@@ -667,7 +667,7 @@ position: relative;
667
  </tr>
668
  <tr>
669
  <td>
670
- <table cellpadding="0" cellspacing="0" class="general_table" style="border-spacing:0; width:100%;border:<?php echo $border_color; ?> solid <?php echo $border_width; ?>px; margin:0; padding:0;background-color:<?php echo $bg_bottom; ?>;">
671
  <tr>
672
  <td width="100%" style="padding:0; margin:0">
673
  <table cellpadding="0" cellspacing="0" border="0" style="border-spacing:0; font-size:12px; margin:0; padding:0; width:100%;">
@@ -844,7 +844,7 @@ position: relative;
844
  $month_name = month_name($month);
845
  echo '<table style="width:100%;border-spacing:0;">
846
  <tr>
847
- <td style="height:' . $date_height . 'px;font-size:' . $date_font_size . 'px; padding-left:10px;background-color:' . $date_bg_color . '; color:#6E7276">
848
  <span style="padding-left:10px; font-size:' . $date_font_size . 'px; color:' . $week_font_color . '">' . week_convert($week_day) . '</span>
849
  <span style="font-size:' . $day_month_font_size . 'px;color:' . $day_month_font_color . '">(' . __($month_name,'sp_calendar') . ' ' . (int) $day . ')</span>
850
  </td>
@@ -874,9 +874,9 @@ position: relative;
874
  $table_color = $event_bg_color1;
875
  }
876
  if(!isset($cat_color->color)) { $cat_color = new stdClass; $cat_color->color="";};
877
- echo '<table style="height:' . $event_table_height . 'px;border-spacing:0;width: 100%;background-color:' . $table_color . '" class="week_list">
878
  <tr>
879
- <td class="week_ev" style="font-size:' . $event_num_font_size . 'px;font-weight:bold;width:15px;text-align:center;background-color: #' . str_replace('#','',$cat_color->color) . ';color:' . $event_num_color . '">' . (($show_numbers_for_events) ? ($j + 1) : '') . '</td>
880
  <td>
881
  <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="text-decoration:none;font-size:15px;background:none;color:' . $event_title_color . ';"
882
  href="' . add_query_arg(array(
@@ -904,7 +904,7 @@ position: relative;
904
  else {
905
  echo '<table style="height:' . $event_table_height . 'px;border-spacing:0;width: 100%;background-color:' . $event_bg_color1 . '" class="week_list">
906
  <tr>
907
- <td class="week_ev" style="font-size:22px; font-weight:bold; width:15px;text-align:center;background-color:' . $event_num_bg_color1 . ';color:' . $event_num_color . '"></td>
908
  <td><p style="color:' . $event_title_color . '; border:none">&nbsp;' . __('There Is No Event In This Day', 'sp_calendar') . '</p></td>
909
  </tr>
910
  </table>';
@@ -1014,7 +1014,7 @@ foreach($categories as $category)
1014
 
1015
  ?>
1016
 
1017
- <li style="float:left;"><p class="categories1" style="background-color:#<?php echo str_replace('#','',$category->color); ?>">&nbsp;&nbsp;&nbsp;&nbsp;</p><p class="categories2" id="category<?php echo $category->id ?>" style="color:#<?php echo str_replace('#','',$category->color); ?>" onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
1018
  'action' => 'spiderbigcalendar_week',
1019
  'theme_id' => $theme_id,
1020
  'calendar' => $calendar_id,
@@ -1033,7 +1033,7 @@ foreach($categories as $category)
1033
  }
1034
  if (!empty($categories)) {
1035
  ?>
1036
- <li style="float:left;"><p class="categories1" style="background-color:#<?php echo str_replace('#','',$bg_top); ?>">&nbsp;&nbsp;&nbsp;&nbsp;</p><p class="categories2" id="category0" style="color:#<?php echo str_replace('#','',$bg_top); ?>" onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
1037
  'action' => 'spiderbigcalendar_week',
1038
  'theme_id' => $theme_id,
1039
  'calendar' => $calendar_id,
458
  border:1px solid <?php echo $cell_border_color; ?>;
459
  vertical-align:top;
460
  text-align:left;
461
+ background-color:<?php echo $sundays_bg_color; ?> !important;
462
  }
463
  #bigcalendar<?php echo $many_sp_calendar; ?> .views {
464
  float: right;
465
+ background-color: <?php echo $views_tabs_bg_color; ?> !important;
466
  min-height: 25px;
467
  min-width: 70px;
468
  margin-right: 2px;
479
  #bigcalendar<?php echo $many_sp_calendar; ?> #views_select
480
  {
481
 
482
+ background-color: <?php echo $views_tabs_bg_color?> !important;
483
  width: 120px;
484
  text-align: center;
485
  cursor: pointer;
501
 
502
  #drop_down_views >li:hover .views_select, #drop_down_views >li.active .views_select
503
  {
504
+ background:<?php echo $bg_top ?> !important;
505
  }
506
 
507
  #drop_down_views >li
522
  <tr>
523
  <td>
524
  <div id="views_tabs" style="width: 100%;<?php echo $display; ?>">
525
+ <div class="views" style="<?php if (!in_array('day', $views) AND $defaultview != 'day') echo 'display:none;'; if ($view == 'bigcalendarday') echo 'background-color:' . $bg_top . ' !important;top:0;'; ?>"
526
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
527
  'action' => 'spiderbigcalendar_day',
528
  'theme_id' => $theme_id,
537
  'rand' => $many_sp_calendar,
538
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px"><?php echo __('Day', 'sp_calendar'); ?></span>
539
  </div>
540
+ <div class="views" style="<?php if (!in_array('week', $views) AND $defaultview != 'week') echo 'display:none;'; if ($view == 'bigcalendarweek') echo 'background-color:' . $bg_top . ' !important;top:0;'; ?>"
541
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
542
  'action' => 'spiderbigcalendar_week',
543
  'theme_id' => $theme_id,
553
  'rand' => $many_sp_calendar,
554
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px"><?php echo __('Week', 'sp_calendar'); ?></span>
555
  </div>
556
+ <div class="views" style="<?php if (!in_array('list', $views) AND $defaultview != 'list') echo 'display:none;'; if ($view == 'bigcalendarlist') echo 'background-color:' . $bg_top . ' !important;top:0;' ?>"
557
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
558
  'action' => 'spiderbigcalendar_list',
559
  'theme_id' => $theme_id,
568
  'rand' => $many_sp_calendar,
569
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px"><?php echo __('List', 'sp_calendar'); ?></span>
570
  </div>
571
+ <div class="views" style="<?php if (!in_array('month', $views) AND $defaultview != 'month') echo 'display:none;'; if ($view == 'bigcalendarmonth') echo 'background-color:' . $bg_top . ' !important;top:0;'; ?>"
572
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
573
  'action' => 'spiderbigcalendar_month',
574
  'theme_id' => $theme_id,
585
  </div>
586
  </div>
587
  <div id="views_tabs_select" style="display:none" >
588
+ <div id="views_select" style="background-color:<?php echo $bg_top?> !important;color:<?php echo $views_tabs_text_color ?> !important;font-size:<?php echo $views_tabs_font_size ?>px">
589
  <?php if($view=='bigcalendarday') echo 'Day'; ?>
590
  <?php if($view=='bigcalendarmonth') echo 'Month'; ?>
591
  <?php if($view=='bigcalendarweek') echo 'Week'; ?>
667
  </tr>
668
  <tr>
669
  <td>
670
+ <table cellpadding="0" cellspacing="0" class="general_table" style="border-spacing:0; width:100%;border:<?php echo $border_color; ?> solid <?php echo $border_width; ?>px; margin:0; padding:0;background-color:<?php echo $bg_bottom; ?> !important;">
671
  <tr>
672
  <td width="100%" style="padding:0; margin:0">
673
  <table cellpadding="0" cellspacing="0" border="0" style="border-spacing:0; font-size:12px; margin:0; padding:0; width:100%;">
844
  $month_name = month_name($month);
845
  echo '<table style="width:100%;border-spacing:0;">
846
  <tr>
847
+ <td style="height:' . $date_height . 'px;font-size:' . $date_font_size . 'px; padding-left:10px;background-color:' . $date_bg_color . ' !important; color:#6E7276">
848
  <span style="padding-left:10px; font-size:' . $date_font_size . 'px; color:' . $week_font_color . '">' . week_convert($week_day) . '</span>
849
  <span style="font-size:' . $day_month_font_size . 'px;color:' . $day_month_font_color . '">(' . __($month_name,'sp_calendar') . ' ' . (int) $day . ')</span>
850
  </td>
874
  $table_color = $event_bg_color1;
875
  }
876
  if(!isset($cat_color->color)) { $cat_color = new stdClass; $cat_color->color="";};
877
+ echo '<table style="height:' . $event_table_height . 'px;border-spacing:0;width: 100%;background-color:' . $table_color . ' !important" class="week_list">
878
  <tr>
879
+ <td class="week_ev" style="font-size:' . $event_num_font_size . 'px;font-weight:bold;width:15px;text-align:center;background-color: #' . str_replace('#','',$cat_color->color) . ' !important;color:' . $event_num_color . ' !important">' . (($show_numbers_for_events) ? ($j + 1) : '') . '</td>
880
  <td>
881
  <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="text-decoration:none;font-size:15px;background:none;color:' . $event_title_color . ';"
882
  href="' . add_query_arg(array(
904
  else {
905
  echo '<table style="height:' . $event_table_height . 'px;border-spacing:0;width: 100%;background-color:' . $event_bg_color1 . '" class="week_list">
906
  <tr>
907
+ <td class="week_ev" style="font-size:22px; font-weight:bold; width:15px;text-align:center;background-color:' . $event_num_bg_color1 . ' !important;color:' . $event_num_color . ' !important"></td>
908
  <td><p style="color:' . $event_title_color . '; border:none">&nbsp;' . __('There Is No Event In This Day', 'sp_calendar') . '</p></td>
909
  </tr>
910
  </table>';
1014
 
1015
  ?>
1016
 
1017
+ <li style="float:left;"><p class="categories1" style="background-color:#<?php echo str_replace('#','',$category->color); ?> !important">&nbsp;&nbsp;&nbsp;&nbsp;</p><p class="categories2" id="category<?php echo $category->id ?>" style="color:#<?php echo str_replace('#','',$category->color); ?> !important" onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
1018
  'action' => 'spiderbigcalendar_week',
1019
  'theme_id' => $theme_id,
1020
  'calendar' => $calendar_id,
1033
  }
1034
  if (!empty($categories)) {
1035
  ?>
1036
+ <li style="float:left;"><p class="categories1" style="background-color:#<?php echo str_replace('#','',$bg_top); ?> !important">&nbsp;&nbsp;&nbsp;&nbsp;</p><p class="categories2" id="category0" style="color:#<?php echo str_replace('#','',$bg_top); ?> !important" onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
1037
  'action' => 'spiderbigcalendar_week',
1038
  'theme_id' => $theme_id,
1039
  'calendar' => $calendar_id,
front_end/bigcalendarweek_widget.php CHANGED
@@ -113,7 +113,7 @@ $cat_ids = substr($cat_ids, 0,-1);
113
  $font_month = $theme->font_month;
114
  $font_day = $theme->font_day;
115
  $font_weekday = $theme->font_weekday;
116
- $ev_title_color = $theme->ev_title_color;
117
  $popup_width = $theme->popup_width;
118
  $popup_height = $theme->popup_height;
119
 
@@ -254,7 +254,7 @@ $cat_ids = substr($cat_ids, 0,-1);
254
  width: 100%;
255
  }
256
  #calendar_<?php echo $many_sp_calendar; ?> .calbg {
257
- background-color:<?php echo $bg; ?>;
258
  text-align:center;
259
  vertical-align: middle;
260
  }
@@ -279,7 +279,7 @@ $cat_ids = substr($cat_ids, 0,-1);
279
  }
280
  #calendar_<?php echo $many_sp_calendar; ?> .views {
281
  float: right;
282
- background-color: <?php echo $calendar_bg; ?>;
283
  height: 25px;
284
  width: <?php echo ($calendar_width / 4) - 2; ?>px;
285
  margin-left: 2px;
@@ -326,11 +326,11 @@ position: relative;
326
  }
327
  </style>
328
  <div id="calendar_<?php echo $many_sp_calendar; ?>" style="width:<?php echo $calendar_width; ?>px;">
329
- <table cellpadding="0" cellspacing="0" style="border-spacing:0; width:<?php echo $calendar_width; ?>px; margin:0; padding:0;background-color:<?php echo $calendar_bg; ?>">
330
  <tr style="background-color:#FFFFFF;">
331
  <td style="background-color:#FFFFFF;">
332
  <div id="views_tabs" style="width: 101%;margin-left: -2px;<?php echo $display; ?>">
333
- <div class="views" style="<?php if (!in_array('day', $views) AND $defaultview != 'day') echo 'display:none;'; if ($view == 'bigcalendarday_widget') echo 'background-color:' . $bg . ';height:28px;top:0;'; ?>"
334
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
335
  'action' => 'spiderbigcalendar_day_widget',
336
  'theme_id' => $theme_id,
@@ -345,7 +345,7 @@ position: relative;
345
  'TB_iframe' => 1,
346
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="line-height: 2;color:<?php echo $text_color_month; ?>;"><?php echo __('Day', 'sp_calendar'); ?></span>
347
  </div>
348
- <div class="views" style="margin-left: 3px;margin-right: 1px;<?php if (!in_array('week', $views) AND $defaultview != 'week') echo 'display:none;'; if ($view == 'bigcalendarweek_widget') echo 'background-color:' . $bg . ';height:28px;top:0;' ?>"
349
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
350
  'action' => 'spiderbigcalendar_week_widget',
351
  'theme_id' => $theme_id,
@@ -361,7 +361,7 @@ position: relative;
361
  'TB_iframe' => 1,
362
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="line-height: 2;color:<?php echo $text_color_month; ?>;"><?php echo __('Week', 'sp_calendar'); ?></span>
363
  </div>
364
- <div class="views" style="<?php if (!in_array('list', $views) AND $defaultview != 'list') echo 'display:none;'; if ($view == 'bigcalendarlist_widget') echo 'background-color:' . $bg . ';height:28px;top:0;' ?>"
365
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar ?>', '<?php echo add_query_arg(array(
366
  'action' => 'spiderbigcalendar_list_widget',
367
  'theme_id' => $theme_id,
@@ -376,7 +376,7 @@ position: relative;
376
  'TB_iframe' => 1,
377
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')"><span style="line-height: 2;color:<?php echo $text_color_month; ?>;"><?php echo __('List', 'sp_calendar'); ?></span>
378
  </div>
379
- <div class="views" style="<?php if (!in_array('month', $views) AND $defaultview != 'month') echo 'display:none;'; if ($view == 'bigcalendarmonth_widget') echo 'background-color:' . $bg . ';height:28px;top:0;'; ?>"
380
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
381
  'action' => 'spiderbigcalendar_month_widget',
382
  'theme_id' => $theme_id,
@@ -538,7 +538,7 @@ position: relative;
538
  $month_name = month_name($month);
539
  echo '<table style="width:100%;border-spacing:0;">
540
  <tr>
541
- <td style="height:14px;font-size:12px; padding-left:10px; background-color:#D6D4D5; color:#6E7276">
542
  <span style="padding-left:10px; font-size:12px; color:' . $color_week_days . '">' . week_convert($week_day) . '</span>
543
  <span style="font-size:12px;color:#949394;">(' . __($month_name,'sp_calendar') . ' ' . (int) $day . ')</span>
544
  </td>
@@ -568,9 +568,9 @@ position: relative;
568
  $table_color = $calendar_bg;
569
  }
570
  if(!isset($cat_color->color)) { $cat_color = new stdClass; $cat_color->color="";};
571
- echo '<table style="height:14px;border-spacing:0;width: 100%;background-color:' . $table_color . '">
572
  <tr>
573
- <td style="font-size:14px;font-weight:bold;width:15px;text-align:center;background-color: #' . str_replace('#','',$cat_color->color) . ';color:' . $calendar_bg . '">' . ($j + 1) . '</td>
574
  <td>
575
  <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="text-decoration:none;font-size:15px;background:none;color:' . $ev_title_color . ';"
576
  href="' . add_query_arg(array(
@@ -598,7 +598,7 @@ position: relative;
598
  else {
599
  echo '<table style="height:14px;border-spacing:0;width: 100%;background-color:#D6D4D5;">
600
  <tr>
601
- <td style="font-size:22px; font-weight:bold; width:15px;text-align:center;background-color:' . $bg . ';color:#949394;"></td>
602
  <td><p style="font-size:12px;color:' . $bg . '; border:none">&nbsp;' . __('There Is No Event In This Day', 'sp_calendar') . '</p></td>
603
  </tr>
604
  </table>';
@@ -623,7 +623,7 @@ position: relative;
623
  'cat_id' => '',
624
  'cat_ids' => $cat_ids,
625
  'TB_iframe' => 1,
626
- ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" style="cursor:pointer;font-size:<?php echo $year_font_size; ?>px;color:<?php echo $year_font_color; ?>;text-align: center;background-color:<?php echo $year_tabs_bg_color; ?>">
627
  <?php echo ($year - 1); ?>
628
  </td>
629
  <td colspan="3" style="font-size:<?php echo $year_font_size + 2; ?>px;color:<?php echo $year_font_color; ?>;text-align: center;border-right:1px solid <?php echo $cell_border_color; ?>;border-left:1px solid <?php echo $cell_border_color; ?>">
@@ -643,7 +643,7 @@ position: relative;
643
  'cat_id' => '',
644
  'cat_ids' => $cat_ids,
645
  'TB_iframe' => 1,
646
- ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" style="cursor:pointer;font-size:<?php echo $year_font_size; ?>px;text-align: center;background-color:<?php echo $year_tabs_bg_color; ?>;color:<?php echo $year_font_color; ?>">
647
  <?php echo ($year + 1); ?>
648
  </td>
649
  </tr>
@@ -705,7 +705,7 @@ echo '<ul id="cats_widget_'.$many_sp_calendar.'" style="list-style-type:none;">'
705
  foreach($categories as $category)
706
  {
707
  ?>
708
- <li style="height:30px"><p class="categories1" style="background-color:#<?php echo str_replace('#','',$category->color);?>">&nbsp;&nbsp;&nbsp;&nbsp;</p><p class="categories2" id="category<?php echo $category->id ?>" style="color:#<?php echo str_replace('#','',$category->color); ?>" onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
709
  'action' => 'spiderbigcalendar_week_widget',
710
  'theme_id' => $theme_id,
711
  'calendar' => $calendar_id,
@@ -723,7 +723,7 @@ foreach($categories as $category)
723
  }
724
  if (!empty($categories)) {
725
  ?>
726
- <li style="height:30px"><p class="categories1" style="background-color:#<?php echo str_replace('#','',$bg); ?>">&nbsp;&nbsp;&nbsp;&nbsp;</p><p class="categories2" id="category0" style="color:#<?php echo str_replace('#','',$bg); ?>" onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
727
  'action' => 'spiderbigcalendar_week_widget',
728
  'theme_id' => $theme_id,
729
  'calendar' => $calendar_id,
113
  $font_month = $theme->font_month;
114
  $font_day = $theme->font_day;
115
  $font_weekday = $theme->font_weekday;
116
+ $ev_title_color = '#' . str_replace('#','',$theme->ev_title_color);
117
  $popup_width = $theme->popup_width;
118
  $popup_height = $theme->popup_height;
119
 
254
  width: 100%;
255
  }
256
  #calendar_<?php echo $many_sp_calendar; ?> .calbg {
257
+ background-color:<?php echo $bg; ?> !important;
258
  text-align:center;
259
  vertical-align: middle;
260
  }
279
  }
280
  #calendar_<?php echo $many_sp_calendar; ?> .views {
281
  float: right;
282
+ background-color: <?php echo $calendar_bg; ?> !important;
283
  height: 25px;
284
  width: <?php echo ($calendar_width / 4) - 2; ?>px;
285
  margin-left: 2px;
326
  }
327
  </style>
328
  <div id="calendar_<?php echo $many_sp_calendar; ?>" style="width:<?php echo $calendar_width; ?>px;">
329
+ <table cellpadding="0" cellspacing="0" style="border-spacing:0; width:<?php echo $calendar_width; ?>px; margin:0; padding:0;background-color:<?php echo $calendar_bg; ?> !important">
330
  <tr style="background-color:#FFFFFF;">
331
  <td style="background-color:#FFFFFF;">
332
  <div id="views_tabs" style="width: 101%;margin-left: -2px;<?php echo $display; ?>">
333
+ <div class="views" style="<?php if (!in_array('day', $views) AND $defaultview != 'day') echo 'display:none;'; if ($view == 'bigcalendarday_widget') echo 'background-color:' . $bg . ' !important;height:28px;top:0;'; ?>"
334
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
335
  'action' => 'spiderbigcalendar_day_widget',
336
  'theme_id' => $theme_id,
345
  'TB_iframe' => 1,
346
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="line-height: 2;color:<?php echo $text_color_month; ?>;"><?php echo __('Day', 'sp_calendar'); ?></span>
347
  </div>
348
+ <div class="views" style="margin-left: 3px;margin-right: 1px;<?php if (!in_array('week', $views) AND $defaultview != 'week') echo 'display:none;'; if ($view == 'bigcalendarweek_widget') echo 'background-color:' . $bg . ' !important;height:28px;top:0;' ?>"
349
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
350
  'action' => 'spiderbigcalendar_week_widget',
351
  'theme_id' => $theme_id,
361
  'TB_iframe' => 1,
362
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="line-height: 2;color:<?php echo $text_color_month; ?>;"><?php echo __('Week', 'sp_calendar'); ?></span>
363
  </div>
364
+ <div class="views" style="<?php if (!in_array('list', $views) AND $defaultview != 'list') echo 'display:none;'; if ($view == 'bigcalendarlist_widget') echo 'background-color:' . $bg . ' !important;height:28px;top:0;' ?>"
365
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar ?>', '<?php echo add_query_arg(array(
366
  'action' => 'spiderbigcalendar_list_widget',
367
  'theme_id' => $theme_id,
376
  'TB_iframe' => 1,
377
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')"><span style="line-height: 2;color:<?php echo $text_color_month; ?>;"><?php echo __('List', 'sp_calendar'); ?></span>
378
  </div>
379
+ <div class="views" style="<?php if (!in_array('month', $views) AND $defaultview != 'month') echo 'display:none;'; if ($view == 'bigcalendarmonth_widget') echo 'background-color:' . $bg . ' !important;height:28px;top:0;'; ?>"
380
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
381
  'action' => 'spiderbigcalendar_month_widget',
382
  'theme_id' => $theme_id,
538
  $month_name = month_name($month);
539
  echo '<table style="width:100%;border-spacing:0;">
540
  <tr>
541
+ <td style="height:14px;font-size:12px; padding-left:10px; background-color:#D6D4D5 !important; color:#6E7276">
542
  <span style="padding-left:10px; font-size:12px; color:' . $color_week_days . '">' . week_convert($week_day) . '</span>
543
  <span style="font-size:12px;color:#949394;">(' . __($month_name,'sp_calendar') . ' ' . (int) $day . ')</span>
544
  </td>
568
  $table_color = $calendar_bg;
569
  }
570
  if(!isset($cat_color->color)) { $cat_color = new stdClass; $cat_color->color="";};
571
+ echo '<table style="height:14px;border-spacing:0;width: 100%;background-color:' . $table_color . ' !important">
572
  <tr>
573
+ <td style="font-size:14px;font-weight:bold;width:15px;text-align:center;background-color: #' . str_replace('#','',$cat_color->color) . ' !important;color:' . $calendar_bg . ' !important">' . ($j + 1) . '</td>
574
  <td>
575
  <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="text-decoration:none;font-size:15px;background:none;color:' . $ev_title_color . ';"
576
  href="' . add_query_arg(array(
598
  else {
599
  echo '<table style="height:14px;border-spacing:0;width: 100%;background-color:#D6D4D5;">
600
  <tr>
601
+ <td style="font-size:22px; font-weight:bold; width:15px;text-align:center;background-color:' . $bg . ' !important;color:#949394;"></td>
602
  <td><p style="font-size:12px;color:' . $bg . '; border:none">&nbsp;' . __('There Is No Event In This Day', 'sp_calendar') . '</p></td>
603
  </tr>
604
  </table>';
623
  'cat_id' => '',
624
  'cat_ids' => $cat_ids,
625
  'TB_iframe' => 1,
626
+ ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" style="cursor:pointer;font-size:<?php echo $year_font_size; ?>px;color:<?php echo $year_font_color; ?>;text-align: center;background-color:<?php echo $year_tabs_bg_color; ?> !important">
627
  <?php echo ($year - 1); ?>
628
  </td>
629
  <td colspan="3" style="font-size:<?php echo $year_font_size + 2; ?>px;color:<?php echo $year_font_color; ?>;text-align: center;border-right:1px solid <?php echo $cell_border_color; ?>;border-left:1px solid <?php echo $cell_border_color; ?>">
643
  'cat_id' => '',
644
  'cat_ids' => $cat_ids,
645
  'TB_iframe' => 1,
646
+ ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" style="cursor:pointer;font-size:<?php echo $year_font_size; ?>px;text-align: center;background-color:<?php echo $year_tabs_bg_color; ?> !important;color:<?php echo $year_font_color; ?> !important">
647
  <?php echo ($year + 1); ?>
648
  </td>
649
  </tr>
705
  foreach($categories as $category)
706
  {
707
  ?>
708
+ <li style="height:30px"><p class="categories1" style="background-color:#<?php echo str_replace('#','',$category->color);?> !important">&nbsp;&nbsp;&nbsp;&nbsp;</p><p class="categories2" id="category<?php echo $category->id ?>" style="color:#<?php echo str_replace('#','',$category->color); ?> !important" onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
709
  'action' => 'spiderbigcalendar_week_widget',
710
  'theme_id' => $theme_id,
711
  'calendar' => $calendar_id,
723
  }
724
  if (!empty($categories)) {
725
  ?>
726
+ <li style="height:30px"><p class="categories1" style="background-color:#<?php echo str_replace('#','',$bg); ?> !important">&nbsp;&nbsp;&nbsp;&nbsp;</p><p class="categories2" id="category0" style="color:#<?php echo str_replace('#','',$bg); ?> !important" onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
727
  'action' => 'spiderbigcalendar_week_widget',
728
  'theme_id' => $theme_id,
729
  'calendar' => $calendar_id,
front_end/frontend_functions.php CHANGED
@@ -30,11 +30,7 @@ function php_Month_num($month_name) {
30
  }
31
 
32
  function php_GetNextDate($beginDate, $repeat) {
33
- //explode the date by "-" and storing to array
34
- $date_parts1 = explode("-", $beginDate);
35
- //gregoriantojd() Converts a Gregorian date to Julian Day Count
36
- $start_date = gregoriantojd($date_parts1[1], $date_parts1[2], $date_parts1[0]);
37
- return jdtogregorian($start_date + $repeat);
38
  }
39
 
40
  function php_daysDifference($beginDate, $endDate) {
@@ -42,9 +38,10 @@ function php_daysDifference($beginDate, $endDate) {
42
  $date_parts1 = explode("-", $beginDate);
43
  $date_parts2 = explode("-", $endDate);
44
  //gregoriantojd() Converts a Gregorian date to Julian Day Count
45
- $start_date = gregoriantojd($date_parts1[1], $date_parts1[2], $date_parts1[0]);
46
- $end_date = gregoriantojd($date_parts2[1], $date_parts2[2], $date_parts2[0]);
47
- return $end_date - $start_date;
 
48
  }
49
 
50
  function php_getdays($show_numbers_for_events, $calendar, $date, $theme_id, $widget) {
30
  }
31
 
32
  function php_GetNextDate($beginDate, $repeat) {
33
+ return date('n/j/Y',strtotime($beginDate.' +'.$repeat.' day'));
 
 
 
 
34
  }
35
 
36
  function php_daysDifference($beginDate, $endDate) {
38
  $date_parts1 = explode("-", $beginDate);
39
  $date_parts2 = explode("-", $endDate);
40
  //gregoriantojd() Converts a Gregorian date to Julian Day Count
41
+ $start_date = mktime(0,0,0,$date_parts1[1], $date_parts1[2], $date_parts1[0]);
42
+ $end_date = mktime(0,0,0,$date_parts2[1], $date_parts2[2], $date_parts2[0]);
43
+ $diff= floor(($end_date - $start_date)/86400);
44
+ return $diff;
45
  }
46
 
47
  function php_getdays($show_numbers_for_events, $calendar, $date, $theme_id, $widget) {
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://web-dorado.com/products/wordpress-calendar.html
4
  Tags: calendar, calendars, event, event calendar, event manager, events calendar,calendar widget, event registration, event management,events, Kalender, agenda, calendario, availability calendar,o nline calendar, holiday calendar, scheduling, free calendar, Calender, upcoming events, event widget , event list, calendar localization, Organizer, editorial calendar, Interactive Calendar, news calendar, meeting, appointment, event tracking, event organizer, upcoming events widget, event page, event bookings, recurring, recurring events, conference, date, dates, schedule, times, venue, AJAX, responsive, shortcode, seminar, summit
5
  Requires at least: 3.4
6
  Tested up to: 4.2
7
- Stable tag: 1.4.21
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.4.21 =
146
  Edit featured plugins
147
 
4
  Tags: calendar, calendars, event, event calendar, event manager, events calendar,calendar widget, event registration, event management,events, Kalender, agenda, calendario, availability calendar,o nline calendar, holiday calendar, scheduling, free calendar, Calender, upcoming events, event widget , event list, calendar localization, Organizer, editorial calendar, Interactive Calendar, news calendar, meeting, appointment, event tracking, event organizer, upcoming events widget, event page, event bookings, recurring, recurring events, conference, date, dates, schedule, times, venue, AJAX, responsive, shortcode, seminar, summit
5
  Requires at least: 3.4
6
  Tested up to: 4.2
7
+ Stable tag: 1.4.22
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
142
 
143
  == Changelog ==
144
 
145
+ = 1.4.22 =
146
+ Fixed: Conflict with some themes
147
+
148
  = 1.4.21 =
149
  Edit featured plugins
150