Calendar by WD – Responsive Event Calendar - Version 1.5.36

Version Description

Changed: Default themes redesigned.
Fixed: SEO issue.
Fixed: Bug in calendar quick edit.
Fixed: Bug in Theme preview.
Added: Shortcodes support in event description.
Added: Capability to copy event.
Fixed: Translations.

Download this release

Release Info

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

Code changes from version 1.5.35 to 1.5.36

Files changed (48) hide show
  1. Themes_function.html.php +6 -5
  2. calendar.php +232 -180
  3. calendar_functions.html.php +28 -20
  4. calendar_functions.php +15 -1
  5. featured_plugins.css +122 -31
  6. featured_themes.css +105 -22
  7. front_end/bigcalendarday.php +34 -19
  8. front_end/bigcalendarday_widget.php +10 -3
  9. front_end/bigcalendarlist.php +37 -21
  10. front_end/bigcalendarlist_widget.php +10 -3
  11. front_end/bigcalendarmonth.php +412 -301
  12. front_end/bigcalendarmonth_widget.php +11 -5
  13. front_end/bigcalendarweek.php +35 -18
  14. front_end/bigcalendarweek_widget.php +10 -3
  15. front_end/frontend_functions.php +21 -5
  16. functions_for_xml_and_ajax.php +173 -154
  17. images/catalog.png +0 -0
  18. images/contact-form.png +0 -0
  19. images/contact.builder.png +0 -0
  20. images/contacts.png +0 -0
  21. images/copy_cal.gif +0 -0
  22. images/events_wd.png +0 -0
  23. images/facebook.png +0 -0
  24. images/faq.png +0 -0
  25. images/faq_wd.png +0 -0
  26. images/featured_plugins_bg.png +0 -0
  27. images/flash.calendar.png +0 -0
  28. images/folder.menu.png +0 -0
  29. images/form.png +0 -0
  30. images/instagram_feed.png +0 -0
  31. images/photo-gallery.png +0 -0
  32. images/player.png +0 -0
  33. images/post-slider.png +0 -0
  34. images/random.post.png +0 -0
  35. images/slider.png +0 -0
  36. images/spider.calendar.png +0 -0
  37. images/spider_calendar_themes.png +0 -0
  38. images/twittertools.png +0 -0
  39. images/zoom.png +0 -0
  40. languages/sp_calendar-de_DE.mo +0 -0
  41. languages/sp_calendar-de_DE.po +5 -5
  42. languages/sp_calendar-sl_SI.mo +0 -0
  43. languages/sp_calendar-sl_SI.po +351 -0
  44. readme.txt +10 -1
  45. spider_calendar_admin_class.php +1 -1
  46. spider_calendar_update.php +3 -3
  47. spidercalendar_upcoming_events_widget.php +1 -1
  48. widget_Themes_function.html.php +4 -4
Themes_function.html.php CHANGED
@@ -5,25 +5,26 @@ if (!current_user_can('manage_options')) {
5
  }
6
 
7
  function html_show_theme_calendar() {
 
8
  ?>
9
  <div class="updated" style="font-size: 14px; color:red !important">
10
  <p><strong>
11
- <a href="https://web-dorado.com/products/wordpress-calendar.html" target="_blank" style="color:red; text-decoration:none;"> This feature is disabled for the non-commercial version.</a>
12
  </strong></p>
13
  </div>
14
  <table width="95%">
15
  <tr>
16
  <td width="100%" style="font-size:14px; font-weight:bold">
17
- <a href="https://web-dorado.com/wordpress-spider-calendar/adding-themes/general-parameters.html" target="_blank" style="color:blue; text-decoration:none;">User Manual</a><br />
18
  This section allows you to create/edit themes for the calendars.<br />
19
  This feature is disabled for the non-commercial version.
20
- <a href="https://web-dorado.com/wordpress-spider-calendar/adding-themes/general-parameters.html" target="_blank" style="color:blue; text-decoration:none;">More...</a><br />
21
- Here are some examples of 17 standard templates included in the commercial version.
22
  <a href="http://wpdemo.web-dorado.com/spider-calendar/" target="_blank" style="color:blue; text-decoration:none;">Demo</a>
23
  </td>
24
  <td colspan="7" align="right" style="font-size:16px;">
25
  <a href="https://web-dorado.com/files/fromSpiderCalendarWP.php" target="_blank" style="color:red; text-decoration:none;">
26
- <img src="<?php echo plugins_url('images/header.png',__FILE__) ?>" border="0" alt="Upgrade to PRO" width="215">
27
  </a>
28
  </td>
29
  </tr>
5
  }
6
 
7
  function html_show_theme_calendar() {
8
+ global $wpdb;
9
  ?>
10
  <div class="updated" style="font-size: 14px; color:red !important">
11
  <p><strong>
12
+ <a href="https://web-dorado.com/files/fromSpiderCalendarWP.php" target="_blank" style="color:red; text-decoration:none;"> This feature is disabled for the non-commercial version.</a>
13
  </strong></p>
14
  </div>
15
  <table width="95%">
16
  <tr>
17
  <td width="100%" style="font-size:14px; font-weight:bold">
18
+ <a href="https://web-dorado.com/spider-calendar-wordpress-guide-step-5/5-1.html" target="_blank" style="color:blue; text-decoration:none;">User Manual</a><br />
19
  This section allows you to create/edit themes for the calendars.<br />
20
  This feature is disabled for the non-commercial version.
21
+ <a href="https://web-dorado.com/spider-calendar-wordpress-guide-step-5/5-1.html" target="_blank" style="color:blue; text-decoration:none;">More...</a><br />
22
+ Here are some examples of 12 standard templates included in the commercial version.
23
  <a href="http://wpdemo.web-dorado.com/spider-calendar/" target="_blank" style="color:blue; text-decoration:none;">Demo</a>
24
  </td>
25
  <td colspan="7" align="right" style="font-size:16px;">
26
  <a href="https://web-dorado.com/files/fromSpiderCalendarWP.php" target="_blank" style="color:red; text-decoration:none;">
27
+ <img src="<?php echo plugins_url('images/header.png',__FILE__) ?>" border="0" alt="https://web-dorado.com/files/fromSpiderCalendarWP.php" width="215">
28
  </a>
29
  </td>
30
  </tr>
calendar.php CHANGED
@@ -3,11 +3,11 @@
3
  Plugin Name: Spider Event Calendar
4
  Plugin URI: https://web-dorado.com/products/wordpress-calendar.html
5
  Description: Spider Event Calendar is a highly configurable product which allows you to have multiple organized events. Spider Event Calendar is an extraordinary user friendly extension.
6
- Version: 1.5.35
7
  Author: https://web-dorado.com/
8
  License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
9
  */
10
- $wd_spider_calendar_version="1.5.35";
11
  // LANGUAGE localization.
12
  function sp_calendar_language_load() {
13
  load_plugin_textdomain('sp_calendar', FALSE, basename(dirname(__FILE__)) . '/languages');
@@ -56,12 +56,12 @@ add_action('wp_enqueue_scripts', 'spider_calendar_scripts');
56
  $many_sp_calendar = 1;
57
  function spider_calendar_big($atts) {
58
  if (!isset($atts['default'])) {
59
- $atts['theme'] = 13;
60
  $atts['default'] = 'month';
61
  }
62
  extract(shortcode_atts(array(
63
  'id' => 'no Spider catalog',
64
- 'theme' => '13',
65
  'default' => 'month',
66
  'select' => 'month,list,day,week,',
67
  ), $atts));
@@ -73,7 +73,7 @@ function spider_calendar_big($atts) {
73
  add_shortcode('Spider_Calendar', 'spider_calendar_big');
74
 
75
  function spider_calendar_big_front_end($id, $theme, $default, $select, $widget = 0) {
76
- require_once("front_end/frontend_functions.php");
77
  ob_start();
78
  global $many_sp_calendar;
79
  global $wpdb;
@@ -92,7 +92,7 @@ $themes = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'spid
92
  var tb_closeImage = "<?php echo plugins_url('images/tb-close.png', __FILE__) ?>"
93
  var randi;
94
  if (typeof showbigcalendar != 'function') {
95
- function showbigcalendar(id, calendarlink, randi,widget) {
96
  var xmlHttp;
97
  try {
98
  xmlHttp = new XMLHttpRequest();// Firefox, Opera 8.0+, Safari
@@ -132,25 +132,12 @@ $themes = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'spid
132
  });
133
  if(widget!=1)
134
  {
135
- if(jQuery(window).width() > 640)
136
- {
137
  jQuery('drop_down_views').hide();
138
- var parent_width = document.getElementById('bigcalendar'+randi).parentNode.clientWidth;
139
- var calwidth= document.getElementById('cal_width'+randi).value;
140
- var responsive_width = (calwidth)/parent_width*100;
141
- document.getElementById('afterbig'+randi).setAttribute('style','width:'+responsive_width+'%;');
142
- jQuery('pop_table').css('height','100%');
143
- }
144
- else if(jQuery('#bigcalendar'+randi).parent().width() > 640)
145
- {
146
- jQuery('drop_down_views').hide();
147
- var parent_width = document.getElementById('bigcalendar'+randi).parentNode.clientWidth;
148
- var calwidth= document.getElementById('cal_width'+randi).value;
149
- var responsive_width = (calwidth)/parent_width*100;
150
- document.getElementById('afterbig'+randi).setAttribute('style','width:'+responsive_width+'%;');
151
- jQuery('pop_table').css('height','100%');
152
- }
153
- else document.getElementById('afterbig'+randi).setAttribute('style','width:100%;');
154
  }
155
  var thickDims, tbWidth, tbHeight;
156
  jQuery(document).ready(function ($) {
@@ -224,7 +211,8 @@ if(widget!=1)
224
  <?php global $wpdb;
225
  $calendarr = $wpdb->get_row($wpdb->prepare("SELECT * FROM " . $wpdb->prefix . "spidercalendar_calendar WHERE id='%d'", $id));
226
  $year = ($calendarr->def_year ? $calendarr->def_year : date("Y"));
227
- $month = ($calendarr->def_month ? $calendarr->def_month : date("m"));
 
228
  $date = $year . '-' . $month;
229
  if ($default == 'day') {
230
  $date .= '-' . date('d');
@@ -297,6 +285,7 @@ html.thickbox_open{
297
  #TB_title{
298
  background: #222;
299
  }
 
300
  .screen-reader-text,
301
  #views_select .arrow-down,
302
  #views_select .arrow-right{
@@ -354,6 +343,32 @@ html.thickbox_open{
354
  return $calendar;
355
  }
356
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
357
  // Quick edit.
358
  add_action('wp_ajax_spidercalendarinlineedit', 'spider_calendar_quick_edit');
359
  add_action('wp_ajax_spidercalendarinlineupdate', 'spider_calendar_quick_update');
@@ -378,13 +393,25 @@ function spider_calendar_quick_update() {
378
  '%s',
379
  ), array('%d'));
380
  $row = $wpdb->get_row($wpdb->prepare("SELECT * FROM " . $wpdb->prefix . "spidercalendar_calendar WHERE id='%d'", (int) $_POST['calendar_id']));
381
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
382
  <td><?php echo $row->id; ?></td>
383
  <td class="post-title page-title column-title">
384
  <a title="Manage Events" class="row-title" href="admin.php?page=SpiderCalendar&task=show_manage_event&calendar_id=<?php echo $row->id; ?>"><?php echo $row->title; ?></a>
385
- <div class="row-actions">
386
- <span class="edit">
387
- <a href="admin.php?page=SpiderCalendar&task=edit_calendar&id=<?php echo $row->id; ?>" title="Edit This Calendar">Edit</a> | </span>
388
  <span class="inline hide-if-no-js">
389
  <a href="#" class="editinline" onclick="show_calendar_inline(<?php echo $row->id; ?>)" title="Edit This Calendar Inline">Quick&nbsp;Edit</a> | </span>
390
  <span class="trash">
@@ -392,6 +419,7 @@ function spider_calendar_quick_update() {
392
  </div>
393
  </td>
394
  <td><a href="admin.php?page=SpiderCalendar&task=show_manage_event&calendar_id=<?php echo $row->id; ?>">Manage events</a></td>
 
395
  <td><a <?php if (!$row->published)
396
  echo 'style="color:#C00"'; ?>
397
  href="admin.php?page=SpiderCalendar&task=published&id=<?php echo $row->id; ?>"><?php if ($row->published)
@@ -519,12 +547,13 @@ function sp_calendar_options_panel() {
519
  }
520
 
521
  function Spider_calendar_Licensing() {
 
522
  ?>
523
  <div style="width:95%">
524
  <p>This plugin is the non-commercial version of the Spider Event Calendar. Use of the calendar is free.<br />
525
  The only limitation is the use of the themes. If you want to use one of the 11 standard themes or create a new one that
526
  satisfies the needs of your web site, you are required to purchase a license.<br />
527
- Purchasing a license will add 11 standard themes and give possibility to edit the themes of the Spider Event Calendar.
528
  </p>
529
  <br /><br />
530
  <a href="https://web-dorado.com/files/fromSpiderCalendarWP.php" class="button-primary" target="_blank">Purchase a License</a>
@@ -765,6 +794,13 @@ function Manage_Spider_Calendar() {
765
  die("Are you sure you want to do this?");
766
  remove_spider_event($calendar_id, $id);
767
  show_spider_event($calendar_id);
 
 
 
 
 
 
 
768
  break;
769
  case 'published_event';
770
  $nonce_sp_cal = $_REQUEST['_wpnonce'];
@@ -1041,138 +1077,6 @@ function Uninstall_sp_calendar() {
1041
  }
1042
  }
1043
 
1044
- function calendar_Featured_themes_styles() {
1045
- global $wd_spider_calendar_version;
1046
- wp_enqueue_style("Featured_themes", plugins_url("featured_themes.css", __FILE__), array(), $wd_spider_calendar_version);
1047
- }
1048
-
1049
- function calendar_Featured_themes() { ?>
1050
- <div id="main_featured_themes_page">
1051
- <table align="center" width="90%" style="margin-top: 0px;border-bottom: rgb(111, 111, 111) solid 1px;">
1052
- <tr>
1053
- <td colspan="2" style="height: 40px; padding: 30px 0px 0px 0px;">
1054
- <h3 style="margin: 0px;font-family:Segoe UI;padding-bottom: 15px;color: rgb(111, 111, 111); font-size:18pt;">Featured Themes</h3>
1055
- </td>
1056
- <td align="right" style="font-size:16px;"></td>
1057
- </tr>
1058
- </table>
1059
- <form method="post">
1060
- <ul id="featured-plugins-list">
1061
- <li class="portfolio">
1062
- <div class="product"></div>
1063
- <div class="title">
1064
- <strong class="heading">Portfolio Gallery Theme</strong>
1065
- </div>
1066
- <div class="description">
1067
- <p>Portfolio Gallery helps to display images using various color schemes and layouts combined with elegant fonts and content parts.</p>
1068
- </div>
1069
- <a target="_blank" href="https://web-dorado.com/wordpress-themes/portfolio-gallery.html" class="download">Download plugin >></a>
1070
- </li>
1071
- <li class="business_elite">
1072
- <div class="product"></div>
1073
- <div class="title">
1074
- <strong class="heading">Business Elite Theme</strong>
1075
- </div>
1076
- <div class="description">
1077
- <p>Business Elite is a robust parallax theme for business websites. The theme uses smooth transitions and many functional sections.</p>
1078
- </div>
1079
- <a target="_blank" href="https://web-dorado.com/wordpress-themes/business-elite.html" class="download">Download plugin >></a>
1080
- </li>
1081
- <li class="sauron">
1082
- <div class="product"></div>
1083
- <div class="title">
1084
- <strong class="heading">Sauron Theme</strong>
1085
- </div>
1086
- <div class="description">
1087
- <p>Sauron is a multipurpose parallax theme, which uses multiple interactive sections designed for the client-engagement.</p>
1088
- </div>
1089
- <a target="_blank" href="https://web-dorado.com/wordpress-themes/sauron.html" class="download">Download</a>
1090
- </li>
1091
- <li class="mottomag">
1092
- <div class="product"></div>
1093
- <div class="title">
1094
- <strong class="heading">MottoMag Theme</strong>
1095
- </div>
1096
- <div class="description">
1097
- <p>MottoMag is a vibrant, responsive theme which is a perfect choice for the combination of textual content with videos and images.</p>
1098
- </div>
1099
- <a target="_blank" href="https://web-dorado.com/wordpress-themes/mottomag.html" class="download">Download</a>
1100
- </li>
1101
- <li class="business_world">
1102
- <div class="product"></div>
1103
- <div class="title">
1104
- <strong class="heading">Business World Theme</strong>
1105
- </div>
1106
- <div class="description">
1107
- <p>Business World is an innovative WordPress theme great for Business websites.</p>
1108
- </div>
1109
- <a target="_blank" href="https://web-dorado.com/wordpress-themes/business-world.html" class="download">Download</a>
1110
- </li>
1111
- <li class="best_magazine">
1112
- <div class="product"></div>
1113
- <div class="title">
1114
- <strong class="heading">Best Magazine Theme</strong>
1115
- </div>
1116
- <div class="description">
1117
- <p>Best Magazine is an ultimate selection when you are dealing with multi-category news websites.</p>
1118
- </div>
1119
- <a target="_blank" href="https://web-dorado.com/wordpress-themes/best-magazine.html" class="download">Download</a>
1120
- </li>
1121
- <li class="wedding_style">
1122
- <div class="product"></div>
1123
- <div class="title">
1124
- <strong class="heading">Wedding Style Theme</strong>
1125
- </div>
1126
- <div class="description">
1127
- <p>Wedding style is a responsive theme designed for the organization and maintenance of wedding websites and blogs.</p>
1128
- </div>
1129
- <a target="_blank" href="https://web-dorado.com/wordpress-themes/wedding-style.html" class="download">Download</a>
1130
- </li>
1131
- <li class="magazine">
1132
- <div class="product"></div>
1133
- <div class="title">
1134
- <strong class="heading">Magazine Theme</strong>
1135
- </div>
1136
- <div class="description">
1137
- <p>Magazine theme is a perfect solution when creating news and informational websites. It comes with a wide range of layout options.</p>
1138
- </div>
1139
- <a target="_blank" href="https://web-dorado.com/wordpress-themes/news-magazine.html" class="download">Download</a>
1140
- </li>
1141
- <li class="weddings">
1142
- <div class="product"></div>
1143
- <div class="title">
1144
- <strong class="heading">Weddings Theme</strong>
1145
- </div>
1146
- <div class="description">
1147
- <p>Weddings is an elegant, responsive WordPress theme designed for wedding websites. The theme includes multiple pages, homepage slider and gallery support.</p>
1148
- </div>
1149
- <a target="_blank" href="https://web-dorado.com/wordpress-themes/wedding.html" class="download">Download</a>
1150
- </li>
1151
- <li class="exclusive">
1152
- <div class="product"></div>
1153
- <div class="title">
1154
- <strong class="heading">Exclusive Theme</strong>
1155
- </div>
1156
- <div class="description">
1157
- <p>Exclusive is a unique theme designed to best fit business style websites. It comes with a large list of customizable features.</p>
1158
- </div>
1159
- <a target="_blank" href="https://web-dorado.com/wordpress-themes/exclusive.html" class="download">Download</a>
1160
- </li>
1161
- <li class="expert">
1162
- <div class="product"></div>
1163
- <div class="title">
1164
- <strong class="heading">Expert Theme</strong>
1165
- </div>
1166
- <div class="description">
1167
- <p>WordPress Expert is a modern, user-friendly and stylish theme. It has a list of customizable layout, style, colors and fonts.</p>
1168
- </div>
1169
- <a target="_blank" href="https://web-dorado.com/wordpress-themes/business-responsive.html" class="download">Download</a>
1170
- </li>
1171
- </ul>
1172
- </form>
1173
- </div >
1174
- <?php }
1175
-
1176
  function calendar_Featured_Plugins_styles() {
1177
  global $wd_spider_calendar_version;
1178
  wp_enqueue_style("Featured_Plugins", plugins_url("featured_plugins.css", __FILE__), array(), $wd_spider_calendar_version);
@@ -1187,6 +1091,13 @@ function calendar_Featured_Plugins() { ?>
1187
  <td align="right" style="font-size:16px;"></td>
1188
  </tr>
1189
  </table>
 
 
 
 
 
 
 
1190
  <form method="post">
1191
  <ul id="featured-plugins-list">
1192
  <li class="photo-gallery ">
@@ -1197,7 +1108,7 @@ function calendar_Featured_Plugins() { ?>
1197
  <div class="description">
1198
  <p>Photo Gallery is a fully responsive WordPress Gallery plugin with advanced functionality. </p>
1199
  </div>
1200
- <a target="_blank" href="https://web-dorado.com/products/wordpress-photo-gallery-plugin.html" class="download">Download</a>
1201
  </li>
1202
  <li class="form-maker">
1203
  <div class="product"></div>
@@ -1207,7 +1118,7 @@ function calendar_Featured_Plugins() { ?>
1207
  <div class="description">
1208
  <p>Form Maker is a modern and advanced tool for creating WordPress forms easily and fast.</p>
1209
  </div>
1210
- <a target="_blank" href="https://web-dorado.com/products/wordpress-form.html" class="download">Download</a>
1211
  </li>
1212
  <li class="events-wd">
1213
  <div class="product"></div>
@@ -1217,7 +1128,7 @@ function calendar_Featured_Plugins() { ?>
1217
  <div class="description">
1218
  <p>Organize and publish your events in an easy and elegant way using Event Calendar WD.</p>
1219
  </div>
1220
- <a target="_blank" href="https://web-dorado.com/products/wordpress-event-calendar-wd.html" class="download">Download</a>
1221
  </li>
1222
  <li class="instagram-wd">
1223
  <div class="product"></div>
@@ -1227,7 +1138,7 @@ function calendar_Featured_Plugins() { ?>
1227
  <div class="description">
1228
  <p>Instagram Feed WD plugin allows to display image feeds from single or multiple Instagram accounts on a WordPress site.</p>
1229
  </div>
1230
- <a target="_blank" href="https://web-dorado.com/products/wordpress-instagram-feed-wd.html" class="download">Download</a>
1231
  </li>
1232
  <li class="faq-wd">
1233
  <div class="product"></div>
@@ -1237,7 +1148,7 @@ function calendar_Featured_Plugins() { ?>
1237
  <div class="description">
1238
  <p>The FAQ WD plugin will help to add categorizes and include questions in each category.</p>
1239
  </div>
1240
- <a target="_blank" href="https://web-dorado.com/products/wordpress-faq-wd.html" class="download">Download</a>
1241
  </li>
1242
  <li class="slider_wd">
1243
  <div class="product"></div>
@@ -1247,7 +1158,7 @@ function calendar_Featured_Plugins() { ?>
1247
  <div class="description">
1248
  <p>Create responsive, highly configurable sliders with various effects for your WordPress site. </p>
1249
  </div>
1250
- <a target="_blank" href="https://web-dorado.com/products/wordpress-slider-plugin.html" class="download">Download</a>
1251
  </li>
1252
  <li class="catalog">
1253
  <div class="product"></div>
@@ -1257,7 +1168,7 @@ function calendar_Featured_Plugins() { ?>
1257
  <div class="description">
1258
  <p>Spider Catalog for WordPress is a convenient tool for organizing the products represented on your website into catalogs.</p>
1259
  </div>
1260
- <a target="_blank" href="https://web-dorado.com/products/wordpress-catalog.html" class="download">Download</a>
1261
  </li>
1262
  <li class="player">
1263
  <div class="product"></div>
@@ -1267,7 +1178,7 @@ function calendar_Featured_Plugins() { ?>
1267
  <div class="description">
1268
  <p>Spider Video Player for WordPress is a Flash & HTML5 video player plugin that allows you to easily add videos to your website with the possibility</p>
1269
  </div>
1270
- <a target="_blank" href="https://web-dorado.com/products/wordpress-player.html" class="download">Download</a>
1271
  </li>
1272
  <li class="contacts">
1273
  <div class="product"></div>
@@ -1277,7 +1188,7 @@ function calendar_Featured_Plugins() { ?>
1277
  <div class="description">
1278
  <p>Spider Contacts helps you to display information about the group of people more intelligible, effective and convenient.</p>
1279
  </div>
1280
- <a target="_blank" href="https://web-dorado.com/products/wordpress-contacts-plugin.html" class="download">Download</a>
1281
  </li>
1282
  <li class="facebook">
1283
  <div class="product"></div>
@@ -1287,7 +1198,7 @@ function calendar_Featured_Plugins() { ?>
1287
  <div class="description">
1288
  <p>Spider Facebook is a WordPress integration tool for Facebook.It includes all the available Facebook social plugins and widgets.</p>
1289
  </div>
1290
- <a target="_blank" href="https://web-dorado.com/products/wordpress-facebook.html" class="download">Download</a>
1291
  </li>
1292
  <li class="faq">
1293
  <div class="product"></div>
@@ -1297,7 +1208,7 @@ function calendar_Featured_Plugins() { ?>
1297
  <div class="description">
1298
  <p>The Spider FAQ WordPress plugin is for creating an FAQ (Frequently Asked Questions) section for your website.</p>
1299
  </div>
1300
- <a target="_blank" href="https://web-dorado.com/products/wordpress-faq-plugin.html" class="download">Download</a>
1301
  </li>
1302
  <li class="zoom">
1303
  <div class="product"></div>
@@ -1307,7 +1218,7 @@ function calendar_Featured_Plugins() { ?>
1307
  <div class="description">
1308
  <p>Zoom enables site users to resize the predefined areas of the web site.</p>
1309
  </div>
1310
- <a target="_blank" href="https://web-dorado.com/products/wordpress-zoom.html" class="download">Download</a>
1311
  </li>
1312
  <li class="flash-calendar">
1313
  <div class="product"></div>
@@ -1317,7 +1228,7 @@ function calendar_Featured_Plugins() { ?>
1317
  <div class="description">
1318
  <p>Spider Flash Calendar is a highly configurable Flash calendar plugin which allows you to have multiple organized events.</p>
1319
  </div>
1320
- <a target="_blank" href="https://web-dorado.com/products/wordpress-events-calendar.html" class="download">Download</a>
1321
  </li>
1322
  <li class="contact-maker">
1323
  <div class="product"></div>
@@ -1327,7 +1238,7 @@ function calendar_Featured_Plugins() { ?>
1327
  <div class="description">
1328
  <p>WordPress Contact Form Maker is an advanced and easy-to-use tool for creating forms.</p>
1329
  </div>
1330
- <a target="_blank" href="https://web-dorado.com/products/wordpress-contact-form-maker-plugin.html" class="download">Download</a>
1331
  </li>
1332
  <li class="twitter-widget">
1333
  <div class="product"></div>
@@ -1337,7 +1248,7 @@ function calendar_Featured_Plugins() { ?>
1337
  <div class="description">
1338
  <p>The Widget Twitter plugin lets you to fully integrate your WordPress site with your Twitter account.</p>
1339
  </div>
1340
- <a target="_blank" href="https://web-dorado.com/products/wordpress-twitter-integration-plugin.html" class="download">Download</a>
1341
  </li>
1342
  <li class="contact_form_bulder">
1343
  <div class="product"></div>
@@ -1347,7 +1258,7 @@ function calendar_Featured_Plugins() { ?>
1347
  <div class="description">
1348
  <p>Contact Form Builder is the best tool for quickly arranging a contact form for your clients and visitors. </p>
1349
  </div>
1350
- <a target="_blank" href="https://web-dorado.com/products/wordpress-contact-form-builder.html" class="download">Download</a>
1351
  </li>
1352
  <li class="folder_menu">
1353
  <div class="product"></div>
@@ -1357,7 +1268,7 @@ function calendar_Featured_Plugins() { ?>
1357
  <div class="description">
1358
  <p>Folder Menu Vertical is a WordPress Flash menu module for your website, designed to meet your needs and preferences. </p>
1359
  </div>
1360
- <a target="_blank" href="https://web-dorado.com/products/wordpress-menu-vertical.html" class="download">Download</a>
1361
  </li>
1362
  <li class="random_post">
1363
  <div class="product"></div>
@@ -1367,13 +1278,154 @@ function calendar_Featured_Plugins() { ?>
1367
  <div class="description">
1368
  <p>Spider Random Post is a small but very smart solution for your WordPress web site. </p>
1369
  </div>
1370
- <a target="_blank" href="https://web-dorado.com/products/wordpress-random-post.html" class="download">Download</a>
1371
  </li>
1372
  </ul>
1373
  </form>
 
1374
  </div>
1375
  <?php }
1376
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1377
  add_action('init', 'spider_calendar_export');
1378
  function spider_calendar_export() {
1379
  if (isset($_POST['export_spider_calendar']) && $_POST['export_spider_calendar'] == 'Export') {
3
  Plugin Name: Spider Event Calendar
4
  Plugin URI: https://web-dorado.com/products/wordpress-calendar.html
5
  Description: Spider Event Calendar is a highly configurable product which allows you to have multiple organized events. Spider Event Calendar is an extraordinary user friendly extension.
6
+ Version: 1.5.36
7
  Author: https://web-dorado.com/
8
  License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
9
  */
10
+ $wd_spider_calendar_version="1.5.36";
11
  // LANGUAGE localization.
12
  function sp_calendar_language_load() {
13
  load_plugin_textdomain('sp_calendar', FALSE, basename(dirname(__FILE__)) . '/languages');
56
  $many_sp_calendar = 1;
57
  function spider_calendar_big($atts) {
58
  if (!isset($atts['default'])) {
59
+ $atts['theme'] = 30;
60
  $atts['default'] = 'month';
61
  }
62
  extract(shortcode_atts(array(
63
  'id' => 'no Spider catalog',
64
+ 'theme' => '30',
65
  'default' => 'month',
66
  'select' => 'month,list,day,week,',
67
  ), $atts));
73
  add_shortcode('Spider_Calendar', 'spider_calendar_big');
74
 
75
  function spider_calendar_big_front_end($id, $theme, $default, $select, $widget = 0) {
76
+ require_once("front_end/frontend_functions.php");
77
  ob_start();
78
  global $many_sp_calendar;
79
  global $wpdb;
92
  var tb_closeImage = "<?php echo plugins_url('images/tb-close.png', __FILE__) ?>"
93
  var randi;
94
  if (typeof showbigcalendar != 'function') {
95
+ function showbigcalendar(id, calendarlink, randi, widget) {
96
  var xmlHttp;
97
  try {
98
  xmlHttp = new XMLHttpRequest();// Firefox, Opera 8.0+, Safari
132
  });
133
  if(widget!=1)
134
  {
 
 
135
  jQuery('drop_down_views').hide();
136
+ var parent_width = document.getElementById('bigcalendar'+randi).parentNode.clientWidth;
137
+ var calwidth= document.getElementById('cal_width'+randi).value;
138
+ var responsive_width = (calwidth)/parent_width*100;
139
+ document.getElementById('bigcalendar'+randi).setAttribute('style','width:'+responsive_width+'%;');
140
+ jQuery('pop_table').css('height','100%');
 
 
 
 
 
 
 
 
 
 
 
141
  }
142
  var thickDims, tbWidth, tbHeight;
143
  jQuery(document).ready(function ($) {
211
  <?php global $wpdb;
212
  $calendarr = $wpdb->get_row($wpdb->prepare("SELECT * FROM " . $wpdb->prefix . "spidercalendar_calendar WHERE id='%d'", $id));
213
  $year = ($calendarr->def_year ? $calendarr->def_year : date("Y"));
214
+ $month = ($calendarr->def_month ? $calendarr->def_month : date("m"));
215
+
216
  $date = $year . '-' . $month;
217
  if ($default == 'day') {
218
  $date .= '-' . date('d');
285
  #TB_title{
286
  background: #222;
287
  }
288
+
289
  .screen-reader-text,
290
  #views_select .arrow-down,
291
  #views_select .arrow-right{
343
  return $calendar;
344
  }
345
 
346
+ function convert_time($calendar_format, $old_time){
347
+ if($calendar_format==0){
348
+ if (strpos($old_time, 'AM') !== false || strpos($old_time, 'PM') !== false) {
349
+ $row_time_12 = explode('-',$old_time);
350
+ $row_time_24 = "";
351
+ for($i=0; $i<count($row_time_12); $i++){
352
+ $row_time_24 .= date("H:i", strtotime($row_time_12[$i])). "-";
353
+ }
354
+ if(substr($row_time_24, -1)=="-") $row_time = rtrim($row_time_24,'-');
355
+ }
356
+ else $row_time = $old_time;
357
+ }
358
+ else{
359
+ if (strpos($old_time, 'AM') !== false || strpos($old_time, 'PM') !== false) $row_time = $old_time;
360
+ else{
361
+ $row_time_12 = "";
362
+ $row_time_24 = explode('-',$old_time);
363
+ for($i=0; $i<count($row_time_24); $i++){
364
+ $row_time_12 .= date("g:iA", strtotime($row_time_24[$i])). "-";
365
+ }
366
+ if(substr($row_time_12, -1)=="-") $row_time = rtrim($row_time_12,'-');
367
+ }
368
+ }
369
+ return $row_time;
370
+ }
371
+
372
  // Quick edit.
373
  add_action('wp_ajax_spidercalendarinlineedit', 'spider_calendar_quick_edit');
374
  add_action('wp_ajax_spidercalendarinlineupdate', 'spider_calendar_quick_update');
393
  '%s',
394
  ), array('%d'));
395
  $row = $wpdb->get_row($wpdb->prepare("SELECT * FROM " . $wpdb->prefix . "spidercalendar_calendar WHERE id='%d'", (int) $_POST['calendar_id']));
396
+
397
+ $calendar_format = esc_sql(esc_html(stripslashes($_POST['us_12_format_sp_calendar'])));
398
+
399
+ $all_times = $wpdb->get_col("SELECT time FROM " . $wpdb->prefix . "spidercalendar_event",0);
400
+ $all_ids = $wpdb->get_col("SELECT id FROM " . $wpdb->prefix . "spidercalendar_event",0);
401
+ for($i = 0; $i < count($all_times); $i++){
402
+ if($all_times[$i]!=null){
403
+ $wpdb->update($wpdb->prefix . 'spidercalendar_event', array(
404
+ 'time' => convert_time($calendar_format, $all_times[$i])
405
+ ), array('id' => $all_ids[$i]), array(
406
+ '%s'
407
+ ));
408
+ }
409
+ }
410
+ ?>
411
  <td><?php echo $row->id; ?></td>
412
  <td class="post-title page-title column-title">
413
  <a title="Manage Events" class="row-title" href="admin.php?page=SpiderCalendar&task=show_manage_event&calendar_id=<?php echo $row->id; ?>"><?php echo $row->title; ?></a>
414
+ <div class="row-actions">
 
 
415
  <span class="inline hide-if-no-js">
416
  <a href="#" class="editinline" onclick="show_calendar_inline(<?php echo $row->id; ?>)" title="Edit This Calendar Inline">Quick&nbsp;Edit</a> | </span>
417
  <span class="trash">
419
  </div>
420
  </td>
421
  <td><a href="admin.php?page=SpiderCalendar&task=show_manage_event&calendar_id=<?php echo $row->id; ?>">Manage events</a></td>
422
+ <td><a href="admin.php?page=SpiderCalendar&task=edit_calendar&id=<?php echo $row->id; ?>" title="Edit This Calendar">Edit</a></td>
423
  <td><a <?php if (!$row->published)
424
  echo 'style="color:#C00"'; ?>
425
  href="admin.php?page=SpiderCalendar&task=published&id=<?php echo $row->id; ?>"><?php if ($row->published)
547
  }
548
 
549
  function Spider_calendar_Licensing() {
550
+ global $wpdb;
551
  ?>
552
  <div style="width:95%">
553
  <p>This plugin is the non-commercial version of the Spider Event Calendar. Use of the calendar is free.<br />
554
  The only limitation is the use of the themes. If you want to use one of the 11 standard themes or create a new one that
555
  satisfies the needs of your web site, you are required to purchase a license.<br />
556
+ Purchasing a license will add 12 standard themes and give possibility to edit the themes of the Spider Event Calendar.
557
  </p>
558
  <br /><br />
559
  <a href="https://web-dorado.com/files/fromSpiderCalendarWP.php" class="button-primary" target="_blank">Purchase a License</a>
794
  die("Are you sure you want to do this?");
795
  remove_spider_event($calendar_id, $id);
796
  show_spider_event($calendar_id);
797
+ break;
798
+ case 'copy_event':
799
+ $nonce_sp_cal = $_REQUEST['_wpnonce'];
800
+ if (! wp_verify_nonce($nonce_sp_cal, 'nonce_sp_cal') )
801
+ die("Are you sure you want to do this?");
802
+ copy_spider_event($calendar_id, $id);
803
+ show_spider_event($calendar_id);
804
  break;
805
  case 'published_event';
806
  $nonce_sp_cal = $_REQUEST['_wpnonce'];
1077
  }
1078
  }
1079
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1080
  function calendar_Featured_Plugins_styles() {
1081
  global $wd_spider_calendar_version;
1082
  wp_enqueue_style("Featured_Plugins", plugins_url("featured_plugins.css", __FILE__), array(), $wd_spider_calendar_version);
1091
  <td align="right" style="font-size:16px;"></td>
1092
  </tr>
1093
  </table>
1094
+ <div class="featured_header">
1095
+ <div>
1096
+ <a href="https://web-dorado.com/wordpress-plugins.html?source=spidercalendar">
1097
+ <h1>GET SPIDER CALENDAR +18 PLUGINS</h1>
1098
+ <h1 class="get_plugins">FOR $100 ONLY <span>- SAVE 70%</span></h1>
1099
+ </a>
1100
+ </div>
1101
  <form method="post">
1102
  <ul id="featured-plugins-list">
1103
  <li class="photo-gallery ">
1108
  <div class="description">
1109
  <p>Photo Gallery is a fully responsive WordPress Gallery plugin with advanced functionality. </p>
1110
  </div>
1111
+ <a target="_blank" href="https://web-dorado.com/products/wordpress-photo-gallery-plugin.html" class="download">Download plugin &#9658;</a>
1112
  </li>
1113
  <li class="form-maker">
1114
  <div class="product"></div>
1118
  <div class="description">
1119
  <p>Form Maker is a modern and advanced tool for creating WordPress forms easily and fast.</p>
1120
  </div>
1121
+ <a target="_blank" href="https://web-dorado.com/products/wordpress-form.html" class="download">Download plugin &#9658;</a>
1122
  </li>
1123
  <li class="events-wd">
1124
  <div class="product"></div>
1128
  <div class="description">
1129
  <p>Organize and publish your events in an easy and elegant way using Event Calendar WD.</p>
1130
  </div>
1131
+ <a target="_blank" href="https://web-dorado.com/products/wordpress-event-calendar-wd.html" class="download">Download plugin &#9658;</a>
1132
  </li>
1133
  <li class="instagram-wd">
1134
  <div class="product"></div>
1138
  <div class="description">
1139
  <p>Instagram Feed WD plugin allows to display image feeds from single or multiple Instagram accounts on a WordPress site.</p>
1140
  </div>
1141
+ <a target="_blank" href="https://web-dorado.com/products/wordpress-instagram-feed-wd.html" class="download">Download plugin &#9658;</a>
1142
  </li>
1143
  <li class="faq-wd">
1144
  <div class="product"></div>
1148
  <div class="description">
1149
  <p>The FAQ WD plugin will help to add categorizes and include questions in each category.</p>
1150
  </div>
1151
+ <a target="_blank" href="https://web-dorado.com/products/wordpress-faq-wd.html" class="download">Download plugin &#9658;</a>
1152
  </li>
1153
  <li class="slider_wd">
1154
  <div class="product"></div>
1158
  <div class="description">
1159
  <p>Create responsive, highly configurable sliders with various effects for your WordPress site. </p>
1160
  </div>
1161
+ <a target="_blank" href="https://web-dorado.com/products/wordpress-slider-plugin.html" class="download">Download plugin &#9658;</a>
1162
  </li>
1163
  <li class="catalog">
1164
  <div class="product"></div>
1168
  <div class="description">
1169
  <p>Spider Catalog for WordPress is a convenient tool for organizing the products represented on your website into catalogs.</p>
1170
  </div>
1171
+ <a target="_blank" href="https://web-dorado.com/products/wordpress-catalog.html" class="download">Download plugin &#9658;</a>
1172
  </li>
1173
  <li class="player">
1174
  <div class="product"></div>
1178
  <div class="description">
1179
  <p>Spider Video Player for WordPress is a Flash & HTML5 video player plugin that allows you to easily add videos to your website with the possibility</p>
1180
  </div>
1181
+ <a target="_blank" href="https://web-dorado.com/products/wordpress-player.html" class="download">Download plugin &#9658;</a>
1182
  </li>
1183
  <li class="contacts">
1184
  <div class="product"></div>
1188
  <div class="description">
1189
  <p>Spider Contacts helps you to display information about the group of people more intelligible, effective and convenient.</p>
1190
  </div>
1191
+ <a target="_blank" href="https://web-dorado.com/products/wordpress-contacts-plugin.html" class="download">Download plugin &#9658;</a>
1192
  </li>
1193
  <li class="facebook">
1194
  <div class="product"></div>
1198
  <div class="description">
1199
  <p>Spider Facebook is a WordPress integration tool for Facebook.It includes all the available Facebook social plugins and widgets.</p>
1200
  </div>
1201
+ <a target="_blank" href="https://web-dorado.com/products/wordpress-facebook.html" class="download">Download plugin &#9658;</a>
1202
  </li>
1203
  <li class="faq">
1204
  <div class="product"></div>
1208
  <div class="description">
1209
  <p>The Spider FAQ WordPress plugin is for creating an FAQ (Frequently Asked Questions) section for your website.</p>
1210
  </div>
1211
+ <a target="_blank" href="https://web-dorado.com/products/wordpress-faq-plugin.html" class="download">Download plugin &#9658;</a>
1212
  </li>
1213
  <li class="zoom">
1214
  <div class="product"></div>
1218
  <div class="description">
1219
  <p>Zoom enables site users to resize the predefined areas of the web site.</p>
1220
  </div>
1221
+ <a target="_blank" href="https://web-dorado.com/products/wordpress-zoom.html" class="download">Download plugin &#9658;</a>
1222
  </li>
1223
  <li class="flash-calendar">
1224
  <div class="product"></div>
1228
  <div class="description">
1229
  <p>Spider Flash Calendar is a highly configurable Flash calendar plugin which allows you to have multiple organized events.</p>
1230
  </div>
1231
+ <a target="_blank" href="https://web-dorado.com/products/wordpress-events-calendar.html" class="download">Download plugin &#9658;</a>
1232
  </li>
1233
  <li class="contact-maker">
1234
  <div class="product"></div>
1238
  <div class="description">
1239
  <p>WordPress Contact Form Maker is an advanced and easy-to-use tool for creating forms.</p>
1240
  </div>
1241
+ <a target="_blank" href="https://web-dorado.com/products/wordpress-contact-form-maker-plugin.html" class="download">Download plugin &#9658;</a>
1242
  </li>
1243
  <li class="twitter-widget">
1244
  <div class="product"></div>
1248
  <div class="description">
1249
  <p>The Widget Twitter plugin lets you to fully integrate your WordPress site with your Twitter account.</p>
1250
  </div>
1251
+ <a target="_blank" href="https://web-dorado.com/products/wordpress-twitter-integration-plugin.html" class="download">Download plugin &#9658;</a>
1252
  </li>
1253
  <li class="contact_form_bulder">
1254
  <div class="product"></div>
1258
  <div class="description">
1259
  <p>Contact Form Builder is the best tool for quickly arranging a contact form for your clients and visitors. </p>
1260
  </div>
1261
+ <a target="_blank" href="https://web-dorado.com/products/wordpress-contact-form-builder.html" class="download">Download plugin &#9658;</a>
1262
  </li>
1263
  <li class="folder_menu">
1264
  <div class="product"></div>
1268
  <div class="description">
1269
  <p>Folder Menu Vertical is a WordPress Flash menu module for your website, designed to meet your needs and preferences. </p>
1270
  </div>
1271
+ <a target="_blank" href="https://web-dorado.com/products/wordpress-menu-vertical.html" class="download">Download plugin &#9658;</a>
1272
  </li>
1273
  <li class="random_post">
1274
  <div class="product"></div>
1278
  <div class="description">
1279
  <p>Spider Random Post is a small but very smart solution for your WordPress web site. </p>
1280
  </div>
1281
+ <a target="_blank" href="https://web-dorado.com/products/wordpress-random-post.html" class="download">Download plugin &#9658;</a>
1282
  </li>
1283
  </ul>
1284
  </form>
1285
+ </div>
1286
  </div>
1287
  <?php }
1288
 
1289
+ function calendar_Featured_themes_styles() {
1290
+ global $wd_spider_calendar_version;
1291
+ wp_enqueue_style("Featured_themes", plugins_url("featured_themes.css", __FILE__), array(), $wd_spider_calendar_version);
1292
+ }
1293
+
1294
+ function calendar_Featured_themes() { ?>
1295
+ <div id="main_featured_themes_page">
1296
+ <table align="center" width="90%" style="margin-top: 0px;border-bottom: rgb(111, 111, 111) solid 1px;">
1297
+ <tr>
1298
+ <td colspan="2" style="height: 40px; padding: 30px 0px 0px 0px;">
1299
+ <h3 style="margin: 0px;font-family:Segoe UI;padding-bottom: 15px;color: rgb(111, 111, 111); font-size:18pt;">Featured Themes</h3>
1300
+ </td>
1301
+ <td align="right" style="font-size:16px;"></td>
1302
+ </tr>
1303
+ </table>
1304
+ <div class="featured_header">
1305
+ <div>
1306
+ <a href="https://web-dorado.com/wordpress-themes.html?source=spidercalendar">
1307
+ <h1>WORDPRESS THEMES</h1>
1308
+ <h1 class="get_plugins">ALL FOR $40 ONLY <span>- SAVE 80%</span></h1>
1309
+ </a>
1310
+ </div>
1311
+ <form method="post">
1312
+ <ul id="featured-plugins-list">
1313
+ <li class="portfolio">
1314
+ <div class="product"></div>
1315
+ <div class="title">
1316
+ <strong class="heading">Portfolio Gallery Theme</strong>
1317
+ </div>
1318
+ <div class="description">
1319
+ <p>Portfolio Gallery helps to display images using various color schemes and layouts combined with elegant fonts and content parts.</p>
1320
+ </div>
1321
+ <a target="_blank" href="https://web-dorado.com/wordpress-themes/portfolio-gallery.html" class="download">Download theme &#9658;</a>
1322
+ </li>
1323
+ <li class="business_elite">
1324
+ <div class="product"></div>
1325
+ <div class="title">
1326
+ <strong class="heading">Business Elite Theme</strong>
1327
+ </div>
1328
+ <div class="description">
1329
+ <p>Business Elite is a robust parallax theme for business websites. The theme uses smooth transitions and many functional sections.</p>
1330
+ </div>
1331
+ <a target="_blank" href="https://web-dorado.com/wordpress-themes/business-elite.html" class="download">Download theme &#9658;</a>
1332
+ </li>
1333
+ <li class="sauron">
1334
+ <div class="product"></div>
1335
+ <div class="title">
1336
+ <strong class="heading">Sauron Theme</strong>
1337
+ </div>
1338
+ <div class="description">
1339
+ <p>Sauron is a multipurpose parallax theme, which uses multiple interactive sections designed for the client-engagement.</p>
1340
+ </div>
1341
+ <a target="_blank" href="https://web-dorado.com/wordpress-themes/sauron.html" class="download">Download plugin &#9658;</a>
1342
+ </li>
1343
+ <li class="mottomag">
1344
+ <div class="product"></div>
1345
+ <div class="title">
1346
+ <strong class="heading">MottoMag Theme</strong>
1347
+ </div>
1348
+ <div class="description">
1349
+ <p>MottoMag is a vibrant, responsive theme which is a perfect choice for the combination of textual content with videos and images.</p>
1350
+ </div>
1351
+ <a target="_blank" href="https://web-dorado.com/wordpress-themes/mottomag.html" class="download">Download plugin &#9658;</a>
1352
+ </li>
1353
+ <li class="business_world">
1354
+ <div class="product"></div>
1355
+ <div class="title">
1356
+ <strong class="heading">Business World Theme</strong>
1357
+ </div>
1358
+ <div class="description">
1359
+ <p>Business World is an innovative WordPress theme great for Business websites.</p>
1360
+ </div>
1361
+ <a target="_blank" href="https://web-dorado.com/wordpress-themes/business-world.html" class="download">Download plugin &#9658;</a>
1362
+ </li>
1363
+ <li class="best_magazine">
1364
+ <div class="product"></div>
1365
+ <div class="title">
1366
+ <strong class="heading">Best Magazine Theme</strong>
1367
+ </div>
1368
+ <div class="description">
1369
+ <p>Best Magazine is an ultimate selection when you are dealing with multi-category news websites.</p>
1370
+ </div>
1371
+ <a target="_blank" href="https://web-dorado.com/wordpress-themes/best-magazine.html" class="download">Download plugin &#9658;</a>
1372
+ </li>
1373
+ <li class="wedding_style">
1374
+ <div class="product"></div>
1375
+ <div class="title">
1376
+ <strong class="heading">Wedding Style Theme</strong>
1377
+ </div>
1378
+ <div class="description">
1379
+ <p>Wedding style is a responsive theme designed for the organization and maintenance of wedding websites and blogs.</p>
1380
+ </div>
1381
+ <a target="_blank" href="https://web-dorado.com/wordpress-themes/wedding-style.html" class="download">Download plugin &#9658;</a>
1382
+ </li>
1383
+ <li class="magazine">
1384
+ <div class="product"></div>
1385
+ <div class="title">
1386
+ <strong class="heading">Magazine Theme</strong>
1387
+ </div>
1388
+ <div class="description">
1389
+ <p>Magazine theme is a perfect solution when creating news and informational websites. It comes with a wide range of layout options.</p>
1390
+ </div>
1391
+ <a target="_blank" href="https://web-dorado.com/wordpress-themes/news-magazine.html" class="download">Download plugin &#9658;</a>
1392
+ </li>
1393
+ <li class="weddings">
1394
+ <div class="product"></div>
1395
+ <div class="title">
1396
+ <strong class="heading">Weddings Theme</strong>
1397
+ </div>
1398
+ <div class="description">
1399
+ <p>Weddings is an elegant, responsive WordPress theme designed for wedding websites. The theme includes multiple pages, homepage slider and gallery support.</p>
1400
+ </div>
1401
+ <a target="_blank" href="https://web-dorado.com/wordpress-themes/wedding.html" class="download">Download plugin &#9658;</a>
1402
+ </li>
1403
+ <li class="exclusive">
1404
+ <div class="product"></div>
1405
+ <div class="title">
1406
+ <strong class="heading">Exclusive Theme</strong>
1407
+ </div>
1408
+ <div class="description">
1409
+ <p>Exclusive is a unique theme designed to best fit business style websites. It comes with a large list of customizable features.</p>
1410
+ </div>
1411
+ <a target="_blank" href="https://web-dorado.com/wordpress-themes/exclusive.html" class="download">Download plugin &#9658;</a>
1412
+ </li>
1413
+ <li class="expert">
1414
+ <div class="product"></div>
1415
+ <div class="title">
1416
+ <strong class="heading">Expert Theme</strong>
1417
+ </div>
1418
+ <div class="description">
1419
+ <p>WordPress Expert is a modern, user-friendly and stylish theme. It has a list of customizable layout, style, colors and fonts.</p>
1420
+ </div>
1421
+ <a target="_blank" href="https://web-dorado.com/wordpress-themes/business-responsive.html" class="download">Download plugin &#9658;</a>
1422
+ </li>
1423
+ </ul>
1424
+ </form>
1425
+ </div>
1426
+ </div >
1427
+ <?php }
1428
+
1429
  add_action('init', 'spider_calendar_export');
1430
  function spider_calendar_export() {
1431
  if (isset($_POST['export_spider_calendar']) && $_POST['export_spider_calendar'] == 'Export') {
calendar_functions.html.php CHANGED
@@ -132,14 +132,14 @@ function html_show_spider_calendar($rows, $pageNav, $sort) {
132
  <table cellspacing="10" width="100%" id="calendar_table">
133
  <tr>
134
  <td width="100%" style="font-size:14px; font-weight:bold">
135
- <a href="https://web-dorado.com/wordpress-spider-calendar/creating-editing-calendar.html" target="_blank" style="color:blue; text-decoration:none;">User Manual</a>
136
  <br />
137
  This section allows you to create calendars. You can add unlimited number of calendars.
138
- <a href="https://web-dorado.com/wordpress-spider-calendar/creating-editing-calendar.html" target="_blank" style="color:blue; text-decoration:none;">More...</a>
139
  </td>
140
  <td colspan="7" align="right" style="font-size:16px;">
141
  <a href="https://web-dorado.com/files/fromSpiderCalendarWP.php" target="_blank" style="color:red; text-decoration:none;">
142
- <img src="<?php echo plugins_url('images/header.png', __FILE__); ?>" border="0" alt="Upgrade to PRO" width="215">
143
  </a>
144
  </td>
145
  </tr>
@@ -189,6 +189,7 @@ function html_show_spider_calendar($rows, $pageNav, $sort) {
189
  </a>
190
  </th>
191
  <th style="width:100px">Manage Events</th>
 
192
  <th scope="col" id="published" class="<?php echo (($sort["sortid_by"] == "published") ? $sort["custom_style"] : $sort["default_style"]); ?>" style="width:100px">
193
  <a href="javascript:ordering('published',<?php echo (($sort["sortid_by"] == "published") ? $sort["1_or_2"] : "1"); ?>)">
194
  <span>Published</span>
@@ -204,8 +205,7 @@ function html_show_spider_calendar($rows, $pageNav, $sort) {
204
  <td class="post-title page-title column-title">
205
  <a title="Manage Events" class="row-title" href="admin.php?page=SpiderCalendar&task=show_manage_event&calendar_id=<?php echo $rows[$i]->id; ?>"><?php echo $rows[$i]->title; ?></a>
206
  <div class="row-actions">
207
- <span class="edit">
208
- <a href="admin.php?page=SpiderCalendar&task=edit_calendar&id=<?php echo $rows[$i]->id; ?>" title="Edit This Calendar">Edit</a> | </span>
209
  <span class="inline hide-if-no-js">
210
  <a href="#" class="editinline" onClick="show_calendar_inline(<?php echo $rows[$i]->id; ?>)" title="Edit This Calendar Inline">Quick Edit</a> | </span>
211
  <span class="trash">
@@ -213,6 +213,7 @@ function html_show_spider_calendar($rows, $pageNav, $sort) {
213
  </div>
214
  </td>
215
  <td><a href="admin.php?page=SpiderCalendar&task=show_manage_event&calendar_id=<?php echo $rows[$i]->id; ?>">Manage events</a></td>
 
216
  <td><a <?php if (!$rows[$i]->published) echo 'style="color:#C00"'; ?>
217
  href="admin.php?page=SpiderCalendar&task=published&id=<?php echo $rows[$i]->id; ?>&_wpnonce=<?php echo $sp_cal_nonce; ?>"><?php if ($rows[$i]->published) echo 'Yes'; else echo 'No'; ?></a>
218
  </td>
@@ -279,14 +280,14 @@ function html_add_spider_calendar() {
279
  <table width="95%">
280
  <tr>
281
  <td width="100%" style="font-size:14px; font-weight:bold">
282
- <a href="https://web-dorado.com/wordpress-spider-calendar/creating-editing-calendar.html" target="_blank" style="color:blue; text-decoration:none;">User Manual</a>
283
  <br />
284
  This section allows you to create calendars. You can add unlimited number of calendars.
285
- <a href="https://web-dorado.com/wordpress-spider-calendar/creating-editing-calendar.html" target="_blank" style="color:blue; text-decoration:none;">More...</a>
286
  </td>
287
  <td colspan="7" align="right" style="font-size:16px;">
288
  <a href="https://web-dorado.com/files/fromSpiderCalendarWP.php" target="_blank" style="color:red; text-decoration:none;">
289
- <img src="<?php echo plugins_url('images/header.png', __FILE__); ?>" border="0" alt="upgrade_pro" width="215">
290
  </a>
291
  </td>
292
  </tr>
@@ -465,14 +466,14 @@ function html_edit_spider_calendar($row) {
465
  <table width="95%">
466
  <tr>
467
  <td width="100%" style="font-size:14px; font-weight:bold">
468
- <a href="https://web-dorado.com/wordpress-spider-calendar/creating-editing-calendar.html" target="_blank" style="color:blue; text-decoration:none;">User Manual</a>
469
  <br />
470
  This section allows you to create calendars. You can add unlimited number of calendars.
471
- <a href="https://web-dorado.com/wordpress-spider-calendar/creating-editing-calendar.html" target="_blank" style="color:blue; text-decoration:none;">More...</a>
472
  </td>
473
  <td colspan="7" align="right" style="font-size:16px;">
474
  <a href="https://web-dorado.com/files/fromSpiderCalendarWP.php" target="_blank" style="color:red; text-decoration:none;">
475
- <img src="<?php echo plugins_url('images/header.png', __FILE__); ?>" border="0" alt="upgrade_pro" width="215">
476
  </a>
477
  </td>
478
  </tr>
@@ -730,14 +731,14 @@ function show_event_category($rows, $pageNav, $sort){
730
  <table cellspacing="10" width="100%" id="category_table">
731
  <tr>
732
  <td width="100%" style="font-size:14px; font-weight:bold">
733
- <a href="https://web-dorado.com/wordpress-spider-calendar/creating-editing-calendar.html" target="_blank" style="color:blue; text-decoration:none;">User Manual</a>
734
  <br />
735
  This section allows you to create event categories. You can add unlimited number of categories.
736
  <a href="https://web-dorado.com/spider-calendar-wordpress-guide-step-4.html" target="_blank" style="color:blue; text-decoration:none;">More...</a>
737
  </td>
738
  <td colspan="7" align="right" style="font-size:16px;">
739
  <a href="https://web-dorado.com/files/fromSpiderCalendarWP.php" target="_blank" style="color:red; text-decoration:none;">
740
- <img src="<?php echo plugins_url('images/header.png', __FILE__); ?>" border="0" alt="Upgrade to PRO" width="215">
741
  </a>
742
  </td>
743
  </tr>
@@ -793,7 +794,7 @@ function show_event_category($rows, $pageNav, $sort){
793
  <span class="sorting-indicator"></span>
794
  </a>
795
  </th>
796
- <th scope="col" id="published" class="<?php echo (($sort["sortid_by"] == "published") ? $sort["custom_style"] : $sort["default_style"]); ?>" style="width:100px">
797
  <a href="javascript:ordering('published',<?php echo (($sort["sortid_by"] == "published") ? $sort["1_or_2"] : "1"); ?>)">
798
  <span>Published</span>
799
  <span class="sorting-indicator"></span>
@@ -845,6 +846,9 @@ $row=$wpdb->get_row($wpdb->prepare ("SELECT * FROM " . $wpdb->prefix . "spiderca
845
  if (document.getElementById('cat_title').value == "") {
846
  alert('Provide the category title:');
847
  }
 
 
 
848
  else {
849
  document.getElementById('adminForm').submit();
850
  }
@@ -884,7 +888,7 @@ $row=$wpdb->get_row($wpdb->prepare ("SELECT * FROM " . $wpdb->prefix . "spiderca
884
  <table cellspacing="10" width="100%" id="category_table">
885
  <tr>
886
  <td width="100%" style="font-size:14px; font-weight:bold">
887
- <a href="https://web-dorado.com/wordpress-spider-calendar/creating-editing-calendar.html" target="_blank" style="color:blue; text-decoration:none;">User Manual</a>
888
  <br />
889
  This section allows you to create event categories. You can add unlimited number of categories.
890
  <a href="https://web-dorado.com/spider-calendar-wordpress-guide-step-4.html" target="_blank" style="color:blue; text-decoration:none;">More...</a>
@@ -1298,14 +1302,14 @@ function html_show_spider_event($rows, $pageNav, $sort, $calendar_id, $cal_name)
1298
  <table cellspacing="10" width="95%">
1299
  <tr>
1300
  <td width="100%" style="font-size:14px; font-weight:bold">
1301
- <a href="https://web-dorado.com/wordpress-spider-calendar/creating-editing-calendar.html" target="_blank" style="color:blue; text-decoration:none;">User Manual</a><br>
1302
  This section allows you to create/edit the events of a particular calendar.<br/> You can add
1303
  unlimited number of events for each calendar.
1304
  <a href="https://web-dorado.com/spider-calendar-wordpress-guide-step-3.html" target="_blank" style="color:blue; text-decoration:none;">More...</a>
1305
  </td>
1306
  <td colspan="7" align="right" style="font-size:16px;">
1307
  <a href="https://web-dorado.com/files/fromSpiderCalendarWP.php" target="_blank" style="color:red; text-decoration:none;">
1308
- <img src="<?php echo plugins_url('images/header.png', __FILE__); ?>" border="0" alt="Upgrade to PRO" width="215">
1309
  </a>
1310
  </td>
1311
  </tr>
@@ -1388,7 +1392,8 @@ function html_show_spider_event($rows, $pageNav, $sort, $calendar_id, $cal_name)
1388
  <span class="sorting-indicator"></span>
1389
  </a>
1390
  </th>
1391
- <th style="width:80px">Edit</th>
 
1392
  <th style="width:80px">Delete</th>
1393
  </TR>
1394
  </thead>
@@ -1405,6 +1410,9 @@ function html_show_spider_event($rows, $pageNav, $sort, $calendar_id, $cal_name)
1405
  <a <?php if (!$rows[$i]->published) echo 'style="color:#C00"'; ?> href="admin.php?page=SpiderCalendar&calendar_id=<?php echo $calendar_id; ?>&task=published_event&id=<?php echo $rows[$i]->id; ?>&_wpnonce=<?php echo $sp_cal_nonce; ?>"><?php if ($rows[$i]->published)
1406
  echo 'Yes'; else echo 'No'; ?>
1407
  </a>
 
 
 
1408
  </td>
1409
  <td>
1410
  <a href="admin.php?page=SpiderCalendar&calendar_id=<?php echo $calendar_id; ?>&task=edit_event&id=<?php echo $rows[$i]->id; ?>">Edit</a>
@@ -1699,7 +1707,7 @@ function html_add_spider_event($calendar_id, $cal_name) {
1699
  <table width="95%">
1700
  <tr>
1701
  <td width="100%" style="font-size:14px; font-weight:bold">
1702
- <a href="https://web-dorado.com/wordpress-spider-calendar/creating-editing-calendar.html" target="_blank" style="color:blue; text-decoration:none;">User Manual</a>
1703
  <br />
1704
  This section allows you to create/edit the events of a particular calendar.<br/> You can add unlimited number of events for each calendar.
1705
  <a href="https://web-dorado.com/spider-calendar-wordpress-guide-step-3.html" target="_blank" style="color:blue; text-decoration:none;">More...</a>
@@ -2179,7 +2187,7 @@ function html_edit_spider_event($row, $calendar_id, $id, $cal_name) {
2179
  <table width="95%">
2180
  <tr>
2181
  <td width="100%" style="font-size:14px; font-weight:bold">
2182
- <a href="https://web-dorado.com/wordpress-spider-calendar/creating-editing-calendar.html" target="_blank" style="color:blue; text-decoration:none;">User Manual</a>
2183
  <br />
2184
  This section allows you to create/edit the events of a particular calendar.<br/> You can add unlimited number of events for each calendar.
2185
  <a href="https://web-dorado.com/spider-calendar-wordpress-guide-step-3.html" target="_blank" style="color:blue; text-decoration:none;">More...</a>
132
  <table cellspacing="10" width="100%" id="calendar_table">
133
  <tr>
134
  <td width="100%" style="font-size:14px; font-weight:bold">
135
+ <a href="https://web-dorado.com/spider-calendar-wordpress-guide-step-2.html" target="_blank" style="color:blue; text-decoration:none;">User Manual</a>
136
  <br />
137
  This section allows you to create calendars. You can add unlimited number of calendars.
138
+ <a href="https://web-dorado.com/spider-calendar-wordpress-guide-step-2.html" target="_blank" style="color:blue; text-decoration:none;">More...</a>
139
  </td>
140
  <td colspan="7" align="right" style="font-size:16px;">
141
  <a href="https://web-dorado.com/files/fromSpiderCalendarWP.php" target="_blank" style="color:red; text-decoration:none;">
142
+ <img src="<?php echo plugins_url('images/header.png', __FILE__); ?>" border="0" alt="https://web-dorado.com/files/fromSpiderCalendarWP.php" width="215">
143
  </a>
144
  </td>
145
  </tr>
189
  </a>
190
  </th>
191
  <th style="width:100px">Manage Events</th>
192
+ <th style="width:100px">Edit</th>
193
  <th scope="col" id="published" class="<?php echo (($sort["sortid_by"] == "published") ? $sort["custom_style"] : $sort["default_style"]); ?>" style="width:100px">
194
  <a href="javascript:ordering('published',<?php echo (($sort["sortid_by"] == "published") ? $sort["1_or_2"] : "1"); ?>)">
195
  <span>Published</span>
205
  <td class="post-title page-title column-title">
206
  <a title="Manage Events" class="row-title" href="admin.php?page=SpiderCalendar&task=show_manage_event&calendar_id=<?php echo $rows[$i]->id; ?>"><?php echo $rows[$i]->title; ?></a>
207
  <div class="row-actions">
208
+
 
209
  <span class="inline hide-if-no-js">
210
  <a href="#" class="editinline" onClick="show_calendar_inline(<?php echo $rows[$i]->id; ?>)" title="Edit This Calendar Inline">Quick Edit</a> | </span>
211
  <span class="trash">
213
  </div>
214
  </td>
215
  <td><a href="admin.php?page=SpiderCalendar&task=show_manage_event&calendar_id=<?php echo $rows[$i]->id; ?>">Manage events</a></td>
216
+ <td><a href="admin.php?page=SpiderCalendar&task=edit_calendar&id=<?php echo $rows[$i]->id; ?>" title="Edit This Calendar">Edit</a></td>
217
  <td><a <?php if (!$rows[$i]->published) echo 'style="color:#C00"'; ?>
218
  href="admin.php?page=SpiderCalendar&task=published&id=<?php echo $rows[$i]->id; ?>&_wpnonce=<?php echo $sp_cal_nonce; ?>"><?php if ($rows[$i]->published) echo 'Yes'; else echo 'No'; ?></a>
219
  </td>
280
  <table width="95%">
281
  <tr>
282
  <td width="100%" style="font-size:14px; font-weight:bold">
283
+ <a href="https://web-dorado.com/spider-calendar-wordpress-guide-step-2.html" target="_blank" style="color:blue; text-decoration:none;">User Manual</a>
284
  <br />
285
  This section allows you to create calendars. You can add unlimited number of calendars.
286
+ <a href="https://web-dorado.com/spider-calendar-wordpress-guide-step-2.html" target="_blank" style="color:blue; text-decoration:none;">More...</a>
287
  </td>
288
  <td colspan="7" align="right" style="font-size:16px;">
289
  <a href="https://web-dorado.com/files/fromSpiderCalendarWP.php" target="_blank" style="color:red; text-decoration:none;">
290
+ <img src="<?php echo plugins_url('images/header.png', __FILE__); ?>" border="0" alt="https://web-dorado.com/files/fromSpiderCalendarWP.php" width="215">
291
  </a>
292
  </td>
293
  </tr>
466
  <table width="95%">
467
  <tr>
468
  <td width="100%" style="font-size:14px; font-weight:bold">
469
+ <a href="https://web-dorado.com/spider-calendar-wordpress-guide-step-2.html" target="_blank" style="color:blue; text-decoration:none;">User Manual</a>
470
  <br />
471
  This section allows you to create calendars. You can add unlimited number of calendars.
472
+ <a href="https://web-dorado.com/spider-calendar-wordpress-guide-step-2.html" target="_blank" style="color:blue; text-decoration:none;">More...</a>
473
  </td>
474
  <td colspan="7" align="right" style="font-size:16px;">
475
  <a href="https://web-dorado.com/files/fromSpiderCalendarWP.php" target="_blank" style="color:red; text-decoration:none;">
476
+ <img src="<?php echo plugins_url('images/header.png', __FILE__); ?>" border="0" alt="https://web-dorado.com/files/fromSpiderCalendarWP.php" width="215">
477
  </a>
478
  </td>
479
  </tr>
731
  <table cellspacing="10" width="100%" id="category_table">
732
  <tr>
733
  <td width="100%" style="font-size:14px; font-weight:bold">
734
+ <a href="https://web-dorado.com/spider-calendar-wordpress-guide-step-2.html" target="_blank" style="color:blue; text-decoration:none;">User Manual</a>
735
  <br />
736
  This section allows you to create event categories. You can add unlimited number of categories.
737
  <a href="https://web-dorado.com/spider-calendar-wordpress-guide-step-4.html" target="_blank" style="color:blue; text-decoration:none;">More...</a>
738
  </td>
739
  <td colspan="7" align="right" style="font-size:16px;">
740
  <a href="https://web-dorado.com/files/fromSpiderCalendarWP.php" target="_blank" style="color:red; text-decoration:none;">
741
+ <img src="<?php echo plugins_url('images/header.png', __FILE__); ?>" border="0" alt="https://web-dorado.com/files/fromSpiderCalendarWP.php" width="215">
742
  </a>
743
  </td>
744
  </tr>
794
  <span class="sorting-indicator"></span>
795
  </a>
796
  </th>
797
+ <th scope="col" id="published" class="<?php echo (($sort["sortid_by"] == "published") ? $sort["custom_style"] : $sort["default_style"]); ?>" style="width:100px">
798
  <a href="javascript:ordering('published',<?php echo (($sort["sortid_by"] == "published") ? $sort["1_or_2"] : "1"); ?>)">
799
  <span>Published</span>
800
  <span class="sorting-indicator"></span>
846
  if (document.getElementById('cat_title').value == "") {
847
  alert('Provide the category title:');
848
  }
849
+ else if (document.getElementById('color').value == "") {
850
+ alert('Provide the category color:');
851
+ }
852
  else {
853
  document.getElementById('adminForm').submit();
854
  }
888
  <table cellspacing="10" width="100%" id="category_table">
889
  <tr>
890
  <td width="100%" style="font-size:14px; font-weight:bold">
891
+ <a href="https://web-dorado.com/spider-calendar-wordpress-guide-step-2.html" target="_blank" style="color:blue; text-decoration:none;">User Manual</a>
892
  <br />
893
  This section allows you to create event categories. You can add unlimited number of categories.
894
  <a href="https://web-dorado.com/spider-calendar-wordpress-guide-step-4.html" target="_blank" style="color:blue; text-decoration:none;">More...</a>
1302
  <table cellspacing="10" width="95%">
1303
  <tr>
1304
  <td width="100%" style="font-size:14px; font-weight:bold">
1305
+ <a href="https://web-dorado.com/spider-calendar-wordpress-guide-step-3.html" target="_blank" style="color:blue; text-decoration:none;">User Manual</a><br>
1306
  This section allows you to create/edit the events of a particular calendar.<br/> You can add
1307
  unlimited number of events for each calendar.
1308
  <a href="https://web-dorado.com/spider-calendar-wordpress-guide-step-3.html" target="_blank" style="color:blue; text-decoration:none;">More...</a>
1309
  </td>
1310
  <td colspan="7" align="right" style="font-size:16px;">
1311
  <a href="https://web-dorado.com/files/fromSpiderCalendarWP.php" target="_blank" style="color:red; text-decoration:none;">
1312
+ <img src="<?php echo plugins_url('images/header.png', __FILE__); ?>" border="0" alt="https://web-dorado.com/files/fromSpiderCalendarWP.php" width="215">
1313
  </a>
1314
  </td>
1315
  </tr>
1392
  <span class="sorting-indicator"></span>
1393
  </a>
1394
  </th>
1395
+ <th style="width:80px">Copy</th>
1396
+ <th style="width:80px">Edit</th>
1397
  <th style="width:80px">Delete</th>
1398
  </TR>
1399
  </thead>
1410
  <a <?php if (!$rows[$i]->published) echo 'style="color:#C00"'; ?> href="admin.php?page=SpiderCalendar&calendar_id=<?php echo $calendar_id; ?>&task=published_event&id=<?php echo $rows[$i]->id; ?>&_wpnonce=<?php echo $sp_cal_nonce; ?>"><?php if ($rows[$i]->published)
1411
  echo 'Yes'; else echo 'No'; ?>
1412
  </a>
1413
+ </td>
1414
+ <td>
1415
+ <a href="admin.php?page=SpiderCalendar&calendar_id=<?php echo $calendar_id; ?>&task=copy_event&id=<?php echo $rows[$i]->id; ?>&_wpnonce=<?php echo $sp_cal_nonce; ?>"><img src="<?php echo plugins_url('images/copy_cal.gif', __FILE__); ?>" /></a>
1416
  </td>
1417
  <td>
1418
  <a href="admin.php?page=SpiderCalendar&calendar_id=<?php echo $calendar_id; ?>&task=edit_event&id=<?php echo $rows[$i]->id; ?>">Edit</a>
1707
  <table width="95%">
1708
  <tr>
1709
  <td width="100%" style="font-size:14px; font-weight:bold">
1710
+ <a href="https://web-dorado.com/spider-calendar-wordpress-guide-step-3.html" target="_blank" style="color:blue; text-decoration:none;">User Manual</a>
1711
  <br />
1712
  This section allows you to create/edit the events of a particular calendar.<br/> You can add unlimited number of events for each calendar.
1713
  <a href="https://web-dorado.com/spider-calendar-wordpress-guide-step-3.html" target="_blank" style="color:blue; text-decoration:none;">More...</a>
2187
  <table width="95%">
2188
  <tr>
2189
  <td width="100%" style="font-size:14px; font-weight:bold">
2190
+ <a href="https://web-dorado.com/spider-calendar-wordpress-guide-step-3.html" target="_blank" style="color:blue; text-decoration:none;">User Manual</a>
2191
  <br />
2192
  This section allows you to create/edit the events of a particular calendar.<br/> You can add unlimited number of events for each calendar.
2193
  <a href="https://web-dorado.com/spider-calendar-wordpress-guide-step-3.html" target="_blank" style="color:blue; text-decoration:none;">More...</a>
calendar_functions.php CHANGED
@@ -10,6 +10,21 @@ function add_spider_calendar() {
10
  html_add_spider_calendar();
11
  }
12
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  function spider_upcoming(){
14
  if(isset($_GET['upcalendar_id']))
15
  $calendar_id=(int)$_GET['upcalendar_id'];
@@ -372,7 +387,6 @@ if(isset($_POST['title'])){
372
  '%s',
373
  '%d'
374
  ));
375
-
376
  }
377
  if ($save_or_no === FALSE) {
378
  ?>
10
  html_add_spider_calendar();
11
  }
12
 
13
+ function copy_spider_event($calendar_id, $id) {
14
+ global $wpdb;
15
+ $query = 'INSERT INTO `'.$wpdb->prefix . 'spidercalendar_event`(`calendar`, `date`, `date_end`, `title`, `category`, `time`, `text_for_date`, `userID`, `repeat_method`, `repeat`, `week`, `month`, `month_type`, `monthly_list`, `month_week`, `year_month`, `published`) SELECT `calendar`, `date`, `date_end`, `title`, `category`, `time`, `text_for_date`, `userID`, `repeat_method`, `repeat`, `week`, `month`, `month_type`, `monthly_list`, `month_week`, `year_month`, `published` FROM `'.$wpdb->prefix . 'spidercalendar_event` WHERE `id` = "'.$id.'"';
16
+ if (!$wpdb->query($query)) {
17
+ ?>
18
+ <div id="message" class="error"><p>Event copy was not created.</p></div>
19
+ <?php
20
+ }
21
+ else {
22
+ ?>
23
+ <div class="updated"><p><strong>Event successfully copied.</strong></p></div>
24
+ <?php
25
+ }
26
+ }
27
+
28
  function spider_upcoming(){
29
  if(isset($_GET['upcalendar_id']))
30
  $calendar_id=(int)$_GET['upcalendar_id'];
387
  '%s',
388
  '%d'
389
  ));
 
390
  }
391
  if ($save_or_no === FALSE) {
392
  ?>
featured_plugins.css CHANGED
@@ -1,45 +1,51 @@
 
 
 
 
 
 
1
  #main_featured_plugins_page #featured-plugins-list {
2
  position:relative;
3
  margin:0px auto;
4
- width: 95.4%;
5
  height:auto;
6
  display:table;
7
  list-style:none;
8
- margin-left: 38px;
 
9
  }
10
 
11
  #main_featured_plugins_page #featured-plugins-list li {
12
- float: left;
13
- width: 17%;
14
- margin: 20px 0px 0px 25px;
15
- background: #FFFFFF;
16
- border: 1px solid #B8B8B8;
17
- height: 354px;
 
 
18
  }
19
 
20
  #main_featured_plugins_page #featured-plugins-list li .product {
21
  position:relative;
22
  height:113px;
23
- background-color: #F1F1F1 !important;
24
  background-position-x: 50% !important;
25
  margin: 7px;
26
- border: 1px solid #DEDCDC;
27
  border-radius: 3px;
28
  }
29
 
30
  #main_featured_plugins_page #featured-plugins-list li .title {
31
  width: 90%;
32
  text-align: center;
33
- border-bottom: 1px solid #cacaca;
34
  margin: 0 auto;
35
  }
36
 
37
  #main_featured_plugins_page #featured-plugins-list li.form-maker .product {background:url(images/form.png) left center no-repeat;}
38
  #main_featured_plugins_page #featured-plugins-list li.events-wd .product {background:url(images/events_wd.png) left center no-repeat;}
39
- #main_featured_plugins_page #featured-plugins-list li.instagram-wd .product {background:url(images/instagram_feed.png) left center no-repeat; background-size: 43%;}
40
- #main_featured_plugins_page #featured-plugins-list li.faq-wd .product {background:url(images/faq_wd.png) left center no-repeat; background-size: 43%;}
41
  #main_featured_plugins_page #featured-plugins-list li.catalog .product {background:url(images/catalog.png) left center no-repeat;}
42
- #main_featured_plugins_page #featured-plugins-list li.contact-maker .product {background:url(images/contact.maker.png) left center no-repeat; background-size: 61%;}
43
  #main_featured_plugins_page #featured-plugins-list li.contacts .product {background:url(images/contacts.png) left center no-repeat;}
44
  #main_featured_plugins_page #featured-plugins-list li.facebook .product {background:url(images/facebook.png) left center no-repeat;}
45
  #main_featured_plugins_page #featured-plugins-list li.faq .product {background:url(images/faq.png) left center no-repeat;}
@@ -47,17 +53,19 @@
47
  #main_featured_plugins_page #featured-plugins-list li.player .product {background:url(images/player.png) left center no-repeat; }
48
  #main_featured_plugins_page #featured-plugins-list li.spider-calendar .product {background:url(images/spider.calendar.png) left center no-repeat;}
49
 
50
- #main_featured_plugins_page #featured-plugins-list li.contact_form_bulder .product {background:url(images/contact.builder.png) left center no-repeat; background-size: 80%;}
51
  #main_featured_plugins_page #featured-plugins-list li.random_post .product {background:url(images/random.post.png) left center no-repeat;}
52
- #main_featured_plugins_page #featured-plugins-list li.slider_wd .product {background:url(images/slider.png) left center no-repeat; background-size: 50%;}
53
  #main_featured_plugins_page #featured-plugins-list li.folder_menu .product {background:url(images/folder.menu.png) left center no-repeat;}
54
 
55
- #main_featured_plugins_page #featured-plugins-list li.zoom .product {background:url(images/zoom.png) left center no-repeat; background-size: 85%;}
56
  #main_featured_plugins_page #featured-plugins-list li.photo-gallery .product {background:url(images/photo-gallery.png) left center no-repeat #CACACA;
57
  border-top-left-radius: 5px;
58
  border-bottom-left-radius: 5px;
59
  background-position-x: 7px;
60
- background-size: 95px;
 
 
61
  }
62
  #main_featured_plugins_page #featured-plugins-list li.twitter-widget .product {background:url(images/twittertools.png) left center no-repeat #CACACA;
63
  background-size: 85px;
@@ -66,11 +74,12 @@ border-top-left-radius: 5px;
66
  border-bottom-left-radius: 5px;}
67
 
68
  #main_featured_plugins_page #featured-plugins-list li .title .heading {
69
- display:block;
70
- position:relative;
71
- font-size: 17px;
72
- color: #23282C;
73
- margin: 13px 0px 13px 0px;
 
74
  }
75
 
76
  #main_featured_plugins_page #featured-plugins-list li .title p {
@@ -88,15 +97,97 @@ border-bottom-left-radius: 5px;}
88
  #main_featured_plugins_page #featured-plugins-list li .description p {
89
  text-align: center;
90
  width: 100%;
 
 
91
  }
92
 
93
  #featured-plugins-list li a.download {
94
- display:block;
95
- height:32px;
96
- text-indent:-9999px;
97
- background: url(images/download_plugins.png) center 17px no-repeat;
98
- border-top: 1px solid #CACACA;
99
- outline: none;
100
- width: 90%;
101
- margin: 0 auto;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
102
  }
1
+ @import url(http://fonts.googleapis.com/css?family=Oswald);
2
+
3
+ #main_featured_plugins_page{
4
+ font-family: Oswald;
5
+ }
6
+
7
  #main_featured_plugins_page #featured-plugins-list {
8
  position:relative;
9
  margin:0px auto;
 
10
  height:auto;
11
  display:table;
12
  list-style:none;
13
+ text-align: center;
14
+ width: 100%;
15
  }
16
 
17
  #main_featured_plugins_page #featured-plugins-list li {
18
+ display: inline-table;
19
+ width: 200px;
20
+ margin: 20px 10px 0px 10px;
21
+ background: #FFFFFF;
22
+ border-right: 3px solid #E5E5E5;
23
+ height: 335px;
24
+ border-bottom: 3px solid #E5E5E5;
25
+ position: relative;
26
  }
27
 
28
  #main_featured_plugins_page #featured-plugins-list li .product {
29
  position:relative;
30
  height:113px;
31
+ background-color: transparent !important;
32
  background-position-x: 50% !important;
33
  margin: 7px;
 
34
  border-radius: 3px;
35
  }
36
 
37
  #main_featured_plugins_page #featured-plugins-list li .title {
38
  width: 90%;
39
  text-align: center;
 
40
  margin: 0 auto;
41
  }
42
 
43
  #main_featured_plugins_page #featured-plugins-list li.form-maker .product {background:url(images/form.png) left center no-repeat;}
44
  #main_featured_plugins_page #featured-plugins-list li.events-wd .product {background:url(images/events_wd.png) left center no-repeat;}
45
+ #main_featured_plugins_page #featured-plugins-list li.instagram-wd .product {background:url(images/instagram_feed.png) left center no-repeat;}
46
+ #main_featured_plugins_page #featured-plugins-list li.faq-wd .product {background:url(images/faq_wd.png) left center no-repeat;}
47
  #main_featured_plugins_page #featured-plugins-list li.catalog .product {background:url(images/catalog.png) left center no-repeat;}
48
+ #main_featured_plugins_page #featured-plugins-list li.contact-maker .product {background:url(images/contact-form.png) left center no-repeat;}
49
  #main_featured_plugins_page #featured-plugins-list li.contacts .product {background:url(images/contacts.png) left center no-repeat;}
50
  #main_featured_plugins_page #featured-plugins-list li.facebook .product {background:url(images/facebook.png) left center no-repeat;}
51
  #main_featured_plugins_page #featured-plugins-list li.faq .product {background:url(images/faq.png) left center no-repeat;}
53
  #main_featured_plugins_page #featured-plugins-list li.player .product {background:url(images/player.png) left center no-repeat; }
54
  #main_featured_plugins_page #featured-plugins-list li.spider-calendar .product {background:url(images/spider.calendar.png) left center no-repeat;}
55
 
56
+ #main_featured_plugins_page #featured-plugins-list li.contact_form_bulder .product {background:url(images/contact.builder.png) left center no-repeat;}
57
  #main_featured_plugins_page #featured-plugins-list li.random_post .product {background:url(images/random.post.png) left center no-repeat;}
58
+ #main_featured_plugins_page #featured-plugins-list li.slider_wd .product {background:url(images/slider.png) left center no-repeat;}
59
  #main_featured_plugins_page #featured-plugins-list li.folder_menu .product {background:url(images/folder.menu.png) left center no-repeat;}
60
 
61
+ #main_featured_plugins_page #featured-plugins-list li.zoom .product {background:url(images/zoom.png) left center no-repeat;}
62
  #main_featured_plugins_page #featured-plugins-list li.photo-gallery .product {background:url(images/photo-gallery.png) left center no-repeat #CACACA;
63
  border-top-left-radius: 5px;
64
  border-bottom-left-radius: 5px;
65
  background-position-x: 7px;
66
+ }
67
+ #main_featured_plugins_page #featured-plugins-list li .product {
68
+ background-size: 115px !important;
69
  }
70
  #main_featured_plugins_page #featured-plugins-list li.twitter-widget .product {background:url(images/twittertools.png) left center no-repeat #CACACA;
71
  background-size: 85px;
74
  border-bottom-left-radius: 5px;}
75
 
76
  #main_featured_plugins_page #featured-plugins-list li .title .heading {
77
+ display: block;
78
+ position: relative;
79
+ font-size: 17px;
80
+ color: #767676;
81
+ margin: 13px 0px 13px 0px;
82
+ text-transform: uppercase;
83
  }
84
 
85
  #main_featured_plugins_page #featured-plugins-list li .title p {
97
  #main_featured_plugins_page #featured-plugins-list li .description p {
98
  text-align: center;
99
  width: 100%;
100
+ color: #9A9A9A;
101
+ font-family: "Open Sans",sans-serif;
102
  }
103
 
104
  #featured-plugins-list li a.download {
105
+ display: block;
106
+ border-top: 1px solid #CACACA;
107
+ outline: none;
108
+ width: 90%;
109
+ margin: 0 auto;
110
+ font-size: 14px;
111
+ line-height: 40px;
112
+ text-decoration: none;
113
+ font-weight: bolder;
114
+ text-align: center;
115
+ color: #134D68;
116
+ position: absolute;
117
+ text-transform: uppercase;
118
+ bottom: 0;
119
+ left: 10px;
120
+ font-family: "Open Sans",sans-serif;
121
+ text-shadow: 1px 0;
122
+ }
123
+
124
+ #featured-plugins-list li a.download:hover {
125
+ color: #F47629;
126
+ }
127
+
128
+ .featured_header > div{
129
+ background: #FFFFFF;
130
+ border-right: 3px solid #E5E5E5;
131
+ border-bottom: 3px solid #E5E5E5;
132
+ padding: 20px 0;
133
+ }
134
+ .featured_header {
135
+ position: relative;
136
+ width: 90%;
137
+ margin: 15px auto 0px auto;
138
+ }
139
+
140
+ .featured_header .old_price{
141
+ color: rgba(180, 180, 180, 0.3);
142
+ text-decoration: line-through;
143
+ font-family: Oswald;
144
+ }
145
+
146
+ .featured_header h1.get_plugins{
147
+ color: #FFFFFF;
148
+ background:url(images/featured_plugins_bg.png) no-repeat;
149
+ height: 85px;
150
+ margin: 0;
151
+ background-size: 85% 100%;
152
+ background-position: center;
153
+ line-height: 60px;
154
+ }
155
+
156
+ .featured_header h1{
157
+ font-size: 50px;
158
+ text-align: center;
159
+ color: #F47629;
160
+ letter-spacing: 3px;
161
+ line-height: 10px;
162
+ }
163
+
164
+ .featured_header a{
165
+ text-decoration: none;
166
+ }
167
+
168
+ @media screen and (max-width: 1105px) {
169
+ .featured_header h1{
170
+ font-size: 37px;
171
+ line-height: 0;
172
+ }
173
+ }
174
+
175
+
176
+ @media screen and (max-width: 835px) {
177
+ .get_plugins span{
178
+ display: none;
179
+ }
180
+ }
181
+
182
+ @media screen and (max-width: 700px){
183
+ .featured_header h1{
184
+ line-height: 40px;
185
+ }
186
+ }
187
+
188
+ @media screen and (max-width: 435px) {
189
+ .featured_header h1 {
190
+ font-size: 20px;
191
+ line-height: 25px;
192
+ }
193
  }
featured_themes.css CHANGED
@@ -1,20 +1,24 @@
 
 
1
  #main_featured_themes_page #featured-plugins-list {
2
  position:relative;
3
  margin:0px auto;
4
- width: 95.4%;
5
  height:auto;
6
  display:table;
7
  list-style:none;
8
- margin-left: 38px;
 
9
  }
10
 
11
  #main_featured_themes_page #featured-plugins-list li {
12
- float: left;
13
- width: 17%;
14
- margin: 20px 0px 0px 25px;
15
  background: #FFFFFF;
16
- border: 1px solid #B8B8B8;
17
- height: 405px;
 
 
18
  }
19
 
20
  #main_featured_themes_page #featured-plugins-list li .product {
@@ -27,10 +31,13 @@
27
  #main_featured_themes_page #featured-plugins-list li .title {
28
  width: 91%;
29
  text-align: center;
30
- border-bottom: 1px solid #cacaca;
31
  margin: 0 auto;
32
  }
33
 
 
 
 
 
34
  #main_featured_themes_page #featured-plugins-list li.sauron .product {background:url(images/sauron.png) left center no-repeat;}
35
  #main_featured_themes_page #featured-plugins-list li.portfolio .product {background:url(images/portfolio.jpg) left center no-repeat;}
36
  #main_featured_themes_page #featured-plugins-list li.business_elite .product {background:url(images/business_elite.png) left center no-repeat;}
@@ -44,11 +51,12 @@
44
  #main_featured_themes_page #featured-plugins-list li.expert .product {background:url(images/expert.png) left center no-repeat; background-size: 80%;}
45
 
46
  #main_featured_themes_page #featured-plugins-list li .title .heading {
47
- display:block;
48
- position:relative;
49
- font-size: 16px;
50
- color: #23282C;
51
- margin: 13px 0px 13px 0px;
 
52
  }
53
 
54
  #main_featured_themes_page #featured-plugins-list li .title p {
@@ -65,16 +73,91 @@
65
 
66
  #main_featured_themes_page #featured-plugins-list li .description p {
67
  text-align: center;
68
- width: 100%;
 
 
69
  }
70
 
71
  #featured-plugins-list li a.download {
72
- display:block;
73
- height:32px;
74
- text-indent:-9999px;
75
- background: url(images/download_themes.png) center 17px no-repeat;
76
- border-top: 1px solid #CACACA;
77
- outline: none;
78
- width: 90%;
79
- margin: 0 auto;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
80
  }
1
+ @import url(http://fonts.googleapis.com/css?family=Oswald);
2
+
3
  #main_featured_themes_page #featured-plugins-list {
4
  position:relative;
5
  margin:0px auto;
 
6
  height:auto;
7
  display:table;
8
  list-style:none;
9
+ text-align: center;
10
+ width: 100%;
11
  }
12
 
13
  #main_featured_themes_page #featured-plugins-list li {
14
+ display: inline-table;
15
+ width: 245px;
16
+ margin: 20px 10px 0px 10px;
17
  background: #FFFFFF;
18
+ border-right: 3px solid #E5E5E5;
19
+ height: 405px;
20
+ border-bottom: 3px solid #E5E5E5;
21
+ position: relative;
22
  }
23
 
24
  #main_featured_themes_page #featured-plugins-list li .product {
31
  #main_featured_themes_page #featured-plugins-list li .title {
32
  width: 91%;
33
  text-align: center;
 
34
  margin: 0 auto;
35
  }
36
 
37
+ #main_featured_themes_page {
38
+ font-family: Oswald;
39
+ }
40
+
41
  #main_featured_themes_page #featured-plugins-list li.sauron .product {background:url(images/sauron.png) left center no-repeat;}
42
  #main_featured_themes_page #featured-plugins-list li.portfolio .product {background:url(images/portfolio.jpg) left center no-repeat;}
43
  #main_featured_themes_page #featured-plugins-list li.business_elite .product {background:url(images/business_elite.png) left center no-repeat;}
51
  #main_featured_themes_page #featured-plugins-list li.expert .product {background:url(images/expert.png) left center no-repeat; background-size: 80%;}
52
 
53
  #main_featured_themes_page #featured-plugins-list li .title .heading {
54
+ display: block;
55
+ position: relative;
56
+ font-size: 17px;
57
+ color: #767676;
58
+ margin: 13px 0px 13px 0px;
59
+ text-transform: uppercase;
60
  }
61
 
62
  #main_featured_themes_page #featured-plugins-list li .title p {
73
 
74
  #main_featured_themes_page #featured-plugins-list li .description p {
75
  text-align: center;
76
+ width: 100%;
77
+ color: #9A9A9A;
78
+ font-family: "Open Sans",sans-serif;
79
  }
80
 
81
  #featured-plugins-list li a.download {
82
+ display: block;
83
+ border-top: 1px solid #CACACA;
84
+ outline: none;
85
+ width: 90%;
86
+ margin: 0 auto;
87
+ font-size: 14px;
88
+ line-height: 40px;
89
+ text-decoration: none;
90
+ font-weight: bolder;
91
+ text-align: center;
92
+ color: #134D68;
93
+ position: absolute;
94
+ text-transform: uppercase;
95
+ bottom: 0;
96
+ left: 10px;
97
+ font-family: "Open Sans",sans-serif;
98
+ text-shadow: 1px 0;
99
+ }
100
+
101
+ #featured-plugins-list li a.download:hover {
102
+ color: #F47629;
103
+ }
104
+
105
+ .featured_header > div{
106
+ background: #FFFFFF;
107
+ border-right: 3px solid #E5E5E5;
108
+ border-bottom: 3px solid #E5E5E5;
109
+ padding: 20px 0;
110
+ }
111
+ .featured_header {
112
+ position: relative;
113
+ width: 90%;
114
+ margin: 15px auto 0px auto;
115
+ }
116
+
117
+ .featured_header .old_price{
118
+ color: rgba(180, 180, 180, 0.3);
119
+ text-decoration: line-through;
120
+ font-family: Oswald;
121
+ }
122
+
123
+ .featured_header h1.get_plugins{
124
+ color: #FFFFFF;
125
+ background:url(images/featured_plugins_bg.png) no-repeat;
126
+ height: 85px;
127
+ margin: 0;
128
+ background-size: 95% 100%;
129
+ background-position: center;
130
+ line-height: 60px;
131
+ }
132
+
133
+ .featured_header h1{
134
+ font-size: 45px;
135
+ text-align: center;
136
+ color: #F47629;
137
+ letter-spacing: 3px;
138
+ line-height: 10px;
139
+ }
140
+
141
+ .featured_header a{
142
+ text-decoration: none;
143
+ }
144
+
145
+ @media screen and (max-width: 1035px) {
146
+ .featured_header h1{
147
+ font-size: 37px;
148
+ line-height: 0;
149
+ }
150
+ }
151
+
152
+ @media screen and (max-width: 835px) {
153
+ .get_plugins span{
154
+ display: none;
155
+ }
156
+ }
157
+
158
+ @media screen and (max-width: 435px) {
159
+ .featured_header h1 {
160
+ font-size: 20px;
161
+ line-height: 17px;
162
+ }
163
  }
front_end/bigcalendarday.php CHANGED
@@ -5,7 +5,7 @@ function big_calendar_day() {
5
  $widget = ((isset($_GET['widget']) && (int) $_GET['widget']) ? (int) $_GET['widget'] : 0);
6
  $many_sp_calendar = ((isset($_GET['many_sp_calendar']) && is_numeric(esc_html($_GET['many_sp_calendar']))) ? esc_html($_GET['many_sp_calendar']) : 1);
7
  $calendar_id = (isset($_GET['calendar']) ? (int) $_GET['calendar'] : '');
8
- $theme_id = (isset($_GET['theme_id']) ? (int) $_GET['theme_id'] : 1);
9
  $date = ((isset($_GET['date']) && IsDate_inputed(esc_html($_GET['date']))) ? esc_html($_GET['date']) : '');
10
  $view_select = (isset($_GET['select']) ? esc_html($_GET['select']) : 'month,');
11
  $path_sp_cal = (isset($_GET['cur_page_url']) ? esc_html($_GET['cur_page_url']) : '');
@@ -124,7 +124,7 @@ $theme = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'spide
124
  $year_font_size = $theme->year_font_size;
125
  $month_font_size = $theme->month_font_size;
126
  $arrow_size = $theme->arrow_size;
127
- $arrow_size_hover = $arrow_size + 5;
128
  $next_month_text_color = '#' . str_replace('#','',$theme->next_month_text_color);
129
  $prev_month_text_color = '#' . str_replace('#','',$theme->prev_month_text_color);
130
  $next_month_arrow_color = '#' . str_replace('#','',$theme->next_month_arrow_color);
@@ -149,8 +149,8 @@ $theme = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'spide
149
  $views_tabs_bg_color = '#' . str_replace('#','',$theme->views_tabs_bg_color);
150
  $views_tabs_text_color = '#' . str_replace('#','',$theme->views_tabs_text_color);
151
  $views_tabs_font_size = $theme->views_tabs_font_size;
152
- $show_cat = '1';
153
- $header_format = 'w/m/d/y';
154
 
155
  $date_bg_color = '#' . str_replace('#','',$theme->date_bg_color);
156
  $event_bg_color1 = '#' . str_replace('#','',$theme->event_bg_color1);
@@ -258,7 +258,14 @@ $theme = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'spide
258
  }
259
  }
260
  ?>
 
 
261
  <style type='text/css'>
 
 
 
 
 
262
 
263
  .day_ev{
264
  border-top-left-radius: <?php echo $border_radius2 ?>px !important;
@@ -325,6 +332,7 @@ $theme = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'spide
325
 
326
  #bigcalendar<?php echo $many_sp_calendar ?> .cala_arrow a:link, #bigcalendar .cala_arrow a:visited {
327
  text-decoration: none !important;
 
328
  background: none !important;
329
  font-size: <?php echo $arrow_size ?>px !important;
330
  }
@@ -444,7 +452,7 @@ $theme = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'spide
444
  }
445
  #bigcalendar<?php echo $many_sp_calendar; ?> .cala_arrow a:link,
446
  #bigcalendar<?php echo $many_sp_calendar; ?> .cala_arrow a:visited {
447
- text-decoration:none;
448
  background:none;
449
  font-size: <?php echo $arrow_size; ?>px;
450
  }
@@ -530,8 +538,9 @@ $theme = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'spide
530
  position: relative;
531
  }
532
 
533
- #bigcalendar<?php echo $many_sp_calendar; ?> .views span{
534
- padding: 7px;
 
535
  }
536
 
537
  #drop_down_views
@@ -562,6 +571,8 @@ $theme = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'spide
562
  }
563
 
564
  </style>
 
 
565
  <div id="afterbig<?php echo $many_sp_calendar; ?>" style="<?php echo $display ?>">
566
  <div style="width:100%;">
567
  <table cellpadding="0" cellspacing="0" style="width:100%;">
@@ -598,7 +609,7 @@ $theme = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'spide
598
  'cat_ids' => $cat_ids,
599
  'widget' => $widget,
600
  'rand' => $many_sp_calendar,
601
- ), $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>
602
  </div>
603
  <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;'; ?>"
604
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
@@ -613,7 +624,7 @@ $theme = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'spide
613
  'cat_ids' => $cat_ids,
614
  'widget' => $widget,
615
  'rand' => $many_sp_calendar,
616
- ), $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>
617
  </div>
618
  <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;'; ?>"
619
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
@@ -628,7 +639,7 @@ $theme = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'spide
628
  'cat_ids' => $cat_ids,
629
  'widget' => $widget,
630
  'rand' => $many_sp_calendar,
631
- ), $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 __('Month', 'sp_calendar'); ?></span>
632
  </div>
633
  </div>
634
  <div id="views_tabs_select" style="display:none" >
@@ -721,7 +732,7 @@ $theme = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'spide
721
  <td width="100%" style="padding:0; margin:0;">
722
  <table cellpadding="0" cellspacing="0" border="0" style="border-spacing:0; font-size:12px; margin:0; padding:0; width:100%;" >
723
  <tr style="height:40px; width:100%;">
724
- <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%;">
725
  <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;">
726
  <tr>
727
  <td width="15%">
@@ -737,14 +748,14 @@ $theme = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'spide
737
  'cat_id' => '',
738
  'cat_ids' => $cat_ids,
739
  'widget' => $widget,
740
- ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" style="text-align:center; cursor:pointer; width:100%; background-color:#000000; filter:alpha(opacity=30); opacity:0.3;">
741
  <span style="font-size:18px; color:#FFF"><?php echo $year - 1; ?></span>
742
  </div>
743
  </td>
744
  <td style="width:100%;vertical-align:center">
745
  <table style="width:100%;">
746
  <tr>
747
- <td class="cala_arrow" width="15%" style="text-align:right;margin:0px;padding:0px">
748
  <a style="text-shadow: 1px 1px 2px black;color:<?php echo $color_arrow_month ?>" href="javascript:showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>','<?php
749
 
750
  if ($day == '01' && Month_num(Month_name(Month_num($month) - 1)) != '12') {
@@ -773,7 +784,7 @@ $theme = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'spide
773
  'cat_ids' => $cat_ids,
774
  'widget' => $widget,
775
  ), $site_url);
776
- ?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')"><div class="arrow-left"></div>
777
  </a>
778
  </td>
779
  <td style="text-align:center; margin:0;" width="40%">
@@ -799,7 +810,7 @@ $theme = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'spide
799
 
800
  ?>
801
 
802
- <td style="margin:0; padding:0;text-align:left" width="15%" class="cala_arrow">
803
  <a style="text-shadow: 1px 1px 2px black;color:<?php echo $color_arrow_month ?>" href="javascript:showbigcalendar('bigcalendar<?php echo $many_sp_calendar ?>','<?php
804
 
805
  echo add_query_arg(array(
@@ -814,7 +825,7 @@ $theme = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'spide
814
  'cat_ids' => $cat_ids,
815
  'widget' => $widget,
816
  ), $site_url);
817
- ?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')"><div class="arrow-right"></div>
818
  </a>
819
  </td>
820
  <td width="15%">
@@ -830,7 +841,7 @@ $theme = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'spide
830
  'cat_id' => '',
831
  'cat_ids' => $cat_ids,
832
  'widget' => $widget,
833
- ), $site_url); ?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" style="text-align:center; cursor:pointer; width:100%; background-color:#000000; filter:alpha(opacity=30); opacity:0.3;">
834
  <span style="font-size:18px; color:#FFF"><?php echo $year + 1; ?></span>
835
  </div>
836
  </td>
@@ -998,6 +1009,7 @@ $theme = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'spide
998
  padding: 2px 10px !important;
999
  margin: 2px 0 !important;
1000
  font-size: 14px;
 
1001
  }
1002
  </style>
1003
  <?php
@@ -1025,7 +1037,7 @@ echo'
1025
  if($cat_ids=='')
1026
  $cat_ids='';
1027
  if($show_cat){
1028
- echo '<ul id="cats" style="list-style-type:none;">';
1029
 
1030
 
1031
  foreach($categories as $category)
@@ -1065,7 +1077,10 @@ if (!empty($categories)) {
1065
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')"><?php echo __('All categories', 'sp_calendar'); ?></p></li>
1066
  <?php echo '</ul>';
1067
  }
1068
- }
 
 
 
1069
  die();
1070
  }
1071
 
5
  $widget = ((isset($_GET['widget']) && (int) $_GET['widget']) ? (int) $_GET['widget'] : 0);
6
  $many_sp_calendar = ((isset($_GET['many_sp_calendar']) && is_numeric(esc_html($_GET['many_sp_calendar']))) ? esc_html($_GET['many_sp_calendar']) : 1);
7
  $calendar_id = (isset($_GET['calendar']) ? (int) $_GET['calendar'] : '');
8
+ $theme_id = (isset($_GET['theme_id']) ? (int) $_GET['theme_id'] : 30);
9
  $date = ((isset($_GET['date']) && IsDate_inputed(esc_html($_GET['date']))) ? esc_html($_GET['date']) : '');
10
  $view_select = (isset($_GET['select']) ? esc_html($_GET['select']) : 'month,');
11
  $path_sp_cal = (isset($_GET['cur_page_url']) ? esc_html($_GET['cur_page_url']) : '');
124
  $year_font_size = $theme->year_font_size;
125
  $month_font_size = $theme->month_font_size;
126
  $arrow_size = $theme->arrow_size;
127
+ $arrow_size_hover = $arrow_size;
128
  $next_month_text_color = '#' . str_replace('#','',$theme->next_month_text_color);
129
  $prev_month_text_color = '#' . str_replace('#','',$theme->prev_month_text_color);
130
  $next_month_arrow_color = '#' . str_replace('#','',$theme->next_month_arrow_color);
149
  $views_tabs_bg_color = '#' . str_replace('#','',$theme->views_tabs_bg_color);
150
  $views_tabs_text_color = '#' . str_replace('#','',$theme->views_tabs_text_color);
151
  $views_tabs_font_size = $theme->views_tabs_font_size;
152
+ $show_cat = $theme->show_cat;
153
+ $header_format = $theme->header_format;
154
 
155
  $date_bg_color = '#' . str_replace('#','',$theme->date_bg_color);
156
  $event_bg_color1 = '#' . str_replace('#','',$theme->event_bg_color1);
258
  }
259
  }
260
  ?>
261
+ <html>
262
+ <head>
263
  <style type='text/css'>
264
+ #afterbig<?php echo $many_sp_calendar; ?> table,
265
+ #bigcalendar<?php echo $many_sp_calendar; ?> table{
266
+ font-family: Segoe UI;
267
+ border: 0;
268
+ }
269
 
270
  .day_ev{
271
  border-top-left-radius: <?php echo $border_radius2 ?>px !important;
332
 
333
  #bigcalendar<?php echo $many_sp_calendar ?> .cala_arrow a:link, #bigcalendar .cala_arrow a:visited {
334
  text-decoration: none !important;
335
+ box-shadow: none !important;
336
  background: none !important;
337
  font-size: <?php echo $arrow_size ?>px !important;
338
  }
452
  }
453
  #bigcalendar<?php echo $many_sp_calendar; ?> .cala_arrow a:link,
454
  #bigcalendar<?php echo $many_sp_calendar; ?> .cala_arrow a:visited {
455
+ text-decoration:none !important;
456
  background:none;
457
  font-size: <?php echo $arrow_size; ?>px;
458
  }
538
  position: relative;
539
  }
540
 
541
+ #afterbig<?php echo $many_sp_calendar; ?> .views span,
542
+ #bigcalendar<?php echo $many_sp_calendar; ?> .views span{
543
+ line-height: 30px;
544
  }
545
 
546
  #drop_down_views
571
  }
572
 
573
  </style>
574
+ </head>
575
+ <body>
576
  <div id="afterbig<?php echo $many_sp_calendar; ?>" style="<?php echo $display ?>">
577
  <div style="width:100%;">
578
  <table cellpadding="0" cellspacing="0" style="width:100%;">
609
  'cat_ids' => $cat_ids,
610
  'widget' => $widget,
611
  'rand' => $many_sp_calendar,
612
+ ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="top: -3px; position: relative; color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px"><?php echo __('Week', 'sp_calendar'); ?></span>
613
  </div>
614
  <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;'; ?>"
615
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
624
  'cat_ids' => $cat_ids,
625
  'widget' => $widget,
626
  'rand' => $many_sp_calendar,
627
+ ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="top: -3px; position: relative; color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px"><?php echo __('List', 'sp_calendar'); ?></span>
628
  </div>
629
  <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;'; ?>"
630
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
639
  'cat_ids' => $cat_ids,
640
  'widget' => $widget,
641
  'rand' => $many_sp_calendar,
642
+ ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')"><span style="top: -3px; position: relative; color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px"><?php echo __('Month', 'sp_calendar'); ?></span>
643
  </div>
644
  </div>
645
  <div id="views_tabs_select" style="display:none" >
732
  <td width="100%" style="padding:0; margin:0;">
733
  <table cellpadding="0" cellspacing="0" border="0" style="border-spacing:0; font-size:12px; margin:0; padding:0; width:100%;" >
734
  <tr style="height:40px; width:100%;">
735
+ <td class="top_table" align="center" colspan="7" style="position: relative;padding:0; margin:0; background-color:<?php echo $bg_top; ?> !important;height:20px; background-repeat: no-repeat;background-size: 100% 100%;">
736
  <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;">
737
  <tr>
738
  <td width="15%">
748
  'cat_id' => '',
749
  'cat_ids' => $cat_ids,
750
  'widget' => $widget,
751
+ ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" style="text-align:center; cursor:pointer; width:100%; background-color: <?php echo hex_to_rgb($views_tabs_bg_color, 0.4) ?>;">
752
  <span style="font-size:18px; color:#FFF"><?php echo $year - 1; ?></span>
753
  </div>
754
  </td>
755
  <td style="width:100%;vertical-align:center">
756
  <table style="width:100%;">
757
  <tr>
758
+ <td class="cala_arrow" width="11%" style="text-align:right;margin:0px;padding: 0px 30px 0px 0px !important;">
759
  <a style="text-shadow: 1px 1px 2px black;color:<?php echo $color_arrow_month ?>" href="javascript:showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>','<?php
760
 
761
  if ($day == '01' && Month_num(Month_name(Month_num($month) - 1)) != '12') {
784
  'cat_ids' => $cat_ids,
785
  'widget' => $widget,
786
  ), $site_url);
787
+ ?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')">&#10096;
788
  </a>
789
  </td>
790
  <td style="text-align:center; margin:0;" width="40%">
810
 
811
  ?>
812
 
813
+ <td style="margin:0; padding: 0px 0px 0px 30px !important; text-align:left" width="11%" class="cala_arrow">
814
  <a style="text-shadow: 1px 1px 2px black;color:<?php echo $color_arrow_month ?>" href="javascript:showbigcalendar('bigcalendar<?php echo $many_sp_calendar ?>','<?php
815
 
816
  echo add_query_arg(array(
825
  'cat_ids' => $cat_ids,
826
  'widget' => $widget,
827
  ), $site_url);
828
+ ?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')">&#10097;
829
  </a>
830
  </td>
831
  <td width="15%">
841
  'cat_id' => '',
842
  'cat_ids' => $cat_ids,
843
  'widget' => $widget,
844
+ ), $site_url); ?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" style="text-align:center; cursor:pointer; width:100%; background-color: <?php echo hex_to_rgb($views_tabs_bg_color, 0.4) ?>;">
845
  <span style="font-size:18px; color:#FFF"><?php echo $year + 1; ?></span>
846
  </div>
847
  </td>
1009
  padding: 2px 10px !important;
1010
  margin: 2px 0 !important;
1011
  font-size: 14px;
1012
+ font-weight: 600;
1013
  }
1014
  </style>
1015
  <?php
1037
  if($cat_ids=='')
1038
  $cat_ids='';
1039
  if($show_cat){
1040
+ echo '<ul id="cats" style="list-style-type:none; padding: 0;">';
1041
 
1042
 
1043
  foreach($categories as $category)
1077
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')"><?php echo __('All categories', 'sp_calendar'); ?></p></li>
1078
  <?php echo '</ul>';
1079
  }
1080
+ } ?>
1081
+ </body>
1082
+ </html>
1083
+ <?php
1084
  die();
1085
  }
1086
 
front_end/bigcalendarday_widget.php CHANGED
@@ -108,7 +108,7 @@ $cat_ids = substr($cat_ids, 0,-1);
108
  $year_font_size = $theme->year_font_size;
109
  $year_font_color = '#' . str_replace('#','',$theme->year_font_color);
110
  $year_tabs_bg_color = '#' . str_replace('#','',$theme->year_tabs_bg_color);
111
- $show_cat = 1;
112
  $font_year = $theme->font_year;
113
  $font_month = $theme->font_month;
114
  $font_day = $theme->font_day;
@@ -187,6 +187,8 @@ $cat_ids = substr($cat_ids, 0,-1);
187
  $display = "display:none";
188
  }
189
  ?>
 
 
190
  <style type='text/css'>
191
  #calendar_<?php echo $many_sp_calendar; ?> table {
192
  border-collapse: initial;
@@ -218,7 +220,7 @@ $cat_ids = substr($cat_ids, 0,-1);
218
  #calendar_<?php echo $many_sp_calendar; ?> .cala_arrow a:link,
219
  #calendar_<?php echo $many_sp_calendar; ?> .cala_arrow a:visited {
220
  color: <?php echo $color_arrow; ?>;
221
- text-decoration: none;
222
  background: none !important;
223
  font-size: 16px;
224
  }
@@ -344,6 +346,8 @@ position: relative;
344
  display:none;
345
  }
346
  </style>
 
 
347
  <div id="calendar_<?php echo $many_sp_calendar; ?>" style="width:<?php echo $calendar_width; ?>px;">
348
  <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">
349
  <tr style="background-color:#FFFFFF;">
@@ -727,7 +731,10 @@ if (!empty($categories)) {
727
 
728
  <?php echo '</ul>';
729
  }
730
- }
 
 
 
731
  die();
732
  }
733
 
108
  $year_font_size = $theme->year_font_size;
109
  $year_font_color = '#' . str_replace('#','',$theme->year_font_color);
110
  $year_tabs_bg_color = '#' . str_replace('#','',$theme->year_tabs_bg_color);
111
+ $show_cat = $theme->show_cat;
112
  $font_year = $theme->font_year;
113
  $font_month = $theme->font_month;
114
  $font_day = $theme->font_day;
187
  $display = "display:none";
188
  }
189
  ?>
190
+ <html>
191
+ <head>
192
  <style type='text/css'>
193
  #calendar_<?php echo $many_sp_calendar; ?> table {
194
  border-collapse: initial;
220
  #calendar_<?php echo $many_sp_calendar; ?> .cala_arrow a:link,
221
  #calendar_<?php echo $many_sp_calendar; ?> .cala_arrow a:visited {
222
  color: <?php echo $color_arrow; ?>;
223
+ text-decoration: none !important;
224
  background: none !important;
225
  font-size: 16px;
226
  }
346
  display:none;
347
  }
348
  </style>
349
+ </head>
350
+ <body>
351
  <div id="calendar_<?php echo $many_sp_calendar; ?>" style="width:<?php echo $calendar_width; ?>px;">
352
  <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">
353
  <tr style="background-color:#FFFFFF;">
731
 
732
  <?php echo '</ul>';
733
  }
734
+ } ?>
735
+ </body>
736
+ </html>
737
+ <?php
738
  die();
739
  }
740
 
front_end/bigcalendarlist.php CHANGED
@@ -5,7 +5,7 @@ function big_calendar_list() {
5
  $widget = ((isset($_GET['widget']) && (int) $_GET['widget']) ? (int) $_GET['widget'] : 0);
6
  $many_sp_calendar = ((isset($_GET['many_sp_calendar']) && is_numeric(esc_html($_GET['many_sp_calendar']))) ? esc_html($_GET['many_sp_calendar']) : 1);
7
  $calendar_id = (isset($_GET['calendar']) ? (int) $_GET['calendar'] : '');
8
- $theme_id = (isset($_GET['theme_id']) ? (int) $_GET['theme_id'] : 1);
9
  $date = ((isset($_GET['date']) && IsDate_inputed(esc_html($_GET['date']))) ? esc_html($_GET['date']) : '');
10
  $view_select = (isset($_GET['select']) ? esc_html($_GET['select']) : 'month,');
11
  $path_sp_cal = (isset($_GET['cur_page_url']) ? esc_html($_GET['cur_page_url']) : '');
@@ -122,7 +122,7 @@ $cat_ids = substr($cat_ids, 0,-1);
122
  $year_font_size = $theme->year_font_size;
123
  $month_font_size = $theme->month_font_size;
124
  $arrow_size = $theme->arrow_size;
125
- $arrow_size_hover = $arrow_size + 5;
126
  $next_month_text_color = '#' . str_replace('#','',$theme->next_month_text_color);
127
  $prev_month_text_color = '#' . str_replace('#','',$theme->prev_month_text_color);
128
  $next_month_arrow_color = '#' . str_replace('#','',$theme->next_month_arrow_color);
@@ -147,8 +147,8 @@ $cat_ids = substr($cat_ids, 0,-1);
147
  $views_tabs_bg_color = '#' . str_replace('#','',$theme->views_tabs_bg_color);
148
  $views_tabs_text_color = '#' . str_replace('#','',$theme->views_tabs_text_color);
149
  $views_tabs_font_size = $theme->views_tabs_font_size;
150
- $show_cat = 1;
151
- $header_format = 'w/m/d/y';
152
 
153
  $date_bg_color = '#' . str_replace('#','',$theme->date_bg_color);
154
  $event_bg_color1 = '#' . str_replace('#','',$theme->event_bg_color1);
@@ -235,7 +235,15 @@ $cat_ids = substr($cat_ids, 0,-1);
235
  $name_year = __($month, 'sp_calendar') .' '. $year;
236
 
237
  ?>
238
- <style type='text/css'>
 
 
 
 
 
 
 
 
239
  .general_table table table:last-child .last_table:last-child td{
240
  border-bottom-left-radius:<?php echo $border_radius2?>px;
241
 
@@ -292,6 +300,7 @@ $cat_ids = substr($cat_ids, 0,-1);
292
  #bigcalendar<?php echo $many_sp_calendar; ?> .cala_arrow a:link,
293
  #bigcalendar .cala_arrow a:visited {
294
  text-decoration: none !important;
 
295
  background: none !important;
296
  font-size: <?php echo $arrow_size; ?>px !important;
297
  }
@@ -413,7 +422,7 @@ $cat_ids = substr($cat_ids, 0,-1);
413
  }
414
  #bigcalendar<?php echo $many_sp_calendar; ?> .cala_arrow a:link,
415
  #bigcalendar<?php echo $many_sp_calendar; ?> .cala_arrow a:visited {
416
- text-decoration:none;
417
  background:none;
418
  font-size: <?php echo $arrow_size; ?>px;
419
  }
@@ -486,8 +495,9 @@ $cat_ids = substr($cat_ids, 0,-1);
486
  position: relative;
487
  top: 5px;
488
  }
489
- #bigcalendar<?php echo $many_sp_calendar; ?> .views span{
490
- padding: 7px;
 
491
  }
492
 
493
  #bigcalendar<?php echo $many_sp_calendar; ?> .views_select ,
@@ -531,6 +541,8 @@ position: relative;
531
  }
532
 
533
  </style>
 
 
534
  <div id="afterbig<?php echo $many_sp_calendar; ?>" style="<?php echo $display ?>">
535
  <div style="width:100%;">
536
  <table cellpadding="0" cellspacing="0" style="width:100%;">
@@ -551,7 +563,7 @@ position: relative;
551
  'cat_ids' => $cat_ids,
552
  'widget' => $widget,
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 __('Day', 'sp_calendar'); ?></span>
555
  </div>
556
  <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;'; ?>"
557
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
@@ -567,7 +579,7 @@ position: relative;
567
  'cat_ids' => $cat_ids,
568
  'widget' => $widget,
569
  'rand' => $many_sp_calendar,
570
- ), $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>
571
  </div>
572
  <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;'; ?>"
573
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
@@ -597,7 +609,7 @@ position: relative;
597
  'cat_ids' => $cat_ids,
598
  'widget' => $widget,
599
  'rand' => $many_sp_calendar,
600
- ), $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 __('Month', 'sp_calendar'); ?></span>
601
  </div>
602
  </div>
603
 
@@ -690,7 +702,7 @@ position: relative;
690
  <td width="100%" style=" padding:0; margin:0">
691
  <table cellpadding="0" cellspacing="0" border="0" style="border-spacing:0; font-size:12px; margin:0; padding:0; width:100%">
692
  <tr style="height:40px; width:100%;">
693
- <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%; " >
694
  <table cellpadding="0" cellspacing="0" border="0" align="center" class="calyear_table" style="margin:0; padding:0; text-align:center; width:100%; height:<?php echo $top_height ?>px;">
695
  <tr>
696
  <td style="width:100%;vertical-align:center">
@@ -709,11 +721,11 @@ position: relative;
709
  'cat_id' => '',
710
  'cat_ids' => $cat_ids,
711
  'widget' => $widget,
712
- ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" style="text-align:center; cursor:pointer; width:100%; background-color:#000000; filter:alpha(opacity=30); opacity:0.3;">
713
  <span style="font-size:18px; color:#FFF"><?php echo $year-1; ?></span>
714
  </div>
715
  </td>
716
- <td class="cala_arrow" width="15%" style="text-align:right;margin:0px;padding:0px">
717
  <a style="text-shadow: 1px 1px 2px black;color:<?php echo $color_arrow_month ?>" href="javascript:showbigcalendar('bigcalendar<?php echo $many_sp_calendar ?>','<?php
718
  if (Month_num($month) == 1) {
719
  $needed_date = ($year - 1) . '-12';
@@ -732,14 +744,14 @@ position: relative;
732
  'cat_id' => '',
733
  'cat_ids' => $cat_ids,
734
  'widget' => $widget,
735
- ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')"><div class="arrow-left"></div>
736
  </a>
737
  </td>
738
  <td style="text-align:center; margin:0;" width="40%">
739
  <input type="hidden" name="month" readonly="" value="<?php echo $month?>"/>
740
- <span style="line-height: 30px;font-family:arial; color:<?php echo $text_color_month;?>; font-size:<?php echo $month_font_size ?>px;text-shadow: 1px 1px black;"><?php echo $name_year; ?></span>
741
  </td>
742
- <td style="margin:0; padding:0;text-align:left" width="15%" class="cala_arrow">
743
  <a style="text-shadow: 1px 1px 2px black;color:<?php echo $color_arrow_month ?>" href="javascript:showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>','<?php
744
  if (Month_num($month) == 12) {
745
  $needed_date = ($year + 1) . '-01';
@@ -758,7 +770,7 @@ position: relative;
758
  'cat_id' => '',
759
  'cat_ids' => $cat_ids,
760
  'widget' => $widget,
761
- ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')"><div class="arrow-right"></div>
762
  </a>
763
  </td>
764
  <td width="15%">
@@ -774,7 +786,7 @@ position: relative;
774
  'cat_id' => '',
775
  'cat_ids' => $cat_ids,
776
  'widget' => $widget,
777
- ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" style="text-align:center; cursor:pointer; width:100%; background-color:#000000; filter:alpha(opacity=30); opacity:0.3;">
778
  <span style="font-size:18px; color:#FFF"><?php echo $year + 1; ?></span>
779
  </div>
780
  </td>
@@ -929,6 +941,7 @@ position: relative;
929
  padding: 2px 10px !important;
930
  margin: 2px 0 !important;
931
  font-size: 14px;
 
932
  }
933
  </style>
934
  <?php
@@ -956,7 +969,7 @@ echo'
956
  if($cat_ids=='')
957
  $cat_ids='';
958
  if($show_cat){
959
- echo '<ul id="cats" style="list-style-type:none;">';
960
 
961
  foreach($categories as $category)
962
  {
@@ -995,7 +1008,10 @@ if (!empty($categories)) {
995
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')"><?php echo __('All categories', 'sp_calendar'); ?></p></li>
996
  <?php echo '</ul>';
997
  }
998
- }
 
 
 
999
  die();
1000
  }
1001
  ?>
5
  $widget = ((isset($_GET['widget']) && (int) $_GET['widget']) ? (int) $_GET['widget'] : 0);
6
  $many_sp_calendar = ((isset($_GET['many_sp_calendar']) && is_numeric(esc_html($_GET['many_sp_calendar']))) ? esc_html($_GET['many_sp_calendar']) : 1);
7
  $calendar_id = (isset($_GET['calendar']) ? (int) $_GET['calendar'] : '');
8
+ $theme_id = (isset($_GET['theme_id']) ? (int) $_GET['theme_id'] : 30);
9
  $date = ((isset($_GET['date']) && IsDate_inputed(esc_html($_GET['date']))) ? esc_html($_GET['date']) : '');
10
  $view_select = (isset($_GET['select']) ? esc_html($_GET['select']) : 'month,');
11
  $path_sp_cal = (isset($_GET['cur_page_url']) ? esc_html($_GET['cur_page_url']) : '');
122
  $year_font_size = $theme->year_font_size;
123
  $month_font_size = $theme->month_font_size;
124
  $arrow_size = $theme->arrow_size;
125
+ $arrow_size_hover = $arrow_size;
126
  $next_month_text_color = '#' . str_replace('#','',$theme->next_month_text_color);
127
  $prev_month_text_color = '#' . str_replace('#','',$theme->prev_month_text_color);
128
  $next_month_arrow_color = '#' . str_replace('#','',$theme->next_month_arrow_color);
147
  $views_tabs_bg_color = '#' . str_replace('#','',$theme->views_tabs_bg_color);
148
  $views_tabs_text_color = '#' . str_replace('#','',$theme->views_tabs_text_color);
149
  $views_tabs_font_size = $theme->views_tabs_font_size;
150
+ $show_cat = $theme->show_cat;
151
+ $header_format = $theme->header_format;
152
 
153
  $date_bg_color = '#' . str_replace('#','',$theme->date_bg_color);
154
  $event_bg_color1 = '#' . str_replace('#','',$theme->event_bg_color1);
235
  $name_year = __($month, 'sp_calendar') .' '. $year;
236
 
237
  ?>
238
+ <html>
239
+ <head>
240
+ <style type='text/css'>
241
+ #afterbig<?php echo $many_sp_calendar; ?> table,
242
+ #bigcalendar<?php echo $many_sp_calendar; ?> table{
243
+ font-family: Segoe UI;
244
+ border: 0;
245
+ }
246
+
247
  .general_table table table:last-child .last_table:last-child td{
248
  border-bottom-left-radius:<?php echo $border_radius2?>px;
249
 
300
  #bigcalendar<?php echo $many_sp_calendar; ?> .cala_arrow a:link,
301
  #bigcalendar .cala_arrow a:visited {
302
  text-decoration: none !important;
303
+ box-shadow: none !important;
304
  background: none !important;
305
  font-size: <?php echo $arrow_size; ?>px !important;
306
  }
422
  }
423
  #bigcalendar<?php echo $many_sp_calendar; ?> .cala_arrow a:link,
424
  #bigcalendar<?php echo $many_sp_calendar; ?> .cala_arrow a:visited {
425
+ text-decoration:none !important;
426
  background:none;
427
  font-size: <?php echo $arrow_size; ?>px;
428
  }
495
  position: relative;
496
  top: 5px;
497
  }
498
+ #afterbig<?php echo $many_sp_calendar; ?> .views span,
499
+ #bigcalendar<?php echo $many_sp_calendar; ?> .views span{
500
+ line-height: 30px;
501
  }
502
 
503
  #bigcalendar<?php echo $many_sp_calendar; ?> .views_select ,
541
  }
542
 
543
  </style>
544
+ </head>
545
+ <body>
546
  <div id="afterbig<?php echo $many_sp_calendar; ?>" style="<?php echo $display ?>">
547
  <div style="width:100%;">
548
  <table cellpadding="0" cellspacing="0" style="width:100%;">
563
  'cat_ids' => $cat_ids,
564
  'widget' => $widget,
565
  'rand' => $many_sp_calendar,
566
+ ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="top: -3px; position: relative; color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px"><?php echo __('Day', 'sp_calendar'); ?></span>
567
  </div>
568
  <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;'; ?>"
569
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
579
  'cat_ids' => $cat_ids,
580
  'widget' => $widget,
581
  'rand' => $many_sp_calendar,
582
+ ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="top: -3px; position: relative; color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px"><?php echo __('Week', 'sp_calendar'); ?></span>
583
  </div>
584
  <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;'; ?>"
585
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
609
  'cat_ids' => $cat_ids,
610
  'widget' => $widget,
611
  'rand' => $many_sp_calendar,
612
+ ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="top: -3px; position: relative; color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px"><?php echo __('Month', 'sp_calendar'); ?></span>
613
  </div>
614
  </div>
615
 
702
  <td width="100%" style=" padding:0; margin:0">
703
  <table cellpadding="0" cellspacing="0" border="0" style="border-spacing:0; font-size:12px; margin:0; padding:0; width:100%">
704
  <tr style="height:40px; width:100%;">
705
+ <td class="top_table" align="center" colspan="7" style="position: relative;padding:0; margin:0; background-color:<?php echo $bg_top ?>;height:20px; background-repeat: no-repeat;background-size: 100% 100%; " >
706
  <table cellpadding="0" cellspacing="0" border="0" align="center" class="calyear_table" style="margin:0; padding:0; text-align:center; width:100%; height:<?php echo $top_height ?>px;">
707
  <tr>
708
  <td style="width:100%;vertical-align:center">
721
  'cat_id' => '',
722
  'cat_ids' => $cat_ids,
723
  'widget' => $widget,
724
+ ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" style="text-align:center; cursor:pointer; width:100%; background-color: <?php echo hex_to_rgb($views_tabs_bg_color, 0.4) ?>;">
725
  <span style="font-size:18px; color:#FFF"><?php echo $year-1; ?></span>
726
  </div>
727
  </td>
728
+ <td class="cala_arrow" width="11%" style="text-align:right;margin:0px;padding: 0px 30px 0px 0px !important;">
729
  <a style="text-shadow: 1px 1px 2px black;color:<?php echo $color_arrow_month ?>" href="javascript:showbigcalendar('bigcalendar<?php echo $many_sp_calendar ?>','<?php
730
  if (Month_num($month) == 1) {
731
  $needed_date = ($year - 1) . '-12';
744
  'cat_id' => '',
745
  'cat_ids' => $cat_ids,
746
  'widget' => $widget,
747
+ ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')">&#10096;
748
  </a>
749
  </td>
750
  <td style="text-align:center; margin:0;" width="40%">
751
  <input type="hidden" name="month" readonly="" value="<?php echo $month?>"/>
752
+ <span style="line-height: 30px;font-family: Segoe UI; color:<?php echo $text_color_month;?>; font-size:<?php echo $month_font_size ?>px;text-shadow: 1px 1px black;"><?php echo $name_year; ?></span>
753
  </td>
754
+ <td style="margin:0; text-align:left; padding: 0px 0px 0px 30px !important;" width="11%" class="cala_arrow">
755
  <a style="text-shadow: 1px 1px 2px black;color:<?php echo $color_arrow_month ?>" href="javascript:showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>','<?php
756
  if (Month_num($month) == 12) {
757
  $needed_date = ($year + 1) . '-01';
770
  'cat_id' => '',
771
  'cat_ids' => $cat_ids,
772
  'widget' => $widget,
773
+ ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')">&#10097;
774
  </a>
775
  </td>
776
  <td width="15%">
786
  'cat_id' => '',
787
  'cat_ids' => $cat_ids,
788
  'widget' => $widget,
789
+ ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" style="text-align:center; cursor:pointer; width:100%; background-color: <?php echo hex_to_rgb($views_tabs_bg_color, 0.4) ?>;">
790
  <span style="font-size:18px; color:#FFF"><?php echo $year + 1; ?></span>
791
  </div>
792
  </td>
941
  padding: 2px 10px !important;
942
  margin: 2px 0 !important;
943
  font-size: 14px;
944
+ font-weight: 600;
945
  }
946
  </style>
947
  <?php
969
  if($cat_ids=='')
970
  $cat_ids='';
971
  if($show_cat){
972
+ echo '<ul id="cats" style="list-style-type:none; padding: 0;">';
973
 
974
  foreach($categories as $category)
975
  {
1008
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')"><?php echo __('All categories', 'sp_calendar'); ?></p></li>
1009
  <?php echo '</ul>';
1010
  }
1011
+ } ?>
1012
+ </body>
1013
+ </html>
1014
+ <?php
1015
  die();
1016
  }
1017
  ?>
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
- $show_cat = 1;
115
  $ev_title_color = '#' . str_replace('#','',$theme->ev_title_color);
116
  $popup_width = $theme->popup_width;
117
  $popup_height = $theme->popup_height;
@@ -163,6 +163,8 @@ $cat_ids = substr($cat_ids, 0,-1);
163
  $display = "display:none";
164
  }
165
  ?>
 
 
166
  <style type='text/css'>
167
  #calendar_<?php echo $many_sp_calendar; ?> table {
168
  border-collapse: initial;
@@ -212,7 +214,7 @@ $cat_ids = substr($cat_ids, 0,-1);
212
  #calendar_<?php echo $many_sp_calendar; ?> .cala_arrow a:link,
213
  #calendar_<?php echo $many_sp_calendar; ?> .cala_arrow a:visited {
214
  color: <?php echo $color_arrow; ?>;
215
- text-decoration: none;
216
  background: none;
217
  font-size: 16px;
218
  }
@@ -319,6 +321,8 @@ position: relative;
319
  display:none;
320
  }
321
  </style>
 
 
322
  <div id="calendar_<?php echo $many_sp_calendar; ?>" style="width:<?php echo $calendar_width; ?>px;">
323
  <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">
324
  <tr style="background-color:#FFFFFF;">
@@ -685,7 +689,10 @@ if (!empty($categories)) {
685
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')"><?php echo __('All categories', 'sp_calendar'); ?></p></li>
686
  <?php echo '</ul>';
687
  }
688
- }
 
 
 
689
  die();
690
  }
691
 
111
  $font_month = $theme->font_month;
112
  $font_day = $theme->font_day;
113
  $font_weekday = $theme->font_weekday;
114
+ $show_cat = $theme->show_cat;
115
  $ev_title_color = '#' . str_replace('#','',$theme->ev_title_color);
116
  $popup_width = $theme->popup_width;
117
  $popup_height = $theme->popup_height;
163
  $display = "display:none";
164
  }
165
  ?>
166
+ <html>
167
+ <head>
168
  <style type='text/css'>
169
  #calendar_<?php echo $many_sp_calendar; ?> table {
170
  border-collapse: initial;
214
  #calendar_<?php echo $many_sp_calendar; ?> .cala_arrow a:link,
215
  #calendar_<?php echo $many_sp_calendar; ?> .cala_arrow a:visited {
216
  color: <?php echo $color_arrow; ?>;
217
+ text-decoration: none !important;
218
  background: none;
219
  font-size: 16px;
220
  }
321
  display:none;
322
  }
323
  </style>
324
+ </head>
325
+ <body>
326
  <div id="calendar_<?php echo $many_sp_calendar; ?>" style="width:<?php echo $calendar_width; ?>px;">
327
  <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">
328
  <tr style="background-color:#FFFFFF;">
689
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')"><?php echo __('All categories', 'sp_calendar'); ?></p></li>
690
  <?php echo '</ul>';
691
  }
692
+ } ?>
693
+ </body>
694
+ </html>
695
+ <?php
696
  die();
697
  }
698
 
front_end/bigcalendarmonth.php CHANGED
@@ -5,7 +5,7 @@ function big_calendar_month() {
5
  $widget = ((isset($_GET['widget']) && (int) $_GET['widget']) ? (int) $_GET['widget'] : 0);
6
  $many_sp_calendar = ((isset($_GET['many_sp_calendar']) && is_numeric(esc_html($_GET['many_sp_calendar']))) ? esc_html($_GET['many_sp_calendar']) : 1);
7
  $calendar_id = (isset($_GET['calendar']) ? (int) $_GET['calendar'] : '');
8
- $theme_id = (isset($_GET['theme_id']) ? (int) $_GET['theme_id'] : 13);
9
  $date = ((isset($_GET['date']) && IsDate_inputed(esc_html($_GET['date']))) ? esc_html($_GET['date']) : '');
10
  $view_select = (isset($_GET['select']) ? esc_html($_GET['select']) : 'month,');
11
  $path_sp_cal = (isset($_GET['cur_page_url']) ? esc_html($_GET['cur_page_url']) : '');
@@ -132,7 +132,7 @@ $cat_ids = substr($cat_ids, 0,-1);
132
  $next_month_font_size = $theme->next_month_font_size;
133
  $prev_month_font_size = $theme->prev_month_font_size;
134
  $month_type = $theme->month_type;
135
- $header_format = 'w/m/d/y';
136
  $ev_title_bg_color = '#' . str_replace('#','',$theme->ev_title_bg_color);
137
 
138
  $date_bg_color = '#' . str_replace('#','',$theme->date_bg_color);
@@ -152,12 +152,15 @@ $cat_ids = substr($cat_ids, 0,-1);
152
  $views_tabs_bg_color = '#' . str_replace('#','',$theme->views_tabs_bg_color);
153
  $views_tabs_text_color = '#' . str_replace('#','',$theme->views_tabs_text_color);
154
  $views_tabs_font_size = $theme->views_tabs_font_size;
155
- $show_numbers_for_events = $theme->day_start;
156
- $show_cat = '1';
157
  $text_color_year = '#' . str_replace('#','',$theme->text_color_year);
158
- $ev_color = $theme->event_title_color;
159
  $show_event_bgcolor = '#' . str_replace('#','',$theme->show_event_bgcolor);
160
 
 
 
 
161
  __('January', 'sp_calendar');
162
  __('February', 'sp_calendar');
163
  __('March', 'sp_calendar');
@@ -235,220 +238,280 @@ echo '<style>
235
  </style>';
236
  }
237
  ?>
238
- <style type='text/css'>
239
- #bigcalendar<?php echo $many_sp_calendar; ?> table{
240
- border-collapse: inherit !important;
241
- background: transparent;
242
- }
243
- #TB_iframeContent{
244
- background-color: <?php echo $show_event_bgcolor; ?>;
245
- }
246
-
247
- #TB_window {
248
- z-index: 10000;
249
- }
250
- #bigcalendar<?php echo $many_sp_calendar; ?> .calyear_table td {
251
- vertical-align: middle !important;
252
- }
253
- #bigcalendar<?php echo $many_sp_calendar; ?> table {
254
- border-collapse: initial;
255
- border:0px;
256
- max-width: none;
257
- }
258
-
259
- #bigcalendar<?php echo $many_sp_calendar; ?> table td {
260
- padding: 0px;
261
- vertical-align: none;
262
- border-top:none;
263
- line-height: none;
264
- text-align: none;
265
- background: transparent;
266
- }
267
-
268
- #bigcalendar<?php echo $many_sp_calendar; ?> p, ol, ul, dl, address {
269
- margin-bottom:0;
270
- }
271
- #bigcalendar<?php echo $many_sp_calendar; ?> td,
272
- #bigcalendar<?php echo $many_sp_calendar; ?> tr,
273
- #spiderCalendarTitlesList td,
274
- #spiderCalendarTitlesList tr {
275
- border:none;
276
- }
277
- #bigcalendar<?php echo $many_sp_calendar; ?> .arrow-left {
278
- width: 0px;
279
- height: 0px;
280
- border-top: 15px solid transparent;
281
- border-bottom: 15px solid transparent;
282
- border-right: 20px solid;
283
- margin: 0 auto;
284
- }
285
-
286
- #bigcalendar<?php echo $many_sp_calendar; ?> .arrow-right {
287
- width: 0px;
288
- height: 0px;
289
- border-top: 15px solid transparent;
290
- border-bottom: 15px solid transparent;
291
- border-left: 20px solid;
292
- margin: 0 auto;
293
- }
294
-
295
- #bigcalendar<?php echo $many_sp_calendar; ?> #views_select .arrow-right{
296
- border-top: 5px solid transparent;
297
- border-bottom: 5px solid transparent;
298
- border-left: 8px solid;
299
- left: 5px;
300
- position: relative;
301
- }
302
- #bigcalendar<?php echo $many_sp_calendar; ?> #views_select .arrow-down{
303
- width: 0px;
304
- height: 0px;
305
- border-left: 5px solid transparent;
306
- border-right: 5px solid transparent;
307
- border-top: 8px solid;
308
- }
309
-
310
- #bigcalendar<?php echo $many_sp_calendar; ?> .general_table {
311
- border-radius: <?php echo $border_radius; ?>px;
312
- }
313
- #bigcalendar<?php echo $many_sp_calendar; ?> .top_table {
314
- border-top-left-radius: <?php echo $border_radius2; ?>px;
315
- border-top-right-radius: <?php echo $border_radius2; ?>px;
316
- }
317
-
318
- #bigcalendar<?php echo $many_sp_calendar; ?> .general_table table tr:last-child >td:first-child{
319
- border-bottom-left-radius: <?php echo $border_radius2; ?>px;
320
- }
321
-
322
- #bigcalendar<?php echo $many_sp_calendar; ?> .general_table table tr:last-child >td:last-child{
323
- border-bottom-right-radius: <?php echo $border_radius2; ?>px;
324
- }
325
-
326
- #bigcalendar<?php echo $many_sp_calendar; ?> .cala_arrow a:link,
327
- #bigcalendar<?php echo $many_sp_calendar; ?> .cala_arrow a:visited {
328
- text-decoration:none;
329
- background:none;
330
- font-size: <?php echo $arrow_size; ?>px;
331
- }
332
- #bigcalendar<?php echo $many_sp_calendar; ?> .cala_arrow a:hover {
333
- text-decoration:none;
334
- background:none;
335
- }
336
- #bigcalendar<?php echo $many_sp_calendar; ?> .cala_day a:link,
337
- #bigcalendar<?php echo $many_sp_calendar; ?> .cala_day a:visited {
338
- text-decoration:none;
339
- background:none;
340
- font-size:12px;
341
- color:red;
342
- }
343
- #bigcalendar<?php echo $many_sp_calendar; ?> .cala_day a:hover {
344
- text-decoration:none;
345
- background:none;
346
- }
347
- #bigcalendar<?php echo $many_sp_calendar; ?> .cala_day {
348
- border:1px solid <?php echo $cell_border_color; ?> !important;
349
- vertical-align:top;
350
- }
351
- #bigcalendar<?php echo $many_sp_calendar; ?> .weekdays {
352
- border: 1px solid <?php echo $cell_border_color; ?> !important;
353
- vertical-align: middle;
354
- }
355
- #bigcalendar<?php echo $many_sp_calendar; ?> .week_days {
356
- font-size:<?php echo $weekdays_font_size; ?>px;
357
- }
358
- #bigcalendar<?php echo $many_sp_calendar; ?> .calyear_table {
359
- border-spacing:0;
360
- width:100%;
361
- }
362
- #bigcalendar<?php echo $many_sp_calendar; ?> .calmonth_table {
363
- border-spacing:0;
364
- width:100%;
365
- }
366
- #bigcalendar<?php echo $many_sp_calendar; ?> .calbg,
367
- #bigcalendar<?php echo $many_sp_calendar; ?> .calbg td {
368
- text-align:center;
369
- width:14%;
370
- }
371
- #bigcalendar<?php echo $many_sp_calendar; ?> .caltext_color_other_months {
372
- color:<?php echo $text_color_other_months; ?>;
373
- border:1px solid <?php echo $cell_border_color; ?> !important;
374
- vertical-align:top;
375
- }
376
- #bigcalendar<?php echo $many_sp_calendar; ?> .caltext_color_this_month_unevented {
377
- color:<?php echo $text_color_this_month_unevented; ?>;
378
- }
379
- #bigcalendar<?php echo $many_sp_calendar; ?> .calfont_year {
380
- font-size:24px;
381
- font-weight:bold;
382
- color:<?php echo $text_color_year; ?>;
383
- }
384
- #bigcalendar<?php echo $many_sp_calendar; ?> .calsun_days {
385
- color:<?php echo $sun_days; ?>;
386
- border:1px solid <?php echo $cell_border_color; ?> !important;
387
- vertical-align:top;
388
- text-align:left;
389
- background-color: <?php echo $sundays_bg_color; ?> !important;
390
- }
391
- #bigcalendar<?php echo $many_sp_calendar; ?> .views {
392
- float: right;
393
- background-color: <?php echo $views_tabs_bg_color; ?> !important;
394
- min-height: 25px;
395
- min-width: 70px;
396
- margin-left: 2px;
397
- text-align: center;
398
- cursor:pointer;
399
- position: relative;
400
- top: 5px;
401
- }
402
-
403
- #bigcalendar<?php echo $many_sp_calendar; ?> .views span{
404
- padding: 7px;
405
- }
406
-
407
- #bigcalendar<?php echo $many_sp_calendar; ?> .views_select ,
408
- #bigcalendar<?php echo $many_sp_calendar; ?> #views_select
409
- {
410
- background-color: <?php echo $views_tabs_bg_color ?> !important;
411
- width: 120px;
412
- text-align: center;
413
- cursor: pointer;
414
- padding: 6px;
415
- position: relative;
416
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
417
 
418
- #bigcalendar<?php echo $many_sp_calendar; ?> #views_select
419
- {
420
- min-height: 30px;
421
- }
 
422
 
423
- #drop_down_views
424
- {
425
- list-style-type:none !important;
426
- display:none;
427
- z-index: 4545;
428
- position: absolute;
429
- left: 0 !important;
430
- margin-left: 0;
431
- }
432
 
433
- #drop_down_views >li:hover .views_select, #drop_down_views >li.active .views_select
434
- {
435
- background:<?php echo $bg_top ?> !important;
436
- }
437
 
438
- #drop_down_views >li
439
- {
440
- border-bottom:1px solid #fff !important;
441
- }
442
 
443
 
444
- #views_tabs_select
445
- {
446
- display:none;
447
- }
448
- #cal_event p{
449
- color:#<?php echo $ev_color;?>
450
- }
451
- </style>
 
 
 
 
 
 
 
452
  <?php
453
  $activedate = explode('/', $header_format);
454
 
@@ -467,14 +530,14 @@ min-height: 30px;
467
  for ($i = 0; $i < count($activedate); $i++) {
468
  $activedatestr .= $activedate[$i];
469
  }
470
-
471
  $dateformat_arrays = array("dFY", "dYF", "FYd", "FdY", "YdF", "YFd" );
472
- $dates_formats = array(__($month, 'sp_calendar') .' '. $year,
473
- $year . ' ' . __($month, 'sp_calendar'),
474
- __($month, 'sp_calendar') .' '. $year,
475
- __($month, 'sp_calendar') .' '. $year,
476
- $year . ' ' . __($month, 'sp_calendar'),
477
- $year . ' ' . __($month, 'sp_calendar')
478
  );
479
  for ($i = 0; $i < count($dateformat_arrays); $i++) {
480
  if (strpos($activedatestr,$dateformat_arrays[$i]) !== false){
@@ -502,7 +565,7 @@ min-height: 30px;
502
  'cat_ids' => $cat_ids,
503
  'widget' => $widget,
504
  'rand' => $many_sp_calendar,
505
- ), $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>
506
  </div>
507
  <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;' ?>"
508
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
@@ -518,7 +581,7 @@ min-height: 30px;
518
  'cat_ids' => $cat_ids,
519
  'widget' => $widget,
520
  'rand' => $many_sp_calendar,
521
- ), $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>
522
  </div>
523
  <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;' ?>"
524
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
@@ -533,7 +596,7 @@ min-height: 30px;
533
  'cat_ids' => $cat_ids,
534
  'widget' => $widget,
535
  'rand' => $many_sp_calendar,
536
- ), $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>
537
  </div>
538
  <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;'; ?>"
539
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
@@ -641,10 +704,10 @@ min-height: 30px;
641
  <td width="100%" style="padding:0; margin:0;">
642
  <table cellpadding="0" cellspacing="0" border="0" style="border-spacing:0; font-size:12px; margin:0; padding:0; width:100%;">
643
  <tr style="height:40px; width:100%;">
644
- <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%;">
645
  <table cellpadding="0" cellspacing="0" border="0" align="center" class="calyear_table" style="margin:0; padding:0; text-align:center; width:100%; height:<?php echo $top_height; ?>px;">
646
  <tr>
647
- <td width="15%">
648
  <div onclick="javascript:showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>','<?php
649
  echo add_query_arg(array(
650
  'action' => 'spiderbigcalendar_' . $defaultview,
@@ -657,11 +720,11 @@ min-height: 30px;
657
  'cat_id' => '',
658
  'cat_ids' => $cat_ids,
659
  'widget' => $widget,
660
- ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" style="text-align:center; cursor:pointer; width:100%; background-color:#000000; filter:alpha(opacity=30); opacity:0.3;">
661
  <span style="font-size:18px;color:#FFF"><?php echo $year - 1; ?></span>
662
  </div>
663
  </td>
664
- <td class="cala_arrow" width="15%" style="text-align:right;margin:0px;padding:0px">
665
  <a style="text-shadow: 1px 1px 2px black;color:<?php echo $color_arrow_month ?>;" href="javascript:showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>','<?php
666
  if (Month_num($month) == 1) {
667
  $needed_date = ($year - 1) . '-12';
@@ -681,15 +744,15 @@ min-height: 30px;
681
  'cat_ids' => $cat_ids,
682
  'widget' => $widget,
683
  ), $site_url);
684
- ?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')"><div class="arrow-left"></div>
685
  </a>
686
  </td>
687
- <td style="text-align:center; margin:0;" width="40%">
688
  <input type="hidden" name="month" readonly="" value="<?php echo $month; ?>"/>
689
- <span style="line-height: 30px;font-family:arial; color:<?php echo $text_color_month; ?>; font-size:<?php echo $month_font_size; ?>px;text-shadow: 1px 1px black;"><?php echo $name_year; ?></span>
690
  </td>
691
- <td style="margin:0; padding:0;text-align:left" width="15%" class="cala_arrow">
692
- <a style="text-shadow: 1px 1px 2px black;color:<?php echo $color_arrow_month; ?>" href="javascript:showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>','<?php
693
  if (Month_num($month) == 12) {
694
  $needed_date = ($year + 1) . '-01';
695
  }
@@ -708,10 +771,10 @@ min-height: 30px;
708
  'cat_ids' => $cat_ids,
709
  'widget' => $widget,
710
  ), $site_url);
711
- ?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')"><div class="arrow-right"></div>
712
  </a>
713
  </td>
714
- <td width="15%">
715
  <div onclick="javascript:showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>','<?php
716
  echo add_query_arg(array(
717
  'action' => 'spiderbigcalendar_' . $defaultview,
@@ -724,7 +787,7 @@ min-height: 30px;
724
  'cat_id' => '',
725
  'cat_ids' => $cat_ids,
726
  'widget' => $widget,
727
- ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" style="text-align:center; cursor:pointer; width:100%; background-color:#000000; filter:alpha(opacity=30); opacity:0.3;">
728
  <span style="font-size:18px;color:#FFF"><?php echo $year + 1; ?></span>
729
  </div>
730
  </td>
@@ -793,7 +856,7 @@ min-height: 30px;
793
  echo ' <tr id="days" height="' . $cell_height . '" style="line-height:15px;">';
794
  for ($i = 1; $i < $weekday_i; $i++) {
795
  echo ' <td class="caltext_color_other_months" style="background-color:' . $bg_color_other_months . ' !important">
796
- <span style="font-size:' . $other_days_font_size . 'px;line-height:1.3;font-family: tahoma;padding-left: 5px;">' . $last_month_days . '</span>
797
  </td>';
798
  $last_month_days = $last_month_days + 1;
799
  }
@@ -820,20 +883,32 @@ min-height: 30px;
820
  }
821
 
822
 
823
- function style($title, $color)
824
- {
825
- $new_title = html_entity_decode(strip_tags($title));
826
-
827
  $number = $new_title[0];
828
  $first_letter =$new_title[1];
829
  $ev_title = $title;
830
- $color=str_replace('#','',$color);
 
 
 
 
831
 
 
 
 
832
 
833
- $bg_color='rgba('.HEXDEC(SUBSTR($color, 0, 2)).','.HEXDEC(SUBSTR($color, 2, 2)).','.HEXDEC(SUBSTR($color, 4, 2)).',0.3'.')';
834
- $event='<div id="cal_event" style="background-color:'.$bg_color.' !important;border-left:2px solid #'.$color.' "><p class="ev_name">'.$ev_title.'</p></div>';
835
 
836
- return $event;
 
 
 
 
 
 
 
837
  }
838
 
839
  /////////////////////////////////////////////////////////////////////////////
@@ -853,17 +928,20 @@ $color=str_replace('#','',$color);
853
  $dayevent = '';
854
  if (($weekday_i % 7 == 0 and $weekstart == "mo") or ($weekday_i % 7 == 1 and $weekstart == "su")) {
855
  if ($i == $day_REFERER and $month == $month_REFERER and $year == $year_REFERER ) {
856
- echo ' <td class="cala_day" style="padding:0; margin:0;line-height:15px;">
857
  <div class="calborder_day" style=" margin:0; padding:0;">
858
- <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>';
859
  $r = 0;
860
  echo ' <div style="background-color:' . $ev_title_bg_color . ' !important;">';
861
  for ($j = 0; $j < $k; $j++) {
862
  if(category_color($ev_id[$j])=='#')
863
- $cat_color=$bg_top;
864
- else
865
- $cat_color=category_color($ev_id[$j]);
866
-
 
 
 
867
  if ($r < $number_of_shown_evetns) {
868
  echo ' <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="background:none;color:' . $event_title_color . ';"
869
  href="' . add_query_arg(array(
@@ -880,12 +958,12 @@ $color=str_replace('#','',$color);
880
  'tbWidth' => $popup_width,
881
  'tbHeight' => $popup_height,
882
  'cat_id' => $cat_ids
883
- ), $site_url) . '"><b>' . style($ev_title[$j],$cat_color) . '</b>
884
  </a>';
885
  }
886
  else {
887
  echo '
888
- <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="font-size:11px; background:none; color:' . $event_title_color . '; text-align:center;"
889
  href="' . add_query_arg(array(
890
  'action' => 'spiderseemore',
891
  'theme_id' => $theme_id,
@@ -899,11 +977,12 @@ $color=str_replace('#','',$color);
899
  'tbWidth' => $popup_width,
900
  'tbHeight' => $popup_height,
901
  ), $site_url) . '"><b>' . __('See more', 'sp_calendar') . '</b>
902
- </a>';
903
  break;
904
  }
905
  $r++;
906
  }
 
907
  echo ' </div>
908
  </div>
909
  </td>';
@@ -915,16 +994,21 @@ $color=str_replace('#','',$color);
915
  if(!isset($border_day)) $border_day = "";
916
  if ($i == date('j') and $month == date('F') and $year == date('Y')) { $border_day = $current_day_border_color;}
917
  if (in_array($i,$array_days)) {
918
- 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">
919
- <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>';
920
  $r = 0;
921
  echo ' <div style="background-color:' . $ev_title_bg_color . ' !important">';
922
  for ($j = 0; $j < $k; $j++) {
923
 
924
  if(category_color($ev_id[$j])=='#')
925
- $cat_color=$bg_top;
926
  else
927
  $cat_color=category_color($ev_id[$j]);
 
 
 
 
 
928
  if ($r < $number_of_shown_evetns) {
929
  echo ' <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="background:none;color:' . $event_title_color . ';"
930
  href="' . add_query_arg(array(
@@ -940,12 +1024,12 @@ $color=str_replace('#','',$color);
940
  'TB_iframe' => 1,
941
  'tbWidth' => $popup_width,
942
  'tbHeight' => $popup_height,
943
- ), $site_url) . '"><b>' . style($ev_title[$j],$cat_color) . '</b>
944
  </a>';
945
  }
946
  else {
947
  echo '
948
- <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="font-size:11px;background:none;color:' . $event_title_color . ';text-align:center;"
949
  href="' . add_query_arg(array(
950
  'action' => 'spiderseemore',
951
  'theme_id' => $theme_id,
@@ -959,17 +1043,18 @@ $color=str_replace('#','',$color);
959
  'tbWidth' => $popup_width,
960
  'tbHeight' => $popup_height,
961
  ), $site_url) . '"><b>' . __('See more', 'sp_calendar') . '</b>
962
- </a>';
963
  break;
964
  }
965
  $r++;
966
  }
 
967
  echo ' </div>
968
  </td>';
969
  }
970
  else {
971
 
972
- echo ' <td class="calsun_days" style="padding:0; font-size:' . $sundays_font_size . 'px; margin:0;line-height:1.3;font-family:tahoma;padding-left: 5px; border: 3px solid ' . $current_day_border_color . ' !important">
973
  <b>' . $i . '</b>
974
  </td>';
975
  }
@@ -977,16 +1062,20 @@ $color=str_replace('#','',$color);
977
  else
978
 
979
  if (in_array($i, $array_days)) {
980
- echo ' <td class="cala_day" style="background-color:' . $ev_title_bg_color . ' !important;padding:0; margin:0;line-height:15px;">
981
- <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>
982
- <div style="background-color:' . $ev_title_bg_color . ' !important">';
983
  $r = 0;
984
  for ($j = 0; $j < $k; $j++) {
985
  if(category_color($ev_id[$j])=='#')
986
- $cat_color=$bg_top;
987
  else
988
  $cat_color=category_color($ev_id[$j]);
989
-
 
 
 
 
990
  if ($r < $number_of_shown_evetns) {
991
  echo ' <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="background:none; color:' . $event_title_color . ' !important;"
992
  href="' . add_query_arg(array(
@@ -1002,12 +1091,12 @@ $color=str_replace('#','',$color);
1002
  'TB_iframe' => 1,
1003
  'tbWidth' => $popup_width,
1004
  'tbHeight' => $popup_height,
1005
- ), $site_url) . '"><b>' . style($ev_title[$j],$cat_color) . '</b>
1006
  </a>';
1007
  }
1008
  else {
1009
  echo '
1010
- <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="font-size:11px; background:none; color:' . $event_title_color . ' !important;text-align:center;"
1011
  href="' . add_query_arg(array(
1012
  'action' => 'spiderseemore',
1013
  'theme_id' => $theme_id,
@@ -1021,17 +1110,18 @@ $color=str_replace('#','',$color);
1021
  'tbWidth' => $popup_width,
1022
  'tbHeight' => $popup_height,
1023
  ), $site_url) . '"><b>' . __('See more', 'sp_calendar') . '</b>
1024
- </a>';
1025
  break;
1026
  }
1027
  $r++;
1028
  }
 
1029
  echo ' </div>
1030
  </td>';
1031
  }
1032
  else {
1033
- echo ' <td class="calsun_days" style="padding:0; margin:0;line-height:1.3;font-family: tahoma;padding-left: 5px;font-size:' . $sundays_font_size . 'px">
1034
- <b>' . $i . '</b>
1035
  </td>';
1036
  }
1037
  }
@@ -1039,17 +1129,21 @@ $color=str_replace('#','',$color);
1039
 
1040
  if ($i == $day_REFERER and $month == $month_REFERER and $year == $year_REFERER) {
1041
 
1042
- 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;">
1043
  <div class="calborder_day" style="margin:0; padding:0;">
1044
- <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>
1045
  <div style="background-color:' . $ev_title_bg_color . ' !important">';
1046
  $r = 0;
1047
  for ($j = 0; $j < $k; $j++) {
1048
  if(category_color($ev_id[$j])=='#')
1049
- $cat_color=$bg_top;
1050
  else
1051
  $cat_color=category_color($ev_id[$j]);
1052
 
 
 
 
 
1053
  if ($r < $number_of_shown_evetns) {
1054
  echo ' <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="background:none; color:' . $event_title_color . ' !important;"
1055
  href="' . add_query_arg(array(
@@ -1065,12 +1159,12 @@ $color=str_replace('#','',$color);
1065
  'TB_iframe' => 1,
1066
  'tbWidth' => $popup_width,
1067
  'tbHeight' => $popup_height,
1068
- ), $site_url) . '"><b>' . style($ev_title[$j],$cat_color) . '</b>
1069
  </a>';
1070
  }
1071
  else {
1072
  echo '
1073
- <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="font-size:11px; background:none; color:' . $event_title_color . ';text-align:center;"
1074
  href="' . add_query_arg(array(
1075
  'action' => 'spiderseemore',
1076
  'theme_id' => $theme_id,
@@ -1084,11 +1178,12 @@ $color=str_replace('#','',$color);
1084
  'tbWidth' => $popup_width,
1085
  'tbHeight' => $popup_height,
1086
  ), $site_url) . '"><b>' . __('See more', 'sp_calendar') . '</b>
1087
- </a>';
1088
  break;
1089
  }
1090
  $r++;
1091
  }
 
1092
  echo ' </div>
1093
  </div>
1094
  </td>';
@@ -1099,16 +1194,20 @@ $color=str_replace('#','',$color);
1099
 
1100
 
1101
  if (in_array ($i,$array_days)) {
1102
- 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;">
1103
- <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>
1104
  <div style="background-color:' . $ev_title_bg_color . ' !important">';
1105
  $r = 0;
1106
  for ($j = 0; $j < $k; $j++) {
1107
  if(category_color($ev_id[$j])=='#')
1108
- $cat_color=$bg_top;
1109
  else
1110
  $cat_color=category_color($ev_id[$j]);
1111
-
 
 
 
 
1112
  if ($r < $number_of_shown_evetns) {
1113
  echo ' <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="background:none; color:' . $event_title_color . ';"
1114
  href="' . add_query_arg(array(
@@ -1124,12 +1223,13 @@ $color=str_replace('#','',$color);
1124
  'TB_iframe' => 1,
1125
  'tbWidth' => $popup_width,
1126
  'tbHeight' => $popup_height,
1127
- ), $site_url) . '"><b>' . style($ev_title[$j],$cat_color) . '</b>
 
1128
  </a>';
1129
  }
1130
  else {
1131
  echo '
1132
- <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="font-size:11px; background:none;color:' . $event_title_color . ';text-align:center;"
1133
  href="' . add_query_arg(array(
1134
  'action' => 'spiderseemore',
1135
  'theme_id' => $theme_id,
@@ -1143,34 +1243,41 @@ $color=str_replace('#','',$color);
1143
  'tbWidth' => $popup_width,
1144
  'tbHeight' => $popup_height,
1145
  ), $site_url) . '"><b>' . __('See more', 'sp_calendar') . '</b>
1146
- </a>';
1147
  break;
1148
  }
1149
  $r++;
1150
- }
 
1151
  echo ' </div>
1152
  </td>';
1153
  }
1154
  else {
1155
- echo ' <td style="color:' . $text_color_this_month_unevented . ';padding:0; margin:0; line-height:15px; border: 3px solid ' . $current_day_border_color . ' !important; vertical-align:top;">
1156
- <p style="font-size:'.$other_days_font_size.'px;line-height:1.3;font-family: tahoma;padding-left: 5px;">' . $i . '</p>
1157
  </td>';
1158
  }
1159
  }
1160
  else
1161
 
1162
  if (in_array($i, $array_days)) {
1163
- echo ' <td class="cala_day" style="background-color:' . $ev_title_bg_color . ' !important;padding:0; margin:0;line-height:15px;">
1164
- <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>';
1165
  $r = 0;
1166
- echo ' <div>';
 
1167
  for ($j = 0; $j < $k; $j++) {
1168
 
1169
  if(category_color($ev_id[$j])=='#')
1170
- $cat_color=$bg_top;
1171
  else
1172
  $cat_color=category_color($ev_id[$j]);
1173
 
 
 
 
 
 
1174
  if ($r < $number_of_shown_evetns) {
1175
  echo ' <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="background:none; color:' . $event_title_color . ';"
1176
  href="' . add_query_arg(array(
@@ -1186,11 +1293,11 @@ if (in_array($i, $array_days)) {
1186
  'TB_iframe' => 1,
1187
  'tbWidth' => $popup_width,
1188
  'tbHeight' => $popup_height,
1189
- ), $site_url) . '"><b>' . style($ev_title[$j],$cat_color) . '</b>
1190
  </a>';
1191
  }
1192
  else {
1193
- echo ' <p><a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="font-size:11px; background:none; color:' . $event_title_color . ';text-align:center;"
1194
  href="' . add_query_arg(array(
1195
  'action' => 'spiderseemore',
1196
  'theme_id' => $theme_id,
@@ -1204,17 +1311,18 @@ if (in_array($i, $array_days)) {
1204
  'tbWidth' => $popup_width,
1205
  'tbHeight' => $popup_height,
1206
  ), $site_url) . '"><b>' . __('See more', 'sp_calendar') . '</b>
1207
- </a></p>';
1208
  break;
1209
  }
1210
  $r++;
1211
  }
 
1212
  echo ' </div>
1213
  </td>';
1214
  }
1215
  else {
1216
- echo ' <td style=" color:' . $text_color_this_month_unevented . ';padding:0; margin:0; line-height:15px;border: 1px solid ' . $cell_border_color . ' !important;vertical-align:top;">
1217
- <p style="font-size:' . $other_days_font_size . 'px;line-height:1.3;font-family:tahoma;padding-left: 5px;">' . $i . '</p>
1218
  </td>';
1219
  }
1220
  }
@@ -1230,10 +1338,10 @@ if (in_array($i, $array_days)) {
1230
  if ($weekday_i != 1) {
1231
  for ($i = $weekday_i; $i <= 7; $i++) {
1232
  if ($i != 7) {
1233
- 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>';
1234
  }
1235
  else {
1236
- 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>';
1237
  }
1238
  $next_i += 1;
1239
  }
@@ -1277,6 +1385,7 @@ if (in_array($i, $array_days)) {
1277
  padding: 2px 10px !important;
1278
  margin: 2px 0 !important;
1279
  font-size: 14px;
 
1280
  }
1281
  </style>
1282
  <?php
@@ -1305,7 +1414,7 @@ echo'
1305
  $cat_ids='';
1306
 
1307
  if($show_cat){
1308
- echo '<ul id="cats" style="list-style-type:none;">';
1309
 
1310
  foreach($categories as $category)
1311
  {
@@ -1345,7 +1454,9 @@ if (!empty($categories)) {
1345
  }
1346
  echo '</ul>';
1347
  }
 
 
 
 
1348
  die();
1349
- }
1350
-
1351
- ?>
5
  $widget = ((isset($_GET['widget']) && (int) $_GET['widget']) ? (int) $_GET['widget'] : 0);
6
  $many_sp_calendar = ((isset($_GET['many_sp_calendar']) && is_numeric(esc_html($_GET['many_sp_calendar']))) ? esc_html($_GET['many_sp_calendar']) : 1);
7
  $calendar_id = (isset($_GET['calendar']) ? (int) $_GET['calendar'] : '');
8
+ $theme_id = (isset($_GET['theme_id']) ? (int) $_GET['theme_id'] : 30);
9
  $date = ((isset($_GET['date']) && IsDate_inputed(esc_html($_GET['date']))) ? esc_html($_GET['date']) : '');
10
  $view_select = (isset($_GET['select']) ? esc_html($_GET['select']) : 'month,');
11
  $path_sp_cal = (isset($_GET['cur_page_url']) ? esc_html($_GET['cur_page_url']) : '');
132
  $next_month_font_size = $theme->next_month_font_size;
133
  $prev_month_font_size = $theme->prev_month_font_size;
134
  $month_type = $theme->month_type;
135
+ $header_format = $theme->header_format;
136
  $ev_title_bg_color = '#' . str_replace('#','',$theme->ev_title_bg_color);
137
 
138
  $date_bg_color = '#' . str_replace('#','',$theme->date_bg_color);
152
  $views_tabs_bg_color = '#' . str_replace('#','',$theme->views_tabs_bg_color);
153
  $views_tabs_text_color = '#' . str_replace('#','',$theme->views_tabs_text_color);
154
  $views_tabs_font_size = $theme->views_tabs_font_size;
155
+ $show_numbers_for_events = $theme->number_of_shown_evetns;
156
+ $show_cat = $theme->show_cat;
157
  $text_color_year = '#' . str_replace('#','',$theme->text_color_year);
158
+ $ev_color = '#' . str_replace('#','',$theme->event_title_color);
159
  $show_event_bgcolor = '#' . str_replace('#','',$theme->show_event_bgcolor);
160
 
161
+ if($theme_id<20) $bg_day = "";
162
+ else $bg_day = $color_week_days;
163
+
164
  __('January', 'sp_calendar');
165
  __('February', 'sp_calendar');
166
  __('March', 'sp_calendar');
238
  </style>';
239
  }
240
  ?>
241
+ <html>
242
+ <head>
243
+ <style type='text/css'>
244
+ #afterbig<?php echo $many_sp_calendar; ?> table,
245
+ #bigcalendar<?php echo $many_sp_calendar; ?> table{
246
+ font-family: Segoe UI;
247
+ border: 0;
248
+ }
249
+
250
+ #afterbig<?php echo $many_sp_calendar; ?> table,
251
+ #bigcalendar<?php echo $many_sp_calendar; ?> table{
252
+
253
+ }
254
+
255
+ #TB_iframeContent{
256
+ background-color: <?php echo $show_event_bgcolor; ?>;
257
+ }
258
+
259
+ #TB_window {
260
+ z-index: 10000;
261
+ }
262
+ #afterbig<?php echo $many_sp_calendar; ?> .calyear_table td,
263
+ #bigcalendar<?php echo $many_sp_calendar; ?> .calyear_table td {
264
+ vertical-align: middle !important;
265
+ }
266
+
267
+ #afterbig<?php echo $many_sp_calendar; ?> table td,
268
+ #bigcalendar<?php echo $many_sp_calendar; ?> table td {
269
+ padding: 0px;
270
+ vertical-align: none;
271
+ border-bottom:none;
272
+ line-height: none;
273
+ text-align: none;
274
+ background: transparent;
275
+ }
276
+
277
+ #afterbig<?php echo $many_sp_calendar; ?> p, ol, ul, dl, address,
278
+ #bigcalendar<?php echo $many_sp_calendar; ?> p, ol, ul, dl, address {
279
+ margin-bottom:0;
280
+ }
281
+ #afterbig<?php echo $many_sp_calendar; ?> td,
282
+ #afterbig<?php echo $many_sp_calendar; ?> tr,
283
+ #bigcalendar<?php echo $many_sp_calendar; ?> td,
284
+ #bigcalendar<?php echo $many_sp_calendar; ?> tr,
285
+ #spiderCalendarTitlesList td,
286
+ #spiderCalendarTitlesList tr {
287
+ border:none;
288
+ }
289
+ #afterbig<?php echo $many_sp_calendar; ?> .arrow-left,
290
+ #bigcalendar<?php echo $many_sp_calendar; ?> .arrow-left {
291
+ width: 0px;
292
+ height: 0px;
293
+ border-bottom: 15px solid transparent;
294
+ border-bottom: 15px solid transparent;
295
+ border-right: 20px solid;
296
+ margin: 0 auto;
297
+ }
298
+
299
+ #afterbig<?php echo $many_sp_calendar; ?> .arrow-right,
300
+ #bigcalendar<?php echo $many_sp_calendar; ?> .arrow-right {
301
+ width: 0px;
302
+ height: 0px;
303
+ border-bottom: 15px solid transparent;
304
+ border-bottom: 15px solid transparent;
305
+ border-left: 20px solid;
306
+ margin: 0 auto;
307
+ }
308
+
309
+ #bigcalendar<?php echo $many_sp_calendar ?> .cala_arrow a:hover {
310
+ text-decoration: none !important;
311
+ background: none !important;
312
+ }
313
+
314
+ #afterbig<?php echo $many_sp_calendar; ?> #views_select .arrow-right,
315
+ #bigcalendar<?php echo $many_sp_calendar; ?> #views_select .arrow-right{
316
+ border-bottom: 5px solid transparent;
317
+ border-bottom: 5px solid transparent;
318
+ border-left: 8px solid;
319
+ left: 5px;
320
+ position: relative;
321
+ }
322
+ #afterbig<?php echo $many_sp_calendar; ?> #views_select .arrow-down,
323
+ #bigcalendar<?php echo $many_sp_calendar; ?> #views_select .arrow-down{
324
+ width: 0px;
325
+ height: 0px;
326
+ border-left: 5px solid transparent;
327
+ border-right: 5px solid transparent;
328
+ border-bottom: 8px solid;
329
+ }
330
+
331
+ #afterbig<?php echo $many_sp_calendar; ?> .general_table
332
+ #bigcalendar<?php echo $many_sp_calendar; ?> .general_table {
333
+ border-radius: <?php echo $border_radius; ?>px;
334
+ }
335
+ #afterbig<?php echo $many_sp_calendar; ?> .top_table,
336
+ #bigcalendar<?php echo $many_sp_calendar; ?> .top_table {
337
+ border-bottom-left-radius: <?php echo $border_radius2; ?>px;
338
+ border-bottom-right-radius: <?php echo $border_radius2; ?>px;
339
+ }
340
+
341
+ #afterbig<?php echo $many_sp_calendar; ?> .general_table table tr:last-child >td:first-child,
342
+ #bigcalendar<?php echo $many_sp_calendar; ?> .general_table table tr:last-child >td:first-child{
343
+ border-bottom-left-radius: <?php echo $border_radius2; ?>px;
344
+ }
345
+
346
+ #afterbig<?php echo $many_sp_calendar; ?> .general_table table tr:last-child >td:last-child,
347
+ #bigcalendar<?php echo $many_sp_calendar; ?> .general_table table tr:last-child >td:last-child{
348
+ border-bottom-right-radius: <?php echo $border_radius2; ?>px;
349
+ }
350
+
351
+ #afterbig<?php echo $many_sp_calendar; ?> .cala_arrow a:link,
352
+ #afterbig<?php echo $many_sp_calendar; ?> .cala_arrow a:visited,
353
+ #bigcalendar<?php echo $many_sp_calendar; ?> .cala_arrow a:link,
354
+ #bigcalendar<?php echo $many_sp_calendar; ?> .cala_arrow a:visited {
355
+ text-decoration:none !important;
356
+ box-shadow: none !important;
357
+ background:none;
358
+ font-size: <?php echo $arrow_size; ?>px;
359
+ border: 0 !important;
360
+ box-shadow: none;
361
+ }
362
+ #afterbig<?php echo $many_sp_calendar; ?> .cala_arrow a:hover,
363
+ #bigcalendar<?php echo $many_sp_calendar; ?> .cala_arrow a:hover {
364
+ text-decoration:none;
365
+ background:none;
366
+ }
367
+ #afterbig<?php echo $many_sp_calendar; ?> .cala_day a:link,
368
+ #afterbig<?php echo $many_sp_calendar; ?> .cala_day a:visited,
369
+ #bigcalendar<?php echo $many_sp_calendar; ?> .cala_day a:link,
370
+ #bigcalendar<?php echo $many_sp_calendar; ?> .cala_day a:visited {
371
+ text-decoration:none;
372
+ background:none;
373
+ font-size:12px;
374
+ box-shadow: none;
375
+ }
376
+ #afterbig<?php echo $many_sp_calendar; ?> .cala_day a:hover,
377
+ #bigcalendar<?php echo $many_sp_calendar; ?> .cala_day a:hover {
378
+ text-decoration:none;
379
+ background:none;
380
+ }
381
+ #afterbig<?php echo $many_sp_calendar; ?> .cala_day,
382
+ #bigcalendar<?php echo $many_sp_calendar; ?> .cala_day {
383
+ border-bottom:1px solid <?php echo $cell_border_color; ?> !important;
384
+ border-left:1px solid <?php echo $cell_border_color; ?> !important;
385
+ vertical-align:top;
386
+ }
387
+ #afterbig<?php echo $many_sp_calendar; ?> .weekdays,
388
+ #bigcalendar<?php echo $many_sp_calendar; ?> .weekdays {
389
+ border-bottom: 1px solid <?php echo $cell_border_color; ?> !important;
390
+ border-left: 1px solid <?php echo $cell_border_color; ?> !important;
391
+ vertical-align: middle;
392
+ }
393
+ #afterbig<?php echo $many_sp_calendar; ?> .week_days,
394
+ #bigcalendar<?php echo $many_sp_calendar; ?> .week_days {
395
+ font-size:<?php echo $weekdays_font_size; ?>px;
396
+ font-weight: 600;
397
+ }
398
+ #afterbig<?php echo $many_sp_calendar; ?> .calyear_table,
399
+ #bigcalendar<?php echo $many_sp_calendar; ?> .calyear_table {
400
+ border-spacing:0;
401
+ width:100%;
402
+ }
403
+ #afterbig<?php echo $many_sp_calendar; ?> .calmonth_table,
404
+ #bigcalendar<?php echo $many_sp_calendar; ?> .calmonth_table {
405
+ border-spacing:0;
406
+ width:100%;
407
+ }
408
+ #afterbig<?php echo $many_sp_calendar; ?> .calbg,
409
+ #afterbig<?php echo $many_sp_calendar; ?> .calbg td,
410
+ #bigcalendar<?php echo $many_sp_calendar; ?> .calbg,
411
+ #bigcalendar<?php echo $many_sp_calendar; ?> .calbg td {
412
+ text-align:center;
413
+ width:14%;
414
+ }
415
+ #afterbig<?php echo $many_sp_calendar; ?> .caltext_color_other_months,
416
+ #bigcalendar<?php echo $many_sp_calendar; ?> .caltext_color_other_months {
417
+ color:<?php echo $text_color_other_months; ?>;
418
+ border-bottom:1px solid <?php echo $cell_border_color; ?> !important;
419
+ border-left:1px solid <?php echo $cell_border_color; ?> !important;
420
+ vertical-align:top;
421
+ }
422
+ #afterbig<?php echo $many_sp_calendar; ?> .caltext_color_this_month_unevented,
423
+ #bigcalendar<?php echo $many_sp_calendar; ?> .caltext_color_this_month_unevented {
424
+ color:<?php echo $text_color_this_month_unevented; ?>;
425
+ }
426
+ #afterbig<?php echo $many_sp_calendar; ?> .calfont_year,
427
+ #bigcalendar<?php echo $many_sp_calendar; ?> .calfont_year {
428
+ font-size:24px;
429
+ font-weight:bold;
430
+ color:<?php echo $text_color_year; ?>;
431
+ }
432
+ #afterbig<?php echo $many_sp_calendar; ?> .calsun_days,
433
+ #bigcalendar<?php echo $many_sp_calendar; ?> .calsun_days {
434
+ color:<?php echo $sun_days; ?>;
435
+ border-bottom:1px solid <?php echo $cell_border_color; ?> !important;
436
+ border-left:1px solid <?php echo $cell_border_color; ?> !important;
437
+ vertical-align:top;
438
+ text-align:left;
439
+ background-color: <?php echo $sundays_bg_color; ?> !important;
440
+ font-weight: 600;
441
+ }
442
+ #afterbig<?php echo $many_sp_calendar; ?> .views,
443
+ #bigcalendar<?php echo $many_sp_calendar; ?> .views {
444
+ float: right;
445
+ background-color: <?php echo $views_tabs_bg_color; ?> !important;
446
+ min-height: 25px;
447
+ min-width: 70px;
448
+ margin-left: 2px;
449
+ text-align: center;
450
+ cursor:pointer;
451
+ position: relative;
452
+ top: 5px;
453
+ }
454
+
455
+ #afterbig<?php echo $many_sp_calendar; ?> .views span,
456
+ #bigcalendar<?php echo $many_sp_calendar; ?> .views span{
457
+ line-height: 30px;
458
+ }
459
+
460
+ #afterbig<?php echo $many_sp_calendar; ?> .views_select ,
461
+ #afterbig<?php echo $many_sp_calendar; ?> #views_select,
462
+ #bigcalendar<?php echo $many_sp_calendar; ?> .views_select ,
463
+ #bigcalendar<?php echo $many_sp_calendar; ?> #views_select
464
+ {
465
+ background-color: <?php echo $views_tabs_bg_color ?> !important;
466
+ width: 120px;
467
+ text-align: center;
468
+ cursor: pointer;
469
+ padding: 6px;
470
+ position: relative;
471
+ }
472
 
473
+ #afterbig<?php echo $many_sp_calendar; ?> #views_select,
474
+ #bigcalendar<?php echo $many_sp_calendar; ?> #views_select
475
+ {
476
+ min-height: 30px;
477
+ }
478
 
479
+ #drop_down_views
480
+ {
481
+ list-style-type:none !important;
482
+ display:none;
483
+ z-index: 4545;
484
+ position: absolute;
485
+ left: 0 !important;
486
+ margin-left: 0;
487
+ }
488
 
489
+ #drop_down_views >li:hover .views_select, #drop_down_views >li.active .views_select
490
+ {
491
+ background:<?php echo $bg_top ?> !important;
492
+ }
493
 
494
+ #drop_down_views >li
495
+ {
496
+ border-bottom:1px solid #fff !important;
497
+ }
498
 
499
 
500
+ #views_tabs_select
501
+ {
502
+ display:none;
503
+ }
504
+ #cal_event p{
505
+ color:<?php echo $ev_color;?>;
506
+ line-height: 15px;
507
+ }
508
+
509
+ .general_table table tr > td:last-child{
510
+ border-right: 1px solid <?php echo $cell_border_color; ?> !important;
511
+ }
512
+ </style>
513
+ </head>
514
+ <body>
515
  <?php
516
  $activedate = explode('/', $header_format);
517
 
530
  for ($i = 0; $i < count($activedate); $i++) {
531
  $activedatestr .= $activedate[$i];
532
  }
533
+ $name_year = "";
534
  $dateformat_arrays = array("dFY", "dYF", "FYd", "FdY", "YdF", "YFd" );
535
+ $dates_formats = array('<p class="month_name">'.__($month, 'sp_calendar') .'</p> '. $year,
536
+ $year . ' <p class="month_name">' . __($month, 'sp_calendar').'</p>',
537
+ '<p class="month_name">'.__($month, 'sp_calendar') .'</p> '. $year,
538
+ '<p class="month_name">'.__($month, 'sp_calendar') .'</p> '. $year,
539
+ $year . ' <p class="month_name">' . __($month, 'sp_calendar').'</p>',
540
+ $year . ' <p class="month_name">' . __($month, 'sp_calendar').'</p>'
541
  );
542
  for ($i = 0; $i < count($dateformat_arrays); $i++) {
543
  if (strpos($activedatestr,$dateformat_arrays[$i]) !== false){
565
  'cat_ids' => $cat_ids,
566
  'widget' => $widget,
567
  'rand' => $many_sp_calendar,
568
+ ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="top: -3px; position: relative; color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px"><?php echo __('Day', 'sp_calendar'); ?></span>
569
  </div>
570
  <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;' ?>"
571
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
581
  'cat_ids' => $cat_ids,
582
  'widget' => $widget,
583
  'rand' => $many_sp_calendar,
584
+ ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="top: -3px; position: relative; color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px"><?php echo __('Week', 'sp_calendar'); ?></span>
585
  </div>
586
  <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;' ?>"
587
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
596
  'cat_ids' => $cat_ids,
597
  'widget' => $widget,
598
  'rand' => $many_sp_calendar,
599
+ ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')"><span style="top: -3px; position: relative; color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px"><?php echo __('List', 'sp_calendar'); ?></span>
600
  </div>
601
  <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;'; ?>"
602
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
704
  <td width="100%" style="padding:0; margin:0;">
705
  <table cellpadding="0" cellspacing="0" border="0" style="border-spacing:0; font-size:12px; margin:0; padding:0; width:100%;">
706
  <tr style="height:40px; width:100%;">
707
+ <td class="top_table" align="center" colspan="7" style="position: relative;padding:0; margin:0; background-color:<?php echo $bg_top; ?>;height:20px; background-repeat: no-repeat;background-size: 100% 100%; border: 0 !important;">
708
  <table cellpadding="0" cellspacing="0" border="0" align="center" class="calyear_table" style="margin:0; padding:0; text-align:center; width:100%; height:<?php echo $top_height; ?>px;">
709
  <tr>
710
+ <td width="10%">
711
  <div onclick="javascript:showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>','<?php
712
  echo add_query_arg(array(
713
  'action' => 'spiderbigcalendar_' . $defaultview,
720
  'cat_id' => '',
721
  'cat_ids' => $cat_ids,
722
  'widget' => $widget,
723
+ ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" style="text-align:center; cursor:pointer; width:100%; background-color: <?php echo hex_to_rgb($views_tabs_bg_color, 0.4) ?>;">
724
  <span style="font-size:18px;color:#FFF"><?php echo $year - 1; ?></span>
725
  </div>
726
  </td>
727
+ <td class="cala_arrow" width="11%" style="text-align:right;margin:0px; padding: 0px 30px 0px 0px;">
728
  <a style="text-shadow: 1px 1px 2px black;color:<?php echo $color_arrow_month ?>;" href="javascript:showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>','<?php
729
  if (Month_num($month) == 1) {
730
  $needed_date = ($year - 1) . '-12';
744
  'cat_ids' => $cat_ids,
745
  'widget' => $widget,
746
  ), $site_url);
747
+ ?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')">&#10096;
748
  </a>
749
  </td>
750
+ <td style="text-align:center; margin:0;" width="10%">
751
  <input type="hidden" name="month" readonly="" value="<?php echo $month; ?>"/>
752
+ <span style="line-height: 30px;font-family: Segoe UI; color:<?php echo $text_color_month; ?>; font-size:<?php echo $month_font_size; ?>px;text-shadow: 1px 1px black;"><?php echo $name_year; ?></span>
753
  </td>
754
+ <td style="margin:0; padding: 0px 0px 0px 30px;text-align:left" width="11%" class="cala_arrow">
755
+ <a style="text-shadow: 1px 1px 2px black; color:<?php echo $color_arrow_month; ?>" href="javascript:showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>','<?php
756
  if (Month_num($month) == 12) {
757
  $needed_date = ($year + 1) . '-01';
758
  }
771
  'cat_ids' => $cat_ids,
772
  'widget' => $widget,
773
  ), $site_url);
774
+ ?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')">&#10097;
775
  </a>
776
  </td>
777
+ <td width="10%" style="border: 0 !important;">
778
  <div onclick="javascript:showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>','<?php
779
  echo add_query_arg(array(
780
  'action' => 'spiderbigcalendar_' . $defaultview,
787
  'cat_id' => '',
788
  'cat_ids' => $cat_ids,
789
  'widget' => $widget,
790
+ ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" style="text-align:center; cursor:pointer; width:100%; background-color: <?php echo hex_to_rgb($views_tabs_bg_color, 0.4) ?>;">
791
  <span style="font-size:18px;color:#FFF"><?php echo $year + 1; ?></span>
792
  </div>
793
  </td>
856
  echo ' <tr id="days" height="' . $cell_height . '" style="line-height:15px;">';
857
  for ($i = 1; $i < $weekday_i; $i++) {
858
  echo ' <td class="caltext_color_other_months" style="background-color:' . $bg_color_other_months . ' !important">
859
+ <p style="padding-right: 7px; font-size:' . $other_days_font_size . 'px; font-weight: 600;line-height:1.4;font-family: Segoe UI;padding-left: 5px;background: '.$cell_border_color.' !important; width: 100%; padding-right: 6px;">' . $last_month_days . '</p>
860
  </td>';
861
  $last_month_days = $last_month_days + 1;
862
  }
883
  }
884
 
885
 
886
+ function style($title, $color,$ev_height){
887
+ $new_title = html_entity_decode(strip_tags($title));
 
 
888
  $number = $new_title[0];
889
  $first_letter =$new_title[1];
890
  $ev_title = $title;
891
+ $color=str_replace('#','',$color);
892
+ $event='<div id="cal_event" style="padding-left: 5px; background-color: '.hex_to_rgb($color,'0.5').' !important;"><p class="ev_name">'.$ev_title.'</p></div>';
893
+
894
+ return $event;
895
+ }
896
 
897
+ function evented_days($r, $number_of_shown_evetns, $ev_id, $i,$evented_color_bg,$evented_color_bg,$events_count){
898
+ if($r < $number_of_shown_evetns && $r < $events_count){ $ev_colid = $r; }
899
+ else $ev_colid = $r - 1;
900
 
901
+ if(str_replace('#','',category_color($ev_id[0]))=="") $cat_col_without_color = $evented_color_bg;
902
+ else $cat_col_without_color = '#' . str_replace('#','',category_color($ev_id[0]));
903
 
904
+ if($r>1){
905
+ if(category_color($ev_id[$r-1])=='#')
906
+ $cat_color_for_last='#' . str_replace('#','',$evented_color_bg);
907
+ else
908
+ $cat_color_for_last='#' . str_replace('#','',category_color($ev_id[$ev_colid]));
909
+ }
910
+ else $cat_color_for_last = $cat_col_without_color;
911
+
912
  }
913
 
914
  /////////////////////////////////////////////////////////////////////////////
928
  $dayevent = '';
929
  if (($weekday_i % 7 == 0 and $weekstart == "mo") or ($weekday_i % 7 == 1 and $weekstart == "su")) {
930
  if ($i == $day_REFERER and $month == $month_REFERER and $year == $year_REFERER ) {
931
+ echo ' <td class="cala_day" style="padding:0; margin:0;line-height:15px;" id="event_td_'.$i.'">
932
  <div class="calborder_day" style=" margin:0; padding:0;">
933
+ <p style="font-size:' . $other_days_font_size . 'px; font-weight: 600; color:' . $evented_color . ';line-height:1.4;font-family: Segoe UI; background: '.$cell_border_color.';">' . $i . '</p>';
934
  $r = 0;
935
  echo ' <div style="background-color:' . $ev_title_bg_color . ' !important;">';
936
  for ($j = 0; $j < $k; $j++) {
937
  if(category_color($ev_id[$j])=='#')
938
+ $cat_color=$evented_color_bg;
939
+ else
940
+ $cat_color=category_color($ev_id[$j]);
941
+ if ($k > $number_of_shown_evetns)
942
+ $events_count = $number_of_shown_evetns + 1;
943
+ else $events_count = $k;
944
+ $event_height = ($cell_height - floor($other_days_font_size * 1.4))/$events_count;
945
  if ($r < $number_of_shown_evetns) {
946
  echo ' <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="background:none;color:' . $event_title_color . ';"
947
  href="' . add_query_arg(array(
958
  'tbWidth' => $popup_width,
959
  'tbHeight' => $popup_height,
960
  'cat_id' => $cat_ids
961
+ ), $site_url) . '"><b>' . style($ev_title[$j],$cat_color,$event_height) . '</b>
962
  </a>';
963
  }
964
  else {
965
  echo '
966
+ <div style=" min-height: '.$event_height.'px;"><a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="padding-left: 5px; font-size:11px; background:none; color:' . $ev_color . '; text-align:center;"
967
  href="' . add_query_arg(array(
968
  'action' => 'spiderseemore',
969
  'theme_id' => $theme_id,
977
  'tbWidth' => $popup_width,
978
  'tbHeight' => $popup_height,
979
  ), $site_url) . '"><b>' . __('See more', 'sp_calendar') . '</b>
980
+ </a></div>';
981
  break;
982
  }
983
  $r++;
984
  }
985
+ evented_days($r, $number_of_shown_evetns, $ev_id, $i,$evented_color_bg,$evented_color_bg, $events_count);
986
  echo ' </div>
987
  </div>
988
  </td>';
994
  if(!isset($border_day)) $border_day = "";
995
  if ($i == date('j') and $month == date('F') and $year == date('Y')) { $border_day = $current_day_border_color;}
996
  if (in_array($i,$array_days)) {
997
+ echo ' <td class="cala_day" style="overflow: hidden; padding:0; margin:0;line-height:15px; border: 2px solid ' . $current_day_border_color . ' !important" id="event_td_'.$i.'">
998
+ <p style="background-color:' . $evented_color_bg . ' !important;color:' . $evented_color . ' !important;font-size:' . $other_days_font_size . 'px; font-weight: 600;line-height:1.4;font-family: Segoe UI;padding-left: 5px;background: '.$cell_border_color.' !important; width: 100%; padding-right: 6px;">' . $i . '</p>';
999
  $r = 0;
1000
  echo ' <div style="background-color:' . $ev_title_bg_color . ' !important">';
1001
  for ($j = 0; $j < $k; $j++) {
1002
 
1003
  if(category_color($ev_id[$j])=='#')
1004
+ $cat_color=$evented_color_bg;
1005
  else
1006
  $cat_color=category_color($ev_id[$j]);
1007
+
1008
+ if ($k > $number_of_shown_evetns)
1009
+ $events_count = $number_of_shown_evetns + 1;
1010
+ else $events_count = $k;
1011
+ $event_height = ($cell_height - floor($other_days_font_size * 1.4))/$events_count;
1012
  if ($r < $number_of_shown_evetns) {
1013
  echo ' <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="background:none;color:' . $event_title_color . ';"
1014
  href="' . add_query_arg(array(
1024
  'TB_iframe' => 1,
1025
  'tbWidth' => $popup_width,
1026
  'tbHeight' => $popup_height,
1027
+ ), $site_url) . '"><b>' . style($ev_title[$j],$cat_color,$event_height) . '</b>
1028
  </a>';
1029
  }
1030
  else {
1031
  echo '
1032
+ <div style=" min-height: '.$event_height.'px;"><a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="padding-left: 5px; font-size:11px;background:none;color:' . $ev_color . ';text-align:center;"
1033
  href="' . add_query_arg(array(
1034
  'action' => 'spiderseemore',
1035
  'theme_id' => $theme_id,
1043
  'tbWidth' => $popup_width,
1044
  'tbHeight' => $popup_height,
1045
  ), $site_url) . '"><b>' . __('See more', 'sp_calendar') . '</b>
1046
+ </a></div>';
1047
  break;
1048
  }
1049
  $r++;
1050
  }
1051
+ evented_days($r, $number_of_shown_evetns, $ev_id, $i,$evented_color_bg,$evented_color_bg, $events_count);
1052
  echo ' </div>
1053
  </td>';
1054
  }
1055
  else {
1056
 
1057
+ echo ' <td class="calsun_days" style="overflow: hidden; padding:0; font-size:' . $sundays_font_size . 'px; margin:0;line-height:1.4;font-family: Segoe UI;padding-left: 5px; border: 2px solid ' . $current_day_border_color . ' !important">
1058
  <b>' . $i . '</b>
1059
  </td>';
1060
  }
1062
  else
1063
 
1064
  if (in_array($i, $array_days)) {
1065
+ echo ' <td class="cala_day" style="padding:0; margin:0;line-height:15px;" id="event_td_'.$i.'">
1066
+ <p style="background-color:' . $evented_color_bg . ' !important;color:' . $evented_color . ';font-size:' . $other_days_font_size . 'px; font-weight: 600;line-height:1.4;font-family: Segoe UI;padding-left: 5px;background: '.$cell_border_color.' !important; padding-right: 6px;">' . $i . '</p>
1067
+ <div>';
1068
  $r = 0;
1069
  for ($j = 0; $j < $k; $j++) {
1070
  if(category_color($ev_id[$j])=='#')
1071
+ $cat_color=$evented_color_bg;
1072
  else
1073
  $cat_color=category_color($ev_id[$j]);
1074
+ if ($k > $number_of_shown_evetns)
1075
+ $events_count = $number_of_shown_evetns + 1;
1076
+ else $events_count = $k;
1077
+ $event_height = ($cell_height - floor($other_days_font_size * 1.4))/$events_count;
1078
+
1079
  if ($r < $number_of_shown_evetns) {
1080
  echo ' <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="background:none; color:' . $event_title_color . ' !important;"
1081
  href="' . add_query_arg(array(
1091
  'TB_iframe' => 1,
1092
  'tbWidth' => $popup_width,
1093
  'tbHeight' => $popup_height,
1094
+ ), $site_url) . '"><b>' . style($ev_title[$j],$cat_color,$event_height) . '</b>
1095
  </a>';
1096
  }
1097
  else {
1098
  echo '
1099
+ <div style=" min-height: '.$event_height.'px;"><a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="padding-left: 5px; font-size:11px; background:none; color:' . $ev_color . ' !important;text-align:center;"
1100
  href="' . add_query_arg(array(
1101
  'action' => 'spiderseemore',
1102
  'theme_id' => $theme_id,
1110
  'tbWidth' => $popup_width,
1111
  'tbHeight' => $popup_height,
1112
  ), $site_url) . '"><b>' . __('See more', 'sp_calendar') . '</b>
1113
+ </a></div>';
1114
  break;
1115
  }
1116
  $r++;
1117
  }
1118
+ evented_days($r, $number_of_shown_evetns, $ev_id, $i,$evented_color_bg,$evented_color_bg,$events_count);
1119
  echo ' </div>
1120
  </td>';
1121
  }
1122
  else {
1123
+ echo ' <td class="calsun_days" style="padding:0; margin:0;line-height:1.4;font-family: Segoe UI; font-size:' . $sundays_font_size . 'px">
1124
+ <p style="background: '.$cell_border_color.'; padding-left: 5px; padding-right: 6px; ">' . $i . '</p>
1125
  </td>';
1126
  }
1127
  }
1129
 
1130
  if ($i == $day_REFERER and $month == $month_REFERER and $year == $year_REFERER) {
1131
 
1132
+ echo ' <td bgcolor="' . $ev_title_bg_color . '" class="cala_day" style="overflow: hidden; border: 2px solid ' . $current_day_border_color . ' !important;padding:0; margin:0;line-height:15px;" id="event_td_'.$i.'">
1133
  <div class="calborder_day" style="margin:0; padding:0;">
1134
+ <p style="background-color:' . $evented_color_bg . ' !important;color:' . $evented_color . ' !important;font-size:' . $other_days_font_size . 'px; font-weight: 600;line-height:1.4;font-family: Segoe UI;padding-left: 5px;background: '.$cell_border_color.' !important; width: 100%; padding-left: 5px; padding-right: 6px;">' . $i . '</p>
1135
  <div style="background-color:' . $ev_title_bg_color . ' !important">';
1136
  $r = 0;
1137
  for ($j = 0; $j < $k; $j++) {
1138
  if(category_color($ev_id[$j])=='#')
1139
+ $cat_color=$evented_color_bg;
1140
  else
1141
  $cat_color=category_color($ev_id[$j]);
1142
 
1143
+ if ($k > $number_of_shown_evetns)
1144
+ $events_count = $number_of_shown_evetns + 1;
1145
+ else $events_count = $k;
1146
+ $event_height = ($cell_height - floor($other_days_font_size * 1.4))/$events_count;
1147
  if ($r < $number_of_shown_evetns) {
1148
  echo ' <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="background:none; color:' . $event_title_color . ' !important;"
1149
  href="' . add_query_arg(array(
1159
  'TB_iframe' => 1,
1160
  'tbWidth' => $popup_width,
1161
  'tbHeight' => $popup_height,
1162
+ ), $site_url) . '"><b>' . style($ev_title[$j],$cat_color,$event_height) . '</b>
1163
  </a>';
1164
  }
1165
  else {
1166
  echo '
1167
+ <div style=" min-height: '.$event_height.'px;"><a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="padding-left: 5px; font-size:11px; background:none; color:' . $ev_color . ';text-align:center;"
1168
  href="' . add_query_arg(array(
1169
  'action' => 'spiderseemore',
1170
  'theme_id' => $theme_id,
1178
  'tbWidth' => $popup_width,
1179
  'tbHeight' => $popup_height,
1180
  ), $site_url) . '"><b>' . __('See more', 'sp_calendar') . '</b>
1181
+ </a></div>';
1182
  break;
1183
  }
1184
  $r++;
1185
  }
1186
+ evented_days($r, $number_of_shown_evetns, $ev_id, $i,$evented_color_bg,$evented_color_bg, $events_count);
1187
  echo ' </div>
1188
  </div>
1189
  </td>';
1194
 
1195
 
1196
  if (in_array ($i,$array_days)) {
1197
+ echo ' <td class="cala_day" style="overflow: hidden; padding:0; margin:0;line-height:15px; border: 2px solid ' . $current_day_border_color . ' !important;" id="event_td_'.$i.'">
1198
+ <p style="background-color:' . $evented_color_bg . ' !important;color:' . $evented_color . ';font-size:' . $other_days_font_size . 'px; font-weight: 600;line-height:1.4;font-family: Segoe UI;padding-left: 5px;background: '.$cell_border_color.' !important; width: 100%; padding-right: 6px;">' . $i . '</p>
1199
  <div style="background-color:' . $ev_title_bg_color . ' !important">';
1200
  $r = 0;
1201
  for ($j = 0; $j < $k; $j++) {
1202
  if(category_color($ev_id[$j])=='#')
1203
+ $cat_color=$evented_color_bg;
1204
  else
1205
  $cat_color=category_color($ev_id[$j]);
1206
+
1207
+ if ($k > $number_of_shown_evetns)
1208
+ $events_count = $number_of_shown_evetns + 1;
1209
+ else $events_count = $k;
1210
+ $event_height = ($cell_height - floor($other_days_font_size * 1.4))/$events_count;
1211
  if ($r < $number_of_shown_evetns) {
1212
  echo ' <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="background:none; color:' . $event_title_color . ';"
1213
  href="' . add_query_arg(array(
1223
  'TB_iframe' => 1,
1224
  'tbWidth' => $popup_width,
1225
  'tbHeight' => $popup_height,
1226
+ 'tbHeight' => $popup_height,
1227
+ ), $site_url) . '"><b>' . style($ev_title[$j],$cat_color,$event_height) . '</b>
1228
  </a>';
1229
  }
1230
  else {
1231
  echo '
1232
+ <div style=" min-height: '.$event_height.'px;"><a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="padding-left: 5px; font-size:11px; background:none;color:' . $ev_color . ';text-align:center;"
1233
  href="' . add_query_arg(array(
1234
  'action' => 'spiderseemore',
1235
  'theme_id' => $theme_id,
1243
  'tbWidth' => $popup_width,
1244
  'tbHeight' => $popup_height,
1245
  ), $site_url) . '"><b>' . __('See more', 'sp_calendar') . '</b>
1246
+ </a></div>';
1247
  break;
1248
  }
1249
  $r++;
1250
+ }
1251
+ evented_days($r, $number_of_shown_evetns, $ev_id, $i,$evented_color_bg,$evented_color_bg, $events_count);
1252
  echo ' </div>
1253
  </td>';
1254
  }
1255
  else {
1256
+ echo ' <td style="overflow: hidden; color:' . $text_color_this_month_unevented . ';padding:0; margin:0; line-height:15px; border: 2px solid ' . $current_day_border_color . ' !important; vertical-align:top;">
1257
+ <p style="font-size:'.$other_days_font_size.'px; font-weight: 600;line-height:1.4;font-family: Segoe UI;padding-left: 5px; background: '.$cell_border_color.';">' . $i . '</p>
1258
  </td>';
1259
  }
1260
  }
1261
  else
1262
 
1263
  if (in_array($i, $array_days)) {
1264
+ echo ' <td class="cala_day" style="padding:0; margin:0;line-height:15px;" id="event_td_'.$i.'">
1265
+ <p style="color:' . $evented_color . ' !important;font-size:' . $other_days_font_size . 'px; font-weight: 600;line-height:1.4; padding-left: 5px; font-family: Segoe UI;padding-left: 5px; background: '.$cell_border_color.' !important;">' . $i . '</p>';
1266
  $r = 0;
1267
+ echo ' <div class="events_div">';
1268
+
1269
  for ($j = 0; $j < $k; $j++) {
1270
 
1271
  if(category_color($ev_id[$j])=='#')
1272
+ $cat_color=$evented_color_bg;
1273
  else
1274
  $cat_color=category_color($ev_id[$j]);
1275
 
1276
+ if ($k > $number_of_shown_evetns)
1277
+ $events_count = $number_of_shown_evetns + 1;
1278
+ else $events_count = $k;
1279
+ $event_height = ($cell_height - floor($other_days_font_size * 1.4))/$events_count;
1280
+
1281
  if ($r < $number_of_shown_evetns) {
1282
  echo ' <a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="background:none; color:' . $event_title_color . ';"
1283
  href="' . add_query_arg(array(
1293
  'TB_iframe' => 1,
1294
  'tbWidth' => $popup_width,
1295
  'tbHeight' => $popup_height,
1296
+ ), $site_url) . '"><b>' . style($ev_title[$j],$cat_color,$event_height) . '</b>
1297
  </a>';
1298
  }
1299
  else {
1300
+ echo '<div style="min-height: '.$event_height.'px;"><a class="thickbox-previewbigcalendar' . $many_sp_calendar . '" style="padding-left: 5px; font-size:11px; background:none; color:' . $ev_color . ';text-align:center;"
1301
  href="' . add_query_arg(array(
1302
  'action' => 'spiderseemore',
1303
  'theme_id' => $theme_id,
1311
  'tbWidth' => $popup_width,
1312
  'tbHeight' => $popup_height,
1313
  ), $site_url) . '"><b>' . __('See more', 'sp_calendar') . '</b>
1314
+ </a></div>';
1315
  break;
1316
  }
1317
  $r++;
1318
  }
1319
+ evented_days($r, $number_of_shown_evetns, $ev_id, $i,$evented_color_bg,$evented_color_bg, $events_count);
1320
  echo ' </div>
1321
  </td>';
1322
  }
1323
  else {
1324
+ echo ' <td style=" color:' . $text_color_this_month_unevented . ';padding:0; margin:0; line-height:15px;border-bottom: 1px solid ' . $cell_border_color . ' !important; border-left: 1px solid ' . $cell_border_color . ' !important;vertical-align:top;">
1325
+ <p style="font-size:' . $other_days_font_size . 'px; font-weight: 600;line-height:1.4;font-family: Segoe UI; padding-left: 5px; background: '.$cell_border_color.';">' . $i . '</p>
1326
  </td>';
1327
  }
1328
  }
1338
  if ($weekday_i != 1) {
1339
  for ($i = $weekday_i; $i <= 7; $i++) {
1340
  if ($i != 7) {
1341
+ echo ' <td class="caltext_color_other_months" style="font-size:' . $other_days_font_size . 'px;line-height:1.4;font-family: Segoe UI;font-weight: 600;background-color:' . $bg_color_other_months . ' !important;"><p style="background: '.$cell_border_color.';"><span style="padding: 0px 19px 0px 5px;">' . $next_i . '</span></p></td>';
1342
  }
1343
  else {
1344
+ echo ' <td class="caltext_color_other_months" style="font-size:' . $other_days_font_size . 'px;line-height:1.4; font-weight: 600;font-family: Segoe UI; background-color:' . $bg_color_other_months . ' !important;"><p style="background: '.$cell_border_color.';"><span style="padding: 0px 19px 0px 5px;">' . $next_i . '</span></p></td>';
1345
  }
1346
  $next_i += 1;
1347
  }
1385
  padding: 2px 10px !important;
1386
  margin: 2px 0 !important;
1387
  font-size: 14px;
1388
+ font-weight: 600;
1389
  }
1390
  </style>
1391
  <?php
1414
  $cat_ids='';
1415
 
1416
  if($show_cat){
1417
+ echo '<ul id="cats" style="list-style-type:none; padding: 0;">';
1418
 
1419
  foreach($categories as $category)
1420
  {
1454
  }
1455
  echo '</ul>';
1456
  }
1457
+ ?>
1458
+ </body>
1459
+ </html>
1460
+ <?php
1461
  die();
1462
+ } ?>
 
 
front_end/bigcalendarmonth_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
- $show_cat = 1;
116
  $popup_width = $theme->popup_width;
117
  $popup_height = $theme->popup_height;
118
  $show_event_bgcolor = '#' . str_replace('#','',$theme->show_event_bgcolor);
@@ -164,6 +164,8 @@ $cat_ids = substr($cat_ids, 0,-1);
164
  $display = "display:none";
165
  }
166
  ?>
 
 
167
  <style type='text/css'>
168
  #calendar_<?php echo $many_sp_calendar; ?> table {
169
  border-collapse: initial;
@@ -212,7 +214,7 @@ $cat_ids = substr($cat_ids, 0,-1);
212
  #calendar_<?php echo $many_sp_calendar; ?> .cala_arrow a:link,
213
  #calendar_<?php echo $many_sp_calendar; ?> .cala_arrow a:visited {
214
  color: <?php echo $color_arrow; ?>;
215
- text-decoration: none;
216
  background: none;
217
  font-size: 16px;
218
  }
@@ -315,8 +317,9 @@ $cat_ids = substr($cat_ids, 0,-1);
315
  display:none;
316
  }
317
 
318
- </style>
319
-
 
320
  <div id="calendar_<?php echo $many_sp_calendar; ?>" style="width:<?php echo $calendar_width; ?>px;">
321
  <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">
322
  <tr style="background-color:#FFFFFF;">
@@ -995,7 +998,10 @@ if (!empty($categories)) {
995
  ), $site_url);?>','<?php echo $many_sp_calendar ?>','<?php echo $widget; ?>')"><?php echo __('All categories', 'sp_calendar'); ?></p></li>
996
  <?php echo '</ul>';
997
  }
998
- }
 
 
 
999
  die();
1000
  }
1001
 
112
  $font_month = $theme->font_month;
113
  $font_day = $theme->font_day;
114
  $font_weekday = $theme->font_weekday;
115
+ $show_cat = $theme->show_cat;
116
  $popup_width = $theme->popup_width;
117
  $popup_height = $theme->popup_height;
118
  $show_event_bgcolor = '#' . str_replace('#','',$theme->show_event_bgcolor);
164
  $display = "display:none";
165
  }
166
  ?>
167
+ <html>
168
+ <head>
169
  <style type='text/css'>
170
  #calendar_<?php echo $many_sp_calendar; ?> table {
171
  border-collapse: initial;
214
  #calendar_<?php echo $many_sp_calendar; ?> .cala_arrow a:link,
215
  #calendar_<?php echo $many_sp_calendar; ?> .cala_arrow a:visited {
216
  color: <?php echo $color_arrow; ?>;
217
+ text-decoration: none !important;
218
  background: none;
219
  font-size: 16px;
220
  }
317
  display:none;
318
  }
319
 
320
+ </style>
321
+ </head>
322
+ <body>
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; height:190px; margin:0; padding:0;background-color:<?php echo $calendar_bg; ?> !important">
325
  <tr style="background-color:#FFFFFF;">
998
  ), $site_url);?>','<?php echo $many_sp_calendar ?>','<?php echo $widget; ?>')"><?php echo __('All categories', 'sp_calendar'); ?></p></li>
999
  <?php echo '</ul>';
1000
  }
1001
+ } ?>
1002
+ </body>
1003
+ </html>
1004
+ <?php
1005
  die();
1006
  }
1007
 
front_end/bigcalendarweek.php CHANGED
@@ -5,7 +5,7 @@ function big_calendar_week() {
5
  $widget = ((isset($_GET['widget']) && (int) $_GET['widget']) ? (int) $_GET['widget'] : 0);
6
  $many_sp_calendar = ((isset($_GET['many_sp_calendar']) && is_numeric(esc_html($_GET['many_sp_calendar']))) ? esc_html($_GET['many_sp_calendar']) : 1);
7
  $calendar_id = (isset($_GET['calendar']) ? (int) $_GET['calendar'] : '');
8
- $theme_id = (isset($_GET['theme_id']) ? (int) $_GET['theme_id'] : 1);
9
  $date = ((isset($_GET['date']) && IsDate_inputed(esc_html($_GET['date']))) ? esc_html($_GET['date']) : '');
10
  $view_select = (isset($_GET['select']) ? esc_html($_GET['select']) : 'month,');
11
  $path_sp_cal = (isset($_GET['cur_page_url']) ? esc_html($_GET['cur_page_url']) : '');
@@ -122,9 +122,9 @@ $cat_ids = substr($cat_ids, 0,-1);
122
  $week_days_cell_height = $theme->week_days_cell_height;
123
  $year_font_size = $theme->year_font_size;
124
  $month_font_size = $theme->month_font_size;
125
- $show_cat = '1';
126
  $arrow_size = $theme->arrow_size;
127
- $arrow_size_hover = $arrow_size + 5;
128
  $next_month_text_color = '#' . str_replace('#','',$theme->next_month_text_color);
129
  $prev_month_text_color = '#' . str_replace('#','',$theme->prev_month_text_color);
130
  $next_month_arrow_color = '#' . str_replace('#','',$theme->next_month_arrow_color);
@@ -149,7 +149,7 @@ $cat_ids = substr($cat_ids, 0,-1);
149
  $views_tabs_bg_color = '#' . str_replace('#','',$theme->views_tabs_bg_color);
150
  $views_tabs_text_color = '#' . str_replace('#','',$theme->views_tabs_text_color);
151
  $views_tabs_font_size = $theme->views_tabs_font_size;
152
- $header_format = 'w/m/d/y';
153
 
154
  $date_bg_color = '#' . str_replace('#','',$theme->date_bg_color);
155
  $event_bg_color1 = '#' . str_replace('#','',$theme->event_bg_color1);
@@ -288,7 +288,16 @@ $cat_ids = substr($cat_ids, 0,-1);
288
  }
289
 
290
  ?>
 
 
291
  <style type='text/css'>
 
 
 
 
 
 
 
292
  .week_list:last-child{
293
  border-top-left-radius: <?php echo $border_radius2; ?>px !important;
294
  border-top-right-radius: <?php echo $border_radius2; ?>px !important;
@@ -355,6 +364,7 @@ $cat_ids = substr($cat_ids, 0,-1);
355
  #bigcalendar<?php echo $many_sp_calendar; ?> .cala_arrow a:link,
356
  #bigcalendar .cala_arrow a:visited {
357
  text-decoration: none !important;
 
358
  background: none !important;
359
  font-size: <?php echo $arrow_size; ?>px !important;
360
  }
@@ -478,7 +488,7 @@ $cat_ids = substr($cat_ids, 0,-1);
478
  }
479
  #bigcalendar<?php echo $many_sp_calendar; ?> .cala_arrow a:link,
480
  #bigcalendar<?php echo $many_sp_calendar; ?> .cala_arrow a:visited {
481
- text-decoration:none;
482
  background:none;
483
  font-size: <?php echo $arrow_size; ?>px;
484
  }
@@ -551,8 +561,9 @@ $cat_ids = substr($cat_ids, 0,-1);
551
  position: relative;
552
  top: 5px;
553
  }
 
554
  #bigcalendar<?php echo $many_sp_calendar; ?> .views span{
555
- padding: 7px;
556
  }
557
 
558
  #bigcalendar<?php echo $many_sp_calendar; ?> .views_select ,
@@ -596,6 +607,8 @@ position: relative;
596
  }
597
 
598
  </style>
 
 
599
  <div id="afterbig<?php echo $many_sp_calendar; ?>" style="<?php echo $display ?>">
600
  <div style="width:100%;">
601
  <table cellpadding="0" cellspacing="0" style="width:100%;">
@@ -615,7 +628,7 @@ position: relative;
615
  'cat_ids' => $cat_ids,
616
  'widget' => $widget,
617
  'rand' => $many_sp_calendar,
618
- ), $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>
619
  </div>
620
  <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;'; ?>"
621
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
@@ -646,7 +659,7 @@ position: relative;
646
  'cat_ids' => $cat_ids,
647
  'widget' => $widget,
648
  'rand' => $many_sp_calendar,
649
- ), $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>
650
  </div>
651
  <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;'; ?>"
652
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
@@ -661,7 +674,7 @@ position: relative;
661
  'cat_ids' => $cat_ids,
662
  'widget' => $widget,
663
  'rand' => $many_sp_calendar,
664
- ), $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 __('Month', 'sp_calendar'); ?></span>
665
  </div>
666
  </div>
667
  <div id="views_tabs_select" style="display:none" >
@@ -753,7 +766,7 @@ position: relative;
753
  <td width="100%" style="padding:0; margin:0">
754
  <table cellpadding="0" cellspacing="0" border="0" style="border-spacing:0; font-size:12px; margin:0; padding:0; width:100%;">
755
  <tr style="height:40px; width:100%;">
756
- <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%;">
757
  <table cellpadding="0" cellspacing="0" border="0" align="center" class="calyear_table" style="margin:0; padding:0; text-align:center; width:100%; height:<?php echo $top_height; ?>px;">
758
  <tr>
759
  <td style="width:100%;vertical-align:center">
@@ -773,11 +786,11 @@ position: relative;
773
  'cat_id' => '',
774
  'cat_ids' => $cat_ids,
775
  'widget' => $widget,
776
- ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" style="text-align:center; cursor:pointer; width:100%;background-color:#000000; filter:alpha(opacity=30); opacity:0.3;">
777
  <span style="font-size:18px; color:#FFF"><?php echo $year - 1; ?></span>
778
  </div>
779
  </td>
780
- <td class="cala_arrow" width="15%" style="text-align:right;margin:0px;padding:0px">
781
  <a style="text-shadow: 1px 1px 2px black;color:<?php echo $color_arrow_month; ?>;" href="javascript:showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>','<?php
782
  echo add_query_arg(array(
783
  'action' => 'spiderbigcalendar_' . $defaultview,
@@ -791,14 +804,14 @@ position: relative;
791
  'cat_id' => '',
792
  'cat_ids' => $cat_ids,
793
  'widget' => $widget,
794
- ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')"><div class="arrow-left"></div>
795
  </a>
796
  </td>
797
  <td style="text-align:center; margin:0;" width="40%">
798
  <input type="hidden" name="month" readonly="" value="<?php echo $month; ?>"/>
799
  <span style="line-height: 30px;font-family:arial; color:<?php echo $text_color_month; ?>; font-size:<?php echo $month_font_size; ?>px;text-shadow: 1px 1px black;"><?php echo $weekdays; ?></span>
800
  </td>
801
- <td style="margin:0; padding:0;text-align:left" width="15%" class="cala_arrow">
802
  <a style="text-shadow: 1px 1px 2px black;color:<?php echo $color_arrow_month; ?>" href="javascript:showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>','<?php
803
  echo add_query_arg(array(
804
  'action' => 'spiderbigcalendar_' . $defaultview,
@@ -812,7 +825,7 @@ position: relative;
812
  'cat_id' => '',
813
  'cat_ids' => $cat_ids,
814
  'widget' => $widget,
815
- ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')"><div class="arrow-right"></div>
816
  </a>
817
  </td>
818
  <td width="15%">
@@ -829,7 +842,7 @@ position: relative;
829
  'cat_id' => '',
830
  'cat_ids' => $cat_ids,
831
  'widget' => $widget,
832
- ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" style="text-align:center; cursor:pointer; width:100%; background-color:#000000; filter:alpha(opacity=30); opacity:0.3;">
833
  <span style="font-size:18px; color:#FFF"><?php echo $year + 1; ?></span>
834
  </div>
835
  </td>
@@ -1024,6 +1037,7 @@ position: relative;
1024
  padding: 2px 10px !important;
1025
  margin: 2px 0 !important;
1026
  font-size: 14px;
 
1027
  }
1028
  </style>
1029
  <?php
@@ -1051,7 +1065,7 @@ echo'
1051
  if($cat_ids=='')
1052
  $cat_ids='';
1053
  if($show_cat){
1054
- echo '<ul id="cats" style="list-style-type:none;">';
1055
 
1056
  foreach($categories as $category)
1057
  {
@@ -1092,7 +1106,10 @@ if (!empty($categories)) {
1092
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')"><?php echo __('All categories', 'sp_calendar'); ?></p></li>
1093
  <?php echo '</ul>';
1094
  }
1095
- }
 
 
 
1096
  die();
1097
  }
1098
 
5
  $widget = ((isset($_GET['widget']) && (int) $_GET['widget']) ? (int) $_GET['widget'] : 0);
6
  $many_sp_calendar = ((isset($_GET['many_sp_calendar']) && is_numeric(esc_html($_GET['many_sp_calendar']))) ? esc_html($_GET['many_sp_calendar']) : 1);
7
  $calendar_id = (isset($_GET['calendar']) ? (int) $_GET['calendar'] : '');
8
+ $theme_id = (isset($_GET['theme_id']) ? (int) $_GET['theme_id'] : 30);
9
  $date = ((isset($_GET['date']) && IsDate_inputed(esc_html($_GET['date']))) ? esc_html($_GET['date']) : '');
10
  $view_select = (isset($_GET['select']) ? esc_html($_GET['select']) : 'month,');
11
  $path_sp_cal = (isset($_GET['cur_page_url']) ? esc_html($_GET['cur_page_url']) : '');
122
  $week_days_cell_height = $theme->week_days_cell_height;
123
  $year_font_size = $theme->year_font_size;
124
  $month_font_size = $theme->month_font_size;
125
+ $show_cat = $theme->show_cat;
126
  $arrow_size = $theme->arrow_size;
127
+ $arrow_size_hover = $arrow_size;
128
  $next_month_text_color = '#' . str_replace('#','',$theme->next_month_text_color);
129
  $prev_month_text_color = '#' . str_replace('#','',$theme->prev_month_text_color);
130
  $next_month_arrow_color = '#' . str_replace('#','',$theme->next_month_arrow_color);
149
  $views_tabs_bg_color = '#' . str_replace('#','',$theme->views_tabs_bg_color);
150
  $views_tabs_text_color = '#' . str_replace('#','',$theme->views_tabs_text_color);
151
  $views_tabs_font_size = $theme->views_tabs_font_size;
152
+ $header_format = $theme->header_format;
153
 
154
  $date_bg_color = '#' . str_replace('#','',$theme->date_bg_color);
155
  $event_bg_color1 = '#' . str_replace('#','',$theme->event_bg_color1);
288
  }
289
 
290
  ?>
291
+ <html>
292
+ <head>
293
  <style type='text/css'>
294
+
295
+ #afterbig<?php echo $many_sp_calendar; ?> table,
296
+ #bigcalendar<?php echo $many_sp_calendar; ?> table{
297
+ font-family: Segoe UI;
298
+ border: 0;
299
+ }
300
+
301
  .week_list:last-child{
302
  border-top-left-radius: <?php echo $border_radius2; ?>px !important;
303
  border-top-right-radius: <?php echo $border_radius2; ?>px !important;
364
  #bigcalendar<?php echo $many_sp_calendar; ?> .cala_arrow a:link,
365
  #bigcalendar .cala_arrow a:visited {
366
  text-decoration: none !important;
367
+ box-shadow: none !important;
368
  background: none !important;
369
  font-size: <?php echo $arrow_size; ?>px !important;
370
  }
488
  }
489
  #bigcalendar<?php echo $many_sp_calendar; ?> .cala_arrow a:link,
490
  #bigcalendar<?php echo $many_sp_calendar; ?> .cala_arrow a:visited {
491
+ text-decoration:none !important;
492
  background:none;
493
  font-size: <?php echo $arrow_size; ?>px;
494
  }
561
  position: relative;
562
  top: 5px;
563
  }
564
+ #afterbig<?php echo $many_sp_calendar; ?> .views span,
565
  #bigcalendar<?php echo $many_sp_calendar; ?> .views span{
566
+ line-height: 30px;
567
  }
568
 
569
  #bigcalendar<?php echo $many_sp_calendar; ?> .views_select ,
607
  }
608
 
609
  </style>
610
+ </head>
611
+ <body>
612
  <div id="afterbig<?php echo $many_sp_calendar; ?>" style="<?php echo $display ?>">
613
  <div style="width:100%;">
614
  <table cellpadding="0" cellspacing="0" style="width:100%;">
628
  'cat_ids' => $cat_ids,
629
  'widget' => $widget,
630
  'rand' => $many_sp_calendar,
631
+ ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="top: -3px; position: relative; color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px"><?php echo __('Day', 'sp_calendar'); ?></span>
632
  </div>
633
  <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;'; ?>"
634
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
659
  'cat_ids' => $cat_ids,
660
  'widget' => $widget,
661
  'rand' => $many_sp_calendar,
662
+ ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="top: -3px; position: relative; color:<?php echo $views_tabs_text_color ?>;font-size:<?php echo $views_tabs_font_size ?>px"><?php echo __('List', 'sp_calendar'); ?></span>
663
  </div>
664
  <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;'; ?>"
665
  onclick="showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>', '<?php echo add_query_arg(array(
674
  'cat_ids' => $cat_ids,
675
  'widget' => $widget,
676
  'rand' => $many_sp_calendar,
677
+ ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" ><span style="top: -3px; position: relative;color:<?php echo $views_tabs_text_color; ?>;font-size:<?php echo $views_tabs_font_size; ?>px"><?php echo __('Month', 'sp_calendar'); ?></span>
678
  </div>
679
  </div>
680
  <div id="views_tabs_select" style="display:none" >
766
  <td width="100%" style="padding:0; margin:0">
767
  <table cellpadding="0" cellspacing="0" border="0" style="border-spacing:0; font-size:12px; margin:0; padding:0; width:100%;">
768
  <tr style="height:40px; width:100%;">
769
+ <td class="top_table" align="center" colspan="7" style="position: relative;padding:0; margin:0; background-color:<?php echo $bg_top; ?>;height:20px; background-repeat: no-repeat;background-size: 100% 100%;">
770
  <table cellpadding="0" cellspacing="0" border="0" align="center" class="calyear_table" style="margin:0; padding:0; text-align:center; width:100%; height:<?php echo $top_height; ?>px;">
771
  <tr>
772
  <td style="width:100%;vertical-align:center">
786
  'cat_id' => '',
787
  'cat_ids' => $cat_ids,
788
  'widget' => $widget,
789
+ ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" style="text-align:center; cursor:pointer; width:100%; background-color: <?php echo hex_to_rgb($views_tabs_bg_color, 0.4) ?>;">
790
  <span style="font-size:18px; color:#FFF"><?php echo $year - 1; ?></span>
791
  </div>
792
  </td>
793
+ <td class="cala_arrow" width="11%" style="text-align:right;margin:0px;padding: 0px 30px 0px 0px !important;">
794
  <a style="text-shadow: 1px 1px 2px black;color:<?php echo $color_arrow_month; ?>;" href="javascript:showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>','<?php
795
  echo add_query_arg(array(
796
  'action' => 'spiderbigcalendar_' . $defaultview,
804
  'cat_id' => '',
805
  'cat_ids' => $cat_ids,
806
  'widget' => $widget,
807
+ ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')">&#10096;
808
  </a>
809
  </td>
810
  <td style="text-align:center; margin:0;" width="40%">
811
  <input type="hidden" name="month" readonly="" value="<?php echo $month; ?>"/>
812
  <span style="line-height: 30px;font-family:arial; color:<?php echo $text_color_month; ?>; font-size:<?php echo $month_font_size; ?>px;text-shadow: 1px 1px black;"><?php echo $weekdays; ?></span>
813
  </td>
814
+ <td style="margin:0; padding: 0px 0px 0px 30px !important; text-align:left" width="11%" class="cala_arrow">
815
  <a style="text-shadow: 1px 1px 2px black;color:<?php echo $color_arrow_month; ?>" href="javascript:showbigcalendar('bigcalendar<?php echo $many_sp_calendar; ?>','<?php
816
  echo add_query_arg(array(
817
  'action' => 'spiderbigcalendar_' . $defaultview,
825
  'cat_id' => '',
826
  'cat_ids' => $cat_ids,
827
  'widget' => $widget,
828
+ ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')">&#10097;
829
  </a>
830
  </td>
831
  <td width="15%">
842
  'cat_id' => '',
843
  'cat_ids' => $cat_ids,
844
  'widget' => $widget,
845
+ ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')" style="text-align:center; cursor:pointer; width:100%; background-color: <?php echo hex_to_rgb($views_tabs_bg_color, 0.4) ?>;">
846
  <span style="font-size:18px; color:#FFF"><?php echo $year + 1; ?></span>
847
  </div>
848
  </td>
1037
  padding: 2px 10px !important;
1038
  margin: 2px 0 !important;
1039
  font-size: 14px;
1040
+ font-weight: 600;
1041
  }
1042
  </style>
1043
  <?php
1065
  if($cat_ids=='')
1066
  $cat_ids='';
1067
  if($show_cat){
1068
+ echo '<ul id="cats" style="list-style-type:none; padding: 0;">';
1069
 
1070
  foreach($categories as $category)
1071
  {
1106
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')"><?php echo __('All categories', 'sp_calendar'); ?></p></li>
1107
  <?php echo '</ul>';
1108
  }
1109
+ } ?>
1110
+ </body>
1111
+ </html>
1112
+ <?php
1113
  die();
1114
  }
1115
 
front_end/bigcalendarweek_widget.php CHANGED
@@ -114,7 +114,7 @@ $cat_ids = substr($cat_ids, 0,-1);
114
  $font_day = $theme->font_day;
115
  $font_weekday = $theme->font_weekday;
116
  $ev_title_color = '#' . str_replace('#','',$theme->ev_title_color);
117
- $show_cat = 1;
118
  $popup_width = $theme->popup_width;
119
  $popup_height = $theme->popup_height;
120
  $show_event_bgcolor = '#' . str_replace('#','',$theme->show_event_bgcolor);
@@ -193,6 +193,8 @@ $cat_ids = substr($cat_ids, 0,-1);
193
  $display = "display:none";
194
  }
195
  ?>
 
 
196
  <style type='text/css'>
197
  #calendar_<?php echo $many_sp_calendar; ?> table {
198
  border-collapse: initial;
@@ -242,7 +244,7 @@ $cat_ids = substr($cat_ids, 0,-1);
242
  #calendar_<?php echo $many_sp_calendar; ?> .cala_arrow a:link,
243
  #calendar_<?php echo $many_sp_calendar; ?> .cala_arrow a:visited {
244
  color: <?php echo $color_arrow; ?>;
245
- text-decoration: none;
246
  background: none;
247
  font-size: 16px;
248
  }
@@ -347,6 +349,8 @@ position: relative;
347
  display:none;
348
  }
349
  </style>
 
 
350
  <div id="calendar_<?php echo $many_sp_calendar; ?>" style="width:<?php echo $calendar_width; ?>px;">
351
  <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">
352
  <tr style="background-color:#FFFFFF;">
@@ -756,7 +760,10 @@ if (!empty($categories)) {
756
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')"><?php echo __('All categories', 'sp_calendar'); ?></p></li>
757
  <?php echo '</ul>';
758
  }
759
- }
 
 
 
760
  die();
761
  }
762
 
114
  $font_day = $theme->font_day;
115
  $font_weekday = $theme->font_weekday;
116
  $ev_title_color = '#' . str_replace('#','',$theme->ev_title_color);
117
+ $show_cat = $theme->show_cat;
118
  $popup_width = $theme->popup_width;
119
  $popup_height = $theme->popup_height;
120
  $show_event_bgcolor = '#' . str_replace('#','',$theme->show_event_bgcolor);
193
  $display = "display:none";
194
  }
195
  ?>
196
+ <html>
197
+ <head>
198
  <style type='text/css'>
199
  #calendar_<?php echo $many_sp_calendar; ?> table {
200
  border-collapse: initial;
244
  #calendar_<?php echo $many_sp_calendar; ?> .cala_arrow a:link,
245
  #calendar_<?php echo $many_sp_calendar; ?> .cala_arrow a:visited {
246
  color: <?php echo $color_arrow; ?>;
247
+ text-decoration: none !important;
248
  background: none;
249
  font-size: 16px;
250
  }
349
  display:none;
350
  }
351
  </style>
352
+ </head>
353
+ <body>
354
  <div id="calendar_<?php echo $many_sp_calendar; ?>" style="width:<?php echo $calendar_width; ?>px;">
355
  <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">
356
  <tr style="background-color:#FFFFFF;">
760
  ), $site_url);?>','<?php echo $many_sp_calendar; ?>','<?php echo $widget; ?>')"><?php echo __('All categories', 'sp_calendar'); ?></p></li>
761
  <?php echo '</ul>';
762
  }
763
+ } ?>
764
+ </body>
765
+ </html>
766
+ <?php
767
  die();
768
  }
769
 
front_end/frontend_functions.php CHANGED
@@ -102,9 +102,8 @@ $cat_ids = substr($cat_ids, 0,-1);
102
  else{
103
  $order_by = " ORDER BY STR_TO_DATE( SUBSTRING( time, 1, 7 ) , '%h:%i%p' )";
104
  }
105
-
106
- if($cat_ids!='' and preg_match("/^[0-9\,]+$/", $cat_ids)) {
107
-
108
  $query = $wpdb->prepare ("SELECT " . $wpdb->prefix . "spidercalendar_event.*," . $wpdb->prefix . "spidercalendar_event_category.color from " . $wpdb->prefix . "spidercalendar_event JOIN " . $wpdb->prefix . "spidercalendar_event_category ON " . $wpdb->prefix . "spidercalendar_event.category = " . $wpdb->prefix . "spidercalendar_event_category.id where " . $wpdb->prefix . "spidercalendar_event_category.published=1 and " . $wpdb->prefix . "spidercalendar_event.category IN (".$cat_ids.") and " . $wpdb->prefix . "spidercalendar_event.published=1 and ( ( (date<=%s or date like %s) and (date_end>=%s ) or date_end='0000-00-00' ) or ( date_end is Null and date like %s ) ) and calendar=%d", substr( $date,0,7).'-01',substr( $date,0,7)."%",substr( $date,0,7).'-01',substr( $date,0,7)."%",$calendar);
109
  }
110
  else{
@@ -138,6 +137,7 @@ $cat_ids = substr($cat_ids, 0,-1);
138
  $date_days = array();
139
  $weekdays_start = array();
140
  $weekdays = array();
 
141
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
142
  //////////////////////// NO Repeat /////////////////////////////////////////////////////////////////////////////////////////////
143
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -145,8 +145,7 @@ $cat_ids = substr($cat_ids, 0,-1);
145
  $date_days[] = $date_day;
146
  }
147
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
148
- //////////////////////// Repeat Daily /////////////////////////////////////////////////////////////////////////////////////////////
149
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
150
  if ($rows[$i - 1]->repeat_method == 'daily') {
151
  $t = php_daysDifference($rows[$i - 1]->date, $rows[$i - 1]->date_end);
152
  for ($k = 1; $k <= $t / $repeat; $k++) {
@@ -295,6 +294,10 @@ $cat_ids = substr($cat_ids, 0,-1);
295
  }
296
  $used = array();
297
  foreach ($date_days as $date_day) {
 
 
 
 
298
  if ($date_month == $month) {
299
  if (in_array($date_day, $used)) {
300
  continue;
@@ -309,6 +312,8 @@ $cat_ids = substr($cat_ids, 0,-1);
309
  $array_days1[$key] = $date_day;
310
  $c = $title_num[$date_day];
311
  $list = '<p>' . (($show_numbers_for_events) ? '' . (($show_numbers_for_events) ? '<b>' . $c . '.</b>&nbsp;&nbsp;' : '') : '');
 
 
312
  if ($rows[$i - 1]->time and $show_time != 0) {
313
  $list .= '&nbsp;' . $rows[$i - 1]->title . '<br>(' . $rows[$i - 1]->time . ')</p>';
314
  }
@@ -319,12 +324,14 @@ $cat_ids = substr($cat_ids, 0,-1);
319
  $ev_ids[$date_day] = $ev_ids[$date_day] . $rows[$i - 1]->id . '<br>';
320
  }
321
  else {
 
322
  $array_days[] = $date_day;
323
  $key = array_search($date_day, $array_days);
324
  if ($rows[$i - 1]->text_for_date != "")
325
  $array_days1[$key] = $date_day;
326
  $title_num[$date_day] = 1;
327
  $c = 1;
 
328
  $list = '<p>' . (($show_numbers_for_events) ? '<b>' . $c . '.</b>&nbsp;&nbsp;' : '');
329
  if ($rows[$i - 1]->time and $show_time != 0) {
330
  $list .= '&nbsp;' . $rows[$i - 1]->title . '<br>(' . $rows[$i - 1]->time . ')</p>';
@@ -634,6 +641,8 @@ $cat_ids = substr($cat_ids, 0,-1);
634
  $date_days = array();
635
  $weekdays_start = array();
636
  $weekdays = array();
 
 
637
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
638
  //////////////////////// NO Repeat /////////////////////////////////////////////////////////////////////////////////////////////
639
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -1125,4 +1134,11 @@ function php_Month_num_seemore($month_name) {
1125
  }
1126
  }
1127
 
 
 
 
 
 
 
 
1128
  ?>
102
  else{
103
  $order_by = " ORDER BY STR_TO_DATE( SUBSTRING( time, 1, 7 ) , '%h:%i%p' )";
104
  }
105
+
106
+ if($cat_ids!='' and preg_match("/^[0-9\,]+$/", $cat_ids)) {
 
107
  $query = $wpdb->prepare ("SELECT " . $wpdb->prefix . "spidercalendar_event.*," . $wpdb->prefix . "spidercalendar_event_category.color from " . $wpdb->prefix . "spidercalendar_event JOIN " . $wpdb->prefix . "spidercalendar_event_category ON " . $wpdb->prefix . "spidercalendar_event.category = " . $wpdb->prefix . "spidercalendar_event_category.id where " . $wpdb->prefix . "spidercalendar_event_category.published=1 and " . $wpdb->prefix . "spidercalendar_event.category IN (".$cat_ids.") and " . $wpdb->prefix . "spidercalendar_event.published=1 and ( ( (date<=%s or date like %s) and (date_end>=%s ) or date_end='0000-00-00' ) or ( date_end is Null and date like %s ) ) and calendar=%d", substr( $date,0,7).'-01',substr( $date,0,7)."%",substr( $date,0,7).'-01',substr( $date,0,7)."%",$calendar);
108
  }
109
  else{
137
  $date_days = array();
138
  $weekdays_start = array();
139
  $weekdays = array();
140
+
141
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
142
  //////////////////////// NO Repeat /////////////////////////////////////////////////////////////////////////////////////////////
143
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
145
  $date_days[] = $date_day;
146
  }
147
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
148
+ //////////////////////// Repeat Daily ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
 
149
  if ($rows[$i - 1]->repeat_method == 'daily') {
150
  $t = php_daysDifference($rows[$i - 1]->date, $rows[$i - 1]->date_end);
151
  for ($k = 1; $k <= $t / $repeat; $k++) {
294
  }
295
  $used = array();
296
  foreach ($date_days as $date_day) {
297
+ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
298
+ //////////////////////// Convert am/pm ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
299
+ /* */
300
+
301
  if ($date_month == $month) {
302
  if (in_array($date_day, $used)) {
303
  continue;
312
  $array_days1[$key] = $date_day;
313
  $c = $title_num[$date_day];
314
  $list = '<p>' . (($show_numbers_for_events) ? '' . (($show_numbers_for_events) ? '<b>' . $c . '.</b>&nbsp;&nbsp;' : '') : '');
315
+
316
+
317
  if ($rows[$i - 1]->time and $show_time != 0) {
318
  $list .= '&nbsp;' . $rows[$i - 1]->title . '<br>(' . $rows[$i - 1]->time . ')</p>';
319
  }
324
  $ev_ids[$date_day] = $ev_ids[$date_day] . $rows[$i - 1]->id . '<br>';
325
  }
326
  else {
327
+
328
  $array_days[] = $date_day;
329
  $key = array_search($date_day, $array_days);
330
  if ($rows[$i - 1]->text_for_date != "")
331
  $array_days1[$key] = $date_day;
332
  $title_num[$date_day] = 1;
333
  $c = 1;
334
+
335
  $list = '<p>' . (($show_numbers_for_events) ? '<b>' . $c . '.</b>&nbsp;&nbsp;' : '');
336
  if ($rows[$i - 1]->time and $show_time != 0) {
337
  $list .= '&nbsp;' . $rows[$i - 1]->title . '<br>(' . $rows[$i - 1]->time . ')</p>';
641
  $date_days = array();
642
  $weekdays_start = array();
643
  $weekdays = array();
644
+
645
+
646
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
647
  //////////////////////// NO Repeat /////////////////////////////////////////////////////////////////////////////////////////////
648
  //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1134
  }
1135
  }
1136
 
1137
+ function hex_to_rgb($color, $opacity)
1138
+ {
1139
+ $color=str_replace('#','',$color);
1140
+ $bg_color='rgba('.HEXDEC(SUBSTR($color, 0, 2)).','.HEXDEC(SUBSTR($color, 2, 2)).','.HEXDEC(SUBSTR($color, 4, 2)).','.$opacity.')';
1141
+ return $bg_color;
1142
+ }
1143
+
1144
  ?>
functions_for_xml_and_ajax.php CHANGED
@@ -190,6 +190,9 @@ function seemore() {
190
  $theme = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'spidercalendar_theme WHERE id=%d', $theme_id));
191
  $show_event = $theme->day_start;
192
  }
 
 
 
193
  $title_color = '#' . str_replace('#','',$theme->title_color);
194
  $title_size = $theme->title_font_size;
195
  $show_event_bgcolor = '#' . str_replace('#','',$theme->show_event_bgcolor);
@@ -229,75 +232,78 @@ function seemore() {
229
  $day = substr($date, 8);
230
  $ev_id = explode(',', $ev_ids);
231
  ?>
232
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
233
- <script>
234
- function next(day_events, ev_id, theme_id, calendar_id, date, day) {
235
- var p = 0;
236
- for (var key in day_events) {
237
- p = p + 1;
238
- if (day_events[key] == ev_id && day_events[parseInt(key) + 1]) {
239
- window.location = '<?php echo admin_url('admin-ajax.php?action=spidercalendarbig'); ?>&theme_id=' + theme_id + '&calendar_id=' + calendar_id + '&eventID=' + day_events[parseInt(key) + 1] + '&date=' + date + '&day=' + day + '&widget=<?php echo $widget; ?>';
240
- }
241
- }
242
- }
243
- function change() {
244
- $('#dayevent').ready(function () {
245
- $('#dayevent').animate({
246
- opacity:1,
247
- marginLeft:"0in"
248
- }, 1000, function () {
249
- });
250
- });
251
- }
252
- jQuery(document).ready(function() {
253
- change();
254
- });
255
- // window.onload = change();
256
- function prev(array1, ev_id, theme_id, calendar_id, date, day) {
257
- var day_events = array1;
258
- for (var key in day_events) {
259
- if (day_events[key] == ev_id && day_events[parseInt(key) - 1]) {
260
- window.location = '<?php echo admin_url('admin-ajax.php?action=spidercalendarbig'); ?>&theme_id=' + theme_id + '&calendar_id=' + calendar_id + '&eventID=' + day_events[parseInt(key) - 1] + '&date=' + date + '&day=' + day + '&widget=<?php echo $widget; ?>';
261
- }
262
- }
263
- }
264
- document.onkeydown = function (evt) {
265
- evt = evt || window.event;
266
- if (evt.keyCode == 27) {
267
- window.parent.document.getElementById('sbox-window').close();
268
- }
269
- };
270
- </script>
271
- <style>
272
- body{
273
- margin:0px;
274
- padding:0px;
275
- }
276
- .date_rate{
277
- background-image: url(<?php echo plugins_url( 'images/calendar1.png' , __FILE__ ); ?>);
278
- background-repeat: no-repeat;
279
- padding: 5px 0 5px 65px;
280
- line-height: 30px;
281
- background-position: 35px center;
282
- vertical-align:middle;
283
- font-family: <?php echo $date_font; ?>;
284
- float: left;
285
- }
286
- .events *{
287
- font-family: <?php echo $date_font; ?>;
288
- }
289
- .events a{
290
- float: left;
291
- width: 90%;
292
- }
293
- .events {
294
- border: 1px solid #eaeaea;
295
- overflow: hidden;
296
- margin: -1px 0 0px 0px;
297
- position: relative;
298
- }
299
- </style>
300
-
 
 
 
301
  <div style="background-color:<?php echo $show_event_bgcolor; ?>; height:100%; padding:15px;">
302
  <?php
303
  if(!isset($date_font_style)) $date_font_style = "";
@@ -385,7 +391,7 @@ WHERE " . $wpdb->prefix . "spidercalendar_event.published=1 AND " . $wpdb->pref
385
  $start_day = date($format_date, strtotime($row->date));
386
  if($show_repeat){
387
  if ($row->repeat_method == 'daily') {
388
- echo '<div class="date_rate">Date: '.$start_day.''.$date_end.' ('. __('Repeat Every', 'sp_calendar').' ' .$repeat.' '.__('Day', 'sp_calendar').'), '.$row->time .'</div>';
389
  }
390
 
391
 
@@ -417,37 +423,37 @@ WHERE " . $wpdb->prefix . "spidercalendar_event.published=1 AND " . $wpdb->pref
417
 
418
  }
419
 
420
- echo '), '.$row->time .'</div>';
421
 
422
  }
423
 
424
  if($row->repeat_method=='monthly' and $row->month_type==1)
425
 
426
- echo '<div class="date_rate">Date: '.$start_day.''.$date_end.' ('. __('Repeat Every', 'sp_calendar').' ' .$repeat.' '.__('Month(s) on the', 'sp_calendar').' '.$row->month.'), ' .$row->time .'</div>';
427
 
428
 
429
 
430
  if($row->repeat_method=='monthly' and $row->month_type==2)
431
 
432
- echo '<div class="date_rate">Date: '.$start_day.''.$date_end.' ('. __('Repeat Every', 'sp_calendar').' '.$repeat.' '.__('Month(s) on the', 'sp_calendar').' '.week_number($row->monthly_list).' '.week_convert($row->month_week).'), ' .$row->time . '</div>';
433
 
434
 
435
 
436
  if($row->repeat_method=='yearly' and $row->month_type==1)
437
 
438
- echo '<div class="date_rate">Date: '.$start_day.''.$date_end.' ('. __('Repeat Every', 'sp_calendar').' ' .$repeat.' '.__('Year(s) in', 'sp_calendar').' '.date('F',mktime(0,0,0,$row->year_month + 1,0,0)).' '.__('on the', 'sp_calendar').' '.$row->month.'), ' .$row->time .'</div>';
439
 
440
 
441
 
442
  if($row->repeat_method=='yearly' and $row->month_type==2)
443
 
444
- echo '<div class="date_rate">Date: '.$start_day.''.$date_end.' ('. __('Repeat Every', 'sp_calendar').' ' .$repeat.' '.__('Year(s) in', 'sp_calendar').' '.date('F',mktime(0,0,0,$row->year_month + 1,0,0)).' '.__('on the', 'sp_calendar').' '.week_number($row->monthly_list).' '.week_convert($row->month_week).'), ' .$row->time .'</div>';
445
 
446
 
447
 
448
  if($row->repeat_method=='no_repeat')
449
 
450
- echo '<div class="date_rate">Date: '.$start_day.' ' .$row->time .'</div>';
451
  }
452
  echo '</div>';
453
  }
@@ -455,7 +461,8 @@ WHERE " . $wpdb->prefix . "spidercalendar_event.published=1 AND " . $wpdb->pref
455
 
456
  ?>
457
  </div>
458
-
 
459
  <?php
460
  die();
461
  }
@@ -476,10 +483,12 @@ function spiderbigcalendar() {
476
  $theme = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'spidercalendar_theme WHERE id=%d', $theme_id));
477
  }
478
 
 
 
479
  $title_color = '#' . str_replace('#','',$theme->title_color);
480
- $title_size = $theme->title_font_size;
481
- $title_font = $theme->title_font;
482
- $title_style = $theme->title_style;
483
  $date_color = '#' . str_replace('#','',$theme->date_color);
484
  $date_size = $theme->date_size;
485
  $date_font = $theme->date_font;
@@ -521,74 +530,76 @@ function spiderbigcalendar() {
521
 
522
 
523
  ?>
524
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
525
- <script>
526
- function next(day_events, ev_id, theme_id, calendar_id, date, day, ev_ids) {
527
- var p = 0;
528
- for (var key in day_events) {
529
- p = p + 1;
530
- if (day_events[key] == ev_id && day_events[parseInt(key) + 1]) {
531
- window.location = '<?php echo admin_url('admin-ajax.php?action=spidercalendarbig')?>&theme_id=' + theme_id + '&calendar_id=' + calendar_id + '&ev_ids=' + ev_ids + '&eventID=' + day_events[parseInt(key) + 1] + '&date=' + date + '&day=' + day + '&widget=<?php echo $widget; ?>';
532
- }
533
- }
534
- }
535
- function change() {
536
- jQuery('#dayevent').ready(function () {
537
- jQuery('#dayevent').animate({
538
- opacity:1,
539
- marginLeft:"0in"
540
- }, 1000, function () {
541
- });
542
- });
543
- }
544
- jQuery(document).ready(function() {
545
- change();
546
- });
547
- // window.onload = change();
548
- function prev(array1, ev_id, theme_id, calendar_id, date, day, ev_ids) {
549
- var day_events = array1;
550
- for (var key in day_events) {
551
- if (day_events[key] == ev_id && day_events[parseInt(key) - 1]) {
552
- window.location = '<?php echo admin_url('admin-ajax.php?action=spidercalendarbig')?>&theme_id=' + theme_id + '&calendar_id=' + calendar_id + '&ev_ids=' + ev_ids + '&eventID=' + day_events[parseInt(key) - 1] + '&date=' + date + '&day=' + day + '&widget=<?php echo $widget; ?>';
553
- }
554
- }
555
- }
556
- document.onkeydown = function (evt) {
557
- evt = evt || window.event;
558
- if (evt.keyCode == 27) {
559
- window.parent.document.getElementById('sbox-window').close();
560
- }
561
- };
562
- </script>
563
- <?php
564
- $color = $wpdb->get_results("SELECT " . $wpdb->prefix . "spidercalendar_event.* , " . $wpdb->prefix . "spidercalendar_event_category.color
565
- FROM " . $wpdb->prefix . "spidercalendar_event
566
- JOIN " . $wpdb->prefix . "spidercalendar_event_category ON " . $wpdb->prefix . "spidercalendar_event.category = " . $wpdb->prefix . "spidercalendar_event_category.id
567
- WHERE " . $wpdb->prefix . "spidercalendar_event_category.published=1 AND " . $wpdb->prefix . "spidercalendar_event.id='".$row->id."'");
568
-
569
- ?>
570
- <style>
571
- #dayevent {
572
- opacity: 0;
573
- }
574
- #previous,
575
- #next {
576
- cursor: pointer;
577
- height: <?php echo $popup_height - 51; ?>px;
578
- width: 5%;
579
- }
580
- .arrow {
581
- color: <?php echo $next_prev_event_arrowcolor; ?>;
582
- font-size: 50px;
583
- text-decoration: none;
584
- }
585
- body{
586
- margin:0px;
587
- padding:0px;
588
- }
589
- </style>
590
-
591
-
 
 
592
  <table style="height:100%;width:100%;background-color:<?php echo $show_event_bgcolor; ?>; border-spacing:0" align="center" id="pop_table">
593
  <tr>
594
  <td id="previous"
@@ -629,7 +640,7 @@ WHERE " . $wpdb->prefix . "spidercalendar_event_category.published=1 AND " . $wp
629
  $font_style = "";
630
  }
631
  $weekdays = explode(',', $row->week);
632
- $date_format1 = 'd/m/y';
633
  if ($row->repeat == '1') {
634
  $repeat = '';
635
  }
@@ -641,10 +652,10 @@ WHERE " . $wpdb->prefix . "spidercalendar_event_category.published=1 AND " . $wp
641
  }
642
 
643
  if ($row->date_end and $row->date_end != '0000-00-00') {
644
- echo '<div style="color:' . $date_color . ';font-size:' . $date_size . 'px; font-family:' . $date_font . '; ' . $date_font_weight . '; ' . $date_font_style . ' ">' . __('Date', 'sp_calendar') . ':' . str_replace("d", substr($row->date, 8, 2), str_replace("m", substr($row->date, 5, 2), str_replace("y", substr($row->date, 0, 4), $date_format1))) . '&nbsp;-&nbsp;' . str_replace("d", substr($row->date_end, 8, 2), str_replace("m", substr($row->date_end, 5, 2), str_replace("y", substr($row->date_end, 0, 4), $date_format1))) . '&nbsp;' . $row->time . '</div>';
645
  }
646
  else {
647
- echo '<div style="color:' . $date_color . ';font-size:' . $date_size . 'px; font-family:' . $date_font . '; ' . $font_weight . '; ' . $font_style . ' ">' . $row->time . '</div>';
648
  }
649
  if ($show_repeat == 1) {
650
  if ($row->repeat_method == 'daily') {
@@ -685,9 +696,13 @@ WHERE " . $wpdb->prefix . "spidercalendar_event_category.published=1 AND " . $wp
685
  else
686
  $row_color = "";
687
 
688
- echo '<div style="border-left: 7px solid #'.str_replace('#','',$row_color).';color:' . $title_color . ';font-size:' . $title_size . 'px; font-family:' . $title_font . '; ' . $font_weight . '; ' . $font_style . ' ">' . $row_title . '</div>';
689
  if ($row->text_for_date != '') {
690
- echo '<div style="line-height:20px">' . wpautop($row->text_for_date) . '</div>';
 
 
 
 
691
  }
692
  else {
693
 
@@ -753,7 +768,11 @@ WHERE " . $wpdb->prefix . "spidercalendar_event_category.published=1 AND " . $wp
753
  allowTransparency="true"></iframe>
754
  <?php
755
  }
 
 
 
 
756
  die();
757
- }
758
 
759
  ?>
190
  $theme = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'spidercalendar_theme WHERE id=%d', $theme_id));
191
  $show_event = $theme->day_start;
192
  }
193
+
194
+ $row_cal = $wpdb->get_row($wpdb->prepare ("SELECT * FROM " . $wpdb->prefix . "spidercalendar_calendar where published=1 and id=%d",$calendar));
195
+
196
  $title_color = '#' . str_replace('#','',$theme->title_color);
197
  $title_size = $theme->title_font_size;
198
  $show_event_bgcolor = '#' . str_replace('#','',$theme->show_event_bgcolor);
232
  $day = substr($date, 8);
233
  $ev_id = explode(',', $ev_ids);
234
  ?>
235
+ <html>
236
+ <head>
237
+ <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
238
+ <script>
239
+ function next(day_events, ev_id, theme_id, calendar_id, date, day) {
240
+ var p = 0;
241
+ for (var key in day_events) {
242
+ p = p + 1;
243
+ if (day_events[key] == ev_id && day_events[parseInt(key) + 1]) {
244
+ window.location = '<?php echo admin_url('admin-ajax.php?action=spidercalendarbig'); ?>&theme_id=' + theme_id + '&calendar_id=' + calendar_id + '&eventID=' + day_events[parseInt(key) + 1] + '&date=' + date + '&day=' + day + '&widget=<?php echo $widget; ?>';
245
+ }
246
+ }
247
+ }
248
+ function change() {
249
+ $('#dayevent').ready(function () {
250
+ $('#dayevent').animate({
251
+ opacity:1,
252
+ marginLeft:"0in"
253
+ }, 1000, function () {
254
+ });
255
+ });
256
+ }
257
+ jQuery(document).ready(function() {
258
+ change();
259
+ });
260
+ // window.onload = change();
261
+ function prev(array1, ev_id, theme_id, calendar_id, date, day) {
262
+ var day_events = array1;
263
+ for (var key in day_events) {
264
+ if (day_events[key] == ev_id && day_events[parseInt(key) - 1]) {
265
+ window.location = '<?php echo admin_url('admin-ajax.php?action=spidercalendarbig'); ?>&theme_id=' + theme_id + '&calendar_id=' + calendar_id + '&eventID=' + day_events[parseInt(key) - 1] + '&date=' + date + '&day=' + day + '&widget=<?php echo $widget; ?>';
266
+ }
267
+ }
268
+ }
269
+ document.onkeydown = function (evt) {
270
+ evt = evt || window.event;
271
+ if (evt.keyCode == 27) {
272
+ window.parent.document.getElementById('sbox-window').close();
273
+ }
274
+ };
275
+ </script>
276
+ <style>
277
+ body{
278
+ margin:0px;
279
+ padding:0px;
280
+ }
281
+ .date_rate{
282
+ background-image: url(<?php echo plugins_url( 'images/calendar1.png' , __FILE__ ); ?>);
283
+ background-repeat: no-repeat;
284
+ padding: 5px 0 5px 65px;
285
+ line-height: 30px;
286
+ background-position: 35px center;
287
+ vertical-align:middle;
288
+ font-family: <?php echo $date_font; ?>;
289
+ float: left;
290
+ }
291
+ .events *{
292
+ font-family: <?php echo $date_font; ?>;
293
+ }
294
+ .events a{
295
+ float: left;
296
+ width: 90%;
297
+ }
298
+ .events {
299
+ border: 1px solid #eaeaea;
300
+ overflow: hidden;
301
+ margin: -1px 0 0px 0px;
302
+ position: relative;
303
+ }
304
+ </style>
305
+ </head>
306
+ <body class="pop_body">
307
  <div style="background-color:<?php echo $show_event_bgcolor; ?>; height:100%; padding:15px;">
308
  <?php
309
  if(!isset($date_font_style)) $date_font_style = "";
391
  $start_day = date($format_date, strtotime($row->date));
392
  if($show_repeat){
393
  if ($row->repeat_method == 'daily') {
394
+ echo '<div class="date_rate">Date: '.$start_day.''.$date_end.' ('. __('Repeat Every', 'sp_calendar').' ' .$repeat.' '.__('Day', 'sp_calendar').'), '.convert_time($row_cal->time_format, $row->time) .'</div>';
395
  }
396
 
397
 
423
 
424
  }
425
 
426
+ echo '), '.convert_time($row_cal->time_format, $row->time) .'</div>';
427
 
428
  }
429
 
430
  if($row->repeat_method=='monthly' and $row->month_type==1)
431
 
432
+ echo '<div class="date_rate">Date: '.$start_day.''.$date_end.' ('. __('Repeat Every', 'sp_calendar').' ' .$repeat.' '.__('Month(s) on the', 'sp_calendar').' '.$row->month.'), ' .convert_time($row_cal->time_format, $row->time) .'</div>';
433
 
434
 
435
 
436
  if($row->repeat_method=='monthly' and $row->month_type==2)
437
 
438
+ echo '<div class="date_rate">Date: '.$start_day.''.$date_end.' ('. __('Repeat Every', 'sp_calendar').' '.$repeat.' '.__('Month(s) on the', 'sp_calendar').' '.week_number($row->monthly_list).' '.week_convert($row->month_week).'), ' .convert_time($row_cal->time_format, $row->time) . '</div>';
439
 
440
 
441
 
442
  if($row->repeat_method=='yearly' and $row->month_type==1)
443
 
444
+ echo '<div class="date_rate">Date: '.$start_day.''.$date_end.' ('. __('Repeat Every', 'sp_calendar').' ' .$repeat.' '.__('Year(s) in', 'sp_calendar').' '.date('F',mktime(0,0,0,$row->year_month + 1,0,0)).' '.__('on the', 'sp_calendar').' '.$row->month.'), ' .convert_time($row_cal->time_format, $row->time) .'</div>';
445
 
446
 
447
 
448
  if($row->repeat_method=='yearly' and $row->month_type==2)
449
 
450
+ echo '<div class="date_rate">Date: '.$start_day.''.$date_end.' ('. __('Repeat Every', 'sp_calendar').' ' .$repeat.' '.__('Year(s) in', 'sp_calendar').' '.date('F',mktime(0,0,0,$row->year_month + 1,0,0)).' '.__('on the', 'sp_calendar').' '.week_number($row->monthly_list).' '.week_convert($row->month_week).'), ' .convert_time($row_cal->time_format, $row->time) .'</div>';
451
 
452
 
453
 
454
  if($row->repeat_method=='no_repeat')
455
 
456
+ echo '<div class="date_rate">Date: '.$start_day.' ' .convert_time($row_cal->time_format, $row->time) .'</div>';
457
  }
458
  echo '</div>';
459
  }
461
 
462
  ?>
463
  </div>
464
+ </body>
465
+ </html>
466
  <?php
467
  die();
468
  }
483
  $theme = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'spidercalendar_theme WHERE id=%d', $theme_id));
484
  }
485
 
486
+ $row_cal = $wpdb->get_row($wpdb->prepare ("SELECT * FROM " . $wpdb->prefix . "spidercalendar_calendar where published=1 and id=%d",$calendar_id));
487
+
488
  $title_color = '#' . str_replace('#','',$theme->title_color);
489
+ $title_size = ((isset($theme->title_font_size) && $theme->title_font_size!="") ? $theme->title_font_size : '21');
490
+ $title_font = ((isset($theme->title_font) && $theme->title_font!="") ? $theme->title_font : '');
491
+ $title_style = ((isset($theme->title_style) && $theme->title_style!="") ? $theme->title_style : 'bold');
492
  $date_color = '#' . str_replace('#','',$theme->date_color);
493
  $date_size = $theme->date_size;
494
  $date_font = $theme->date_font;
530
 
531
 
532
  ?>
533
+ <html>
534
+ <head>
535
+ <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
536
+ <script>
537
+ function next(day_events, ev_id, theme_id, calendar_id, date, day, ev_ids) {
538
+ var p = 0;
539
+ for (var key in day_events) {
540
+ p = p + 1;
541
+ if (day_events[key] == ev_id && day_events[parseInt(key) + 1]) {
542
+ window.location = '<?php echo admin_url('admin-ajax.php?action=spidercalendarbig')?>&theme_id=' + theme_id + '&calendar_id=' + calendar_id + '&ev_ids=' + ev_ids + '&eventID=' + day_events[parseInt(key) + 1] + '&date=' + date + '&day=' + day + '&widget=<?php echo $widget; ?>';
543
+ }
544
+ }
545
+ }
546
+ function change() {
547
+ jQuery('#dayevent').ready(function () {
548
+ jQuery('#dayevent').animate({
549
+ opacity:1,
550
+ marginLeft:"0in"
551
+ }, 1000, function () {
552
+ });
553
+ });
554
+ }
555
+ jQuery(document).ready(function() {
556
+ change();
557
+ });
558
+ // window.onload = change();
559
+ function prev(array1, ev_id, theme_id, calendar_id, date, day, ev_ids) {
560
+ var day_events = array1;
561
+ for (var key in day_events) {
562
+ if (day_events[key] == ev_id && day_events[parseInt(key) - 1]) {
563
+ window.location = '<?php echo admin_url('admin-ajax.php?action=spidercalendarbig')?>&theme_id=' + theme_id + '&calendar_id=' + calendar_id + '&ev_ids=' + ev_ids + '&eventID=' + day_events[parseInt(key) - 1] + '&date=' + date + '&day=' + day + '&widget=<?php echo $widget; ?>';
564
+ }
565
+ }
566
+ }
567
+ document.onkeydown = function (evt) {
568
+ evt = evt || window.event;
569
+ if (evt.keyCode == 27) {
570
+ window.parent.document.getElementById('sbox-window').close();
571
+ }
572
+ };
573
+ </script>
574
+ <?php
575
+ $color = $wpdb->get_results("SELECT " . $wpdb->prefix . "spidercalendar_event.* , " . $wpdb->prefix . "spidercalendar_event_category.color
576
+ FROM " . $wpdb->prefix . "spidercalendar_event
577
+ JOIN " . $wpdb->prefix . "spidercalendar_event_category ON " . $wpdb->prefix . "spidercalendar_event.category = " . $wpdb->prefix . "spidercalendar_event_category.id
578
+ WHERE " . $wpdb->prefix . "spidercalendar_event_category.published=1 AND " . $wpdb->prefix . "spidercalendar_event.id='".$row->id."'");
579
+
580
+ ?>
581
+ <style>
582
+ #dayevent {
583
+ opacity: 0;
584
+ }
585
+ #previous,
586
+ #next {
587
+ cursor: pointer;
588
+ height: <?php echo $popup_height - 51; ?>px;
589
+ width: 5%;
590
+ }
591
+ .arrow {
592
+ color: <?php echo $next_prev_event_arrowcolor; ?>;
593
+ font-size: 50px;
594
+ text-decoration: none;
595
+ }
596
+ body{
597
+ margin:0px;
598
+ padding:0px;
599
+ }
600
+ </style>
601
+ </head>
602
+ <body class="pop_body">
603
  <table style="height:100%;width:100%;background-color:<?php echo $show_event_bgcolor; ?>; border-spacing:0" align="center" id="pop_table">
604
  <tr>
605
  <td id="previous"
640
  $font_style = "";
641
  }
642
  $weekdays = explode(',', $row->week);
643
+ $date_format1 = substr($theme->date_format, 2);
644
  if ($row->repeat == '1') {
645
  $repeat = '';
646
  }
652
  }
653
 
654
  if ($row->date_end and $row->date_end != '0000-00-00') {
655
+ echo '<div style="color:' . $date_color . ';font-size:' . $date_size . 'px; font-family:' . $date_font . '; ' . $date_font_weight . '; ' . $date_font_style . ' ">' . __('Date', 'sp_calendar') . ':' . str_replace("d", substr($row->date, 8, 2), str_replace("m", substr($row->date, 5, 2), str_replace("y", substr($row->date, 0, 4), $date_format1))) . '&nbsp;-&nbsp;' . str_replace("d", substr($row->date_end, 8, 2), str_replace("m", substr($row->date_end, 5, 2), str_replace("y", substr($row->date_end, 0, 4), $date_format1))) . '&nbsp;' . convert_time($row_cal->time_format, $row->time) . '</div>';
656
  }
657
  else {
658
+ echo '<div style="color:' . $date_color . ';font-size:' . $date_size . 'px; font-family:' . $date_font . '; ' . $font_weight . '; ' . $font_style . ' ">' . convert_time($row_cal->time_format, $row->time) . '</div>';
659
  }
660
  if ($show_repeat == 1) {
661
  if ($row->repeat_method == 'daily') {
696
  else
697
  $row_color = "";
698
 
699
+ echo '<div style="color:' . $title_color . ';font-size:' . $title_size . 'px; font-family:' . $title_font . '; ' . $font_weight . '; ' . $font_style . ' ">' . $row_title . '</div>';
700
  if ($row->text_for_date != '') {
701
+
702
+ $pop_content = wpautop($row->text_for_date);
703
+ $pop_content = do_shortcode($pop_content);
704
+
705
+ echo '<div style="line-height:20px">' . $pop_content . '</div>';
706
  }
707
  else {
708
 
768
  allowTransparency="true"></iframe>
769
  <?php
770
  }
771
+ ?>
772
+ </body>
773
+ </html>
774
+ <?php
775
  die();
776
+ }
777
 
778
  ?>
images/catalog.png CHANGED
Binary file
images/contact-form.png ADDED
Binary file
images/contact.builder.png CHANGED
Binary file
images/contacts.png CHANGED
Binary file
images/copy_cal.gif ADDED
Binary file
images/events_wd.png CHANGED
Binary file
images/facebook.png CHANGED
Binary file
images/faq.png CHANGED
Binary file
images/faq_wd.png CHANGED
Binary file
images/featured_plugins_bg.png ADDED
Binary file
images/flash.calendar.png CHANGED
Binary file
images/folder.menu.png CHANGED
Binary file
images/form.png CHANGED
Binary file
images/instagram_feed.png CHANGED
Binary file
images/photo-gallery.png CHANGED
Binary file
images/player.png CHANGED
Binary file
images/post-slider.png ADDED
Binary file
images/random.post.png CHANGED
Binary file
images/slider.png CHANGED
Binary file
images/spider.calendar.png CHANGED
Binary file
images/spider_calendar_themes.png CHANGED
Binary file
images/twittertools.png CHANGED
Binary file
images/zoom.png CHANGED
Binary file
languages/sp_calendar-de_DE.mo CHANGED
Binary file
languages/sp_calendar-de_DE.po CHANGED
@@ -3,7 +3,7 @@ msgstr ""
3
  "Project-Id-Version: spider_calendar\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2013-08-13 18:37+0400\n"
6
- "PO-Revision-Date: 2016-01-25 13:23+0400\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "Language: de\n"
@@ -27,7 +27,7 @@ msgstr "Datum"
27
  #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/functions_for_xml_and_ajax.php:481
28
  #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/functions_for_xml_and_ajax.php:484
29
  msgid "Repeat Every"
30
- msgstr "Wiederholung jeder %@"
31
 
32
  #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/functions_for_xml_and_ajax.php:458
33
  #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday.php:366
@@ -43,7 +43,7 @@ msgstr "Tag"
43
 
44
  #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/functions_for_xml_and_ajax.php:461
45
  msgid "Week(s) on"
46
- msgstr "Woche (n) auf"
47
 
48
  #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/functions_for_xml_and_ajax.php:475
49
  #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/functions_for_xml_and_ajax.php:478
@@ -77,7 +77,7 @@ msgstr "Zurück zur Veranstaltungsliste"
77
  #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek.php:78
78
  #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek_widget.php:44
79
  msgid "January"
80
- msgstr "Jänner"
81
 
82
  #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday.php:79
83
  #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday_widget.php:44
@@ -88,7 +88,7 @@ msgstr "Jänner"
88
  #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek.php:79
89
  #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek_widget.php:45
90
  msgid "February"
91
- msgstr "Februar"
92
 
93
  #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday.php:80
94
  #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday_widget.php:45
3
  "Project-Id-Version: spider_calendar\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2013-08-13 18:37+0400\n"
6
+ "PO-Revision-Date: 2016-02-02 15:33+0400\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "Language: de\n"
27
  #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/functions_for_xml_and_ajax.php:481
28
  #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/functions_for_xml_and_ajax.php:484
29
  msgid "Repeat Every"
30
+ msgstr "Wiederholung jede"
31
 
32
  #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/functions_for_xml_and_ajax.php:458
33
  #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday.php:366
43
 
44
  #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/functions_for_xml_and_ajax.php:461
45
  msgid "Week(s) on"
46
+ msgstr "Woche(n) am"
47
 
48
  #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/functions_for_xml_and_ajax.php:475
49
  #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/functions_for_xml_and_ajax.php:478
77
  #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek.php:78
78
  #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek_widget.php:44
79
  msgid "January"
80
+ msgstr "Januar"
81
 
82
  #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday.php:79
83
  #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday_widget.php:44
88
  #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek.php:79
89
  #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek_widget.php:45
90
  msgid "February"
91
+ msgstr "Feber"
92
 
93
  #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday.php:80
94
  #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday_widget.php:45
languages/sp_calendar-sl_SI.mo ADDED
Binary file
languages/sp_calendar-sl_SI.po ADDED
@@ -0,0 +1,351 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: spider_calendar\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2013-08-13 18:54+0400\n"
6
+ "PO-Revision-Date: 2016-02-03 11:00+0400\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: \n"
9
+ "Language: sl_SI\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Poedit-KeywordsList: _;gettext;gettext_noop;__\n"
14
+ "X-Poedit-Basepath: .\n"
15
+ "X-Generator: Poedit 1.8.6\n"
16
+ "Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n"
17
+ "%100==3 || n%100==4 ? 2 : 3);\n"
18
+ "X-Poedit-SearchPath-0: C:/wamp/www/wordpress3.5/wp-content/plugins/"
19
+ "spider-event-calendar\n"
20
+
21
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/functions_for_xml_and_ajax.php:451
22
+ msgid "Date"
23
+ msgstr "Datum"
24
+
25
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/functions_for_xml_and_ajax.php:458
26
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/functions_for_xml_and_ajax.php:461
27
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/functions_for_xml_and_ajax.php:475
28
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/functions_for_xml_and_ajax.php:478
29
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/functions_for_xml_and_ajax.php:481
30
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/functions_for_xml_and_ajax.php:484
31
+ msgid "Repeat Every"
32
+ msgstr "Ponavljaj vsak"
33
+
34
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/functions_for_xml_and_ajax.php:458
35
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday.php:366
36
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday_widget.php:228
37
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarlist.php:364
38
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarlist_widget.php:205
39
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth.php:263
40
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth_widget.php:201
41
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek.php:387
42
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek_widget.php:235
43
+ msgid "Day"
44
+ msgstr "Dan"
45
+
46
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/functions_for_xml_and_ajax.php:461
47
+ msgid "Week(s) on"
48
+ msgstr "Tedensko"
49
+
50
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/functions_for_xml_and_ajax.php:475
51
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/functions_for_xml_and_ajax.php:478
52
+ msgid "Month(s) on the"
53
+ msgstr "Mesečno"
54
+
55
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/functions_for_xml_and_ajax.php:481
56
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/functions_for_xml_and_ajax.php:484
57
+ msgid "Year(s) in"
58
+ msgstr "Letno"
59
+
60
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/functions_for_xml_and_ajax.php:481
61
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/functions_for_xml_and_ajax.php:484
62
+ msgid "on the"
63
+ msgstr "na"
64
+
65
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/functions_for_xml_and_ajax.php:492
66
+ msgid "There Is No Text For This Event"
67
+ msgstr "Ni besedila za ta dogodek"
68
+
69
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/functions_for_xml_and_ajax.php:509
70
+ msgid "Back to event list"
71
+ msgstr "Nazaj na seznam dogodkov"
72
+
73
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday.php:78
74
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday_widget.php:43
75
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarlist.php:87
76
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarlist_widget.php:43
77
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth.php:80
78
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth_widget.php:43
79
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek.php:78
80
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek_widget.php:44
81
+ msgid "January"
82
+ msgstr "Januar"
83
+
84
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday.php:79
85
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday_widget.php:44
86
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarlist.php:88
87
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarlist_widget.php:44
88
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth.php:81
89
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth_widget.php:44
90
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek.php:79
91
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek_widget.php:45
92
+ msgid "February"
93
+ msgstr "Februar"
94
+
95
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday.php:80
96
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday_widget.php:45
97
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarlist.php:89
98
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarlist_widget.php:45
99
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth.php:82
100
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth_widget.php:45
101
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek.php:80
102
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek_widget.php:46
103
+ msgid "March"
104
+ msgstr "Marec"
105
+
106
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday.php:81
107
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday_widget.php:46
108
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarlist.php:90
109
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarlist_widget.php:46
110
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth.php:83
111
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth_widget.php:46
112
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek.php:81
113
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek_widget.php:47
114
+ msgid "April"
115
+ msgstr "April"
116
+
117
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday.php:82
118
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday_widget.php:47
119
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarlist.php:91
120
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarlist_widget.php:47
121
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth.php:84
122
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth_widget.php:47
123
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek.php:82
124
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek_widget.php:48
125
+ msgid "May"
126
+ msgstr "Maj"
127
+
128
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday.php:83
129
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday_widget.php:48
130
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarlist.php:92
131
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarlist_widget.php:48
132
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth.php:85
133
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth_widget.php:48
134
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek.php:83
135
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek_widget.php:49
136
+ msgid "June"
137
+ msgstr "Junij"
138
+
139
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday.php:84
140
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday_widget.php:49
141
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarlist.php:93
142
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarlist_widget.php:49
143
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth.php:86
144
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth_widget.php:49
145
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek.php:84
146
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek_widget.php:50
147
+ msgid "July"
148
+ msgstr "Julij"
149
+
150
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday.php:85
151
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday_widget.php:50
152
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarlist.php:94
153
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarlist_widget.php:50
154
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth.php:87
155
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth_widget.php:50
156
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek.php:85
157
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek_widget.php:51
158
+ msgid "August"
159
+ msgstr "Avgust"
160
+
161
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday.php:86
162
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday_widget.php:51
163
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarlist.php:95
164
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarlist_widget.php:51
165
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth.php:88
166
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth_widget.php:51
167
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek.php:86
168
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek_widget.php:52
169
+ msgid "September"
170
+ msgstr "September"
171
+
172
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday.php:87
173
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday_widget.php:52
174
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarlist.php:96
175
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarlist_widget.php:52
176
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth.php:89
177
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth_widget.php:52
178
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek.php:87
179
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek_widget.php:53
180
+ msgid "October"
181
+ msgstr "Oktober"
182
+
183
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday.php:88
184
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday_widget.php:53
185
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarlist.php:97
186
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarlist_widget.php:53
187
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth.php:90
188
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth_widget.php:53
189
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek.php:88
190
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek_widget.php:54
191
+ msgid "November"
192
+ msgstr "November"
193
+
194
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday.php:89
195
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday_widget.php:54
196
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarlist.php:98
197
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarlist_widget.php:54
198
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth.php:91
199
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth_widget.php:54
200
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek.php:89
201
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek_widget.php:55
202
+ msgid "December"
203
+ msgstr "December"
204
+
205
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday.php:379
206
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday_widget.php:241
207
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarlist.php:377
208
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarlist_widget.php:218
209
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth.php:276
210
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth_widget.php:214
211
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek.php:400
212
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek.php:475
213
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek_widget.php:248
214
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek_widget.php:310
215
+ msgid "Week"
216
+ msgstr "Teden"
217
+
218
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday.php:391
219
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday_widget.php:253
220
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarlist.php:389
221
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarlist_widget.php:230
222
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth.php:288
223
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth_widget.php:226
224
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek.php:412
225
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek_widget.php:260
226
+ msgid "List"
227
+ msgstr "Seznam"
228
+
229
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday.php:403
230
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday_widget.php:265
231
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarlist.php:401
232
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarlist_widget.php:242
233
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth.php:300
234
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth_widget.php:238
235
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek.php:424
236
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek_widget.php:272
237
+ msgid "Month"
238
+ msgstr "Mesec"
239
+
240
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday.php:556
241
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarday_widget.php:378
242
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek.php:638
243
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarweek_widget.php:458
244
+ msgid "There are no events on this date"
245
+ msgstr "Ni dogodkov na ta datum"
246
+
247
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarlist.php:536
248
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarlist_widget.php:339
249
+ msgid "There are no events for this month"
250
+ msgstr "Ni dogodkov v tem mesecu"
251
+
252
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth.php:398
253
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth.php:421
254
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth_widget.php:305
255
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth_widget.php:328
256
+ msgid "Su"
257
+ msgstr "Ned"
258
+
259
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth.php:402
260
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth_widget.php:309
261
+ msgid "Mo"
262
+ msgstr "Pon"
263
+
264
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth.php:405
265
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth_widget.php:312
266
+ msgid "Tu"
267
+ msgstr "Tor"
268
+
269
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth.php:408
270
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth_widget.php:315
271
+ msgid "We"
272
+ msgstr "Sre"
273
+
274
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth.php:411
275
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth_widget.php:318
276
+ msgid "Th"
277
+ msgstr "Čet"
278
+
279
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth.php:414
280
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth_widget.php:321
281
+ msgid "Fr"
282
+ msgstr "Pet"
283
+
284
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth.php:417
285
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth_widget.php:324
286
+ msgid "Sa"
287
+ msgstr "Sob"
288
+
289
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth.php:508
290
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth.php:558
291
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth.php:612
292
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth.php:667
293
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth.php:718
294
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/bigcalendarmonth.php:771
295
+ msgid "See more"
296
+ msgstr "Poglej več"
297
+
298
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/frontend_functions.php:927
299
+ msgid "First"
300
+ msgstr "Prvi"
301
+
302
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/frontend_functions.php:930
303
+ msgid "Second"
304
+ msgstr "Drugi"
305
+
306
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/frontend_functions.php:933
307
+ msgid "Third"
308
+ msgstr "Tretji"
309
+
310
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/frontend_functions.php:936
311
+ msgid "Fourth"
312
+ msgstr "Četrti"
313
+
314
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/frontend_functions.php:939
315
+ msgid "Last"
316
+ msgstr "Zadnji"
317
+
318
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/frontend_functions.php:945
319
+ msgid "Monday"
320
+ msgstr "Ponedeljek"
321
+
322
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/frontend_functions.php:948
323
+ msgid "Tuesday"
324
+ msgstr "Torek"
325
+
326
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/frontend_functions.php:951
327
+ msgid "Wednesday"
328
+ msgstr "Sreda"
329
+
330
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/frontend_functions.php:954
331
+ msgid "Thursday"
332
+ msgstr "Četrtek"
333
+
334
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/frontend_functions.php:957
335
+ msgid "Friday"
336
+ msgstr "Petek"
337
+
338
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/frontend_functions.php:960
339
+ msgid "Saturday"
340
+ msgstr "Sobota"
341
+
342
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/frontend_functions.php:963
343
+ msgid "Sunday"
344
+ msgstr "Nedelja"
345
+
346
+ #: C:\wamp\www\wordpress3.5\wp-content\plugins\spider-event-calendar/front_end/views.php:760
347
+ msgid "All categories"
348
+ msgstr "Vse kategorije"
349
+
350
+ #~ msgid "No Repeat"
351
+ #~ msgstr "Без паўтору"
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://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, reservation
5
  Requires at least: 3.4
6
  Tested up to: 4.4
7
- Stable tag: 1.5.35
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -142,6 +142,15 @@ Vietnamese (vi)
142
 
143
  == Changelog ==
144
 
 
 
 
 
 
 
 
 
 
145
  = 1.5.35 =
146
  Fixed: Minor bugs
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, reservation
5
  Requires at least: 3.4
6
  Tested up to: 4.4
7
+ Stable tag: 1.5.36
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
142
 
143
  == Changelog ==
144
 
145
+ = 1.5.36 =
146
+ Changed: Default themes redesigned.
147
+ Fixed: SEO issue.
148
+ Fixed: Bug in calendar quick edit.
149
+ Fixed: Bug in Theme preview.
150
+ Added: Shortcodes support in event description.
151
+ Added: Capability to copy event.
152
+ Fixed: Translations.
153
+
154
  = 1.5.35 =
155
  Fixed: Minor bugs
156
 
spider_calendar_admin_class.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  class SC_Admin {
4
  public static $instance = null;
5
- protected $version = '1.5.35';
6
  public $prefix = "sc_";
7
  protected $notices = null;
8
  public static function get_instance() {
2
 
3
  class SC_Admin {
4
  public static $instance = null;
5
+ protected $version = '1.5.36';
6
  public $prefix = "sc_";
7
  protected $notices = null;
8
  public static function get_instance() {
spider_calendar_update.php CHANGED
@@ -59,6 +59,7 @@ if ($calexist1 == 0) {
59
  }
60
  $wpdb->query("ALTER TABLE " . $wpdb->prefix . "spidercalendar_calendar ADD `def_month` varchar(255) NOT NULL AFTER `start_month`");
61
  $wpdb->query("ALTER TABLE " . $wpdb->prefix . "spidercalendar_calendar CHANGE `start_month` `def_year` VARCHAR(512) NOT NULL");
 
62
  $wpdb->query("DROP TABLE IF EXISTS `" . $wpdb->prefix . "spidercalendar_theme`");
63
  $spider_theme_table = "CREATE TABLE IF NOT EXISTS `" . $wpdb->prefix . "spidercalendar_theme` (
64
  `id` int(11) NOT NULL AUTO_INCREMENT,
@@ -144,8 +145,8 @@ if ($calexist1 == 0) {
144
  PRIMARY KEY (`id`)
145
  ) ENGINE=MyISAM DEFAULT CHARSET=utf8;";
146
  $wpdb->query($spider_theme_table);
147
- $spider_theme_rows = "INSERT INTO `" . $wpdb->prefix . "spidercalendar_theme` (`id`,`title`, `width`, `cell_height`, `bg_top`, `bg_bottom`, `border_color`, `text_color_year`, `text_color_month`, `text_color_week_days`, `text_color_other_months`, `text_color_this_month_unevented`, `text_color_this_month_evented`, `event_title_color`, `current_day_border_color`, `bg_color_this_month_evented`, `next_prev_event_arrowcolor`, `show_event_bgcolor`, `cell_border_color`, `arrow_color_year`, `week_days_cell_height`, `arrow_color_month`, `text_color_sun_days`, `title_color`, `next_prev_event_bgcolor`, `title_font_size`, `title_font`, `title_style`, `date_color`, `date_size`, `date_font`, `date_style`, `popup_width`, `popup_height`, `number_of_shown_evetns`, `sundays_font_size`, `other_days_font_size`, `weekdays_font_size`, `border_width`, `top_height`, `bg_color_other_months`, `sundays_bg_color`, `weekdays_bg_color`, `week_start_day`, `weekday_sunday_bg_color`, `border_radius`, `year_font_size`, `month_font_size`, `arrow_size`, `next_month_text_color`, `prev_month_text_color`, `next_month_arrow_color`, `prev_month_arrow_color`, `next_month_font_size`, `prev_month_font_size`, `month_type`, `date_format`, `show_time`, `show_cat`, `show_repeat`, `date_bg_color`, `event_bg_color1`, `event_bg_color2`, `event_num_bg_color1`, `event_num_bg_color2`, `event_num_color`, `date_font_size`, `event_num_font_size`, `event_table_height`, `date_height`, `ev_title_bg_color`, `week_font_size`, `day_month_font_size`, `week_font_color`, `day_month_font_color`, `views_tabs_bg_color`, `views_tabs_text_color`, `views_tabs_font_size`, `day_start`,`header_format`) VALUES
148
- ('13','Shiny Blue', '700', '70', '005478', 'E1E1E1', '005478', 'F9F2F4', 'F9F2F4', '005D78', 'B0B0B0', '6A6A6A', '6A6A6A', '236283', '005478', 'B4C5CC', '97A0A6', 'B4C5CC', 'A9A9A9', 'CCD1D2', '50', 'CCD1D2', '6A6A6A', 'FFFFFF', '00608A', '', '', 'normal', '262626', '', '', 'normal', '600', '500', '1', '25', '25', '25', '0', '100', 'E1E1E1', 'E1E1E1', 'D6D6D6', 'su', 'B5B5B5', '0', '25', '25', '50', 'CCD1D2', 'CCD1D2', 'CCD1D2', '1010A4', '16', '16', '2', 'w/d/m/y', 1, 1, 1, 'D6D4D5', 'E1E1E1', 'DEDCDD', '005478', '006E91', 'FFFFFF', '15', '13', '30', '25', 'C3D0D6', '15', '12', '005476', '737373', '01799C', 'FFFFFF', '13', 1, 'w/m/d/y')";
149
  $wpdb->query($spider_theme_rows);
150
 
151
  $wpdb->query("DROP TABLE IF EXISTS `" . $wpdb->prefix . "spidercalendar_widget_theme`");
@@ -200,5 +201,4 @@ if ($calexist1 == 0) {
200
  $spider_widget_theme_rows = "INSERT INTO `" . $wpdb->prefix . "spidercalendar_widget_theme` (`id`,`title`,`ev_title_color`,`width`,`week_start_day`, `show_cat`, `font_year`,`font_month`,`font_day`,`font_weekday`,`header_bgcolor`,`footer_bgcolor`,`text_color_month`,`text_color_week_days`,`text_color_other_months`,`text_color_this_month_unevented`,`text_color_this_month_evented`,`bg_color_this_month_evented`,`bg_color_selected`,`arrow_color`,`text_color_selected`,`border_day`,`text_color_sun_days`,`weekdays_bg_color`,`su_bg_color`,`cell_border_color`,`year_font_size`,`year_font_color`,`year_tabs_bg_color`,`date_format`,`title_color`,`title_font_size`,`title_font`,`title_style`,`date_color`,`date_size`,`date_font`,`date_style`,`next_prev_event_bgcolor`,`next_prev_event_arrowcolor`,`show_event_bgcolor`,`popup_width`,`popup_height`,`show_repeat`) VALUES
201
  (1,'Shiny Blue','005478','200','mo','1','','','','','005478','E1E1E1','FFFFFF','2F647D','939699','989898','FBFFFE','005478','005478','CED1D0','FFFFFF','005478','989898','D6D6D6','B5B5B5','D2D2D2','13','ACACAC','ECECEC','w/d/m/y','FFFFFF','','','normal','262626','','','normal','00608A','97A0A6','B4C5CC','600','500','1')";
202
  $wpdb->query($spider_widget_theme_rows);
203
- }
204
  } ?>
59
  }
60
  $wpdb->query("ALTER TABLE " . $wpdb->prefix . "spidercalendar_calendar ADD `def_month` varchar(255) NOT NULL AFTER `start_month`");
61
  $wpdb->query("ALTER TABLE " . $wpdb->prefix . "spidercalendar_calendar CHANGE `start_month` `def_year` VARCHAR(512) NOT NULL");
62
+ }
63
  $wpdb->query("DROP TABLE IF EXISTS `" . $wpdb->prefix . "spidercalendar_theme`");
64
  $spider_theme_table = "CREATE TABLE IF NOT EXISTS `" . $wpdb->prefix . "spidercalendar_theme` (
65
  `id` int(11) NOT NULL AUTO_INCREMENT,
145
  PRIMARY KEY (`id`)
146
  ) ENGINE=MyISAM DEFAULT CHARSET=utf8;";
147
  $wpdb->query($spider_theme_table);
148
+ $spider_theme_rows = "INSERT INTO `" . $wpdb->prefix . "spidercalendar_theme` (`id`, `title`, `width`, `cell_height`, `bg_top`, `bg_bottom`, `border_color`, `text_color_year`, `text_color_month`, `text_color_week_days`, `text_color_other_months`, `text_color_this_month_unevented`, `text_color_this_month_evented`, `event_title_color`, `current_day_border_color`, `bg_color_this_month_evented`, `next_prev_event_arrowcolor`, `show_event_bgcolor`, `cell_border_color`, `arrow_color_year`, `week_days_cell_height`, `arrow_color_month`, `text_color_sun_days`, `title_color`, `next_prev_event_bgcolor`, `title_font_size`, `title_font`, `title_style`, `date_color`, `date_size`, `date_font`, `date_style`, `popup_width`, `popup_height`, `number_of_shown_evetns`, `sundays_font_size`, `other_days_font_size`, `weekdays_font_size`, `border_width`, `top_height`, `bg_color_other_months`, `sundays_bg_color`, `weekdays_bg_color`, `week_start_day`, `weekday_sunday_bg_color`, `border_radius`, `year_font_size`, `month_font_size`, `arrow_size`, `next_month_text_color`, `prev_month_text_color`, `next_month_arrow_color`, `prev_month_arrow_color`, `next_month_font_size`, `prev_month_font_size`, `month_type`, `date_format`, `show_time`, `show_cat`, `show_repeat`, `date_bg_color`, `event_bg_color1`, `event_bg_color2`, `event_num_bg_color1`, `event_num_bg_color2`, `event_num_color`, `date_font_size`, `event_num_font_size`, `event_table_height`, `date_height`, `ev_title_bg_color`, `week_font_size`, `day_month_font_size`, `week_font_color`, `day_month_font_color`, `views_tabs_bg_color`, `views_tabs_text_color`, `views_tabs_font_size`, `day_start`, `header_format`) VALUES
149
+ (13, 'Shiny Blue', '700', '90', '005478', 'F8F8F8', '005478', 'F9F2F4', 'F9F2F4', 'CCD1D2', '004B6C', '004B6C', '004B6C', '005478', '005478', 'F8F8F8', '97A0A6', 'B4C5CC', 'CCD1D2 ', 'CCD1D2', '30', 'CCD1D2', '004B6C', 'FFFFFF', '00608A', '', '', 'normal', '262626', '', '', 'normal', '600', '500', '1', '17', '17', '17', '0', '90', 'F8F8F8', 'F8F8F8', '006285', 'su', '006285', '0', '25', '25', '25', 'CCD1D2', 'CCD1D2', 'CCD1D2', '1010A4', '16', '16', '2', 'w/d/m/y', 1, 1, 1, 'D6D4D5', 'F8F8F8', 'DEDCDD', '005478', '006E91', 'FFFFFF', '15', '13', '30', '25', 'F8F8F8', '15', '12', '005476', '737373', '01799C', 'FFFFFF', '13', 1, 'w/m/d/y');";
150
  $wpdb->query($spider_theme_rows);
151
 
152
  $wpdb->query("DROP TABLE IF EXISTS `" . $wpdb->prefix . "spidercalendar_widget_theme`");
201
  $spider_widget_theme_rows = "INSERT INTO `" . $wpdb->prefix . "spidercalendar_widget_theme` (`id`,`title`,`ev_title_color`,`width`,`week_start_day`, `show_cat`, `font_year`,`font_month`,`font_day`,`font_weekday`,`header_bgcolor`,`footer_bgcolor`,`text_color_month`,`text_color_week_days`,`text_color_other_months`,`text_color_this_month_unevented`,`text_color_this_month_evented`,`bg_color_this_month_evented`,`bg_color_selected`,`arrow_color`,`text_color_selected`,`border_day`,`text_color_sun_days`,`weekdays_bg_color`,`su_bg_color`,`cell_border_color`,`year_font_size`,`year_font_color`,`year_tabs_bg_color`,`date_format`,`title_color`,`title_font_size`,`title_font`,`title_style`,`date_color`,`date_size`,`date_font`,`date_style`,`next_prev_event_bgcolor`,`next_prev_event_arrowcolor`,`show_event_bgcolor`,`popup_width`,`popup_height`,`show_repeat`) VALUES
202
  (1,'Shiny Blue','005478','200','mo','1','','','','','005478','E1E1E1','FFFFFF','2F647D','939699','989898','FBFFFE','005478','005478','CED1D0','FFFFFF','005478','989898','D6D6D6','B5B5B5','D2D2D2','13','ACACAC','ECECEC','w/d/m/y','FFFFFF','','','normal','262626','','','normal','00608A','97A0A6','B4C5CC','600','500','1')";
203
  $wpdb->query($spider_widget_theme_rows);
 
204
  } ?>
spidercalendar_upcoming_events_widget.php CHANGED
@@ -2045,7 +2045,7 @@ $ev++;
2045
  margin-left: -101px;
2046
  }
2047
 
2048
- .wp-picker-container{
2049
  position: absolute;
2050
  left: 5px;
2051
  top: 0px;
2045
  margin-left: -101px;
2046
  }
2047
 
2048
+ .color_for_this .wp-picker-container{
2049
  position: absolute;
2050
  left: 5px;
2051
  top: 0px;
widget_Themes_function.html.php CHANGED
@@ -6,23 +6,23 @@ function html_show_theme_calendar_widget() {
6
  ?>
7
  <div class="updated" style="font-size: 14px; color:red !important">
8
  <p><strong>
9
- <a href="https://web-dorado.com/products/wordpress-calendar.html" target="_blank" style="color:red; text-decoration:none;"> This feature is disabled for the non-commercial version.</a>
10
  </strong>
11
  </p>
12
  </div>
13
  <table width="95%">
14
  <tr>
15
  <td width="100%" style="font-size:14px; font-weight:bold">
16
- <a href="https://web-dorado.com/wordpress-spider-calendar/adding-widget-view-themes/general-parameters.html" target="_blank" style="color:blue; text-decoration:none;">User Manual</a><br />
17
  This section allows you to create/edit themes for the calendars for the widget mode.<br />
18
  This feature is disabled for the non-commercial version.
19
- <a href="https://web-dorado.com/wordpress-spider-calendar/adding-widget-view-themes/general-parameters.html" target="_blank" style="color:blue; text-decoration:none;">More...</a><br />
20
  Here are examples of 6 standard templates included in the commercial version.
21
  <a href="http://wpdemo.web-dorado.com/spider-calendar/" target="_blank" style="color:blue; text-decoration:none;">Demo</a>
22
  </td>
23
  <td colspan="7" align="right" style="font-size:16px;">
24
  <a href="https://web-dorado.com/files/fromSpiderCalendarWP.php" target="_blank" style="color:red; text-decoration:none;">
25
- <img src="<?php echo plugins_url('images/header.png', __FILE__); ?>" border="0" alt="Upgrade to PRO" width="215">
26
  </a>
27
  </td>
28
  </tr>
6
  ?>
7
  <div class="updated" style="font-size: 14px; color:red !important">
8
  <p><strong>
9
+ <a href="https://web-dorado.com/files/fromSpiderCalendarWP.php" target="_blank" style="color:red; text-decoration:none;"> This feature is disabled for the non-commercial version.</a>
10
  </strong>
11
  </p>
12
  </div>
13
  <table width="95%">
14
  <tr>
15
  <td width="100%" style="font-size:14px; font-weight:bold">
16
+ <a href="https://web-dorado.com/spider-calendar-wordpress-guide-step-6/6-1.html" target="_blank" style="color:blue; text-decoration:none;">User Manual</a><br />
17
  This section allows you to create/edit themes for the calendars for the widget mode.<br />
18
  This feature is disabled for the non-commercial version.
19
+ <a href="https://web-dorado.com/spider-calendar-wordpress-guide-step-6/6-1.html" target="_blank" style="color:blue; text-decoration:none;">More...</a><br />
20
  Here are examples of 6 standard templates included in the commercial version.
21
  <a href="http://wpdemo.web-dorado.com/spider-calendar/" target="_blank" style="color:blue; text-decoration:none;">Demo</a>
22
  </td>
23
  <td colspan="7" align="right" style="font-size:16px;">
24
  <a href="https://web-dorado.com/files/fromSpiderCalendarWP.php" target="_blank" style="color:red; text-decoration:none;">
25
+ <img src="<?php echo plugins_url('images/header.png', __FILE__); ?>" border="0" alt="https://web-dorado.com/files/fromSpiderCalendarWP.php" width="215">
26
  </a>
27
  </td>
28
  </tr>