PageSourceSearch

https://portagerotary.org/index.php

html portagerotary.org collected 2026-10-06 12:16:53 UTC 111,776 bytes, 2,412 lines download raw bytes

1<!DOCTYPE html>
2<html>
3
4<head>
5  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
6  <meta charset="utf-8">
7  <meta http-equiv="X-UA-Compatible" content="IE=edge">
8  <meta name="description" content="">
9  <meta name="keywords" content="">
10  <meta name="viewport" content="width=device-width, initial-scale=1">
11  <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
12  
13      <link rel="icon" href="../websites_core/images/favicon.ico?">
14  
15  <link href="https://fonts.googleapis.com/css2?family=Open+Sans+Condensed:wght@700" rel="stylesheet">
16
17  <title>
18    Rotary Club of Portage  </title>
19
20  <!-- Bootstrap core CSS ... -->
21  <link href="https://websites01.dacdb.com/websites_core/css/bootstrap.min.css" rel="stylesheet">
22  <link href="https://websites01.dacdb.com/websites_core/css/bootstrap-theme.min.css" rel="stylesheet">
23  <link href="https://websites01.dacdb.com/websites_core/fullcalendar/fullcalendar/moment.min.css" rel="stylesheet" />
24  <link href="https://websites01.dacdb.com/websites_core/fullcalendar/fullcalendar/fullcalendar.css" rel="stylesheet" />
25  <link href="https://websites01.dacdb.com/websites_core/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet"
26    type="text/css" media="screen" />
27  <link href="https://websites01.dacdb.com/websites_core/css/responsiveslides.css" rel="stylesheet">
28  <link href="https://websites01.dacdb.com/websites_core/css/color.css" rel="stylesheet">
29  <link href="https://websites01.dacdb.com/websites_core/css/dacdb.css" rel="stylesheet">
30  <link href="https://websites01.dacdb.com/websites_core/css/lightbox.css" rel="stylesheet" />
31  <link href="https://websites01.dacdb.com/websites_core/css/Font-Awesome6/css/fontawesome.min.css" rel="stylesheet" />
32  <link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" />
33  <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i"
34    rel="stylesheet">
35  <link href="https://cdn.jsdelivr.net/gh/memberminderpro/rotary-brand-assets@latest/css/rotary-colors.css"
36    rel="stylesheet">
37
38    <style type="text/css">
39    th[data-sort] {
40      cursor: pointer;
41    }
42
43    /*.img-responsive{width: 100%;}*/
44  </style>
45
46  <style>
47
48body {
49  font-family: 'Open Sans', sans-serif;
50}
51
52    .msg {
53        border-top: solid 3px #0560aa;
54        border-left: solid 1px #0560aa;
55        border-right: solid 1px #0560aa;
56        border-bottom: solid 1px #0560aa;
57        border-radius: 8px;
58        margin-bottom: 30px;
59        -webkit-box-shadow: 0 10px 10px -5px rgba(0,0,0,.08);
60          -moz-box-shadow: 0 10px 10px -5px rgba(0,0,0,.08);
61                box-shadow: 0 10px 10px -5px rgba(0,0,0,.08);
62    }
63    
64
65    #footer .fws {
66        border-bottom:0 !important;
67        border-left:0 !important;
68        border-right:0 !important;
69        border-top: solid 1px #0560aa !important;
70        border-radius: 0 !important;
71    }
72
73    .fws {
74        -webkit-box-shadow: none;
75          -moz-box-shadow: none;
76                box-shadow: none;
77    }
78#footer {
79  padding-top: 20px;
80}
81
82.image-header-ss {
83    width: 100%;
84    overflow: hidden;
85}
86body {
87  background-color: #0560aa;
88  background-repeat: repeat-x;
89  background-image: -webkit-linear-gradient(270deg,#0560aa 6.28%,#f7e0a6 20%);
90  background-image: -moz-linear-gradient(270deg,#0560aa 6.28%,#f7e0a6 20%);
91  background-image: -o-linear-gradient(270deg,#0560aa 6.28%,#f7e0a6 20%);
92  background-image: linear-gradient(180deg,#0560aa 6.28%,#f7e0a6 20%);
93}
94
95
96
97
98.row-offcanvas {
99  background-color: #242e38;
100  padding-top:20px;
101}
102.navbar {
103  margin-bottom:0 !important;
104}
105
106.navbar-default-2 {
107  background-color: #0560aa !important;
108      border-color: #242e38 !important;
109    
110}
111.navbar-default-2 .navbar-brand {
112  color: #ffffff;
113}
114.navbar-default-2 .navbar-brand:hover, .navbar-default-2 .navbar-brand:focus {
115  color: #0560aa;
116}
117.navbar-default-2 .navbar-text {
118  color: #ffffff;
119}
120.navbar-default-2 .navbar-nav > li > a {
121  color: #ffffff;
122}
123.navbar-default-2 .navbar-nav > li > a:hover, .navbar-default-2 .navbar-nav > li > a:focus {
124  color: #0560aa;
125}
126.navbar-default-2 .navbar-nav > .active > a, .navbar-default-2 .navbar-nav > .active > a:hover, .navbar-default-2 .navbar-nav > .active > a:focus {
127  color: #0560aa;
128  background-color: #f7e0a6 !important;
129}
130.navbar-default-2 .navbar-nav > .open > a, .navbar-default-2 .navbar-nav > .open > a:hover, .navbar-default-2 .navbar-nav > .open > a:focus {
131  color: #0560aa;
132  background-color: #f7e0a6 !important;
133}
134.nav>li>a:focus, .nav>li>a:hover {
135  background-color: #f7e0a6 !important;
136}
137.navbar-default-2 .navbar-toggle {
138  border-color: #f7e0a6 !important;
139}
140.navbar-default-2 .navbar-toggle:hover, .navbar-default-2 .navbar-toggle:focus {
141  background-color: #f7e0a6 !important;
142}
143.navbar-default-2 .navbar-toggle .icon-bar {
144  background-color: #ffffff;
145}
146.navbar-default-2 .navbar-collapse,
147.navbar-default-2 .navbar-form {
148  border-color: #ffffff;
149  margin-left:-15px;
150  margin-right:-15px;
151}
152.navbar-default-2 .navbar-link {
153  color: #ffffff;
154}
155.navbar-default-2 .navbar-link:hover {
156  color: #0560aa;
157}
158.dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus {
159  background-color: #f7e0a6 !important;
160}
161iframe.youtube {  
162  width: 100%;
163  aspect-ratio: 16 / 9;
164}
165footer {
166  margin: 0px 0px; 
167  padding: 10px 0px;
168}
169footer hr {
170  height:2px; border:none; color:#000000; background-color:lightgrey;
171}
172
173@media (max-width: 767px) {
174  .navbar-default-2 .navbar-nav .open .dropdown-menu > li > a {
175    color: #ffffff;
176  }
177  .navbar-default-2 .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default-2 .navbar-nav .open .dropdown-menu > li > a:focus {
178    color: #0560aa;
179  }
180  .navbar-default-2 .navbar-nav .open .dropdown-menu > .active > a, .navbar-default-2 .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-default-2 .navbar-nav .open .dropdown-menu > .active > a:focus {
181    color: #0560aa;
182    background-color: #f7e0a6 !important;
183  }
184} 
185
186.navbar-xs { border-radius:0; border-left:0; border-right: 0;} 
187.navbar-xs .navbar-nav > li  { 
188  border-right:1px solid #242e38 !important;
189}
190
191
192
193@media screen and (min-width: 767px) {
194    .navbar-nav {
195        margin: 0 auto;
196        display: table;
197        table-layout: auto;
198        float: none;
199        width: 100%;
200    }
201    .navbar-nav>li {
202        display: table-cell;
203        float: none;
204        text-align: center;
205    }
206}
207
208
209.color-rotary .msg-primary {
210  border-color: #0560aa !important;
211}
212a {
213  color: #0560aa;
214}
215a:focus, a:hover {
216  color: #242e38;
217}
218
219
220.msg-title {
221    margin-top:-12px;
222    margin-left:-16px;
223    margin-right:-12px;
224    padding:10px 10px 10px 10px;
225    background-color: #ffffff;
226    background-image: -webkit-linear-gradient(270deg,#ffffff 0%,#0560aa 61.33%,#0560aa  100%);
227    background-image: -moz-linear-gradient(270deg,#ffffff 0%,#0560aa 61.33%,#0560aa  100%);
228    background-image: -o-linear-gradient(270deg,#ffffff 0%,#0560aa 61.33%,#0560aa  100%);
229    background-image: linear-gradient(180deg,#ffffff 0%,#0560aa 61.33%,#0560aa  100%);
230    color:#ffffff;
231    text-transform: uppercase;
232    font-size: 14px;
233    font-weight: 500;
234    margin-bottom:10px;
235    border-bottom:1px solid #0560aa;
236        border-top-left-radius: 4px;
237    border-top-right-radius: 4px;
238    }
239#footer .msg-title {
240    margin-top:-12px;
241    margin-left:-16px;
242    margin-right:-12px;
243    padding:10px 10px 10px 10px;
244    background-color: #ffffff;
245    background-image: -webkit-linear-gradient(270deg,#ffffff 0%,#0560aa 61.33%,#0560aa  100%);
246    background-image: -moz-linear-gradient(270deg,#ffffff 0%,#0560aa 61.33%,#0560aa  100%);
247    background-image: -o-linear-gradient(270deg,#ffffff 0%,#0560aa 61.33%,#0560aa  100%);
248    background-image: linear-gradient(180deg,#ffffff 0%,#0560aa 61.33%,#0560aa  100%);
249    color:#ffffff;
250    text-transform: uppercase;
251    font-size: 14px;
252    font-weight: 500;
253    margin-bottom:10px;
254    border-bottom:1px solid #0560aa;
255        border-top-left-radius: 0;
256    border-top-right-radius: 0;
257    }
258.image-header-img {
259  background-color: #242e38 !important;
260}
261.navbar-nav>li>a {
262  text-shadow:none !important;
263}
264
265
266
267  .image-header-rotary-name {
268    color:#ffffff !important;
269  }
270  .image-header-md-rotary-name {
271    color:#ffffff !important;
272  }
273  .image-header-sm-rotary-name {
274    color:#ffffff !important;
275  }
276  .image-header-xs-rotary-name {
277    color:#ffffff !important;
278  }
279  .image-header-title {
280    color:#ffffff !important;
281  }
282  .image-header-md-title {
283    color:#ffffff !important;
284  }
285  .image-header-sm-title {
286    color:#ffffff !important;
287  }
288  .image-header-xs-title {
289    color:#ffffff !important;
290  }
291
292
293
294
295</style><!--!SECTION: Display Width (this site is set to "" -->  <style>
296    .fc-toggleSidbars-button:after {
297      font-family: "FontAwesome";
298      content: "\f065";
299      color: #000;
300    }
301
302    .fc-toggleSidbars-button2:after {
303      font-family: "FontAwesome";
304      content: "\f066";
305      color: #000 !important;
306    }
307  </style>
308  <!-- css injection -->
309  <link href="custom_code/css/css_custom.css" rel="stylesheet" />
310  <link href="https://websites01.dacdb.com/websites_core/css/custom-widgets.css" rel="stylesheet">
311  <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
312  <!--[if lt IE 9]>
313      
313<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
313
314      
314<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
314
315    <![endif]-->
316</head>
317<!-- Global site tag (gtag.js) - Google Analytics -->
vendor: 65 bytes, lines 317-318
317
318<script async src="https://www.googletagmanager.com/gtag/js?id=
318UA-53516622-1
vendor: 13 bytes, line 318
318"></script>
319<script>
320  
vendor: 138 bytes, lines 320-324
320window.dataLayer = window.dataLayer || [];
321  function gtag(){dataLayer.push(arguments);}
322  gtag('js', new Date());
323
324  gtag('config', '
324UA-53516622-1
vendor: 5 bytes, line 324
324');
325</script>
325
326<!-- ada -->
327
328
329<body>
330
331  <!--  copy of 1_4 with revised Rotary logo -->
332
333<style>
334
335.outer {
336  border: 10px solid red;
337  width: 70%;
338  display: flex;
339  text-align center;
340  top: 30px;
341  position: absolute;
342  margin: auto;
343}
344
345.inner {  
346  border: 1px solid black;
347}
348
349
350.rsign {
351  position: absolute;
352  display: table;
353  margin: 0 auto;
354}
355/*
356.image-header-title2 {
357//   margin-top:  -150px;
358   font-family: open-sans, sans-serif;
359   color: #0c3c7c;
360   font-weight:300;
361   text-align: right;
362   position: absolute;
363   }
364*/
365</style>
366
367<div class="page-container">
368	<!-- top navbar -->
369	<div class="navbar navbar-default navbar-fixed-top" role="navigation">
370		<div class="container">
371			<div class="navbar-header">
372				<a class="navbar-brand" href="http://portagerotary.org\/">
373                    Rotary Club of Portage				</a>
374			</div>
375		<div class="small-links text-right hidden-xs">
376			<a href="https://www.rotary.org" target="_blank">Rotary International</a> &nbsp;|&nbsp; 
377                		                                		<a href="http://www.district6360.com" target="_blank">District 6360</a> &nbsp;|&nbsp; 
378                	                                        	<a href="https://www.dacdb.com/" target="_blank">DACdb Login</a></div>
379			<div class="small-social text-right hidden-xs">
380                                    <a href="https://www.facebook.com/Rotary-Club-of-Portage-211654508858404/?ref=aymt_homepage_panel" target="_blank"><span class="fa fa-facebook"></span></a>  &nbsp;&nbsp; 
381                                                    <a href="http://twitter.com/" target="_blank"><span class="fa fa-twitter"></span></a>  &nbsp;&nbsp; 
382                                                    <a href="http://linkedin.com" target="_blank"><span class="fa fa-linkedin"></span></a>  &nbsp;&nbsp; 
383                                                    <a href="youtube" target="_blank"><span class="fa fa-youtube"></span></a>  &nbsp;&nbsp; 
384                                                    <a href="instagram" target="_blank"><span class="fa fa-instagram"></span></a>  &nbsp;&nbsp; 
385                                	                    	            | 
386                                	
387	    
388							<a href="javascript:void" data-toggle="modal" data-target="#login-modal" class="closeFlip"   >Member Login</a>
389				
390
391				
392		                			</div>
393		</div>	<!-- /container -->
394	</div>	<!-- /top navbar -->
395
396	<div class="container theme-color" style="border:1px solid #0560aa">
397		<div class="row">
398
399		
400				<div class="image-header-ss">
401			<ul class="rslides">
402										<li><img src="images/slides/NYSKL.jpeg" border="0" /></li><li><img src="images/slides/XELCU.jpg" border="0" /></li><li><img src="images/slides/MBXHP.png" border="0" /></li><li><img src="images/slides/CVSFM.jpg" border="0" /></li><li><img src="images/slides/VIWXA.png" border="0" /></li><li><img src="images/slides/WIFND.png" border="0" /></li><li><img src="images/slides/YTEIJ.jpg" border="0" /></li>								</ul>
403		</div>	<!-- /image-header-s -->
404		
405		<nav class="navbar navbar-default-2 navbar-xs" role="navigation">
406  <!-- Brand and toggle get grouped for better mobile display -->
407  <div class="navbar-header">
408    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
409      <span class="sr-only">Toggle navigation</span>
410      <span class="icon-bar"></span>
411      <span class="icon-bar"></span>
412      <span class="icon-bar"></span>
413    </button>
414  </div>
415
416  <!-- Collect the nav links, forms, and other content for toggling -->
417  <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
418    <ul class="nav navbar-nav">
419
420            <li style="border-left:0 !important;" class="visible-xs"><a href="https://www.dacdb.com/" target="_blank">DACdb Login</a></li>
421
422            <li style="border-left:0 !important;" class="visible-xs">	
423	    
424							<a href="javascript:void" data-toggle="modal" data-target="#login-modal" class="closeFlip"   >Member Login</a>
425				
426
427				
428		</li>
429      
430<li style="border-left:0 !important;"><a href="index.php" >Home</a></li><li class="dropdown" ><a href="#" class="dropdown-toggle" data-toggle="dropdown">Club Links <b class="caret"></b></a><ul class="dropdown-menu"><li data-check="0"><a href="about-us.php" >About Our Club</a></li><li data-check="0"><a href="https://portagerotary.org/rcop-impact-map.php" >Our Club's IMPACT</a></li><li data-check="0"><a href="https://ismyrotaryclub.org/NewMember/?ClubID=2952" target="_blank">New Member Application</a></li><li data-check="0"><a href="rcop-golf-outing.php" >Presidential Open Golf Fundraiser</a></li><li data-check="0"><a href="?p=clubleaders" >Leadership</a></li><li data-check="0"><a href="?p=showclubmembers" >Member Directory</a></li><li data-check="0"><a href="https://www.dacdb.com/Rotary/Accounts/6360/Downloads/2952/Rotary Club of Portage - Past Presidents (1-58).pdf" target="_blank">Past Presidents</a></li><li data-check="0"><a href="https://www.dacdb.com/Rotary/Accounts/6360/Downloads/2952/Rotary Club of Portage - Traditions and Expectations.2  1-25.pdf" >Club Traditions</a></li><li data-check="0"><a href="?p=calendar" >Calendar</a></li><li data-check="0"><a href="https://www.dacdb.com/Rotary/Accounts/6360/Downloads/2952/Rotary Club of Portage - Projects.2  1-25.pdf" >Club Events</a></li><li data-check="0"><a href="?p=weeklybulletin" >Weekly Bulletins</a></li><li data-check="0"><a href="?s=contact" >Contact us</a></li></ul></li><li class="dropdown" ><a href="#" class="dropdown-toggle" data-toggle="dropdown">District Links <b class="caret"></b></a><ul class="dropdown-menu"><li data-check="0"><a href="?p=districtevents" >District Events</a></li><li data-check="0"><a href="?p=whereclubsmeet" >Where Clubs Meet</a></li><li data-check="0"><a href="?p=districtleaders" >District Leaders</a></li><li data-check="0"><a href="?s=map" >Map to Clubs</a></li></ul></li><li class="dropdown" ><a href="#" class="dropdown-toggle" data-toggle="dropdown">Rotary Links <b class="caret"></b></a><ul class="dropdown-menu"><li data-check="0"><a href="http://www.rotary.org" target="_blank">Rotary International</a></li><li data-check="0"><a href="four-way-test.php" >The Four-Way Test</a></li><li data-check="0"><a href="?s=20reasons" >20 Reasons to Join Rotary</a></li></ul></li><li ><a href="?s=documents" >Documents</a></li><li ><a href="?p=committees" >Committees</a></li><li ><a href="about-us.php" >About Us</a></li><li style="border-right:0 !important;"><a href="rcop-golf-outing.php" >Presidential Open Golf Event</a></li>      
431
432
433
434    </ul>
435  </div><!-- /.navbar-collapse -->
436</nav>	</div>  <!-- /row -->
437	
438
439
440  <div class="row row-offcanvas">
441            <!-- column: center / left only-->
442        <div class="col-md-9 col-md-push-3 body-content" id="main">
443        <div id="Stories" class="Stories">Loading...</div>
444        </div><!-- /.col-xs-12 main -->
445
446
447
448        <!-- column: left -->
449        <div class="col-sm-12 col-md-3 col-md-pull-9" id="sidebarleft">
450        
451    <div class="event-list">
452        <div class="msg msg-primary event-list-title">
453                    <div class="msg-title">Visit us on Facebook!</div>
454                    <div id="CW2608" class="custom-widget">
455                <!-- output code here -->
456                <div id="fb-root"></div>
457<script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v22.0"></script>
457
458<div class="fb-page" data-href="https://www.facebook.com/portagemirotary" data-tabs="timeline" data-width="" data-height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><blockquote cite="https://www.facebook.com/portagemirotary" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/portagemirotary">Rotary Club of Portage</a></blockquote></div>            </div>
459        </div>    
460    </div>    <div class="msg msg-primary meeting-information">
461        <div id="ClubMeetingsInfo">Loading...</div>
462    </div>    <div class="msg msg-primary mini-cal">
463        <div id="Calendar">Loading...</div>
464    </div>    <div class="msg msg-primary leader-information">
465        <div class="msg-title">Club Leaders</div>
466        <div id="clubleaders"></div>
467    </div>    <div class="event-list">
468        <div class="msg msg-primary event-list-title">
469
470        <div class="msg-title">Club Events</div>
471            <div class="event-list-sep"></div>
472        <div id="Events">Loading</div>
473        </div>    
474    </div>        
475        </div> <!-- End left div-->
476
477
478                
479
480
481    </div><!--/.row-->
482
483    <div id="footer" class="row" style="background-color:#ffffff;color:;">
484
485                            </div> <!-- end first col -->
486
487
488                            </div> <!-- end second col -->
489
490                            </div> <!-- end second col -->
491
492        
493    </div>        
494   </div><!--/.container-->
495</div><!--/.page-container-->
496
497     <div class="container">
498      <footer>
499           <hr>
500      	<!-- <center style="color:#000000;">Powered by <a href="http://www.dacdb.com" target="new" style="color:#000000;">DACdb</a> &copy;.</center> --->
501
502
503    
504        <center style="color:#000000; background-color: lightgrey;padding:15px;">
505            <font size="-2">&copy; All content belongs to Rotary Club of Portage unless otherwise specified.<br />
506                            Any and all Rotary marks are the property of Rotary International and their use is permitted by License from Rotary International.
507                <img src="https://DACdb.com/Images/RILicenseLogo.png" style="float:right;width:90px;height:60px;"><br />
508                        <font size="-2">EZ-Website powered by Member Minder Pro &copy; 2003-2026, and its affiliates. All rights reserved.<br />
509            
510                            <a href="https://dacdb.com/Login/PrivacyNoLog.cfm" target="_blank" style="color: #000000;">Privacy Statement</a> | <a href="https://dacdb.com/Login/Usage.cfm" target="_blank" style="color: #000000"> Terms of Use </a><BR></font>
511                        
512        </center>
513
514    <!---
515	<center style="color:#2B4677; background-color: #FAF9FA;">
516		All content belongs to Portage unless otherwise specified.<br />
517		Any &amp; all Rotary marks are the property of Rotary International and allowed by License Agreement with Member Minder Pro, LLC.<br />
518		<br />
519		<img src="https://DACdb.com/Images/RILicenseLogo.png"><br />
520		<br />
521		<center style="background-color:#2B4677; color: #FAF9FA;">
522			Ez-Website powered by Member Minder Pro &copy; 2003-2026, and its affiliates. All rights reserved.<br />
523			<a href="https://dacdb.com/Login/PrivacyNoLog.cfm" target="_blank" style="color:#000000;">Privacy Statement</a> | <a href="https://dacdb.com/Login/Usage.cfm" target="_blank" style="color:#000000;"> Terms of Use </a><BR>
524			</center>
525		</center>
526--->
527      </footer>
528    </div><!--/.container-->
529
530    <div class="modal fade" id="login-modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="display: none;">
531        <div class="modal-dialog">
532        <div class="loginmodal-container">
533          <h1>Login to Your<br>DACdb Account</h1><br>
534          <form method="post" action="">
535	      <input type="hidden" name="ip_address" value="5.77.194.31">
536	      <input type="hidden" name="HTTP_HOST" value="portagerotary.org">
537	      <input type="hidden" name="REQUEST_URI" value="/index.php">
538	      <input type="hidden" name="QUERY_STRING" value="">
539
540                      <div style="padding:0px;">
541                <p style="color:red;font-size: medium;text-align: center;">Activation with reCAPTCHA is now required for this feature. See <a href="https://www.dacdbsupport.com/kb/articles/contact-us-activation" target="_blank" style="color: darkblue;font-weight: 600;">DACdb Support</a>
541 for instructions.</p>
542		    </div>
543    
544          
545          </form>
546        </div>
547      </div>
548    </div>
549
550    <!-- Bootstrap core JavaScript
551    ================================================== -->
552    <!-- Placed at the end of the document so the pages load faster -->
553        
553<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
553
554    
554<script src="https://websites01.dacdb.com/websites_core/js/bootstrap.min.js"></script>
554
555    
555<script src="https://websites01.dacdb.com/websites_core/js/lightbox.min.js"></script>
555
556    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
557    
557<script src="https://websites01.dacdb.com/websites_core/js/ie10-viewport-bug-workaround.js"></script>
557
558    
558<script type="text/javascript" src="https://websites01.dacdb.com/websites_core/fullcalendar/fullcalendar/moment.min.js"></script>
558
559    
559<script type="text/javascript" src="https://websites01.dacdb.com/websites_core/fullcalendar/fullcalendar/fullcalendar.js"></script>
559
560    
560<script type="text/javascript" src="https://websites01.dacdb.com/websites_core/fullcalendar/fullcalendar/locale-all.js"></script>
560
561    
561<script type="text/javascript" src="https://websites01.dacdb.com/websites_core/fullcalendar/fullcalendar/gcal.js"></script>
561
562    
562<script src="https://websites01.dacdb.com/websites_core/js/date.js"></script>
562
563    
563<script src="https://websites01.dacdb.com/websites_core/js/responsiveslides.js"></script>
563
564    
564<script type="text/javascript" src="https://websites01.dacdb.com/websites_core/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>
vendor: 97 bytes, lines 564-577
564
565
566    <script src='https://www.google.com/recaptcha/api.js'></script>
567
568
569
570
571
572
573
574
575  
576
577
578<script>
579    $(document).ready(function() {
580        $(".fancybox").fancybox({
581            openEffect  : 'none',
582            closeEffect : 'none',
583            maxWidth: '900',
584            autoPlay: true,
585            titleShow: true,
586            playSpeed: 4000
587        });
588    });
589</script>
589
590    <!--
591    DACdb.php - District and Club Database PHP Functions
592    Copyright (c) 2003-2021 DACdb, LLC.
593    This information in this file is confidential and proprietary to DACdb, LLC.
594-->
595
596<script type="text/javascript">
597        function Show_Div(Div_id) {
598            $("#description-" + Div_id).toggle();
599            $("#more-" + Div_id).toggleText("Read More", "Less");
600        }
601        jQuery.fn.extend({
602            toggleText: function (a, b){
603                var that = this;
604                    if (that.text() != a && that.text() != b){
605                        that.text(a);
606                    }
607                    else
608                    if (that.text() == a){
609                        that.text(b);
610                    }
611                    else
612                    if (that.text() == b){
613                        that.text(a);
614                    }
615                return this;
616            }
617        });
618
619// Birthdays
620function showBirthdays(json) {
621    var statusHTML = [];
622        for (var i=0; i<json.length; i++) {
623            var p = json[i];
624            for (var j=0; j<p.length; j++) {
625    // http://www.dacdb.com/'.dir_label.'/Accounts/9969/Pics/M800218035.jpg
626            statusHTML.push('<div class="event-list-date">'+p[j].MEMBERNAME+'</div>');
627            statusHTML.push('<div class="event-list-text">'+p[j].BIRTHDAY+'</div>');
628            statusHTML.push('<div class="event-list-sep"></div>   ');
629                }
630            }
631    if ($("#Birthdays").length) {
632     document.getElementById('Birthdays').innerHTML = statusHTML.join('');
633    }
634}
635
636
637function showClub_Anniversary() {
638    var statusHTML = [];    
639    
640    if ($("#Club_Anniversary").length) {
641     document.getElementById('Club_Anniversary').innerHTML = 'No member anniversaries this month. <div class="bulletin-list-sep"></div>';
642    }
643}
644
645// Wedding
646function showWedding() {
647    var statusHTML = [];
648
649    
650    if ($("#Wedding").length) {
651     document.getElementById('Wedding').innerHTML = '<div class="bulletin-list-text">William  Crown </div><div class="bulletin-list-text">October 07</div><div class="bulletin-list-sep"></div>';
652    }
653}
654function showBirthdaysPage(json) {
655    var statusHTML = [];
656        for (var i=0; i<json.length; i++) {
657            statusHTML.push('<h3>Birthdays</h3><br>');
658            var p = json[i];
659            for (var j=0; j<p.length; j++) {
660                            statusHTML.push('<div class="event-list-date">'+p[j].MEMBERNAME+'</div>');
661                statusHTML.push('<div class="event-list-text">'+p[j].BIRTHDAY+'</div>');
662                statusHTML.push('<div class="event-list-sep"></div>   ');
663                            }
664            }
665    if ($("#birthdayspage").length) {
666     document.getElementById('birthdayspage').innerHTML = statusHTML.join('');
667    }
668}
669// Speakers
670function showSpeakers(json) {
671    var statusHTML = [];
672
673    for (var i=0; i < json.length; i++) {
674
675                var p = json[i];
676            for (var j=0; j<p.length; j++) {
677        
678                statusHTML.push('<div class="event-list-date">'+p[j].EVENTDATE+'</div>');
679            statusHTML.push('<div class="event-list-text"><a href="https://www.ismyrotaryclub.com/wp_api_prod_1-1/R_Event.cfm?EventID='+p[j].EVENTID+'&fixImages=0&fixTables=0" class="various2" data-fancybox-type="iframe">'+p[j].SPEAKER+'</a></div>');
680            statusHTML.push('<div class="event-list-text">'+p[j].TOPIC+'</div>');
681            statusHTML.push('<div class="event-list-sep"></div>   ');
682                }
683            statusHTML.push('<div class="event-list-sep"><a href="https://www.ismyrotaryclub.com/wp_api_prod_1-1/R_ListSpeakers.cfm?ClubID=2952&Cat=1,2,3,4,5,6,7" class="various2" data-fancybox-type="iframe">List All Speakers</a></div>   ');
684            }
685    if ($("#Speakers").length) {
686     document.getElementById('Speakers').innerHTML = statusHTML.join('');
687    }
688}
689function showSpeakersPage(json) {
690    var statusHTML = [];
691        for (var i=0; i<json.length; i++) {
692            var p = json[i];
693            statusHTML.push('<h3>Speakers</h3><br>');
694            for (var j=0; j<p.length; j++) {
695                        statusHTML.push('<div class="event-list-date">'+p[j].EVENTDATE+'</div>');
696            statusHTML.push('<div class="event-list-text" style="font-weight:bold;font-size:16px;"><a href="https://www.ismyrotaryclub.com/wp_api_prod_1-1/R_Event.cfm?EventID='+p[j].EVENTID+'&fixImages=0&fixTables=0" class="various2" data-fancybox-type="iframe">'+p[j].EVENTNAME+'</a></div>');
697            if (p[j].EVENTNAME != p[j].SPEAKER) {
698            statusHTML.push('<div class="event-list-text" style="font-weight:bold;font-size:16px;"><a href="https://www.ismyrotaryclub.com/wp_api_prod_1-1/R_Event.cfm?EventID='+p[j].EVENTID+'&fixImages=0&fixTables=0" class="various2" data-fancybox-type="iframe">Speaker: '+p[j].SPEAKER+'</a></div>');
699            }
700            if (p[j].TOPIC == '') {
701                statusHTML.push('<div class="event-list-text">&nbsp;</div>');
702            } else {
703                statusHTML.push('<div class="event-list-text">'+p[j].TOPIC+'</div>');
704            }
705            if (p[j].DESCRIPTION != '') {
706                statusHTML.push('<div class="event-list-text">'+p[j].DESCRIPTION+'</div>');
707            }
708
709            statusHTML.push('<div class="event-list-sep"></div>   ');
710                            }
711            statusHTML.push('<div class="event-list-sep"><a href="https://www.ismyrotaryclub.com/wp_api_prod_1-1/R_ListSpeakers.cfm?ClubID=2952&Cat=1,2,3,4,5,6,7" class="various2" data-fancybox-type="iframe">List All Speakers</a></div>   ');
712            }
713    if ($("#speakerspage").length) {
714     document.getElementById('speakerspage').innerHTML = statusHTML.join('');
715    }
716}
717// Stories
718function showStory(json){
719    var statusHTML = [];
720    var imageSide = 1;
721    for (var i=0; i<json.length; i++) {
722        var p = json[i];
723        for (var j=0; j<p.length; j++) {
724            if (! p[j].HEADLINE) {
725                statusHTML.push('<div class="" style="overflow:hidden;">');
726                statusHTML.push('<div class="stories-summary">'+p[j].SUMMARY+'</div>');
727            } else {
728                statusHTML.push('<div class="" style="overflow:hidden;">');
729                statusHTML.push('<div class="stories-headline">'+p[j].HEADLINE+'');
730
731                
732                statusHTML.push('</div><div>');
733        
734                var summary = p[j].SUMMARY;
735                var summary = summary.replace(new RegExp("directory-online.com", 'g'), "DACdb.com");
736                var summary = summary.replace(new RegExp("http://DACdb.com/", 'g'), "https://www.dacdb.com/");
737                var summary = summary.replace(new RegExp("http://www.dacdb.com/", 'g'), "https://www.dacdb.com/");
738                
739
740                var description = p[j].DESCRIPTION;
741                var description = description.replace(new RegExp("directory-online.com", 'g'), "DACdb.com");
742                var description = description.replace(new RegExp("http://DACdb.com/", 'g'), "https://www.dacdb.com/");
743                var description = description.replace(new RegExp("http://www.dacdb.com/", 'g'), "https://www.dacdb.com/");
744
745
746                if (p[j].IMAGE) {
747
748                    var story_image = p[j].IMAGE;
749                    // var story_image = story_image.replace("http://www.dacdb.com/", "https://www.dacdb.com/");
750                    var story_image = story_image.replace(new RegExp("directory-online.com", 'g'), "DACdb.com");
751                    var story_image = story_image.replace(new RegExp("http://DACdb.com/", 'g'), "https://www.dacdb.com/");
752                    var story_image = story_image.replace(new RegExp("http://www.dacdb.com/", 'g'), "https://www.dacdb.com/");
753
754                    if (imageSide == 1) {
755                        statusHTML.push('</div><div id="summary-'+p[j].STORYID+'" class="stories-summary"><img src="'+story_image+'" align="left" style="margin-right:10px;width:150px;" class="img-thumbnail">'+summary+'</div>');
756                        imageSide = 2;
757                    } else {
758                        statusHTML.push('</div><div id="summary-'+p[j].STORYID+'" class="stories-summary"><img src="'+story_image+'" align="right" style="margin-left:10px;width:150px;" class="img-thumbnail">'+summary+'</div>');
759                        imageSide = 1;
760                    }
761                }  else {
762                    statusHTML.push('</div><div id="summary-'+p[j].STORYID+'" class="stories-summary">'+summary+'</div>');
763                }
764                if (p[j].DESCRIPTION) {
765                                            statusHTML.push('<div id="description-'+p[j].STORYID+'" class="stories-summary" style="display:none;">'+description+'</div>');
766                        statusHTML.push('<a href="javascript:void(0)" onclick="Show_Div('+p[j].STORYID+')" id="more-'+p[j].STORYID+'">Read More</a>');
767                                    }
768
769                                                                
770        
771                    statusHTML.push('</div>');
772                    statusHTML.push('<hr>');
773            }
774        }
775                }
776    if ($("#Stories").length) {
777    document.getElementById('Stories').innerHTML = statusHTML.join('');
778    }
779}
780// district stories for clubs
781function showDistrictStory(json){
782    var statusHTML = [];
783    var imageSide = 1;
784    for (var i=0; i<json.length; i++) {
785        var p = json[i];
786            statusHTML.push('<h3>District Stories</h3><br>');
787        for (var j=0; j<p.length; j++) {
788            if (! p[j].HEADLINE) {
789                statusHTML.push('<div class="" style="overflow:hidden;">');
790                statusHTML.push('<div class="stories-summary">'+p[j].SUMMARY+'</div>');
791            } else {
792                statusHTML.push('<div class="" style="overflow:hidden;">');
793                statusHTML.push('<div class="stories-headline">'+p[j].HEADLINE+'');
794                statusHTML.push('</div><div>');
795                if (p[j].BITSTORYDATE == 1) {
796                    statusHTML.push('<span class="stories-date">'+p[j].STORYDATE+'</span><br>');
797                }
798                if (p[j].BITBYLINE) {
799                    statusHTML.push('<span class="stories-submitted">By: '+p[j].CREATED_BY+'</span>');
800                }
801
802                var summary = p[j].SUMMARY;
803                // var summary = summary.replace(new RegExp("http://www.dacdb.com/", 'g'), "https://www.dacdb.com/");
804                var summary = summary.replace(new RegExp("directory-online.com", 'g'), "DACdb.com");
805                var summary = summary.replace(new RegExp("http://DACdb.com/", 'g'), "https://www.dacdb.com/");
806                var summary = summary.replace(new RegExp("http://www.dacdb.com/", 'g'), "https://www.dacdb.com/");
807
808                var description = p[j].DESCRIPTION;
809                // var description = description.replace(new RegExp("http://www.dacdb.com/", 'g'), "https://www.dacdb.com/");
810                var description = description.replace(new RegExp("directory-online.com", 'g'), "DACdb.com");
811                var description = description.replace(new RegExp("http://DACdb.com/", 'g'), "https://www.dacdb.com/");
812                var description = description.replace(new RegExp("http://www.dacdb.com/", 'g'), "https://www.dacdb.com/");
813
814
815                if (p[j].IMAGE) {
816
817                    var story_image = p[j].IMAGE;
818                    // var story_image = story_image.replace("http://www.dacdb.com/", "https://www.dacdb.com/");
819                    var story_image = story_image.replace(new RegExp("directory-online.com", 'g'), "DACdb.com");
820                    var story_image = story_image.replace(new RegExp("http://DACdb.com/", 'g'), "https://www.dacdb.com/");
821                    var story_image = story_image.replace(new RegExp("http://www.dacdb.com/", 'g'), "https://www.dacdb.com/");
822
823                    if (imageSide == 1) {
824                        statusHTML.push('</div><div id="summary-'+p[j].STORYID+'" class="stories-summary"><img src="'+story_image+'" align="left" style="margin-right:10px;width:150px;" class="img-thumbnail">'+summary+'</div>');
825                        imageSide = 2;
826                    } else {
827                        statusHTML.push('</div><div id="summary-'+p[j].STORYID+'" class="stories-summary"><img src="'+story_image+'" align="right" style="margin-left:10px;width:150px;" class="img-thumbnail">'+summary+'</div>');
828                        imageSide = 1;
829                    }
830                }  else {
831                    statusHTML.push('</div><div id="summary-'+p[j].STORYID+'" class="stories-summary">'+summary+'</div>');
832                }
833                if (p[j].DESCRIPTION) {
834                        statusHTML.push('<div id="description-'+p[j].STORYID+'" class="stories-summary" style="display:none;">'+description+'</div>');
835                        statusHTML.push('<a href="javascript:void(0)" onclick="Show_Div('+p[j].STORYID+')" id="more-'+p[j].STORYID+'">Read More</a>');
836                }
837
838                
839                    statusHTML.push('</div>');
840                    statusHTML.push('<hr>');
841            }
842        }
843    }
844    if ($("#districtstoriespage").length) {
845    document.getElementById('districtstoriespage').innerHTML = statusHTML.join('');
846    }
847}
848
849
850// Club Leaders
851function showLeaders(json){
852    var statusHTML = [];
853        for (var i=0; i<json.length; i++) {
854            var p = json[i];
855            statusHTML.push('<ul class="list-group" id="contact-list">');
856            for (var j=0; j<p.length; j++) {
857                                    statusHTML.push('<li class="list-group-item"><div class="col-xs-12 text-left" style=""><strong>'+p[j].CLUBPOSITION+'</strong></div><div class="col-xs-12 col-sm-4" style="padding-left:0px !important;padding-right:0px !important;">');
858                    if (p[j].IMAGE.length > 0)
859                            statusHTML.push('<img src="'+p[j].IMGPATH+p[j].IMAGE+'" alt="" class="img-responsive thumbnail" />');
860                    else
861                            statusHTML.push('<img src="../../websites_core/images/no_image.jpg" alt="" class="img-responsive thumbnail" />');
862                            statusHTML.push('</div><div class="col-xs-12 col-sm-8 text-left">');
863                                                        statusHTML.push('<span class="name name-leader">'+p[j].MEMBERNAME+'</div>');
864                                    
865                statusHTML.push('<div class="clearfix"></div>');
866                statusHTML.push('<div class="clborder" style="border-bottom:1px solid #ccc; padding-top:0px;"></div></li>');
867                }
868            statusHTML.push('</ul>');
869            }
870if ($("#clubleaders").length) {
871  document.getElementById('clubleaders').innerHTML = statusHTML.join('');
872}          
873     
874}
875
876function showLeadersPage(json){
877    var statusHTML = [];
878    var loopcount = 0;
879        for (var i=0; i<json.length; i++) {
880            var p = json[i];
881            statusHTML.push('<h3>Club Leaders</h3><br>');
882                for (var j=0; j<p.length; j++) {
883                        loopcount = loopcount + 1;
884
885                    
886                                                    statusHTML.push('<div class="col-sm-6 clearfix" style="min-height:210px;margin-bottom:10px;">');
887                            statusHTML.push('<table>');
888                                statusHTML.push('<tr>');
889                                    statusHTML.push('<td style="min-width:150px;padding-right:5px;" valign="top">');
890                        
891
892                            if (p[j].IMAGE.length > 0) {
893                                statusHTML.push('<div style="border:1px solid #0E2A44;padding:3px;"><div class="thumbnail-div"><img src="'+p[j].IMGPATH+p[j].IMAGE+'" class="img-responsive thumbnail-fit" /></div></div>');
894                            } else {
895                                statusHTML.push('<div style="border:1px solid #0E2A44;padding:3px;"><div class="thumbnail-div"><img src="../../websites_core/images/no_image.jpg" class="img-responsive thumbnail-fit"  /></div></div>');        
896                            }
897                            statusHTML.push('</td>');
898                                        statusHTML.push('<td valign="top
898">');
899                                                                        statusHTML.push('<span class="name"><b>'+p[j].MEMBERNAME+'</b></div>');
900                                                                statusHTML.push('<br>'+p[j].CLUBPOSITION+'');
901                            statusHTML.push('</td>');
902                        statusHTML.push('</tr>');
903                    statusHTML.push('</table>');
904                    statusHTML.push('</div>');
905                }
906            //statusHTML.push('</ul>');
907
908            }
909    if ($("#clubleaderspage").length) {
910        document.getElementById('clubleaderspage').innerHTML = statusHTML.join('');
911    }
912}
913
914// District Leaders
915function showDistrictLeaders(json){
916    var statusHTML = [];
917        for (var i=0; i<json.length; i++) {
918            var p = json[i];
919            statusHTML.push('<ul class="list-group" id="contact-list">');
920            for (var j=0; j<p.length; j++) {
921                                        statusHTML.push('<li class="list-group-item"><div class="col-xs-12 text-left" style=""><strong>'+p[j].COMMITTEEPOSITION+'</strong></div><div class="col-xs-12 col-sm-4">');
922                        var IMGPATH = p[j].IMGPATH;
923                        var IMGPATH = IMGPATH.toLowerCase();
924                        var IMGPATH = IMGPATH.replace("http://www.dacdb.com/", "https://www.dacdb.com/");
925
926                        if (p[j].IMAGE.length > 0)
927                                statusHTML.push('<img src="'+IMGPATH+p[j].IMAGE+'" alt="" class="img-responsive img-thumbnail" />');
928                        else
929                                statusHTML.push('<img src="../../websites_core/images/no_image.jpg" alt="" class="img-responsive img-thumbnail" />');
930                        statusHTML.push('</div><div class="col-xs-12 col-sm-8 text-left">');
931                                                    statusHTML.push('<span class="name name-leader">'+p[j].MEMBERNAME+'</div>');
932                            
933                                statusHTML.push('<div class="clearfix"></div>');
934                statusHTML.push('<div style="border-bottom:1px solid #ccc; padding-top:20px;"></div></li>');
935            }
936            statusHTML.push('</ul>');
937        }
938    if ($("#districtleaders").length) {
939     document.getElementById('districtleaders').innerHTML = statusHTML.join('');
940    }
941}
942
943function showDistrictLeadersPage(json){
944    var statusHTML = [];
945       for (var i=0; i<json.length; i++) {
946            var p = json[i];
947            statusHTML.push('<h3>District Leaders</h3><br>');
948                for (var j=0; j<p.length; j++) {
949                        // loopcount = loopcount + 1;
950                        
951                                                            
952                                                                    statusHTML.push('<div class="col-sm-6 clearfix" style="min-height:210px;margin-bottom:10px;">');
953                                    statusHTML.push('<table>');
954                                        statusHTML.push('<tr>');
955                                            statusHTML.push('<td style="min-width:150px;padding-right:5px;" valign="top">');
956                                
957                                if (p[j].IMAGE.length > 0) {
958                                    var IMGPATH = p[j].IMGPATH;
959                                    var IMGPATH = IMGPATH.toLowerCase();
960                                    var IMGPATH = IMGPATH.replace("http://www.dacdb.com/", "https://www.dacdb.com/");
961
962                                    statusHTML.push('<div style="border:1px solid #0E2A44;padding:3px;"><div class="thumbnail-div"><img src="'+IMGPATH+p[j].IMAGE+'" class="img-responsive thumbnail-fit"  alt=""  /></div></div>');
963                                } else {
964                                    statusHTML.push('<div style="border:1px solid #0E2A44;padding:3px;"><div class="thumbnail-div"><img src="../../websites_core/images/no_image.jpg" class="img-responsive thumbnail-fit"  alt=""  /></div></div>');        
965                                }
966                                statusHTML.push('</td>');
967
968                                                    
969
970                            statusHTML.push('<td valign="top">');
971                                                                        statusHTML.push('<span class="name"><b>'+p[j].MEMBERNAME+'</b></div>');
972                                                                statusHTML.push('<br>'+p[j].COMMITTEEPOSITION+'');
973                            statusHTML.push('</td>');
974                        statusHTML.push('</tr>');
975                    statusHTML.push('</table>');
976                    statusHTML.push('</div>');
977                }
978            }
979    if ($("#districtleaderspage").length) {
980     document.getElementById('districtleaderspage').innerHTML = statusHTML.join('');
981    }
982}
983
984// Meeting info with image
985function showClubMeetingsInfo(json) {
986    var statusHTML = [];
987        for (var i=0; i<json.length; i++) {
988            var p = json[i];
989            for (var j=0; j<p.length; j++) {
990                                                statusHTML.push('<div class="msg-title">');
991                        statusHTML.push('Meeting Location');
992                        statusHTML.push('</div> ');
993                                                statusHTML.push('<div class="meeting-image pull-left"><img src="images/meeting_image.jpg" class="img-thumbnail" width="130"/></div>');
994                        statusHTML.push('<div class="meeting-time text-center">'+p[j].MEETINGDAY+'<br>'+p[j].MEETINGTIME+'<br><br>');
995
996
997                        // statusHTML.push('    <a href="'+p[j].LATLNG+'" target="new" class="btn btn-xs btn-default">Map It</a>');
998  
999                        
1000                        statusHTML.push('<a href="https://www.google.com/maps/search/?api=1&query='+p[j].MEETINGADDRESS+''+p[j].MEETINGCITY+', '+p[j].MEETINGSTATECODE+' '+p[j].MEETINGPOSTALCODE+'" target="new" class="btn btn-xs btn-default">Map It</a>');
1001                        statusHTML.push('</div>');
1002                        statusHTML.push('<div class="meeting-location">');
1003                        statusHTML.push('    <strong>'+p[j].MEETINGPLACE+'</strong><br>');
1004                        if ( p[j].MEETINGADDRESS2 == '') {
1005                            statusHTML.push('    '+p[j].MEETINGADDRESS+' <br>');
1006                        } else {
1007                            statusHTML.push('    '+p[j].MEETINGADDRESS+', '+p[j].MEETINGADDRESS2+'<br>');
1008                        }
1009                        
1010                        if ( p[j].MEETINGADDRESS3 != '') {
1011                            statusHTML.push('    '+p[j].MEETINGADDRESS3+' <br>');
1012                        }
1013
1014                        statusHTML.push('    '+p[j].MEETINGCITY+', '+p[j].MEETINGSTATECODE+' '+p[j].MEETINGPOSTALCODE+'<br><br>');
1015                        statusHTML.push('</div>');
1016
1017                                        }
1018            }
1019    if ($("#ClubMeetingsInfo").length) {
1020     document.getElementById('ClubMeetingsInfo').innerHTML = statusHTML.join('');
1021    }
1022}
1023// Meeting info no photo
1024function showClubMeetingsInfoNoPhoto(json) {
1025    var statusHTML = [];
1026        for (var i=0; i<json.length; i++) {
1027            var p = json[i];
1028            for (var j=0; j<p.length; j++) {
1029                                                statusHTML.push('<div class="msg-title">');
1030                        statusHTML.push('Meeting Location');
1031                        statusHTML.push('</div> ');
1032                                                statusHTML.push('<div class="meeting-location">');
1033                        statusHTML.push('   '+p[j].MEETINGDAY+' - '+p[j].MEETINGTIME+'<br><br>');
1034                        statusHTML.push('    <strong>'+p[j].MEETINGPLACE+'</strong><br>');
1035
1036                        if ( p[j].MEETINGADDRESS2 == '') {
1037                            statusHTML.push('    '+p[j].MEETINGADDRESS+' <br>');
1038                        } else {
1039                            statusHTML.push('    '+p[j].MEETINGADDRESS+', '+p[j].MEETINGADDRESS2+'<br>');
1040                        }
1041                        
1042                        if ( p[j].MEETINGADDRESS3 != '') {
1043                            statusHTML.push('    '+p[j].MEETINGADDRESS3+' <br>');
1044                        }
1045
1046                        statusHTML.push('    '+p[j].MEETINGCITY+', '+p[j].MEETINGSTATECODE+' '+p[j].MEETINGPOSTALCODE+'<br><br>');
1047                        statusHTML.push('<a href="https://www.google.com/maps/search/?api=1&query='+p[j].MEETINGADDRESS+''+p[j].MEETINGCITY+', '+p[j].MEETINGSTATECODE+' '+p[j].MEETINGPOSTALCODE+'" target="new" class="btn btn-xs btn-default">Map It</a>');
1048                        // statusHTML.push('    <a href="'+p[j].LATLNG+'" target="new" class="btn btn-xs btn-default">Map It</a>');
1049                        statusHTML.push('</div>');
1050
1051                                        }
1052            }
1053    if ($("#ClubMeetingsInfo").length) {
1054     document.getElementById('ClubMeetingsInfo').innerHTML = statusHTML.join('');
1055    }
1056}
1057// Club events
1058function showEvents(json){
1059    var statusHTML = [];
1060    for (var i=0; i<json.length; i++) {
1061        var p = json[i];
1062
1063        for (var j=0; j<p.length; j++) {
1064         
1065            if ( p[j].SPEAKER == '') {
1066                try {
1067                    var sd = Date.parseDate(p[j].STARTDATE, "F, d Y g:i:s");
1068                    var ed = Date.parseDate(p[j].ENDDATE, "F, d Y g:i:s");
1069
1070                    var sd1 = sd.dateFormat("M dS");
1071                    var ed1 = ed.dateFormat("M dS");
1072
1073                    if (sd1 != ed1) {
1074                        statusHTML.push('<div class="event-list-date">'+ sd.dateFormat("M dS") +' - '+ ed.dateFormat("M dS") +'</div>');
1075                    } else {
1076                        statusHTML.push('<div class="event-list-date">'+ sd.dateFormat("F dS") +'</div>');
1077                    }
1078                    statusHTML.push('<div class="event-list-text"><a href="https://www.ismyrotaryclub.com/wp_api_prod_1-1/R_Event.cfm?EventID='+p[j].EVENTID+'&fixImages=0&fixTables=0" class="various2" data-fancybox-type="iframe">'+p[j].EVENTNAME+'</a></div>');
1079                    statusHTML.push('<div class="event-list-sep"></div>   ');
1080                } catch(e) {
1081                    var sd = Date.parseDate(p[j].STARTDATE, "F, d Y g:i:s");
1082                    statusHTML.push('<div class="event-list-date">'+ sd.dateFormat("F dS") +'</div>');
1083                    statusHTML.push('<div class="event-list-text"><a href="https://www.ismyrotaryclub.com/wp_api_prod_1-1/R_Event.cfm?EventID='+p[j].EVENTID+'&fixImages=0&fixTables=0" class="various2" data-fancybox-type="iframe">'+p[j].EVENTNAME+'</a></div>');
1084                    statusHTML.push('<div class="event-list-sep"></div>   ');
1085                }
1086            }
1087         
1088        }
1089    if (p.length == 0){
1090        statusHTML.push('No Club Events<div class="bulletin-list-sep"></div>   ');
1091    } else {
1092        statusHTML.push('<div style="font-size:10pt;text-align:right;"><a href="?p=events">See more events <i class="fa fa-caret-right" aria-hidden="true"></i></a></div>');
1093    }
1094
1095    }
1096    if ($("#Events").length) {
1097 document.getElementById('Events').innerHTML = statusHTML.join('');
1098    }
1099}
1100
1101function showEventsPage(json){
1102    var statusHTML = [];
1103    for (var i=0; i<json.length; i++) {
1104        var p = json[i];
1105            statusHTML.push('<h3>Club Events</h3><br>');
1106        for (var j=0; j<p.length; j++) {
1107              
1108            if ( p[j].SPEAKER == '') {
1109            try {
1110                var sd = Date.parseDate(p[j].STARTDATE, "F, d Y g:i:s");
1111                var ed = Date.parseDate(p[j].ENDDATE, "F, d Y g:i:s");
1112                var sd1 = sd.dateFormat("M dS");
1113                var ed1 = ed.dateFormat("M dS");
1114                                if (sd1 != ed1) {
1115                    statusHTML.push('<div class="event-list-date">'+p[j].STARTDAY+' '+ sd.dateFormat("F dS") +' - '+p[j].ENDDAY+' ' + ed.dateFormat("F dS") +'</div>');
1116                } else {
1117                    statusHTML.push('<div class="event-list-date">'+p[j].STARTDAY+' '+ sd.dateFormat("F dS") +'</div>');
1118                }
1119                                statusHTML.push('<div class="event-list-text"><a href="https://www.ismyrotaryclub.com/wp_api_prod_1-1/R_Event.cfm?EventID='+p[j].EVENTID+'&fixImages=0&fixTables=0" class="various2" data-fancybox-type="iframe">'+p[j].EVENTNAME+'</a></div>');
1120                statusHTML.push('<div class="event-list-text">'+ sd.dateFormat("g:i a") +' to '+ ed.dateFormat("g:i a") +'</div>');
1121                statusHTML.push('<div class="event-list-sep"></div>   ');
1122                            }
1123            catch(e) {
1124                                var sd = Date.parseDate(p[j].STARTDATE, "F, d Y g:i:s");
1125                statusHTML.push('<div class="event-list-date">'+ sd.dateFormat("F dS") +'</div>');
1126
1127                // here
1128
1129                                statusHTML.push('<div class="event-list-text"><a href="https://www.ismyrotaryclub.com/wp_api_prod_1-1/R_Event.cfm?EventID='+p[j].EVENTID+'&fixImages=0&fixTables=0" class="various2" data-fancybox-type="iframe">'+p[j].EVENTNAME+'</a></div>');
1130                statusHTML.push('<div class="event-list-text">'+ sd.dateFormat("g:i a") +'</div>');
1131                statusHTML.push('<div class="event-list-sep"></div>   ');
1132                            }
1133            }
1134         
1135        }
1136
1137    }
1138    if ($("#eventspage").length) {
1139        document.getElementById('eventspage').innerHTML = statusHTML.join('');
1140    }
1141}
1142// District Events
1143function showMDEvents(json){
1144    var statusHTML = [];
1145    for (var i=0; i<json.length; i++) {
1146        var p = json[i];
1147        for (var j=0; j<p.length; j++) {
1148            try {
1149                var sd = Date.parseDate(p[j].STARTDATE, "F, d Y g:i:s");
1150                var ed = Date.parseDate(p[j].ENDDATE, "F, d Y g:i:s");
1151                var sd1 = sd.dateFormat("M dS");
1152                var ed1 = ed.dateFormat("M dS");
1153                if (sd1 != ed1) {
1154                    statusHTML.push('<div class="event-list-date">'+ sd.dateFormat("M dS") +' - '+ ed.dateFormat("M dS") +'</div>');
1155                } else {
1156                    statusHTML.push('<div class="event-list-date">'+ sd.dateFormat("F dS") +'</div>');
1157                }
1158                statusHTML.push('<div class="event-list-text"><a href="https://www.ismyrotaryclub.com/wp_api_prod_1-1/R_Event.cfm?EventID='+p[j].EVENTID+'&fixImages=0&fixTables=0" class="various2" data-fancybox-type="iframe">'+p[j].EVENTNAME+'</a></div>');
1159                statusHTML.push('<div class="event-list-sep"></div>   ');
1160            } catch(e) {
1161                var sd = Date.parseDate(p[j].STARTDATE, "F, d Y g:i:s");
1162                var sd1 = sd.dateFormat("M dS");
1163                statusHTML.push('<div class="event-list-date">'+ sd.dateFormat("F dS") +'</div>');
1164                statusHTML.push('<div class="event-list-text"><a href="https://www.ismyrotaryclub.com/wp_api_prod_1-1/R_Event.cfm?EventID='+p[j].EVENTID+'&fixImages=0&fixTables=0" class="various2" data-fancybox-type="iframe">'+p[j].EVENTNAME+'</a></div>');
1165                statusHTML.push('<div class="event-list-sep"></div>   ');
1166            }
1167        }
1168    if (p.length == 0){
1169        statusHTML.push('No District Events<div class="bulletin-list-sep"></div>   ');
1170    } else {
1171        statusHTML.push('<div style="font-size:10pt;text-align:right;"><a href="?p=districtevents">See more events <i class="fa fa-caret-right" aria-hidden="true"></i></a></div>');
1172    }
1173    }
1174    if ($("#MDEvents").length) {
1175 document.getElementById('MDEvents').innerHTML = statusHTML.join('');
1176    }
1177}
1178
1179function showMDEventsPage(json){
1180    var statusHTML = [];
1181    for (var i=0; i<json.length; i++) {
1182        var p = json[i];
1183            statusHTML.push('<h3>District Events</h3><br>');
1184        for (var j=0; j<p.length; j++) {
1185            try {
1186                var sd = Date.parseDate(p[j].STARTDATE, "F, d Y g:i:s");
1187                var ed = Date.parseDate(p[j].ENDDATE, "F, d Y g:i:s");
1188                var sd1 = sd.dateFormat("M dS");
1189                var ed1 = ed.dateFormat("M dS");
1190                                if (sd1 != ed1) {
1191                    statusHTML.push('<div class="event-list-date">'+p[j].STARTDAY+' '+ sd.dateFormat("F dS") +' - '+p[j].STARTDAY+' ' + ed.dateFormat("F dS") +'</div>');
1192                } else {
1193                    statusHTML.push('<div class="event-list-date">'+p[j].STARTDAY+' '+ sd.dateFormat("F dS") +'</div>');
1194                }
1195                statusHTML.push('<div class="event-list-text"><a href="https://www.ismyrotaryclub.com/wp_api_prod_1-1/R_Event.cfm?EventID='+p[j].EVENTID+'&fixImages=0&fixTables=0" class="various2" data-fancybox-type="iframe">'+p[j].EVENTNAME+'</a></div>');
1196                statusHTML.push('<div class="event-list-text">'+ sd.dateFormat("g:i a") +' to '+ ed.dateFormat("g:i a") +'</div>');
1197                statusHTML.push('<div class="event-list-sep"></div>   ');
1198                            }
1199            catch(e) {
1200                                var sd = Date.parseDate(p[j].STARTDATE, "F, d Y g:i:s");
1201                statusHTML.push('<div class="event-list-date">'+ sd.dateFormat("F dS") +'</div>');
1202                statusHTML.push('<div class="event-list-text"><a href="https://www.ismyrotaryclub.com/wp_api_prod_1-1/R_Event.cfm?EventID='+p[j].EVENTID+'&fixImages=0&fixTables=0" class="various2" data-fancybox-type="iframe">'+p[j].EVENTNAME+'</a></div>');
1203                statusHTML.push('<div class="event-list-text">'+ sd.dateFormat("g:i a") +'</div>');
1204                statusHTML.push('<div class="event-list-sep"></div>   ');
1205                            }
1206        }
1207    }
1208    if ($("#districteventspage").length) {
1209 document.getElementById('districteventspage').innerHTML = statusHTML.join('');
1210    }
1211}
1212//ClubPresidents
1213// function ClubPresidents(json){
1214//     var statusHTML = [];
1215//     var loopCount = 0;
1216//     for (var i=0; i<json.length; i++) {
1217//         var p = json[i];
1218//                 statusHTML.push('<h3>District 6360 Club Presidents</h3>');
1219//                 statusHTML.push('<div>&nbsp;</div>');
1220
1221//         for (var j=0; j<p.length; j++) {
1222//             if ( loopCount == 0 ) {
1223//                 statusHTML.push('<div class="row">');
1224//             }
1225//             //                 statusHTML.push('<div class="col-xs-12 col-sm-6 col-md-6"><div class="well well-sm"><div class="row"><div class="col-sm-6 col-md-4">');
1226//               
1227
1228//                 if (p[j].IMAGE.length > 0) {
1229//                     var IMGPATH = p[j].IMGPATH;
1230//                 var IMGPATH = IMGPATH.toLowerCase();
1231//                 var IMGPATH = IMGPATH.replace("http://www.dacdb.com/", "https://www.dacdb.com/");
1232
1233//                     statusHTML.push('<img src="'+IMGPATH+''+p[j].IMAGE+'" class="img-thumbnail img-responsive">');
1234//                 } else {
1235//                     statusHTML.push('<img src="../../websites_core/images/no_image.jpg" class="img-thumbnail img-responsive">');
1236//                 }
1237//                 statusHTML.push('</div><div class="col-sm-6 col-md-8">');
1238//                 statusHTML.push('<h4><a href="R_Emailer.cfm?UserID='+p[j].MEMBERID+'" class="various" data-fancybox-type="iframe"><b>'+p[j].MEMBERNAME+'</b></a></h4>');
1239//                 statusHTML.push('<h3 style="font-size: 16px;">'+p[j].CLUBNAME+'</h3>');
1240
1241//                 statusHTML.push('</div></div></div></div>');      
1242//             loopCount++;
1243//             if ( loopCount == 2 ) {
1244//                 statusHTML.push('</div>');
1245//                 loopCount = 0;
1246//             }
1247//         }
1248//     }
1249//     if ($("#clubpresidentspage").length) {
1250//      document.getElementById('clubpresidentspage').innerHTML = statusHTML.join('');
1251//     }
1252// }
1253
1254function ClubPresidents(json){
1255
1256    var statusHTML = [];
1257   for (var i=0; i<json.length; i++) {
1258        var p = json[i];
1259
1260        statusHTML.push('<h3>District 6360 Club Presidents</h3><br>');
1261            for (var j=0; j<p.length; j++) {
1262                    // loopcount = loopcount + 1;
1263                                            statusHTML.push('<div class="col-sm-6 clearfix" style="min-height:210px;margin-bottom:10px;">');
1264                        statusHTML.push('<table>');
1265                            statusHTML.push('<tr>');
1266                                statusHTML.push('<td style="min-width:150px;padding-right:5px;" valign="top">');
1267                            if (p[j].IMAGE.length > 0) {
1268            var IMGPATH = p[j].IMGPATH;
1269            var IMGPATH = IMGPATH.toLowerCase();
1270            var IMGPATH = IMGPATH.replace("http://www.dacdb.com/", "https://www.dacdb.com/");
1271
1272            statusHTML.push('<div style="border:1px solid #0E2A44;padding:3px;"><div class="thumbnail-div"><img src="'+IMGPATH+p[j].IMAGE+'" class="img-responsive thumbnail-fit"  alt=""  /></div></div>');
1273        } else {
1274            statusHTML.push('<div style="bord
1274er:1px solid #0E2A44;padding:3px;"><div class="thumbnail-div"><img src="../../websites_core/images/no_image.jpg" class="img-responsive thumbnail-fit"  alt=""  /></div></div>');        
1275        }
1276                        statusHTML.push('</td>');
1277                        statusHTML.push('<td valign="top">');
1278                                                                statusHTML.push('<span class="name"><b>'+p[j].MEMBERNAME+'</b></div>');
1279                                            statusHTML.push('<h3 style="font-size: 14px;">'+p[j].CLUBNAME+'</h3>');
1280                        statusHTML.push('</td>');
1281                    statusHTML.push('</tr>');
1282                statusHTML.push('</table>');
1283                statusHTML.push('</div>');
1284            }
1285        }
1286
1287if ($("#clubpresidentspage").length) {
1288 document.getElementById('clubpresidentspage').innerHTML = statusHTML.join('');
1289}
1290}
1291
1292//DistrictCommittee
1293function DistrictCommittee(json){
1294    var statusHTML = [];
1295    var loopCount = 0;
1296    for (var i=0; i<json.length; i++) {
1297        var p = json[i];
1298                statusHTML.push('<h3>District 6360 Committee Chairs</h3>');
1299                statusHTML.push('<div>&nbsp;</div>');
1300
1301        for (var j=0; j<p.length; j++) {
1302            if ( loopCount == 0 ) {
1303                statusHTML.push('<div class="row">');
1304            }
1305                            statusHTML.push('<div class="col-xs-12 col-sm-6 col-md-6"><div class="well well-sm"><div class="row"><div class="col-sm-6 col-md-4">');
1306            
1307                if (p[j].IMAGE.length > 0) {
1308                    statusHTML.push('<img src="https://www.dacdb.com/Rotary/Accounts/6360/Pics/'+p[j].IMAGE+'" class="img-thumbnail img-responsive">');
1309                } else {
1310                    statusHTML.push('<img src="../../websites_core/images/no_image.jpg" class="img-thumbnail img-responsive">');
1311                }
1312                statusHTML.push('</div><div class="col-sm-6 col-md-8">');
1313
1314                                        statusHTML.push('<h4><b>'+p[j].MEMBERNAME+'</b></h4>');
1315//  mrl                 statusHTML.push('<h4><a href="https://www.ismyrotaryclub.com/wp_api_prod_1-1/R_Emailer.cfm?UserID='+p[j].USERID+'" class="various" data-fancybox-type="iframe"><b>'+p[j].MEMBERNAME+'</b></a></h4>');
1316                  
1317// mrl chg too to membername                statusHTML.push('<h4><a href="https://www.ismyrotaryclub.com/wp_api_prod_1-1/R_Emailer.cfm?UserID='+p[j].USERID+'" class="various" data-fancybox-type="iframe"><b>'+p[j].USERNAME+'</b></a></h4>');
1318                statusHTML.push('<b>'+p[j].COMMITTEEPOSITION+'</b>');
1319                statusHTML.push('<br>'+p[j].COMMITTEENAME+'');
1320                statusHTML.push('<br><br>'+p[j].CLUBNAME+'');
1321
1322                statusHTML.push('</div></div></div></div>');         
1323            loopCount++;
1324            if ( loopCount == 2 ) {
1325                statusHTML.push('</div>');
1326                loopCount = 0;
1327            }
1328        }       
1329    }
1330    if ($("#districtcommitteepage").length) {
1331     document.getElementById('districtcommitteepage').innerHTML = statusHTML.join('');
1332    }
1333}
1334// Committee by RoleKey
1335function Committee(json){
1336    var statusHTML = [];
1337    var headercount = 1;
1338    for (var i=0; i<json.length; i++) {
1339        var p = json[i];
1340
1341        for (var j=0; j<p.length; j++) {
1342
1343
1344                if ( headercount == 1) {
1345                    statusHTML.push('<h3>'+p[j].COMMITTEENAME+'</h3>');
1346                    statusHTML.push('<div>&nbsp;</div>');
1347                    headercount = 2;
1348                }
1349                                
1350                    // if (p[j].COMMITTEEPOSITION != "Member") {
1351                            statusHTML.push('<div class="row"><div class="col-xs-12 col-sm-12 col-md-12"><div class="well well-sm"><div class="row"><div class="col-sm-6 col-md-4">');
1352
1353                if (p[j].IMAGE.length > 0) {
1354                    statusHTML.push('<img src="'+p[j].IMGPATH+''+p[j].IMAGE+'" class="img-thumbnail img-responsive">');
1355                } else {
1356                    statusHTML.push('<img src="../../websites_core/images/no_image.jpg" class="img-thumbnail img-responsive">');
1357                }
1358                statusHTML.push('</div><div class="col-sm-6 col-md-8">');
1359                statusHTML.push('<h4><a href="https://www.ismyrotaryclub.com/wp_api_prod_1-1/R_Emailer.cfm?UserID='+p[j].MEMBERID+'" class="various" data-fancybox-type="iframe"><b>'+p[j].USERNAME+'</b></a></h4>');
1360                statusHTML.push('<h3 style="font-size: 16px;">'+p[j].COMMITTEEPOSITION+'</h3>');
1361                statusHTML.push('<br>'+p[j].CLUBNAME+'');
1362                if (p[j].REGION.length != '') {
1363                    statusHTML.push('<br>Area: '+p[j].REGION+'');
1364                }
1365
1366                statusHTML.push('</div></div></div></div></div>');
1367
1368          
1369        //  }
1370
1371                }
1372    }
1373    if ($("#committeepage").length) {
1374     document.getElementById('committeepage').innerHTML = statusHTML.join('');
1375    }
1376}
1377
1378//CollegeOfGovernors
1379function CollegeOfGovernors(json){
1380    var statusHTML = [];
1381    var loopCount = 0;
1382    for (var i=0; i<json.length; i++) {
1383        var p = json[i];
1384                statusHTML.push('<h3>College Of Governors</h3>');
1385                statusHTML.push('<div>&nbsp;</div>');
1386
1387
1388        for (var j=0; j<p.length; j++) {
1389            if ( loopCount == 0 ) {
1390                statusHTML.push('<div class="row">');
1391            }
1392
1393                            statusHTML.push('<div class="col-xs-12 col-sm-6 col-md-6"><div class="well well-sm"><div class="row"><div class="col-sm-6 col-md-4">');
1394                            if (p[j].IMAGE.length > 0) {
1395                    statusHTML.push('<img src="https://www.dacdb.com/Rotary/Accounts/6360/Pics/'+p[j].IMAGE+'" class="img-thumbnail img-responsive">');
1396                } else {
1397                    statusHTML.push('<img src="../../websites_core/images/no_image.jpg" class="img-thumbnail img-responsive">');
1398                }
1399                statusHTML.push('</div><div class="col-sm-6 col-md-8">');
1400
1401                                        statusHTML.push('<h4><b>'+p[j].MEMBERNAME+'</b></h4>');
1402//  mrl                 statusHTML.push('<h4><a href="https://www.ismyrotaryclub.com/wp_api_prod_1-1/R_Emailer.cfm?UserID='+p[j].USERID+'" class="various" data-fancybox-type="iframe"><b>'+p[j].MEMBERNAME+'</b></a></h4>');
1403                               
1404                statusHTML.push('<h3 style="font-size: 16px;">Year of Service: '+p[j].YEAROFSERVICE+'</h3>');
1405                if (p[j].OFFICEPHONE.length > 0) {
1406                // statusHTML.push('<br>Office: '+p[j].OFFICEPHONE+'');
1407                }
1408                                    if (p[j].CLUBURL.length > 0) {
1409                        statusHTML.push('<br><a href="'+p[j].CLUBURL+'">'+p[j].CLUBNAME+'</a>');
1410                    } else {
1411                        statusHTML.push('<br>'+p[j].CLUBNAME+'');
1412                    }
1413                                statusHTML.push('</div></div></div></div>');
1414                loopCount++;
1415            if ( loopCount == 2 ) {
1416                statusHTML.push('</div>');
1417                loopCount = 0;
1418            }
1419
1420        }
1421
1422
1423    }
1424    if ($("#collegeofgovernorspage").length) {
1425     document.getElementById('collegeofgovernorspage').innerHTML = statusHTML.join('');
1426    }
1427}
1428
1429//Area
1430function Area(){
1431        if ($("#areapage").length) {
1432        document.getElementById('areapage').innerHTML = '';
1433    }
1434}
1435
1436// Committees
1437function showCommittees(json) {
1438    var statusHTML = [];
1439    for (var i=0; i<json.length; i++) {
1440        var p = json[i];
1441                    statusHTML.push('<h3>Rotary Club of Portage Committees</h3>');
1442                    statusHTML.push('<div>&nbsp;</div>');
1443        statusHTML.push('<div class="table-responsive"><table border="1" class="table table-bordered">');
1444        for (var j=0; j<p.length; j++) {
1445            statusHTML.push('<tr>');
1446                var pad = "";
1447                var l = parseInt( p[j].LEVEL );
1448                for (var n=0; n<l; n++)
1449                    pad = 'style="padding-left:30px;"';
1450                if (p[j].ISGDG == 'Y' )
1451                    statusHTML.push('<td '+pad+' ><span style="color:red"> <b>'+p[j].COMMITTEENAME+'</b></span> </td>');
1452                else
1453                    statusHTML.push('<td '+pad+' ><a href="?p=committeemembers&ID='+p[j].COMMITTEEID+'"><b>'+p[j].COMMITTEENAME+'</b></a></td>');
1454                statusHTML.push('<td> '+p[j].ORGYEAR+'</td>');
1455            statusHTML.push('</tr>');
1456        }
1457        statusHTML.push('</tbody></table></div>');
1458    }
1459    if ($("#committeespage").length) {
1460        document.getElementById('committeespage').innerHTML = statusHTML.join('');
1461    }
1462}
1463//CommitteeMembers
1464function showCommitteeMembers(json) {
1465    var statusHTML = [];
1466    var start_count = 1;
1467    for (var i=0; i<json.length; i++) {
1468        var p = json[i];
1469        if (start_count == 1){
1470            
1471            statusHTML.push('<h3><strong>'+p[0].COMMITTEENAME+'</strong></h3>');
1472            $('#ri-title').text(''+p[0].COMMITTEENAME+'');
1473
1474            if (p[0].COMMITTEEDESC.length > 0) {  
1475                var COMMITTEEDESC = p[0].COMMITTEEDESC;
1476                var PUBLICDISPLAY = p[0].PUBLICDISPLAY;
1477                // var COMMITTEEDESC = COMMITTEEDESC.toLowerCase();
1478                var COMMITTEEDESC = COMMITTEEDESC.replace("http://www.dacdb.com/", "https://www.dacdb.com/");
1479                statusHTML.push('<div>'+COMMITTEEDESC+'</div>');
1480            }
1481            start_count = 2;
1482        }
1483        if (PUBLICDISPLAY != 'N') {
1484            statusHTML.push('<h3><strong>Committee Members</strong></h3>');
1485 
1486        }
1487            statusHTML.push('<div class="table-responsive"><table class="table table-condensed table-bordered">');
1488            
1489        if (PUBLICDISPLAY != 'N') {
1490            for (var j=0; j<p.length; j++) {
1491                
1492            var PUBLICDISPLAYx = p[j].PUBLICDISPLAY;
1493            var ISLEADERDISPLAY = p[j].ISLEADERDISPLAY;
1494            var ISCHAIRPOSITION = p[j].ISCHAIRPOSITION;
1495
1496// for all
1497
1498if (PUBLICDISPLAYx == 'A') {
1499
1500statusHTML.push('<tr>');
1501if ( true ) 
1502    statusHTML.push('<td style="max-width:100px;">');         
1503    if (p[j].IMAGE.length > 0) {
1504        
1505    var IMGPATH = p[j].IMGPATH;
1506    var IMGPATH = IMGPATH.toLowerCase();
1507    var IMGPATH = IMGPATH.replace("http://www.dacdb.com/", "https://www.dacdb.com/");
1508
1509        statusHTML.push('<img src="'+IMGPATH+p[j].IMAGE+'" border="0" class="img-responsive img-thumbnail" style="max-width:100px;">');
1510    } else {
1511        statusHTML.push('<img src="../websites_core/images/no_image.jpg" border="0" class="img-responsive img-thumbnail" style="max-width:100px;">');
1512    }
1513statusHTML.push('</td>');
1514statusHTML.push('<td rowspan="1">');
1515statusHTML.push('<div><a href="https://www.ismyrotaryclub.com/wp_api_prod_1-1/R_Emailer.cfm?UserID='+p[j].USERID+'" class="various" data-fancybox-type="iframe"><b>'+p[j].USERNAME+'</b><!-- '+PUBLICDISPLAYx+' '+ISLEADERDISPLAY+' '+ISCHAIRPOSITION+'--></a></div>');
1516statusHTML.push('<div">'+p[j].BUSPOSITION+'</div>');
1517statusHTML.push('<div>'+p[j].CLASSIFICATION+'</div>');
1518statusHTML.push('<td rowspan="1">');
1519statusHTML.push('<div>'+p[j].COMMITTEEPOSITION+'</div>')
1520//statusHTML.push('<div>'+p[j].CLUBNAME+'</div>');
1521statusHTML.push('</td></tr>');
1522
1523} else if (PUBLICDISPLAY == 'L') {
1524
1525if (ISLEADERDISPLAY == 'Y') {
1526
1527    statusHTML.push('<tr>');
1528    if ( true ) 
1529        statusHTML.push('<td style="max-width:100px;">');         
1530        if (p[j].IMAGE.length > 0) {
1531            
1532        var IMGPATH = p[j].IMGPATH;
1533        var IMGPATH = IMGPATH.toLowerCase();
1534        var IMGPATH = IMGPATH.replace("http://www.dacdb.com/", "https://www.dacdb.com/");
1535
1536            statusHTML.push('<img src="'+IMGPATH+p[j].IMAGE+'" border="0" class="img-responsive img-thumbnail" style="max-width:100px;">');
1537        } else {
1538            statusHTML.push('<img src="../websites_core/images/no_image.jpg" border="0" class="img-responsive img-thumbnail" style="max-width:100px;">');
1539        }
1540    statusHTML.push('</td>');
1541    statusHTML.push('<td rowspan="1">');
1542    statusHTML.push('<div><a href="https://www.ismyrotaryclub.com/wp_api_prod_1-1/R_Emailer.cfm?UserID='+p[j].USERID+'" class="various" data-fancybox-type="iframe"><b>'+p[j].USERNAME+'</b> '+PUBLICDISPLAYx+' '+ISLEADERDISPLAY+' '+ISCHAIRPOSITION+'</a></div>');
1543        statusHTML.push('<div">'+p[j].BUSPOSITION+'</div>');
1544    statusHTML.push('<div>'+p[j].CLASSIFICATION+'</div>');
1545        statusHTML.push('<td rowspan="1">');
1546    statusHTML.push('<div>'+p[j].COMMITTEEPOSITION+'</div>')
1547    //statusHTML.push('<div>'+p[j].CLUBNAME+'</div>');
1548    statusHTML.push('</td></tr>');
1549}
1550} else if (PUBLICDISPLAY == 'C') {
1551
1552if (ISCHAIRPOSITION == 'Y') {
1553
1554    statusHTML.push('<tr>');
1555    if ( true ) 
1556        statusHTML.push('<td style="max-width:100px;">');         
1557        if (p[j].IMAGE.length > 0) {
1558            
1559        var IMGPATH = p[j].IMGPATH;
1560        var IMGPATH = IMGPATH.toLowerCase();
1561        var IMGPATH = IMGPATH.replace("http://www.dacdb.com/", "https://www.dacdb.com/");
1562
1563            statusHTML.push('<img src="'+IMGPATH+p[j].IMAGE+'" border="0" class="img-responsive img-thumbnail" style="max-width:100px;">');
1564        } else {
1565            statusHTML.push('<img src="../websites_core/images/no_image.jpg" border="0" class="img-responsive img-thumbnail" style="max-width:100px;">');
1566        }
1567    statusHTML.push('</td>');
1568    statusHTML.push('<td rowspan="1">');
1569    statusHTML.push('<div><a href="https://www.ismyrotaryclub.com/wp_api_prod_1-1/R_Emailer.cfm?UserID='+p[j].USERID+'" class="various" data-fancybox-type="iframe"><b>'+p[j].USERNAME+'</b></a></div>');
1570        statusHTML.push('<div">'+p[j].BUSPOSITION+'</div>');
1571    statusHTML.push('<div>'+p[j].CLASSIFICATION+'</div>');
1572        statusHTML.push('<td rowspan="1">');
1573    statusHTML.push('<div>'+p[j].COMMITTEEPOSITION+'</div>')
1574    //statusHTML.push('<div>'+p[j].CLUBNAME+'</div>');
1575    statusHTML.push('</td></tr>');
1576}
1577} 
1578
1579
1580            }
1581
1582
1583            }
1584            statusHTML.push('</tbody></table></div></div>');    
1585    }
1586    if ($("#committeememberspage").length) {
1587        document.getElementById('committeememberspage').innerHTML = statusHTML.join('');
1588    }
1589}	
1590
1591
1592//CommitteeClub
1593function showCommitteeClub(json) {
1594    var statusHTML = [];
1595    var start_count = 1;
1596    for (var i=0; i<json.length; i++) {
1597        var p = json[i];
1598        if (start_count == 1){
1599            statusHTML.push('<h3><strong>'+json[i].COMMITTEENAME+'</strong></h3>');
1600            statusHTML.push('<div>'+json[i].DESCRIPTION+'</div>');
1601            start_count = 2;
1602        } 
1603    }
1604    if ($("#committeeclubpage").length) {
1605        document.getElementById('committeeclubpage').innerHTML = statusHTML.join('');
1606    }
1607}	
1608
1609
1610//showClubMembers
1611function showClubMembers(json){
1612    var statusHTML = [];
1613    for (var i=0; i<json.length; i++) {
1614        var p = json[i];
1615                statusHTML.push('<h3>Rotary Club of Portage Members</h3>');
1616                statusHTML.push('<div>&nbsp;</div>');
1617        for (var j=0; j<p.length; j++) {
1618                // Check if this is a satellite member by comparing club IDs
1619                var isSatelliteMember = false;
1620                if (p[j].CLUBID && p[j].CLUBID != 2952) {
1621                    isSatelliteMember = true;
1622                }
1623                
1624                // Add satellite-member class if this is a satellite member
1625                var memberClass = isSatelliteMember ? 'satellite-member' : '';
1626                
1627                                    statusHTML.push('<div class="col-sm-6 ' + memberClass + '" style="min-height:210px;">');
1628                            statusHTML.push('<table>');
1629                                statusHTML.push('<tr>');
1630                                    statusHTML.push('<td style="min-width:50px;padding-right:5px;" valign="top">');
1631                                        if (p[j].IMAGE.length > 0) {
1632                    statusHTML.push('<div style="border:1px solid #0E2A44;padding:3px;"><div class="thumbnail-div"><img src="'+p[j].IMAGE+'" border="0" class="img-responsive thumbnail-fit"></div></div>');
1633                } else {
1634                    statusHTML.push('<div style="border:1px solid #0E2A44;padding:3px;"><div class="thumbnail-div"><img src="../websites_core/images/no_image.jpg" border="0" class="img-responsive thumbnail-fit">');
1635                }
1636                                    statusHTML.push('</td>');
1637                            statusHTML.push('<td valign="top">');
1638        // statusHTML.push('<div>');
1639                        statusHTML.push('<b>'+p[j].USERNAME+'</b>');
1640                        
1641
1642        
1643
1644        
1645
1646
1647                                    
1648                    if ( p[j].CLASSIFICATION != '' ) {
1649                statusHTML.push('<br>'+p[j].CLASSIFICATION+'');
1650            }
1651                
1652        // Display club names based on settings
1653        if (p[j].CLUBNAME) {
1654                    }
1655        
1656                // statusHTML.push('</div>');
1657                            statusHTML.push('</td>');
1658                        statusHTML.push('</tr>');
1659                    statusHTML.push('</table>');
1660                statusHTML.push('</div>');
1661        }
1662    }
1663
1664    if ($("#showclubmemberspage").length) {
1665     document.getElementById('showclubmemberspage').innerHTML = statusHTML.join('');
1666    }
1667}
1668
1669//whereClubsMeet
1670function whereClubsMeet(json){
1671    var statusHTML = [];
1672    var mapDataHTML = [];
1673    
1674    for (var i=0; i<json.length; i++) {
1675        var p = json[i];
1676                statusHTML.push('<h3>Where District 6360 Clubs Meet </h3><a href="https://www.rotary.org/en/search/club-finder">Rotary International Club Finder</a>');
1677                statusHTML.push('&nbsp;&nbsp;&nbsp;[<a href="?s=map">View Map</a>]<br><br>');
1678                statusHTML.push('<div class="agenda"><div class="table-responsive"><table class="table table-condensed table-bordered"><thead><tr><th>Club</th><th>Meeting info</th></tr></thead><tbody>');
1679        for (var j=0; j<p.length; j++) {
1680            if (p[j].CLUBBADGENAME != '') {
1681                statusHTML.push('<tr><td class="agenda-date" class="active" rowspan="1">');
1682                if (p[j].CLUBURL != '') {
1683                    statusHTML.push('<div class="dayofweek"><a href="'+p[j].CLUBURL+'" target="new"><b>'+p[j].CLUBBADGENAME+'</b></a></div>');
1684                } else {
1685                    statusHTML.push('<div class="dayofweek"><b>'+p[j].CLUBBADGENAME+'</b></div>');
1686                }
1687                if (p[j].CLUBCITY.length > 0) {
1688                            if (p[j].CLUBPOSTALZIP.length > 0) {
1689							// Canadian postal codes are alphanumeric
1690                            //var zipcode = Number(p[j].CLUBPOSTALZIP).toFixed(1);
1691							var zipcode = p[j].CLUBPOSTALZIP;
1692                            zipcode = zipcode.replace('.', '');
1693                            //zipcode = zipcode.substring(0,5);
1694                            } else {
1695                                zipcode = '';
1696                            }
1697                    statusHTML.push('<div class="shortdate text-muted">'+p[j].CLUBADDRESS+'<br>'+p[j].CLUBCITY+', '+p[j].CLUBSTATECODE+' '+zipcode+'</div></td>');
1698                }
1699                statusHTML.push('<td class="agenda-events">');
1700                            // Canadian postal codes are alphanumeric
1701                            //var zipcodem = Number(p[j].MEETINGPOSTALCODE).toFixed(1);
1702                            var zipcodem = p[j].MEETINGPOSTALCODE;
1703                            zipcodem = zipcodem.replace('.', '');
1704                            //zipcodem = zipcodem.substring(0,5);
1705                statusHTML.push('<div class="agenda-event"><b>Meets at:</b> '+p[j].MEETINGPLACE+'<br>');
1706                statusHTML.push('<b>Time:</b> '+p[j].MEETINGDAY+' at '+p[j].MEETINGTIME+'<br>'+p[j].MEETINGADDRESS+' '+p[j].MEETINGCITY+', '+p[j].MEETINGSTATECODE+' '+zipcodem+'<br>(<a href="'+p[j].LATLNG+'" target="new">Map</a>)</div></td></tr>');
1707                
1708                // Also populate map data
1709                var clubName = p[j].CLUBBADGENAME;
1710                var clubDetails = '';
1711                if (p[j].CLUBURL != '') {
1712                    clubDetails += '<a href="'+p[j].CLUBURL+'" target="_blank">'+clubName+'</a><br>';
1713                } else {
1714                    clubDetails += '<strong>'+clubName+'</strong><br>';
1715                }
1716                clubDetails += '<strong>Meets:</strong> '+p[j].MEETINGDAY+' at '+p[j].MEETINGTIME+'<br>';
1717                clubDetails += '<strong>Location:</strong> '+p[j].MEETINGPLACE+'<br>';
1718                clubDetails += p[j].MEETINGADDRESS+' '+p[j].MEETINGCITY+', '+p[j].MEETINGSTATECODE+' '+zipcodem;
1719                
1720                var clubAddress = p[j].MEETINGADDRESS+', '+p[j].MEETINGCITY+', '+p[j].MEETINGSTATECODE+' '+zipcodem;
1721                
1722                mapDataHTML.push('<div class="pwrapper" id="club_'+j+'">');
1723                mapDataHTML.push('<div class="popuptitle">'+clubName+' ('+p[j].CLUBCITY+', '+p[j].CLUBSTATECODE+')</div>');
1724                mapDataHTML.push('<div class="popuptext">'+clubDetails+'</div>');
1725                mapDataHTML.push('<div class="clubaddress" style="display:none;">'+clubAddress+'</div>');
1726                mapDataHTML.push('</div>');
1727            }
1728        }
1729        statusHTML.push('</tbody></table></div></div>');
1730    }
1731    if ($("#whereclubsmeetpage").length) {
1732     document.getElementById('whereclubsmeetpage').innerHTML = statusHTML.join('');
1733    }
1734    // Populate map data div for the maps
1735    if ($("#MapData").length) {
1736     document.getElementById('MapData').innerHTML = mapDataHTML.join('');
1737     // Trigger map initialization if Google Maps is loaded
1738     if (typeof google !== 'undefined' && google.maps && typeof initializeProxyMap === 'function') {
1739         initializeProxyMap();
1740     }
1741    }
1742}
1743
1744
1745
1746
1747// Weekly Bulletin
1748function showFiles(){
1749
1750        if ($("#WeeklyBulletin").length) {
1751     document.getElementById('WeeklyBulletin').innerHTML = '';
1752    }
1753
1754}
1755
1756
1757
1758function showFilesPage(){
1759        if ($("#weeklybulletinpage").length) {
1760     document.getElementById('weeklybulletinpage').innerHTML = '';
1761    }
1762
1763}
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779function showDNewsletters(){
1780        if ($("#districtnewsletterspage").length) {
1781     document.getElementById('districtnewsletterspage').innerHTML = '';
1782    }
1783
1784}
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794// Sponsers
1795function showSponsors(json){
1796    var statusHTML = [];
1797    for (var i=0; i<json.length; i++) {
1798        var p = json[i];
1799     statusHTML.push('<table border="0" cellpadding="2" cellspacing="0" width="200">');
1800        for (var j=0; j<p.length; j++) {
1801            if (p[j].IMAGE.length > 0 ) {
1802                                statusHTML.push('<tr><td valign="top" align="left"><a href="'+p[j].PUBLICURL+'Tracking/ST.cfm?SID='+p[j].SPONSORID+'" target="_blank">'+p[j].SPONSORNAME+'</a></td></tr><tr><td>&nbsp;</td></tr>');
1803                            } else {
1804                statusHTML.push('<tr><td valign="top" align="left"><a href="'+p[j].PUBLICURL+'Tracking/ST.cfm?SID='+p[j].SPONSORID+'" target="_blank">'+p[j].SPONSORNAME+'</a></td></tr><tr><td>&nbsp;</td></tr>');
1805            }
1806        }
1807        statusHTML.push('</table>');
1808        if (p.length == 0){
1809            statusHTML.push('No sponsors available<div class="bulletin-list-sep"></div>   ');
1810        }
1811    }
1812    if ($("#Sponsors").length) {
1813     document.getElementById('Sponsors').innerHTML = statusHTML.join('');
1814    }
1815}
1816
1817// Mini Calendar
1818var MoAdj = 0;
1819function showMiniCalendar(json) {
1820
1821    if ($("#Calendar").length) {
1822         document.getElementById('Calendar').innerHTML = json.text;
1823    }
1824
1825        $('#DB').on('click', function(){
1826            MoAdj = MoAdj-1;
1827                    $.getScript("https://www.ismyrotaryclub.com/Calendar/MiniCal2.cfm?AccountID=6360&ClubID=2952&EventCategoryIDs=1,2,3,4,5&TZoffset=0&callback=showMiniCalendar&MoAdj="+MoAdj, function() {});
1828    
1829        });
1830        $('#DF').on('click', function(){
1831            MoAdj = MoAdj+1;
1832                    $.getScript("https://www.ismyrotaryclub.com/Calendar/MiniCal2.cfm?AccountID=6360&ClubID=2952&EventCategoryIDs=1,2,3,4,5&TZoffset=0&callback=showMiniCalendar&MoAdj="+MoAdj, function() {});
1833    
1834        });
1835}
1836
1837function govofficial(json){
1838    var statusHTML = [];
1839    for (var i=0; i<json.length; i++) {
1840        var p = json[i];
1841            statusHTML.push('<h3>District GOV Official Visit</h3><br>');
1842        for (var j=0; j<p.length; j++) {
1843            try {
1844                var sd = Date.parseDate(p[j].STARTDATE, "F, d Y g:i:s");
1845                var ed = Date.parseDate(p[j].ENDDATE, "F, d Y g:i:s");
1846
1847                var sd1 = sd.dateFormat("M dS");
1848                var ed1 = ed.dateFormat("M dS");
1849
1850                if (sd1 != ed1) {
1851                    statusHTML.push('<div class="event-list-date">'+ sd.dateFormat("F dS") +' - '+ ed.dateFormat("F dS") +'</div>');
1852                } else {
1853                    statusHTML.push('<div class="event-list-date">'+ sd.dateFormat("F dS") +'</div>');
1854                }
1855                statusHTML.push('<div class="event-list-text"><a href="https://www.ismyrotaryclub.com/wp_api_prod_1-1/R_Event.cfm?EventID='+p[j].EVENTID+'&fixImages=0&fixTables=0" class="various2" data-fancybox-type="iframe">'+p[j].EVENTNAME+'</a></div>');
1856                statusHTML.push('<div class="event-list-sep"></div>   ');
1857            } catch(e) {
1858                var sd = Date.parseDate(p[j].STARTDATE, "F, d Y g:i:s");
1859                statusHTML.push('<div class="event-list-date">'+ sd.dateFormat("F dS") +'</div>');
1860                statusHTML.push('<div class="event-list-text"><a href="https://www.ismyrotaryclub.com/wp_api_prod_1-1/R_Event.cfm?EventID='+p[j].EVENTID+'&fixImages=0&fixTables=0" class="various2" data-fancybox-type="iframe">'+p[j].EVENTNAME+'</a></div>');
1861                statusHTML.push('<div class="event-list-sep"></div>   ');
1862            }
1863        }
1864    }
1865 document.getElementById('govofficialpage').innerHTML = statusHTML.join('');
1866}
1867
1868// Calendar
1869var date = new Date();
1870var d = date.getDate();
1871var m = date.getMonth();
1872var y = date.getFullYear();
1873
1874
1875$.getJSON('https://www.ismyrotaryclub.com/wp_api_prod_1-1/R_GetEvents.cfm?AccountID=6360&ClubID=2952&fixImages=0&fixTables=0&EventCategoryIDs=1,2,3,4,5', function (data) {
1876
1877    var calendar = $('#calendarpage').fullCalendar({
1878            header: {
1879            left: 'prev,next today',
1880            center: 'title',
1881            right: 'month,listMonth'
1882        },         
1883        
1884    // firstDay :moment().weekday(),
1885    viewRender: function(currentView){
1886        var minDate = moment();
1887        // Past
1888        if (minDate >= currentView.start && minDate <= currentView.end) {
1889            $(".fc-prev-button").prop('disabled', true); 
1890            $(".fc-prev-button").addClass('fc-state-disabled'); 
1891        }
1892        else {
1893            $(".fc-prev-button").removeClass('fc-state-disabled'); 
1894            $(".fc-prev-button").prop('disabled', false); 
1895        }
1896
1897    },
1898    eventLimit: 2,
1899    eventLimitText: 'More', 
1900        eventMouseover: function(calEvent, jsEvent) {
1901            if ( calEvent.Location != '' ) {
1902                showLocation = '<br /><b>Location:</b>' + calEvent.Location;
1903            } else {
1904                showLocation = '';
1905            }
1906            if (calEvent.Speaker != '') {
1907                if (calEvent.Topic == '') {
1908                    var tooltip = '<div class="tooltipevent" style="position:absolute;z-index:10001;"><b>' + calEvent.title + '</b>'+showLocation+'<br>Speaker: '+calEvent.Speaker+'</div>';
1909                } else {
1910                    var tooltip = '<div class="tooltipevent" style="position:absolute;z-index:10001;"><b>' + calEvent.title + '</b>'+showLocation+'<br>Speaker: '+calEvent.Speaker+'<br>Topic: '+calEvent.Topic+'</div>';
1911                }
1912            } else {
1913                var tooltip = '<div class="tooltipevent" style="position:absolute;z-index:10001;"><b>' + calEvent.title + '</b>'+showLocation+'</div>';
1914            }
1915            
1916            $('body').append(tooltip);
1917            $(this).mouseover(function(e) {
1918                $(this).css('z-index', 10000);
1919                $('.tooltipevent').fadeIn('500');
1920                $('.tooltipevent').fadeTo('10', 1.9);
1921            }).mousemove(function(e) {
1922                $('.tooltipevent').css('top', e.pageY + 10);
1923                $('.tooltipevent').css('left', e.pageX + 20);
1924            });
1925        },
1926        eventMouseout: function(calEvent, jsEvent) {
1927             $(this).css('z-index', 8);
1928             $('.tooltipevent').remove();
1929        }, 
1930        lazyFetching: false,
1931        editable: false,
1932		contentHeight: "auto",
1933        defaultView: 'month',
1934        eventSources: [
1935            data
1936        ],
1937                buttonText: {
1938            today:    'today',
1939            month:    'M',
1940            listMonth: 'L',
1941            week:     'W',
1942            day:      'D'
1943        } 
1944    });
1945
1946});
1947
1948$.getJSON('https://www.ismyrotaryclub.com/wp_api_prod_1-1/R_GetEvents.cfm?AccountID=6360&ClubID=2952&fixImages=0&fixTables=0&EventCategoryIDs=1,2,3,4,5', function (data) {
1949
1950
1951    var calendar = $('#calendar_2page').fullCalendar({
1952            header: {
1953            left: 'prev,next today',
1954            center: 'title',
1955            right: 'month,listMonth '
1956        },
1957        eventLimit: 2,
1958    eventLimitText: 'More', 
1959        eventMouseover: function(calEvent, jsEvent) {
1960            if ( calEvent.Location != '' ) {
1961                showLocation = '<br /><b>Location:</b>' + calEvent.Location;
1962            } else {
1963                showLocation = '';
1964            }
1965            if (calEvent.Speaker != '') {
1966                if (calEvent.Topic == '') {
1967                    var tooltip = '<div class="tooltipevent" style="position:absolute;z-index:10001;"><b>' + calEvent.title + '</b>'+showLocation+'<br>Speaker: '+calEvent.Speaker+'</div>';
1968                } else {
1969                    var tooltip = '<div class="tooltipevent" style="position:absolute;z-index:10001;"><b>' + calEvent.title + '</b>'+showLocation+'<br>Speaker: '+calEvent.Speaker+'<br>Topic: '+calEvent.Topic+'</div>';
1970                }
1971            } else {
1972                var tooltip = '<div class="tooltipevent" style="position:absolute;z-index:10001;"><b>' + calEvent.title + '</b>'+showLocation+'</div>';
1973            }
1974            
1975            $('body').append(tooltip);
1976            $(this).mouseover(function(e) {
1977                $(this).css('z-index', 10000);
1978                $('.tooltipevent').fadeIn('500');
1979                $('.tooltipevent').fadeTo('10', 1.9);
1980            }).mousemove(function(e) {
1981                $('.tooltipevent').css('top', e.pageY + 10);
1982                $('.tooltipevent').css('left', e.pageX + 20);
1983            });
1984        },
1985        eventMouseout: function(calEvent, jsEvent) {
1986             $(this).css('z-index', 8);
1987             $('.tooltipevent').remove();
1988        }, 
1989        lazyFetching: false,
1990        editable: false,
1991        defaultView: 'month',
1992        eventSources: [
1993            data
1994        ],
1995        buttonText: {
1996            today:    'today',
1997            month:    'M',
1998            listMonth: 'L',
1999            week:     'W',
2000            day:      'D'
2001        } 
2002    });
2003
2004});
2005
2006$(".fc-month-button span span").html('<i class="fa fa-calendar"></i>');
2007
2008
2009// Calendar color key
2010function showColorKey(json){  
2011    var statusHTML = [];
2012        for (var i=0; i<json.length; i++) {
2013            var p = json[i];
2014            // statusHTML.push('<ul class="list-group" id="contact-list">');
2015            for (var j=0; j<p.length; j++) {
2016                
2017                            var catDisplay = p[j].EVENTCATEGORY.trim();
2018
2019                statusHTML.push('<div style="display:inline-block;margin-right:10px;margin-bottom:10px;"><span class="label label-default" style="background-color:'+p[j].BGCOLOR+';color:'+p[j].FGCOLOR+';font-weight:normal;border: 1px solid #3a87ad;">'+catDisplay+'</span></div>');
2020                }
2021            // statusHTML.push('</ul>');
2022            }
2023    if ($("#colorKey").length) {
2024     document.getElementById('colorKey').innerHTML = statusHTML.join('');
2025    }
2026}
2027
2028
2029
2030// Header 4 slide header
2031$(function() {
2032$(".rslides").responsiveSlides({
2033    auto: true,
2034    speed: 700,
2035    timeout: 6000,
2036    pager: false,
2037    nav: false,
2038    //random: 0,
2039    pause: false,
2040    pauseControls: false,
2041    namespace: "rslides"
2042});
2043    $(".dacdbslides").responsiveSlides({
2044    auto: true,
2045    speed: 700,
2046    timeout: 6000,
2047    pager: false,
2048    nav: false,
2049    //random: 0,
2050    pause: false,
2051    pauseControls: false,
2052    namespace: "dacdbslides"
2053});
2054});
2055
2056
2057$(document).ready(function() {
2058    $(".various").fancybox({
2059        // maxWidth    : 600,
2060        maxHeight   : 700,
2061        fitToView   : true,
2062        // width       : '70%',
2063        // height      : '70%',
2064        autoSize    : true,
2065        closeClick  : false,
2066        openEffect  : 'none',
2067        closeEffect : 'none'
2068    });
2069    $(".fc-h-event").fancybox({
2070        fitToView   : false,
2071        width       : '80%',
2072        height      : '80%',
2073        autoSize    : false,
2074        closeClick  : false,
2075        openEffect  : 'none',
2076        closeEffect : 'none'
2077    });
2078    $(".various2").fancybox({
2079        fitToView   : true,
2080        // width       : '80%',
2081        // height      : '80%',
2082        autoSize    : false,
2083        closeClick  : false,
2084        openEffect  : 'none',
2085        closeEffect : 'none'
2086    });
2087    $(".various3").fancybox({
2088        fitToView   : false,
2089        width       : '50%',
2090        height      : '50%',
2091        autoSize    : false,
2092        closeClick  : false,
2093        openEffect  : 'none',
2094        closeEffect : 'none'
2095    });
2096});
2097
2098$("#calendarpage").css('background-color', 'white');
2099$("#calendarpage").css('margin', '2px');
2100$("#calendar_2page").css('background-color', 'white');
2101$("#calendar_2page").css('margin', '10px');
2102
2103jQuery(document).ready(function(){
2104
2105
2106});
2107
2108    if ($("#Stories").length) {
2109                                    // var sNew3 = document.createElement("script");
2110                // sNew3.async = false;
2111                // sNew3.src = "https://www.ismyrotaryclub.com/story/stories.cfm?AccountID=6360&ClubID=2952&callback=showStory&bgc=FFFFFF";
2112                // var s03 = document.getElementsByTagName('script')[0];
2113                // s03.parentNode.insertBefore(sNew3, s03);
2114                        }
2115
2116
2117
2118    
2119
2120    </script>
2120
2121
2122
2123                                    
2123<script src="https://www.ismyrotaryclub.com/story/stories.cfm?AccountID=6360&ClubID=2952&callback=showStory&bgc=FFFFFF"></script>
2123
2124                    
2125
2126    
2126<script type="text/javascript">
2127
2128
2129
2130    if ($("#districtstoriespage").length) {
2131        var sNew33 = document.createElement("script");
2132        sNew33.async = true;
2133        sNew33.src = "https://www.ismyrotaryclub.com/story/stories.cfm?AccountID=6360&ClubID=0&callback=showDistrictStory&bgc=FFFFFF";
2134        var s033 = document.getElementsByTagName('script')[0];
2135        s033.parentNode.insertBefore(sNew33, s033);
2136    }
2137
2138        if ($("#clubleaders").length) {
2139        var sNew4 = document.createElement("script");
2140        sNew4.async = true;
2141        sNew4.src = "https://www.ismyrotaryclub.com/Club/clubleaders.cfm?D=6360&ClubID=2952&callback=showLeaders";
2142        var s04 = document.getElementsByTagName('script')[0];
2143        s04.parentNode.insertBefore(sNew4, s04);
2144    }
2145    if ($("#clubleaderspage").length) {
2146        var sNew5 = document.createElement("script");
2147        sNew5.async = true;
2148        sNew5.src = "https://www.ismyrotaryclub.com/Club/clubleaders.cfm?D=6360&ClubID=2952&callback=showLeadersPage";
2149        var s05 = document.getElementsByTagName('script')[0];
2150        s05.parentNode.insertBefore(sNew5, s05);
2151    }
2152        if ($("#ClubMeetingsInfo").length) {
2153                    var sNew6 = document.createElement("script");
2154            sNew6.async = true;
2155            sNew6.src = "https://www.ismyrotaryclub.com/District/ClubMeetings.cfm?AccountID=6360&Clubid=2952&ClubTypeIDs=0,1,2,3,4,5,6,7,8,9,0&callback=showClubMeetingsInfo";
2156            var s06 = document.getElementsByTagName('script')[0];
2157            s06.parentNode.insertBefore(sNew6, s06);
2158            }
2159    if ($("#Events").length) {
2160        var sNew7 = document.createElement("script");
2161        sNew7.async = true;
2162        sNew7.src = "https://www.ismyrotaryclub.com/Event/Event.cfm?AccountID=6360&ClubID=2952&Cat=3,4,5&Mo=2&callback=showEvents";
2163        var s07 = document.getElementsByTagName('script')[0];
2164        s07.parentNode.insertBefore(sNew7, s07);
2165    }
2166    if ($("#eventspage").length) {
2167                    var sNew9 = document.createElement("script");
2168            sNew9.async = true;
2169            sNew9.src = "https://www.ismyrotaryclub.com/Event/Event.cfm?AccountID=6360&ClubID=2952&Cat=3,4,5&Mo=2&callback=showEventsPage";
2170            var s09 = document.getElementsByTagName('script')[0];
2171            s09.parentNode.insertBefore(sNew9, s09);
2172                
2173    }
2174    if ($("#Calendar").length) {
2175                    var sNew10 = document.createElement("script");
2176            sNew10.async = true;
2177            sNew10.src = "https://www.ismyrotaryclub.com/Calendar/MiniCal2.cfm?AccountID=6360&ClubID=2952&EventCategoryIDs=1,2,3,4,5&callback=showMiniCalendar&TZoffset=0";
2178            var s010 = document.getElementsByTagName('script')[0];
2179            s010.parentNode.insertBefore(sNew10, s010);
2180             
2181    }
2182    if ($("#colorKey").length) {
2183        var sNew14 = document.createElement("script");
2184        sNew14.async = true;
2185        sNew14.src = "https://www.ismyrotaryclub.com/eventcategory/?D=6360&callback=showColorKey";
2186        var s014 = document.getElementsByTagName('script')[0];
2187        s014.parentNode.insertBefore(sNew14, s014);   
2188    }
2189    if ($("#districtleaders").length) {  
2190        var sNew15 = document.createElement("script");
2191        sNew15.async = true;
2192        sNew15.src = "https://www.ismyrotaryclub.com/District/DLC.cfm?AccountID=6360&callback=showDistrictLeaders";
2193        var s015 = document.getElementsByTagName('script')[0];
2194        s015.parentNode.insertBefore(sNew15, s015);
2195    }
2196    if ($("#districtleaderspage").length) {
2197        var sNew16 = document.createElement("script");
2198        sNew16.async = true;
2199        sNew16.src = "https://www.ismyrotaryclub.com/District/DLC.cfm?AccountID=6360&callback=showDistrictLeadersPage";
2200        var s016 = document.getElementsByTagName('script')[0];
2201        s016.parentNode.insertBefore(sNew16, s016);
2202    }
2203    if ($("#MDEvents").length) {
2204        var sNew17 = document.createElement("script");
2205        sNew17.async = true;
2206        sNew17.src = "https://www.ismyrotaryclub.com/Event/Event.cfm?AccountID=6360&Cat=1,2,123&Mo=1&callback=showMDEvents";
2207        var s017 = document.getElementsByTagName('script')[0];
2208        s017.parentNode.insertBefore(sNew17, s017);
2209    }
2210    if ($("#districteventspage").length) {
2211        var sNew18 = document.createElement("script");
2212        sNew18.async = true;
2213        sNew18.src = "https://www.ismyrotaryclub.com/Event/Event.cfm?AccountID=6360&Cat=1,2,123&Mo=3&callback=showMDEventsPage";
2214        var s018 = document.getElementsByTagName('script')[0];
2215        s018.parentNode.insertBefore(sNew18, s018);
2216    }
2217    if ($("#WeeklyBulletin").length) {
2218        showFiles();
2219    }
2220    if ($("#weeklybulletinpage").length) {
2221        showFilesPage();
2222    }
2223    if ($("#districtnewsletterspage").length) {
2224        showDNewsletters();
2225    }
2226    if ($("#Sponsors").length) {
2227        var sNew12 = document.createElement("script");
2228        sNew12.async = true;
2229        sNew12.src = "https://www.ismyrotaryclub.com/Sponsor/Sponsor.cfm?AccountID=6360&ClubID=2952&N=4&callback=showSponsors";
2230        var s012 = document.getElementsByTagName('script')[0];
2231        s012.parentNode.insertBefore(sNew12, s012);
2232    }
2233    if ($("#whereclubsmeetpage").length || $("#MapData").length) {
2234        var sNew19 = document.createElement("script");
2235        sNew19.async = true;
2236        sNew19.src = "https://www.ismyrotaryclub.com/district/ClubMeetings.cfm?AccountID=6360&callback=whereClubsMeet";
2237        var s019 = document.getElementsByTagName('script')[0];
2238        s019.parentNode.insertBefore(sNew19, s019);
2239    }
2240    if ($("#clubpresidentspage").length) {
2241        var sNew20 = document.createElement("script");
2242        sNew20.async = true;
2243        sNew20.src = "https://www.ismyrotaryclub.com/CommitteeMembers/ByRoleKey.cfm?AccountID=6360&RoleKey=P&SortBy=C&callback=ClubPresidents";
2244        var s020 = document.getElementsByTagName('script')[0];
2245        s020.parentNode.insertBefore(sNew20, s020);
2246    }
2247    if ($("#districtcommitteepage").length) {
2248        var sNew21 = document.createElement("script");
2249        sNew21.async = true;
2250        sNew21.src = "https://www.ismyrotaryclub.com/District/CCL.cfm?D=6360&RoleKey=dcc&callback=DistrictCommittee";
2251        var s021 = document.getElementsByTagName('script')[0];
2252        s021.parentNode.insertBefore(sNew21, s021);
2253    }
2254    if ($("#collegeofgovernorspage").length) {
2255        var sNew22 = document.createElement("script");
2256        sNew22.async = true;
2257        sNew22.src = "https://www.ismyrotaryclub.com/District/COG.cfm?AccountID=6360&S
2257ortBy=GovYearServed&callback=CollegeOfGovernors";
2258        var s022 = document.getElementsByTagName('script')[0];
2259        s022.parentNode.insertBefore(sNew22, s022);
2260    }
2261    if ($("#areapage").length) {
2262            Area();
2263    }
2264    if ($("#committeepage").length) {
2265                    var sNew23 = document.createElement("script");
2266            sNew23.async = true;
2267            sNew23.src = "https://www.ismyrotaryclub.com/CommitteeMembers/ByRoleKey.cfm?AccountID=6360&RoleKey=&callback=Committee";
2268            var s023 = document.getElementsByTagName('script')[0];
2269            s023.parentNode.insertBefore(sNew23, s023);
2270            }
2271    if ($("#committeespage").length) {
2272        var sNew24 = document.createElement("script");
2273        sNew24.async = true;
2274        sNew24.src = "https://www.ismyrotaryclub.com/Committees/Committees.cfm?AccountID=6360&ClubID=2952&callback=showCommittees";
2275        var s024 = document.getElementsByTagName('script')[0];
2276        s024.parentNode.insertBefore(sNew24, s024);
2277    }
2278    if ($("#committeememberspage").length) {
2279                var sNew25 = document.createElement("script");
2280        sNew25.async = true;
2281        sNew25.src = "https://www.ismyrotaryclub.com/CommitteeMembers/ByID2.cfm?AccountID=6360&ClubID=2952&RoleKey=&callback=showCommitteeMembers&id=";
2282        var s025 = document.getElementsByTagName('script')[0];
2283        s025.parentNode.insertBefore(sNew25, s025);
2284    }
2285    if ($("#committeeclubpage").length) {
2286                var sNew26 = document.createElement("script");
2287        sNew26.async = true;
2288        sNew26.src = "https://www.ismyrotaryclub.com/CommitteeMembers/ByID3.cfm?AccountID=6360&ClubID=2952&callback=showCommitteeClub&id=";
2289        var s026 = document.getElementsByTagName('script')[0];
2290        s026.parentNode.insertBefore(sNew26, s026);
2291    }
2292    if ($("#showclubmemberspage").length) {
2293        var sNew27 = document.createElement("script");
2294        sNew27.async = true;
2295        sNew27.src = "https://www.ismyrotaryclub.com/ClubMembers/ClubMembers.cfm?AccountID=6360&ClubID=2952&MemberTypeIDs=0,1,2,5&callback=showClubMembers";
2296        var s027 = document.getElementsByTagName('script')[0];
2297        s027.parentNode.insertBefore(sNew27, s027);
2298    }
2299        if ($("#Speakers").length) {
2300        var sNew13 = document.createElement("script");
2301        sNew13.async = true;
2302        sNew13.src = "https://www.ismyrotaryclub.com/Speaker/Speakers.cfm?AccountID=6360&ClubID=2952&CatIds=1,2,3,4,5,6,7&Mo=12&callback=showSpeakers";
2303        var s013 = document.getElementsByTagName('script')[0];
2304        s013.parentNode.insertBefore(sNew13, s013);
2305    }
2306    if ($("#speakerspage").length) {
2307        var sNew28 = document.createElement("script");
2308        sNew28.async = true;
2309        sNew28.src = "https://www.ismyrotaryclub.com/Speaker/Speakers.cfm?AccountID=6360&ClubID=2952&CatIds=1,2,3,4,5,6,7&Mo=12&callback=showSpeakersPage";
2310        var s028 = document.getElementsByTagName('script')[0];
2311        s028.parentNode.insertBefore(sNew28, s028);
2312    }
2313    if ($("#Birthdays").length) {
2314        var sNew29 = document.createElement("script");
2315        sNew29.async = true;
2316        sNew29.src = "https://www.ismyrotaryclub.com/Club/ClubBirthdays.cfm?AccountID=6360&ClubID=2952&MemberTypeIDs=0,1,2,5&callback=showBirthdays";
2317        var s029 = document.getElementsByTagName('script')[0];
2318        s029.parentNode.insertBefore(sNew29, s029);
2319    }
2320    if ($("#birthdayspage").length) {
2321        var sNew30 = document.createElement("script");
2322        sNew30.async = true;
2323        sNew30.src = "https://www.ismyrotaryclub.com/Club/ClubBirthdays.cfm?AccountID=6360&ClubID=2952&MemberTypeIDs=0,1,2,5&callback=showBirthdaysPage";
2324        var s030 = document.getElementsByTagName('script')[0];
2325        s030.parentNode.insertBefore(sNew30, s030);
2326    }
2327    if ($("#govofficialpage").length) {
2328        var sNew31 = document.createElement("script");
2329        sNew31.async = true;
2330        sNew31.src = "https://www.ismyrotaryclub.com/Event/Event.cfm?AccountID=6360&Cat=6&Mo=6&callback=govofficial";
2331        var s031 = document.getElementsByTagName('script')[0];
2332        s031.parentNode.insertBefore(sNew31, s031);
2333    }
2334    
2335    if ($("#Wedding").length) {
2336        showWedding();
2337    }    
2338    if ($("#Club_Anniversary").length) {
2339        showClub_Anniversary();
2340    }
2341</script>
2341    
2341<script>
2342        $("a[href='#top']").click(function() {
2343          $("html, body").animate({ scrollTop: 0 }, "slow");
2344          return false;
2345        }); 
2346        $(document).ready(function(){
2347            $("a[href='#content']").on('click', function(event) {
2348                event.preventDefault();
2349                var hash = this.hash;
2350                $('html, body').animate({scrollTop: $(hash).offset().top}, "slow", function(){
2351                    // window.location.hash = hash;
2352                });
2353                return false;
2354            });
2355        });
2356        $(function() {
2357            $(".dropdown").hover(
2358                function(){ $(this).addClass('open') },
2359                function(){ $(this).removeClass('open') }
2360            );
2361        });
2362
2363        jQuery('#menu-trigger').click(function() {
2364            jQuery(this).fadeOut('fast');
2365            jQuery('#menu-flip .close').fadeIn('fast');
2366            jQuery('#menu-flip').addClass('open');
2367        });
2368        jQuery('#menu-flip .close .closeFlip').click(function() {
2369            jQuery(this).fadeOut('fast');
2370            jQuery('#menu-trigger').fadeIn('fast');
2371            jQuery('#menu-flip').removeClass('open');
2372        });
2373        jQuery('.closeFlip').click(function() {
2374            jQuery('#menu-trigger').fadeIn('fast');
2375            jQuery('#menu-flip').removeClass('open');
2376        });
2377        jQuery('body').click( function(e) {
2378            target = e.target;
2379            if ( $(target).attr('id') != "menu-trigger" && $(target).parents('#menu-trigger').length < 1 ) {
2380                if ( ($(target).attr('id') != 'menu-flip' && $(target).parents('#menu-flip').length < 1) || $(target).hasClass('close') || $(target).parent().hasClass('close') ) {
2381                    jQuery('#menu-trigger').fadeIn('slow');
2382                    jQuery('#menu-flip').removeClass('open');
2383                }
2384            }
2385        });
2386        jQuery('#menu-flip-items .menu-item-has-children > a').click(function(e) {
2387            e.preventDefault();
2388            jQuery(this).toggleClass("open");
2389            jQuery(this).siblings(".sub-menu").toggle();
2390            jQuery("#menu-flip-items .menu-item-has-children > a").not(this).removeClass("open");
2391            jQuery("#menu-flip-items .menu-item-has-children > a").not(this).siblings(".sub-menu").hide();
2392        });
2393
2394        
2395
2396    </script>
2396
2397	
2398    <!-- Single page mmp sponsors widget iframe resize -->
2399    
2399<script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.9/iframeResizer.min.js"></script>
2399
2400    
2400<script>
2401    iFrameResize({
2402        log: false,                // set true for debugging
2403        autoResize: true,
2404        checkOrigin: false,        // allow cross-domain
2405        heightCalculationMethod: 'max',
2406        scrolling: false
2407    }, '#mmpsponsors iframe');
2408    </script>
2408	
2409	
2410    <!-- js injection -->
2411    
2411<script src="custom_code/js/js_custom.js"></script>
2411
2412</body></html>

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.