{"id":8341,"date":"2019-11-20T16:04:44","date_gmt":"2019-11-20T16:04:44","guid":{"rendered":"https:\/\/heinner.ro\/electrocasnice\/?page_id=8341"},"modified":"2022-08-15T01:13:46","modified_gmt":"2022-08-14T22:13:46","slug":"documente-suport","status":"publish","type":"page","link":"https:\/\/dev2.heinner.ro\/electrocasnice\/documente-suport\/","title":{"rendered":"Documente suport"},"content":{"rendered":"<div id='documents'  class='avia-section av-kovcnito-c0ff073a903a52f1dc1f447e59ad474e main_color avia-section-default avia-no-shadow  avia-builder-el-0  avia-builder-el-no-sibling  avia-bg-style-scroll av-minimum-height av-minimum-height-50 av-height-50  container_wrap sidebar_left'   data-av_minimum_height_pc='50' data-av_min_height_opt='50'><div class='container av-section-cont-open' ><main  role=\"main\" itemprop=\"mainContentOfPage\"  class='template-page content  av-content-small units'><div class='post-entry post-entry-type-page post-entry-8341'><div class='entry-content-wrapper clearfix'> \n<style type=\"text\/css\" data-created_by=\"avia_inline_auto\" id=\"style-css-av-2dsb9x-79bed23202f5e07c70a0a55c2394f3f7\">\n.flex_column.av-2dsb9x-79bed23202f5e07c70a0a55c2394f3f7{\nborder-radius:0px 0px 0px 0px;\npadding:0px 0px 0px 0px;\n}\n<\/style>\n<div  class='flex_column av-2dsb9x-79bed23202f5e07c70a0a55c2394f3f7 av_one_full  avia-builder-el-1  avia-builder-el-no-sibling  first flex_column_div av-zero-column-padding  '     ><p> \n<style type=\"text\/css\" data-created_by=\"avia_inline_auto\" id=\"style-css-av-kovcpqnx-d9d1271cdd8f9dd38ca4d8739dedc291\">\n#top .av-special-heading.av-kovcpqnx-d9d1271cdd8f9dd38ca4d8739dedc291{\npadding-bottom:10px;\n}\nbody .av-special-heading.av-kovcpqnx-d9d1271cdd8f9dd38ca4d8739dedc291 .av-special-heading-tag .heading-char{\nfont-size:25px;\n}\n.av-special-heading.av-kovcpqnx-d9d1271cdd8f9dd38ca4d8739dedc291 .av-subheading{\nfont-size:15px;\n}\n<\/style>\n<div  class='av-special-heading av-kovcpqnx-d9d1271cdd8f9dd38ca4d8739dedc291 av-special-heading-h3 blockquote modern-quote  avia-builder-el-2  el_before_av_textblock  avia-builder-el-first '><h3 class='av-special-heading-tag '  itemprop=\"headline\"  >Caut\u0103 un produs ex. <span style=\"color: #002e6b;\"><span class='special_amp'>&#8220;<\/span>aer condi\u021bionat<span class='special_amp'>&#8221;<\/span><\/span> sau codul produsului ex. <span style=\"color: #002e6b;\"><span class='special_amp'>&#8220;<\/span>HAC-12CRKIT<span class='special_amp'>&#8221;<\/span><\/span><\/h3><div class=\"special-heading-border\"><div class=\"special-heading-inner-border\"><\/div><\/div><\/div> <section  class='av_textblock_section av-90oj9-22010409fd8fac93b08d601aad5e4700 '   itemscope=\"itemscope\" itemtype=\"https:\/\/schema.org\/CreativeWork\" ><div class='avia_textblock'  itemprop=\"text\" ><input type=\"text\" class=\"document_search\" placeholder=\"Introdu cel putin trei caractere pentru a incepe cautarea.\" name=\"document_keyword\" id=\"document_keyword\" onkeyup=\"throttle(document_search(), 700)\"><\/input>\n\n<div id=\"datafetch\" class=\"document_results\"><strong>Rezultatele cautarii vor aparea aici.<\/strong><\/div>\n\n<script type=\"text\/javascript\">\nfunction document_search(){\n\tif(jQuery('#document_keyword').val().length < 3){\n\t\treturn;\n\t}\n\n    jQuery.ajax({\n        url: 'https:\/\/dev2.heinner.ro\/electrocasnice\/wp-admin\/admin-ajax.php',\n        type: 'post',\n        data: { action: 'wc_document_search_fetch', document_keyword: jQuery('#document_keyword').val() },\n        success: function(data) {\n            if(data.length == 0){\n                jQuery('#datafetch').html('<strong>A aparut o eroare de comunicare, va rugam repetati cautarea!<\/strong>');\n                return;\n            }\n\n        \tvar json_obj = jQuery.parseJSON( data );\n        \tvar search_results = '';\n\n            if(json_obj.length == 0){\n                jQuery('#datafetch').html('<strong>Nu exista rezultate pentru termenii de cautare introdusi.<\/strong>');\n                return;\n            }\n\n        \tjQuery.each(json_obj, function( pIndex, pValue ) {\n\t\t\t\tsearch_results += '<div class=\"image\"><img decoding=\"async\" style=\"display:inline-block; vertical-align: top; width: 70px; margin-right: 10px;\" src=\"'+pValue.product.thumbnail+'\">';\n\t\t\t\tsearch_results += '<div style=\"display:inline-block; vertical-align: top;\"><h6><a href=\"'+pValue.product.link+'\" title=\"'+pValue.product.title+'\" target=\"_blank\">'+pValue.product.title+'<\/a><\/h6>';\n\t\t\t\tsearch_results += '<ul>';\n\t\t\t\tjQuery.each(pValue.attachments, function( aIndex, aValue ) {\n\t\t\t\t\tsearch_results += '<li><a href=\"'+aValue.link+'\" title=\"'+aValue.title+'\" target=\"_blank\">'+aValue.title+'<\/a><\/li>';\n\t\t\t\t});\n\t\t\t\tsearch_results += '<\/ul><\/div><\/div>';\n    \t\t});\n\n            jQuery('#datafetch').html( search_results );\n        }\n    });\n}\n\nfunction throttle(f, delay){\n    var timer = null;\n    return function(){\n        var context = this, args = arguments;\n        clearTimeout(timer);\n        timer = window.setTimeout(function(){\n            f.apply(context, args);\n        },\n        delay || 500);\n    };\n}\n<\/script>\n<\/div><\/section> <\/p><\/div> <\/div><\/div><\/main><!-- close content main element --><\/div><\/div><div id='after_section_1'  class='main_color av_default_container_wrap container_wrap sidebar_left'  ><div class='container av-section-cont-open' ><div class='template-page content  av-content-small units'><div class='post-entry post-entry-type-page post-entry-8341'><div class='entry-content-wrapper clearfix'>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-8341","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/dev2.heinner.ro\/electrocasnice\/wp-json\/wp\/v2\/pages\/8341","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dev2.heinner.ro\/electrocasnice\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/dev2.heinner.ro\/electrocasnice\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/dev2.heinner.ro\/electrocasnice\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dev2.heinner.ro\/electrocasnice\/wp-json\/wp\/v2\/comments?post=8341"}],"version-history":[{"count":17,"href":"https:\/\/dev2.heinner.ro\/electrocasnice\/wp-json\/wp\/v2\/pages\/8341\/revisions"}],"predecessor-version":[{"id":2956934,"href":"https:\/\/dev2.heinner.ro\/electrocasnice\/wp-json\/wp\/v2\/pages\/8341\/revisions\/2956934"}],"wp:attachment":[{"href":"https:\/\/dev2.heinner.ro\/electrocasnice\/wp-json\/wp\/v2\/media?parent=8341"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}