1<!DOCTYPE html> 2<!-- 172.69.59.218 - scraper --><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 <!-- https://www.ismyrotaryclub.com/wp_api_prod_1-1/wp_stories.cfm?AccountID=6060&ClubID=2311&StoryID=177121 --><!-- ... --><meta property="og:url" content="https://westcountyrotary.org/index.php?p=stories&storyid=177121" /><meta property="og:type" content="website" /><meta property="og:title" content="Friends Of Rotary" /><meta property="og:description" content="What is âFriends of Rotaryâ? 13 14Friends of Rotary is a program that allows community members to actively support the goals and activities of Rotary without becoming a full member of a Rotary club. Friends of Rotary is an opportunity for individuals who support Rotary ideals, but may be unable to participate in full membership, (e.g., may not be able to attend weekly club meetings), t" /><meta property="og:image" content="" /> 15 <link rel="icon" href="../websites_core/images/favicon.ico?"> 16 17 <link href="https://fonts.googleapis.com/css2?family=Open+Sans+Condensed:wght@700" rel="stylesheet"> 18 19 <title> 20 Friends Of Rotary </title> 21 22 <!-- Bootstrap core CSS ... --> 23 <link href="https://websites01.dacdb.com/websites_core/css/bootstrap.min.css" rel="stylesheet"> 24 <link href="https://websites01.dacdb.com/websites_core/css/bootstrap-theme.min.css" rel="stylesheet"> 25 <link href="https://websites01.dacdb.com/websites_core/fullcalendar/fullcalendar/moment.min.css" rel="stylesheet" /> 26 <link href="https://websites01.dacdb.com/websites_core/fullcalendar/fullcalendar/fullcalendar.css" rel="stylesheet" /> 27 <link href="https://websites01.dacdb.com/websites_core/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" 28 type="text/css" media="screen" /> 29 <link href="https://websites01.dacdb.com/websites_core/css/responsiveslides.css" rel="stylesheet"> 30 <link href="https://websites01.dacdb.com/websites_core/css/color.css" rel="stylesheet"> 31 <link href="https://websites01.dacdb.com/websites_core/css/dacdb.css" rel="stylesheet"> 32 <link href="https://websites01.dacdb.com/websites_core/css/lightbox.css" rel="stylesheet" /> 33 <link href="https://websites01.dacdb.com/websites_core/css/Font-Awesome6/css/fontawesome.min.css" rel="stylesheet" /> 34 <link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" /> 35 <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i" 36 rel="stylesheet"> 37 <link href="https://cdn.jsdelivr.net/gh/memberminderpro/rotary-brand-assets@latest/css/rotary-colors.css" 38 rel="stylesheet"> 39 40 <style type="text/css"> 41 th[data-sort] { 42 cursor: pointer; 43 } 44 45 /*.img-responsive{width: 100%;}*/ 46 </style> 47 48 <style> 49 50body { 51 font-family: 'Open Sans', sans-serif; 52} 53 54 .msg { 55 border-top: solid 3px #8CA6C9; 56 border-left: solid 1px #8CA6C9; 57 border-right: solid 1px #8CA6C9; 58 border-bottom: solid 1px #8CA6C9; 59 border-radius: 8px; 60 margin-bottom: 30px; 61 -webkit-box-shadow: 0 10px 10px -5px rgba(0,0,0,.08); 62 -moz-box-shadow: 0 10px 10px -5px rgba(0,0,0,.08); 63 box-shadow: 0 10px 10px -5px rgba(0,0,0,.08); 64 } 65 66 #footer .fws { 67 border-top: solid 3px #8CA6C9 !important; 68 border-left: solid 1px #8CA6C9 !important; 69 border-right: solid 1px #8CA6C9 !important; 70 border-bottom: solid 1px #8CA6C9 !important; 71 border-radius: 8px !important; 72 margin-bottom: 30px !important; 73 -webkit-box-shadow: 0 10px 10px -5px rgba(0,0,0,.08) !important; 74 -moz-box-shadow: 0 10px 10px -5px rgba(0,0,0,.08) !important; 75 box-shadow: 0 10px 10px -5px rgba(0,0,0,.08) !important; 76 } 77 78 .fws { 79 -webkit-box-shadow: none; 80 -moz-box-shadow: none; 81 box-shadow: none; 82 } 83#footer { 84 padding-top: 20px; 85} 86 87.image-header-ss { 88 width: 100%; 89 overflow: hidden; 90} 91body { 92 background-color: #dbe3f1; 93 background-repeat: repeat-x; 94 background-image: -webkit-linear-gradient(270deg,#dbe3f1 6.28%,#dbe3f1 20%); 95 background-image: -moz-linear-gradient(270deg,#dbe3f1 6.28%,#dbe3f1 20%); 96 background-image: -o-linear-gradient(270deg,#dbe3f1 6.28%,#dbe3f1 20%); 97 background-image: linear-gradient(180deg,#dbe3f1 6.28%,#dbe3f1 20%); 98} 99 100 101 102 103.row-offcanvas { 104 background-color: #ffffff; 105 padding-top:20px; 106} 107.navbar { 108 margin-bottom:0 !important; 109} 110 111.navbar-default-2 { 112 background-color: #ffffff !important; 113 border: 0 !important; 114 115} 116.navbar-default-2 .navbar-brand { 117 color: #000; 118} 119.navbar-default-2 .navbar-brand:hover, .navbar-default-2 .navbar-brand:focus { 120 color: #000; 121} 122.navbar-default-2 .navbar-text { 123 color: #000; 124} 125.navbar-default-2 .navbar-nav > li > a { 126 color: #000; 127} 128.navbar-default-2 .navbar-nav > li > a:hover, .navbar-default-2 .navbar-nav > li > a:focus { 129 color: #000; 130} 131.navbar-default-2 .navbar-nav > .active > a, .navbar-default-2 .navbar-nav > .active > a:hover, .navbar-default-2 .navbar-nav > .active > a:focus { 132 color: #000; 133 background-color: #cccccc !important; 134} 135.navbar-default-2 .navbar-nav > .open > a, .navbar-default-2 .navbar-nav > .open > a:hover, .navbar-default-2 .navbar-nav > .open > a:focus { 136 color: #000; 137 background-color: #cccccc !important; 138} 139.nav>li>a:focus, .nav>li>a:hover { 140 background-color: #cccccc !important; 141} 142.navbar-default-2 .navbar-toggle { 143 border-color: #cccccc !important; 144} 145.navbar-default-2 .navbar-toggle:hover, .navbar-default-2 .navbar-toggle:focus { 146 background-color: #cccccc !important; 147}
148.navbar-default-2 .navbar-toggle .icon-bar { 149 background-color: #000; 150} 151.navbar-default-2 .navbar-collapse, 152.navbar-default-2 .navbar-form { 153 border-color: #000; 154 margin-left:-15px; 155 margin-right:-15px; 156} 157.navbar-default-2 .navbar-link { 158 color: #000; 159} 160.navbar-default-2 .navbar-link:hover { 161 color: #000; 162} 163.dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus { 164 background-color: #cccccc !important; 165} 166iframe.youtube { 167 width: 100%; 168 aspect-ratio: 16 / 9; 169} 170footer { 171 margin: 0px 0px; 172 padding: 10px 0px; 173} 174footer hr { 175 height:2px; border:none; color:#000000; background-color:lightgrey; 176} 177 178@media (max-width: 767px) { 179 .navbar-default-2 .navbar-nav .open .dropdown-menu > li > a { 180 color: #000; 181 } 182 .navbar-default-2 .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default-2 .navbar-nav .open .dropdown-menu > li > a:focus { 183 color: #000; 184 } 185 .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 { 186 color: #000; 187 background-color: #cccccc !important; 188 } 189} 190 191.navbar-xs { border-radius:0; border-left:0; border-right: 0;} 192.navbar-xs .navbar-nav > li { 193 border-right:1px solid #8CA6C9 !important; 194} 195 196 197.navbar .navbar-nav { 198 display: inline-block; 199 float: none; 200 vertical-align: top; 201} 202 203.navbar .navbar-collapse { 204 text-align: center; 205} 206 207 208.color-rotary .msg-primary { 209 border-color: #8CA6C9 !important; 210} 211a { 212 color: #8CA6C9; 213} 214a:focus, a:hover { 215 color: #8CA6C9; 216} 217 218 219.msg-title { 220 margin-top:-12px; 221 margin-left:-16px; 222 margin-right:-12px; 223 padding:10px 10px 10px 10px; 224 background-color: #ffffff; 225 background-image: -webkit-linear-gradient(270deg,#ffffff 0%,#ffffff 61.33%,#ffffff 100%); 226 background-image: -moz-linear-gradient(270deg,#ffffff 0%,#ffffff 61.33%,#ffffff 100%); 227 background-image: -o-linear-gradient(270deg,#ffffff 0%,#ffffff 61.33%,#ffffff 100%); 228 background-image: linear-gradient(180deg,#ffffff 0%,#ffffff 61.33%,#ffffff 100%); 229 color:#8CA6C9; 230 text-transform: uppercase; 231 font-size: 14px; 232 font-weight: 500; 233 margin-bottom:10px; 234 border-bottom:1px solid #8CA6C9; 235 border-top-left-radius: 4px; 236 border-top-right-radius: 4px; 237 } 238#footer .msg-title { 239 margin-top:-12px; 240 margin-left:-16px; 241 margin-right:-12px; 242 padding:10px 10px 10px 10px; 243 background-color: #ffffff; 244 background-image: -webkit-linear-gradient(270deg,#ffffff 0%,#ffffff 61.33%,#ffffff 100%); 245 background-image: -moz-linear-gradient(270deg,#ffffff 0%,#ffffff 61.33%,#ffffff 100%); 246 background-image: -o-linear-gradient(270deg,#ffffff 0%,#ffffff 61.33%,#ffffff 100%); 247 background-image: linear-gradient(180deg,#ffffff 0%,#ffffff 61.33%,#ffffff 100%); 248 color:#8CA6C9; 249 text-transform: uppercase; 250 font-size: 14px; 251 font-weight: 500; 252 margin-bottom:10px; 253 border-bottom:1px solid #8CA6C9; 254 border-top-left-radius: 4px; 255 border-top-right-radius: 4px; 256 } 257.image-header-img { 258 background-color: rgba(31,63,159,0.85) !important; 259} 260.navbar-nav>li>a { 261 text-shadow:none !important; 262} 263 264 265 266 267 .image-header-rotary-name { 268 color:#17458f !important; 269 text-shadow: 2px 2px 3px rgba(0, 0, 0, 0) !important; 270 } 271 .image-header-md-rotary-name { 272 color:#17458f !important; 273 text-shadow: 2px 2px 3px rgba(0, 0, 0, 0) !important; 274 } 275 .image-header-sm-rotary-name { 276 color:#17458f !important; 277 text-shadow: 2px 2px 3px rgba(0, 0, 0, 0) !important; 278 } 279 .image-header-xs-rotary-name { 280 color:#17458f !important; 281 text-shadow: 2px 2px 3px rgba(0, 0, 0, 0) !important; 282 } 283 .image-header-title { 284 color:#17458f !important; 285 text-shadow: 2px 2px 3px rgba(0, 0, 0, 0) !important; 286 } 287 .image-header-md-title { 288 color:#17458f !important; 289 text-shadow: 2px 2px 3px rgba(0, 0, 0, 0) !important; 290 } 291 .image-header-sm-title { 292 color:#17458f !important; 293 text-shadow: 2px 2px 3px rgba(0, 0, 0, 0) !important; 294 } 295 .image-header-xs-title { 296 color:#17458f !important; 297 text-shadow: 2px 2px 3px rgba(0, 0, 0, 0) !important; 298 } 299 300 301 302</style><!--!SECTION: Display Width (this site is set to "0" --> <style> 303 .fc-toggleSidbars-button:after { 304 font-family: "FontAwesome"; 305 content: "\f065"; 306 color: #000; 307 } 308 309 .fc-toggleSidbars-button2:after { 310 font-family: "FontAwesome"; 311 content: "\f066"; 312 color: #000 !important; 313 } 314 </style> 315 <!-- css injection --> 316 <link href="custom_code/css/css_custom.css" rel="stylesheet" /> 317 <link href="https://websites01.dacdb.com/websites_core/css/custom-widgets.css" rel="stylesheet"> 318 <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> 319 <!--[if lt IE 9]> 320
320<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
320 321
321<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
321 322 <![endif]--> 323</head> 324<!-- Google Code Goes Here --><!-- ada --> 325 326 327<body> 328 329 <!-- copy of 1_4 with revised Rotary logo --> 330 331<style> 332 333.outer { 334 border: 10px solid red; 335 width: 70%; 336 display: flex; 337 text-align center; 338 top: 30px; 339 position: absolute; 340 margin: auto; 341} 342 343.inner { 344 border: 1px solid black; 345} 346 347 348.rsign { 349 position: absolute; 350 display: table; 351 margin: 0 auto; 352} 353/* 354.image-header-title2 { 355// margin-top: -150px; 356 font-family: open-sans, sans-serif; 357 color: #0c3c7c; 358 font-weight:300; 359 text-align: right; 360 position: absolute; 361 } 362*/ 363</style> 364 365<div class="page-container"> 366 <!-- top navbar --> 367 <div class="navbar navbar-default navbar-fixed-top" role="navigation"> 368 <div class="container"> 369 <div class="navbar-header"> 370 <a class="navbar-brand" href="https://westcountyrotary.org\/"> 371 West St. Louis County </a> 372 </div> 373 <div class="small-links text-right hidden-xs"> 374 <a href="https://www.rotary.org" target="_blank">Rotary International</a> | 375 <a href="https://rotary6060.org/" target="_blank">District 6060</a> | 376 <a href="https://www.dacdb.com/" target="_blank">DACdb Login</a></div> 377 <div class="small-social text-right hidden-xs"> 378 <a href="https://www.facebook.com/WestCountyRotary/" target="_blank"><span class="fa fa-facebook"></span></a> 379 | 380 381 382 <a href="javascript:void" data-toggle="modal" data-target="#login-modal" class="closeFlip" >Member Login</a> 383 384 385 386 </div> 387 </div> <!-- /container --> 388 </div> <!-- /top navbar --> 389 390 <div class="container theme-color" style="border:1px solid #8CA6C9"> 391 <div class="row"> 392 393 <nav class="navbar navbar-default-2 navbar-xs" role="navigation"> 394 <!-- Brand and toggle get grouped for better mobile display --> 395 <div class="navbar-header"> 396 <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> 397 <span class="sr-only">Toggle navigation</span>
398 <span class="icon-bar"></span> 399 <span class="icon-bar"></span> 400 <span class="icon-bar"></span> 401 </button> 402 </div> 403 404 <!-- Collect the nav links, forms, and other content for toggling --> 405 <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> 406 <ul class="nav navbar-nav"> 407 408 <li style="border-left:0 !important;" class="visible-xs"><a href="https://www.dacdb.com/" target="_blank">DACdb Login</a></li> 409 410 <li style="border-left:0 !important;" class="visible-xs"> 411 412 <a href="javascript:void" data-toggle="modal" data-target="#login-modal" class="closeFlip" >Member Login</a> 413 414 415 416 </li> 417 418<li class="dropdown style="border-left:0 !important;"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Check Us Out! <b class="caret"></b></a><ul class="dropdown-menu"><li data-check="0"><a href="index.php?storyid=177121" >FRIEND OF ROTARY</a></li><li data-check="0"><a href="index.php?storyid= 129584" >Corporate membership</a></li><li data-check="0"><a href="index.php?storyid=155696" >This is Rotary...</a></li><li data-check="0"><a href="https://www.icloud.com/sharedalbum/#B01G4TcsmGeHfzw;AA501EA9-64EA-4036-8AE5-%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%208FD80388DF98" >Photo Gallery</a></li></ul></li><li class="dropdown" ><a href="#" class="dropdown-toggle" data-toggle="dropdown">Our Club <b class="caret"></b></a><ul class="dropdown-menu"><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="index.php?storyid=129567" >Paul Harris Fellows</a></li><li data-check="0"><a href="index.php?storyid=129562" >Past Presidents</a></li><li data-check="0"><a href="index.php?storyid=129559" >Club History</a></li><li data-check="0"><a href="https://www.dacdb.com/Accounts/6060/Downloads/2311/Website%20PDFs/Rotary%20Bylaws%20Revised%20October%2024th%202017.pdf" >Club Bylaws</a></li><li data-check="0"><a href="index.php?storyid=134245" >Meeting Photos</a></li></ul></li><li class="dropdown" ><a href="#" class="dropdown-toggle" data-toggle="dropdown">Join Rotary <b class="caret"></b></a><ul class="dropdown-menu"><li data-check="0"><a href="index.php?StoryID=129615" >Join Rotary</a></li><li data-check="0"><a href="https://IsMyRotaryClub.org/NewMember/?ClubID=2311" >New Membership Application</a></li><li data-check="0"><a href="?s=20reasons" >20 Reasons to Join Rotary</a></li><li data-check="0"><a href="index.php?storyid=130416" >Code of Conduct</a></li><li data-check="0"><a href="index.php?storyid=129617" >Object of Rotary</a></li><li data-check="0"><a href="?s=4way" >4Way Test</a></li><li data-check="0"><a href="?p=stories" >Stories</a></li></ul></li><li class="dropdown" ><a href="#" class="dropdown-toggle" data-toggle="dropdown">Accomplishments <b class="caret"></b></a><ul class="dropdown-menu"><li data-check="0"><a href="index.php?storyid=134581" >Rotary Grant - Fern Ridge </a></li><li data-check="0"><a href="index.php?storyid= 149933" >BackStoppers</a></li><li data-check="0"><a href="real-estate-collaborative.php" >2022 Matching Club Donations</a></li></ul></li><li class="dropdown" style="border-right:0 !important;"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Projects / Fundraisers <b class="caret"></b></a><ul class="dropdown-menu"><li data-check="0"><a href="ballwin-days.php" >BALLWIN DAYS '26</a></li><li data-check="0"><a href="backstoppalooza.php" >BACKSTOPPALOOZA</a></li><li data-check="0"><a href="index.php?storyid=202064" >GHSP (Building Ramps)</a></li><li data-check="0"><a href="daily-essentials.php" >Daily Essentials Collection</a></li><li data-check="0"><a href="index.php?storyid=185500" >FEED THE NEED '26</a></li><li data-check="0"><a href="fund-raise.php" >March Madness - 2026</a></li></ul></li> 419 420 421 422 </ul> 423 </div><!-- /.navbar-collapse --> 424</nav> 425 <div class="image-header"> 426 <div class="image-header-img"> 427 <img src="../websites_core/images/default_header_blanca.jpg"> <!-- <img src="images/default_header_blanca.png"> --> 428 429 430 <div class="outerx" align="center" style="width: 100%;"> 431 432 433<table style="width: 95%; position: absolute; top:-5px;"> 434 <tbody> 435 <tr> 436 <td style="border: none;"> 437 <div align="right" style="margin-top:20px"> 438 439 <div class="image-header-rotary-name2 hidden-xs hidden-sm hidden-md">Rotary</div> 440 <div class="image-header-md-rotary-name2 hidden-xs hidden-sm hidden-lg">Rotary</div> 441 <div class="image-header-sm-rotary-name2 hidden-xs hidden-md hidden-lg">Rotary</div> 442 <div class="image-header-xs-rotary-name2 hidden-sm hidden-md hidden-lg">Rotary</div> 443 444 <div class="image-header-title2 hidden-xs hidden-sm hidden-md"> 445 West St. Louis County<br/> </div> 446 <div class="image-header-md-title2 hidden-xs hidden-sm hidden-lg"> 447 West St. Louis County<br/> </div> 448 <div class="image-header-sm-title2 hidden-xs hidden-md hidden-lg"> 449 West St. Louis County<br/> </div> 450 <div class="image-header-xs-title2 hidden-sm hidden-md hidden-lg"> 451 West St. Louis County<br/> </div> 452 </div> 453 </td> 454 <td style="padding-left: 10px; border: none;"> 455 <div class="image-header-rotary2 hidden-xs hidden-sm hidden-md"><img src="../websites_core/images/rotary_sign_ns.png"> 456 </div> 457 <div class="image-header-md-rotary2 hidden-xs hidden-sm hidden-lg"><img src="../websites_core/images/rotary_sign_ns.png" class="img-responsive"> 458 </div> 459 <div class="image-header-sm-rotary2 hidden-xs hidden-md hidden-lg"><img src="../websites_core/images/rotary_sign_ns.png" class="img-responsive"> 460 </div> 461 <div class="image-header-xs-rotary2 hidden-sm hidden-md hidden-lg"><img src="../websites_core/images/rotary_sign_ns.png" class="img-responsive"> 462 </div> 463 464 </td> 465 </tr> 466 </tbody> 467</table> 468 </div> <!-- /outer --> 469 </div> <!-- /image-header-img --> 470 471 </div> <!-- /image-header --> 472 473 474 </div> <!-- /row --> 475 476 477 478 <div class="row row-offcanvas"> 479 <!-- column: center / left only--> 480 <div class="col-md-9 col-md-push-3 body-content" id="main"> 481 <div id="Story">Loading...</div>
481<script> 482 483 function showStoryID(json){ 484 var statusHTML = []; 485 var imageSide = 1; 486 for (var i=0; i<json.length; i++) { 487 var p = json[i]; 488 for (var j=0; j<p.length; j++) { 489 $StoryHeadline=p[j].HEADLINE; 490 // add code to set hidden val use that val to show or not show comments. 491 492 if (! p[j].HEADLINE) { 493 statusHTML.push('<div class="" style="overflow:hidden;">'); 494 statusHTML.push('<div class="stories-summary">'+p[j].SUMMARY+'</div>'); 495 } else { 496 497 statusHTML.push('<div class="" style="overflow:hidden;">'); 498 statusHTML.push('<div class="stories-headline">'+p[j].HEADLINE+''); 499 // sstatusHTML.push( p[j].SHOWSMOPTIONS); 500 statusHTML.push('<div id="socialShare" class="btn-group share-group pull-right"><a data-toggle="dropdown" class="btn btn-sm btn-info"><i class="fa fa-share-alt fa-inverse"></i></a>'); 501 502 statusHTML.push('<button href="#" data-toggle="dropdown" class="btn btn-sm btn-info dropdown-toggle share"><span class="caret"></span></button>'); 503 statusHTML.push('<ul class="dropdown-menu share-box">'); 504 505 if ( p[j].SHOWSMOPTIONS.search("FB") >= 0 ) 506 statusHTML.push('<li><a target="_new" href="https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fwestcountyrotary.org%2Findex.php%3Fp%3Dstories%26storyid%3D177121" class="btn btn-sm btn-facebook"><i class="fa fa-facebook"></i></a></li>'); 507 if ( p[j].SHOWSMOPTIONS.search("TW") >= 0 ) 508 statusHTML.push('<li><a target="_new" href="https://twitter.com/intent/tweet?text=http%3A%2F%2Fwestcountyrotary.org%2Findex.php%3Fp%3Dstories%26storyid%3D177121" class="btn btn-sm btn-x-twitter"><i class="fa fa-twitter"></i></a></li>'); 509 if ( p[j].SHOWSMOPTIONS.search("LI") >= 0 ) 510 statusHTML.push('<li><a target="_new" href="https://www.linkedin.com/shareArticle?mini=true&url=http%3A%2F%2Fwestcountyrotary.org%2Findex.php%3Fp%3Dstories%26storyid%3D177121&title='+p[j].HEADLINE+'&summary=&source=" class="btn btn-sm btn-linkedin"><i class="fa fa-linkedin"></i></a></li>'); 511 if ( p[j].SHOWSMOPTIONS.search("TU") >= 0 ) 512 statusHTML.push('<li><a target="_new" href="https://www.tumblr.com/share?v=3&u=http%3A%2F%2Fwestcountyrotary.org%2Findex.php%3Fp%3Dstories%26storyid%3D177121&t='+p[j].HEADLINE+'&summary=&source=" class="btn btn-sm btn-tumblr"><i class="fa fa-tumblr"></i></a></li>'); 513 if ( p[j].SHOWSMOPTIONS.search("RE") >= 0 ) 514 statusHTML.push('<li><a target="_new" href="http://www.reddit.com/submit?url=http%3A%2F%2Fwestcountyrotary.org%2Findex.php%3Fp%3Dstories%26storyid%3D177121&title='+p[j].HEADLINE+'" class="btn btn-sm btn-reddit"><i class="fa fa-reddit"></i></a></li>'); 515 if ( p[j].SHOWSMOPTIONS.search("PT") >= 0 ) 516 statusHTML.push('<li><a target="_new" href="https://www.pinteret.com/?url=http%3A%2F%2Fwestcountyrotary.org%2Findex.php%3Fp%3Dstories%26storyid%3D177121&title='+p[j].HEADLINE+'" class="btn btn-sm btn-pinterest"><i class="fa fa-pinterest"></i></a></li>'); 517 518 if ( p[j].SHOWSMOPTIONS.search("PF") >= 0 ) 519 statusHTML.push('<li><a target="_new" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwestcountyrotary.org%2Findex.php%3Fp%3Dstories%26storyid%3D177121&title='+p[j].HEADLINE+'" class="btn btn-sm btn-print"><i class="fa fa-print"></i></a></li>'); 520 521 if ( p[j].SHOWSMOPTIONS.search("EN") >= 0 ) 522 statusHTML.push('<li><a target="_new" href="https://www.evernote.com/clip.action?url=http%3A%2F%2Fwestcountyrotary.org%2Findex.php%3Fp%3Dstories%26storyid%3D177121&title='+p[j].HEADLINE+'" class="btn btn-sm btn-evernote"><i class="fa-brands fa-evernote"></i></a></li>'); 523 524 //statusHTML.push('<li><a target="_new" href="https://plus.google.com/share?url=http%3A%2F%2Fwestcountyrotary.org%2Findex.php%3Fp%3Dstories%26storyid%3D177121" class="btn btn-sm btn-google"><i class="fa fa-google-plus"></i></a></li>'); 525 statusHTML.push('</ul></div>'); 526 527 528 statusHTML.push('</div><div>'); 529 var summary = p[j].SUMMARY; 530 // var summary = summary.replace(new RegExp("http://www.dacdb.com/", 'g'), "https://www.dacdb.com/"); 531 var summary = summary.replace(new RegExp("directory-online.com", 'g'), "DACdb.com"); 532 var summary = summary.replace(new RegExp("http://DACdb.com/", 'g'), "https://www.dacdb.com/"); 533 var summary = summary.replace(new RegExp("http://www.dacdb.com/", 'g'), "https://www.dacdb.com/"); 534 535 var description = p[j].DESCRIPTION; 536 // var description = description.replace(new RegExp("http://www.dacdb.com/", 'g'), "https://www.dacdb.com/"); 537 var description = description.replace(new RegExp("directory-online.com", 'g'), "DACdb.com"); 538 var description = description.replace(new RegExp("http://DACdb.com/", 'g'), "https://www.dacdb.com/"); 539 var description = description.replace(new RegExp("http://www.dacdb.com/", 'g'), "https://www.dacdb.com/"); 540 541 if (p[j].IMAGE) { 542 543 var story_image = p[j].IMAGE; 544 // var story_image = story_image.replace("http://www.dacdb.com/", "https://www.dacdb.com/"); 545 var story_image = story_image.replace(new RegExp("directory-online.com", 'g'), "DACdb.com"); 546 var story_image = story_image.replace(new RegExp("http://DACdb.com/", 'g'), "https://www.dacdb.com/"); 547 var story_image = story_image.replace(new RegExp("http://www.dacdb.com/", 'g'), "https://www.dacdb.com/"); 548 549 if (imageSide == 1) { 550 statusHTML.push('</div><div id="summary-'+p[j].STORYID+'" class="stories-summary"><img src="'+story_image+'" align="left" style="margin-right:10px;" class="img-thumbnail">'+summary+'</div>'); 551 imageSide = 2; 552 } else { 553 statusHTML.push('</div><div id="summary-'+p[j].STORYID+'" class="stories-summary"><img src="'+story_image+'" align="right" style="margin-left:10px;" class="img-thumbnail">'+summary+'</div>'); 554 imageSide = 1; 555 } 556 557 statusHTML.push('<div id="description-'+p[j].STORYID+'" class="stories-summary">'+description+'</div>'); 558 559 } else { 560 statusHTML.push('</div><div id="summary-'+p[j].STORYID+'" class="stories-summary">'+summary+'</div>'); 561 statusHTML.push('<div id="description-'+p[j].STORYID+'" class="stories-summary">'+description+'</div>'); 562 } 563 statusHTML.push('</div>'); 564 } 565 } 566 } 567 document.getElementById('Story').innerHTML = statusHTML.join(''); 568 document.getElementById('ri-title').innerHTML = $StoryHeadline; 569 } 570 571 572 573</script>
573 574
574<script src="https://www.ismyrotaryclub.com/story/stories.cfm?AccountID=6060&clubid=2311&StoryID=177121&callback=showStoryID" type="text/javascript"></script>
574 575 576 577 578 579 580 581 582 583 584 585 586 </div><!-- /.col-xs-12 main --> 587 588 589 590 <!-- column: left --> 591 <div class="col-sm-12 col-md-3 col-md-pull-9" id="sidebarleft"> 592 <div class="msg msg-primary meeting-information"> 593 <div id="ClubMeetingsInfo">Loading...</div> 594 </div><style> 595 .nav-stacked > li { 596 float: none; 597 } 598 .nav-stacked > li + li { 599 margin-top: 2px; 600 margin-left: 0; 601 } 602 /**** FIRST LEVEL MENU ****/ 603 #menuwrapper ul, #menuwrapper ul li{ 604 margin:0; 605 padding:0; 606 list-style:none; 607 border-radius: 4px; 608 box-shadow: 0 1px 2px rgba(0,0,0,.05); 609 610 } 611 #menuwrapper ul li{ 612 background-color:#8CA6C9; 613 border:solid 1px #8CA6C9 !important; 614 width:262px; 615 cursor:pointer; 616 margin-bottom:2px; 617 padding-top:25px !important; 618 619 620 } 621 #menuwrapper ul li:hover{ 622 background-color:#7e94b3; 623 position:relative; 624 color:#ffffff; 625 } 626 #menuwrapper ul li { 627 padding:10px 15px; 628 629 color:#ffffff; 630 display:block; 631 text-decoration:none; 632 } 633 #menuwrapper ul li a{ 634 /*padding:5px 15px;*/ 635 color:#ffffff; 636 display:block; 637 text-decoration:none; 638 } 639 #menuwrapper ul li a:hover{ 640 color:#ffffff; 641 } 642 #menuwrapper ul li:hover{ 643 color:#ffffff; 644 } 645 646 /**** SECOND LEVEL MENU ****/ 647 #menuwrapper ul li ul{ 648 position:absolute; 649 display:none; 650 } 651 #menuwrapper ul li:hover ul{ 652 left:260px; 653 top:-1px; 654 display:block; 655 z-index: 999; 656 background-color: #ffffff; 657 } 658 #menuwrapper ul li ul li{ 659 background-color:#8CA6C9; 660 border:solid 1px #8CA6C9 !important; 661 } 662 #menuwrapper ul li ul li:hover{ 663 background-color:#7e94b3 !important; 664 } 665 #menuwrapper ul li ul li a{ 666 color:#ffffff; 667 display:block; 668 padding:0 !important; 669 /*width:260px;*/ 670 } 671 #menuwrapper ul li ul li a:hover{ 672 color:#ffffff; 673 background-color:#7e94b3 !important; 674 } 675 .side-dropdown li a:hover{ 676 background-color:#ffffff !important; 677 } 678 .side-dropdown { 679 border: 0px solid white !important; 680 } 681 @media only screen and (max-width : 1199px) { 682 #menuwrapper ul li{ 683 width:222px; 684 } 685 #menuwrapper ul li:hover ul{ 686 left:220px; 687 } 688 } 689</style> 690<div id="menuwrapper" style="margin-bottom:20px;"> 691 <ul> 692 <li class="menu-item menu-item-1"><a href="?s=contact" >CONTACT US</a></li><li class="menu-item menu-item-1"><a href="?p=whereclubsmeet" >Where Eastern Missouri Clubs Meet</a></li> </ul> 693</div> <div class="event-list"> 694 <div class="msg msg-primary event-list-title"> 695 696 <div class="msg-title">Meetings & Events</div> 697 <div class="event-list-sep"></div> 698 <div id="Events">Loading</div> 699 </div> 700 </div> 701 </div> <!-- End left div--> 702 703 704 705 706 707 </div><!--/.row--> 708 709 <div id="footer" class="row" style="background-color:#ffffff;color:;"> 710 711 <div class="sponsers-list"> 712 <div class="fws msg-primary sponsers-list-title"> 713 <div class="msg-title">Company We Keep</div> 714 <div class="sponsers-list-sep"></div> 715 <div id="Sponsors">Loading</div> 716 </div> 717 </div> </div> <!-- end first col --> 718 719 720 <div class="theme"> 721 <div class="fws msg-primary text-center"> 722 <img src="https://actproxy.DACdb.com/0/ri-msg/2026/2026-27_ri-msg.png?309333076"> 723 </div> 724 </div> </div> <!-- end second col --> 725 726 </div> <!-- end second col --> 727 728 729 </div> 730 </div><!--/.container--> 731</div><!--/.page-container--> 732 733 <div class="container"> 734 <footer> 735 <hr> 736 <!-- <center style="color:#000000;">Powered by <a href="http://www.dacdb.com" target="new" style="color:#000000;">DACdb</a> ©.</center> ---> 737 738 739 740 <center style="color:#000000; background-color: lightgrey;padding:15px;"> 741 <font size="-2">© All content belongs to West St. Louis County unless otherwise specified.<br /> 742 Any and all Rotary marks are the property of Rotary International and their use is permitted by License from Rotary International. 743 <img src="https://DACdb.com/Images/RILicenseLogo.png" style="float:right;width:90px;height:60px;"><br /> 744 <font size="-2">EZ-Website powered by Member Minder Pro © 2003-2026, and its affiliates. All rights reserved.<br /> 745 746 <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> 747 748 </center> 749 750 <!--- 751 <center style="color:#2B4677; background-color: #FAF9FA;"> 752 All content belongs to West St. Louis County unless otherwise specified.<br /> 753 Any & all Rotary marks are the property of Rotary International and allowed by License Agreement with Member Minder Pro, LLC.<br /> 754 <br /> 755 <img src="https://DACdb.com/Images/RILicenseLogo.png"><br /> 756 <br /> 757 <center style="background-color:#2B4677; color: #FAF9FA;"> 758 Ez-Website powered by Member Minder Pro © 2003-2026, and its affiliates. All rights reserved.<br /> 759 <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> 760 </center> 761 </center> 762---> 763 </footer> 764 </div><!--/.container--> 765 766 <div class="modal fade" id="login-modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="display: none;"> 767 <div class="modal-dialog"> 768 <div class="loginmodal-container"> 769 <h1>Login to Your<br>DACdb Account</h1><br> 770 <form method="post" action=""> 771 <input type="hidden" name="ip_address" value="172.69.59.218"> 772 <input type="hidden" name="HTTP_HOST" value="westcountyrotary.org"> 773 <input type="hidden" name="REQUEST_URI" value="/index.php?storyid=177121"> 774 <input type="hidden" name="QUERY_STRING" value="storyid=177121"> 775 776 <input type="text" name="LoginName" placeholder="Username" autocomplete="username" value=""> 777 <input type="password" name="Password" placeholder="Password" autocomplete="current-password"> 778 779 <div style="padding:0px;justify-self: center;"> 780 <div class="g-recaptcha" data-sitekey="6LdKtKwcAAAAAFt26gbEJX8JEbnC7KyNf6PAn75b" style="padding-bottom:9px;"></div> <!--- Add customers recaptcha to login modal ---> 781 </div> 782 783 <input type="submit" name="Login" class="login loginmodal-submit" value="Login"> 784 <div class="login-help text-right"> 785 Remember Me 786 <input type="checkbox" name="remember2" style="width:auto;" > | [<a href="javascript:viod();" data-dismiss="modal" data-target="#login-modal">Close</a>] 787 </div> 788 789 790 </form> 791 </div> 792 </div> 793 </div> 794 795 <!-- Bootstrap core JavaScript 796 ================================================== --> 797 <!-- Placed at the end of the document so the pages load faster --> 798
798<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
798 799
799<script src="https://websites01.dacdb.com/websites_core/js/bootstrap.min.js"></script>
799 800
800<script src="https://websites01.dacdb.com/websites_core/js/lightbox.min.js"></script>
800 801 <!-- IE10 viewport hack for Surface/desktop Windows 8 bug --> 802
802<script src="https://websites01.dacdb.com/websites_core/js/ie10-viewport-bug-workaround.js"></script>
802 803
803<script type="text/javascript" src="https://websites01.dacdb.com/websites_core/fullcalendar/fullcalendar/moment.min.js"></script>
803 804
804<script type="text/javascript" src="https://websites01.dacdb.com/websites_core/fullcalendar/fullcalendar/fullcalendar.js"></script>
804 805
805<script type="text/javascript" src="https://websites01.dacdb.com/websites_core/fullcalendar/fullcalendar/locale-all.js"></script>
805 806
806<script type="text/javascript" src="https://websites01.dacdb.com/websites_core/fullcalendar/fullcalendar/gcal.js"></script>
806 807
807<script src="https://websites01.dacdb.com/websites_core/js/date.js"></script>
807 808
808<script src="https://websites01.dacdb.com/websites_core/js/responsiveslides.js"></script>
808 809
809<script type="text/javascript" src="https://websites01.dacdb.com/websites_core/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>
vendor: 85 bytes, lines 809-816
809 810 811 <script src='https://www.google.com/recaptcha/api.js'></script> 812 813 814 815 816
816<script type="text/javascript"> 817 $(document).on("click", ".reply-comment", function() { 818 var reply = $(this).data('reply-name'); 819 if ( reply == 'new') { 820 reply = 'Post a comment'; 821 } else { 822 reply = 'Replying to '+reply; 823 } 824 var commentid = $(this).data('comment-id'); 825 $("#replyspot").text(reply); 826 $('#commentid').val($(this).data('comment-id')); 827 $('#addCommentModal').modal('show'); 828 }); 829 830 function submitCommentForm(){ 831 var reg = /^[A-Z0-9._%+-]+@([A-Z0-9-]+\.)+[A-Z]{2,4}$/i; 832 var commentid = $('#commentid').val(); 833 var storyid = $('#storyid').val(); 834 var Name = $('#Name').val(); 835 var Comment = $('#Comment').val(); 836 if(Name.trim() == '' ){ 837 alert('Please enter your name.'); 838 $('#Name').focus(); 839 return false; 840 }else if(Comment.trim() == '' ){ 841 alert('Please enter a comment.'); 842 $('#Comment').focus(); 843 return false; 844 }else{ 845 $.ajax({
846 type:'POST', 847 url:'https://www.ismyrotaryclub.com/StoryComments/post.cfm', 848 data:'Name='+Name+'&Comment='+Comment+'&CommentID='+commentid+'&storyID='+storyid, 849 beforeSend: function () { 850 $('.submitBtn').attr("disabled","disabled"); 851 $('.modal-body').css('opacity', '.5'); 852 }, 853 success:function(msg){ 854 $('#Name').val(Name); 855 $('#Comment').val(''); 856 $('#addCommentModal').modal('toggle'); 857 $('.submitBtn').removeAttr("disabled"); 858 $('.modal-body').css('opacity', ''); 859 $.getScript("https://www.ismyrotaryclub.com/StoryComments/Index.cfm?StoryID=177121&callback=showStoryComments"); 860 } 861 }); 862 } 863 } 864 865 </script>
865 866 867 868 869 870 871 872 873 874
875<script> 876 $(document).ready(function() { 877 $(".fancybox").fancybox({ 878 openEffect : 'none', 879 closeEffect : 'none', 880 maxWidth: '900', 881 autoPlay: true, 882 titleShow: true, 883 playSpeed: 4000 884 }); 885 }); 886</script>
886 887 <!-- 888 DACdb.php - District and Club Database PHP Functions 889 Copyright (c) 2003-2021 DACdb, LLC. 890 This information in this file is confidential and proprietary to DACdb, LLC. 891--> 892
893<script type="text/javascript"> 894 function Show_Div(Div_id) { 895 $("#description-" + Div_id).toggle(); 896 $("#more-" + Div_id).toggleText("Read More", "Less"); 897 } 898 jQuery.fn.extend({ 899 toggleText: function (a, b){ 900 var that = this; 901 if (that.text() != a && that.text() != b){ 902 that.text(a); 903 } 904 else 905 if (that.text() == a){ 906 that.text(b); 907 } 908 else 909 if (that.text() == b){ 910 that.text(a); 911 } 912 return this; 913 } 914 }); 915 916// Birthdays 917function showBirthdays(json) { 918 var statusHTML = []; 919 for (var i=0; i<json.length; i++) { 920 var p = json[i]; 921 for (var j=0; j<p.length; j++) { 922 // http://www.dacdb.com/'.dir_label.'/Accounts/9969/Pics/M800218035.jpg 923 statusHTML.push('<div class="event-list-date">'+p[j].MEMBERNAME+'</div>'); 924 statusHTML.push('<div class="event-list-text">'+p[j].BIRTHDAY+'</div>'); 925 statusHTML.push('<div class="event-list-sep"></div> '); 926 } 927 } 928 if ($("#Birthdays").length) { 929 document.getElementById('Birthdays').innerHTML = statusHTML.join(''); 930 } 931} 932 933 934function showClub_Anniversary() { 935 var statusHTML = []; 936 937 if ($("#Club_Anniversary").length) { 938 document.getElementById('Club_Anniversary').innerHTML = '<div class="bulletin-list-text">10/25 Jack Lawler, 4 Years</div><div class="bulletin-list-sep"></div>'; 939 } 940} 941 942// Wedding 943function showWedding() { 944 var statusHTML = []; 945 946 947 if ($("#Wedding").length) { 948 document.getElementById('Wedding').innerHTML = '<div class="bulletin-list-text">Cindy Duncan d\'Arden </div><div class="bulletin-list-text">October 24</div><div class="bulletin-list-sep"></div>'; 949 } 950} 951function showBirthdaysPage(json) { 952 var statusHTML = []; 953 for (var i=0; i<json.length; i++) { 954 statusHTML.push('<h3>Birthdays</h3><br>'); 955 var p = json[i]; 956 for (var j=0; j<p.length; j++) { 957 statusHTML.push('<div class="event-list-date">'+p[j].MEMBERNAME+'</div>'); 958 statusHTML.push('<div class="event-list-text">'+p[j].BIRTHDAY+'</div>'); 959 statusHTML.push('<div class="event-list-sep"></div> '); 960 } 961 } 962 if ($("#birthdayspage").length) { 963 document.getElementById('birthdayspage').innerHTML = statusHTML.join(''); 964 } 965} 966// Speakers 967function showSpeakers(json) { 968 var statusHTML = []; 969 970 for (var i=0; i < json.length; i++) { 971 972 var p = json[i]; 973 for (var j=0; j<p.length; j++) { 974 975 statusHTML.push('<div class="event-list-date">'+p[j].EVENTDATE+'</div>'); 976 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=1&fixTables=1" class="various2" data-fancybox-type="iframe">'+p[j].SPEAKER+'</a></div>'); 977 statusHTML.push('<div class="event-list-text">'+p[j].TOPIC+'</div>'); 978 statusHTML.push('<div class="event-list-sep"></div> '); 979 } 980 statusHTML.push('<div class="event-list-sep"><a href="https://www.ismyrotaryclub.com/wp_api_prod_1-1/R_ListSpeakers.cfm?ClubID=2311&Cat=1,2,3,4,5,6,7" class="various2" data-fancybox-type="iframe">List All Speakers</a></div> '); 981 } 982 if ($("#Speakers").length) { 983 document.getElementById('Speakers').innerHTML = statusHTML.join(''); 984 } 985} 986function showSpeakersPage(json) { 987 var statusHTML = []; 988 for (var i=0; i<json.length; i++) { 989 var p = json[i]; 990 statusHTML.push('<h3>Speakers</h3><br>'); 991 for (var j=0; j<p.length; j++) { 992 statusHTML.push('<div class="event-list-date">'+p[j].EVENTDATE+'</div>'); 993 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=1&fixTables=1" class="various2" data-fancybox-type="iframe">'+p[j].EVENTNAME+'</a></div>'); 994 if (p[j].EVENTNAME != p[j].SPEAKER) { 995 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=1&fixTables=1" class="various2" data-fancybox-type="iframe">Speaker: '+p[j].SPEAKER+'</a></div>'); 996 } 997 if (p[j].TOPIC == '') { 998 statusHTML.push('<div class="event-list-text"> </div>'); 999 } else { 1000 statusHTML.push('<div class="event-list-text">'+p[j].TOPIC+'</div>'); 1001 } 1002 if (p[j].DESCRIPTION != '') { 1003 statusHTML.push('<div class="event-list-text">'+p[j].DESCRIPTION+'</div>'); 1004 } 1005 1006 statusHTML.push('<div class="event-list-sep"></div> '); 1007 } 1008 statusHTML.push('<div class="event-list-sep"><a href="https://www.ismyrotaryclub.com/wp_api_prod_1-1/R_ListSpeakers.cfm?ClubID=2311&Cat=1,2,3,4,5,6,7" class="various2" data-fancybox-type="iframe">List All Speakers</a></div> '); 1009 } 1010 if ($("#speakerspage").length) { 1011 document.getElementById('speakerspage').innerHTML = statusHTML.join(''); 1012 } 1013} 1014// Stories 1015function showStory(json){ 1016 var statusHTML = []; 1017 var imageSide = 1; 1018 for (var i=0; i<json.length; i++) { 1019 var p = json[i]; 1020 for (var j=0; j<p.length; j++) { 1021 if (! p[j].HEADLINE) { 1022 statusHTML.push('<div class="" style="overflow:hidden;">'); 1023 statusHTML.push('<div class="stories-summary">'+p[j].SUMMARY+'</div>'); 1024 } else { 1025 statusHTML.push('<div class="" style="overflow:hidden;">'); 1026 statusHTML.push('<div class="stories-headline">'+p[j].HEADLINE+''); 1027 1028 1029 statusHTML.push('</div><div>'); 1030 1031 var summary = p[j].SUMMARY; 1032 var summary = summary.replace(new RegExp("directory-online.com", 'g'), "DACdb.com"); 1033 var summary = summary.replace(new RegExp("http://DACdb.com/", 'g'), "https://www.dacdb.com/"); 1034 var summary = summary.replace(new RegExp("http://www.dacdb.com/", 'g'), "https://www.dacdb.com/"); 1035 1036 1037 var description = p[j].DESCRIPTION; 1038 var description = description.replace(new RegExp("directory-online.com", 'g'), "DACdb.com"); 1039 var description = description.replace(new RegExp("http://DACdb.com/", 'g'), "https://www.dacdb.com/"); 1040 var description = description.replace(new RegExp("http://www.dacdb.com/", 'g'), "https://www.dacdb.com/"); 1041 1042 1043 if (p[j].IMAGE) { 1044 1045 var story_image = p[j].IMAGE; 1046 // var story_image = story_image.replace("http://www.dacdb.com/", "https://www.dacdb.com/"); 1047 var story_image = story_image.replace(new RegExp("directory-online.com", 'g'), "DACdb.com"); 1048 var story_image = story_image.replace(new RegExp("http://DACdb.com/", 'g'), "https://www.dacdb.com/"); 1049 var story_image = story_image.replace(new RegExp("http://www.dacdb.com/", 'g'), "https://www.dacdb.com/"); 1050 1051 if (imageSide == 1) { 1052 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>'); 1053 imageSide = 2; 1054 } else { 1055 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>'); 1056 imageSide = 1; 1057 } 1058 } else { 1059 statusHTML.push('</div><div id="summary-'+p[j].STORYID+'" class="stories-summary">'+summary+'</div>'); 1060 } 1061 if (p[j].DESCRIPTION) { 1062 statusHTML.push('<div id="description-'+p[j].STORYID+'" class="stories-summary" style="display:none;">'+description+'</div>'); 1063 statusHTML.push('<a href="javascript:void(0)" onclick="Show_Div('+p[j].STORYID+')" id="more-'+p[j].STORYID+'">Read More</a>'); 1064 } 1065 1066 statusHTML.push(' <span class="pull-right"><a href="?p=stories&storyid='+p[j].STORYID+'">Share</a></span>'); 1067 1068 1069 statusHTML.push('</div>'); 1070 statusHTML.push('<hr>'); 1071 } 1072 } 1073 statusHTML.push('<div class="text-right"><a href="index.php?p=stories" class="btn btn-primary btn-sm">See All Stories</a><br><br></div>'); 1074 } 1075 if ($("#Stories").length) { 1076 document.getElementById('Stories').innerHTML = statusHTML.join(''); 1077 } 1078} 1079// district stories for clubs 1080function showDistrictStory(json){ 1081 var statusHTML = []; 1082 var imageSide = 1; 1083 for (var i=0; i<json.length; i++) { 1084 var p = json[i]; 1085 statusHTML.push('<h3>District Stories</h3><br>'); 1086 for (var j=0; j<p.length; j++) { 1087 if (! p[j].HEADLINE) { 1088 statusHTML.push('<div class="" style="overflow:hidden;">'); 1089 statusHTML.push('<div class="stories-summary">'+p[j].SUMMARY+'</div>'); 1090 } else { 1091 statusHTML.push('<div class="" style="overflow:hidden;">'); 1092 statusHTML.push('<div class="stories-headline">'+p[j].HEADLINE+''); 1093 statusHTML.push('</div><div>'); 1094 if (p[j].BITSTORYDATE == 1) { 1095 statusHTML.push('<span class="stories-date">'+p[j].STORYDATE+'</span><br>'); 1096 } 1097 if (p[j].BITBYLINE) { 1098 statusHTML.push('<span class="stories-submitted">By: '+p[j].CREATED_BY+'</span>'); 1099 } 1100 1101 var summary = p[j].SUMMARY; 1102 // var summary = summary.replace(new RegExp("http://www.dacdb.com/", 'g'), "https://www.dacdb.com/"); 1103 var summary = summary.replace(new RegExp("directory-online.com", 'g'), "DACdb.com"); 1104 var summary = summary.replace(new RegExp("http://DACdb.com/", 'g'), "https://www.dacdb.com/"); 1105 var summary = summary.replace(new RegExp("http://www.dacdb.com/", 'g'), "https://www.dacdb.com/"); 1106 1107 var description = p[j].DESCRIPTION; 1108 // var description = description.replace(new RegExp("http://www.dacdb.com/", 'g'), "https://www.dacdb.com/"); 1109 var description = description.replace(new RegExp("directory-online.com", 'g'), "DACdb.com"); 1110 var description = description.replace(new RegExp("http://DACdb.com/", 'g'), "https://www.dacdb.com/"); 1111 var description = description.replace(new RegExp("http://www.dacdb.com/", 'g'), "https://www.dacdb.com/"); 1112 1113 1114 if (p[j].IMAGE) { 1115 1116 var story_image = p[j].IMAGE; 1117 // var story_image = story_image.replace("http://www.dacdb.com/", "https://www.dacdb.com/"); 1118 var story_image = story_image.replace(new RegExp("directory-online.com", 'g'), "DACdb.com"); 1119 var story_image = story_image.replace(new RegExp("http://DACdb.com/", 'g'), "https://www.dacdb.com/"); 1120 var story_image = story_image.replace(new RegExp("http://www.dacdb.com/", 'g'), "https://www.dacdb.com/"); 1121 1122 if (imageSide == 1) { 1123 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>'); 1124 imageSide = 2; 1125 } else { 1126 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>'); 1127 imageSide = 1; 1128 } 1129 } else { 1130 statusHTML.push('</div><div id="summary-'+p[j].STORYID+'" class="stories-summary">'+summary+'</div>'); 1131 } 1132 if (p[j].DESCRIPTION) { 1133 statusHTML.push('<div id="description-'+p[j].STORYID+'" class="stories-summary" style="display:none;">'+description+'</div>'); 1134 statusHTML.push('<a href="javascript:void(0)" onclick="Show_Div('+p[j].STORYID+')" id="more-'+p[j].STORYID+'">Read More</a>'); 1135 } 1136 1137 statusHTML.push(' <span class="pull-right"><a href="?p=stories&storyid='+p[j].STORYID+'">Share</a></span>'); 1138 1139 statusHTML.push('</div>'); 1140 statusHTML.push('<hr>'); 1141 } 1142 } 1143 } 1144 if ($("#districtstoriespage").length) { 1145 document.getElementById('districtstoriespage').innerHTML = statusHTML.join(''); 1146 } 1147} 1148 1149 1150// Club Leaders 1151function showLeaders(json){ 1152 var statusHTML = []; 1153 for (var i=0; i<json.length; i++) { 1154 var p = json[i]; 1155 statusHTML.push('<ul class="list-group" id="contact-list">'); 1156 for (var j=0; j<p.length; j++) { 1157 statusHTML.push('<li class="list-group-item"><div class="col-xs-12 text-left" style=""><strong>'+p[j].CLUBPOSITION+'</strong></div>'); 1158 1159 statusHTML.push('<div class="col-xs-12 col-sm-12 text-left">'); 1160 statusHTML.push('<span class="name name-leader">'+p[j].MEMBERNAME+'</div>'); 1161 1162 statusHTML.push('<div class="clearfix"></div>'); 1163 statusHTML.push('<div class="clborder" style="border-bottom:1px solid #ccc; padding-top:0px;"></div></li>'); 1164 } 1165 statusHTML.push('</ul>'); 1166 } 1167if ($("#clubleaders").length) { 1168 document.getElementById('clubleaders').innerHTML = statusHTML.join(''); 1169} 1170 1171} 1172 1173function showLeadersPage(json){ 1174 var statusHTML = []; 1175 var loopcount = 0; 1176 for (var i=0; i<json.length; i++) { 1177 var p = json[i]; 1178 statusHTML.push('<h3>Club Leaders</h3><br>'); 1179 for (var j=0; j<p.length; j++) { 1180 loopcount = loopcount + 1; 1181 1182 1183 statusHTML.push('<div class="col-sm-6 clearfix" style="margin-bottom:10px;">'); 1184 statusHTML.push('<table>'); 1185 statusHTML.push('<tr>'); 1186 statusHTML.push('<td valign="top">'); 1187 statusHTML.push('<span class="name"><b>'+p[j].MEMBERNAME+'</b></div>'); 1188 statusHTML.push('<br>'+p[j].CLUBPOSITION+''); 1189 statusHTML.push('</td>'); 1190 statusHTML.push('</tr>'); 1191 statusHTML.push('</table>'); 1192 statusHTML.push('</div>'); 1193 } 1194 //statusHTML.push('</ul>'); 1195 1196 } 1197 if ($("#clubleaderspage").length) { 1198 document.getElementById('clubleaderspage').innerHTML = statusHTML.join(''); 1199 } 1200} 1201 1202// District Leaders 1203function showDistri
1203ctLeaders(json){ 1204 var statusHTML = []; 1205 for (var i=0; i<json.length; i++) { 1206 var p = json[i]; 1207 statusHTML.push('<ul class="list-group" id="contact-list">'); 1208 for (var j=0; j<p.length; j++) { 1209 1210 statusHTML.push('<li class="list-group-item"><div class="col-xs-12 text-left" style=""><strong>'+p[j].COMMITTEEPOSITION+'</strong></div>'); 1211 statusHTML.push('<div class="col-xs-12 col-sm-12 text-left">'); 1212 statusHTML.push('<span class="name name-leader">'+p[j].MEMBERNAME+'</div>'); 1213 1214 statusHTML.push('<div class="clearfix"></div>'); 1215 statusHTML.push('<div style="border-bottom:1px solid #ccc; padding-top:20px;"></div></li>'); 1216 } 1217 statusHTML.push('</ul>'); 1218 } 1219 if ($("#districtleaders").length) { 1220 document.getElementById('districtleaders').innerHTML = statusHTML.join(''); 1221 } 1222} 1223 1224function showDistrictLeadersPage(json){ 1225 var statusHTML = []; 1226 for (var i=0; i<json.length; i++) { 1227 var p = json[i]; 1228 statusHTML.push('<h3>District Leaders</h3><br>'); 1229 for (var j=0; j<p.length; j++) { 1230 // loopcount = loopcount + 1; 1231 1232 statusHTML.push('<div class="col-sm-6 clearfix" style="margin-bottom:10px;">'); 1233 statusHTML.push('<table>'); 1234 statusHTML.push('<tr>'); 1235 1236 1237 statusHTML.push('<td valign="top">'); 1238 statusHTML.push('<span class="name"><b>'+p[j].MEMBERNAME+'</b></div>'); 1239 statusHTML.push('<br>'+p[j].COMMITTEEPOSITION+''); 1240 statusHTML.push('</td>'); 1241 statusHTML.push('</tr>'); 1242 statusHTML.push('</table>'); 1243 statusHTML.push('</div>'); 1244 } 1245 } 1246 if ($("#districtleaderspage").length) { 1247 document.getElementById('districtleaderspage').innerHTML = statusHTML.join(''); 1248 } 1249} 1250 1251// Meeting info with image 1252function showClubMeetingsInfo(json) { 1253 var statusHTML = []; 1254 for (var i=0; i<json.length; i++) { 1255 var p = json[i]; 1256 for (var j=0; j<p.length; j++) { 1257 statusHTML.push('<div class="msg-title">'); 1258 statusHTML.push('Where We Meet'); 1259 statusHTML.push('</div> '); 1260 statusHTML.push('<div class="meeting-image pull-left"><img src="images/" class="img-thumbnail" width="130"/></div>'); 1261 statusHTML.push('<div class="meeting-time text-center">'+p[j].MEETINGDAY+'<br>'+p[j].MEETINGTIME+'<br><br>'); 1262 1263 1264 // statusHTML.push(' <a href="'+p[j].LATLNG+'" target="new" class="btn btn-xs btn-default">Map It</a>'); 1265 1266 1267 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>'); 1268 statusHTML.push('</div>'); 1269 statusHTML.push('<div class="meeting-location">'); 1270 statusHTML.push(' <strong>'+p[j].MEETINGPLACE+'</strong><br>'); 1271 if ( p[j].MEETINGADDRESS2 == '') { 1272 statusHTML.push(' '+p[j].MEETINGADDRESS+' <br>'); 1273 } else { 1274 statusHTML.push(' '+p[j].MEETINGADDRESS+', '+p[j].MEETINGADDRESS2+'<br>'); 1275 } 1276 1277 if ( p[j].MEETINGADDRESS3 != '') { 1278 statusHTML.push(' '+p[j].MEETINGADDRESS3+' <br>'); 1279 } 1280 1281 statusHTML.push(' '+p[j].MEETINGCITY+', '+p[j].MEETINGSTATECODE+' '+p[j].MEETINGPOSTALCODE+'<br><br>'); 1282 statusHTML.push('</div>'); 1283 1284 statusHTML.push('<div class="meeting-location">'); 1285 statusHTML.push(' <br><br><strong>Mail:</strong><br>'); 1286 statusHTML.push(' <br>'); 1287 if ( p[j].CLUBADDRESS2 == '') { 1288 statusHTML.push(' '+p[j].CLUBADDRESS+' <br>'); 1289 } else { 1290 statusHTML.push(' '+p[j].CLUBADDRESS+', '+p[j].CLUBADDRESS2+'<br>'); 1291 } 1292 1293 if ( p[j].CLUBADDRESS3 != '') { 1294 statusHTML.push(' '+p[j].CLUBADDRESS3+' <br>'); 1295 } 1296 1297 statusHTML.push(' '+p[j].CLUBCITY+', '+p[j].CLUBSTATECODE+' '+p[j].CLUBPOSTALZIP+'<br><br>'); 1298 //statusHTML.push(' <strong>Email:</strong> <a href="mailto:'+p[j].CLUBEMAIL+'">Email Us</a><br>'); 1299 statusHTML.push('</div>'); 1300 } 1301 } 1302 if ($("#ClubMeetingsInfo").length) { 1303 document.getElementById('ClubMeetingsInfo').innerHTML = statusHTML.join(''); 1304 } 1305} 1306// Meeting info no photo 1307function showClubMeetingsInfoNoPhoto(json) { 1308 var statusHTML = []; 1309 for (var i=0; i<json.length; i++) { 1310 var p = json[i]; 1311 for (var j=0; j<p.length; j++) { 1312 statusHTML.push('<div class="msg-title">'); 1313 statusHTML.push('Where We Meet'); 1314 statusHTML.push('</div> '); 1315 statusHTML.push('<div class="meeting-location">'); 1316 statusHTML.push(' '+p[j].MEETINGDAY+' - '+p[j].MEETINGTIME+'<br><br>'); 1317 statusHTML.push(' <strong>'+p[j].MEETINGPLACE+'</strong><br>'); 1318 1319 if ( p[j].MEETINGADDRESS2 == '') { 1320 statusHTML.push(' '+p[j].MEETINGADDRESS+' <br>'); 1321 } else { 1322 statusHTML.push(' '+p[j].MEETINGADDRESS+', '+p[j].MEETINGADDRESS2+'<br>'); 1323 } 1324 1325 if ( p[j].MEETINGADDRESS3 != '') { 1326 statusHTML.push(' '+p[j].MEETINGADDRESS3+' <br>'); 1327 } 1328 1329 statusHTML.push(' '+p[j].MEETINGCITY+', '+p[j].MEETINGSTATECODE+' '+p[j].MEETINGPOSTALCODE+'<br><br>'); 1330 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>'); 1331 // statusHTML.push(' <a href="'+p[j].LATLNG+'" target="new" class="btn btn-xs btn-default">Map It</a>'); 1332 statusHTML.push('</div>'); 1333 1334 statusHTML.push('<div class="meeting-location">'); 1335 statusHTML.push(' <br><br><strong>Mail:</strong><br>'); 1336 statusHTML.push(' <br>'); 1337 1338 1339 if ( p[j].CLUBADDRESS2 == '') { 1340 statusHTML.push(' '+p[j].CLUBADDRESS+' <br>'); 1341 } else { 1342 statusHTML.push(' '+p[j].CLUBADDRESS+', '+p[j].CLUBADDRESS2+'<br>'); 1343 } 1344 1345 if ( p[j].CLUBADDRESS3 != '') { 1346 statusHTML.push(' '+p[j].CLUBADDRESS3+' <br>'); 1347 } 1348 1349 statusHTML.push(' '+p[j].CLUBCITY+', '+p[j].CLUBSTATECODE+' '+p[j].CLUBPOSTALZIP+'<br><br>'); 1350 //statusHTML.push(' <strong>Email:</strong> <a href="mailto:'+p[j].CLUBEMAIL+'">Email Us</a><br>'); 1351 statusHTML.push('</div>'); 1352 } 1353 } 1354 if ($("#ClubMeetingsInfo").length) { 1355 document.getElementById('ClubMeetingsInfo').innerHTML = statusHTML.join(''); 1356 } 1357} 1358// Club events 1359function showEvents(json){ 1360 var statusHTML = []; 1361 for (var i=0; i<json.length; i++) { 1362 var p = json[i]; 1363 1364 for (var j=0; j<p.length; j++) { 1365 1366 try { 1367 var sd = Date.parseDate(p[j].STARTDATE, "F, d Y g:i:s"); 1368 var ed = Date.parseDate(p[j].ENDDATE, "F, d Y g:i:s"); 1369 1370 var sd1 = sd.dateFormat("M dS"); 1371 var ed1 = ed.dateFormat("M dS"); 1372 1373 if (sd1 != ed1) { 1374 statusHTML.push('<div class="event-list-date">'+ sd.dateFormat("M dS") +' - '+ ed.dateFormat("M dS") +'</div>'); 1375 } else { 1376 statusHTML.push('<div class="event-list-date">'+ sd.dateFormat("F dS") +'</div>'); 1377 } 1378 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=1&fixTables=1" class="various2" data-fancybox-type="iframe">'+p[j].EVENTNAME+'</a></div>'); 1379 statusHTML.push('<div class="event-list-sep"></div> '); 1380 } catch(e) { 1381 var sd = Date.parseDate(p[j].STARTDATE, "F, d Y g:i:s"); 1382 statusHTML.push('<div class="event-list-date">'+ sd.dateFormat("F dS") +'</div>'); 1383 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=1&fixTables=1" class="various2" data-fancybox-type="iframe">'+p[j].EVENTNAME+'</a></div>'); 1384 statusHTML.push('<div class="event-list-sep"></div> '); 1385 } 1386 1387 } 1388 if (p.length == 0){ 1389 statusHTML.push('No Club Events<div class="bulletin-list-sep"></div> '); 1390 } else { 1391 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>'); 1392 } 1393 1394 } 1395 if ($("#Events").length) { 1396 document.getElementById('Events').innerHTML = statusHTML.join(''); 1397 } 1398} 1399 1400function showEventsPage(json){ 1401 var statusHTML = []; 1402 for (var i=0; i<json.length; i++) { 1403 var p = json[i]; 1404 statusHTML.push('<h3>Meetings & Events</h3><br>'); 1405 for (var j=0; j<p.length; j++) { 1406 1407 try { 1408 var sd = Date.parseDate(p[j].STARTDATE, "F, d Y g:i:s"); 1409 var ed = Date.parseDate(p[j].ENDDATE, "F, d Y g:i:s"); 1410 var sd1 = sd.dateFormat("M dS"); 1411 var ed1 = ed.dateFormat("M dS"); 1412 if (sd1 != ed1) { 1413 statusHTML.push('<div class="event-list-date">'+p[j].STARTDAY+' '+ sd.dateFormat("F dS") +' - '+p[j].ENDDAY+' ' + ed.dateFormat("F dS") +'</div>'); 1414 } else { 1415 statusHTML.push('<div class="event-list-date">'+p[j].STARTDAY+' '+ sd.dateFormat("F dS") +'</div>'); 1416 } 1417 // here 2 1418 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=1&fixTables=1" class="various2" data-fancybox-type="iframe">'+p[j].EVENTNAME+'</a></div>'); 1419 statusHTML.push('<div class="event-list-text">'+ sd.dateFormat("g:i a") +' to '+ ed.dateFormat("g:i a") +'</div>'); 1420 statusHTML.push('<div class="event-list-sep"></div> '); 1421 } 1422 catch(e) { 1423 var sd = Date.parseDate(p[j].STARTDATE, "F, d Y g:i:s"); 1424 statusHTML.push('<div class="event-list-date">'+ sd.dateFormat("F dS") +'</div>'); 1425 // here 3 1426 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=1&fixTables=1" class="various2" data-fancybox-type="iframe">'+p[j].EVENTNAME+'</a></div>'); 1427 statusHTML.push('<div class="event-list-text">'+ sd.dateFormat("g:i a") +'</div>'); 1428 statusHTML.push('<div class="event-list-sep"></div> '); 1429 } 1430 1431 } 1432 1433 } 1434 if ($("#eventspage").length) { 1435 document.getElementById('eventspage').innerHTML = statusHTML.join(''); 1436 } 1437} 1438// District Events 1439function showMDEvents(json){ 1440 var statusHTML = []; 1441 for (var i=0; i<json.length; i++) { 1442 var p = json[i]; 1443 for (var j=0; j<p.length; j++) { 1444 try { 1445 var sd = Date.parseDate(p[j].STARTDATE, "F, d Y g:i:s"); 1446 var ed = Date.parseDate(p[j].ENDDATE, "F, d Y g:i:s"); 1447 var sd1 = sd.dateFormat("M dS"); 1448 var ed1 = ed.dateFormat("M dS"); 1449 if (sd1 != ed1) { 1450 statusHTML.push('<div class="event-list-date">'+ sd.dateFormat("M dS") +' - '+ ed.dateFormat("M dS") +'</div>'); 1451 } else { 1452 statusHTML.push('<div class="event-list-date">'+ sd.dateFormat("F dS") +'</div>'); 1453 } 1454 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=1&fixTables=1" class="various2" data-fancybox-type="iframe">'+p[j].EVENTNAME+'</a></div>'); 1455 statusHTML.push('<div class="event-list-sep"></div> '); 1456 } catch(e) { 1457 var sd = Date.parseDate(p[j].STARTDATE, "F, d Y g:i:s"); 1458 var sd1 = sd.dateFormat("M dS"); 1459 statusHTML.push('<div class="event-list-date">'+ sd.dateFormat("F dS") +'</div>'); 1460 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=1&fixTables=1" class="various2" data-fancybox-type="iframe">'+p[j].EVENTNAME+'</a></div>'); 1461 statusHTML.push('<div class="event-list-sep"></div> '); 1462 } 1463 } 1464 if (p.length == 0){ 1465 statusHTML.push('No District Events<div class="bulletin-list-sep"></div> '); 1466 } else { 1467 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>'); 1468 } 1469 } 1470 if ($("#MDEvents").length) { 1471 document.getElementById('MDEvents').innerHTML = statusHTML.join(''); 1472 } 1473} 1474 1475function showMDEventsPage(json){ 1476 var statusHTML = []; 1477 for (var i=0; i<json.length; i++) { 1478 var p = json[i]; 1479 statusHTML.push('<h3>District Events</h3><br>'); 1480 for (var j=0; j<p.length; j++) { 1481 try { 1482 var sd = Date.parseDate(p[j].STARTDATE, "F, d Y g:i:s"); 1483 var ed = Date.parseDate(p[j].ENDDATE, "F, d Y g:i:s"); 1484 var sd1 = sd.dateFormat("M dS"); 1485 var ed1 = ed.dateFormat("M dS"); 1486 if (sd1 != ed1) { 1487 statusHTML.push('<div class="event-list-date">'+p[j].STARTDAY+' '+ sd.dateFormat("F dS") +' - '+p[j].STARTDAY+' ' + ed.dateFormat("F dS") +'</div>'); 1488 } else { 1489 statusHTML.push('<div class="event-list-date">'+p[j].STARTDAY+' '+ sd.dateFormat("F dS") +
1489'</div>'); 1490 } 1491 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=1&fixTables=1" class="various2" data-fancybox-type="iframe">'+p[j].EVENTNAME+'</a></div>'); 1492 statusHTML.push('<div class="event-list-text">'+ sd.dateFormat("g:i a") +' to '+ ed.dateFormat("g:i a") +'</div>'); 1493 statusHTML.push('<div class="event-list-sep"></div> '); 1494 } 1495 catch(e) { 1496 var sd = Date.parseDate(p[j].STARTDATE, "F, d Y g:i:s"); 1497 statusHTML.push('<div class="event-list-date">'+ sd.dateFormat("F dS") +'</div>'); 1498 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=1&fixTables=1" class="various2" data-fancybox-type="iframe">'+p[j].EVENTNAME+'</a></div>'); 1499 statusHTML.push('<div class="event-list-text">'+ sd.dateFormat("g:i a") +'</div>'); 1500 statusHTML.push('<div class="event-list-sep"></div> '); 1501 } 1502 } 1503 } 1504 if ($("#districteventspage").length) { 1505 document.getElementById('districteventspage').innerHTML = statusHTML.join(''); 1506 } 1507} 1508//ClubPresidents 1509// function ClubPresidents(json){ 1510// var statusHTML = []; 1511// var loopCount = 0; 1512// for (var i=0; i<json.length; i++) { 1513// var p = json[i]; 1514// statusHTML.push('<h3>District 6060 Club Presidents</h3>'); 1515// statusHTML.push('<div> </div>'); 1516 1517// for (var j=0; j<p.length; j++) { 1518// if ( loopCount == 0 ) { 1519// statusHTML.push('<div class="row">'); 1520// } 1521// // 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">'); 1522// 1523 1524// if (p[j].IMAGE.length > 0) { 1525// var IMGPATH = p[j].IMGPATH; 1526// var IMGPATH = IMGPATH.toLowerCase(); 1527// var IMGPATH = IMGPATH.replace("http://www.dacdb.com/", "https://www.dacdb.com/"); 1528 1529// statusHTML.push('<img src="'+IMGPATH+''+p[j].IMAGE+'" class="img-thumbnail img-responsive">'); 1530// } else { 1531// statusHTML.push('<img src="../../websites_core/images/no_image.jpg" class="img-thumbnail img-responsive">'); 1532// } 1533// statusHTML.push('</div><div class="col-sm-6 col-md-8">'); 1534// 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>'); 1535// statusHTML.push('<h3 style="font-size: 16px;">'+p[j].CLUBNAME+'</h3>'); 1536 1537// statusHTML.push('</div></div></div></div>'); 1538// loopCount++; 1539// if ( loopCount == 2 ) { 1540// statusHTML.push('</div>'); 1541// loopCount = 0; 1542// } 1543// } 1544// } 1545// if ($("#clubpresidentspage").length) { 1546// document.getElementById('clubpresidentspage').innerHTML = statusHTML.join(''); 1547// } 1548// } 1549 1550function ClubPresidents(json){ 1551 1552 var statusHTML = []; 1553 for (var i=0; i<json.length; i++) { 1554 var p = json[i]; 1555 1556 statusHTML.push('<h3>District 6060 Club Presidents</h3><br>'); 1557 for (var j=0; j<p.length; j++) { 1558 // loopcount = loopcount + 1; 1559 statusHTML.push('<div class="col-sm-6 clearfix" style="min-height:210px;margin-bottom:10px;">'); 1560 statusHTML.push('<table>'); 1561 statusHTML.push('<tr>'); 1562 statusHTML.push('<td style="min-width:150px;padding-right:5px;" valign="top">'); 1563 if (p[j].IMAGE.length > 0) { 1564 var IMGPATH = p[j].IMGPATH; 1565 var IMGPATH = IMGPATH.toLowerCase(); 1566 var IMGPATH = IMGPATH.replace("http://www.dacdb.com/", "https://www.dacdb.com/"); 1567 1568 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>'); 1569 } else { 1570 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>'); 1571 } 1572 statusHTML.push('</td>'); 1573 statusHTML.push('<td valign="top">'); 1574 statusHTML.push('<span class="name"><b>'+p[j].MEMBERNAME+'</b></div>'); 1575 statusHTML.push('<h3 style="font-size: 14px;">'+p[j].CLUBNAME+'</h3>'); 1576 statusHTML.push('</td>'); 1577 statusHTML.push('</tr>'); 1578 statusHTML.push('</table>'); 1579 statusHTML.push('</div>'); 1580 } 1581 } 1582 1583if ($("#clubpresidentspage").length) { 1584 document.getElementById('clubpresidentspage').innerHTML = statusHTML.join(''); 1585} 1586} 1587 1588//DistrictCommittee 1589function DistrictCommittee(json){ 1590 var statusHTML = []; 1591 var loopCount = 0; 1592 for (var i=0; i<json.length; i++) { 1593 var p = json[i]; 1594 statusHTML.push('<h3>District 6060 Committee Chairs</h3>'); 1595 statusHTML.push('<div> </div>'); 1596 1597 for (var j=0; j<p.length; j++) { 1598 if ( loopCount == 0 ) { 1599 statusHTML.push('<div class="row">'); 1600 } 1601 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">'); 1602 1603 if (p[j].IMAGE.length > 0) { 1604 statusHTML.push('<img src="https://www.dacdb.com/Rotary/Accounts/6060/Pics/'+p[j].IMAGE+'" class="img-thumbnail img-responsive">'); 1605 } else { 1606 statusHTML.push('<img src="../../websites_core/images/no_image.jpg" class="img-thumbnail img-responsive">'); 1607 } 1608 statusHTML.push('</div><div class="col-sm-6 col-md-8">'); 1609 1610 statusHTML.push('<h4><b>'+p[j].MEMBERNAME+'</b></h4>'); 1611// 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>'); 1612 1613// 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>'); 1614 statusHTML.push('<b>'+p[j].COMMITTEEPOSITION+'</b>'); 1615 statusHTML.push('<br>'+p[j].COMMITTEENAME+''); 1616 statusHTML.push('<br><br>
1616'+p[j].CLUBNAME+''); 1617 1618 statusHTML.push('</div></div></div></div>'); 1619 loopCount++; 1620 if ( loopCount == 2 ) { 1621 statusHTML.push('</div>'); 1622 loopCount = 0; 1623 } 1624 } 1625 } 1626 if ($("#districtcommitteepage").length) { 1627 document.getElementById('districtcommitteepage').innerHTML = statusHTML.join(''); 1628 } 1629} 1630// Committee by RoleKey 1631function Committee(json){ 1632 var statusHTML = []; 1633 var headercount = 1; 1634 for (var i=0; i<json.length; i++) { 1635 var p = json[i]; 1636 1637 for (var j=0; j<p.length; j++) { 1638 1639 1640 if ( headercount == 1) { 1641 statusHTML.push('<h3>'+p[j].COMMITTEENAME+'</h3>'); 1642 statusHTML.push('<div> </div>'); 1643 headercount = 2; 1644 } 1645 1646 // if (p[j].COMMITTEEPOSITION != "Member") { 1647 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">'); 1648 1649 if (p[j].IMAGE.length > 0) { 1650 statusHTML.push('<img src="'+p[j].IMGPATH+''+p[j].IMAGE+'" class="img-thumbnail img-responsive">'); 1651 } else { 1652 statusHTML.push('<img src="../../websites_core/images/no_image.jpg" class="img-thumbnail img-responsive">'); 1653 } 1654 statusHTML.push('</div><div class="col-sm-6 col-md-8">'); 1655 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>'); 1656 statusHTML.push('<h3 style="font-size: 16px;">'+p[j].COMMITTEEPOSITION+'</h3>'); 1657 statusHTML.push('<br>'+p[j].CLUBNAME+''); 1658 if (p[j].REGION.length != '') { 1659 statusHTML.push('<br>Area: '+p[j].REGION+''); 1660 } 1661 1662 statusHTML.push('</div></div></div></div></div>'); 1663 1664 1665 // } 1666 1667 } 1668 } 1669 if ($("#committeepage").length) { 1670 document.getElementById('committeepage').innerHTML = statusHTML.join(''); 1671 } 1672} 1673 1674//CollegeOfGovernors 1675function CollegeOfGovernors(json){ 1676 var statusHTML = []; 1677 var loopCount = 0; 1678 for (var i=0; i<json.length; i++) { 1679 var p = json[i]; 1680 statusHTML.push('<h3>College Of Governors</h3>'); 1681 statusHTML.push('<div> </div>'); 1682 1683 1684 for (var j=0; j<p.length; j++) { 1685 if ( loopCount == 0 ) { 1686 statusHTML.push('<div class="row">'); 1687 } 1688 1689 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">'); 1690 if (p[j].IMAGE.length > 0) { 1691 statusHTML.push('<img src="https://www.dacdb.com/Rotary/Accounts/6060/Pics/'+p[j].IMAGE+'" class="img-thumbnail img-responsive">'); 1692 } else { 1693 statusHTML.push('<img src="../../websites_core/images/no_image.jpg" class="img-thumbnail img-responsive">'); 1694 } 1695 statusHTML.push('</div><div class="col-sm-6 col-md-8">'); 1696 1697 statusHTML.push('<h4><b>'+p[j].MEMBERNAME+'</b></h4>'); 1698// 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>'); 1699 1700 statusHTML.push('<h3 style="font-size: 16px;">Year of Service: '+p[j].YEAROFSERVICE+'</h3>'); 1701 if (p[j].OFFICEPHONE.length > 0) { 1702 // statusHTML.push('<br>Office: '+p[j].OFFICEPHONE+''); 1703 } 1704 if (p[j].CLUBURL.length > 0) { 1705 statusHTML.push('<br><a href="'+p[j].CLUBURL+'">'+p[j].CLUBNAME+'</a>'); 1706 } else { 1707 statusHTML.push('<br>'+p[j].CLUBNAME+''); 1708 } 1709 statusHTML.push('</div></div></div></div>'); 1710 loopCount++; 1711 if ( loopCount == 2 ) { 1712 statusHTML.push('</div>'); 1713 loopCount = 0; 1714 } 1715 1716 } 1717 1718 1719 } 1720 if ($("#collegeofgovernorspage").length) { 1721 document.getElementById('collegeofgovernorspage').innerHTML = statusHTML.join(''); 1722 } 1723} 1724 1725//Area 1726function Area(){ 1727 if ($("#areapage").length) { 1728 document.getElementById('areapage').innerHTML = ''; 1729 } 1730} 1731 1732// Committees 1733function showCommittees(json) { 1734 var statusHTML = []; 1735 for (var i=0; i<json.length; i++) { 1736 var p = json[i]; 1737 statusHTML.push('<h3>West St. Louis County Committees</h3>'); 1738 statusHTML.push('<div> </div>'); 1739 statusHTML.push('<div class="table-responsive"><table border="1" class="table table-bordered">'); 1740 for (var j=0; j<p.length; j++) { 1741 statusHTML.push('<tr>'); 1742 var pad = ""; 1743 var l = parseInt( p[j].LEVEL ); 1744 for (var n=0; n<l; n++) 1745 pad = 'style="padding-left:30px;"'; 1746 if (p[j].ISGDG == 'Y' ) 1747 statusHTML.push('<td '+pad+' ><span style="color:red"> <b>'+p[j].COMMITTEENAME+'</b></span> </td>'); 1748 else 1749 statusHTML.push('<td '+pad+' ><a href="?p=committeemembers&ID='+p[j].COMMITTEEID+'"><b>'+p[j].COMMITTEENAME+'</b></a></td>'); 1750 statusHTML.push('<td> '+p[j].ORGYEAR+'</td>'); 1751 statusHTML.push('</tr>'); 1752 } 1753 statusHTML.push('</tbody></table></div>'); 1754 } 1755 if ($("#committeespage").length) { 1756 document.getElementById('committeespage').innerHTML = statusHTML.join(''); 1757 } 1758} 1759//CommitteeMembers 1760function showCommitteeMembers(json) { 1761 var statusHTML = []; 1762 var start_count = 1; 1763 for (var i=0; i<json.length; i++) { 1764 var p = json[i]; 1765 if (start_count == 1){ 1766 1767 statusHTML.push('<h3><strong>'+p[0].COMMITTEENAME+'</strong></h3>'); 1768 $('#ri-title').text(''+p[0].COMMITTEENAME+''); 1769 1770 if (p[0].COMMITTEEDESC.length > 0) { 1771 var COMMITTEEDESC = p[0].COMMITTEEDESC; 1772 var PUBLICDISPLAY = p[0].PUBLICDISPLAY; 1773 // var COMMITTEEDESC = COMMITTEEDESC.toLowerCase(); 1774 var COMMITTEEDESC = COMMITTEEDESC.replace("http://www.dacdb.com/", "https://www.dacdb.com/"); 1775 statusHTML.push('<div>'+COMMITTEEDESC+'</div>'); 1776 } 1777 start_count = 2; 1778 } 1779 if (PUBLICDISPLAY != 'N') { 1780 statusHTML.push('<h3><strong>Committee Members</strong></h3>'); 1781 1782 } 1783 statusHTML.push('<div class="table-responsive"><table class="table table-condensed table-bordered">'); 1784 1785 if (PUBLICDISPLAY != 'N') { 1786 for (var j=0; j<p.length; j++) { 1787 1788 var PUBLICDISPLAYx = p[j].PUBLICDISPLAY; 1789 var ISLEADERDISPLAY = p[j].ISLEADERDISPLAY; 1790 var ISCHAIRPOSITION = p[j].ISCHAIRPOSITION;
1791 1792// for all 1793 1794if (PUBLICDISPLAYx == 'A') { 1795 1796statusHTML.push('<tr>'); 1797if ( true ) 1798 statusHTML.push('<td style="max-width:100px;">'); 1799 if (p[j].IMAGE.length > 0) { 1800 1801 var IMGPATH = p[j].IMGPATH; 1802 var IMGPATH = IMGPATH.toLowerCase(); 1803 var IMGPATH = IMGPATH.replace("http://www.dacdb.com/", "https://www.dacdb.com/"); 1804 1805 statusHTML.push('<img src="'+IMGPATH+p[j].IMAGE+'" border="0" class="img-responsive img-thumbnail" style="max-width:100px;">'); 1806 } else { 1807 statusHTML.push('<img src="../websites_core/images/no_image.jpg" border="0" class="img-responsive img-thumbnail" style="max-width:100px;">'); 1808 } 1809statusHTML.push('</td>'); 1810statusHTML.push('<td rowspan="1">'); 1811statusHTML.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>'); 1812statusHTML.push('<div">'+p[j].BUSPOSITION+'</div>'); 1813statusHTML.push('<div>'+p[j].CLASSIFICATION+'</div>'); 1814statusHTML.push('<td rowspan="1">'); 1815statusHTML.push('<div>'+p[j].COMMITTEEPOSITION+'</div>') 1816//statusHTML.push('<div>'+p[j].CLUBNAME+'</div>'); 1817statusHTML.push('</td></tr>'); 1818 1819} else if (PUBLICDISPLAY == 'L') { 1820 1821if (ISLEADERDISPLAY == 'Y') { 1822 1823 statusHTML.push('<tr>'); 1824 if ( true ) 1825 statusHTML.push('<td style="max-width:100px;">'); 1826 if (p[j].IMAGE.length > 0) { 1827 1828 var IMGPATH = p[j].IMGPATH; 1829 var IMGPATH = IMGPATH.toLowerCase(); 1830 var IMGPATH = IMGPATH.replace("http://www.dacdb.com/", "https://www.dacdb.com/"); 1831 1832 statusHTML.push('<img src="'+IMGPATH+p[j].IMAGE+'" border="0" class="img-responsive img-thumbnail" style="max-width:100px;">'); 1833 } else { 1834 statusHTML.push('<img src="../websites_core/images/no_image.jpg" border="0" class="img-responsive img-thumbnail" style="max-width:100px;">'); 1835 } 1836 statusHTML.push('</td>'); 1837 statusHTML.push('<td rowspan="1">'); 1838 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>'); 1839 statusHTML.push('<div">'+p[j].BUSPOSITION+'</div>'); 1840 statusHTML.push('<div>'+p[j].CLASSIFICATION+'</div>'); 1841 statusHTML.push('<td rowspan="1">'); 1842 statusHTML.push('<div>'+p[j].COMMITTEEPOSITION+'</div>') 1843 //statusHTML.push('<div>'+p[j].CLUBNAME+'</div>'); 1844 statusHTML.push('</td></tr>'); 1845} 1846} else if (PUBLICDISPLAY == 'C') { 1847 1848if (ISCHAIRPOSITION == 'Y') { 1849 1850 statusHTML.push('<tr>'); 1851 if ( true ) 1852 statusHTML.push('<td style="max-width:100px;">'); 1853 if (p[j].IMAGE.length > 0) { 1854 1855 var IMGPATH = p[j].IMGPATH; 1856 var IMGPATH = IMGPATH.toLowerCase(); 1857 var IMGPATH = IMGPATH.replace("http://www.dacdb.com/", "https://www.dacdb.com/"); 1858 1859 statusHTML.push('<img src="'+IMGPATH+p[j].IMAGE+'" border="0" class="img-responsive img-thumbnail" style="max-width:100px;">'); 1860 } else { 1861 statusHTML.push('<img src="../websites_core/images/no_image.jpg" border="0" class="img-responsive img-thumbnail" style="max-width:100px;">'); 1862 } 1863 statusHTML.push('</td>'); 1864 statusHTML.push('<td rowspan="1">'); 1865 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>'); 1866 statusHTML.push('<div">'+p[j].BUSPOSITION+'</div>'); 1867 statusHTML.push('<div>'+p[j].CLASSIFICATION+'</div>'); 1868 statusHTML.push('<td rowspan="1">'); 1869 statusHTML.push('<div>'+p[j].COMMITTEEPOSITION+'</div>') 1870 //statusHTML.push('<div>'+p[j].CLUBNAME+'</div>'); 1871 statusHTML.push('</td></tr>'); 1872} 1873} 1874 1875 1876 } 1877 1878 1879 } 1880 statusHTML.push('</tbody></table></div></div>'); 1881 } 1882 if ($("#committeememberspage").length) { 1883 document.getElementById('committeememberspage').innerHTML = statusHTML.join(''); 1884 } 1885} 1886 1887 1888//CommitteeClub 1889function showCommitteeClub(json) { 1890 var statusHTML = []; 1891 var start_count = 1; 1892 for (var i=0; i<json.length; i++) { 1893 var p = json[i]; 1894 if (start_count == 1){ 1895 statusHTML.push('<h3><strong>'+json[i].COMMITTEENAME+'</strong></h3>'); 1896 statusHTML.push('<div>'+json[i].DESCRIPTION+'</div>'); 1897 start_count = 2; 1898 } 1899 } 1900 if ($("#committeeclubpage").length) { 1901 document.getElementById('committeeclubpage').innerHTML = statusHTML.join(''); 1902 } 1903} 1904 1905 1906//showClubMembers 1907function showClubMembers(json){ 1908 var statusHTML = []; 1909 for (var i=0; i<json.length; i++) { 1910 var p = json[i]; 1911 statusHTML.push('<h3> Members</h3>'); 1912 statusHTML.push('<div> </div>'); 1913 for (var j=0; j<p.length; j++) { 1914 // Check if this is a satellite member by comparing club IDs 1915 var isSatelliteMember = false; 1916 if (p[j].CLUBID && p[j].CLUBID != 2311) { 1917 isSatelliteMember = true; 1918 } 1919 1920 // Add satellite-member class if this is a satellite member 1921 var memberClass = isSatelliteMember ? 'satellite-member' : ''; 1922 1923 statusHTML.push('<div class="col-sm-4 ' + memberClass + '" style="min-height:80px;">'); 1924 statusHTML.push('<table>'); 1925 statusHTML.push('<tr>'); 1926 statusHTML.push('<td style="min-width:50px;padding-right:5px;" valign="top">'); 1927 statusHTML.push('</td>'); 1928 statusHTML.push('<td valign="top">'); 1929 // statusHTML.push('<div>'); 1930 statusHTML.push('<b>'+p[j].USERNAME+'</b>'); 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 // Display club names based on settings 1941 if (p[j].CLUBNAME) { 1942 } 1943 1944 // statusHTML.push('</div>'); 1945 statusHTML.push('</td>'); 1946 statusHTML.push('</tr>'); 1947 statusHTML.push('</table>'); 1948 statusHTML.push('</div>'); 1949 } 1950 } 1951 1952 if ($("#showclubmemberspage").length) { 1953 document.getElementById('showclubmemberspage').innerHTML = statusHTML.join(''); 1954 } 1955} 1956 1957//whereClubsMeet
1958function whereClubsMeet(json){ 1959 var statusHTML = []; 1960 var mapDataHTML = []; 1961 1962 for (var i=0; i<json.length; i++) { 1963 var p = json[i]; 1964 statusHTML.push('<h3>Where District 6060 Clubs Meet </h3><a href="https://www.rotary.org/en/search/club-finder">Rotary International Club Finder</a>'); 1965 statusHTML.push(' [<a href="?s=map">View Map</a>]<br><br>'); 1966 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>'); 1967 for (var j=0; j<p.length; j++) { 1968 if (p[j].CLUBBADGENAME != '') { 1969 statusHTML.push('<tr><td class="agenda-date" class="active" rowspan="1">'); 1970 if (p[j].CLUBURL != '') { 1971 statusHTML.push('<div class="dayofweek"><a href="'+p[j].CLUBURL+'" target="new"><b>'+p[j].CLUBBADGENAME+'</b></a></div>'); 1972 } else { 1973 statusHTML.push('<div class="dayofweek"><b>'+p[j].CLUBBADGENAME+'</b></div>'); 1974 } 1975 if (p[j].CLUBCITY.length > 0) { 1976 if (p[j].CLUBPOSTALZIP.length > 0) { 1977 // Canadian postal codes are alphanumeric 1978 //var zipcode = Number(p[j].CLUBPOSTALZIP).toFixed(1); 1979 var zipcode = p[j].CLUBPOSTALZIP; 1980 zipcode = zipcode.replace('.', ''); 1981 //zipcode = zipcode.substring(0,5); 1982 } else { 1983 zipcode = ''; 1984 } 1985 statusHTML.push('<div class="shortdate text-muted">'+p[j].CLUBADDRESS+'<br>'+p[j].CLUBCITY+', '+p[j].CLUBSTATECODE+' '+zipcode+'</div></td>'); 1986 } 1987 statusHTML.push('<td class="agenda-events">'); 1988 // Canadian postal codes are alphanumeric 1989 //var zipcodem = Number(p[j].MEETINGPOSTALCODE).toFixed(1); 1990 var zipcodem = p[j].MEETINGPOSTALCODE; 1991 zipcodem = zipcodem.replace('.', ''); 1992 //zipcodem = zipcodem.substring(0,5); 1993 statusHTML.push('<div class="agenda-event"><b>Meets at:</b> '+p[j].MEETINGPLACE+'<br>'); 1994 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>'); 1995 1996 // Also populate map data 1997 var clubName = p[j].CLUBBADGENAME; 1998 var clubDetails = ''; 1999 if (p[j].CLUBURL != '') { 2000 clubDetails += '<a href="'+p[j].CLUBURL+'" target="_blank">'+clubName+'</a><br>'; 2001 } else { 2002 clubDetails += '<strong>'+clubName+'</strong><br>'; 2003 } 2004 clubDetails += '<strong>Meets:</strong> '+p[j].MEETINGDAY+' at '+p[j].MEETINGTIME+'<br>'; 2005 clubDetails += '<strong>Location:</strong> '+p[j].MEETINGPLACE+'<br>'; 2006 clubDetails += p[j].MEETINGADDRESS+' '+p[j].MEETINGCITY+', '+p[j].MEETINGSTATECODE+' '+zipcodem; 2007 2008 var clubAddress = p[j].MEETINGADDRESS+', '+p[j].MEETINGCITY+', '+p[j].MEETINGSTATECODE+' '+zipcodem; 2009 2010 mapDataHTML.push('<div class="pwrapper" id="club_'+j+'">'); 2011 mapDataHTML.push('<div class="popuptitle">'+clubName+' ('+p[j].CLUBCITY+', '+p[j].CLUBSTATECODE+')</div>'); 2012 mapDataHTML.push('<div class="popuptext">'+clubDetails+'</div>'); 2013 mapDataHTML.push('<div class="clubaddress" style="display:none;">'+clubAddress+'</div>'); 2014 mapDataHTML.push('</div>'); 2015 } 2016 } 2017 statusHTML.push('</tbody></table></div></div>'); 2018 } 2019 if ($("#whereclubsmeetpage").length) { 2020 document.getElementById('whereclubsmeetpage').innerHTML = statusHTML.join(''); 2021 } 2022 // Populate map data div for the maps 2023 if ($("#MapData").length) { 2024 document.getElementById('MapData').innerHTML = mapDataHTML.join(''); 2025 // Trigger map initialization if Google Maps is loaded 2026 if (typeof google !== 'undefined' && google.maps && typeof initializeProxyMap === 'function') { 2027 initializeProxyMap(); 2028 } 2029 } 2030} 2031 2032 2033 2034 2035// Weekly Bulletin 2036function showFiles(){ 2037 2038 if ($("#WeeklyBulletin").length) { 2039 document.getElementById('WeeklyBulletin').innerHTML = ''; 2040 } 2041 2042} 2043 2044 2045 2046function showFilesPage(){ 2047 if ($("#weeklybulletinpage").length) { 2048 document.getElementById('weeklybulletinpage').innerHTML = ''; 2049 } 2050 2051} 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067function showDNewsletters(){ 2068 if ($("#districtnewsletterspage").length) { 2069 document.getElementById('districtnewsletterspage').innerHTML = ''; 2070 } 2071 2072} 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082// Sponsers 2083function showSponsors(json){ 2084 var statusHTML = []; 2085 for (var i=0; i<json.length; i++) { 2086 var p = json[i]; 2087 statusHTML.push('<table border="0" cellpadding="2" cellspacing="0" width="200">'); 2088 for (var j=0; j<p.length; j++) { 2089 if (p[j].IMAGE.length > 0 ) { 2090 var IMAGEPATH = p[j].IMAGEPATH; 2091 var IMAGEPATH = IMAGEPATH.toLowerCase(); 2092 var IMAGEPATH = IMAGEPATH.replace("http://www.dacdb.com/", "https://www.dacdb.com/"); 2093 2094 statusHTML.push('<tr><td valign="top" align="center"><a href="'+p[j].PUBLICURL+'Tracking/ST.cfm?SID='+p[j].SPONSORID+'" target="_blank"><img class="img-responsive col-xs-12" border=0 src="'+IMAGEPATH+p[j].IMAGE+'"></a></td></tr><tr><td> </td></tr>'); 2095 } else { 2096 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> </td></tr>'); 2097 } 2098 } 2099 statusHTML.push('</table>'); 2100 if (p.length == 0){ 2101 statusHTML.push('No sponsors available<div class="bulletin-list-sep"></div> '); 2102 } 2103 } 2104 if ($("#Sponsors").length) { 2105 document.getElementById('Sponsors').innerHTML = statusHTML.join(''); 2106 } 2107} 2108 2109// Mini Calendar 2110var MoAdj = 0; 2111function showMiniCalendar(json) { 2112 2113 if ($("#Calendar").length) { 2114 document.getElementById('Calendar').innerHTML = json.text; 2115 } 2116 2117 $('#DB').on('click', function(){ 2118 MoAdj = MoAdj-1; 2119 $.getScript("https://www.ismyrotaryclub.com/Calendar/MiniCal2.cfm?AccountID=6060&ClubID=2311&EventCategoryIDs=1,2,3,4,5&TZoffset=0&callback=showMiniCalendar&MoAdj="+MoAdj, function() {}); 2120 2121 }); 2122 $('#DF').on('click', function(){ 2123 MoAdj = MoAdj+1; 2124 $.getScript("https://www.ismyrotaryclub.com/Calendar/MiniCal2.cfm?AccountID=6060&ClubID=2311&EventCategoryIDs=1,2,3,4,5&TZoffset=0&callback=showMiniCalendar&MoAdj="+MoAdj, function() {}); 2125 2126 }); 2127} 2128 2129function govofficial(json){ 2130 var statusHTML = []; 2131 for (var i=0; i<json.length; i++) { 2132 var p = json[i]; 2133 statusHTML.push('<h3>District GOV Official Visit</h3><br>'); 2134 for (var j=0; j<p.length; j++) { 2135 try { 2136 var sd = Date.parseDate(p[j].STARTDATE, "F, d Y g:i:s"); 2137 var ed = Date.parseDate(p[j].ENDDATE, "F, d Y g:i:s"); 2138 2139 var sd1 = sd.dateFormat("M dS"); 2140 var ed1 = ed.dateFormat("M dS"); 2141 2142 if (sd1 != ed1) { 2143 statusHTML.push('<div class="event-list-date">'+ sd.dateFormat("F dS") +' - '+ ed.dateFormat("F dS") +'</div>'); 2144 } else { 2145 statusHTML.push('<div class="event-list-date">'+ sd.dateFormat("F dS") +'</div>'); 2146 } 2147 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=1&fixTables=1" class="various2" data-fancybox-type="iframe">'+p[j].EVENTNAME+'</a></div>'); 2148 statusHTML.push('<div class="event-list-sep"></div> '); 2149 } catch(e) { 2150 var sd = Date.parseDate(p[j].STARTDATE, "F, d Y g:i:s"); 2151 statusHTML.push('<div class="event-list-date">'+ sd.dateFormat("F dS") +'</div>'); 2152 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=1&fixTables=1" class="various2" data-fancybox-type="iframe">'+p[j].EVENTNAME+'</a></div>'); 2153 statusHTML.push('<div class="event-list-sep"></div> '); 2154 } 2155 } 2156 } 2157 document.getElementById('govofficialpage').innerHTML = statusHTML.join(''); 2158} 2159 2160// Calendar 2161var date = new Date(); 2162var d = date.getDate(); 2163var m = date.getMonth(); 2164var y = date.getFullYear(); 2165 2166 2167$.getJSON('https://www.ismyrotaryclub.com/wp_api_prod_1-1/R_GetEvents.cfm?AccountID=6060&ClubID=2311&fixImages=1&fixTables=1&EventCategoryIDs=1,2,3,4,5', function (data) { 2168 2169 var calendar = $('#calendarpage').fullCalendar({ 2170 header: { 2171 left: 'prev,next today', 2172 center: 'title',
2173 right: 'month,listMonth' 2174 }, 2175 2176 // firstDay :moment().weekday(), 2177 viewRender: function(currentView){ 2178 var minDate = moment(); 2179 // Past 2180 if (minDate >= currentView.start && minDate <= currentView.end) { 2181 $(".fc-prev-button").prop('disabled', true); 2182 $(".fc-prev-button").addClass('fc-state-disabled'); 2183 } 2184 else { 2185 $(".fc-prev-button").removeClass('fc-state-disabled'); 2186 $(".fc-prev-button").prop('disabled', false); 2187 } 2188 2189 }, 2190 eventLimit: 2, 2191 eventLimitText: 'More', 2192 eventMouseover: function(calEvent, jsEvent) { 2193 if ( calEvent.Location != '' ) { 2194 showLocation = '<br /><b>Location:</b>' + calEvent.Location; 2195 } else { 2196 showLocation = ''; 2197 } 2198 if (calEvent.Speaker != '') { 2199 if (calEvent.Topic == '') { 2200 var tooltip = '<div class="tooltipevent" style="position:absolute;z-index:10001;"><b>' + calEvent.title + '</b>'+showLocation+'<br>Speaker: '+calEvent.Speaker+'</div>'; 2201 } else { 2202 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>'; 2203 } 2204 } else { 2205 var tooltip = '<div class="tooltipevent" style="position:absolute;z-index:10001;"><b>' + calEvent.title + '</b>'+showLocation+'</div>'; 2206 } 2207 2208 $('body').append(tooltip); 2209 $(this).mouseover(function(e) { 2210 $(this).css('z-index', 10000); 2211 $('.tooltipevent').fadeIn('500'); 2212 $('.tooltipevent').fadeTo('10', 1.9); 2213 }).mousemove(function(e) { 2214 $('.tooltipevent').css('top', e.pageY + 10); 2215 $('.tooltipevent').css('left', e.pageX + 20); 2216 }); 2217 }, 2218 eventMouseout: function(calEvent, jsEvent) { 2219 $(this).css('z-index', 8); 2220 $('.tooltipevent').remove(); 2221 }, 2222 lazyFetching: false, 2223 editable: false, 2224 contentHeight: "auto", 2225 defaultView: 'month', 2226 eventSources: [ 2227 data 2228 ], 2229 buttonText: { 2230 today: 'today', 2231 month: 'M', 2232 listMonth: 'L', 2233 week: 'W', 2234 day: 'D' 2235 } 2236 }); 2237 2238}); 2239 2240$.getJSON('https://www.ismyrotaryclub.com/wp_api_prod_1-1/R_GetEvents.cfm?AccountID=6060&ClubID=2311&fixImages=1&fixTables=1&EventCategoryIDs=1,2,3,4,5', function (data) { 2241 2242 2243 var calendar = $('#calendar_2page').fullCalendar({ 2244 header: { 2245 left: 'prev,next today', 2246 center: 'title', 2247 right: 'month,listMonth ' 2248 }, 2249 eventLimit: 2, 2250 eventLimitText: 'More', 2251 eventMouseover: function(calEvent, jsEvent) { 2252 if ( calEvent.Location != '' ) { 2253 showLocation = '<br /><b>Location:</b>' + calEvent.Location; 2254 } else { 2255 showLocation = ''; 2256 } 2257 if (calEvent.Speaker != '') { 2258 if (calEvent.Topic == '') { 2259 var tooltip = '<div class="tooltipevent" style="position:absolute;z-index:10001;"><b>' + calEvent.title + '</b>'+showLocation+'<br>Speaker: '+calEvent.Speaker+'</div>'; 2260 } else { 2261 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>'; 2262 } 2263 } else { 2264 var tooltip = '<div class="tooltipevent" style="position:absolute;z-index:10001;"><b>' + calEvent.title + '</b>'+showLocation+'</div>'; 2265 } 2266 2267 $('body').append(tooltip); 2268 $(this).mouseover(function(e) { 2269 $(this).css('z-index', 10000); 2270 $('.tooltipevent').fadeIn('500'); 2271 $('.tooltipevent').fadeTo('10', 1.9); 2272 }).mousemove(function(e) { 2273 $('.tooltipevent').css('top', e.pageY + 10); 2274 $('.tooltipevent').css('left', e.pageX + 20); 2275 }); 2276 }, 2277 eventMouseout: function(calEvent, jsEvent) { 2278 $(this).css('z-index', 8); 2279 $('.tooltipevent').remove(); 2280 }, 2281 lazyFetching: false, 2282 editable: false, 2283 defaultView: 'month', 2284 eventSources: [ 2285 data 2286 ], 2287 buttonText: { 2288 today: 'today', 2289 month: 'M', 2290 listMonth: 'L', 2291 week: 'W', 2292 day: 'D' 2293 } 2294 });
2295 2296}); 2297 2298$(".fc-month-button span span").html('<i class="fa fa-calendar"></i>'); 2299 2300 2301// Calendar color key 2302function showColorKey(json){ 2303 var statusHTML = []; 2304 for (var i=0; i<json.length; i++) { 2305 var p = json[i]; 2306 // statusHTML.push('<ul class="list-group" id="contact-list">'); 2307 for (var j=0; j<p.length; j++) { 2308 2309 var catDisplay = p[j].EVENTCATEGORY.trim(); 2310 2311 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>'); 2312 } 2313 // statusHTML.push('</ul>'); 2314 } 2315 if ($("#colorKey").length) { 2316 document.getElementById('colorKey').innerHTML = statusHTML.join(''); 2317 } 2318} 2319 2320 2321 2322// Header 4 slide header 2323$(function() { 2324$(".rslides").responsiveSlides({ 2325 auto: true, 2326 speed: 700, 2327 timeout: 4000, 2328 pager: false, 2329 nav: false, 2330 //random: 1, 2331 pause: false, 2332 pauseControls: false, 2333 namespace: "rslides" 2334}); 2335 $(".dacdbslides").responsiveSlides({ 2336 auto: true, 2337 speed: 700, 2338 timeout: 4000, 2339 pager: false, 2340 nav: false, 2341 //random: 1, 2342 pause: false, 2343 pauseControls: false, 2344 namespace: "dacdbslides" 2345}); 2346}); 2347 2348 2349$(document).ready(function() { 2350 $(".various").fancybox({ 2351 // maxWidth : 600, 2352 maxHeight : 700, 2353 fitToView : true, 2354 // width : '70%', 2355 // height : '70%', 2356 autoSize : true, 2357 closeClick : false, 2358 openEffect : 'none', 2359 closeEffect : 'none' 2360 }); 2361 $(".fc-h-event").fancybox({ 2362 fitToView : false, 2363 width : '80%', 2364 height : '80%', 2365 autoSize : false, 2366 closeClick : false, 2367 openEffect : 'none', 2368 closeEffect : 'none' 2369 }); 2370 $(".various2").fancybox({ 2371 fitToView : true, 2372 // width : '80%', 2373 // height : '80%', 2374 autoSize : false, 2375 closeClick : false, 2376 openEffect : 'none', 2377 closeEffect : 'none' 2378 }); 2379 $(".various3").fancybox({ 2380 fitToView : false, 2381 width : '50%', 2382 height : '50%', 2383 autoSize : false, 2384 closeClick : false, 2385 openEffect : 'none', 2386 closeEffect : 'none' 2387 }); 2388}); 2389 2390$("#calendarpage").css('background-color', 'white'); 2391$("#calendarpage").css('margin', '2px'); 2392$("#calendar_2page").css('background-color', 'white'); 2393$("#calendar_2page").css('margin', '10px'); 2394 2395jQuery(document).ready(function(){ 2396 2397 2398 2399 2400 2401 jQuery('#Stories').each(function(){ 2402 jQuery(this).children("img").removeAttr('style'); 2403 console.log('found'); 2404 }); 2405 jQuery('#Stories img').each(function(){ 2406 jQuery(this).removeAttr('width'); 2407 jQuery(this).removeAttr('height'); 2408 jQuery(this).removeAttr('style'); 2409 console.log('hit'); 2410 }); 2411 2412 jQuery('#Stories img').each(function(){ 2413 if( jQuery(this).attr('src').match(/\.(jpg)/) ) { jQuery(this).addClass('img-responsive'); } 2414 if( jQuery(this).attr('src').match(/\.(jpeg)/) ) { jQuery(this).addClass('img-responsive'); } 2415 if( jQuery(this).attr('src').match(/\.(JPG)/) ) { jQuery(this).addClass('img-responsive'); } 2416 if( jQuery(this).attr('src').match(/\.(JPEG)/) ) { jQuery(this).addClass('img-responsive'); } 2417 if( jQuery(this).attr('src').match(/\.(png)/) ) { jQuery(this).addClass('img-responsive'); } 2418 if( jQuery(this).attr('src').match(/\.(PNG)/) ) { jQuery(this).addClass('img-responsive'); } 2419 if( jQuery(this).attr('src').match(/\.(gif)/) ) { jQuery(this).addClass('img-responsive'); } 2420 if( jQuery(this).attr('src').match(/\.(GIF)/) ) { jQuery(this).addClass('img-responsive'); } 2421 }); 2422 jQuery('#Custom_1 img').each(function(){ 2423 jQuery(this).removeAttr('width'); 2424 jQuery(this).removeAttr('height'); 2425 jQuery(this).removeAttr('style'); 2426 });
2427 2428 $('#Custom_1 img').empty().html('style'); 2429 $('#Custom_1 img').empty().html('height'); 2430 $('#Custom_1 img').empty().html('width'); 2431 2432 jQuery('#Custom_1 img').each(function(){ 2433 if( jQuery(this).attr('src').match(/\.(jpg)/) ) { jQuery(this).addClass('img-responsive'); } 2434 if( jQuery(this).attr('src').match(/\.(jpeg)/) ) { jQuery(this).addClass('img-responsive'); } 2435 if( jQuery(this).attr('src').match(/\.(JPG)/) ) { jQuery(this).addClass('img-responsive'); } 2436 if( jQuery(this).attr('src').match(/\.(JPEG)/) ) { jQuery(this).addClass('img-responsive'); } 2437 if( jQuery(this).attr('src').match(/\.(png)/) ) { jQuery(this).addClass('img-responsive'); } 2438 if( jQuery(this).attr('src').match(/\.(PNG)/) ) { jQuery(this).addClass('img-responsive'); } 2439 if( jQuery(this).attr('src').match(/\.(gif)/) ) { jQuery(this).addClass('img-responsive'); } 2440 if( jQuery(this).attr('src').match(/\.(GIF)/) ) { jQuery(this).addClass('img-responsive'); } 2441 }); 2442 2443 jQuery('#Stories table').each(function(){ 2444 jQuery(this).removeAttr('width'); 2445 jQuery(this).removeAttr('height'); 2446 jQuery(this).removeAttr('style'); 2447 jQuery(this).removeAttr('border'); 2448 jQuery(this).addClass('table'); 2449 }); 2450 // $('#Custom_1 table').empty().html('width'); 2451 // $('#Custom_1 table').empty().html('height'); 2452 // $('#Custom_1 table').empty().html('style'); 2453 // $('#Custom_1 table').empty().html('border'); 2454 2455 jQuery('#Custom_1 table').each(function(){ 2456 jQuery(this).removeAttr('width'); 2457 jQuery(this).removeAttr('height'); 2458 jQuery(this).removeAttr('style'); 2459 jQuery(this).removeAttr('border'); 2460 jQuery(this).addClass('table'); 2461 }); 2462 jQuery('.Custom_1 table').each(function(){ 2463 jQuery(this).removeAttr('width'); 2464 jQuery(this).removeAttr('height'); 2465 jQuery(this).removeAttr('style'); 2466 jQuery(this).removeAttr('border'); 2467 jQuery(this).addClass('table'); 2468 }); 2469 jQuery('.editable img').each(function(){ 2470 jQuery(this).removeAttr('width'); 2471 jQuery(this).removeAttr('height'); 2472 jQuery(this).removeAttr('style'); 2473 }); 2474 2475 $('.editable img').empty().html('style'); 2476 $('.editable img').empty().html('height'); 2477 $('.editable img').empty().html('width'); 2478 2479 jQuery('.editable img').each(function(){ 2480 if( jQuery(this).attr('src').match(/\.(jpg)/) ) { jQuery(this).addClass('img-responsive'); } 2481 if( jQuery(this).attr('src').match(/\.(jpeg)/) ) { jQuery(this).addClass('img-responsive'); } 2482 if( jQuery(this).attr('src').match(/\.(JPG)/) ) { jQuery(this).addClass('img-responsive'); } 2483 if( jQuery(this).attr('src').match(/\.(JPEG)/) ) { jQuery(this).addClass('img-responsive'); } 2484 if( jQuery(this).attr('src').match(/\.(png)/) ) { jQuery(this).addClass('img-responsive'); } 2485 if( jQuery(this).attr('src').match(/\.(PNG)/) ) { jQuery(this).addClass('img-responsive'); } 2486 }); 2487 2488 jQuery('.editable table').each(function(){ 2489 jQuery(this).removeAttr('width'); 2490 jQuery(this).removeAttr('height'); 2491 jQuery(this).removeAttr('style'); 2492 jQuery(this).removeAttr('border'); 2493 // jQuery(this).addClass('table'); 2494 }); 2495 2496 jQuery('.custom-widget img').each(function(){ 2497 jQuery(this).removeAttr('width'); 2498 jQuery(this).removeAttr('height'); 2499 jQuery(this).removeAttr('style'); 2500 }); 2501 2502 $('.custom-widget img').empty().html('style'); 2503 $('.custom-widget img').empty().html('height'); 2504 $('.custom-widget img').empty().html('width'); 2505 2506 jQuery('.custom-widget img').each(function(){ 2507 if( jQuery(this).attr('src').match(/\.(jpg)/) ) { jQuery(this).addClass('img-responsive'); } 2508 if( jQuery(this).attr('src').match(/\.(jpeg)/) ) { jQuery(this).addClass('img-responsive'); } 2509 if( jQuery(this).attr('src').match(/\.(JPG)/) ) { jQuery(this).addClass('img-responsive'); } 2510 if( jQuery(this).attr('src').match(/\.(JPEG)/) ) { jQuery(this).addClass('img-responsive'); } 2511 if( jQuery(this).attr('src').match(/\.(png)/) ) { jQuery(this).addClass('img-responsive'); } 2512 if( jQuery(this).attr('src').match(/\.(PNG)/) ) { jQuery(this).addClass('img-responsive'); } 2513 });
2514 2515 $('.custom-widget table').empty().html('width'); 2516 $('.custom-widget table').empty().html('height'); 2517 $('.custom-widget table').empty().html('style'); 2518 $('.custom-widget table').empty().html('border'); 2519 2520 jQuery('.custom-widget table').each(function(){ 2521 jQuery(this).removeAttr('width'); 2522 jQuery(this).removeAttr('height'); 2523 jQuery(this).removeAttr('style'); 2524 jQuery(this).removeAttr('border'); 2525 jQuery(this).addClass('table'); 2526 }); 2527}); 2528 2529 if ($("#Stories").length) { 2530 // var sNew2 = document.createElement("script"); 2531 // sNew2.async = false; 2532 // sNew2.src = "https://www.ismyrotaryclub.com/story/stories.cfm?AccountID=6060&ClubID=2311&N=20&callback=showStory&bgc=FFFFFF"; 2533 // var s02 = document.getElementsByTagName('script')[0]; 2534 // s02.parentNode.insertBefore(sNew2, s02); 2535 } 2536 2537 2538 2539 2540 2541 </script>
2541 2542 2543 2544
2544<script src="https://www.ismyrotaryclub.com/story/stories.cfm?AccountID=6060&ClubID=2311&N=20&callback=showStory&bgc=FFFFFF"></script>
2544 2545 2546 2547
2547<script type="text/javascript"> 2548 2549 2550 2551 if ($("#districtstoriespage").length) { 2552 var sNew33 = document.createElement("script"); 2553 sNew33.async = true; 2554 sNew33.src = "https://www.ismyrotaryclub.com/story/stories.cfm?AccountID=6060&ClubID=0&callback=showDistrictStory&bgc=FFFFFF"; 2555 var s033 = document.getElementsByTagName('script')[0]; 2556 s033.parentNode.insertBefore(sNew33, s033); 2557 } 2558 2559 if ($("#clubleaders").length) { 2560 var sNew4 = document.createElement("script"); 2561 sNew4.async = true; 2562 sNew4.src = "https://www.ismyrotaryclub.com/Club/clubleaders.cfm?D=6060&ClubID=2311&AG=1&callback=showLeaders"; 2563 var s04 = document.getElementsByTagName('script')[0]; 2564 s04.parentNode.insertBefore(sNew4, s04); 2565 } 2566 if ($("#clubleaderspage").length) { 2567 var sNew5 = document.createElement("script"); 2568 sNew5.async = true; 2569 sNew5.src = "https://www.ismyrotaryclub.com/Club/clubleaders.cfm?D=6060&ClubID=2311&AG=1&callback=showLeadersPage"; 2570 var s05 = document.getElementsByTagName('script')[0]; 2571 s05.parentNode.insertBefore(sNew5, s05); 2572 } 2573 if ($("#ClubMeetingsInfo").length) { 2574 var sNew7 = document.createElement("script"); 2575 sNew7.async = true; 2576 sNew7.src = "https://www.ismyrotaryclub.com/District/ClubMeetings.cfm?AccountID=6060&Clubid=2311&ClubTypeIDs=0,1,2,3,4,5,6,7,8,9,0&callback=showClubMeetingsInfoNoPhoto"; 2577 var s07 = document.getElementsByTagName('script')[0]; 2578 s07.parentNode.insertBefore(sNew7, s07); 2579 } 2580 if ($("#Events").length) { 2581 var sNew7 = document.createElement("script"); 2582 sNew7.async = true; 2583 sNew7.src = "https://www.ismyrotaryclub.com/Event/Event.cfm?AccountID=6060&ClubID=2311&Cat=3,4,5&Mo=2&callback=showEvents"; 2584 var s07 = document.getElementsByTagName('script')[0]; 2585 s07.parentNode.insertBefore(sNew7, s07); 2586 } 2587 if ($("#eventspage").length) { 2588 var sNew9 = document.createElement("script"); 2589 sNew9.async = true; 2590 sNew9.src = "https://www.ismyrotaryclub.com/Event/Event.cfm?AccountID=6060&ClubID=2311&Cat=0,1,2,3,4,5&Mo=2&callback=showEventsPage"; 2591 var s09 = document.getElementsByTagName('script')[0]; 2592 s09.parentNode.insertBefore(sNew9, s09); 2593 2594 } 2595 if ($("#Calendar").length) { 2596 var sNew10 = document.createElement("script"); 2597 sNew10.async = true; 2598 sNew10.src = "https://www.ismyrotaryclub.com/Calendar/MiniCal2.cfm?AccountID=6060&ClubID=2311&EventCategoryIDs=1,2,3,4,5&callback=showMiniCalendar&TZoffset=0"; 2599 var s010 = document.getElementsByTagName('script')[0]; 2600 s010.parentNode.insertBefore(sNew10, s010); 2601 2602 } 2603 if ($("#colorKey").length) { 2604 var sNew14 = document.createElement("script"); 2605 sNew14.async = true; 2606 sNew14.src = "https://www.ismyrotaryclub.com/eventcategory/?D=6060&callback=showColorKey"; 2607 var s014 = document.getElementsByTagName('script')[0]; 2608 s014.parentNode.insertBefore(sNew14, s014); 2609 } 2610 if ($("#districtleaders").length) { 2611 var sNew15 = document.createElement("script"); 2612 sNew15.async = true; 2613 sNew15.src = "https://www.ismyrotaryclub.com/District/DLC.cfm?AccountID=6060&callback=showDistrictLeaders"; 2614 var s015 = document.getElementsByTagName('script')[0]; 2615 s015.parentNode.insertBefore(sNew15, s015); 2616 } 2617 if ($("#districtleaderspage").length) { 2618 var sNew16 = document.createElement("script"); 2619 sNew16.async = true; 2620 sNew16.src = "https://www.ismyrotaryclub.com/District/DLC.cfm?AccountID=6060&callback=showDistrictLeadersPage"; 2621 var s016 = document.getElementsByTagName('script')[0]; 2622 s016.parentNode.insertBefore(sNew16, s016); 2623 } 2624 if ($("#MDEvents").length) { 2625 var sNew17 = document.createElement("script"); 2626 sNew17.async = true; 2627 sNew17.src = "https://www.ismyrotaryclub.com/Event/Event.cfm?AccountID=6060&Cat=1,2&Mo=2&callback=showMDEvents"; 2628 var s017 = document.getElementsByTagName('script')[0]; 2629 s017.parentNode.insertBefore(sNew17, s017); 2630 } 2631 if ($("#districteventspage").length) { 2632 var sNew18 = document.createElement("script"); 2633 sNew18.async = true; 2634 sNew18.src = "https://www.ismyrotaryclub.com/Event/Event.cfm?AccountID=6060&Cat=1,2&Mo=3&callback=showMDEventsPage"; 2635 var s018 = document.getElementsByTagName('script')[0]; 2636 s018.parentNode.insertBefore(sNew18, s018); 2637 } 2638 if ($("#WeeklyBulletin").length) { 2639 showFiles(); 2640 } 2641 if ($("#weeklybulletinpage").length) { 2642 showFilesPage(); 2643 } 2644 if ($("#districtnewsletterspage").length) { 2645 showDNewsletters(); 2646 } 2647 if ($("#Sponsors").length) { 2648 var sNew12 = document.createElement("script"); 2649 sNew12.async = true; 2650 sNew12.src = "https://www.ismyrotaryclub.com/Sponsor/Sponsor.cfm?AccountID=6060&ClubID=2311&N=100&callback=showSponsors"; 2651 var s012 = document.getElementsByTagName('script')[0]; 2652 s012.parentNode.insertBefore(sNew12, s012); 2653 } 2654 if ($("#whereclubsmeetpage").length || $("#MapData").length) { 2655 var sNew19 = document.createElement("script"); 2656 sNew19.async = true; 2657 sNew19.src = "https://www.ismyrotaryclub.com/district/ClubMeetings.cfm?AccountID=6060&callback=whereClubsMeet"; 2658 var s019 = document.getElementsByTagName('script')[0]; 2659 s019.parentNode.insertBefore(sNew19, s019); 2660 } 2661 if ($("#clubpresidentspage").length) { 2662 var sNew20 = document.createElement("script"); 2663 sNew20.async = true; 2664 sNew20.src = "https://www.ismyrotaryclub.com/CommitteeMembers/ByRoleKey.cfm?AccountID=6060&RoleKey=P&SortBy=C&callback=ClubPresidents"; 2665 var s020 = document.getElementsByTagName('script')[0]; 2666 s020.parentNode.insertBefore(sNew20, s020); 2667 } 2668 if ($("#districtcommitteepage").length) { 2669 var sNew21 = document.createElement("script"); 2670 sNew21.async = true; 2671 sNew21.src = "https://www.ismyrotaryclub.com/District/CCL.cfm?D=6060&RoleKey=dcc&callback=DistrictCommittee"; 2672 var s021 = document.getElementsByTagName('script')[0]; 2673 s021.parentNode.insertBefore(sNew21, s021); 2674 } 2675 if ($("#collegeofgovernorspage").length) { 2676 var sNew22 = document.createElement("script"); 2677 sNew22.async = true; 2678 sNew22.src = "https://www.ismyrotaryclub.com/District/COG.cfm?AccountID=6060&SortBy=GovYearServed&callback=CollegeOfGovernors"; 2679 var s022 = document.getElementsByTagName('script')[0]; 2680 s022.parentNode.insertBefore(sNew22, s022); 2681 } 2682 if ($("#areapage").length) { 2683 Area(); 2684 } 2685 if ($("#committeepage").length) { 2686 var sNew23 = document.createElement("script"); 2687 sNew23.async = true; 2688 sNew23.src = "https://www.ismyrotaryclub.com/CommitteeMembers/ByRoleKey.cfm?AccountID=6060&RoleKey=&callback=Committee"; 2689 var s023 = document.getElementsByTagName('script')[0]; 2690 s023.parentNode.insertBefore(sNew23, s023); 2691 } 2692 if ($("#committeespage").length) { 2693 var sNew24 = document.createElement("script"); 2694 sNew24.async = true; 2695 sNew24.src = "https://www.ismyrotaryclub.com/Committees/Committees.cfm?AccountID=6060&ClubID=2311&callback=showCommittees"; 2696 var s024 = document.getElementsByTagName('script')[0]; 2697 s024.parentNode.insertBefore(sNew24, s024); 2698 } 2699 if ($("#committeememberspage").length) { 2700 var sNew25 = document.createElement("script"); 2701 sNew25.async = true; 2702 sNew25.src = "https://www.ismyrotaryclub.com/CommitteeMembers/ByID2.cfm?AccountID=6060&ClubID=2311&RoleKey=&callback=showCommitteeMembers&id="; 2703 var s025 = document.getElementsByTagName('script')[0]; 2704 s025.parentNode.insertBefore(sNew25, s025);
2705 } 2706 if ($("#committeeclubpage").length) { 2707 var sNew26 = document.createElement("script"); 2708 sNew26.async = true; 2709 sNew26.src = "https://www.ismyrotaryclub.com/CommitteeMembers/ByID3.cfm?AccountID=6060&ClubID=2311&callback=showCommitteeClub&id="; 2710 var s026 = document.getElementsByTagName('script')[0]; 2711 s026.parentNode.insertBefore(sNew26, s026); 2712 } 2713 if ($("#showclubmemberspage").length) { 2714 var sNew27 = document.createElement("script"); 2715 sNew27.async = true; 2716 sNew27.src = "https://www.ismyrotaryclub.com/ClubMembers/ClubMembers.cfm?AccountID=6060&ClubID=2311&MemberTypeIDs=0,1,16&callback=showClubMembers"; 2717 var s027 = document.getElementsByTagName('script')[0]; 2718 s027.parentNode.insertBefore(sNew27, s027); 2719 } 2720 if ($("#Speakers").length) { 2721 var sNew13 = document.createElement("script"); 2722 sNew13.async = true; 2723 sNew13.src = "https://www.ismyrotaryclub.com/Speaker/Speakers.cfm?AccountID=6060&ClubID=2311&CatIds=1,2,3,4,5,6,7&Mo=1&callback=showSpeakers"; 2724 var s013 = document.getElementsByTagName('script')[0]; 2725 s013.parentNode.insertBefore(sNew13, s013); 2726 } 2727 if ($("#speakerspage").length) { 2728 var sNew28 = document.createElement("script"); 2729 sNew28.async = true; 2730 sNew28.src = "https://www.ismyrotaryclub.com/Speaker/Speakers.cfm?AccountID=6060&ClubID=2311&CatIds=1,2,3,4,5,6,7&Mo=1&callback=showSpeakersPage"; 2731 var s028 = document.getElementsByTagName('script')[0]; 2732 s028.parentNode.insertBefore(sNew28, s028); 2733 } 2734 if ($("#Birthdays").length) { 2735 var sNew29 = document.createElement("script"); 2736 sNew29.async = true; 2737 sNew29.src = "https://www.ismyrotaryclub.com/Club/ClubBirthdays.cfm?AccountID=6060&ClubID=2311&MemberTypeIDs=0,1,16&callback=showBirthdays"; 2738 var s029 = document.getElementsByTagName('script')[0]; 2739 s029.parentNode.insertBefore(sNew29, s029); 2740 } 2741 if ($("#birthdayspage").length) { 2742 var sNew30 = document.createElement("script"); 2743 sNew30.async = true; 2744 sNew30.src = "https://www.ismyrotaryclub.com/Club/ClubBirthdays.cfm?AccountID=6060&ClubID=2311&MemberTypeIDs=0,1,16&callback=showBirthdaysPage"; 2745 var s030 = document.getElementsByTagName('script')[0]; 2746 s030.parentNode.insertBefore(sNew30, s030); 2747 } 2748 if ($("#govofficialpage").length) { 2749 var sNew31 = document.createElement("script"); 2750 sNew31.async = true; 2751 sNew31.src = "https://www.ismyrotaryclub.com/Event/Event.cfm?AccountID=6060&Cat=6&Mo=6&callback=govofficial"; 2752 var s031 = document.getElementsByTagName('script')[0]; 2753 s031.parentNode.insertBefore(sNew31, s031); 2754 } 2755 2756 if ($("#Wedding").length) { 2757 showWedding(); 2758 } 2759 if ($("#Club_Anniversary").length) { 2760 showClub_Anniversary(); 2761 } 2762</script>
2762
2762<script> 2763 $("a[href='#top']").click(function() { 2764 $("html, body").animate({ scrollTop: 0 }, "slow"); 2765 return false; 2766 }); 2767 $(document).ready(function(){ 2768 $("a[href='#content']").on('click', function(event) { 2769 event.preventDefault(); 2770 var hash = this.hash; 2771 $('html, body').animate({scrollTop: $(hash).offset().top}, "slow", function(){ 2772 // window.location.hash = hash; 2773 }); 2774 return false; 2775 }); 2776 }); 2777 $(function() { 2778 $(".dropdown").hover( 2779 function(){ $(this).addClass('open') }, 2780 function(){ $(this).removeClass('open') } 2781 ); 2782 }); 2783 2784 jQuery('#menu-trigger').click(function() { 2785 jQuery(this).fadeOut('fast'); 2786 jQuery('#menu-flip .close').fadeIn('fast'); 2787 jQuery('#menu-flip').addClass('open'); 2788 }); 2789 jQuery('#menu-flip .close .closeFlip').click(function() { 2790 jQuery(this).fadeOut('fast'); 2791 jQuery('#menu-trigger').fadeIn('fast'); 2792 jQuery('#menu-flip').removeClass('open'); 2793 }); 2794 jQuery('.closeFlip').click(function() { 2795 jQuery('#menu-trigger').fadeIn('fast'); 2796 jQuery('#menu-flip').removeClass('open'); 2797 }); 2798 jQuery('body').click( function(e) { 2799 target = e.target; 2800 if ( $(target).attr('id') != "menu-trigger" && $(target).parents('#menu-trigger').length < 1 ) { 2801 if ( ($(target).attr('id') != 'menu-flip' && $(target).parents('#menu-flip').length < 1) || $(target).hasClass('close') || $(target).parent().hasClass('close') ) { 2802 jQuery('#menu-trigger').fadeIn('slow'); 2803 jQuery('#menu-flip').removeClass('open'); 2804 } 2805 } 2806 }); 2807 jQuery('#menu-flip-items .menu-item-has-children > a').click(function(e) { 2808 e.preventDefault(); 2809 jQuery(this).toggleClass("open"); 2810 jQuery(this).siblings(".sub-menu").toggle(); 2811 jQuery("#menu-flip-items .menu-item-has-children > a").not(this).removeClass("open"); 2812 jQuery("#menu-flip-items .menu-item-has-children > a").not(this).siblings(".sub-menu").hide(); 2813 }); 2814 2815 2816 2817 </script>
2817 2818 2819 <!-- Single page mmp sponsors widget iframe resize --> 2820
2820<script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.9/iframeResizer.min.js"></script>
2820 2821
2821<script> 2822 iFrameResize({ 2823 log: false, // set true for debugging 2824 autoResize: true, 2825 checkOrigin: false, // allow cross-domain 2826 heightCalculationMethod: 'max', 2827 scrolling: false 2828 }, '#mmpsponsors iframe'); 2829 </script>
2829 2830 2831 <!-- js injection --> 2832
2832<script src="custom_code/js/js_custom.js"></script>
vendor: 2 bytes, line 2832
2832
2833<script>(function(){function c(){var b=a.contentDocument||(a.contentWindow&&a.contentWindow.document);if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'a457008a5e181123',t:'MTc5MTE0NjQzMQ=='};var a=document.createElement('script');a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script>
2833<script type="module" src="https://static.cloudflareinsights.com/beacon.min.js/v31edd6df95cf4e85bb4c19e7a9bdbcba1788362987495" integrity="sha512-iIg7k2xntmwu6/uSb5tpc/hySgZc4eoL31yB29W6tJFo2akwjPWcEqnCEdJvGexCL0KEQwVYv5BlowfhVz26hg==" data-cf-beacon='{"version":"2024.11.0","token":"c9520f0d785b4588ba3d816b6391c246","r":1,"spa":2}' crossorigin="anonymous"></script>
2833 2834</body></html>
2834<script> 2835 var sNew01 = document.createElement("script"); 2836 sNew01.async = true; 2837 sNew01.src = "https://www.ismyrotaryclub.com/story/stories.cfm?AccountID=6060&ClubID=2311&CatIDs=~983&callback=showStory&bgc=FFFFFF"; 2838 var s001 = document.getElementsByTagName('script')[0]; 2839 s001.parentNode.insertBefore(sNew01, s001); 2840 </script>
vendor: 2 bytes, line 2840
2840
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.