{"id":56,"date":"2019-08-31T09:47:06","date_gmt":"2019-08-31T06:17:06","guid":{"rendered":"http:\/\/vazin\/?page_id=56"},"modified":"2024-05-25T14:42:31","modified_gmt":"2024-05-25T11:12:31","slug":"contact-us","status":"publish","type":"page","link":"https:\/\/www.vazinstone.com\/?page_id=56","title":{"rendered":"Contact"},"content":{"rendered":"\n<div class=\"wp-block-columns has-2-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n<form method=\"post\" class=\"contact-form\" novalidate=\"novalidate\">\n    <div class=\"\">\n        <input type=\"text\" id=\"tf-name\" class=\"mdc-text-field__input\" placeholder=\"Name\">\n<\/div>\n\n    <div class=\"w-100 mt-3\"><\/div>\n\n    <div class=\"\">\n        <input type=\"text\" id=\"tf-email\" class=\"mdc-text-field__input\" placeholder=\"Email\">\n<\/div>\n\n    <div class=\"w-100 mt-3\"><\/div>\n    <div class=\"\">\n        <input type=\"text\" id=\"tf-mobile\" class=\"mdc-text-field__input\" placeholder=\"Mobile number\">\n        <span class=\"mdc-line-ripple\"><\/span>\n<\/div>\n\n    <div class=\"w-100 mt-3\"><\/div>\n    <div class=\"\">\n        <textarea id=\"tf-message\" class=\"mdc-text-field__input\" placeholder=\"\u067e\u06cc\u0627\u0645 \u0648 ...\" style=\"height: 165px\" rows=\"8\" cols=\"40\"><\/textarea>\n        <\/div>\n\n\n    <div class=\"w-100 mt-3\"><\/div>\n        <button type=\"button\" class=\"mdc-button   mdc-button--raised\" id=\"contactSendButton\">\n      Send \n    <\/button>\n    <div class=\"w-100 linear-progress-material small d-none\" id=\"contactLoading\">\n        <div class=\"bar bar1\"><\/div>\n        <div class=\"bar bar2\"><\/div>\n    <\/div>\n<\/form>\n<script>\n    \/\/ contact section in contact page\n    var validate_email = function (email) {\n        var re = \/^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$\/;\n        return re.test(String(email).toLowerCase());\n    };\n    var validate_mobile = function (mobile) {\n        var re = \/^[0]?[1-9]{1}[0-9]{5,10}$\/;\n        return re.test(mobile);\n    };\n\n    $('#contactSendButton').on('click', function () {\n        \/\/empty input\n        if (!$('#tf-mobile').val() && !$('#tf-email').val()) {\n            alert(translation.emty_input_error);\n            return;\n        }\n\n        if ($(this)[0].hasAttribute(\"disabled\"))\n            return;\n\n        \/\/validate mobile\n        if ($('#tf-mobile').val() && !validate_mobile($('#tf-mobile').val())) {\n            alert(translation.mobile_validate_error);\n            return;\n        }\n        \/\/validate email\n        if ($('#tf-email').val() && !validate_email($('#tf-email').val())) {\n            alert(translation.email_validate_error);\n            return;\n        }\n\n\n        $(this).attr(\"disabled\", \"disabled\");\n        $(\"#contactLoading\").removeClass(\"d-none\");\n\n        $(\"#contactLoading\").show();\n        var jqxhr = $.ajax({\n            method: \"POST\",\n            url: \"\/index.php\",\n            dataType: \"json\",\n            data: {\n                mobile: $('#tf-mobile').val(),\n                email: $('#tf-email').val(),\n                contactForm: \"1\",\n                name: $(\"#tf-name\").val(),\n                message: $(\"#tf-message\").val(),\n\n            }\n        })\n            .done(function (msg) {\n                if (msg[0] == 'success') {\n                    alert(translation.request_submitted);\n                    $('#tf-mobile').val(\"\");\n                    $('#tf-email').val(\"\");\n                    $('#tf-name').val(\"\");\n                    $('#tf-message').val(\"\");\n\n                }\n                if (msg[0] == 'error') {\n                    alert(translation.request_error);\n                }\n\n            }).always(function (msg) {\n                $(\"#contactLoading\").hide();\n                $(\"#contactSendButton\").removeAttr(\"disabled\");\n\n            });\n\n    });\n\n\n<\/script>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<div class=\"d-flex flex-wrap\">\n    <div class=\"d-flex flex-wrap border-bottom w-100 mb-4\">\n\n        <div class=\"col-md-4 mb-4\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-357299\" src=\"https:\/\/www.vazinstone.com\/wp-content\/uploads\/2019\/07\/phone-call.png\" alt=\"phone\" width=\"64\" height=\"64\"><\/div>\n\n        <div class=\"col-md-8 mb-4 align-self-center\">\n            Phone :\n            <a href=\"tel:+989126403622\"> +98-912-640-3622<\/a>\n        <\/div>\n        <span class=\"border-bottom\"><\/span><\/div>\n    <div class=\"d-flex flex-wrap border-bottom w-100 mb-4\">\n\n        <div class=\"col-md-4 mb-4\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-357299\" src=\"https:\/\/www.vazinstone.com\/wp-content\/uploads\/2019\/07\/letter.png\" alt=\"fax\" width=\"64\" height=\"64\"><\/div>\n        <div class=\"col-md-8 mb-4 align-self-center\">\n            e-mail :\n            <a href=\"mailto:info@sangevazin.com\">\n                info@sangevazin.com<\/a>\n        <\/div>\n\n        <span class=\"border-bottom\"><\/span><\/div>\n    <div class=\"d-flex flex-wrap border-bottom w-100 mb-4\">\n\n        <div class=\"col-md-4 mb-4\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-357299\" src=\"https:\/\/www.vazinstone.com\/wp-content\/uploads\/2019\/07\/fax.png\" alt=\"fax\" width=\"64\" height=\"64\"><\/div>\n        <div class=\"col-md-8 mb-4 align-self-center\">\n            fax :\n            <a style=\"-webkit-appearance: textarea;\" href=\"tel:0217703998\"> 021-22983626<\/a>\n        <\/div>\n\n        <span class=\"border-bottom\"><\/span><\/div>\n    <div class=\"d-flex flex-wrap border-bottom w-100 mb-4\">\n\n        <div class=\"col-md-4 mb-4\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-357299\" src=\"https:\/\/www.vazinstone.com\/wp-content\/uploads\/2019\/07\/google.png\" alt=\"\" width=\"64\" height=\"64\"><\/div>\n        <div class=\"col-md-8 mb-4\">\n            Address :\n            <a style=\"font-size:15px;\" href=\"https:\/\/drive.google.com\/open?id=1VpLmn0AB3bBoQyxsfvy6Me_yhv_nG0F1&amp;usp=sharing\" target=\"_blank\" rel=\"noopener noreferrer\">Aghdasieh Stone Bazaar \u2013 500 m above Aghdasieh Car Wash &#8211; exit of Aghdasiyeh Car Wash &#8211; before reaching Araaj Sq. &#8211; West Artesh Hwy &#8211;  Tehran \u2013 Iran<\/a>\n        <\/div>\n\n        <span class=\"border-bottom\"><\/span><\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n<\/div>\n<\/div>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/goo.gl\/maps\/R45KFZ9UQyjeZLGYA\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" src=\"https:\/\/sangevazin.com\/wp-content\/uploads\/2023\/10\/vazin-map.jpg\" alt=\"\"\/><\/a><\/figure>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Phone : +98-912-640-3622 e-mail : info@sangevazin.com fax : 021-22983626 Address : Aghdasieh Stone Bazaar \u2013 500 m above Aghdasieh Car Wash &#8211; exit of Aghdasiyeh Car Wash &#8211; before reaching Araaj Sq. &#8211; West Artesh Hwy &#8211; Tehran \u2013 Iran<\/p>\n","protected":false},"author":8,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"tags":[],"class_list":["post-56","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.vazinstone.com\/index.php?rest_route=\/wp\/v2\/pages\/56","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vazinstone.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.vazinstone.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.vazinstone.com\/index.php?rest_route=\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vazinstone.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=56"}],"version-history":[{"count":0,"href":"https:\/\/www.vazinstone.com\/index.php?rest_route=\/wp\/v2\/pages\/56\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.vazinstone.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=56"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vazinstone.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=56"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}