Help
RSS
API
Feed
Maltego
Contact
Domain > www.townehouseofamherst.com
×
More information on this domain is in
AlienVault OTX
Is this malicious?
Yes
No
DNS Resolutions
Date
IP Address
2014-05-20
66.59.48.71
(
ClassC
)
2024-11-07
172.67.167.154
(
ClassC
)
Port 80
HTTP/1.1 301 Moved PermanentlyDate: Thu, 07 Nov 2024 11:01:10 GMTContent-Type: text/htmlContent-Length: 167Connection: keep-aliveCache-Control: max-age3600Expires: Thu, 07 Nov 2024 12:01:10 GMTLocation: https://www.townehouseofamherst.com/Report-To: {endpoints:{url:https:\/\/a.nel.cloudflare.com\/report\/v4?snVpy0w8uGWxBFlAO%2F0scG3cnZ2rUeGKXpWV0wZnZCpgXYzzLO5xiE9o2eC4ygF3L%2Febo4IMFUdBoVcQfeCcLNaKt86FMzDAUWmyefkxF3UDw02uydg9gjioAbUqOOxklzlY7ATTwzdkc3bNoyMQ%3D},group:cf-nel,max_age:604800}NEL: {success_fraction:0,report_to:cf-nel,max_age:604800}X-Content-Type-Options: nosniffServer: cloudflareCF-RAY: 8decd2e2fb05b9a9-SEAalt-svc: h3:443; ma86400server-timing: cfL4;desc?protoTCP&rtt8491&sent1&recv3&lost0&retrans0&sent_bytes0&recv_bytes66&delivery_rate0&cwnd246&unsent_bytes0&cid0000000000000000&ts0&x0 html>head>title>301 Moved Permanently/title>/head>body>center>h1>301 Moved Permanently/h1>/center>hr>center>cloudflare/center>/body>/html>
Port 443
HTTP/1.1 200 OKDate: Thu, 07 Nov 2024 11:01:10 GMTContent-Type: text/html; charsetUTF-8Transfer-Encoding: chunkedConnection: keep-alivevary: Accept-Encodingx-frame-options: SAMEORIGINvia: 1.1 googlealt-svc: h3:443; ma86400cf-cache-status: DYNAMICReport-To: {endpoints:{url:https:\/\/a.nel.cloudflare.com\/report\/v4?sW81jhtgoU%2BpSaf%2B3PqYMxEF0%2F4FKEzMAQTuyQZ10yazsPz9S3pEyP6D1aiMhPoSImGxUjArFS%2BiutNcltWy5hs110dnzCL5rmsZjWetDd4BAPUrLEM873ApQgmlYADry96ttQkWb1UGhii0%2B730%3D},group:cf-nel,max_age:604800}NEL: {success_fraction:0,report_to:cf-nel,max_age:604800}Strict-Transport-Security: max-age15552000; includeSubDomains; preloadX-Content-Type-Options: nosniffServer: cloudflareCF-RAY: 8decd2e35864ef88-PDXserver-timing: cfL4;desc?protoTCP&rtt5956&sent5&recv6&lost0&retrans0&sent_bytes2885&recv_bytes738&delivery_rate490348&cwnd66&unsent_bytes0&cid70cbc9e7e3b8d1a3&ts590&x0 !doctype html>html>head> meta charsetutf-8> title>Townehouse Of Amherst Condominiums | COA in Amherst, MA/title> !-- For mobile viewports --> meta nameviewport contentwidthdevice-width, initial-scale1, maximum-scale1, user-scalable0>!-- Favicon -->link relicon hrefhttps://cdn-common.hoa-express.com/images/favicon.png?r4f48cfd270c4b3d4989a3cb915a489f6 typeimage/x-icon>!-- Stylesheets -->link relstylesheet hrefhttps://cdn-common.hoa-express.com/stylesheets/templates/31.css?r4f48cfd270c4b3d4989a3cb915a489f6>!-- jQuery (needs to be in the head) -->script srchttps://cdn.jsdelivr.net/jquery/2/jquery.min.js typetext/javascript>/script>!-- Google Analytics (needs to be in the head) --> style> #common_modal .image_thumbnail img{ width:100px; height:100px; box-shadow:0 0 5px rgba(0, 0, 0, .2); } #common_modal tr.add_photo{ background:#ddd; text-align:center; cursor:pointer; transition:all .3s; } #common_modal tr.add_photo:hover{ background:#ccc; } #common_modal form table tbody tr.dragging > td{ border-top:1px solid #999; border-bottom:1px solid #999; } #common_modal form table thead th:nth-child(2), #common_modal form table thead th:nth-child(3){ width:125px; } /style>/head>body> noscript> style> .noscript_warning { width: 100%; padding: 20px 10px; background: #ffe37e; text-align: center; color: #000; float: left; } /style> div classnoscript_warning> i classfa fa-warning>/i> Youve disabled JavaScript in your browser settings. This website will not work properly without JavaScript. /div> /noscript> div classcontainer-fluid> div classrow admin_bar_cont > div classcol-xs-12 admin_bar> div classlogo> a hrefhttps://www.hoa-express.com target_blank>img srchttps://cdn-common.hoa-express.com/images/logo-200.png>/a> /div> a hrefhttps://admin.hoa-express.com?websiteID2190526863>button typebutton classbtn btn-default btn-xs>i classfa fa-wrench>/i> Admin Portal/button>/a> a hrefhttps://help.hoa-express.com target_blank>button typebutton classbtn btn-default btn-xs>i classfa fa-life-ring>/i> Support/button>/a> button typebutton classbtn btn-default btn-xs hide_admin_controls>i classfa fa-search>/i> View website without admin controls/button> /div> !-- admin_bar --> /div> !-- row admin_bar_cont --> div classrow top_bar_cont> div classcol-xs-12 top_bar> span classnot_toggle> div classnotifications_box styledisplay:none;> div classdrop_down_show>i classfa fa-bell>/i>span classbadge_count styledisplay:none;>1/span>/div> div classdrop_down>/div> /div> div classuser_box styledisplay:none;> div classdrop_down_show> /div> div classdrop_down> a href/account/member-settings>Member settingsi classfa fa-fw fa-user stylepadding-left:5px;>/i>/a>br> a href/account/account-settings>Account settingsi classfa fa-fw fa-users stylepadding-left:5px;>/i>/a>br> a href/account/communications/archive>Communications archivei classfa fa-fw fa-comments stylepadding-left:5px;>/i>/a>br> a href/payments/methods classstored_payment_methods_elements>Stored payment methodsi classfa fa-fw fa-credit-card stylepadding-left:5px;>/i>/a>br classstored_payment_methods_elements> a href/payments/history classrequires_payment_history>Online payment historyi classfa fa-fw fa-money stylepadding-left:5px;>/i>/a>br classrequires_payment_history> a classlog_out_link>Log outi classfa fa-sign-out stylepadding-left:5px;>/i>/a> /div> /div> div classalert_box>/div> div classshow_admin_controls>Re-enter admin mode/div> span classlogged_out_message>Please a classlog_in_link>log in/a> or a href/account/register>register/a>/span>/span>span classmenu_toggle> a classtoggle_menu>☰/a>/span>div classpages> div classuser_box> table> tr> td classprofile_photo> i classfa fa-user>/i> /td> td classtext> div classname>Welcome!/div> div classlinks> Please a classlog_in_link>log in/a> or a href/account/register>register/a>. /div> /td> /tr> /table> /div> div classnotifications_box styledisplay:none;>/div> h3>Pages/h3>ul> a href/ classindent_0>li class indent_0>Home/li>/a>a classindent_0>li class folder closed indent_0>i classfa fa-chevron-right>/i> Document Library/li>/a>a classindent_0>li class folder closed indent_0>i classfa fa-chevron-right>/i> Contacts/li>/a>a classindent_0>li class folder closed indent_0>i classfa fa-chevron-right>/i> Rental Information/li>/a>a href/p/Rental-Units-Description classindent_1>li class indent_1>Rental Units Description/li>/a>a href/p/Rental-Unit-Pictures classindent_1>li class indent_1>Rental Unit Pictures/li>/a>a href/p/Rental-Documents classindent_1>li class indent_1>Rental Documents/li>/a>a href/p/-Rental-Request- classindent_1>li class indent_1>*** Rental Request ***/li>/a>a classindent_0>li class folder closed indent_0>i classfa fa-chevron-right>/i> Useful Information/li>/a>a href/p/Amherst-Area-Resources classindent_1>li class indent_1>Amherst Area Resources/li>/a>a href/p/Area-Information classindent_1>li class indent_1>Area Information/li>/a>a href/p/FAQ classindent_0>li class indent_0>FAQ/li>/a>a href/p/Contact-Us classindent_0>li class indent_0>Contact Us/li>/a>/ul>/div> /div> !-- top_bar --> /div> !-- row top_bar_cont --> div classrow banner> div classcol-xs-12> div classrow visible-xs-block> div classcol-xs-12> a href/ classcommunity_name style> Townehouse Of Amherst Condominiums /a> div classtagline style>/div> /div> div classcol-xs-12> div classsponsor>/div> /div> /div> table stylewidth:100%; classhidden-xs> tbody> tr> td> a href/ classcommunity_name style> Townehouse Of Amherst Condominiums /a> div classtagline style>/div> /td> td stylevertical-align:bottom;> div classsponsor>/div> /td> /tr> /tbody> /table> div classphoto_cont> img srchttps://public-files.hoa-express.com/website-2190526863/banner-photos/cEnTGsczgv9rTjsi.jpg classphoto altBanner photo> /div>/div> /div> !-- row banner --> div classrow content> div classcol-xs-12> div classrow> div classcol-xs-12 col-sm-8 col-md-9 main_column> div classpage_error>/div> div classpage_success>/div> div classmodal fade tabindex-1 idcommon_modal> div classmodal-dialog modal-lg> div classmodal-content> div classmodal-header> button typebutton classclose data-dismissmodal>span>×/span>/button> h3 classmodal-title>/h3> /div> div classmodal-body>/div> /div> /div> /div> h1>Welcome to the Townehouse of Amherst Owner Association!/h1> div classpage_text> div classadmin_control> div classalert alert-info> button classbtn btn-primary btn-sm modify_settings>i classfa fa-cog>/i> Modify settings/button> button classbtn btn-primary btn-sm manage_yotm>i classfa fa-home>/i> Manage YOTM/button> button classbtn btn-primary btn-sm manage_rotating_photos>i classfa fa-picture-o>/i> Manage rotating photos/button> i classfa fa-info-circle hidden-xs data-toggletooltip data-placementtop titleAdmin-only controls>/i> /div> /div> span classtext> table styleheight:68px;border-collapse:collapse;border-style:none;width:832px; border0>tbody>tr styleheight:68px;>td styleheight:68px;width:128px;text-align:center;>img styletext-align:left;font-family:Trebuchet MS, Arial, Helvetica, sans-serif;font-size:16px; srchttps://public-files.hoa-express.com/website-2190526863/pages/page-3598354407/jysLJJck4XcTIdGL.gif altjysLJJck4XcTIdGL.gif width90 height53 />/td>td stylewidth:697px;text-align:left;height:68px;>The strong>Tow/strong>strong>nehouses of Amherst/strong> is a community of individually-owned townhouses located at 50 Meadow St, Amherst, MA 01002 and managed by strong>Townehouse Management Associates/strong>. Two on-site managers, as well as a full-time maintenance team, are available during business hours and can be reached by a href/cdn-cgi/l/email-protection#f6d3c4c69d9b86d8829b97db97858599959f97829385b695999b95978582d8989382>email/a> or over the phone strong>(413) 549-0839./strong>/td>/tr>/tbody>/table>strong>br />Renters,/strong> please do NOT register on this site. This website allows you to review valuable information in the a hrefp/Rental-Units-Description>Rental Information/a> section and communicate with the management strong>without registration/strong>.br />br />strong>Unit owners/strong>, once registered, you can access important information and interact with other owners, get in touch with trustees and the management. Please review thestrong> a hrefp/-News->*** News ***/a> /strong>section periodically and make sure to subscribe for newsletters and email notifications.br />br />The website is managed by the Townehouse condo owner organization. Please a hrefp/Contact-Us>strong>contact us/strong>/a> with any questions or suggestions.br />br />span stylecolor:#808080;>em>NOTE: Please note that some pages marked with a padlockimg srchttps://public-files.hoa-express.com/website-2422498317/pages/page-3908126064/EKucmQQyFnRN3GgM.jpg alt7d51792938a23188c9b900403b061837.jpg />are accessible by registered users only. These pages are password protected and contain information for current strong>condo owners/strong> only. Click the Register link in the top right of the website to request creation of your account. br />/em>/span> /span> /div> /div> div classhidden-xs col-sm-4 col-md-3 right_column> div classpages> h3>Pages/h3>ul> a href/ classindent_0>li class indent_0>Home/li>/a>a classindent_0>li class folder closed indent_0>i classfa fa-chevron-right>/i> Document Library/li>/a>a classindent_0>li class folder closed indent_0>i classfa fa-chevron-right>/i> Contacts/li>/a>a classindent_0>li class folder closed indent_0>i classfa fa-chevron-right>/i> Rental Information/li>/a>a href/p/Rental-Units-Description classindent_1>li class indent_1>Rental Units Description/li>/a>a href/p/Rental-Unit-Pictures classindent_1>li class indent_1>Rental Unit Pictures/li>/a>a href/p/Rental-Documents classindent_1>li class indent_1>Rental Documents/li>/a>a href/p/-Rental-Request- classindent_1>li class indent_1>*** Rental Request ***/li>/a>a classindent_0>li class folder closed indent_0>i classfa fa-chevron-right>/i> Useful Information/li>/a>a href/p/Amherst-Area-Resources classindent_1>li class indent_1>Amherst Area Resources/li>/a>a href/p/Area-Information classindent_1>li class indent_1>Area Information/li>/a>a href/p/FAQ classindent_0>li class indent_0>FAQ/li>/a>a href/p/Contact-Us classindent_0>li class indent_0>Contact Us/li>/a>/ul> script data-cfasyncfalse src/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js>/script>script> var trying_to_open_link_page_id false; $(document).ready(function () { $(.pages).on(click, a.insufficient_privileges_link, function() { if (docCookies.getItem(logged_in) true) { show_insufficient_privileges(); } else { trying_to_open_link_page_id $(this).data(page-id); show_log_in(); } }); }); function process_menu(){ // Close folders $(.pages ul a li.indent_1, ul a li.indent_2).css(display, none); // Open folder(s) from URI and highlight $(.pages ul a).each(function(index, element) { // Process the URI for pages that might have subdirectories var current_uri window.location.pathname; if(current_uri.substr(0, 3) /p/) { var parts current_uri.split(/); current_uri /+parts1+/+parts2; } // Check if page is in folder if($(this).attr(href) current_uri) { $(this).children(li).first().addClass(active).show(); var indent_class $(this).attr(class); var current_indent 0; if(indent_class indent_1) current_indent 1; else if(indent_class indent_2) current_indent 2; $(this).prevUntil(indent_0).each(function(index, element) { if($(this).hasClass(indent_+current_indent)) { $(this).children(li).first().show(); } else if($(this).hasClass(indent_+(current_indent-1))) { $(this).children(li).first().show(); if($(this).children(li).first().hasClass(closed)) { $(this).children(li).first().removeClass(closed); $(this).children(li).first().addClass(open); } current_indent--; } }); var stop false; var current_indent 0; if(indent_class indent_1) current_indent 1; else if(indent_class indent_2) current_indent 2; $(this).nextUntil(indent_0).each(function(index, element) { if($(this).hasClass(indent_0) || stop) { stop true; return; } else if($(this).hasClass(indent_+current_indent)) { $(this).children(li).first().show(); } else if($(this).hasClass(indent_+(current_indent-1))) { $(this).children(li).first().show(); current_indent--; } }); } }); // Remove empty folders $(.pages ul a li.folder).each(function(index, element) { var is_indent_0 $(this).hasClass(indent_0); if(is_indent_0) { var count_non_folders 0; $($(this).parent().nextUntil(.indent_0)).each(function() { if(!$(this).find(li).hasClass(folder)) { count_non_folders++; } }); if(count_non_folders 0) $(this).parent().remove(); } else { var count_non_folders 0; $($(this).parent().nextUntil(.indent_1, .indent_0)).each(function() { if(!$(this).find(li).hasClass(folder)) { count_non_folders++; } }); if(count_non_folders 0) $(this).parent().remove(); } }); // Handle clicks $(.pages ul a li.folder).click(function(e) { var is_open $(this).hasClass(open); var is_indent_0 $(this).hasClass(indent_0); if(is_open) { $(this).removeClass(open); $(this).addClass(closed); if(is_indent_0) { $($(this).parent().nextUntil(.indent_0)).each(function(index){ $(this).children(li).first().hide(); if($(this).children(li).first().hasClass(open)) { $(this).children(li).first().removeClass(open); $(this).children(li).first().addClass(closed); } }); } else { $($(this).parent().nextUntil(.indent_1, .indent_0)).each(function(index){ $(this).children(li).first().hide(); }); } } else { $(this).removeClass(closed); $(this).addClass(open); if(is_indent_0) { $($(this).parent().nextUntil(.indent_0)).each(function(index){ if($(this).attr(class) ! indent_2) $(this).children(li).first().show(); }); } else { $($(this).parent().nextUntil(.indent_1, .indent_0)).each(function(index){ $(this).children(li).first().show(); }); } } }); } function reload_menu(){ // API call var api_options { base_url: API_URL, http_method: GET, uri: /website/pages, public: null, log_call: false, xdebug: false, cache: { allow: true, expires: 120, custom_key: default, }, params: { website_context: document.domain, }, success: function(response) { if(response.code 0) { // Initialize var new_menu_html ; // Loop over each for(var i 0; i response.response.pages.length; i++) { // Caputure info var page response.response.pagesi; // Create link var classes ; if(parseInt(page.page_type.id) 102) classes + folder closed; classes + indent_+page.indent; var href ; if(parseInt(page.page_type.id) 100) if(page.data && page.data.url) href href+page.data.url.replace(//g, %22)+ target_blank data-page-id+page.id+; else href href# classinsufficient_privileges_link data-page-id+page.id+; else if(parseInt(page.page_type.id) 101) href href/file/document-page/+page.id+/+page.data.filename+; else if(page.uri) href href+page.uri+; var data_string ; new_menu_html + a +href+ classindent_+page.indent+>; new_menu_html + li class+classes+ +data_string+>; if(parseInt(page.page_type.id) 102) { new_menu_html + i classfa fa-chevron-right>/i> ; } new_menu_html + page.title; if(page.restrictions) { new_menu_html + i classfa fa-lock>/i>; } else if(parseInt(page.page_type.id) 100 && page.data ! null && typeof page.data object) { var url_components parse_url(page.data.url); if(url_components.host.indexOf(facebook.com) ! -1) { new_menu_html + i classfa fa-facebook-official>/i>; } else if(url_components.host.indexOf(twitter.com) ! -1) { new_menu_html + i classfa fa-twitter>/i>; } else if(url_components.host.indexOf(instagram.com) ! -1) { new_menu_html + i classfa fa-instagram>/i>; } else if(url_components.host.indexOf(townehouseofamherst.com) -1) { new_menu_html + i classfa fa-external-link>/i>; } } else if(parseInt(page.page_type.id) 101) { new_menu_html + i classfa fa-cloud-download>/i>; } new_menu_html + /li>; new_menu_html + /a>; } // Replace HTML $(.pages ul).html(new_menu_html); // Process menu process_menu(); // Check if we were trying to open a link if (trying_to_open_link_page_id) { if ($(.pages).find(adata-page-id+trying_to_open_link_page_id+).length && $(.pages).find(adata-page-id+trying_to_open_link_page_id+).first().attr(href) ! #) { // Note: Cannot open URL in new tab, otherwise its blocked as a popup window.location.href $(.pages).find(adata-page-id+trying_to_open_link_page_id+).first().attr(href); } else { setTimeout(function () { show_insufficient_privileges(); }, 500); } } } }, error: function(response) { // Message handled by api.js, do any clean up necessary } }; api_call(api_options); } $(document).ready(function(e) { // Process menu process_menu(); // Load menu with JS to use proper privileges (if logged in) reload_menu(); }); // From: https://github.com/kvz/phpjs/blob/master/functions/url/parse_url.js function parse_url(str, component) { try { this.php_js this.php_js || {}; } catch (e) { this.php_js {}; } var query; var ini (this.php_js && this.php_js.ini) || {}; var mode (iniphpjs.parse_url.mode && iniphpjs.parse_url.mode.local_value) || php; var key source, scheme, authority, userInfo, user, pass, host, port, relative, path, directory, file, query, fragment ; var parser { php : /^(?:(^:\/?#+):)?(?:\/\/()(?:(?:()(?:(^:@\/*):?(^:@\/*))?@)?(^:\/?#*)(?::(\d*))?))?()(?:(()(?:(?:^?#\/*\/)*)()(?:^?#*))(?:\?(^#*))?(?:#(.*))?)/, strict : /^(?:(^:\/?#+):)?(?:\/\/((?:((^:@\/*):?(^:@\/*))?@)?(^:\/?#*)(?::(\d*))?))?((((?:^?#\/*\/)*)(^?#*))(?:\?(^#*))?(?:#(.*))?)/, loose : /^(?:(?!^:@+:^:@\/*@)(^:\/?#.+):)?(?:\/\/\/?)?((?:((^:@\/*):?(^:@\/*))?@)?(^:\/?#*)(?::(\d*))?)(((\/(?:^?#(?!^?#\/*\.^?#\/.+(?:?#|$)))*\/?)?(^?#\/*))(?:\?(^#*))?(?:#(.*))?)/ // Added one optional slash to post-scheme to catch file:/// (should restrict this) }; var m parsermode.exec(str); var uri {}; var i 14; while (i--) { if (mi) { urikeyi mi; } } if (component) { return uricomponent.replace(PHP_URL_, ) .toLowerCase(); } if (mode ! php) { var name (iniphpjs.parse_url.queryKey && iniphpjs.parse_url.queryKey.local_value) || queryKey; parser /(?:^|&)(^&*)?(^&*)/g; uriname {}; query urikey12 || ; query.replace(parser, function($0, $1, $2) { if ($1) { uriname$1 $2; } }); } delete uri.source; return uri; } /script> /div> div classyotm_box styledisplay:none;> h3>Yard of the Month/h3> span classtext>/span> /div> div classrotating_photos_box >/div> /div> /div> /div> /div> !-- row content --> div classrow bottom_info> div classcol-xs-12 stylemin-height:0;>/div> /div> !-- row bottom_info --> /div> !-- container-fluid --> footer classrow footer> div classcol-xs-12> Copyright © 2024. All Rights Reserved.span classshow_when_big> | /span>span classshow_when_small>br>/span>a hrefhttps://www.hoa-express.com target_blank styletext-decoration:none;>Homeowners association website/a> by a hrefhttps://www.hoa-express.com target_blank>HOA Express/a> | a hrefhttps://www.hoa-express.com/privacy-and-terms target_blank relnofollow>Privacy & Terms/a>span classfull_site_link_cont styledisplay:none; font-size:12px;> br>br>a classfull_site_link>Full Site/a>/span>span classmobile_site_link_cont styledisplay:none; font-size:12px;> br>br>a classmobile_site_link>Mobile Site/a>/span> /div> /footer> !-- footer --> !-- Global variables -->script typetext/javascript>var API_URL https://legacy-api.hoa-express.com;var pre_UL8JL;var pre_tvFk;var pre_zOwq;var pre_pjiSKoY;var pre_cYhtvFl;var pre_cYhX;var pre_LleKDn;var pre_yMREXb;var pre_AsTDyoPG;var pre_TDyMRp;var pre_Llebqi;var pre_Llzl;var pre_fnrBz;var pre_nrJaKnc;var pre_FQ;var pre_FoVULo;var pre_PHdgAO;var pre_wcYhtzX;var pre_LY;var pre_bqkNfnoR;var pre_ZPHddOv;var pre_oVULleEQR;var pre_RpjMs;var pre_cj6d;var pre_Owh8;var pre_e5u;var pre_gAsgf;var pre_PHda;var pre_nrJaLK;var pre_vFoVUJ;var pre_OwcYqM;var pre_Yt;var pre_zOwcYHY;var pre_jmy7;var pre_sTDr;var pre_pjiN;var pre_mIzOwvZp;var pre_Sph;var pre_Jab;var pre_gAsTC;var pre_kNfnrJt;var pre_pPl;var pre_dgAsTwqR;var pre_KBQfD;var pre_gd;var pre_IzOfC;var pre_VULFx;var pre_Yh+B;var pre_vFoVULBb;var pre_rJam;var pre_AsTH;var pre_tiC;var pre_AsTDVR;var pre_uxZHnJ;var pre_GAw;var pre_PHad;var pre_ebqkNfbj;var pre_VULlN;var pre_RpjirTW;var pre_dgARTp;var pre_YhtcU;var pre_RsM;var pre_jiSKLe;var pre_kQe;var pre_HdgAt;var pre_FoK;var pre_iSKap;var pre_tvFokSE;var pre_MRMc;var pre_wcYF;var pre_KBQCuG;var pre_iSKBH;var pre_cY06r;var pre_qkNfnE;var pre_WuxLO;var pre_xVxW;var pre_SKE;var pre_xZPHdm;var pre_dgAsjhf;var pre_Ti;var pre_oVULDkK;var pre_sTVqP;var pre_GmIzOmQ;var pre_tvFoVUkci;var pre_SKBQCzhC;var pre_qkNfC;var pre_yzo;var pre_oVUtv;var pre_RpG;var pre_fnrJaWisG;var pre_DKWh;var pre_OwcRY;var pre_uxZPC;var pre_HdgAsfKe;var pre_aWA;var pre_NfnrJaCG;var pre_JaWGzR;var pre_mI0sK;var pre_gAsTDxFE;var pre_DyMeHH;var pre_bqkNdsZ;var pre_vFohyR;var pre_It6a;var pre_OwcYhpQD;var pre_YhtvFoMo;var pre_qkNfnrgzP;var pre_ULlebqS;var pre_lebrd;var pre_JaWuCum;var pre_wd;var pre_Yhtvmy;var pre_TDyvQ;var pre_AsmCw;var pre_ZK1;var pre_ebqDIF;var pre_uL;var pre_VUA4;var pre_sTDyPA;var pre_MvHa;var pre_MRpjNft;var pre_rJaWubgs;var pre_iSB;var pre_IzOwcYuu;var pre_xZPHRQ;var pre_WuxZPtuc;var pre_aWuAeF;var pre_tvFoVGhy;var pre_VULlePo;var pre_gAEdm;var pre_kNfnrpd;var pre_GmIzOwa;var pre_IzOwchr;var pre_cYhtUp;var pre_qC;var pre_pjiSvC;var pre_xZPsRA;var pre_Nl3;var pre_leI;var pre_htvw;var pre_DyS;var pre_MRpj;var pre_htfW;var pre_ebqkNPX;var pre_NfnKX;var pre_ZPHS;var pre_lebqkC;var pre_wcYhkY;var pre_sTDyMc;var pre_rJaWMZg;var pre_fRz;var pre_xZAY;var pre_kNfnQ;var pre_FoVn;var pre_zg/m;var pre_b7J+;var pre_KBfhM;var pre_lebqkNJjq;var pre_Kbq;var pre_LlebuT;var pre_htvFQ;var pre_A02;var pre_lebqoi;var pre_iSKBQkO;var pre_wcV+;var pre_mFi;var pre_Un;var pre_rJaWuxdsq;var pre_fnrJap;var pre_zOwcC;var pre_yMRpPDm;var pre_SKBwK;var pre_Gm2aj;var pre_vFX;var pre_yMY;var pre_yMRpjbLY;var pre_aWuxTd;var pre_LlebqkEeF;var pre_IzOwG;var pre_ZPHdgX;var pre_rJjz;var pre_NfnrJHI;var pre_Izh;var pre_oV5;var pre_uxHP;var pre_ZPO;var pre_SKBQi;var pre_o4g3;var pre_sTlp;var pre_KBQCXfOa;var pre_DyMRHh;var pre_mIzOwcBB;var pre_ULlXJ;var pre_GmIzrF;var pre_ULlebIfG;var pre_jiQH;var pre_pjiWu;var pre_DyMRpx;var pre_mIzIT;var pre_NfnrJnG;var pre_JaWuxfqs;var pre_nysx;var pre_htvFoVuVF;var pre_iVfo;var pre_vf;var pre_wcYhtvgwN;var pre_tvbP;var pre_FoVULlyJ;var pre_HdgXm;var pre_VIZ;var pre_hFP;var pre_Hdu;var pre_aU;var pre_zO3SZ;var pre_nrJaWFU;var pre_Ho0;var pre_cYhtvH;var pre_WuxZnw;var pre_qkNG;var pre_OwcYhtGAa;var pre_fnrJKJ;var pre_TDtf;var pre_vFoVjO;var pre_ebqkOV;var pre_mIzOE;var pre_ULlebw;var pre_bqkNfP;var pre_dgHz;var pre_FoVUSz;var pre_lVk;var pre_dXQ3;var pre_kNfTCH;var pre_kNHIT;var pre_GmIE;var pre_oVULlnh;var pre_YhtvFSo;var pre_nrJaWuX;var pre_JIr;var pre_ebT;var pre_nrO;var pre_VULlebt;var pre_NfIl;var pre_TDyMDRY;var pre_WuU;var pre_W5M;var pre_jiSKBAyV;var pre_aWuxZd;var pre_RpjiSyI;var pre_qkOCA;var pre_MRpjiEFW;var pre_rE8;var pre_OD7;var pre_zOwcYhjia;var pre_uxZPHJH;var pre_jiSbGv;var pre_htvFoh;var pre_PHdgrWa;var pre_fnbD;var pre_bqas;var pre_bqks;var pre_PzvT;var pre2_dtpre_G+pre_m+pre_I+pre_z+pre_O+pre_w+pre_c+pre_Y+pre_h+pre_t+pre_v+pre_F+pre_o+pre_V+pre_U+pre_L+pre_l+pre_e+pre_b+pre_q+pre_k+pre_N+pre_f+pre_n+pre_r+pre_J+pre_a+pre_W+pre_u+pre_x+pre_Z+pre_P+pre_H+pre_d+pre_g+pre_A+pre_s+pre_T+pre_D+pre_y+pre_M+pre_R+pre_p+pre_j+pre_i+pre_S+pre_K+pre_Gm+pre_mI;var pre2_ctpre_Iz+pre_zO+pre_Ow+pre_wc+pre_cY+pre_Yh+pre_ht+pre_tv+pre_vF+pre_Fo+pre_oV+pre_VU+pre_UL+pre_Ll+pre_le;var API_PUBLIC_KEYpre2_dt+pre2_ct;var pre_UwyKBWDA;var pre_ibSsB;var pre_oefu;var pre_Wf;var pre_OLrdWpL;var pre_mJXoZVaaX;var pre_ngod;var pre_SzlRNH;var pre_afQTEtsR;var pre_ibmJXf;var pre_Szik;var pre_e8;var pre_bmJXoZWO;var pre_QTESYb;var pre_TEA;var pre_RINYcv;var pre_dFlq;var pre_gtkUisT;var pre_veOLC;var pre_kQyA;var pre_nHApR;var pre_fQp;var pre_NG;var pre_HApKt;var pre_qgtqM;var pre_WYGafpGA;var pre_ve5;var pre_tkUwzU;var pre_hIvU;var pre_OLkR;var pre_jCsDE;var pre_wyKBWYR;var pre_aptK;var pre_YGamPb;var pre_Xoq;var pre_re2;var pre_lRINhQO;var pre_ApW;var pre_kUU;var pre_CveOqo;var pre_TBBG;var pre_mJXoP;var pre_wyKBrQo;var pre_bmJXorY;var pre_QCDF;var pre_LrdFiYDc;var pre_Gafxx;var pre_LrdSTj;var pre_ESzMP;var pre_oZVxqgeNi;var pre_yKBWYFf;var pre_HAC;var pre_qgVEt;var pre_eOLrdWQj;var pre_KBWrKq;var pre_pPDMcfyv;var pre_fQTESq;var pre_afQOk;var pre_unHApaXt;var pre_lRINTci;var pre_jCveOLhE;var pre_gtkUwytU;var pre_unHAXUe;var pre_d9;var pre_pPL;var pre_hunHAkif;var pre_ld;var pre_OLrdFy;var pre_huw;var pre_veOLrdtL;var pre_ur;var pre_xqgtkWl;var pre_KBWYkmz;var pre_ZVxWiq;var pre_ZZ;var pre_RIF;var pre_QTESzP;var pre_Ua;var pre_CveOLrC;var pre_ZVxqe;var pre_FibHl;var pre_LrdFibHGN;var pre_fQTeB;var pre_wyKBWot;var pre_macb;var pre_eOTI;var pre_ESJ;var pre_HKsa;var pre_jCvR;var pre_veOZVh;var pre_HApPp;var pre_j361;var pre_zlRINh;var pre_dFibmMmS;var pre_INhuDZZ;var pre_unAKq;var pre_tkUwyKvRE;var pre_Ie;var pre_BWYGaY;var pre_BWmLg;var pre_tkUwyZZN;var pre_GK;var pre_LrdFpq;var pre_bmJXg;var pre_YAX;var pre_rdFixi;var pre_Xc76;var pre_rdFibMy;var pre_O1ab;var pre_HApPDG;var pre_oZVb;var pre_VxqgeK;var pre_QTEt;var pre_FidqE;var pre_OLrLm;var pre_zDuD;var pre_INhuna;var pre_INhBD;var pre_gp;var pre_ibmJAH;var pre_JXoZVXT;var pre_txQ;var pre_eOLg;var pre_oZBWF;var pre_zlmgD;var pre_ApPB;var pre_gtkkIq;var pre_FibmJXXd;var pre_kUwyKwpN;var pre_YGafdHe;var pre_CveOR;var pre_C6a2;var pre_mJXoZjr;var pre_Jb0;var pre_rdL;var pre_afQTX;var pre_WYGi;var pre_qwf;var pre_qgtkdv;var pre_JXoZq;var pre_ibc0;var pre_JXoZVxPh;var pre_VxqNw;var pre_pPDHNm;var pre_pPDMBa;var pre_BZ;var pre_BWYGw;var pre_yKBnd;var pre_UwyKlmg;var pre_yKBWjA;var pre_NhunHp;var pre_F7;var pre_L320;var pre_qgtkUs;var pre_JXoP;var pre_YGMjA;var pre_Az;var pre_mJVj;var pre_rdFw;var pre_kUwyKBSq;var pre_VxqgtkA;var pre_kUwI;var pre_WYB;var pre_nHApPR;var pre_eOLrdFVkK;var pre_fQTEB;var pre_Vf;var pre_hund;var pre_eOLrVy;var pre_vezbY;var pre_Sj;var pre_TESzBX;var pre_mJXoC;var pre_rdFibmqZ;var pre_ibmFem;var pre_UwRIF;var pre_unHQjM;var pre_RINhuXOE;var pre_yKBWYGek;var pre_KBhvL;var pre_wyKewb;var pre_UwyKBO;var pre_GafQCR;var pre_KBWYGxsl;var pre_XoZVxm;var pre_ESzlmK;var pre_XoZc;var pre_NhuM;var pre_fc;var pre_b98;var pre_nHd;var pre_zlRIn;var pre_VxN;var pre_TESzlzW;var pre_dFirEG;var pre_hunHR;var pre_lRIP;var pre_gtkUwc;var pre_YGafQSw;var pre_FibmJXIn;var pre_LrFL;var pre_Cvsnv;var pre_pGev;var pre_dFibmJG;var pre_oZVxpi;var pre_INojQ;var pre_tkUED;var pre_ApPDMW;var pre_GafQTco;var pre_jCvePfj;var pre_RpxL;var pre_OLrdFid;var pre_tkQlo;var pre_ZVxqgV;var pre_xquCF;var pre_FibmzQH;var pre_ApPDNnv;var pre_qgtkUwFq;var pre_RINhYhM;var pre_gtrw;var pre_lRhQ;var pre_JXoMHb;var pre_QTr;var pre_bmB;var pre_wyQSu;var pre_bmJCNS;var pre_SzlRIJ;var pre_CveOLTpi;var pre_veOLrV;var pre_NhunHII;var pre_ibmJXobQ;var pre_Gas;var pre_oZVxqa;var pre_XoZVxqKkx;var pre_TESsMw;var pre_dFibvmI;var pre_ZVxqgtfNE;var pre_yEe;var pre_ESzlRII;var pre_yKL;var pre_ZVORw;var pre_xqgtc;var pre_xqgNI;var pre_nHAsE;var pre_Ek;var pre_wI;var pre_NhAlO;var pre_XoZVxd;var pre_zlRR;var pre_WYGaf;var pre_jCveOtC;var pre_KaBM;var pre_afIL;var pre_UwyMl;var pre_BWYMup;var pre_xqgtkUF;var pre_xVvQ;var pre_kUwyib;var pre_SzluXQ;var pre_Vxqgth;var pre2_aQpre_j+pre_C;var pre2_Hipre_v+pre_e+pre_O+pre_L+pre_r+pre_d+pre_F+pre_i+pre_b+pre_m+pre_J+pre_X;var API_PRIVATE_KEYpre2_aQ+pre2_Hi;var SSL_FILE_URL https://cdn-uploads.hoa-express.com;var CDN_COMMON_URL https://cdn-common.hoa-express.com;var DEPENDENCIES_VERSIONS JSON.parse({\animate.css\:\3.2.0\,\bootstrap-datepicker\:\1.6.4\,\chart.js\:\2.5.0\,\cropper\:\3.1.3\,\datatables\:\1.10.16\,\fullcalendar\:\3.6.1\,\jquery\:\2\,\jquery.payment\:\2.0.0\,\pdf.js\:\1.8.188\,\photoswipe\:\4.1\,\weather-icons\:\1.3.2\});var PLAN_NUMBER 10;var WEBSITE_BUILDER_URL hoa-express.com;var MOMENT_DATE_FORMATS JSON.parse({\full\:{\MDY\:\MMMM D, YYYY\,\DMY\:\D MMMM YYYY\},\abbreviated\:{\MDY\:\MMM D, YYYY\,\DMY\:\D MMM YYYY\},\split_day\:{\MDY\:\MMMM D\,\DMY\:\D\},{\MDY\:\D, YYYY\,\DMY\:\D MMMM YYYY\},\split_month\:{\MDY\:\MMMM D\,\DMY\:\D MMMM\},{\MDY\:\MMMM D, YYYY\,\DMY\:\D MMMM YYYY\}});var MOMENT_TIME_FORMATS JSON.parse({\full\:{\12HR\:\h:mma\,\24HR\:\HH:mm\,\24HR_NO_COLON\:\HHmm\},\no_minutes\:{\12HR\:\ha\,\24HR\:\HH:mm\,\24HR_NO_COLON\:\HHmm\},\split_hour_no_minutes_same_ampm\:{\12HR\:\h\,\24HR\:\HH:mm\,\24HR_NO_COLON\:\HHmm\},{\12HR\:\ha\,\24HR\:\HH:mm\,\24HR_NO_COLON\:\HHmm\},\split_hour_same_ampm\:{\12HR\:\h:mm\,\24HR\:\HH:mm\,\24HR_NO_COLON\:\HHmm\},{\12HR\:\h:mma\,\24HR\:\HH:mm\,\24HR_NO_COLON\:\HHmm\},\split_hour_no_minutes\:{\12HR\:\ha\,\24HR\:\HH:mm\,\24HR_NO_COLON\:\HHmm\},{\12HR\:\ha\,\24HR\:\HH:mm\,\24HR_NO_COLON\:\HHmm\},\split_hour\:{\12HR\:\h:mma\,\24HR\:\HH:mm\,\24HR_NO_COLON\:\HHmm\},{\12HR\:\h:mma\,\24HR\:\HH:mm\,\24HR_NO_COLON\:\HHmm\}});var DATEPICKER_DATE_FORMATS JSON.parse({\MDY\:\MM d, yyyy\,\DMY\:\d MM yyyy\});var WEBSITE_DATE_FORMAT MDY;var WEBSITE_TIME_FORMAT 12HR;var TIMEZONE America/New_York;var LOCATION_COUNTRY USA;var LOCATION_TWO_LETTER_COUNTRY_CODE US;var ENVIRONMENT_HOSTNAME hoa-express.com;var RECAPTCHA_SITE_KEY 6Le2sb4UAAAAAEDLtHMznt83nLNXSzfKgfQV2sy_;/script>!-- reCAPTCHA -->script srchttps://www.google.com/recaptcha/api.js?render6Le2sb4UAAAAAEDLtHMznt83nLNXSzfKgfQV2sy_>/script>!-- Merged scripts -->script srchttps://cdn-common.hoa-express.com/js/merged/sites.min.js?r4f48cfd270c4b3d4989a3cb915a489f6>/script>!-- Matomo --> script typetext/javascript> var _paq _paq || ; _paq.push(enableLinkTracking); _paq.push(trackPageView); (function() { var u//matomo.hoa-express.com/; _paq.push(setTrackerUrl, u+piwik.php); _paq.push(setSiteId, 2565232991); var ddocument, gd.createElement(script), sd.getElementsByTagName(script)0; g.typetext/javascript; g.asynctrue; g.defertrue; g.srcu+piwik.js; s.parentNode.insertBefore(g,s); })(); /script> noscript>p>img srchttps://matomo.hoa-express.com/piwik.php?idsite2565232991 styleborder:0; alt />/p>/noscript> !-- Google Translate -->!-- Miscellaneous -->script>$(document).ready(function() { $(footer).css({ cssText: display: block !important; visibility: visible !important; opacity: 1 !important; z-index: auto !important; position: static !important; height: auto !important; transform: none !important; auto: none !important; width: 100% !important; overflow: visible !important; }); $(footer > div).css({ cssText: display: block !important; visibility: visible !important; opacity: 1 !important; z-index: auto !important; position: static !important; height: auto !important; transform: none !important; auto: none !important; width: 100% !important; overflow: visible !important; }); $(footer > div > a).css({ cssText: display: inline !important; visibility: visible !important; opacity: 1 !important; z-index: auto !important; position: static !important; height: auto !important; transform: none !important; auto: none !important; overflow: visible !important; });});/script> !-- tableDnD --> script srchttps://cdn-common.hoa-express.com/js/tablednd/jquery.tablednd.min.js?r4f48cfd270c4b3d4989a3cb915a489f6 typetext/javascript>/script> !-- Marked --> script srchttps://cdn.jsdelivr.net/marked/latest/marked.min.js typetext/javascript>/script> !-- Home scripts --> script> // Initialize var page_data {}; var weather_icons_loaded false; var infiniteLoop; var weather_inputs {}; // Set marked options marked.setOptions({ breaks: true, }); // Load data function load_homepage_data(data, force_refresh) { // Store page data page_data data; // Clear things if we are forcing a refresh if(force_refresh true) { $(.banner .photo_cont .weather).remove(); $(.yotm_box).remove(); $(.rotating_photos_box).remove(); $(.bottom_info .news).remove(); $(.bottom_info .events).remove(); } // Handle header $(.content h1).first().text(data.header); // Handle weather if(page_data && page_data.weather && page_data.weather.visible) { // Load icons if(!weather_icons_loaded) { weather_icons_loaded true; $(head).append(link relstylesheet typetext/css href//cdnjs.cloudflare.com/ajax/libs/weather-icons/1.3.2/css/weather-icons.min.css>); } // API call var api_options { base_url: API_URL, http_method: GET, uri: /website/page/type/homepage/weather, public: true, log_call: false, xdebug: false, cache: { allow: true, expires: 300, custom_key: default, }, params: { website_context: document.domain, }, success: function(response) { // Form and add weather HTML var weather_html div classweather hidden-xs unhide_home>+ table>+ tr>+ td classicon>/td>+ td>+ span classcondition>em>Loading weather.../em>/span>br>+ span classdetails>/span>+ /td>+ /tr>+ /table>+ /div>; $(.banner .photo_cont).append(weather_html); // Add appropriate content to weather overlay if(response.code 0) { $(.weather .icon).html(i classwi wi- + response.response.icon + >/i>); $(.weather .condition).html(response.response.condition); $(.weather .details).html(response.response.temperature + ° + response.response.scale + | + response.response.humidity + % Humidity); } else if(response.code 100) { // Location not found $(.weather .condition).html(Weather: Location not found); } else { $(.weather .condition).html(Error loading weather); } }, error: function(response) { // Message handled by api.js, do any clean up necessary $(.weather .condition).html(Error loading weather); } }; api_call(api_options); } // Handle YOTM if($(.right_column .yotm_box).length 0) { $(.right_column).append(div classyotm_box +(!page_data.yotm || !page_data.yotm.visible ? styledisplay:none; : )+>h3>Yard of the Month/h3>/div>); if(page_data.yotm) { $(.right_column .yotm_box).append((page_data.yotm.photo_url ! undefined && page_data.yotm.photo_url ! ? img src+page_data.yotm.photo_url+> : )+span classtext>+page_data.yotm.description+/span>); } } if(page_data.yotm && (page_data.yotm.photo_url undefined || page_data.yotm.photo_url ) && (page_data.yotm.description undefined || page_data.yotm.description )) { $(.right_column .yotm_box).hide(); } // Handle rotating photos if($(.right_column .rotating_photos_box).length 0) { $(.right_column).append(div classrotating_photos_box +(!page_data.rotating_photos || !page_data.rotating_photos.visible ? styledisplay:none; : )+>/div>); } if(page_data.rotating_photos && page_data.rotating_photos.photos && page_data.rotating_photos.photos.constructor Array) { for(var i 0; i page_data.rotating_photos.photos.length; i++) { $(.rotating_photos_box).append(img src + page_data.rotating_photos.photosi.url + >); } } if(page_data.rotating_photos && page_data.rotating_photos.visible && page_data.rotating_photos.photos && page_data.rotating_photos.photos.constructor Array && page_data.rotating_photos.photos.length > 0) { var InfiniteRotator { init: function() { // Settings var initialFadeIn 1000; // Initial fade-in time (in milliseconds) var itemInterval 5000; // Interval between items (in milliseconds) var fadeTime 2500; // Cross-fade time (in milliseconds) var currentItem 0; // Set current item var numberOfItems $(.rotating_photos_box img).length; // Number of items // Show first item $(.rotating_photos_box img).eq(currentItem).fadeIn(initialFadeIn); // Set height $(.rotating_photos_box).height($(.rotating_photos_box).width() * .8); $(.rotating_photos_box img).height($(.rotating_photos_box).width() * .8); // Clear any existing interval clearInterval(infiniteLoop); // Loop through the items infiniteLoop setInterval(function() { $(.rotating_photos_box img).eq(currentItem).fadeOut(fadeTime); if(currentItem numberOfItems - 1) { currentItem 0; } else { currentItem++; } $(.rotating_photos_box img).eq(currentItem).fadeIn(fadeTime); }, itemInterval); } }; InfiniteRotator.init(); } // Handle news if(page_data.news && page_data.news.visible) { // Get rid of any existing news rows $(.bottom_info .row.news).remove(); // Add the HTML $(.bottom_info > div.col-xs-12).append(div classrow news>div classcol-xs-12 col-md-2>h3>News/h3>/div>div classcol-xs-12 col-sm-4 col-md-4 article_0>/div>div classspacer visible-xs-block>/div>div classcol-xs-12 col-sm-4 col-md-3 article_1>/div>div classspacer visible-xs-block>/div>div classcol-xs-12 col-sm-4 col-md-3 article_2>/div>/div>); // API call var api_options { base_url: API_URL, http_method: GET, uri: /website/page/type/homepage/recent-news, public: null, log_call: false, xdebug: false, cache: { allow: true, expires: 60, }, params: { website_context: document.domain, }, success: function(response) { if(response.code 0) { for(var i 0; i response.response.articles.length; i++) { // Transfer data var article response.response.articlesi; // Process text var text marked(decodeSpecialCharacters(article.text)); text stripHTML(text.replace(/br>/ig, ).replace(/br\/>/ig, ).replace(/br \/>/ig, )); text encodeSpecialCharacters(text); // Handle by length if(text.length > 250) { if(text.indexOf( , 250) > 250 && text.indexOf( , 250) 300) { text text.substring(0, text.indexOf( , 250)); } else { text text.substring(0, 250); } text + ... a href+article.uri+/article/+rfc3986EncodeURIComponent(article.title.replace(/\W+/g, ).replace(/ /g, -))+-+article.id+>Read more/a>; } else { text + a href+article.uri+/article/+rfc3986EncodeURIComponent(article.title.replace(/\W+/g, ).replace(/ /g, -))+-+article.id+>Read full article/a>; } // Add HTML $(.bottom_info .news .article_ + i).html(h4> + article.title + span classdate> + moment(Date.createFromMysql(article.published)).fromNow(true) + ago/span>/h4>span classtext> + text + /span>); } // Handle if no articles if(response.response.articles.length 0) $(.bottom_info .news).remove(); } }, error: function(response) { // Message handled by api.js, do any clean up necessary } }; api_call(api_options); } // Handle events if(page_data.events && page_data.events.visible) { // Get rid of any existing events rows $(.bottom_info .row.events).remove(); // Add the HTML $(.bottom_info > div.col-xs-12).append(div classrow events>div classcol-xs-12 col-md-2>h3>Upcoming Events/h3>/div>div classcol-xs-12 col-sm-4 col-md-4 event_0>/div>div classspacer visible-xs-block>/div>div classcol-xs-12 col-sm-4 col-md-3 event_1>/div>div classspacer visible-xs-block>/div>div classcol-xs-12 col-sm-4 col-md-3 event_2>/div>/div>); // API call var api_options { base_url: API_URL, http_method: GET, uri: /website/page/type/homepage/upcoming-events, public: null, log_call: false, xdebug: false, cache: { allow: true, expires: 60, }, params: { website_context: document.domain, }, success: function(response) { if(response.code 0) { for(var i 0; i response.response.events.length; i++) { // Grab the event var single_event response.response.eventsi; // Set day text var day format_two_dates({ mode: day, date1: moment(Date.createFromMysql(single_event.start, true)), date2: moment(Date.createFromMysql(single_event.end, true)), }); // Set time text var time ; if(!parseInt(single_event.all_day)) { time format_two_dates({ mode: time, date1: moment(Date.createFromMysql(single_event.start, true)), date2: moment(Date.createFromMysql(single_event.end, true)), }); } else { time All day; } // Add the event $(.bottom_info .events .event_ + i).html(h4> + single_event.title + span classdate> + day + /span>/h4> + span classtext> + strong>Time:/strong> + time + ((single_event.location) ? br>strong>Location:/strong> + single_event.location : ) + br>a href+single_event.uri+/event/-+single_event.id+_+single_event.occurrence+>More info/a> + /span>); } if(response.response.events.length 0) $(.bottom_info .events).remove(); } }, error: function(response) { // Message handled by api.js, do any clean up necessary } }; api_call(api_options); } } // Page scripts $(document).ready(function() { // Load page load_page({ show_no_text_message: true, on_success: function(response) { load_homepage_data(response.response.data); }, cache: { custom_key: homepage, }, }); }); // Editor JS code and dependencies function editor_js() { // API call var api_options { base_url: API_URL, http_method: GET, uri: /regions, public: true, log_call: false, xdebug: false, cache: { allow: true, expires: 150, }, params: { website_context: document.domain, }, success: function(response) { if(response.code 0) { // Loop over countries countries response.response.countries; for (var i 0; i countries.length; i++) { var country countriesi; if (country.code USA) { if (country.division_names1) { weather_inputs.name_for_division1 country.division_names1; } if (country.region_choice_label) { weather_inputs.region_choice_label country.region_choice_label; weather_inputs.regions country.regions; } if (weather_inputs.regions) { for (var category in weather_inputs.regions) { if (weather_inputs.regions.hasOwnProperty(category)) { var regions weather_inputs.regionscategory; weather_inputs.region_options_html + optgroup label+category+>; for (var x 0; x regions.length; x++) { var region regionsx; weather_inputs.region_options_html + option value+region.id+>+region.name+/option>; } weather_inputs.region_options_html + /optgroup>; } } } } } } }, error: function(response) { // Message handled by api.js, do any clean up necessary // Do nothing } }; api_call(api_options); // Modify settings $(.page_text).on(click, .admin_control button.modify_settings, function() { // Create the modal HTML var modal_html form data-uri/website/page/type/homepage/settings data-methodPUT data-submit-generic-keysfalse data-error-messageThere was a problem updating the settings. data-ignore-empty-inputstrue>+ div classform-group>+ label forheader>Header/label>+ input typetext classform-control idheader required placeholderWelcome to our community website! value+encodeSpecialCharacters(page_data.header)+ data-missing-messagePlease enter a welcoming header for the homepage maxlength75>+ /div>+ strong>Show/hide features/strong>br>+ div classcheckbox>+ label>+ input typecheckbox idshow_weather value1 +(page_data.weather && page_data.weather.visible ? checked : )+> Show the current weather+ /label>+ /div>+ div classcheckbox>+ label>+ input typecheckbox idshow_news value1 +(page_data.news && page_data.news.visible ? checked : )+> Show recent news articles a hrefhttps://help.hoa-express.com/pages-and-folders/homepage-settings/homepage-news-and-events target_blank stylefont-style:italic; font-size:85%;>Where do news articles come from?/a>+ /label>+ /div>+ div classcheckbox stylemargin-bottom:25px;>+ label>+ input typecheckbox idshow_events value1 +(page_data.events && page_data.events.visible ? checked : )+> Show upcoming events a hrefhttps://help.hoa-express.com/pages-and-folders/homepage-settings/homepage-news-and-events target_blank stylefont-style:italic; font-size:85%;>Where do events come from?/a>+ /label>+ /div>+ div classform-group>+ label foralternate_weather_location>Alternate location for weather small>a hrefhttps://help.hoa-express.com/pages-and-folders/homepage-settings/homepage-weather target_blank>What is this for?/a>/small>/label>+ input typetext classform-control idalternate_weather_location placeholderSunnyville, CA value+(page_data.weather && page_data.weather.alternate_location ? page_data.weather.alternate_location : )+ data-invalidmessageThis location does not appear to be valid; try a different one>+ /div>+ div classform-group>+ button typesubmit classbtn btn-primary submit data-submitting-textSaving...>Save/button>+ /div>+ /form>; // Open a modal open_common_modal({ title: Homepage settings, body: modal_html, }); // Set up form $form $(#common_modal form); handle_form({ form: $form, success: { handler: function(response) { $(#common_modal).modal(hide); delete_cache_with_custom_key(null, /website/page, homepage); delete_cache_with_custom_key(true, /website/+document.domain+/page/type/homepage/weather, default); load_homepage_data(response.response.data, true); }, }, error_handling: { handles: 100, 101, handler: function(response) { if(response.code 100) // No news pages { show_page_error(You dont have any news pages yet, so theres nowhere to pull news articles from. Add one a hrefhttps://admin.hoa-express.com/pages/add-page stylecolor:inherit; text-decoration:underline;>here/a>.); } else if(response.code 101) // No calendar pages { show_page_error(You dont have any calendar pages yet, so theres nowhere to pull events from. Add one a hrefhttps://admin.hoa-express.com/pages/add-page stylecolor:inherit; text-decoration:underline;>here/a>.); } }, }, }); }); // Manage YOTM $(.page_text).on(click, .admin_control button.manage_yotm, function() { // Create the modal HTML var modal_html form data-uri/website/page/type/homepage/yotm data-methodPUT data-submit-generic-keysfalse data-error-messageThere was a problem updating the YOTM.>+ div classcheckbox stylemargin-bottom:25px;>+ label>+ input typecheckbox idshow value1 +(page_data.yotm && page_data.yotm.visible ? checked : )+> Show yard of the month box+ /label>+ /div>+ table stylemargin-bottom:25px;>+ tr>+ td classimage_thumbnail stylepadding-right:20px; idyotm_photo_image_thumbnail>img src+(page_data.yotm && page_data.yotm.photo_url ? page_data.yotm.photo_url : CDN_COMMON_URL+/images/no_yotm.png)+>/td>+ td>+ div classbuttons idyotm_photo_buttons>+ button typebutton classbtn btn-default show_inputs>i classfa fa-pencil>/i> Change photo/button> + button typebutton classbtn btn-danger remove_photo>i classfa fa-trash>/i> Remove photo/button>+ /div>+ div classinputs styledisplay:none; idyotm_photo_inputs>+ input typecheckbox idremove_photo value1 styledisplay:none;>+ div classform-group>+ label forphoto>Upload new photo/label>+ input typefile idphoto acceptimage/* data-maxsize800>+ /div>+ /div>+ /td>+ /tr>+ /table>+ div classform-group>+ label fordescription>Short description or address/label>+ input typetext classform-control iddescription placeholderThe Smith’s yard @ 1234 Maple Street value+(page_data.yotm && page_data.yotm.description ? encodeSpecialCharacters(page_data.yotm.description) : )+ maxlength75>+ /div>+ div classform-group>+ button typesubmit classbtn btn-primary submit data-submitting-textUpdating...>Update/button>+ /div>+ /form>; // Open a modal open_common_modal({ title: Manage yard of the month, body: modal_html, }); // Change the buttons if there is no photo yet if(!page_data.yotm || !page_data.yotm.photo_url) { $(#yotm_photo_buttons).hide(); $(#yotm_photo_inputs).show(); } // Set up form $form $(#common_modal form); handle_form({ form: $form, success: { handler: function(response) { $(#common_modal).modal(hide); delete_cache_with_custom_key(null, /website/page, homepage); load_homepage_data(response.response.data, true); }, }, }); handle_form_files($form, function($file_input, data_url){ $file_input.closest(tr).find(.image_thumbnail).html(img src+data_url+>); }); // Click buttons to show upload inputs $(#common_modal form).on(click, .buttons .show_inputs, function(e){ $(this).closest(.buttons).hide(); $(this).closest(td).children(.inputs).show(); }); // Click buttons to remove photos $(#common_modal form).on(click, .buttons .remove_photo, function(e){ $(this).siblings().not($(this)).hide(); $(this).closest(table).css(opacity, .5); $(this).html(i classfa fa-trash>/i> Removed); $(this).blur(); $(this).closest(td).children(.inputs).children(inputtypecheckbox).prop(checked, true); }); }); // Manage rotating photos $(.page_text).on(click, .admin_control button.manage_rotating_photos, function() { // Create the modal HTML var modal_html form data-uri/website/page/type/homepage/rotating-photos data-methodPUT data-submit-generic-keysfalse data-error-messageThere was a problem updating the rotating photos.>+ div classcheckbox stylemargin-bottom:25px;>+ label>+ input typecheckbox idshow value1 +(page_data.rotating_photos && page_data.rotating_photos.visible ? checked : )+> Show rotating photos+ /label>+ /div>+ table classtable table-striped>+ thead>+ tr>+ th>Photo/th>+ th styletext-align:center;>Order/th>+ th styletext-align:center;>Delete/th>+ /tr>+ /thead>+ tbody>+ tr classadd_photo nodrop>+ td colspan100>i classfa fa-plus>/i> Add a photo/td>+ /tr>+ tr classadd_photo_html styledisplay:none;>+ input typehidden classid value0>+ td>+ div classform-group>+ input typefile classnew_photo acceptimage/* data-maxsize400>+ /div>+ /td>+ td styletext-align:center; cursor:move; classdrag_handle id+Math.floor(Math.random() * 1000000)+>+ i classfa fa-arrows-v stylepointer-events:none;>/i>+ /td>+ td styletext-align:center;>+ button typebutton classbtn btn-danger btn-sm remove_photo>i classfa fa-times-circle>/i>/button>+ /td>+ /tr>+ /tbody>+ /table>+ div classform-group>+ button typesubmit classbtn btn-primary submit data-submitting-textUpdating...>Update/button>+ /div>+ /form>; // Open a modal open_common_modal({ title: Manage rotating photos, body: modal_html, }); // Handle clicking the add photo button row $(#common_modal form > table > tbody > tr.add_photo).click(function() { // Get the HTML to add var row_html $(#common_modal form > table > tbody > tr.add_photo_html).html(); // Add the row $(#common_modal form > table > tbody > tr.add_photo).before(tr>+row_html+/tr>); // Handle reordering $(#common_modal form table).tableDnD({ onDragClass: dragging, dragHandle: .drag_handle, }); }); // Add photos to table if(page_data.rotating_photos && page_data.rotating_photos.photos && page_data.rotating_photos.photos.constructor Array) { for(var i 0; i page_data.rotating_photos.photos.length; i++) { $(#common_modal form table tbody tr.add_photo).click(); $(#common_modal form table tbody tr:not(.add_photo):not(.add_photo_html)).last().find(td).first().find(div.form-group).hide(); $(#common_modal form table tbody tr:not(.add_photo):not(.add_photo_html)).last().find(td).first().append(img src+page_data.rotating_photos.photosi.url+ stylewidth:62.5px; height:50px;>); $(#common_modal form table tbody tr:not(.add_photo):not(.add_photo_html)).last().find(input.id).val(page_data.rotating_photos.photosi.id); } } // Handle reordering $(#common_modal form table).tableDnD({ onDragClass: dragging, dragHandle: .drag_handle, }); // Handle delete file $(#common_modal form).on(click, button.remove_photo, function() { $(this).css(pointer-events, none); $(this).closest(tr).fadeTo(200, .3); $(this).closest(tr).css(pointer-events, none); $(this).closest(tr).find(input.id).val(-1); }); // Set up form $form $(#common_modal form); handle_form({ form: $form, pre_handler: function() { // Add correct ID to each array input var count 0; $(#common_modal form > table > tbody > tr:not(.add_photo):not(.add_photo_html)).each(function() { $(this).find(input.new_photo).attr(id, new_photos+count+); $(this).find(input.id).attr(id, ids+count+); count++; }); }, success: { handler: function(response) { $(#common_modal).modal(hide); delete_cache_with_custom_key(null, /website/page, homepage); load_homepage_data(response.response.data, true); }, }, }); handle_form_files($form); }); } /script>/body>/html>
View on OTX
|
View on ThreatMiner
Please enable JavaScript to view the
comments powered by Disqus.
Data with thanks to
AlienVault OTX
,
VirusTotal
,
Malwr
and
others
. [
Sitemap
]