{"id":607,"date":"2016-01-15T01:16:36","date_gmt":"2016-01-14T23:16:36","guid":{"rendered":"https:\/\/homesystems.com.ua\/en\/?page_id=607"},"modified":"2019-03-08T19:51:45","modified_gmt":"2019-03-08T16:51:45","slug":"contacts","status":"publish","type":"page","link":"https:\/\/homesystems.com.ua\/en\/contacts\/","title":{"rendered":"Contacts"},"content":{"rendered":"<div class=\"pale-background\">\n<div class=\"container contacts\">\n<div class=\"col-sm-4 col-xs-12\">\n<h3>Contacts:<\/h3>\n<ul>\n<li>Kiev, Serhiia Kolosa St, 1-B<\/li>\n<li><a href=\"tel:+380503875790\">+38-050-387-57-90<\/a>\u00a0\u2014 Timofiy<\/li>\n<li><a href=\"tel:+380442272802\">+38-044-227-28-02<\/a>\u00a0\u2014 office<\/li>\n<li><a href=\"mailto:info@homesystems.com.ua\">info@homesystems.com.ua<\/a><\/li>\n<\/ul>\n<p>HomeSystems Company<\/p>\n<p>homesystems.com.ua<\/p>\n<p>&nbsp;<\/p>\n<h3>Social:<\/h3>\n<div><\/div>\n<\/div>\n<div class=\"col-sm-4 col-xs-12\">\n<form id=\"mainform\" class=\"\" method=\"post\" name=\"callback-form\">\n<h3 class=\"text-left\">Feed back:<\/h3>\n<div class=\"row\">\n<div class=\"\" style=\"margin: 0 15px;\">\n<p>Your name:<\/p>\n<p><input id=\"form-name\" style=\"width: 100%;\" name=\"name\" type=\"text\" \/><\/p>\n<\/div>\n<div class=\"\" style=\"margin: 0 15px;\">\n<p>Your phone:<\/p>\n<p><input id=\"form-tel\" style=\"width: 100%;\" name=\"tel\" type=\"tel\" \/><\/p>\n<\/div>\n<div class=\"\" style=\"margin: 0 15px;\">\n<p>Your e-mail:<\/p>\n<p><input id=\"form-email\" style=\"width: 100%;\" name=\"email\" type=\"email\" \/><br \/>\n<input name=\"action\" type=\"hidden\" value=\"ajaxform\" \/><\/p>\n<\/div>\n<\/div>\n<p><input name=\"location\" type=\"hidden\" value=\"Contacts Page Eng\" \/><\/p>\n<div class=\"orange-button cont-orange_button center-block\">Contact me<\/div>\n<\/form>\n<\/div>\n<div class=\"col-sm-4 col-xs-12\">\n<h3>Map<\/h3>\n<div id=\"map\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div id=\"custom-alert-modal\" class=\"modal fade\" role=\"dialog\">\n<div class=\"modal-dialog\">\n<div class=\"modal-content clearfix\">\n<div class=\"modal-body\">\n<div class=\"landing-button pull-right\" style=\"margin-bottom: 15px;\" data-dismiss=\"modal\">OK<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"display: none;\">\n<p><script type=\"text\/javascript\">\n   function submitForm (form) {\nif (document.getElementsByName(\"name\")[0].value == \"\") {\n    customAlert(\"Enter your name, please!\");\n    return;\n  }\n    if (document.getElementsByName(\"tel\")[0].value == \"\") {\n    customAlert(\"Enter your phone, please!\");\n    return;\n  }\n    var ret = \/^[0-9]*$\/i;\n    if (!ret.test(document.getElementsByName(\"tel\")[0].value)) {\n        customAlert(\"Enter correct phone, please!\");\n        return;\n    }\n    if (document.getElementsByName(\"email\")[0].value == \"\") {\n    customAlert(\"Enter your email, please!\");\n    return;\n  }   \n    var re = \/^(([^<>()[\\]\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@(([^<>()[\\]\\.,;:\\s@\\\"]+\\.)+[^<>()[\\]\\.,;:\\s@\\\"]{2,})$\/i;\n    if (!re.test(document.getElementsByName(\"email\")[0].value)) {\n        customAlert(\"Enter correct email, please!\");\n        return;\n    }\n  jQuery.ajax({\n      type: \"POST\",\n      url: '..\/..\/wp-admin\/admin-ajax.php',\n      data: jQuery(\"#mainform\").serialize()\n    }).done(function() {\n      customAlert(\"Thank you for your inquiry, we will contact you as soon as possible.\");\n    document.getElementById('mainform').reset();\n    });\n    return false;\n      form.submit();\n}\nfunction customAlert(txt) {\n  document.getElementById('custom-alert-text').innerHTML = txt;\n  jQuery('#custom-alert-modal').modal('show');\n}\n<\/script><\/p>\n<div style=\"display: none;\"><script src=\"https:\/\/maps.googleapis.com\/maps\/api\/js\"><\/script><br \/>\n<script type=\"text\/javascript\">\n  function initMap() {\n    var mapCanvas = document.getElementById('map');\n    var mapOptions = {\n      center: new google.maps.LatLng(50.391138, 30.463060),\n      zoom: 17,\n      scrollwheel: false,\n      mapTypeId: google.maps.MapTypeId.ROADMAP\n    };\n    var map = new google.maps.Map(mapCanvas, mapOptions);\n    var iconBase = 'https:\/\/maps.google.com\/mapfiles\/kml\/shapes\/';\n    var marker = new google.maps.Marker({\n      position: new google.maps.LatLng(50.391138, 30.463060),\n      map: map,\n      icon: iconBase + 'schools_maps.png'\n    });\n  }\n  google.maps.event.addDomListener(window, 'load', initMap);\n<\/script><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Contacts: Kiev, Serhiia Kolosa St, 1-B +38-050-387-57-90\u00a0\u2014 Timofiy +38-044-227-28-02\u00a0\u2014 office info@homesystems.com.ua HomeSystems Company homesystems.com.ua &nbsp; Social: Feed back: Your name: Your phone: Your e-mail: Contact me Map OK<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-607","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/homesystems.com.ua\/en\/wp-json\/wp\/v2\/pages\/607","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/homesystems.com.ua\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/homesystems.com.ua\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/homesystems.com.ua\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/homesystems.com.ua\/en\/wp-json\/wp\/v2\/comments?post=607"}],"version-history":[{"count":18,"href":"https:\/\/homesystems.com.ua\/en\/wp-json\/wp\/v2\/pages\/607\/revisions"}],"predecessor-version":[{"id":3132,"href":"https:\/\/homesystems.com.ua\/en\/wp-json\/wp\/v2\/pages\/607\/revisions\/3132"}],"wp:attachment":[{"href":"https:\/\/homesystems.com.ua\/en\/wp-json\/wp\/v2\/media?parent=607"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}