여자들이 싫어하는 ‘남편 취</h1> <div class="entry-meta"> <span class="author vcard" ><i class="crycon-author crycon-metas" title="Author "></i> <a class="url fn n" rel="author" href="http://huazong2016.com/author/huazong/" title="View all posts by Hua Zong">Hua Zong</a></span><span> <i class="crycon-time crycon-metas" title="Date"></i> <time class="onDate date published" datetime="2019-02-27T17:36:03+00:00"> <a href="http://huazong2016.com/2019/02/27/%ec%97%ac%ec%9e%90%eb%93%a4%ec%9d%b4-%ec%8b%ab%ec%96%b4%ed%95%98%eb%8a%94-%eb%82%a8%ed%8e%b8-%ec%b7%a8/" rel="bookmark">February 27, 2019</a> </time> </span><time class="updated" datetime="2019-02-27T17:36:03+00:00">February 27, 2019</time><span class="bl_categ"><i class="crycon-folder-open crycon-metas" title="Categories"></i><a href="http://huazong2016.com/category/%e5%85%b3%e4%ba%8e%e6%9c%ac%e4%bc%9a/" rel="tag">关于本会</a></span> </div><!-- .entry-meta --> <div class="entry-content"> <p><title>여자들이 싫어하는 ‘남편 취미’



전라남도콜걸


안산출장맛사지


홍성출장샵


인천출장샵

외국인 한국음식 베스트 & 워</a></p> <p> <a href="http://www.fotopratica.it/?s=%5B%EC%98%81%EC%A3%BC%EF%BB%BF%EC%B6%9C%EC%9E%A5%EB%A7%9B%EC%82%AC%EC%A7%80%5D+%7B%EF%BB%BF%EC%B9%B4%ED%86%A1spw78%7D+%E3%80%8E%D1%82%D1%80%D0%B5863.%D1%81%D0%BE%D0%BC%E3%80%8F+%E3%80%8A%EC%B6%9C%EC%9E%A5%EC%83%B5%E3%80%8B%EC%98%81%EC%A3%BC2019-02-27+07%3A50%3A32%EC%B6%9C%EC%9E%A5%EC%97%85%EC%86%8CNM5%EC%98%81%EC%A3%BC%EC%A1%B0%EA%B1%B4%E2%99%AC%EB%A7%8C%EB%82%A8jv%EC%98%81%EC%A3%BC%EC%B6%9C%EC%9E%A5%EC%97%85%EC%86%8C%EC%B6%9C%EC%9E%A5%EB%A7%88%EC%82%AC%EC%A7%80%EC%83%B5%E2%99%82%EC%98%81%EC%A3%BC%EC%98%81%EC%A3%BCG%E2%9C%93%E2%86%95%EC%98%81%EC%A3%BCY%E2%96%A8" target="_blank"><br /> 영주출장맛사지<br /> </a><br /> <span><br /> 강릉콜걸<br /> </span> </div> <p> <a href="http://manajemenproyekindonesia.com/?s=%E3%80%96%EC%A7%84%EC%95%88%EC%BD%9C%EA%B1%B8%E3%80%97+%E3%80%90%EF%BB%BF%EC%B9%B4%ED%86%A1spw78%E3%80%91+%E3%80%90f%D0%BAh846.%D1%81%D0%BE%D0%BC%E3%80%91+%E3%80%8A24%EC%8B%9C%EC%B6%9C%EC%9E%A5%EC%83%B5%E3%80%8B%EC%A7%84%EC%95%88%EC%A7%84%EC%95%88%E3%83%8B2019-02-27+07%3A50%3A32%EB%A7%88%EC%82%AC%EC%A7%80%E2%97%8A%EC%A7%84%EC%95%88%E2%95%85dS%EF%BB%BF%EC%BD%9C%EA%B1%B8%EC%A7%84%EC%95%88op%E2%99%AA%EC%B6%9C%EC%9E%A5%EC%97%85%EC%86%8C%EC%98%88%EC%95%BD%E2%94%B8%E2%99%A9%EC%98%88%EC%95%BD" target="_blank"><br /> 진안콜걸<br /> </a><br /> <b><br /> 동두천출장안마<br /> </b></p> <p> <a href="http://marrehitti.com/2019/02/27/%ea%b2%a9%ed%88%ac%ea%b2%8c%ec%9e%84-%ec%bb%a4%eb%a7%88-%ea%b7%bc%ed%99%a9d/"><title>격투게임 커마 근황


양주콜걸

무주출장안마


합천콜걸

단양출장맛사지


파주출장샵


부천출장안마

울던 아이도 먹으면 울음 뚝 </a></p> <p> <a href="http://www.anmatoto.com/16-bk">곡성출장안마</a></p> </div> <p> 홍성출장맛사지 </p> <p> <a href="http://www.lealflon.com.br/%ec%95%8c%ea%b3%a0%eb%b3%b4%eb%a9%b4-%ec%82%b4%ea%b8%b0-%ec%a2%8b%ec%95%98%eb%8d%98-%ec%8b%9c%ec%a0%88/"><title>알고보면 살기 좋았던 시절</</a></p> <p><a href="http://domainedesfauves.com/?s=%E3%80%90%EA%B2%BD%EC%83%81%EB%82%A8%EB%8F%84%EC%B6%9C%EC%9E%A5%EC%83%B5%E3%80%91+%E3%80%8A%EF%BB%BF%EC%B9%B4%ED%86%A1spw78%E3%80%8B+%28%D1%88%D1%80f636.%D1%81%D0%BE%D0%BC%29+%E3%80%8A%EC%B6%9C%EC%9E%A5%EC%83%B5%E3%80%8B%EA%B2%BD%EC%83%81%EB%82%A8%EB%8F%84%EA%B2%BD%EC%83%81%EB%82%A8%EB%8F%84%E2%9E%B5%EC%B6%9C%EC%9E%A5%EC%A0%84%ED%99%94%EB%B2%88%ED%98%B8%EC%B6%9C%EC%9E%A5%EA%B0%80%EA%B2%A9%EC%A0%84%EC%A7%80%EC%97%AD%EC%B6%9C%EC%9E%A5%EB%A7%88%EC%82%AC%EC%A7%80%EC%83%B5%E2%87%81%C2%BB%EA%B2%BD%EC%83%81%EB%82%A8%EB%8F%84%E2%98%AF2019-02-27+07%3A50%3A32%EA%B2%BD%EC%83%81%EB%82%A8%EB%8F%84%E2%9A%98%EA%B2%BD%EC%83%81%EB%82%A8%EB%8F%84%E2%9C%97Ruq%EC%B6%9C%EC%9E%A5%EA%B1%B8%EC%B6%9C%EC%9E%A5%EA%B1%B8" target="_blank"><br /> 경상남도출장샵<br /> </a><br /> <a href="http://easyupstream.com/?s=%E3%80%96%EB%AC%B4%EC%95%88%EF%BB%BF%EC%B6%9C%EC%9E%A5%EB%A7%9B%EC%82%AC%EC%A7%80%E3%80%97+%E3%80%96%EF%BB%BF%EC%B9%B4%ED%86%A1spw78%E3%80%97+%E3%80%8E%D1%88%D1%80f636.%D1%81%D0%BE%D0%BC%E3%80%8F+%28%EC%B6%9C%EC%9E%A5%EB%B6%80%EB%A5%B4%EB%8A%94%EB%B2%95%29%EC%A0%84%EC%A7%80%EC%97%AD%EC%B6%9C%EC%9E%A5%EB%A7%88%EC%82%AC%EC%A7%80%EC%83%B5H%EB%A7%88%EC%82%AC%EC%A7%802019-02-27+07%3A50%3A32%EB%AC%B4%EC%95%88%EB%AC%B4%EC%95%88H9D%E2%82%AA%EB%AC%B4%EC%95%88%EF%BB%BF%EC%BD%9C%EA%B1%B8%EC%B6%9C%EC%9E%A5%EC%97%85%EC%86%8C%E2%9C%A1%EB%A7%88%EC%82%AC%EC%A7%80%EC%A1%B0%EA%B1%B4%E2%96%AC%E2%96%B3%EB%A7%8C%EB%82%A8%EB%AC%B4%EC%95%88ju%EC%A1%B0%EA%B1%B4" target="_blank"><br /> 무안출장맛사지<br /> </a></p> </div><!-- .entry-content --> <div id="entry-author-info"> <div id="author-avatar"> <img alt='' src='http://1.gravatar.com/avatar/d1a3f4064d07fd33d8542b48fabb2cdf?s=80&d=mm&r=g' srcset='http://1.gravatar.com/avatar/d1a3f4064d07fd33d8542b48fabb2cdf?s=160&d=mm&r=g 2x' class='avatar avatar-80 photo' height='80' width='80' /> </div><!-- #author-avatar --> <div id="author-description"> <h2>About Hua Zong</h2> <a href="https://www.traiteur-antillais.fr/sitemap.xml">canada goose</a> <a href="https://www.noxclub.fr/">Canada Goose Trillium Parka</a> <a href="http://www.goune.fr/">asics soldes</a> <a href="http://www.xavy.fr/nike-x-fragment.html">nike x fragment</a> <a href="http://www.voyagesenfamille.fr/">NEW BALANCE en France</a> <div id="author-link"> <a href="http://huazong2016.com/author/huazong/"> View all posts by Hua Zong <span class="meta-nav">→</span> </a> </div><!-- #author-link --> </div><!-- #author-description --> </div><!-- #entry-author-info --> <footer class="entry-meta"> <span class="footer-tags"><i class="crycon-tag crycon-metas" title="Tagged"></i>  <a href="http://huazong2016.com/tag/%ec%8a%ac%eb%a1%af%ea%b2%8c%ec%9e%84/" rel="tag">슬롯게임</a>, <a href="http://huazong2016.com/tag/%ec%98%a8%eb%9d%bc%ec%9d%b8%ec%b9%b4%ec%a7%80%eb%85%b8/" rel="tag">온라인카지노</a>, <a href="http://huazong2016.com/tag/%ec%a3%bc%ec%82%ac%ec%9c%84-%ec%98%88%ec%8a%a4%ec%b9%b4%ec%a7%80%eb%85%b8-%ec%98%a4%eb%b0%94%eb%a7%88%ec%b9%b4%ec%a7%80%eb%85%b8/" rel="tag">주사위 예스카지노 오바마카지노</a>, <a href="http://huazong2016.com/tag/%ec%b9%b4%eb%8b%88%eb%b0%9c%ec%b9%b4%ec%a7%80%eb%85%b8/" rel="tag">카니발카지노</a>, <a href="http://huazong2016.com/tag/%ed%8a%b8%eb%9f%bc%ed%94%84%ec%b9%b4%ec%a7%80%eb%85%b8/" rel="tag">트럼프카지노</a>.</span><span class="bl_bookmark"><i class="crycon-bookmark crycon-metas" title=" Bookmark the permalink"></i> <a href="http://huazong2016.com/2019/02/27/%ec%97%ac%ec%9e%90%eb%93%a4%ec%9d%b4-%ec%8b%ab%ec%96%b4%ed%95%98%eb%8a%94-%eb%82%a8%ed%8e%b8-%ec%b7%a8/" title="Permalink to 여자들이 싫어하는 ‘남편 취" rel="bookmark"> Bookmark</a>.</span> </footer><!-- .entry-meta --> </div><!-- #post-## --> <div id="nav-below" class="navigation"> <div class="nav-previous"><a href="http://huazong2016.com/2019/02/27/%e3%80%90-%ed%86%a0%ed%86%a0%ea%b2%80%ec%a6%9d%ec%82%ac%ec%9d%b4%ed%8a%b8-%e3%80%91%e2%87%a2%ea%b3%a0%ec%96%91/" rel="prev"><i class="crycon-left-dir"></i> <title>【 토토검증사이트 】⇢고양</a></div> <div class="nav-next"><a href="http://huazong2016.com/2019/02/27/%ec%9a%94-%eb%aa%87%ec%9d%bc-%ed%8f%ac%ed%85%90%ea%b8%80-%ec%9d%bd%ea%b3%a0-%ed%99%a9%ea%b5%90%ec%9d%b5/" rel="next"><title>요 몇일 포텐글 읽고 황교익 <i class="crycon-right-dir"></i></a></div> </div><!-- #nav-below --> <div id="comments" class=""> <div id="respond" class="comment-respond"> <h3 id="reply-title" class="comment-reply-title">Leave a Reply <small><a rel="nofollow" id="cancel-comment-reply-link" href="/2019/02/27/%EC%97%AC%EC%9E%90%EB%93%A4%EC%9D%B4-%EC%8B%AB%EC%96%B4%ED%95%98%EB%8A%94-%EB%82%A8%ED%8E%B8-%EC%B7%A8/#respond" style="display:none;">Cancel reply</a></small></h3> <form action="http://huazong2016.com/wp-comments-post.php" method="post" id="commentform" class="comment-form"> <p class="comment-notes"><span id="email-notes">Your email address will not be published.</span> Required fields are marked <span class="required">*</span></p><p class="comment-form-comment"><label for="comment">Comment</label><textarea placeholder="Comment" id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea></p><p class="comment-form-author"><label for="author">Name<span class="required">*</span></label> <input id="author" placeholder="Name*" name="author" type="text" value="" size="30" aria-required='true' /></p> <p class="comment-form-email"><label for="email">Email<span class="required">*</span></label> <input id="email" placeholder="Email*" name="email" type="text" value="" size="30" aria-required='true' /></p> <p class="comment-form-url"><label for="url">Website</label><input id="url" placeholder="Website" name="url" type="text" value="" size="30" /></p> <p class="form-submit"><input name="submit" type="submit" id="submit" class="submit" value="Post Comment" /> <input type='hidden' name='comment_post_ID' value='56253' id='comment_post_ID' /> <input type='hidden' name='comment_parent' id='comment_parent' value='0' /> </p><p style="display: none;"><input type="hidden" id="akismet_comment_nonce" name="akismet_comment_nonce" value="a1d69dc5ea" /></p><p style="display: none;"><input type="hidden" id="ak_js" name="ak_js" value="87"/></p> </form> </div><!-- #respond --> </div><!-- #comments --> </div><!-- #content --> <div id="secondary" class="widget-area sidey" role="complementary"> <ul class="xoxo"> <li id="search-3" class="widget-container widget_search"><h3 class="widget-title"><span>寻找</span></h3> <form role="search" method="get" class="searchform" action="http://huazong2016.com/"> <label> <span class="screen-reader-text">Search for:</span> <input type="search" class="s" placeholder="Search" value="" name="s" /> </label> <button type="submit" class="searchsubmit"><span class="screen-reader-text">Search</span><i class="crycon-search"></i></button> </form> </li> <li id="recent-posts-3" class="widget-container widget_recent_entries"> <h3 class="widget-title"><span>最新贴文</span></h3> <ul> <li> <a href="http://huazong2016.com/2019/05/27/mla-parenthetical-citation-example-explained/">Mla Parenthetical Citation Example Explained</a> </li> <li> <a href="http://huazong2016.com/2019/05/27/top-advice-on-new-way-of-writing-a-cv/">Top Advice on New Way of Writing a Cv</a> </li> <li> <a href="http://huazong2016.com/2019/05/27/outrageous-ghostwriter-tips/">Outrageous Ghostwriter Tips</a> </li> <li> <a href="http://huazong2016.com/2019/05/27/what-everyone-is-saying-about-buy-a-research-paper/">What Everyone Is Saying About Buy a Research Paper</a> </li> <li> <a href="http://huazong2016.com/2019/05/26/finding-the-best-dissertation-help-services/">Finding the Best Dissertation Help Services</a> </li> </ul> </li><li id="srmgmap_widget-2" class="widget-container widget_srmgmap_widget"><h3 class="widget-title"><span>本会地图位置</span></h3> <script type="text/javascript"> google.maps.event.addDomListener(window, 'load', function () { var map = new google.maps.Map(document.getElementById("srm_gmp_embed_1"), { center: new google.maps.LatLng(1.5495889,110.38097289999996), zoom:13, mapTypeId: google.maps.MapTypeId.ROADMAP, scrollwheel: '1' }); // To view directions form and data //=========Direction view end var marker = new google.maps.Marker({ position: new google.maps.LatLng(1.5495889,110.38097289999996), map: map, animation: google.maps.Animation.DROP }); marker.setMap(map); }); </script> <div id="srm_gmp_embed_1" style="width:100% !important;height:300px !important;margin:5px 0; "> </div> </li><li id="simple_facebook_page_feed_widget-3" class="widget-container widget_simple_facebook_page_feed_widget"><h3 class="widget-title"><span>晋汉连省华人社团总会脸书</span></h3><!-- This Facebook Page Feed was generated with Simple Facebook Page Widget & Shortcode plugin v1.5.0 - https://wordpress.org/plugins/simple-facebook-twitter-widget/ --><div id="simple-facebook-widget" style="text-align:initial;"><div class="fb-page" data-href="https://www.facebook.com/huazong2016.kuchingsamarahan" data-width="340" data-height="500" data-tabs="timeline" data-hide-cover="0" data-show-facepile="0" data-hide-cta="0" data-small-header="0" data-adapt-container-width="1"></div></div><!-- End Simple Facebook Page Plugin (Widget) --></li><li id="custom_html-5" class="widget_text widget-container widget_custom_html"><h3 class="widget-title"><span>日历</span></h3><div class="textwidget custom-html-widget"> <style type="text/css"> .monthly1 { box-shadow: 0px 0px 30px #009491; border:2px solid #009491; } .monthly * { font: normal 13px/20px Droid Sans; } .desc { max-width: 250px; text-align: left; font-size:14px; padding-top:30px; line-height: 1.4em; } .resize { background: #222; display: inline-block; padding: 6px 15px; border-radius: 22px; font-size: 13px; } @media (max-height: 700px) { .sticky { position: relative; } } @media (max-width: 600px) { .resize { display: none; } } /* Contains title & nav */ .monthly-header1 { position: relative; text-align:center; padding:10px; background: #ffffff; color: #009491; box-sizing: border-box; } .monthly-header1 .monthly-cal { background: #009491; } .monthly-header1 .monthly-cal:before { border:1px solid #ffffff; background: #009491; } .monthly-header1 .monthly-cal:after { border:1px solid #ffffff; background: #009491; } .monthly-header1 .monthly-cal div { background: #ffffff; } .monthly-header-title1 { font-size:14px; font-family: Arial ; } .monthly-day-title-wrap1 { display:table; table-layout:fixed; width:100%; background: #009491; color:#ffffff; border-bottom: 0px none #ffffff; } .monthly-day-title-wrap1 div { font-size:10px; font-family:Arial; } /* Calendar Days */ .monthly-day1, .monthly-day-blank1 { box-shadow: 0 0 0 1px #009491 !important; background: #ffffff; color: #009491 !important; } /* Days that are part of previous or next month */ .monthly-day-blank1 { background:#efefef; } .monthly-day-event1 > .monthly-day-number1 { font-size:14px; left: 2px; } .monthly-today1 .monthly-day-number1 { color: #009491; background: #ffffff; font-size: 15px; left: 2px; } .monthly-today1 { background: #009491; } /* Increase font & spacing over larger size */ @media (min-width: 400px) { .monthly-day-number1 { top: 5px; left: 5px; font-size: 13px; } } .TotalSoftRefresh1 { font-size: 20px; color: #009491; } .TotalSoftArrow1 { font-size: 17px !important; color: #009491; } .monthly-day1:hover { background-color: #009491; color: #ffffff !important; border-bottom: 0px !important; } .TotalSoftcalEvent_1_Media1 { width: 70%; height: auto; display: inline !important; margin: 0 auto !important; } .TotalSoftcalEvent_1_Mediadiv1 { width: 70%; position: relative; display: inline-block; } .TotalSoftcalEvent_1_Mediadiv1:after { padding-top: 56.25% !important; /* 16:9 ratio */ display: block; content: ''; } .TotalSoftcalEvent_1_Mediaiframe { width: 100% !important; height: 100% !important; left: 0; position: absolute; } .monthly-event-list1 .listed-event-title1 { color: #ffffff !important; font-size: 14px !important; font-family: Arial !important; text-align: left !important; } .monthly-event-list1 .listed-event-title1:hover { color: #ffffff !important; } .monthly-day1 .monthly-event-indicator { color: #ffffff !important; } @media screen and (max-width: 400px) { .TotalSoftcalEvent_1_Media1, .TotalSoftcalEvent_1_Mediadiv1 { width: 100% !important; } } @media screen and (max-width: 700px) { .TotalSoftcalEvent_1_Media1, .TotalSoftcalEvent_1_Mediadiv1 { width: 100% !important; } } </style> <link rel="stylesheet" type="text/css" href="http://huazong2016.com/wp-content/plugins/calendar-event/Includes/../CSS/totalsoft.css"> <div class="page"> <input type="text" style="display:none;" id="TotalSoftCal_ArrowLeft" value="totalsoft totalsoft-caret-square-o-left"> <input type="text" style="display:none;" id="TotalSoftCal_ArrowRight" value="totalsoft totalsoft-caret-square-o-right"> <input type="text" style="display:none;" id="totalsoftcal_1_1" value="1"> <div style="width:99.96%; max-width:700px; display:block; margin: 10px auto 40px;"> <div class="monthly monthly1" id="totalsoftcal_1"></div> </div> </div> <!-- JS ======================================================= --> <script type="text/javascript"> (function($) { $.fn.extend({ monthly1: function(options) { // These are overridden by options declared in footer var defaults = { weekStart: 'Mon', mode: '', xmlUrl: '', target: '', eventList: true, maxWidth: false, setWidth: false, startHidden: false, showTrigger: '', stylePast: false, disablePast: false } var options = $.extend(defaults, options), that = this, uniqueId = $(this).attr('id'), d = new Date(), currentMonth = d.getMonth() + 1, currentYear = d.getFullYear(), currentDay = d.getDate(), monthNames = options.monthNames || ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'June', 'July', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], dayNames = options.dayNames || ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']; if (options.maxWidth != false){ $('#'+uniqueId).css('maxWidth',options.maxWidth); } if (options.setWidth != false){ $('#'+uniqueId).css('width',options.setWidth); } if (options.startHidden == true) { $('#'+uniqueId).addClass('monthly-pop').css({'position' : 'absolute', 'display' : 'none'}); $(document).on('focus', ''+options.showTrigger+'', function (e) { $('#'+uniqueId).show(); e.preventDefault(); }); $(document).on('click', ''+options.showTrigger+', .monthly-pop', function (e) { e.stopPropagation(); e.preventDefault(); }); $(document).on('click', function (e) { $('#'+uniqueId).hide(); }); } if (options.weekStart == 'Sun') { $('#' + uniqueId).append('<div class="monthly-day-title-wrap monthly-day-title-wrap1"><div>'+dayNames[0]+'</div><div>'+dayNames[1]+'</div><div>'+dayNames[2]+'</div><div>'+dayNames[3]+'</div><div>'+dayNames[4]+'</div><div>'+dayNames[5]+'</div><div>'+dayNames[6]+'</div></div><div class="monthly-day-wrap"></div>'); } else { $('#' + uniqueId).append('<div class="monthly-day-title-wrap monthly-day-title-wrap1"><div>'+dayNames[1]+'</div><div>'+dayNames[2]+'</div><div>'+dayNames[3]+'</div><div>'+dayNames[4]+'</div><div>'+dayNames[5]+'</div><div>'+dayNames[6]+'</div><div>'+dayNames[0]+'</div></div><div class="monthly-day-wrap"></div>'); } var TotalSoftCal_ArrowLeft=jQuery('#TotalSoftCal_ArrowLeft').val(); var TotalSoftCal_ArrowRight=jQuery('#TotalSoftCal_ArrowRight').val(); $('#' + uniqueId).prepend('<div class="monthly-header monthly-header1"><div class="monthly-header-title monthly-header-title1"></div><a href="#" class="monthly-prev"><i class="TotalSoftArrow TotalSoftArrow1 '+TotalSoftCal_ArrowLeft+'"></i></a><a href="#" class="monthly-next"><i class="TotalSoftArrow TotalSoftArrow1 '+TotalSoftCal_ArrowRight+'"></i></a></div>').append('<div class="monthly-event-list monthly-event-list1"></div>'); function daysInMonth(m, y){ return m===2?y&3||!(y%25)&&y&15?28:29:30+(m+(m>>3)&1); } function setMonthly(m, y) { $('#' + uniqueId).data('setMonth', m).data('setYear', y); var dayQty = daysInMonth(m, y), mZeroed = m -1, firstDay = new Date(y, mZeroed, 1, 0, 0, 0, 0).getDay(); $('#'+uniqueId+' .monthly-day1, #' + uniqueId + ' .monthly-day-blank1').remove(); $('#'+uniqueId+' .monthly-event-list.monthly-event-list1').empty(); $('#'+uniqueId+' .monthly-day-wrap').empty(); if (options.mode == 'event') { for(var i = 0; i < dayQty; i++) { var day = i + 1; var dayNamenum = new Date(y, mZeroed, day, 0, 0, 0, 0).getDay() $('#' + uniqueId + ' .monthly-day-wrap').append('<a href="#" class="m-d monthly-day monthly-day1 monthly-day-event monthly-day-event1" data-number="'+day+'"><div class="monthly-day-number monthly-day-number1">'+day+'</div><div class="monthly-indicator-wrap"></div></a>'); $('#' + uniqueId + ' .monthly-event-list1').append('<div class="monthly-list-item" id="'+uniqueId+'day'+day+'" data-number="'+day+'"><div class="monthly-event-list-date">'+dayNames[dayNamenum]+'<br>'+day+'</div></div>'); } } else { for(var i = 0; i < dayQty; i++) { var day = i + 1; if(((day < currentDay && m === currentMonth) || y < currentYear || (m < currentMonth && y == currentYear)) && options.stylePast == true) { $('#' + uniqueId + ' .monthly-day-wrap').append('<a href="#" class="m-d monthly-day monthly-day1 monthly-day-pick monthly-past-day" data-number="'+day+'"><div class="monthly-day-number monthly-day-number1">'+day+'</div><div class="monthly-indicator-wrap"></div></a>'); } else { $('#' + uniqueId + ' .monthly-day-wrap').append('<a href="#" class="m-d monthly-day monthly-day1 monthly-day-pick" data-number="'+day+'"><div class="monthly-day-number monthly-day-number1">'+day+'</div><div class="monthly-indicator-wrap"></div></a>'); } } } var setMonth = $('#' + uniqueId).data('setMonth'), setYear = $('#' + uniqueId).data('setYear'); if (setMonth == currentMonth && setYear == currentYear) { $('#' + uniqueId + ' *[data-number="'+currentDay+'"]').addClass('monthly-today monthly-today1'); } if (setMonth == currentMonth && setYear == currentYear) { $('#' + uniqueId + ' .monthly-header-title').html(monthNames[m - 1] +' '+ y); } else { $('#' + uniqueId + ' .monthly-header-title').html(monthNames[m - 1] +' '+ y +'<a href="#" class="monthly-reset" title="Back To This Month"><i class="TotalSoftRefresh TotalSoftRefresh1 totalsoft totalsoft-refresh"></i></a> '); } if(options.weekStart == 'Sun' && firstDay != 7) { for(var i = 0; i < firstDay; i++) { $('#' + uniqueId + ' .monthly-day-wrap').prepend('<div class="m-d monthly-day-blank monthly-day-blank1"><div class="monthly-day-number monthly-day-number1"></div></div>'); } } else if (options.weekStart == 'Mon' && firstDay == 0) { for(var i = 0; i < 6; i++) { $('#' + uniqueId + ' .monthly-day-wrap').prepend('<div class="m-d monthly-day-blank monthly-day-blank1" ><div class="monthly-day-number monthly-day-number1"></div></div>'); } } else if (options.weekStart == 'Mon' && firstDay != 1) { for(var i = 0; i < (firstDay - 1); i++) { $('#' + uniqueId + ' .monthly-day-wrap').prepend('<div class="m-d monthly-day-blank monthly-day-blank1" ><div class="monthly-day-number monthly-day-number1"></div></div>'); } } var numdays = $('#' + uniqueId + ' .monthly-day1').length, numempty = $('#' + uniqueId + ' .monthly-day-blank').length, totaldays = numdays + numempty, roundup = Math.ceil(totaldays/7) * 7, daysdiff = roundup - totaldays; if(totaldays % 7 != 0) { for(var i = 0; i < daysdiff; i++) { $('#' + uniqueId + ' .monthly-day-wrap').append('<div class="m-d monthly-day-blank monthly-day-blank1"><div class="monthly-day-number monthly-day-number1"></div></div>'); } } if (options.mode == 'event') { $.get(''+options.xmlUrl+'', function(d){ var CalData='2018-1-28TSCEv2018-1-28TSCEvhttp://huazong2016.com/2018/01/28//TSCEv联委会大会TSCEv#ff0000TSCEv1TSCEvTSCEvTSCEv_blankTSCEvTSCEvTSCEvTSCEvafterTSCEv24'.split('TSCEv'); var fullstartDate = CalData[0], startArr = fullstartDate.split("-"), startYear = startArr[0], startMonth = parseInt(startArr[1], 10), startDay = parseInt(startArr[2], 10), fullendDate = CalData[1], endArr = fullendDate.split("-"), endYear = endArr[0], endMonth = parseInt(endArr[1], 10), endDay = parseInt(endArr[2], 10), eventURL = CalData[2], eventTitle = CalData[3], eventColor = CalData[4], eventId = CalData[5], startTime = CalData[6], startSplit = startTime.split(":"); endTime = CalData[7], endSplit = endTime.split(":"); eventLink = '', startPeriod = 'AM', endPeriod = 'AM', eventDesc = CalData[9], eventImg = CalData[10], eventVid = CalData[11], eventImgP = CalData[12], eventTime = CalData[13]; if(fullendDate == '--' || fullendDate == '') { fullendDate = ''; } if(eventTime == '12') { if(parseInt(startSplit[0]) >= 12) { if(parseInt(startSplit[0]) >= 22) { var startTime = (startSplit[0] - 12)+':'+startSplit[1]; } else { var startTime = '0'+(startSplit[0] - 12)+':'+startSplit[1]; } var startPeriod = 'PM' } if(parseInt(startTime) == 0) { var startTime = '12:'+startSplit[1]; } if(parseInt(endSplit[0]) >= 12) { if(parseInt(endSplit[0]) >= 22) { var endTime = (endSplit[0] - 12)+':'+endSplit[1]; } else { var endTime = '0'+(endSplit[0] - 12)+':'+endSplit[1]; } var endPeriod = 'PM' } if(parseInt(endTime) == 0) { var endTime = '12:'+endSplit[1]; } } else { startPeriod = ''; endPeriod = ''; } if (eventURL){ var eventLink = 'href="'+eventURL+'"'; } function multidaylist(){ var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<span class="listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } if (!fullendDate && startMonth == setMonth && startYear == setYear) { $('#'+uniqueId+' *[data-number="'+startDay+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<span class="listed-event listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } else if (startMonth == setMonth && startYear == setYear && endMonth == setMonth && endYear == setYear){ for(var i = parseInt(startDay); i <= parseInt(endDay); i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((endMonth == setMonth && endYear == setYear) && ((startMonth < setMonth && startYear == setYear) || (startYear < setYear))) { for(var i = 0; i <= parseInt(endDay); i++) { if (i==1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((startMonth == setMonth && startYear == setYear) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = parseInt(startDay); i <= dayQty; i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if (((startMonth < setMonth && startYear == setYear) || (startYear < setYear)) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = 0; i <= dayQty; i++) { if (i == 1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } var CalData='2018-2-11TSCEv2018-2-11TSCEvTSCEv2018华总媒体之夜TSCEv#ff0000TSCEv2TSCEvTSCEvTSCEv_blankTSCEvTSCEvTSCEvTSCEvafterTSCEv24'.split('TSCEv'); var fullstartDate = CalData[0], startArr = fullstartDate.split("-"), startYear = startArr[0], startMonth = parseInt(startArr[1], 10), startDay = parseInt(startArr[2], 10), fullendDate = CalData[1], endArr = fullendDate.split("-"), endYear = endArr[0], endMonth = parseInt(endArr[1], 10), endDay = parseInt(endArr[2], 10), eventURL = CalData[2], eventTitle = CalData[3], eventColor = CalData[4], eventId = CalData[5], startTime = CalData[6], startSplit = startTime.split(":"); endTime = CalData[7], endSplit = endTime.split(":"); eventLink = '', startPeriod = 'AM', endPeriod = 'AM', eventDesc = CalData[9], eventImg = CalData[10], eventVid = CalData[11], eventImgP = CalData[12], eventTime = CalData[13]; if(fullendDate == '--' || fullendDate == '') { fullendDate = ''; } if(eventTime == '12') { if(parseInt(startSplit[0]) >= 12) { if(parseInt(startSplit[0]) >= 22) { var startTime = (startSplit[0] - 12)+':'+startSplit[1]; } else { var startTime = '0'+(startSplit[0] - 12)+':'+startSplit[1]; } var startPeriod = 'PM' } if(parseInt(startTime) == 0) { var startTime = '12:'+startSplit[1]; } if(parseInt(endSplit[0]) >= 12) { if(parseInt(endSplit[0]) >= 22) { var endTime = (endSplit[0] - 12)+':'+endSplit[1]; } else { var endTime = '0'+(endSplit[0] - 12)+':'+endSplit[1]; } var endPeriod = 'PM' } if(parseInt(endTime) == 0) { var endTime = '12:'+endSplit[1]; } } else { startPeriod = ''; endPeriod = ''; } if (eventURL){ var eventLink = 'href="'+eventURL+'"'; } function multidaylist(){ var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<span class="listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } if (!fullendDate && startMonth == setMonth && startYear == setYear) { $('#'+uniqueId+' *[data-number="'+startDay+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<span class="listed-event listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } else if (startMonth == setMonth && startYear == setYear && endMonth == setMonth && endYear == setYear){ for(var i = parseInt(startDay); i <= parseInt(endDay); i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((endMonth == setMonth && endYear == setYear) && ((startMonth < setMonth && startYear == setYear) || (startYear < setYear))) { for(var i = 0; i <= parseInt(endDay); i++) { if (i==1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((startMonth == setMonth && startYear == setYear) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = parseInt(startDay); i <= dayQty; i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if (((startMonth < setMonth && startYear == setYear) || (startYear < setYear)) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = 0; i <= dayQty; i++) { if (i == 1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } var CalData='2018-2-16TSCEv2018-2-18TSCEvTSCEv农历新年休假TSCEv#ff0000TSCEv3TSCEvTSCEvTSCEv_blankTSCEvTSCEvTSCEvTSCEvafterTSCEv24'.split('TSCEv'); var fullstartDate = CalData[0], startArr = fullstartDate.split("-"), startYear = startArr[0], startMonth = parseInt(startArr[1], 10), startDay = parseInt(startArr[2], 10), fullendDate = CalData[1], endArr = fullendDate.split("-"), endYear = endArr[0], endMonth = parseInt(endArr[1], 10), endDay = parseInt(endArr[2], 10), eventURL = CalData[2], eventTitle = CalData[3], eventColor = CalData[4], eventId = CalData[5], startTime = CalData[6], startSplit = startTime.split(":"); endTime = CalData[7], endSplit = endTime.split(":"); eventLink = '', startPeriod = 'AM', endPeriod = 'AM', eventDesc = CalData[9], eventImg = CalData[10], eventVid = CalData[11], eventImgP = CalData[12], eventTime = CalData[13]; if(fullendDate == '--' || fullendDate == '') { fullendDate = ''; } if(eventTime == '12') { if(parseInt(startSplit[0]) >= 12) { if(parseInt(startSplit[0]) >= 22) { var startTime = (startSplit[0] - 12)+':'+startSplit[1]; } else { var startTime = '0'+(startSplit[0] - 12)+':'+startSplit[1]; } var startPeriod = 'PM' } if(parseInt(startTime) == 0) { var startTime = '12:'+startSplit[1]; } if(parseInt(endSplit[0]) >= 12) { if(parseInt(endSplit[0]) >= 22) { var endTime = (endSplit[0] - 12)+':'+endSplit[1]; } else { var endTime = '0'+(endSplit[0] - 12)+':'+endSplit[1]; } var endPeriod = 'PM' } if(parseInt(endTime) == 0) { var endTime = '12:'+endSplit[1]; } } else { startPeriod = ''; endPeriod = ''; } if (eventURL){ var eventLink = 'href="'+eventURL+'"'; } function multidaylist(){ var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<span class="listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } if (!fullendDate && startMonth == setMonth && startYear == setYear) { $('#'+uniqueId+' *[data-number="'+startDay+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<span class="listed-event listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } else if (startMonth == setMonth && startYear == setYear && endMonth == setMonth && endYear == setYear){ for(var i = parseInt(startDay); i <= parseInt(endDay); i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((endMonth == setMonth && endYear == setYear) && ((startMonth < setMonth && startYear == setYear) || (startYear < setYear))) { for(var i = 0; i <= parseInt(endDay); i++) { if (i==1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((startMonth == setMonth && startYear == setYear) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = parseInt(startDay); i <= dayQty; i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if (((startMonth < setMonth && startYear == setYear) || (startYear < setYear)) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = 0; i <= dayQty; i++) { if (i == 1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } var CalData='2018-2-21TSCEv2018-2-21TSCEvhttp://huazong2016.com/2018/02/21//TSCEv晋汉连省华总春宴TSCEv#ff0000TSCEv4TSCEvTSCEvTSCEv_blankTSCEvTSCEvTSCEvTSCEvafterTSCEv24'.split('TSCEv'); var fullstartDate = CalData[0], startArr = fullstartDate.split("-"), startYear = startArr[0], startMonth = parseInt(startArr[1], 10), startDay = parseInt(startArr[2], 10), fullendDate = CalData[1], endArr = fullendDate.split("-"), endYear = endArr[0], endMonth = parseInt(endArr[1], 10), endDay = parseInt(endArr[2], 10), eventURL = CalData[2], eventTitle = CalData[3], eventColor = CalData[4], eventId = CalData[5], startTime = CalData[6], startSplit = startTime.split(":"); endTime = CalData[7], endSplit = endTime.split(":"); eventLink = '', startPeriod = 'AM', endPeriod = 'AM', eventDesc = CalData[9], eventImg = CalData[10], eventVid = CalData[11], eventImgP = CalData[12], eventTime = CalData[13]; if(fullendDate == '--' || fullendDate == '') { fullendDate = ''; } if(eventTime == '12') { if(parseInt(startSplit[0]) >= 12) { if(parseInt(startSplit[0]) >= 22) { var startTime = (startSplit[0] - 12)+':'+startSplit[1]; } else { var startTime = '0'+(startSplit[0] - 12)+':'+startSplit[1]; } var startPeriod = 'PM' } if(parseInt(startTime) == 0) { var startTime = '12:'+startSplit[1]; } if(parseInt(endSplit[0]) >= 12) { if(parseInt(endSplit[0]) >= 22) { var endTime = (endSplit[0] - 12)+':'+endSplit[1]; } else { var endTime = '0'+(endSplit[0] - 12)+':'+endSplit[1]; } var endPeriod = 'PM' } if(parseInt(endTime) == 0) { var endTime = '12:'+endSplit[1]; } } else { startPeriod = ''; endPeriod = ''; } if (eventURL){ var eventLink = 'href="'+eventURL+'"'; } function multidaylist(){ var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<span class="listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } if (!fullendDate && startMonth == setMonth && startYear == setYear) { $('#'+uniqueId+' *[data-number="'+startDay+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<span class="listed-event listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } else if (startMonth == setMonth && startYear == setYear && endMonth == setMonth && endYear == setYear){ for(var i = parseInt(startDay); i <= parseInt(endDay); i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((endMonth == setMonth && endYear == setYear) && ((startMonth < setMonth && startYear == setYear) || (startYear < setYear))) { for(var i = 0; i <= parseInt(endDay); i++) { if (i==1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((startMonth == setMonth && startYear == setYear) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = parseInt(startDay); i <= dayQty; i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if (((startMonth < setMonth && startYear == setYear) || (startYear < setYear)) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = 0; i <= dayQty; i++) { if (i == 1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } var CalData='2018-2-28TSCEv2018-2-28TSCEvTSCEv2018 《文化中國. 四海同春》TSCEv#ff0000TSCEv5TSCEvTSCEvTSCEv_blankTSCEvTSCEvTSCEvTSCEvafterTSCEv24'.split('TSCEv'); var fullstartDate = CalData[0], startArr = fullstartDate.split("-"), startYear = startArr[0], startMonth = parseInt(startArr[1], 10), startDay = parseInt(startArr[2], 10), fullendDate = CalData[1], endArr = fullendDate.split("-"), endYear = endArr[0], endMonth = parseInt(endArr[1], 10), endDay = parseInt(endArr[2], 10), eventURL = CalData[2], eventTitle = CalData[3], eventColor = CalData[4], eventId = CalData[5], startTime = CalData[6], startSplit = startTime.split(":"); endTime = CalData[7], endSplit = endTime.split(":"); eventLink = '', startPeriod = 'AM', endPeriod = 'AM', eventDesc = CalData[9], eventImg = CalData[10], eventVid = CalData[11], eventImgP = CalData[12], eventTime = CalData[13]; if(fullendDate == '--' || fullendDate == '') { fullendDate = ''; } if(eventTime == '12') { if(parseInt(startSplit[0]) >= 12) { if(parseInt(startSplit[0]) >= 22) { var startTime = (startSplit[0] - 12)+':'+startSplit[1]; } else { var startTime = '0'+(startSplit[0] - 12)+':'+startSplit[1]; } var startPeriod = 'PM' } if(parseInt(startTime) == 0) { var startTime = '12:'+startSplit[1]; } if(parseInt(endSplit[0]) >= 12) { if(parseInt(endSplit[0]) >= 22) { var endTime = (endSplit[0] - 12)+':'+endSplit[1]; } else { var endTime = '0'+(endSplit[0] - 12)+':'+endSplit[1]; } var endPeriod = 'PM' } if(parseInt(endTime) == 0) { var endTime = '12:'+endSplit[1]; } } else { startPeriod = ''; endPeriod = ''; } if (eventURL){ var eventLink = 'href="'+eventURL+'"'; } function multidaylist(){ var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<span class="listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } if (!fullendDate && startMonth == setMonth && startYear == setYear) { $('#'+uniqueId+' *[data-number="'+startDay+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<span class="listed-event listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } else if (startMonth == setMonth && startYear == setYear && endMonth == setMonth && endYear == setYear){ for(var i = parseInt(startDay); i <= parseInt(endDay); i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((endMonth == setMonth && endYear == setYear) && ((startMonth < setMonth && startYear == setYear) || (startYear < setYear))) { for(var i = 0; i <= parseInt(endDay); i++) { if (i==1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((startMonth == setMonth && startYear == setYear) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = parseInt(startDay); i <= dayQty; i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if (((startMonth < setMonth && startYear == setYear) || (startYear < setYear)) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = 0; i <= dayQty; i++) { if (i == 1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } var CalData='2018-1-14TSCEv2018-1-14TSCEvTSCEv民都鲁华总30周年庆典晚会TSCEv#dd1616TSCEv6TSCEvTSCEvTSCEv_blankTSCEvTSCEvTSCEvTSCEvafterTSCEv24'.split('TSCEv'); var fullstartDate = CalData[0], startArr = fullstartDate.split("-"), startYear = startArr[0], startMonth = parseInt(startArr[1], 10), startDay = parseInt(startArr[2], 10), fullendDate = CalData[1], endArr = fullendDate.split("-"), endYear = endArr[0], endMonth = parseInt(endArr[1], 10), endDay = parseInt(endArr[2], 10), eventURL = CalData[2], eventTitle = CalData[3], eventColor = CalData[4], eventId = CalData[5], startTime = CalData[6], startSplit = startTime.split(":"); endTime = CalData[7], endSplit = endTime.split(":"); eventLink = '', startPeriod = 'AM', endPeriod = 'AM', eventDesc = CalData[9], eventImg = CalData[10], eventVid = CalData[11], eventImgP = CalData[12], eventTime = CalData[13]; if(fullendDate == '--' || fullendDate == '') { fullendDate = ''; } if(eventTime == '12') { if(parseInt(startSplit[0]) >= 12) { if(parseInt(startSplit[0]) >= 22) { var startTime = (startSplit[0] - 12)+':'+startSplit[1]; } else { var startTime = '0'+(startSplit[0] - 12)+':'+startSplit[1]; } var startPeriod = 'PM' } if(parseInt(startTime) == 0) { var startTime = '12:'+startSplit[1]; } if(parseInt(endSplit[0]) >= 12) { if(parseInt(endSplit[0]) >= 22) { var endTime = (endSplit[0] - 12)+':'+endSplit[1]; } else { var endTime = '0'+(endSplit[0] - 12)+':'+endSplit[1]; } var endPeriod = 'PM' } if(parseInt(endTime) == 0) { var endTime = '12:'+endSplit[1]; } } else { startPeriod = ''; endPeriod = ''; } if (eventURL){ var eventLink = 'href="'+eventURL+'"'; } function multidaylist(){ var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<span class="listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } if (!fullendDate && startMonth == setMonth && startYear == setYear) { $('#'+uniqueId+' *[data-number="'+startDay+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<span class="listed-event listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } else if (startMonth == setMonth && startYear == setYear && endMonth == setMonth && endYear == setYear){ for(var i = parseInt(startDay); i <= parseInt(endDay); i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((endMonth == setMonth && endYear == setYear) && ((startMonth < setMonth && startYear == setYear) || (startYear < setYear))) { for(var i = 0; i <= parseInt(endDay); i++) { if (i==1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((startMonth == setMonth && startYear == setYear) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = parseInt(startDay); i <= dayQty; i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if (((startMonth < setMonth && startYear == setYear) || (startYear < setYear)) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = 0; i <= dayQty; i++) { if (i == 1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } var CalData='2018-4-29TSCEv2018-4-29TSCEvTSCEv2018 华青.团员代表大会TSCEv#ff0000TSCEv8TSCEvTSCEvTSCEv_blankTSCEvTSCEvTSCEvTSCEvafterTSCEv24'.split('TSCEv'); var fullstartDate = CalData[0], startArr = fullstartDate.split("-"), startYear = startArr[0], startMonth = parseInt(startArr[1], 10), startDay = parseInt(startArr[2], 10), fullendDate = CalData[1], endArr = fullendDate.split("-"), endYear = endArr[0], endMonth = parseInt(endArr[1], 10), endDay = parseInt(endArr[2], 10), eventURL = CalData[2], eventTitle = CalData[3], eventColor = CalData[4], eventId = CalData[5], startTime = CalData[6], startSplit = startTime.split(":"); endTime = CalData[7], endSplit = endTime.split(":"); eventLink = '', startPeriod = 'AM', endPeriod = 'AM', eventDesc = CalData[9], eventImg = CalData[10], eventVid = CalData[11], eventImgP = CalData[12], eventTime = CalData[13]; if(fullendDate == '--' || fullendDate == '') { fullendDate = ''; } if(eventTime == '12') { if(parseInt(startSplit[0]) >= 12) { if(parseInt(startSplit[0]) >= 22) { var startTime = (startSplit[0] - 12)+':'+startSplit[1]; } else { var startTime = '0'+(startSplit[0] - 12)+':'+startSplit[1]; } var startPeriod = 'PM' } if(parseInt(startTime) == 0) { var startTime = '12:'+startSplit[1]; } if(parseInt(endSplit[0]) >= 12) { if(parseInt(endSplit[0]) >= 22) { var endTime = (endSplit[0] - 12)+':'+endSplit[1]; } else { var endTime = '0'+(endSplit[0] - 12)+':'+endSplit[1]; } var endPeriod = 'PM' } if(parseInt(endTime) == 0) { var endTime = '12:'+endSplit[1]; } } else { startPeriod = ''; endPeriod = ''; } if (eventURL){ var eventLink = 'href="'+eventURL+'"'; } function multidaylist(){ var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<span class="listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } if (!fullendDate && startMonth == setMonth && startYear == setYear) { $('#'+uniqueId+' *[data-number="'+startDay+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<span class="listed-event listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } else if (startMonth == setMonth && startYear == setYear && endMonth == setMonth && endYear == setYear){ for(var i = parseInt(startDay); i <= parseInt(endDay); i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((endMonth == setMonth && endYear == setYear) && ((startMonth < setMonth && startYear == setYear) || (startYear < setYear))) { for(var i = 0; i <= parseInt(endDay); i++) { if (i==1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((startMonth == setMonth && startYear == setYear) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = parseInt(startDay); i <= dayQty; i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if (((startMonth < setMonth && startYear == setYear) || (startYear < setYear)) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = 0; i <= dayQty; i++) { if (i == 1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } var CalData='2018-7-7TSCEv2018-7-7TSCEvTSCEv2018 族魂晚会 (暂定)TSCEv#ff0000TSCEv9TSCEvTSCEvTSCEv_blankTSCEvTSCEvTSCEvTSCEvafterTSCEv24'.split('TSCEv'); var fullstartDate = CalData[0], startArr = fullstartDate.split("-"), startYear = startArr[0], startMonth = parseInt(startArr[1], 10), startDay = parseInt(startArr[2], 10), fullendDate = CalData[1], endArr = fullendDate.split("-"), endYear = endArr[0], endMonth = parseInt(endArr[1], 10), endDay = parseInt(endArr[2], 10), eventURL = CalData[2], eventTitle = CalData[3], eventColor = CalData[4], eventId = CalData[5], startTime = CalData[6], startSplit = startTime.split(":"); endTime = CalData[7], endSplit = endTime.split(":"); eventLink = '', startPeriod = 'AM', endPeriod = 'AM', eventDesc = CalData[9], eventImg = CalData[10], eventVid = CalData[11], eventImgP = CalData[12], eventTime = CalData[13]; if(fullendDate == '--' || fullendDate == '') { fullendDate = ''; } if(eventTime == '12') { if(parseInt(startSplit[0]) >= 12) { if(parseInt(startSplit[0]) >= 22) { var startTime = (startSplit[0] - 12)+':'+startSplit[1]; } else { var startTime = '0'+(startSplit[0] - 12)+':'+startSplit[1]; } var startPeriod = 'PM' } if(parseInt(startTime) == 0) { var startTime = '12:'+startSplit[1]; } if(parseInt(endSplit[0]) >= 12) { if(parseInt(endSplit[0]) >= 22) { var endTime = (endSplit[0] - 12)+':'+endSplit[1]; } else { var endTime = '0'+(endSplit[0] - 12)+':'+endSplit[1]; } var endPeriod = 'PM' } if(parseInt(endTime) == 0) { var endTime = '12:'+endSplit[1]; } } else { startPeriod = ''; endPeriod = ''; } if (eventURL){ var eventLink = 'href="'+eventURL+'"'; } function multidaylist(){ var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<span class="listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } if (!fullendDate && startMonth == setMonth && startYear == setYear) { $('#'+uniqueId+' *[data-number="'+startDay+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<span class="listed-event listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } else if (startMonth == setMonth && startYear == setYear && endMonth == setMonth && endYear == setYear){ for(var i = parseInt(startDay); i <= parseInt(endDay); i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((endMonth == setMonth && endYear == setYear) && ((startMonth < setMonth && startYear == setYear) || (startYear < setYear))) { for(var i = 0; i <= parseInt(endDay); i++) { if (i==1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((startMonth == setMonth && startYear == setYear) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = parseInt(startDay); i <= dayQty; i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if (((startMonth < setMonth && startYear == setYear) || (startYear < setYear)) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = 0; i <= dayQty; i++) { if (i == 1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } var CalData='2018-3-2TSCEv2018-3-2TSCEvTSCEv元宵节TSCEv#ff0000TSCEv10TSCEvTSCEvTSCEv_blankTSCEvTSCEvTSCEvTSCEvafterTSCEv24'.split('TSCEv'); var fullstartDate = CalData[0], startArr = fullstartDate.split("-"), startYear = startArr[0], startMonth = parseInt(startArr[1], 10), startDay = parseInt(startArr[2], 10), fullendDate = CalData[1], endArr = fullendDate.split("-"), endYear = endArr[0], endMonth = parseInt(endArr[1], 10), endDay = parseInt(endArr[2], 10), eventURL = CalData[2], eventTitle = CalData[3], eventColor = CalData[4], eventId = CalData[5], startTime = CalData[6], startSplit = startTime.split(":"); endTime = CalData[7], endSplit = endTime.split(":"); eventLink = '', startPeriod = 'AM', endPeriod = 'AM', eventDesc = CalData[9], eventImg = CalData[10], eventVid = CalData[11], eventImgP = CalData[12], eventTime = CalData[13]; if(fullendDate == '--' || fullendDate == '') { fullendDate = ''; } if(eventTime == '12') { if(parseInt(startSplit[0]) >= 12) { if(parseInt(startSplit[0]) >= 22) { var startTime = (startSplit[0] - 12)+':'+startSplit[1]; } else { var startTime = '0'+(startSplit[0] - 12)+':'+startSplit[1]; } var startPeriod = 'PM' } if(parseInt(startTime) == 0) { var startTime = '12:'+startSplit[1]; } if(parseInt(endSplit[0]) >= 12) { if(parseInt(endSplit[0]) >= 22) { var endTime = (endSplit[0] - 12)+':'+endSplit[1]; } else { var endTime = '0'+(endSplit[0] - 12)+':'+endSplit[1]; } var endPeriod = 'PM' } if(parseInt(endTime) == 0) { var endTime = '12:'+endSplit[1]; } } else { startPeriod = ''; endPeriod = ''; } if (eventURL){ var eventLink = 'href="'+eventURL+'"'; } function multidaylist(){ var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<span class="listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } if (!fullendDate && startMonth == setMonth && startYear == setYear) { $('#'+uniqueId+' *[data-number="'+startDay+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<span class="listed-event listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } else if (startMonth == setMonth && startYear == setYear && endMonth == setMonth && endYear == setYear){ for(var i = parseInt(startDay); i <= parseInt(endDay); i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((endMonth == setMonth && endYear == setYear) && ((startMonth < setMonth && startYear == setYear) || (startYear < setYear))) { for(var i = 0; i <= parseInt(endDay); i++) { if (i==1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((startMonth == setMonth && startYear == setYear) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = parseInt(startDay); i <= dayQty; i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if (((startMonth < setMonth && startYear == setYear) || (startYear < setYear)) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = 0; i <= dayQty; i++) { if (i == 1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } var CalData='2018-1-1TSCEv2018-1-1TSCEvTSCEv元旦TSCEv#ff0000TSCEv11TSCEvTSCEvTSCEv_blankTSCEvTSCEvTSCEvTSCEvafterTSCEv24'.split('TSCEv'); var fullstartDate = CalData[0], startArr = fullstartDate.split("-"), startYear = startArr[0], startMonth = parseInt(startArr[1], 10), startDay = parseInt(startArr[2], 10), fullendDate = CalData[1], endArr = fullendDate.split("-"), endYear = endArr[0], endMonth = parseInt(endArr[1], 10), endDay = parseInt(endArr[2], 10), eventURL = CalData[2], eventTitle = CalData[3], eventColor = CalData[4], eventId = CalData[5], startTime = CalData[6], startSplit = startTime.split(":"); endTime = CalData[7], endSplit = endTime.split(":"); eventLink = '', startPeriod = 'AM', endPeriod = 'AM', eventDesc = CalData[9], eventImg = CalData[10], eventVid = CalData[11], eventImgP = CalData[12], eventTime = CalData[13]; if(fullendDate == '--' || fullendDate == '') { fullendDate = ''; } if(eventTime == '12') { if(parseInt(startSplit[0]) >= 12) { if(parseInt(startSplit[0]) >= 22) { var startTime = (startSplit[0] - 12)+':'+startSplit[1]; } else { var startTime = '0'+(startSplit[0] - 12)+':'+startSplit[1]; } var startPeriod = 'PM' } if(parseInt(startTime) == 0) { var startTime = '12:'+startSplit[1]; } if(parseInt(endSplit[0]) >= 12) { if(parseInt(endSplit[0]) >= 22) { var endTime = (endSplit[0] - 12)+':'+endSplit[1]; } else { var endTime = '0'+(endSplit[0] - 12)+':'+endSplit[1]; } var endPeriod = 'PM' } if(parseInt(endTime) == 0) { var endTime = '12:'+endSplit[1]; } } else { startPeriod = ''; endPeriod = ''; } if (eventURL){ var eventLink = 'href="'+eventURL+'"'; } function multidaylist(){ var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<span class="listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } if (!fullendDate && startMonth == setMonth && startYear == setYear) { $('#'+uniqueId+' *[data-number="'+startDay+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<span class="listed-event listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } else if (startMonth == setMonth && startYear == setYear && endMonth == setMonth && endYear == setYear){ for(var i = parseInt(startDay); i <= parseInt(endDay); i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((endMonth == setMonth && endYear == setYear) && ((startMonth < setMonth && startYear == setYear) || (startYear < setYear))) { for(var i = 0; i <= parseInt(endDay); i++) { if (i==1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((startMonth == setMonth && startYear == setYear) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = parseInt(startDay); i <= dayQty; i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if (((startMonth < setMonth && startYear == setYear) || (startYear < setYear)) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = 0; i <= dayQty; i++) { if (i == 1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } var CalData='2018-1-23TSCEv2018-1-23TSCEvTSCEv晋汉连省妇女组执委第6次会议TSCEv#ff0000TSCEv12TSCEvTSCEvTSCEv_blankTSCEvTSCEvTSCEvTSCEvafterTSCEv24'.split('TSCEv'); var fullstartDate = CalData[0], startArr = fullstartDate.split("-"), startYear = startArr[0], startMonth = parseInt(startArr[1], 10), startDay = parseInt(startArr[2], 10), fullendDate = CalData[1], endArr = fullendDate.split("-"), endYear = endArr[0], endMonth = parseInt(endArr[1], 10), endDay = parseInt(endArr[2], 10), eventURL = CalData[2], eventTitle = CalData[3], eventColor = CalData[4], eventId = CalData[5], startTime = CalData[6], startSplit = startTime.split(":"); endTime = CalData[7], endSplit = endTime.split(":"); eventLink = '', startPeriod = 'AM', endPeriod = 'AM', eventDesc = CalData[9], eventImg = CalData[10], eventVid = CalData[11], eventImgP = CalData[12], eventTime = CalData[13]; if(fullendDate == '--' || fullendDate == '') { fullendDate = ''; } if(eventTime == '12') { if(parseInt(startSplit[0]) >= 12) { if(parseInt(startSplit[0]) >= 22) { var startTime = (startSplit[0] - 12)+':'+startSplit[1]; } else { var startTime = '0'+(startSplit[0] - 12)+':'+startSplit[1]; } var startPeriod = 'PM' } if(parseInt(startTime) == 0) { var startTime = '12:'+startSplit[1]; } if(parseInt(endSplit[0]) >= 12) { if(parseInt(endSplit[0]) >= 22) { var endTime = (endSplit[0] - 12)+':'+endSplit[1]; } else { var endTime = '0'+(endSplit[0] - 12)+':'+endSplit[1]; } var endPeriod = 'PM' } if(parseInt(endTime) == 0) { var endTime = '12:'+endSplit[1]; } } else { startPeriod = ''; endPeriod = ''; } if (eventURL){ var eventLink = 'href="'+eventURL+'"'; } function multidaylist(){ var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<span class="listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } if (!fullendDate && startMonth == setMonth && startYear == setYear) { $('#'+uniqueId+' *[data-number="'+startDay+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<span class="listed-event listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } else if (startMonth == setMonth && startYear == setYear && endMonth == setMonth && endYear == setYear){ for(var i = parseInt(startDay); i <= parseInt(endDay); i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((endMonth == setMonth && endYear == setYear) && ((startMonth < setMonth && startYear == setYear) || (startYear < setYear))) { for(var i = 0; i <= parseInt(endDay); i++) { if (i==1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((startMonth == setMonth && startYear == setYear) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = parseInt(startDay); i <= dayQty; i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if (((startMonth < setMonth && startYear == setYear) || (startYear < setYear)) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = 0; i <= dayQty; i++) { if (i == 1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } var CalData='2018-1-14TSCEv2018-1-14TSCEvhttp://huazong2016.com/2018/01/14//TSCEv晋汉连省华青团捐血活動TSCEv#ff0000TSCEv13TSCEvTSCEvTSCEv_blankTSCEvTSCEvTSCEvTSCEvafterTSCEv24'.split('TSCEv'); var fullstartDate = CalData[0], startArr = fullstartDate.split("-"), startYear = startArr[0], startMonth = parseInt(startArr[1], 10), startDay = parseInt(startArr[2], 10), fullendDate = CalData[1], endArr = fullendDate.split("-"), endYear = endArr[0], endMonth = parseInt(endArr[1], 10), endDay = parseInt(endArr[2], 10), eventURL = CalData[2], eventTitle = CalData[3], eventColor = CalData[4], eventId = CalData[5], startTime = CalData[6], startSplit = startTime.split(":"); endTime = CalData[7], endSplit = endTime.split(":"); eventLink = '', startPeriod = 'AM', endPeriod = 'AM', eventDesc = CalData[9], eventImg = CalData[10], eventVid = CalData[11], eventImgP = CalData[12], eventTime = CalData[13]; if(fullendDate == '--' || fullendDate == '') { fullendDate = ''; } if(eventTime == '12') { if(parseInt(startSplit[0]) >= 12) { if(parseInt(startSplit[0]) >= 22) { var startTime = (startSplit[0] - 12)+':'+startSplit[1]; } else { var startTime = '0'+(startSplit[0] - 12)+':'+startSplit[1]; } var startPeriod = 'PM' } if(parseInt(startTime) == 0) { var startTime = '12:'+startSplit[1]; } if(parseInt(endSplit[0]) >= 12) { if(parseInt(endSplit[0]) >= 22) { var endTime = (endSplit[0] - 12)+':'+endSplit[1]; } else { var endTime = '0'+(endSplit[0] - 12)+':'+endSplit[1]; } var endPeriod = 'PM' } if(parseInt(endTime) == 0) { var endTime = '12:'+endSplit[1]; } } else { startPeriod = ''; endPeriod = ''; } if (eventURL){ var eventLink = 'href="'+eventURL+'"'; } function multidaylist(){ var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<span class="listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } if (!fullendDate && startMonth == setMonth && startYear == setYear) { $('#'+uniqueId+' *[data-number="'+startDay+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<span class="listed-event listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } else if (startMonth == setMonth && startYear == setYear && endMonth == setMonth && endYear == setYear){ for(var i = parseInt(startDay); i <= parseInt(endDay); i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((endMonth == setMonth && endYear == setYear) && ((startMonth < setMonth && startYear == setYear) || (startYear < setYear))) { for(var i = 0; i <= parseInt(endDay); i++) { if (i==1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((startMonth == setMonth && startYear == setYear) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = parseInt(startDay); i <= dayQty; i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if (((startMonth < setMonth && startYear == setYear) || (startYear < setYear)) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = 0; i <= dayQty; i++) { if (i == 1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } var CalData='2018-1-25TSCEv2018-1-25TSCEvTSCEv晋汉连省华青团执委第7次会议TSCEv#ff0000TSCEv14TSCEvTSCEvTSCEv_blankTSCEvTSCEvTSCEvTSCEvafterTSCEv24'.split('TSCEv'); var fullstartDate = CalData[0], startArr = fullstartDate.split("-"), startYear = startArr[0], startMonth = parseInt(startArr[1], 10), startDay = parseInt(startArr[2], 10), fullendDate = CalData[1], endArr = fullendDate.split("-"), endYear = endArr[0], endMonth = parseInt(endArr[1], 10), endDay = parseInt(endArr[2], 10), eventURL = CalData[2], eventTitle = CalData[3], eventColor = CalData[4], eventId = CalData[5], startTime = CalData[6], startSplit = startTime.split(":"); endTime = CalData[7], endSplit = endTime.split(":"); eventLink = '', startPeriod = 'AM', endPeriod = 'AM', eventDesc = CalData[9], eventImg = CalData[10], eventVid = CalData[11], eventImgP = CalData[12], eventTime = CalData[13]; if(fullendDate == '--' || fullendDate == '') { fullendDate = ''; } if(eventTime == '12') { if(parseInt(startSplit[0]) >= 12) { if(parseInt(startSplit[0]) >= 22) { var startTime = (startSplit[0] - 12)+':'+startSplit[1]; } else { var startTime = '0'+(startSplit[0] - 12)+':'+startSplit[1]; } var startPeriod = 'PM' } if(parseInt(startTime) == 0) { var startTime = '12:'+startSplit[1]; } if(parseInt(endSplit[0]) >= 12) { if(parseInt(endSplit[0]) >= 22) { var endTime = (endSplit[0] - 12)+':'+endSplit[1]; } else { var endTime = '0'+(endSplit[0] - 12)+':'+endSplit[1]; } var endPeriod = 'PM' } if(parseInt(endTime) == 0) { var endTime = '12:'+endSplit[1]; } } else { startPeriod = ''; endPeriod = ''; } if (eventURL){ var eventLink = 'href="'+eventURL+'"'; } function multidaylist(){ var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<span class="listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } if (!fullendDate && startMonth == setMonth && startYear == setYear) { $('#'+uniqueId+' *[data-number="'+startDay+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<span class="listed-event listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } else if (startMonth == setMonth && startYear == setYear && endMonth == setMonth && endYear == setYear){ for(var i = parseInt(startDay); i <= parseInt(endDay); i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((endMonth == setMonth && endYear == setYear) && ((startMonth < setMonth && startYear == setYear) || (startYear < setYear))) { for(var i = 0; i <= parseInt(endDay); i++) { if (i==1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((startMonth == setMonth && startYear == setYear) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = parseInt(startDay); i <= dayQty; i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if (((startMonth < setMonth && startYear == setYear) || (startYear < setYear)) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = 0; i <= dayQty; i++) { if (i == 1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } var CalData='2017-12-22TSCEv2017-12-22TSCEvTSCEv冬至TSCEv#ff0000TSCEv15TSCEvTSCEvTSCEv_blankTSCEvTSCEvTSCEvTSCEvafterTSCEv24'.split('TSCEv'); var fullstartDate = CalData[0], startArr = fullstartDate.split("-"), startYear = startArr[0], startMonth = parseInt(startArr[1], 10), startDay = parseInt(startArr[2], 10), fullendDate = CalData[1], endArr = fullendDate.split("-"), endYear = endArr[0], endMonth = parseInt(endArr[1], 10), endDay = parseInt(endArr[2], 10), eventURL = CalData[2], eventTitle = CalData[3], eventColor = CalData[4], eventId = CalData[5], startTime = CalData[6], startSplit = startTime.split(":"); endTime = CalData[7], endSplit = endTime.split(":"); eventLink = '', startPeriod = 'AM', endPeriod = 'AM', eventDesc = CalData[9], eventImg = CalData[10], eventVid = CalData[11], eventImgP = CalData[12], eventTime = CalData[13]; if(fullendDate == '--' || fullendDate == '') { fullendDate = ''; } if(eventTime == '12') { if(parseInt(startSplit[0]) >= 12) { if(parseInt(startSplit[0]) >= 22) { var startTime = (startSplit[0] - 12)+':'+startSplit[1]; } else { var startTime = '0'+(startSplit[0] - 12)+':'+startSplit[1]; } var startPeriod = 'PM' } if(parseInt(startTime) == 0) { var startTime = '12:'+startSplit[1]; } if(parseInt(endSplit[0]) >= 12) { if(parseInt(endSplit[0]) >= 22) { var endTime = (endSplit[0] - 12)+':'+endSplit[1]; } else { var endTime = '0'+(endSplit[0] - 12)+':'+endSplit[1]; } var endPeriod = 'PM' } if(parseInt(endTime) == 0) { var endTime = '12:'+endSplit[1]; } } else { startPeriod = ''; endPeriod = ''; } if (eventURL){ var eventLink = 'href="'+eventURL+'"'; } function multidaylist(){ var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<span class="listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } if (!fullendDate && startMonth == setMonth && startYear == setYear) { $('#'+uniqueId+' *[data-number="'+startDay+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<span class="listed-event listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } else if (startMonth == setMonth && startYear == setYear && endMonth == setMonth && endYear == setYear){ for(var i = parseInt(startDay); i <= parseInt(endDay); i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((endMonth == setMonth && endYear == setYear) && ((startMonth < setMonth && startYear == setYear) || (startYear < setYear))) { for(var i = 0; i <= parseInt(endDay); i++) { if (i==1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((startMonth == setMonth && startYear == setYear) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = parseInt(startDay); i <= dayQty; i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if (((startMonth < setMonth && startYear == setYear) || (startYear < setYear)) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = 0; i <= dayQty; i++) { if (i == 1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } var CalData='2017-12-3TSCEv2017-12-3TSCEvhttp://huazong2016.com/2017/12/03//TSCEv拜访西连省华团TSCEv#ff0000TSCEv16TSCEvTSCEvTSCEv_blankTSCEvTSCEvTSCEvTSCEvafterTSCEv24'.split('TSCEv'); var fullstartDate = CalData[0], startArr = fullstartDate.split("-"), startYear = startArr[0], startMonth = parseInt(startArr[1], 10), startDay = parseInt(startArr[2], 10), fullendDate = CalData[1], endArr = fullendDate.split("-"), endYear = endArr[0], endMonth = parseInt(endArr[1], 10), endDay = parseInt(endArr[2], 10), eventURL = CalData[2], eventTitle = CalData[3], eventColor = CalData[4], eventId = CalData[5], startTime = CalData[6], startSplit = startTime.split(":"); endTime = CalData[7], endSplit = endTime.split(":"); eventLink = '', startPeriod = 'AM', endPeriod = 'AM', eventDesc = CalData[9], eventImg = CalData[10], eventVid = CalData[11], eventImgP = CalData[12], eventTime = CalData[13]; if(fullendDate == '--' || fullendDate == '') { fullendDate = ''; } if(eventTime == '12') { if(parseInt(startSplit[0]) >= 12) { if(parseInt(startSplit[0]) >= 22) { var startTime = (startSplit[0] - 12)+':'+startSplit[1]; } else { var startTime = '0'+(startSplit[0] - 12)+':'+startSplit[1]; } var startPeriod = 'PM' } if(parseInt(startTime) == 0) { var startTime = '12:'+startSplit[1]; } if(parseInt(endSplit[0]) >= 12) { if(parseInt(endSplit[0]) >= 22) { var endTime = (endSplit[0] - 12)+':'+endSplit[1]; } else { var endTime = '0'+(endSplit[0] - 12)+':'+endSplit[1]; } var endPeriod = 'PM' } if(parseInt(endTime) == 0) { var endTime = '12:'+endSplit[1]; } } else { startPeriod = ''; endPeriod = ''; } if (eventURL){ var eventLink = 'href="'+eventURL+'"'; } function multidaylist(){ var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<span class="listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } if (!fullendDate && startMonth == setMonth && startYear == setYear) { $('#'+uniqueId+' *[data-number="'+startDay+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<span class="listed-event listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } else if (startMonth == setMonth && startYear == setYear && endMonth == setMonth && endYear == setYear){ for(var i = parseInt(startDay); i <= parseInt(endDay); i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((endMonth == setMonth && endYear == setYear) && ((startMonth < setMonth && startYear == setYear) || (startYear < setYear))) { for(var i = 0; i <= parseInt(endDay); i++) { if (i==1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((startMonth == setMonth && startYear == setYear) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = parseInt(startDay); i <= dayQty; i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if (((startMonth < setMonth && startYear == setYear) || (startYear < setYear)) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = 0; i <= dayQty; i++) { if (i == 1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } var CalData='2017-12-8TSCEv2017-12-8TSCEvhttp://huazong2016.com/2017/12/08//TSCEv讲座会 : 《创造精彩的人生,遇见下一个不一样的自己》TSCEv#ff0000TSCEv17TSCEvTSCEvTSCEv_blankTSCEvTSCEvTSCEvTSCEvafterTSCEv24'.split('TSCEv'); var fullstartDate = CalData[0], startArr = fullstartDate.split("-"), startYear = startArr[0], startMonth = parseInt(startArr[1], 10), startDay = parseInt(startArr[2], 10), fullendDate = CalData[1], endArr = fullendDate.split("-"), endYear = endArr[0], endMonth = parseInt(endArr[1], 10), endDay = parseInt(endArr[2], 10), eventURL = CalData[2], eventTitle = CalData[3], eventColor = CalData[4], eventId = CalData[5], startTime = CalData[6], startSplit = startTime.split(":"); endTime = CalData[7], endSplit = endTime.split(":"); eventLink = '', startPeriod = 'AM', endPeriod = 'AM', eventDesc = CalData[9], eventImg = CalData[10], eventVid = CalData[11], eventImgP = CalData[12], eventTime = CalData[13]; if(fullendDate == '--' || fullendDate == '') { fullendDate = ''; } if(eventTime == '12') { if(parseInt(startSplit[0]) >= 12) { if(parseInt(startSplit[0]) >= 22) { var startTime = (startSplit[0] - 12)+':'+startSplit[1]; } else { var startTime = '0'+(startSplit[0] - 12)+':'+startSplit[1]; } var startPeriod = 'PM' } if(parseInt(startTime) == 0) { var startTime = '12:'+startSplit[1]; } if(parseInt(endSplit[0]) >= 12) { if(parseInt(endSplit[0]) >= 22) { var endTime = (endSplit[0] - 12)+':'+endSplit[1]; } else { var endTime = '0'+(endSplit[0] - 12)+':'+endSplit[1]; } var endPeriod = 'PM' } if(parseInt(endTime) == 0) { var endTime = '12:'+endSplit[1]; } } else { startPeriod = ''; endPeriod = ''; } if (eventURL){ var eventLink = 'href="'+eventURL+'"'; } function multidaylist(){ var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<span class="listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } if (!fullendDate && startMonth == setMonth && startYear == setYear) { $('#'+uniqueId+' *[data-number="'+startDay+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<span class="listed-event listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } else if (startMonth == setMonth && startYear == setYear && endMonth == setMonth && endYear == setYear){ for(var i = parseInt(startDay); i <= parseInt(endDay); i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((endMonth == setMonth && endYear == setYear) && ((startMonth < setMonth && startYear == setYear) || (startYear < setYear))) { for(var i = 0; i <= parseInt(endDay); i++) { if (i==1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((startMonth == setMonth && startYear == setYear) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = parseInt(startDay); i <= dayQty; i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if (((startMonth < setMonth && startYear == setYear) || (startYear < setYear)) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = 0; i <= dayQty; i++) { if (i == 1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } var CalData='2017-10-13TSCEv2017-10-13TSCEvhttp://huazong2016.com/2017/10/13//TSCEv2017丁酉年中秋晚会TSCEv#ff0000TSCEv18TSCEvTSCEvTSCEv_blankTSCEvTSCEvTSCEvTSCEvafterTSCEv24'.split('TSCEv'); var fullstartDate = CalData[0], startArr = fullstartDate.split("-"), startYear = startArr[0], startMonth = parseInt(startArr[1], 10), startDay = parseInt(startArr[2], 10), fullendDate = CalData[1], endArr = fullendDate.split("-"), endYear = endArr[0], endMonth = parseInt(endArr[1], 10), endDay = parseInt(endArr[2], 10), eventURL = CalData[2], eventTitle = CalData[3], eventColor = CalData[4], eventId = CalData[5], startTime = CalData[6], startSplit = startTime.split(":"); endTime = CalData[7], endSplit = endTime.split(":"); eventLink = '', startPeriod = 'AM', endPeriod = 'AM', eventDesc = CalData[9], eventImg = CalData[10], eventVid = CalData[11], eventImgP = CalData[12], eventTime = CalData[13]; if(fullendDate == '--' || fullendDate == '') { fullendDate = ''; } if(eventTime == '12') { if(parseInt(startSplit[0]) >= 12) { if(parseInt(startSplit[0]) >= 22) { var startTime = (startSplit[0] - 12)+':'+startSplit[1]; } else { var startTime = '0'+(startSplit[0] - 12)+':'+startSplit[1]; } var startPeriod = 'PM' } if(parseInt(startTime) == 0) { var startTime = '12:'+startSplit[1]; } if(parseInt(endSplit[0]) >= 12) { if(parseInt(endSplit[0]) >= 22) { var endTime = (endSplit[0] - 12)+':'+endSplit[1]; } else { var endTime = '0'+(endSplit[0] - 12)+':'+endSplit[1]; } var endPeriod = 'PM' } if(parseInt(endTime) == 0) { var endTime = '12:'+endSplit[1]; } } else { startPeriod = ''; endPeriod = ''; } if (eventURL){ var eventLink = 'href="'+eventURL+'"'; } function multidaylist(){ var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<span class="listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } if (!fullendDate && startMonth == setMonth && startYear == setYear) { $('#'+uniqueId+' *[data-number="'+startDay+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<span class="listed-event listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } else if (startMonth == setMonth && startYear == setYear && endMonth == setMonth && endYear == setYear){ for(var i = parseInt(startDay); i <= parseInt(endDay); i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((endMonth == setMonth && endYear == setYear) && ((startMonth < setMonth && startYear == setYear) || (startYear < setYear))) { for(var i = 0; i <= parseInt(endDay); i++) { if (i==1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((startMonth == setMonth && startYear == setYear) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = parseInt(startDay); i <= dayQty; i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if (((startMonth < setMonth && startYear == setYear) || (startYear < setYear)) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = 0; i <= dayQty; i++) { if (i == 1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } var CalData='2017-10-4TSCEv2017-10-4TSCEvTSCEv中秋节TSCEv#ff0000TSCEv19TSCEvTSCEvTSCEv_blankTSCEvTSCEvTSCEvTSCEvafterTSCEv24'.split('TSCEv'); var fullstartDate = CalData[0], startArr = fullstartDate.split("-"), startYear = startArr[0], startMonth = parseInt(startArr[1], 10), startDay = parseInt(startArr[2], 10), fullendDate = CalData[1], endArr = fullendDate.split("-"), endYear = endArr[0], endMonth = parseInt(endArr[1], 10), endDay = parseInt(endArr[2], 10), eventURL = CalData[2], eventTitle = CalData[3], eventColor = CalData[4], eventId = CalData[5], startTime = CalData[6], startSplit = startTime.split(":"); endTime = CalData[7], endSplit = endTime.split(":"); eventLink = '', startPeriod = 'AM', endPeriod = 'AM', eventDesc = CalData[9], eventImg = CalData[10], eventVid = CalData[11], eventImgP = CalData[12], eventTime = CalData[13]; if(fullendDate == '--' || fullendDate == '') { fullendDate = ''; } if(eventTime == '12') { if(parseInt(startSplit[0]) >= 12) { if(parseInt(startSplit[0]) >= 22) { var startTime = (startSplit[0] - 12)+':'+startSplit[1]; } else { var startTime = '0'+(startSplit[0] - 12)+':'+startSplit[1]; } var startPeriod = 'PM' } if(parseInt(startTime) == 0) { var startTime = '12:'+startSplit[1]; } if(parseInt(endSplit[0]) >= 12) { if(parseInt(endSplit[0]) >= 22) { var endTime = (endSplit[0] - 12)+':'+endSplit[1]; } else { var endTime = '0'+(endSplit[0] - 12)+':'+endSplit[1]; } var endPeriod = 'PM' } if(parseInt(endTime) == 0) { var endTime = '12:'+endSplit[1]; } } else { startPeriod = ''; endPeriod = ''; } if (eventURL){ var eventLink = 'href="'+eventURL+'"'; } function multidaylist(){ var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<span class="listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } if (!fullendDate && startMonth == setMonth && startYear == setYear) { $('#'+uniqueId+' *[data-number="'+startDay+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<span class="listed-event listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } else if (startMonth == setMonth && startYear == setYear && endMonth == setMonth && endYear == setYear){ for(var i = parseInt(startDay); i <= parseInt(endDay); i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((endMonth == setMonth && endYear == setYear) && ((startMonth < setMonth && startYear == setYear) || (startYear < setYear))) { for(var i = 0; i <= parseInt(endDay); i++) { if (i==1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((startMonth == setMonth && startYear == setYear) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = parseInt(startDay); i <= dayQty; i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if (((startMonth < setMonth && startYear == setYear) || (startYear < setYear)) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = 0; i <= dayQty; i++) { if (i == 1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } var CalData='2017-8-21TSCEv2017-8-21TSCEvhttp://huazong2016.com/2017/08/21//TSCEv舞台剧 《赤子丰碑》TSCEv#ff0000TSCEv20TSCEvTSCEvTSCEv_blankTSCEvTSCEvTSCEvTSCEvafterTSCEv24'.split('TSCEv'); var fullstartDate = CalData[0], startArr = fullstartDate.split("-"), startYear = startArr[0], startMonth = parseInt(startArr[1], 10), startDay = parseInt(startArr[2], 10), fullendDate = CalData[1], endArr = fullendDate.split("-"), endYear = endArr[0], endMonth = parseInt(endArr[1], 10), endDay = parseInt(endArr[2], 10), eventURL = CalData[2], eventTitle = CalData[3], eventColor = CalData[4], eventId = CalData[5], startTime = CalData[6], startSplit = startTime.split(":"); endTime = CalData[7], endSplit = endTime.split(":"); eventLink = '', startPeriod = 'AM', endPeriod = 'AM', eventDesc = CalData[9], eventImg = CalData[10], eventVid = CalData[11], eventImgP = CalData[12], eventTime = CalData[13]; if(fullendDate == '--' || fullendDate == '') { fullendDate = ''; } if(eventTime == '12') { if(parseInt(startSplit[0]) >= 12) { if(parseInt(startSplit[0]) >= 22) { var startTime = (startSplit[0] - 12)+':'+startSplit[1]; } else { var startTime = '0'+(startSplit[0] - 12)+':'+startSplit[1]; } var startPeriod = 'PM' } if(parseInt(startTime) == 0) { var startTime = '12:'+startSplit[1]; } if(parseInt(endSplit[0]) >= 12) { if(parseInt(endSplit[0]) >= 22) { var endTime = (endSplit[0] - 12)+':'+endSplit[1]; } else { var endTime = '0'+(endSplit[0] - 12)+':'+endSplit[1]; } var endPeriod = 'PM' } if(parseInt(endTime) == 0) { var endTime = '12:'+endSplit[1]; } } else { startPeriod = ''; endPeriod = ''; } if (eventURL){ var eventLink = 'href="'+eventURL+'"'; } function multidaylist(){ var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<span class="listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } if (!fullendDate && startMonth == setMonth && startYear == setYear) { $('#'+uniqueId+' *[data-number="'+startDay+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<span class="listed-event listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } else if (startMonth == setMonth && startYear == setYear && endMonth == setMonth && endYear == setYear){ for(var i = parseInt(startDay); i <= parseInt(endDay); i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((endMonth == setMonth && endYear == setYear) && ((startMonth < setMonth && startYear == setYear) || (startYear < setYear))) { for(var i = 0; i <= parseInt(endDay); i++) { if (i==1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((startMonth == setMonth && startYear == setYear) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = parseInt(startDay); i <= dayQty; i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if (((startMonth < setMonth && startYear == setYear) || (startYear < setYear)) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = 0; i <= dayQty; i++) { if (i == 1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } var CalData='2017-7-16TSCEv2017-7-16TSCEvhttp://huazong2016.com/2017/07/16//TSCEv拜访新巫瑶华团之旅TSCEv#ff0000TSCEv21TSCEvTSCEvTSCEv_blankTSCEvTSCEvTSCEvTSCEvafterTSCEv24'.split('TSCEv'); var fullstartDate = CalData[0], startArr = fullstartDate.split("-"), startYear = startArr[0], startMonth = parseInt(startArr[1], 10), startDay = parseInt(startArr[2], 10), fullendDate = CalData[1], endArr = fullendDate.split("-"), endYear = endArr[0], endMonth = parseInt(endArr[1], 10), endDay = parseInt(endArr[2], 10), eventURL = CalData[2], eventTitle = CalData[3], eventColor = CalData[4], eventId = CalData[5], startTime = CalData[6], startSplit = startTime.split(":"); endTime = CalData[7], endSplit = endTime.split(":"); eventLink = '', startPeriod = 'AM', endPeriod = 'AM', eventDesc = CalData[9], eventImg = CalData[10], eventVid = CalData[11], eventImgP = CalData[12], eventTime = CalData[13]; if(fullendDate == '--' || fullendDate == '') { fullendDate = ''; } if(eventTime == '12') { if(parseInt(startSplit[0]) >= 12) { if(parseInt(startSplit[0]) >= 22) { var startTime = (startSplit[0] - 12)+':'+startSplit[1]; } else { var startTime = '0'+(startSplit[0] - 12)+':'+startSplit[1]; } var startPeriod = 'PM' } if(parseInt(startTime) == 0) { var startTime = '12:'+startSplit[1]; } if(parseInt(endSplit[0]) >= 12) { if(parseInt(endSplit[0]) >= 22) { var endTime = (endSplit[0] - 12)+':'+endSplit[1]; } else { var endTime = '0'+(endSplit[0] - 12)+':'+endSplit[1]; } var endPeriod = 'PM' } if(parseInt(endTime) == 0) { var endTime = '12:'+endSplit[1]; } } else { startPeriod = ''; endPeriod = ''; } if (eventURL){ var eventLink = 'href="'+eventURL+'"'; } function multidaylist(){ var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<span class="listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } if (!fullendDate && startMonth == setMonth && startYear == setYear) { $('#'+uniqueId+' *[data-number="'+startDay+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<span class="listed-event listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } else if (startMonth == setMonth && startYear == setYear && endMonth == setMonth && endYear == setYear){ for(var i = parseInt(startDay); i <= parseInt(endDay); i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((endMonth == setMonth && endYear == setYear) && ((startMonth < setMonth && startYear == setYear) || (startYear < setYear))) { for(var i = 0; i <= parseInt(endDay); i++) { if (i==1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((startMonth == setMonth && startYear == setYear) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = parseInt(startDay); i <= dayQty; i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if (((startMonth < setMonth && startYear == setYear) || (startYear < setYear)) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = 0; i <= dayQty; i++) { if (i == 1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } var CalData='2017-6-24TSCEv2017-6-24TSCEvhttp://huazong2016.com/2017/06/24//TSCEv2017族魂晚會《華耀古今》TSCEv#ff0000TSCEv22TSCEvTSCEvTSCEv_blankTSCEvTSCEvTSCEvTSCEvafterTSCEv24'.split('TSCEv'); var fullstartDate = CalData[0], startArr = fullstartDate.split("-"), startYear = startArr[0], startMonth = parseInt(startArr[1], 10), startDay = parseInt(startArr[2], 10), fullendDate = CalData[1], endArr = fullendDate.split("-"), endYear = endArr[0], endMonth = parseInt(endArr[1], 10), endDay = parseInt(endArr[2], 10), eventURL = CalData[2], eventTitle = CalData[3], eventColor = CalData[4], eventId = CalData[5], startTime = CalData[6], startSplit = startTime.split(":"); endTime = CalData[7], endSplit = endTime.split(":"); eventLink = '', startPeriod = 'AM', endPeriod = 'AM', eventDesc = CalData[9], eventImg = CalData[10], eventVid = CalData[11], eventImgP = CalData[12], eventTime = CalData[13]; if(fullendDate == '--' || fullendDate == '') { fullendDate = ''; } if(eventTime == '12') { if(parseInt(startSplit[0]) >= 12) { if(parseInt(startSplit[0]) >= 22) { var startTime = (startSplit[0] - 12)+':'+startSplit[1]; } else { var startTime = '0'+(startSplit[0] - 12)+':'+startSplit[1]; } var startPeriod = 'PM' } if(parseInt(startTime) == 0) { var startTime = '12:'+startSplit[1]; } if(parseInt(endSplit[0]) >= 12) { if(parseInt(endSplit[0]) >= 22) { var endTime = (endSplit[0] - 12)+':'+endSplit[1]; } else { var endTime = '0'+(endSplit[0] - 12)+':'+endSplit[1]; } var endPeriod = 'PM' } if(parseInt(endTime) == 0) { var endTime = '12:'+endSplit[1]; } } else { startPeriod = ''; endPeriod = ''; } if (eventURL){ var eventLink = 'href="'+eventURL+'"'; } function multidaylist(){ var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<span class="listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } if (!fullendDate && startMonth == setMonth && startYear == setYear) { $('#'+uniqueId+' *[data-number="'+startDay+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<span class="listed-event listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } else if (startMonth == setMonth && startYear == setYear && endMonth == setMonth && endYear == setYear){ for(var i = parseInt(startDay); i <= parseInt(endDay); i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((endMonth == setMonth && endYear == setYear) && ((startMonth < setMonth && startYear == setYear) || (startYear < setYear))) { for(var i = 0; i <= parseInt(endDay); i++) { if (i==1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((startMonth == setMonth && startYear == setYear) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = parseInt(startDay); i <= dayQty; i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if (((startMonth < setMonth && startYear == setYear) || (startYear < setYear)) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = 0; i <= dayQty; i++) { if (i == 1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } var CalData='2017-5-30TSCEv2017-5-30TSCEvTSCEv端午节TSCEv#ff0000TSCEv23TSCEvTSCEvTSCEv_blankTSCEvTSCEvTSCEvTSCEvafterTSCEv24'.split('TSCEv'); var fullstartDate = CalData[0], startArr = fullstartDate.split("-"), startYear = startArr[0], startMonth = parseInt(startArr[1], 10), startDay = parseInt(startArr[2], 10), fullendDate = CalData[1], endArr = fullendDate.split("-"), endYear = endArr[0], endMonth = parseInt(endArr[1], 10), endDay = parseInt(endArr[2], 10), eventURL = CalData[2], eventTitle = CalData[3], eventColor = CalData[4], eventId = CalData[5], startTime = CalData[6], startSplit = startTime.split(":"); endTime = CalData[7], endSplit = endTime.split(":"); eventLink = '', startPeriod = 'AM', endPeriod = 'AM', eventDesc = CalData[9], eventImg = CalData[10], eventVid = CalData[11], eventImgP = CalData[12], eventTime = CalData[13]; if(fullendDate == '--' || fullendDate == '') { fullendDate = ''; } if(eventTime == '12') { if(parseInt(startSplit[0]) >= 12) { if(parseInt(startSplit[0]) >= 22) { var startTime = (startSplit[0] - 12)+':'+startSplit[1]; } else { var startTime = '0'+(startSplit[0] - 12)+':'+startSplit[1]; } var startPeriod = 'PM' } if(parseInt(startTime) == 0) { var startTime = '12:'+startSplit[1]; } if(parseInt(endSplit[0]) >= 12) { if(parseInt(endSplit[0]) >= 22) { var endTime = (endSplit[0] - 12)+':'+endSplit[1]; } else { var endTime = '0'+(endSplit[0] - 12)+':'+endSplit[1]; } var endPeriod = 'PM' } if(parseInt(endTime) == 0) { var endTime = '12:'+endSplit[1]; } } else { startPeriod = ''; endPeriod = ''; } if (eventURL){ var eventLink = 'href="'+eventURL+'"'; } function multidaylist(){ var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<span class="listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } if (!fullendDate && startMonth == setMonth && startYear == setYear) { $('#'+uniqueId+' *[data-number="'+startDay+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<span class="listed-event listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } else if (startMonth == setMonth && startYear == setYear && endMonth == setMonth && endYear == setYear){ for(var i = parseInt(startDay); i <= parseInt(endDay); i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((endMonth == setMonth && endYear == setYear) && ((startMonth < setMonth && startYear == setYear) || (startYear < setYear))) { for(var i = 0; i <= parseInt(endDay); i++) { if (i==1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((startMonth == setMonth && startYear == setYear) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = parseInt(startDay); i <= dayQty; i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if (((startMonth < setMonth && startYear == setYear) || (startYear < setYear)) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = 0; i <= dayQty; i++) { if (i == 1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } var CalData='2017-8-6TSCEv2017-8-6TSCEvTSCEv拜访石隆门华团之旅TSCEv#ff0000TSCEv24TSCEvTSCEvTSCEv_blankTSCEvTSCEvTSCEvTSCEvafterTSCEv24'.split('TSCEv'); var fullstartDate = CalData[0], startArr = fullstartDate.split("-"), startYear = startArr[0], startMonth = parseInt(startArr[1], 10), startDay = parseInt(startArr[2], 10), fullendDate = CalData[1], endArr = fullendDate.split("-"), endYear = endArr[0], endMonth = parseInt(endArr[1], 10), endDay = parseInt(endArr[2], 10), eventURL = CalData[2], eventTitle = CalData[3], eventColor = CalData[4], eventId = CalData[5], startTime = CalData[6], startSplit = startTime.split(":"); endTime = CalData[7], endSplit = endTime.split(":"); eventLink = '', startPeriod = 'AM', endPeriod = 'AM', eventDesc = CalData[9], eventImg = CalData[10], eventVid = CalData[11], eventImgP = CalData[12], eventTime = CalData[13]; if(fullendDate == '--' || fullendDate == '') { fullendDate = ''; } if(eventTime == '12') { if(parseInt(startSplit[0]) >= 12) { if(parseInt(startSplit[0]) >= 22) { var startTime = (startSplit[0] - 12)+':'+startSplit[1]; } else { var startTime = '0'+(startSplit[0] - 12)+':'+startSplit[1]; } var startPeriod = 'PM' } if(parseInt(startTime) == 0) { var startTime = '12:'+startSplit[1]; } if(parseInt(endSplit[0]) >= 12) { if(parseInt(endSplit[0]) >= 22) { var endTime = (endSplit[0] - 12)+':'+endSplit[1]; } else { var endTime = '0'+(endSplit[0] - 12)+':'+endSplit[1]; } var endPeriod = 'PM' } if(parseInt(endTime) == 0) { var endTime = '12:'+endSplit[1]; } } else { startPeriod = ''; endPeriod = ''; } if (eventURL){ var eventLink = 'href="'+eventURL+'"'; } function multidaylist(){ var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<span class="listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } if (!fullendDate && startMonth == setMonth && startYear == setYear) { $('#'+uniqueId+' *[data-number="'+startDay+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<span class="listed-event listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } else if (startMonth == setMonth && startYear == setYear && endMonth == setMonth && endYear == setYear){ for(var i = parseInt(startDay); i <= parseInt(endDay); i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((endMonth == setMonth && endYear == setYear) && ((startMonth < setMonth && startYear == setYear) || (startYear < setYear))) { for(var i = 0; i <= parseInt(endDay); i++) { if (i==1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((startMonth == setMonth && startYear == setYear) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = parseInt(startDay); i <= dayQty; i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if (((startMonth < setMonth && startYear == setYear) || (startYear < setYear)) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = 0; i <= dayQty; i++) { if (i == 1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } var CalData='2017-2-19TSCEv2017-2-19TSCEvTSCEv2017晋汉连省华总春宴TSCEv#ff0000TSCEv25TSCEvTSCEvTSCEv_blankTSCEvTSCEvTSCEvTSCEvafterTSCEv24'.split('TSCEv'); var fullstartDate = CalData[0], startArr = fullstartDate.split("-"), startYear = startArr[0], startMonth = parseInt(startArr[1], 10), startDay = parseInt(startArr[2], 10), fullendDate = CalData[1], endArr = fullendDate.split("-"), endYear = endArr[0], endMonth = parseInt(endArr[1], 10), endDay = parseInt(endArr[2], 10), eventURL = CalData[2], eventTitle = CalData[3], eventColor = CalData[4], eventId = CalData[5], startTime = CalData[6], startSplit = startTime.split(":"); endTime = CalData[7], endSplit = endTime.split(":"); eventLink = '', startPeriod = 'AM', endPeriod = 'AM', eventDesc = CalData[9], eventImg = CalData[10], eventVid = CalData[11], eventImgP = CalData[12], eventTime = CalData[13]; if(fullendDate == '--' || fullendDate == '') { fullendDate = ''; } if(eventTime == '12') { if(parseInt(startSplit[0]) >= 12) { if(parseInt(startSplit[0]) >= 22) { var startTime = (startSplit[0] - 12)+':'+startSplit[1]; } else { var startTime = '0'+(startSplit[0] - 12)+':'+startSplit[1]; } var startPeriod = 'PM' } if(parseInt(startTime) == 0) { var startTime = '12:'+startSplit[1]; } if(parseInt(endSplit[0]) >= 12) { if(parseInt(endSplit[0]) >= 22) { var endTime = (endSplit[0] - 12)+':'+endSplit[1]; } else { var endTime = '0'+(endSplit[0] - 12)+':'+endSplit[1]; } var endPeriod = 'PM' } if(parseInt(endTime) == 0) { var endTime = '12:'+endSplit[1]; } } else { startPeriod = ''; endPeriod = ''; } if (eventURL){ var eventLink = 'href="'+eventURL+'"'; } function multidaylist(){ var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<span class="listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } if (!fullendDate && startMonth == setMonth && startYear == setYear) { $('#'+uniqueId+' *[data-number="'+startDay+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<span class="listed-event listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } else if (startMonth == setMonth && startYear == setYear && endMonth == setMonth && endYear == setYear){ for(var i = parseInt(startDay); i <= parseInt(endDay); i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((endMonth == setMonth && endYear == setYear) && ((startMonth < setMonth && startYear == setYear) || (startYear < setYear))) { for(var i = 0; i <= parseInt(endDay); i++) { if (i==1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((startMonth == setMonth && startYear == setYear) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = parseInt(startDay); i <= dayQty; i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if (((startMonth < setMonth && startYear == setYear) || (startYear < setYear)) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = 0; i <= dayQty; i++) { if (i == 1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } var CalData='2016-6-26TSCEv2016-6-26TSCEvTSCEv2016年族魂晚會《華耀古今》TSCEv#ff0000TSCEv26TSCEvTSCEvTSCEv_blankTSCEvTSCEvTSCEvTSCEvafterTSCEv24'.split('TSCEv'); var fullstartDate = CalData[0], startArr = fullstartDate.split("-"), startYear = startArr[0], startMonth = parseInt(startArr[1], 10), startDay = parseInt(startArr[2], 10), fullendDate = CalData[1], endArr = fullendDate.split("-"), endYear = endArr[0], endMonth = parseInt(endArr[1], 10), endDay = parseInt(endArr[2], 10), eventURL = CalData[2], eventTitle = CalData[3], eventColor = CalData[4], eventId = CalData[5], startTime = CalData[6], startSplit = startTime.split(":"); endTime = CalData[7], endSplit = endTime.split(":"); eventLink = '', startPeriod = 'AM', endPeriod = 'AM', eventDesc = CalData[9], eventImg = CalData[10], eventVid = CalData[11], eventImgP = CalData[12], eventTime = CalData[13]; if(fullendDate == '--' || fullendDate == '') { fullendDate = ''; } if(eventTime == '12') { if(parseInt(startSplit[0]) >= 12) { if(parseInt(startSplit[0]) >= 22) { var startTime = (startSplit[0] - 12)+':'+startSplit[1]; } else { var startTime = '0'+(startSplit[0] - 12)+':'+startSplit[1]; } var startPeriod = 'PM' } if(parseInt(startTime) == 0) { var startTime = '12:'+startSplit[1]; } if(parseInt(endSplit[0]) >= 12) { if(parseInt(endSplit[0]) >= 22) { var endTime = (endSplit[0] - 12)+':'+endSplit[1]; } else { var endTime = '0'+(endSplit[0] - 12)+':'+endSplit[1]; } var endPeriod = 'PM' } if(parseInt(endTime) == 0) { var endTime = '12:'+endSplit[1]; } } else { startPeriod = ''; endPeriod = ''; } if (eventURL){ var eventLink = 'href="'+eventURL+'"'; } function multidaylist(){ var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<span class="listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } if (!fullendDate && startMonth == setMonth && startYear == setYear) { $('#'+uniqueId+' *[data-number="'+startDay+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<span class="listed-event listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } else if (startMonth == setMonth && startYear == setYear && endMonth == setMonth && endYear == setYear){ for(var i = parseInt(startDay); i <= parseInt(endDay); i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((endMonth == setMonth && endYear == setYear) && ((startMonth < setMonth && startYear == setYear) || (startYear < setYear))) { for(var i = 0; i <= parseInt(endDay); i++) { if (i==1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((startMonth == setMonth && startYear == setYear) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = parseInt(startDay); i <= dayQty; i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if (((startMonth < setMonth && startYear == setYear) || (startYear < setYear)) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = 0; i <= dayQty; i++) { if (i == 1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } var CalData='2016-4-17TSCEv2016-4-17TSCEvTSCEv晉漢連華青團32周年晚宴TSCEv#ff0000TSCEv27TSCEvTSCEvTSCEv_blankTSCEvTSCEvTSCEvTSCEvafterTSCEv24'.split('TSCEv'); var fullstartDate = CalData[0], startArr = fullstartDate.split("-"), startYear = startArr[0], startMonth = parseInt(startArr[1], 10), startDay = parseInt(startArr[2], 10), fullendDate = CalData[1], endArr = fullendDate.split("-"), endYear = endArr[0], endMonth = parseInt(endArr[1], 10), endDay = parseInt(endArr[2], 10), eventURL = CalData[2], eventTitle = CalData[3], eventColor = CalData[4], eventId = CalData[5], startTime = CalData[6], startSplit = startTime.split(":"); endTime = CalData[7], endSplit = endTime.split(":"); eventLink = '', startPeriod = 'AM', endPeriod = 'AM', eventDesc = CalData[9], eventImg = CalData[10], eventVid = CalData[11], eventImgP = CalData[12], eventTime = CalData[13]; if(fullendDate == '--' || fullendDate == '') { fullendDate = ''; } if(eventTime == '12') { if(parseInt(startSplit[0]) >= 12) { if(parseInt(startSplit[0]) >= 22) { var startTime = (startSplit[0] - 12)+':'+startSplit[1]; } else { var startTime = '0'+(startSplit[0] - 12)+':'+startSplit[1]; } var startPeriod = 'PM' } if(parseInt(startTime) == 0) { var startTime = '12:'+startSplit[1]; } if(parseInt(endSplit[0]) >= 12) { if(parseInt(endSplit[0]) >= 22) { var endTime = (endSplit[0] - 12)+':'+endSplit[1]; } else { var endTime = '0'+(endSplit[0] - 12)+':'+endSplit[1]; } var endPeriod = 'PM' } if(parseInt(endTime) == 0) { var endTime = '12:'+endSplit[1]; } } else { startPeriod = ''; endPeriod = ''; } if (eventURL){ var eventLink = 'href="'+eventURL+'"'; } function multidaylist(){ var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<span class="listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } if (!fullendDate && startMonth == setMonth && startYear == setYear) { $('#'+uniqueId+' *[data-number="'+startDay+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<span class="listed-event listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } else if (startMonth == setMonth && startYear == setYear && endMonth == setMonth && endYear == setYear){ for(var i = parseInt(startDay); i <= parseInt(endDay); i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((endMonth == setMonth && endYear == setYear) && ((startMonth < setMonth && startYear == setYear) || (startYear < setYear))) { for(var i = 0; i <= parseInt(endDay); i++) { if (i==1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((startMonth == setMonth && startYear == setYear) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = parseInt(startDay); i <= dayQty; i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if (((startMonth < setMonth && startYear == setYear) || (startYear < setYear)) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = 0; i <= dayQty; i++) { if (i == 1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } var CalData='2016-2-29TSCEv2016-2-29TSCEvhttp://huazong2016.com/2016/02/29//TSCEv晉漢連省華總37周年晚宴TSCEv#ff0000TSCEv28TSCEvTSCEvTSCEv_blankTSCEvTSCEvTSCEvTSCEvafterTSCEv24'.split('TSCEv'); var fullstartDate = CalData[0], startArr = fullstartDate.split("-"), startYear = startArr[0], startMonth = parseInt(startArr[1], 10), startDay = parseInt(startArr[2], 10), fullendDate = CalData[1], endArr = fullendDate.split("-"), endYear = endArr[0], endMonth = parseInt(endArr[1], 10), endDay = parseInt(endArr[2], 10), eventURL = CalData[2], eventTitle = CalData[3], eventColor = CalData[4], eventId = CalData[5], startTime = CalData[6], startSplit = startTime.split(":"); endTime = CalData[7], endSplit = endTime.split(":"); eventLink = '', startPeriod = 'AM', endPeriod = 'AM', eventDesc = CalData[9], eventImg = CalData[10], eventVid = CalData[11], eventImgP = CalData[12], eventTime = CalData[13]; if(fullendDate == '--' || fullendDate == '') { fullendDate = ''; } if(eventTime == '12') { if(parseInt(startSplit[0]) >= 12) { if(parseInt(startSplit[0]) >= 22) { var startTime = (startSplit[0] - 12)+':'+startSplit[1]; } else { var startTime = '0'+(startSplit[0] - 12)+':'+startSplit[1]; } var startPeriod = 'PM' } if(parseInt(startTime) == 0) { var startTime = '12:'+startSplit[1]; } if(parseInt(endSplit[0]) >= 12) { if(parseInt(endSplit[0]) >= 22) { var endTime = (endSplit[0] - 12)+':'+endSplit[1]; } else { var endTime = '0'+(endSplit[0] - 12)+':'+endSplit[1]; } var endPeriod = 'PM' } if(parseInt(endTime) == 0) { var endTime = '12:'+endSplit[1]; } } else { startPeriod = ''; endPeriod = ''; } if (eventURL){ var eventLink = 'href="'+eventURL+'"'; } function multidaylist(){ var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<span class="listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } if (!fullendDate && startMonth == setMonth && startYear == setYear) { $('#'+uniqueId+' *[data-number="'+startDay+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<span class="listed-event listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } else if (startMonth == setMonth && startYear == setYear && endMonth == setMonth && endYear == setYear){ for(var i = parseInt(startDay); i <= parseInt(endDay); i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((endMonth == setMonth && endYear == setYear) && ((startMonth < setMonth && startYear == setYear) || (startYear < setYear))) { for(var i = 0; i <= parseInt(endDay); i++) { if (i==1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((startMonth == setMonth && startYear == setYear) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = parseInt(startDay); i <= dayQty; i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if (((startMonth < setMonth && startYear == setYear) || (startYear < setYear)) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = 0; i <= dayQty; i++) { if (i == 1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } var CalData='2016-2-28TSCEv2016-2-28TSCEvuazong2016.com/2016/02/28//TSCEv晋汉连省华总新会所启用礼TSCEv#ff0000TSCEv29TSCEvTSCEvTSCEv_blankTSCEvTSCEvTSCEvTSCEvafterTSCEv24'.split('TSCEv'); var fullstartDate = CalData[0], startArr = fullstartDate.split("-"), startYear = startArr[0], startMonth = parseInt(startArr[1], 10), startDay = parseInt(startArr[2], 10), fullendDate = CalData[1], endArr = fullendDate.split("-"), endYear = endArr[0], endMonth = parseInt(endArr[1], 10), endDay = parseInt(endArr[2], 10), eventURL = CalData[2], eventTitle = CalData[3], eventColor = CalData[4], eventId = CalData[5], startTime = CalData[6], startSplit = startTime.split(":"); endTime = CalData[7], endSplit = endTime.split(":"); eventLink = '', startPeriod = 'AM', endPeriod = 'AM', eventDesc = CalData[9], eventImg = CalData[10], eventVid = CalData[11], eventImgP = CalData[12], eventTime = CalData[13]; if(fullendDate == '--' || fullendDate == '') { fullendDate = ''; } if(eventTime == '12') { if(parseInt(startSplit[0]) >= 12) { if(parseInt(startSplit[0]) >= 22) { var startTime = (startSplit[0] - 12)+':'+startSplit[1]; } else { var startTime = '0'+(startSplit[0] - 12)+':'+startSplit[1]; } var startPeriod = 'PM' } if(parseInt(startTime) == 0) { var startTime = '12:'+startSplit[1]; } if(parseInt(endSplit[0]) >= 12) { if(parseInt(endSplit[0]) >= 22) { var endTime = (endSplit[0] - 12)+':'+endSplit[1]; } else { var endTime = '0'+(endSplit[0] - 12)+':'+endSplit[1]; } var endPeriod = 'PM' } if(parseInt(endTime) == 0) { var endTime = '12:'+endSplit[1]; } } else { startPeriod = ''; endPeriod = ''; } if (eventURL){ var eventLink = 'href="'+eventURL+'"'; } function multidaylist(){ var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<span class="listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } if (!fullendDate && startMonth == setMonth && startYear == setYear) { $('#'+uniqueId+' *[data-number="'+startDay+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<span class="listed-event listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } else if (startMonth == setMonth && startYear == setYear && endMonth == setMonth && endYear == setYear){ for(var i = parseInt(startDay); i <= parseInt(endDay); i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((endMonth == setMonth && endYear == setYear) && ((startMonth < setMonth && startYear == setYear) || (startYear < setYear))) { for(var i = 0; i <= parseInt(endDay); i++) { if (i==1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((startMonth == setMonth && startYear == setYear) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = parseInt(startDay); i <= dayQty; i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if (((startMonth < setMonth && startYear == setYear) || (startYear < setYear)) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = 0; i <= dayQty; i++) { if (i == 1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } var CalData='2016-2-16TSCEv2016-2-16TSCEvhttp://huazong2016.com/2016/02/16//TSCEv2016 《文化中國、四海同春》TSCEv#ff0000TSCEv30TSCEvTSCEvTSCEv_blankTSCEvTSCEvTSCEvTSCEvafterTSCEv24'.split('TSCEv'); var fullstartDate = CalData[0], startArr = fullstartDate.split("-"), startYear = startArr[0], startMonth = parseInt(startArr[1], 10), startDay = parseInt(startArr[2], 10), fullendDate = CalData[1], endArr = fullendDate.split("-"), endYear = endArr[0], endMonth = parseInt(endArr[1], 10), endDay = parseInt(endArr[2], 10), eventURL = CalData[2], eventTitle = CalData[3], eventColor = CalData[4], eventId = CalData[5], startTime = CalData[6], startSplit = startTime.split(":"); endTime = CalData[7], endSplit = endTime.split(":"); eventLink = '', startPeriod = 'AM', endPeriod = 'AM', eventDesc = CalData[9], eventImg = CalData[10], eventVid = CalData[11], eventImgP = CalData[12], eventTime = CalData[13]; if(fullendDate == '--' || fullendDate == '') { fullendDate = ''; } if(eventTime == '12') { if(parseInt(startSplit[0]) >= 12) { if(parseInt(startSplit[0]) >= 22) { var startTime = (startSplit[0] - 12)+':'+startSplit[1]; } else { var startTime = '0'+(startSplit[0] - 12)+':'+startSplit[1]; } var startPeriod = 'PM' } if(parseInt(startTime) == 0) { var startTime = '12:'+startSplit[1]; } if(parseInt(endSplit[0]) >= 12) { if(parseInt(endSplit[0]) >= 22) { var endTime = (endSplit[0] - 12)+':'+endSplit[1]; } else { var endTime = '0'+(endSplit[0] - 12)+':'+endSplit[1]; } var endPeriod = 'PM' } if(parseInt(endTime) == 0) { var endTime = '12:'+endSplit[1]; } } else { startPeriod = ''; endPeriod = ''; } if (eventURL){ var eventLink = 'href="'+eventURL+'"'; } function multidaylist(){ var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<span class="listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } if (!fullendDate && startMonth == setMonth && startYear == setYear) { $('#'+uniqueId+' *[data-number="'+startDay+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<span class="listed-event listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } else if (startMonth == setMonth && startYear == setYear && endMonth == setMonth && endYear == setYear){ for(var i = parseInt(startDay); i <= parseInt(endDay); i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((endMonth == setMonth && endYear == setYear) && ((startMonth < setMonth && startYear == setYear) || (startYear < setYear))) { for(var i = 0; i <= parseInt(endDay); i++) { if (i==1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((startMonth == setMonth && startYear == setYear) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = parseInt(startDay); i <= dayQty; i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if (((startMonth < setMonth && startYear == setYear) || (startYear < setYear)) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = 0; i <= dayQty; i++) { if (i == 1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } var CalData='2017-11-16TSCEv2017-11-16TSCEvTSCEv晋汉连省华青团执委第6次会议TSCEv#ff0000TSCEv31TSCEvTSCEvTSCEv_blankTSCEvTSCEvTSCEvTSCEvafterTSCEv24'.split('TSCEv'); var fullstartDate = CalData[0], startArr = fullstartDate.split("-"), startYear = startArr[0], startMonth = parseInt(startArr[1], 10), startDay = parseInt(startArr[2], 10), fullendDate = CalData[1], endArr = fullendDate.split("-"), endYear = endArr[0], endMonth = parseInt(endArr[1], 10), endDay = parseInt(endArr[2], 10), eventURL = CalData[2], eventTitle = CalData[3], eventColor = CalData[4], eventId = CalData[5], startTime = CalData[6], startSplit = startTime.split(":"); endTime = CalData[7], endSplit = endTime.split(":"); eventLink = '', startPeriod = 'AM', endPeriod = 'AM', eventDesc = CalData[9], eventImg = CalData[10], eventVid = CalData[11], eventImgP = CalData[12], eventTime = CalData[13]; if(fullendDate == '--' || fullendDate == '') { fullendDate = ''; } if(eventTime == '12') { if(parseInt(startSplit[0]) >= 12) { if(parseInt(startSplit[0]) >= 22) { var startTime = (startSplit[0] - 12)+':'+startSplit[1]; } else { var startTime = '0'+(startSplit[0] - 12)+':'+startSplit[1]; } var startPeriod = 'PM' } if(parseInt(startTime) == 0) { var startTime = '12:'+startSplit[1]; } if(parseInt(endSplit[0]) >= 12) { if(parseInt(endSplit[0]) >= 22) { var endTime = (endSplit[0] - 12)+':'+endSplit[1]; } else { var endTime = '0'+(endSplit[0] - 12)+':'+endSplit[1]; } var endPeriod = 'PM' } if(parseInt(endTime) == 0) { var endTime = '12:'+endSplit[1]; } } else { startPeriod = ''; endPeriod = ''; } if (eventURL){ var eventLink = 'href="'+eventURL+'"'; } function multidaylist(){ var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<span class="listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+i+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } if (!fullendDate && startMonth == setMonth && startYear == setYear) { $('#'+uniqueId+' *[data-number="'+startDay+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); var timeHtml = ''; if (startTime){ var startTimehtml = '<div><div class="monthly-list-time-start">'+startTime+' '+startPeriod+'</div>'; var endTimehtml = ''; if (endTime){ var endTimehtml = '<div class="monthly-list-time-end">'+endTime+' '+endPeriod+'</div>'; } var timeHtml = startTimehtml + endTimehtml + '</div>'; } $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<a href="'+eventURL+'" target="'+CalData[8]+'" class="listed-event listed-event-title listed-event-title1" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+' '+timeHtml+'</a>'); if(eventImg) { if(eventImgP == 'before') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } if(eventDesc) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<span class="listed-event listed-event-desc" data-eventid="'+ eventId +'" style="background:'+eventColor+'">'+eventDesc+'</span>'); } if(eventImg) { if(eventImgP == 'after') { if(!eventVid) { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><img src="'+eventImg+'" class="TotalSoftcalEvent_1_Media TotalSoftcalEvent_1_Media1"></div>'); } else { $('#'+uniqueId+' .monthly-list-item[data-number="'+startDay+'"]').addClass('item-has-event').append('<div style="position: relative; width: 100%; margin: 10px auto; text-align: center;"><div class="TotalSoftcalEvent_1_Mediadiv TotalSoftcalEvent_1_Mediadiv1"><iframe src="'+eventVid+'" class="TotalSoftcalEvent_1_Mediaiframe" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div></div>'); } } } } else if (startMonth == setMonth && startYear == setYear && endMonth == setMonth && endYear == setYear){ for(var i = parseInt(startDay); i <= parseInt(endDay); i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((endMonth == setMonth && endYear == setYear) && ((startMonth < setMonth && startYear == setYear) || (startYear < setYear))) { for(var i = 0; i <= parseInt(endDay); i++) { if (i==1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if ((startMonth == setMonth && startYear == setYear) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = parseInt(startDay); i <= dayQty; i++) { if (i == parseInt(startDay)) { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } else if (((startMonth < setMonth && startYear == setYear) || (startYear < setYear)) && ((endMonth > setMonth && endYear == setYear) || (endYear > setYear))){ for(var i = 0; i <= dayQty; i++) { if (i == 1){ $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'">'+eventTitle+'</div>'); } else { $('#'+uniqueId+' *[data-number="'+i+'"] .monthly-indicator-wrap').append('<div class="monthly-event-indicator" data-eventid="'+ eventId +'" style="background:'+eventColor+'" title="'+eventTitle+'"></div>'); } multidaylist(); } } }).fail(function() { console.error('Error Data...'); }); } var divs = $("#"+uniqueId+" .m-d"); for(var i = 0; i < divs.length; i+=7) { divs.slice(i, i+7).wrapAll("<div class='monthly-week'></div>"); } } setMonthly(currentMonth, currentYear); function viewToggleButton(){ if($('#'+uniqueId+' .monthly-event-list').is(":visible")) { $('#'+uniqueId+' .monthly-cal').remove(); $('#'+uniqueId+' .monthly-header-title').prepend('<a href="#" class="monthly-cal" title="Back To Month View"><div></div></a>'); } } $(document.body).on('click', '#'+uniqueId+' .monthly-next', function (e) { var setMonth = $('#' + uniqueId).data('setMonth'), setYear = $('#' + uniqueId).data('setYear'); if (setMonth == 12) { var newMonth = 1, newYear = setYear + 1; setMonthly(newMonth, newYear); } else { var newMonth = setMonth + 1, newYear = setYear; setMonthly(newMonth, newYear); } viewToggleButton(); e.preventDefault(); }); $(document.body).on('click', '#'+uniqueId+' .monthly-prev', function (e) { var setMonth = $('#' + uniqueId).data('setMonth'), setYear = $('#' + uniqueId).data('setYear'); if (setMonth == 1) { var newMonth = 12, newYear = setYear - 1; setMonthly(newMonth, newYear); } else { var newMonth = setMonth - 1, newYear = setYear; setMonthly(newMonth, newYear); } viewToggleButton(); e.preventDefault(); }); $(document.body).on('click', '#'+uniqueId+' .monthly-reset', function (e) { setMonthly(currentMonth, currentYear); viewToggleButton(); e.preventDefault(); e.stopPropagation(); }); $(document.body).on('click', '#'+uniqueId+' .monthly-cal', function (e) { $(this).remove(); $('#' + uniqueId+' .monthly-event-list').css('transform','scale(0)').delay('800').hide(); e.preventDefault(); }); $(document.body).on('click', '#'+uniqueId+' a.monthly-day', function (e) { if(options.mode == 'event' && options.eventList == true) { var whichDay = $(this).data('number'); if($('#' + uniqueId+' .monthly-list-item[data-number="'+whichDay+'"]').hasClass('item-has-event')) { $('#' + uniqueId+' .monthly-event-list').show(); $('#' + uniqueId+' .monthly-event-list').css('transform'); $('#' + uniqueId+' .monthly-event-list').css('transform','scale(1)'); $('#' + uniqueId+' .monthly-list-item[data-number="'+whichDay+'"]').show(); var myElement = document.getElementById(uniqueId+'day'+whichDay); var topPos = myElement.offsetTop; //document.getElementByClassname('scrolling_div').scrollTop = topPos; $('#'+uniqueId+' .monthly-event-list').scrollTop(topPos); viewToggleButton(); } } e.preventDefault(); }); $(document.body).on('click', '#'+uniqueId+' .listed-event', function (e) { var href = $(this).attr('href'); if(!href) { e.preventDefault(); } }); } }); })(jQuery); jQuery(window).load( function() { jQuery('#totalsoftcal_1').monthly1({ mode: 'event', weekStart: 'Sun', }); }); </script> </div></li> <div id="world_clock_widget" class="blue"> <a href="http://worldclockplugin.com"> <div class="display"> <div class="digits"> </div> <span class="ampm"></span> </div> </a> </div> <script type="text/javascript"> var wc_format = "HHmmssd"; </script><li id="weather_atlas-2" class="widget-container widget_weather_atlas"><h3 class="widget-title"><span>实时气象及预报</span></h3><div class='weather-atlas-wrapper' style='background:#1b46aa;border:1px solid #0a3599;color:#ffffff;'><div class='weather-atlas-header' style='border-bottom:1px solid #0a3599'><div class='weather-atlas-header-title-wrapper'><div class='weather-atlas-header-title'>Kuching</div><div class='city_selector_toggle_div autocomplete' style='display:none;'><script>/*<![CDATA[*/var weather_atlas_language = 'en';/*]]>*/</script><input class='city_name' id='city_name' name='city_name' type='text' value='' placeholder='type and select location from drop-down'></div></div><div class='city_selector_toggle'><a href='#' class='city_selector_toggle_link' style='color:#ffffff'>☰</a></div></div><div class='weather-atlas-body'><div class='current_temp'><i class='wi wi-fw wi-weather-28'></i><span class='temp'>27°</span><div class='current_text'>Mostly Cloudy</div><div class='sunrise_sunset'>06:29<i class='wi wi-fw wi-weather-32'></i>18:41 +08</div></div><span class='current_text_2'>Feels like: 32<small>°C</small><br />Wind: 0<small>km/h</small> SE<br />Humidity: 90<small>%</small><br />Pressure: 1011.1<small>mbar</small><br />UV index: 1</span><div class='hourly hours' style='border-bottom:1px solid #0a3599'><span class='extended_hour extended_hour_1'>9<small>h</small></span><span class='extended_hour extended_hour_2'>10<small>h</small></span><span class='extended_hour extended_hour_3'>11<small>h</small></span><span class='extended_hour extended_hour_4'>12<small>h</small></span><span class='extended_hour extended_hour_5'>13<small>h</small></span></div><div class='hourly'><span class='extended_hour extended_hour_1' title='Mostly Cloudy'>27<small>°C</small><br /><i class='wi wi-fw wi-weather-28'></i></span><span class='extended_hour extended_hour_2' title='Mostly Cloudy'>28<small>°C</small><br /><i class='wi wi-fw wi-weather-28'></i></span><span class='extended_hour extended_hour_3' title='Mostly Cloudy'>30<small>°C</small><br /><i class='wi wi-fw wi-weather-28'></i></span><span class='extended_hour extended_hour_4' title='Mostly Cloudy'>31<small>°C</small><br /><i class='wi wi-fw wi-weather-28'></i></span><span class='extended_hour extended_hour_5' title='Partly Cloudy'>31<small>°C</small><br /><i class='wi wi-fw wi-weather-30'></i></span></div><div class='daily days' style='border-bottom:1px solid #0a3599'><span class='extended_day extended_day_1'>Mon</span><span class='extended_day extended_day_2'>Tue</span><span class='extended_day extended_day_3'>Wed</span></div><div class='daily'><span class='extended_day extended_day_1' title='PM Thunderstorms'>33/26<small>°C</small><br /><i class='wi wi-fw wi-weather-38'></i></span><span class='extended_day extended_day_2' title='Scattered Thunderstorms'>32/26<small>°C</small><br /><i class='wi wi-fw wi-weather-38'></i></span><span class='extended_day extended_day_3' title='Thunderstorms'>31/25<small>°C</small><br /><i class='wi wi-fw wi-weather-4'></i></span></div></div><div class='weather-atlas-footer' style='border-top:1px solid #0a3599'><a href='https://www.weather-atlas.com/en/malaysia/kuching?units=c,mm,mb,km' title='Weather Atlas - Weather forecast Kuching, Malaysia' style='color:#ffffff;text-transform:lowercase' target='_blank'>Detailed forecast ▸</a></div></div></li><li id="custom_html-4" class="widget_text widget-container widget_custom_html"><h3 class="widget-title"><span>友情链接</span></h3><div class="textwidget custom-html-widget"><a href="http://huazong.my" target="_blank" rel="nofollow">马来西亚中华大会堂总会</a><br /> <a href="http://uca.org.my" target="_blank" rel="nofollow">诗巫省华人社团联合会</a><br /> <a href="http://mirihuazong.gbs2u.com/associationflexi/" target="_blank" rel="nofollow">砂拉越美里省华人社团联合会</a><br /></div></li><li id="custom_html-6" class="widget_text widget-container widget_custom_html"><h3 class="widget-title"><span>外交链接</span></h3><div class="textwidget custom-html-widget"><a href="http://kuching.chineseconsulate.org/chn/" target="_blank" rel="nofollow">中华人民共和国驻古晋总领馆</a><br /></div></li> </ul> </div> </section><!-- #container --> <div style="clear:both;"></div> </div> <!-- #forbottom --> <footer id="footer" role="contentinfo"> <div id="colophon"> <div id="footer-widget-area" role="complementary" class="footerthree" > <div id="first" class="widget-area"> <ul class="xoxo"> <li id="recent-posts-4" class="widget-container widget_recent_entries"> <h3 class="widget-title"><span>最新贴文</span></h3> <ul> <li> <a href="http://huazong2016.com/2019/05/27/mla-parenthetical-citation-example-explained/">Mla Parenthetical Citation Example Explained</a> </li> <li> <a href="http://huazong2016.com/2019/05/27/top-advice-on-new-way-of-writing-a-cv/">Top Advice on New Way of Writing a Cv</a> </li> <li> <a href="http://huazong2016.com/2019/05/27/outrageous-ghostwriter-tips/">Outrageous Ghostwriter Tips</a> </li> <li> <a href="http://huazong2016.com/2019/05/27/what-everyone-is-saying-about-buy-a-research-paper/">What Everyone Is Saying About Buy a Research Paper</a> </li> <li> <a href="http://huazong2016.com/2019/05/26/finding-the-best-dissertation-help-services/">Finding the Best Dissertation Help Services</a> </li> </ul> </li> </ul> </div><!-- #first .widget-area --> <div id="second" class="widget-area"> <ul class="xoxo"> <li id="recent-comments-3" class="widget-container widget_recent_comments"><h3 class="widget-title"><span>最新评论</span></h3><ul id="recentcomments"><li class="recentcomments"><span class="comment-author-link">Hua Zong</span> on <a href="http://huazong2016.com/2017/10/13/2017%e4%b8%81%e9%85%89%e5%b9%b4%e4%b8%ad%e7%a7%8b%e6%99%9a%e4%bc%9a/#comment-5">2017丁酉年中秋晚会</a></li><li class="recentcomments"><span class="comment-author-link">秦先生</span> on <a href="http://huazong2016.com/2017/10/13/2017%e4%b8%81%e9%85%89%e5%b9%b4%e4%b8%ad%e7%a7%8b%e6%99%9a%e4%bc%9a/#comment-4">2017丁酉年中秋晚会</a></li></ul></li> </ul> </div><!-- #second .widget-area --> <div id="fourth" class="widget-area"> <ul class="xoxo"> <li id="custom_html-7" class="widget_text widget-container widget_custom_html"><div class="textwidget custom-html-widget"><div style="overflow:hidden;height:1px;"> <p>Pay attention to the method 210-065 exam of learning. More importantly, it requires perseverance. If you have relevant working 300-208 exam vce 210-260 exam dumps experience, it may be easier 210-260 exam dumps to learn.Examinations are the 210-065 exam test of your studies and the most 210-065 exam important. You need to adjust yourself. Be confident in 210-260 exam dumps the 300-208 exam vce exam and never give up until the last question. Dont be nervous about something you are not familiar 300-208 exam vce with or havent <a href="http://www.bestexamlab.com/300-208.html">300-208 exam vce</a> 300-208 exam vce even touched.Because 210-065 exam 210-065 exam you do it 300-208 exam vce want to get a full mark, the important thing 210-260 exam dumps is to do 210-065 exam well on every topic you know. If you make a mistake on the topic 210-260 exam dumps you know because 210-260 exam dumps 210-065 exam of the general idea and the mistake you do it know, the 210-260 exam dumps result will be predictable.About the test simulation question, after fully mastering the basic knowledge of the certification exam, the simulation question can only help review each knowledge 210-260 exam dumps point in a random way. Later on, the whole 210-065 exam review process, 300-208 exam vce mainly three things. Sybex CCNA 2.0 640-507 Study Guide is definitely a good thing to read 300-208 exam vce carefully, especially to understand 300-208 exam vce 210-065 exam the 300-208 exam vce <a href="http://www.bestexamlab.com/210-065.html">210-065 exam</a> basic concepts. Hands on Labs at 210-260 exam dumps the end of 300-208 exam vce each chapter 210-065 exam must be hands-on and 300-208 exam vce familiar 300-208 exam vce 210-260 exam dumps with the results. CCNA requires a deeper understanding and 210-260 exam dumps understanding of Cisco is private Operating 210-260 exam dumps System, 210-260 exam dumps IOS(Internetworking Operating 210-065 exam 210-065 exam System). A Router Simulator is essential. There are many good Router Simulator, such as CCNA virtual laboratory published by Sybex authorized 210-260 exam dumps electronic industry press, which is very good. It 300-208 exam vce can be virtual in a simulated environment (two 2,600 route oilers and one 210-065 exam 1,900 switch) to gain practical experience in configuring routers 210-065 exam and 210-260 exam dumps switches. I finished three sets of CCNA questions 300-208 exam vce 210-065 exam before the test in Boston. There were more than 600 CCNA questions, mostly concept questions.The most important thing is to 300-208 exam vce <a href="http://www.bestexamlab.com/210-260.html">210-260 exam dumps</a> memorize the CCNA Study Guide published by Sybex seven times and repeat the questions three times.</p> </div></div></li><li id="categories-3" class="widget-container widget_categories"><h3 class="widget-title"><span>类别</span></h3> <ul> <li class="cat-item cat-item-98"><a href="http://huazong2016.com/category/bez-rubriki/" >! Без рубрики</a> </li> <li class="cat-item cat-item-112"><a href="http://huazong2016.com/category/1/" >1</a> </li> <li class="cat-item cat-item-271"><a href="http://huazong2016.com/category/1-qut/" >1 qut</a> </li> <li class="cat-item cat-item-149"><a href="http://huazong2016.com/category/123helpme/" >123helpme</a> </li> <li class="cat-item cat-item-126"><a href="http://huazong2016.com/category/24-hour-essay-writing-service/" >24 hour essay writing service</a> </li> <li class="cat-item cat-item-256"><a href="http://huazong2016.com/category/25/" >25</a> </li> <li class="cat-item cat-item-169"><a href="http://huazong2016.com/category/3monks/" >3monks</a> </li> <li class="cat-item cat-item-106"><a href="http://huazong2016.com/category/academic-custom-essays/" >Academic Custom Essays</a> </li> <li class="cat-item cat-item-121"><a href="http://huazong2016.com/category/affordablepapers2018/" >AffordablePapers2018</a> </li> <li class="cat-item cat-item-231"><a href="http://huazong2016.com/category/android/" >Android</a> </li> <li class="cat-item cat-item-222"><a href="http://huazong2016.com/category/antivirus/" >Antivirus</a> </li> <li class="cat-item cat-item-129"><a href="http://huazong2016.com/category/article/" >article</a> </li> <li class="cat-item cat-item-174"><a href="http://huazong2016.com/category/asian-hottest-women/" >Asian Hottest Women</a> </li> <li class="cat-item cat-item-228"><a href="http://huazong2016.com/category/asian-single-women/" >Asian Single Women</a> </li> <li class="cat-item cat-item-230"><a href="http://huazong2016.com/category/asian-women-dating-sites/" >Asian Women Dating Sites</a> </li> <li class="cat-item cat-item-289"><a href="http://huazong2016.com/category/asiandating/" >AsianDating</a> </li> <li class="cat-item cat-item-93"><a href="http://huazong2016.com/category/b/" >b</a> </li> <li class="cat-item cat-item-245"><a href="http://huazong2016.com/category/bangblog/" >BangBlog</a> </li> <li class="cat-item cat-item-89"><a href="http://huazong2016.com/category/beautiful-russian-women/" >Beautiful Russian Women</a> </li> <li class="cat-item cat-item-107"><a href="http://huazong2016.com/category/best-brides-from-russia-and-ukraine/" >Best brides from Russia and Ukraine</a> </li> <li class="cat-item cat-item-194"><a href="http://huazong2016.com/category/best-college-paper-writing-service/" >Best College Paper Writing Service</a> </li> <li class="cat-item cat-item-173"><a href="http://huazong2016.com/category/best-dating-services/" >Best Dating Services</a> </li> <li class="cat-item cat-item-91"><a href="http://huazong2016.com/category/best-dating-sites/" >Best Dating Sites</a> </li> <li class="cat-item cat-item-122"><a href="http://huazong2016.com/category/best-food-supplements-in-south-africa/" >Best food supplements in South Africa</a> </li> <li class="cat-item cat-item-152"><a href="http://huazong2016.com/category/best-supplements/" >Best supplements</a> </li> <li class="cat-item cat-item-223"><a href="http://huazong2016.com/category/best-essay/" >Best-essay</a> </li> <li class="cat-item cat-item-249"><a href="http://huazong2016.com/category/bets/" >Bets</a> </li> <li class="cat-item cat-item-253"><a href="http://huazong2016.com/category/betting/" >Betting</a> </li> <li class="cat-item cat-item-261"><a href="http://huazong2016.com/category/bllog/" >Bllog</a> </li> <li class="cat-item cat-item-286"><a href="http://huazong2016.com/category/bllogs/" >Bllogs</a> </li> <li class="cat-item cat-item-118"><a href="http://huazong2016.com/category/blog/" >blog</a> </li> <li class="cat-item cat-item-270"><a href="http://huazong2016.com/category/blogg/" >Blogg</a> </li> <li class="cat-item cat-item-263"><a href="http://huazong2016.com/category/blogs/" >Blogs</a> </li> <li class="cat-item cat-item-287"><a href="http://huazong2016.com/category/bloog/" >Bloog</a> </li> <li class="cat-item cat-item-176"><a href="http://huazong2016.com/category/brides-for-marriage/" >Brides For Marriage</a> </li> <li class="cat-item cat-item-127"><a href="http://huazong2016.com/category/bridesss/" >Bridesss</a> </li> <li class="cat-item cat-item-302"><a href="http://huazong2016.com/category/cash-loan-stores-near-me/" >Cash Loan Stores Near Me</a> </li> <li class="cat-item cat-item-166"><a href="http://huazong2016.com/category/casinoonlinecad/" >CasinoOnlineCad</a> </li> <li class="cat-item cat-item-232"><a href="http://huazong2016.com/category/casinos/" >casinos</a> </li> <li class="cat-item cat-item-241"><a href="http://huazong2016.com/category/cbd/" >CBD</a> </li> <li class="cat-item cat-item-233"><a href="http://huazong2016.com/category/cbd-isolate-crystal/" >CBD Isolate Crystal</a> </li> <li class="cat-item cat-item-82"><a href="http://huazong2016.com/category/cheap-college-papers/" >Cheap College Papers</a> </li> <li class="cat-item cat-item-293"><a href="http://huazong2016.com/category/cheap-essay-writing/" >Cheap Essay Writing</a> </li> <li class="cat-item cat-item-283"><a href="http://huazong2016.com/category/cheap-essays-2/" >cheap essays</a> </li> <li class="cat-item cat-item-220"><a href="http://huazong2016.com/category/cheap-dissertation-service-2/" >cheap-dissertation-service</a> </li> <li class="cat-item cat-item-193"><a href="http://huazong2016.com/category/college-essay-writing-service/" >College Essay Writing Service</a> </li> <li class="cat-item cat-item-105"><a href="http://huazong2016.com/category/college-paper-help/" >College Paper Help</a> </li> <li class="cat-item cat-item-120"><a href="http://huazong2016.com/category/collegeessayhelp/" >CollegeEssayHelp</a> </li> <li class="cat-item cat-item-168"><a href="http://huazong2016.com/category/collegeessaywriters/" >CollegeEssayWriters</a> </li> <li class="cat-item cat-item-290"><a href="http://huazong2016.com/category/computers/" >Computers</a> </li> <li class="cat-item cat-item-276"><a href="http://huazong2016.com/category/custom-dissertation-writing-service/" >Custom Dissertation Writing Service</a> </li> <li class="cat-item cat-item-83"><a href="http://huazong2016.com/category/custom-essay-papers/" >Custom Essay Papers</a> </li> <li class="cat-item cat-item-198"><a href="http://huazong2016.com/category/custom-writing/" >Custom Writing</a> </li> <li class="cat-item cat-item-81"><a href="http://huazong2016.com/category/custom-writing-services/" >Custom Writing Services</a> </li> <li class="cat-item cat-item-213"><a href="http://huazong2016.com/category/customessaywriters/" >CustomEssayWriters</a> </li> <li class="cat-item cat-item-216"><a href="http://huazong2016.com/category/dateblog/" >DateBlog</a> </li> <li class="cat-item cat-item-267"><a href="http://huazong2016.com/category/dating-for-singles/" >Dating For Singles</a> </li> <li class="cat-item cat-item-257"><a href="http://huazong2016.com/category/descriptive/" >descriptive</a> </li> <li class="cat-item cat-item-179"><a href="http://huazong2016.com/category/dissertation-writing-help/" >Dissertation Writing Help</a> </li> <li class="cat-item cat-item-272"><a href="http://huazong2016.com/category/dissertations-services/" >Dissertations Services</a> </li> <li class="cat-item cat-item-204"><a href="http://huazong2016.com/category/do-my-essay/" >Do My Essay</a> </li> <li class="cat-item cat-item-86"><a href="http://huazong2016.com/category/doing-homework/" >Doing Homework</a> </li> <li class="cat-item cat-item-206"><a href="http://huazong2016.com/category/domyhomework/" >DoMyHomework</a> </li> <li class="cat-item cat-item-68"><a href="http://huazong2016.com/category/education/" >Education</a> </li> <li class="cat-item cat-item-215"><a href="http://huazong2016.com/category/essay/" >essay</a> </li> <li class="cat-item cat-item-153"><a href="http://huazong2016.com/category/essay-helping-company/" >essay helping company</a> </li> <li class="cat-item cat-item-273"><a href="http://huazong2016.com/category/essay-writer/" >essay writer</a> </li> <li class="cat-item cat-item-219"><a href="http://huazong2016.com/category/essay-writing-service/" >essay writing service</a> </li> <li class="cat-item cat-item-92"><a href="http://huazong2016.com/category/essay-writing-services/" >Essay Writing Services</a> </li> <li class="cat-item cat-item-218"><a href="http://huazong2016.com/category/essay-writing-services-reviews/" >essay writing services reviews</a> </li> <li class="cat-item cat-item-227"><a href="http://huazong2016.com/category/essay1/" >essay1</a> </li> <li class="cat-item cat-item-244"><a href="http://huazong2016.com/category/essay2/" >essay2</a> </li> <li class="cat-item cat-item-164"><a href="http://huazong2016.com/category/essay24service/" >Essay24Service</a> </li> <li class="cat-item cat-item-243"><a href="http://huazong2016.com/category/essay4/" >essay4</a> </li> <li class="cat-item cat-item-212"><a href="http://huazong2016.com/category/essayhelp/" >EssayHelp</a> </li> <li class="cat-item cat-item-114"><a href="http://huazong2016.com/category/essayhelp2018/" >EssayHelp2018</a> </li> <li class="cat-item cat-item-195"><a href="http://huazong2016.com/category/essayhelper/" >EssayHelper</a> </li> <li class="cat-item cat-item-196"><a href="http://huazong2016.com/category/essayshelpblog/" >EssaysHelpBlog</a> </li> <li class="cat-item cat-item-201"><a href="http://huazong2016.com/category/essaywriterforyou/" >EssayWriterForYou</a> </li> <li class="cat-item cat-item-117"><a href="http://huazong2016.com/category/essaywritersuk/" >EssayWritersUK</a> </li> <li class="cat-item cat-item-109"><a href="http://huazong2016.com/category/find-a-bride-tips/" >Find a Bride Tips</a> </li> <li class="cat-item cat-item-171"><a href="http://huazong2016.com/category/findgoodbride/" >FindGoodBride</a> </li> <li class="cat-item cat-item-151"><a href="http://huazong2016.com/category/free-dating-site-online/" >Free Dating Site Online</a> </li> <li class="cat-item cat-item-209"><a href="http://huazong2016.com/category/free-online-dating/" >Free Online Dating</a> </li> <li class="cat-item cat-item-79"><a href="http://huazong2016.com/category/girls/" >girls</a> </li> <li class="cat-item cat-item-115"><a href="http://huazong2016.com/category/goodwriting2018/" >GoodWriting2018</a> </li> <li class="cat-item cat-item-225"><a href="http://huazong2016.com/category/gpacalculator-4/" >GPACALCULATOR 4</a> </li> <li class="cat-item cat-item-226"><a href="http://huazong2016.com/category/gpacalculator-5/" >GPACALCULATOR 5</a> </li> <li class="cat-item cat-item-211"><a href="http://huazong2016.com/category/health/" >Health</a> </li> <li class="cat-item cat-item-178"><a href="http://huazong2016.com/category/hello-world/" >Hello World</a> </li> <li class="cat-item cat-item-274"><a href="http://huazong2016.com/category/help-writing-a-paper/" >Help Writing a Paper</a> </li> <li class="cat-item cat-item-125"><a href="http://huazong2016.com/category/homeworks/" >Homeworks</a> </li> <li class="cat-item cat-item-144"><a href="http://huazong2016.com/category/i-need-help-with-an-essay/" >i need help with an essay</a> </li> <li class="cat-item cat-item-217"><a href="http://huazong2016.com/category/international-brides-agency/" >International Brides Agency</a> </li> <li class="cat-item cat-item-78"><a href="http://huazong2016.com/category/international-online-dating/" >International Online Dating</a> </li> <li class="cat-item cat-item-205"><a href="http://huazong2016.com/category/links/" >links</a> </li> <li class="cat-item cat-item-177"><a href="http://huazong2016.com/category/mail-order-bride-catalog/" >Mail Order Bride Catalog</a> </li> <li class="cat-item cat-item-88"><a href="http://huazong2016.com/category/mail-order-russian-bride/" >mail order russian bride</a> </li> <li class="cat-item cat-item-252"><a href="http://huazong2016.com/category/main/" >Main</a> </li> <li class="cat-item cat-item-236"><a href="http://huazong2016.com/category/moxiecbd/" >MoxieCBD</a> </li> <li class="cat-item cat-item-239"><a href="http://huazong2016.com/category/natural-stress-solutions-cbd-deodorant/" >Natural Stress Solutions CBD Deodorant</a> </li> <li class="cat-item cat-item-237"><a href="http://huazong2016.com/category/natural-stress-solutions-cbd-relief-body-lotion/" >Natural Stress Solutions CBD Relief Body Lotion</a> </li> <li class="cat-item cat-item-240"><a href="http://huazong2016.com/category/natural-stress-solutions-pet-cbd-relief-shampoo/" >Natural Stress Solutions Pet CBD Relief Shampoo</a> </li> <li class="cat-item cat-item-76"><a href="http://huazong2016.com/category/new/" >new</a> </li> <li class="cat-item cat-item-214"><a href="http://huazong2016.com/category/news/" >News</a> </li> <li class="cat-item cat-item-199"><a href="http://huazong2016.com/category/nude-girls-chat-room/" >Nude Girls Chat Room</a> </li> <li class="cat-item cat-item-84"><a href="http://huazong2016.com/category/online-dating/" >Online Dating</a> </li> <li class="cat-item cat-item-165"><a href="http://huazong2016.com/category/online-dating-reviews/" >Online Dating Reviews</a> </li> <li class="cat-item cat-item-170"><a href="http://huazong2016.com/category/online-dating-services/" >Online Dating Services</a> </li> <li class="cat-item cat-item-268"><a href="http://huazong2016.com/category/online-essay-writer/" >Online Essay Writer</a> </li> <li class="cat-item cat-item-77"><a href="http://huazong2016.com/category/online-essay-writers/" >Online Essay Writers</a> </li> <li class="cat-item cat-item-130"><a href="http://huazong2016.com/category/online-lab-report-writing-service/" >online lab report writing service</a> </li> <li class="cat-item cat-item-80"><a href="http://huazong2016.com/category/online-writing-services/" >Online Writing Services</a> </li> <li class="cat-item cat-item-208"><a href="http://huazong2016.com/category/order-essay-paper/" >Order Essay Paper</a> </li> <li class="cat-item cat-item-85"><a href="http://huazong2016.com/category/paper-writing-help/" >paper writing help</a> </li> <li class="cat-item cat-item-197"><a href="http://huazong2016.com/category/pay-for-essay-online/" >Pay For Essay Online</a> </li> <li class="cat-item cat-item-229"><a href="http://huazong2016.com/category/pet/" >Pet</a> </li> <li class="cat-item cat-item-234"><a href="http://huazong2016.com/category/pet-full-spec-cbd-tincture/" >Pet Full Spec CBD Tincture</a> </li> <li class="cat-item cat-item-266"><a href="http://huazong2016.com/category/pets/" >Pets</a> </li> <li class="cat-item cat-item-238"><a href="http://huazong2016.com/category/phenopen-cbd-premium-cartridge/" >PhenoPen CBD Premium Cartridge</a> </li> <li class="cat-item cat-item-260"><a href="http://huazong2016.com/category/poker/" >poker</a> </li> <li class="cat-item cat-item-137"><a href="http://huazong2016.com/category/professional-coursework-writing-service/" >professional coursework writing service</a> </li> <li class="cat-item cat-item-100"><a href="http://huazong2016.com/category/professional-essay-writing-service/" >Professional essay writing service</a> </li> <li class="cat-item cat-item-90"><a href="http://huazong2016.com/category/real-mail-order-brides/" >Real Mail Order Brides</a> </li> <li class="cat-item cat-item-295"><a href="http://huazong2016.com/category/resume-maker-professional/" >Resume Maker Professional</a> </li> <li class="cat-item cat-item-258"><a href="http://huazong2016.com/category/review/" >review</a> </li> <li class="cat-item cat-item-264"><a href="http://huazong2016.com/category/review2/" >review2</a> </li> <li class="cat-item cat-item-255"><a href="http://huazong2016.com/category/rush-essay-net1-110/" >Rush-essay.net1(110)</a> </li> <li class="cat-item cat-item-251"><a href="http://huazong2016.com/category/rush-essay-net3-88/" >rush-essay.net3(88)</a> </li> <li class="cat-item cat-item-300"><a href="http://huazong2016.com/category/rush-my-essay-com2-56-3/" >Rush-my-essay.com2(56)3</a> </li> <li class="cat-item cat-item-301"><a href="http://huazong2016.com/category/rush-my-essay-com3-96/" >Rush-my-essay.com3(96)</a> </li> <li class="cat-item cat-item-224"><a href="http://huazong2016.com/category/rusheessays-co-uk2-56/" >rusheessays.co.uk2(56)</a> </li> <li class="cat-item cat-item-246"><a href="http://huazong2016.com/category/rusheessays-uk-118/" >rusheessays.uk(118)</a> </li> <li class="cat-item cat-item-254"><a href="http://huazong2016.com/category/rusheessays-uk3-56/" >rusheessays.uk3(56)</a> </li> <li class="cat-item cat-item-242"><a href="http://huazong2016.com/category/rushessays-uk3-56/" >rushessays.uk3(56)</a> </li> <li class="cat-item cat-item-248"><a href="http://huazong2016.com/category/rushessayuk-uk2-64/" >rushessayuk.uk2(64)</a> </li> <li class="cat-item cat-item-265"><a href="http://huazong2016.com/category/rushessayuk-uk3-112/" >rushessayuk.uk3(112)</a> </li> <li class="cat-item cat-item-235"><a href="http://huazong2016.com/category/rushmyessay-uk3-64/" >rushmyessay.uk3(64)</a> </li> <li class="cat-item cat-item-87"><a href="http://huazong2016.com/category/russian-brides/" >russian brides</a> </li> <li class="cat-item cat-item-111"><a href="http://huazong2016.com/category/russian-hot-brides/" >russian hot brides</a> </li> <li class="cat-item cat-item-247"><a href="http://huazong2016.com/category/score/" >score</a> </li> <li class="cat-item cat-item-292"><a href="http://huazong2016.com/category/software/" >Software</a> </li> <li class="cat-item cat-item-200"><a href="http://huazong2016.com/category/someone-write-my-essay/" >Someone Write My Essay</a> </li> <li class="cat-item cat-item-262"><a href="http://huazong2016.com/category/sport/" >Sport</a> </li> <li class="cat-item cat-item-259"><a href="http://huazong2016.com/category/sportblog/" >SportBlog</a> </li> <li class="cat-item cat-item-99"><a href="http://huazong2016.com/category/student-homework-help/" >student homework help</a> </li> <li class="cat-item cat-item-275"><a href="http://huazong2016.com/category/students-essay-writing-service-2019/" >Students Essay Writing Service 2019</a> </li> <li class="cat-item cat-item-288"><a href="http://huazong2016.com/category/tech/" >Tech</a> </li> <li class="cat-item cat-item-119"><a href="http://huazong2016.com/category/theesayclub/" >TheesayClub</a> </li> <li class="cat-item cat-item-124"><a href="http://huazong2016.com/category/thehomework/" >Thehomework</a> </li> <li class="cat-item cat-item-294"><a href="http://huazong2016.com/category/top-college-essays-websites/" >Top College Essays Websites</a> </li> <li class="cat-item cat-item-192"><a href="http://huazong2016.com/category/top-resume-writing-services-2/" >Top Resume Writing Services</a> </li> <li class="cat-item cat-item-110"><a href="http://huazong2016.com/category/trust-essay-company/" >Trust Essay Company</a> </li> <li class="cat-item cat-item-123"><a href="http://huazong2016.com/category/ukessays/" >UKEssays</a> </li> <li class="cat-item cat-item-67"><a href="http://huazong2016.com/category/uncategorized/" >uncategorized</a> </li> <li class="cat-item cat-item-221"><a href="http://huazong2016.com/category/videopoker/" >videopoker</a> </li> <li class="cat-item cat-item-202"><a href="http://huazong2016.com/category/vpn/" >VPN</a> </li> <li class="cat-item cat-item-128"><a href="http://huazong2016.com/category/webcams-reviews/" >Webcams Reviews</a> </li> <li class="cat-item cat-item-175"><a href="http://huazong2016.com/category/website-that-writes-essays/" >Website That Writes Essays</a> </li> <li class="cat-item cat-item-172"><a href="http://huazong2016.com/category/wives-for-sale/" >Wives For Sale</a> </li> <li class="cat-item cat-item-163"><a href="http://huazong2016.com/category/write-my-10-page-essay/" >Write My 10 Page Essay</a> </li> <li class="cat-item cat-item-203"><a href="http://huazong2016.com/category/write-my-essay/" >Write My Essay</a> </li> <li class="cat-item cat-item-162"><a href="http://huazong2016.com/category/writemyguru/" >WriteMyGuru</a> </li> <li class="cat-item cat-item-150"><a href="http://huazong2016.com/category/writemypapernet/" >WriteMyPaperNet</a> </li> <li class="cat-item cat-item-113"><a href="http://huazong2016.com/category/writers2018/" >Writers2018</a> </li> <li class="cat-item cat-item-210"><a href="http://huazong2016.com/category/writing-an-essay/" >Writing an Essay</a> </li> <li class="cat-item cat-item-207"><a href="http://huazong2016.com/category/writing-my-papers/" >Writing My Papers</a> </li> <li class="cat-item cat-item-161"><a href="http://huazong2016.com/category/writing-service-2018/" >Writing Service 2018</a> </li> <li class="cat-item cat-item-269"><a href="http://huazong2016.com/category/writing-services/" >Writing Services</a> </li> <li class="cat-item cat-item-167"><a href="http://huazong2016.com/category/writing-tips-2018/" >Writing Tips 2018</a> </li> <li class="cat-item cat-item-160"><a href="http://huazong2016.com/category/writingeasy/" >WritingEasy</a> </li> <li class="cat-item cat-item-116"><a href="http://huazong2016.com/category/your-mail-order-bride/" >your mail order bride</a> </li> <li class="cat-item cat-item-250"><a href="http://huazong2016.com/category/bet-mobi/" >бет-моби</a> </li> <li class="cat-item cat-item-1"><a href="http://huazong2016.com/category/%e5%85%b3%e4%ba%8e%e6%9c%ac%e4%bc%9a/" >关于本会</a> </li> <li class="cat-item cat-item-59"><a href="http://huazong2016.com/category/%e6%b4%bb%e5%8a%a8%e4%b8%8e%e6%96%87%e7%8c%ae/" >活动与文献</a> </li> <li class="cat-item cat-item-62"><a href="http://huazong2016.com/category/%e6%b4%bb%e5%8a%a8%e4%b8%8e%e6%96%87%e7%8c%ae/%e6%b4%bb%e5%8a%a8%e5%89%aa%e8%be%91/" >活动剪辑</a> </li> <li class="cat-item cat-item-61"><a href="http://huazong2016.com/category/%e6%b4%bb%e5%8a%a8%e4%b8%8e%e6%96%87%e7%8c%ae/%e7%89%b9%e7%a8%bf/" >特稿</a> </li> <li class="cat-item cat-item-39"><a href="http://huazong2016.com/category/%e7%90%86%e4%ba%8b%e5%8f%8a%e5%b1%9e%e4%bc%9a/" >理事及属会</a> </li> <li class="cat-item cat-item-44"><a href="http://huazong2016.com/category/%e8%be%85%e7%bf%bc/" >辅翼</a> </li> <li class="cat-item cat-item-56"><a href="http://huazong2016.com/category/%e9%bb%84%e6%96%87%e5%bd%ac%e7%b2%be%e7%a5%9e%e5%a5%96/" >黄文彬精神奖</a> </li> </ul> </li> </ul> </div><!-- #fourth .widget-area --> </div><!-- #footer-widget-area --> </div><!-- #colophon --> <div id="footer2"> <div id="footer2-inside"> <div id="site-copyright">All contents copyright by The Federation Of Chinese Associations Kuching, Samarahan & Serian Division, Sarawak. <br> By <a href="www.utco.my">www.utco.my</a> <br /> <div style="margin:0 auto"> <div align='center'><a href='http://www.free-website-hit-counter.com'><img src='http://www.free-website-hit-counter.com/c.php?d=5&id=111630&s=16' border='0' title='free website hit counter'></a></div> <br /> <a href="http://huazong2016.com/wp-content/uploads/2018/01/1.jpeg" target="_blank"><img src="http://huazong2016.com/wp-content/uploads/2018/01/1.jpeg" width="128" height="128" border="0"></a> <a href="http://huazong2016.com/wp-content/uploads/2018/01/2.jpeg" target="_blank"><img src="http://huazong2016.com/wp-content/uploads/2018/01/2.jpeg" width="128" height="128" border="0"></a> <a href="http://huazong2016.com/wp-content/uploads/2018/01/3.jpeg" target="_blank"><img src="http://huazong2016.com/wp-content/uploads/2018/01/3.jpeg" width="128" height="128" border="0"></a> <a href="http://huazong2016.com/wp-content/uploads/2018/01/4.jpeg" target="_blank"><img src="http://huazong2016.com/wp-content/uploads/2018/01/4.jpeg" width="128" height="128" border="0"></a> <a href="http://huazong2016.com/wp-content/uploads/2018/01/5.jpeg" target="_blank"><img src="http://huazong2016.com/wp-content/uploads/2018/01/5.jpeg" width="128" height="128" border="0"></a> </div></div> <em style="display:table;margin:0 auto;float:none;text-align:center;padding:7px 0;font-size:13px;"> Powered by <a target="_blank" href="http://www.cryoutcreations.eu" title="Nirvana Theme by Cryout Creations">Nirvana</a> & <a target="_blank" href="http://wordpress.org/" title="Semantic Personal Publishing Platform"> WordPress.</a></em> </div> <!-- #footer2-inside --> </div><!-- #footer2 --> </footer><!-- #footer --> </div><!-- #main --> </div><!-- #wrapper --> <link rel='stylesheet' id='nirvana-mobile-css' href='http://huazong2016.com/wp-content/themes/nirvana/styles/style-mobile.css?ver=1.4.3' type='text/css' media='all' /> <link rel='stylesheet' id='world-clock-style-css' href='http://huazong2016.com/wp-content/plugins/easy-clock-widget/css/style.css?ver=4.9.7' type='text/css' media='all' /> <script type='text/javascript'> /* <![CDATA[ */ var wpcf7 = {"apiSettings":{"root":"http:\/\/huazong2016.com\/wp-json\/contact-form-7\/v1","namespace":"contact-form-7\/v1"},"recaptcha":{"messages":{"empty":"Please verify that you are not a robot."}}}; /* ]]> */ </script> <script type='text/javascript' src='http://huazong2016.com/wp-content/plugins/contact-form-7/includes/js/scripts.js?ver=5.0.1'></script> <script type='text/javascript' src='http://huazong2016.com/wp-includes/js/jquery/ui/widget.min.js?ver=1.11.4'></script> <script type='text/javascript' src='http://huazong2016.com/wp-includes/js/jquery/ui/position.min.js?ver=1.11.4'></script> <script type='text/javascript' src='http://huazong2016.com/wp-includes/js/jquery/ui/menu.min.js?ver=1.11.4'></script> <script type='text/javascript' src='http://huazong2016.com/wp-includes/js/wp-a11y.min.js?ver=4.9.7'></script> <script type='text/javascript'> /* <![CDATA[ */ var uiAutocompleteL10n = {"noResults":"No results found.","oneResult":"1 result found. Use up and down arrow keys to navigate.","manyResults":"%d results found. Use up and down arrow keys to navigate.","itemSelected":"Item selected."}; /* ]]> */ </script> <script type='text/javascript' src='http://huazong2016.com/wp-includes/js/jquery/ui/autocomplete.min.js?ver=1.11.4'></script> <script type='text/javascript'> /* <![CDATA[ */ var nirvana_settings = {"mobile":"1","fitvids":"1"}; /* ]]> */ </script> <script type='text/javascript' src='http://huazong2016.com/wp-content/themes/nirvana/js/frontend.js?ver=1.4.3'></script> <script type='text/javascript' src='http://huazong2016.com/wp-includes/js/comment-reply.min.js?ver=4.9.7'></script> <script type='text/javascript' src='http://huazong2016.com/wp-includes/js/wp-embed.min.js?ver=4.9.7'></script> <script async="async" type='text/javascript' src='http://huazong2016.com/wp-content/plugins/akismet/_inc/form.js?ver=4.0.3'></script> <script type='text/javascript' src='http://huazong2016.com/wp-content/plugins/easy-clock-widget/js/moment.js?ver=4.9.7'></script> <script type='text/javascript' src='http://huazong2016.com/wp-content/plugins/easy-clock-widget/js/moment-timezone-with-data.min.js?ver=4.9.7'></script> <script type='text/javascript' src='http://huazong2016.com/wp-content/plugins/easy-clock-widget/js/script.js?ver=4.9.7'></script> <script type="text/javascript">var cryout_global_content_width = 900;</script> </body> </html>