{"id":6,"date":"2021-07-01T20:44:28","date_gmt":"2021-07-01T17:44:28","guid":{"rendered":"http:\/\/eurokodu.ee\/registration\/"},"modified":"2021-07-01T20:44:28","modified_gmt":"2021-07-01T17:44:28","slug":"registration","status":"publish","type":"page","link":"http:\/\/eurokodu.ee\/ru\/registration\/","title":{"rendered":"Registration"},"content":{"rendered":"<script src=\"\/\/code.jquery.com\/jquery-1.11.2.min.js\"><\/script> \n\n  <style>\n  \/* Styles that are also copied for Preview *\/\t\n\t.vcenter{\t\t\t\t\n\t\tdisplay : table-cell;\n\t\tvertical-align : middle !important;\t\t\t\t\n\t\tfloat:none;\n\t}\n\t.chili{color:red}\n\t.chili:before{content:\" *\"}\n  \n  #iv-form3 h2{\n    font-family: 'Oswald', sans-serif;\n    font-weight: 400;\n    font-size: 32px;\n    line-height: 45px;\n    margin-top: 0;\n    \n  }\n  #iv-form3 h1 span{\n    font-weight: 100;\n    \n  }\n  .dark-txt{color:#333}\n  #iv-form3 h1{\n    font-family: 'Oswald', sans-serif;\n    font-weight: 400;\n    font-size: 45px;\n    line-height: 45px;\n    color: #fff;\n    border: none;\n    text-transform: uppercase;\n    line-height: 50px;\n    padding-bottom: 0;\n    font-size: 45px;\n  }\n\n  #iv-form3 h3 {\n  font-family: Oswald;\n  \n  font-weight: normal;\n  font-style: normal;\n  line-height:normal\n \n  }\n  #iv-form3 p{\n    font-size: 1em;\n    font-family: 'Roboto', sans-serif;\n    color: #575757;\n    font-weight: 400;\n    line-height: 22px;\n  }\n  #iv-form3 label{ font-weight:normal;font-size:15px; color:#666}\n   #iv-form3 .header-profile div{\n\tborder-bottom: 4px solid #BFBFBF; display:inline-block; margin-bottom:-4px   \n\t}\n\t#iv-form3 .form-control{ color:#222}\n\t#iv-form3 .header-profile{ border-bottom:4px solid #eee;}\n\t#iv-form3{ max-width:960px}\n <\/style> \n\n\n<div class=\"bootstrap-wrapper\">\n\n\t<div id=\"iv-form3\" class=\"col-md-12\">\n\t\t\n\t\t\t<form id=\"iv_property_registration\" name=\"iv_property_registration\" class=\"form-horizontal\" action=\"http:\/\/eurokodu.ee\/ru\/registration\/?package_id=&payment_gateway=paypal&iv-submit-listing=register\" method=\"post\" role=\"form\">\n\t\n\t\t\n\t\t\n\t\t\t\t<div class=\"row\">\t\n\t\t\t\t\t  <div class=\"col-md-1\">\n\t\t\t\t\t  <\/div>\n\t\t\t\t   \n\t\t\t\t\t  <div class=\"col-md-10\"> \n\t\t\t\t\t\t<h2 class=\"header-profile\"><div>User Info<\/div><\/h2>\n\t\t\t\t\t  <\/div>\n\t\t\t <\/div>\n\t\t\n\t\t\t<div class=\"row\">\t\n\t\t\t\t  <div class=\"col-md-1 \">\n\t\t\t\t  <\/div>\n           \n              <div class=\"col-md-10 \"> \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t<!--  \n\t\tFor Form Validation we used plugins http:\/\/formvalidator.net\/index.html#reg-form  \n\t\tThis is in line validation so you can add fields easily. \t\n\t-->\n\n\t\t\t\t\n\t\t\t\t<div>\n\t\t\t\t\t\t<div id=\"selected-column-1\" class=\" \">\n\t\t\t\t\t\t<div class=\"text-center\" id=\"loading\"> <\/div>\n\t\t\t\t\t\t<div class=\"form-group row\"  >\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t<label for=\"text\" class=\"col-md-4 control-label\">User Name<span class=\"chili\"><\/span><\/label>\n\t\t\t\t\t\t<div class=\"col-md-8\">\n\t\t\t\t\t\t\t<input type=\"text\"  name=\"iv_member_user_name\"  data-validation=\"length alphanumeric\" \ndata-validation-length=\"4-12\" data-validation-error-msg=\" The user name has to be an alphanumeric value between 4-12 characters\" class=\"form-control ctrl-textbox\" placeholder=\"Enter User Name\"  alt=\"required\">\n\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div class=\"form-group row\">\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t<label for=\"email\" class=\"col-md-4 control-label\" >Email Address<span class=\"chili\"><\/span><\/label>\n\t\t\t\t\t\t<div class=\"col-md-8\">\n\t\t\t\t\t\t\t<input type=\"email\" name=\"iv_member_email\" data-validation=\"email\"  class=\"form-control ctrl-textbox\" placeholder=\"Enter email address\" data-validation-error-msg=\"Please enter a valid email address \" >\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div class=\"form-group row \">\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t<label for=\"text\" class=\"col-md-4 control-label\">Password<span class=\"chili\"><\/span><\/label>\n\t\t\t\t\t\t<div class=\"col-md-8\">\n\t\t\t\t\t\t\t<input type=\"password\" name=\"iv_member_password\"  class=\"form-control ctrl-textbox\" placeholder=\"\" data-validation=\"strength\" \n\t\t data-validation-strength=\"2\" data-validation-error-msg=\"The password is not strong enough\">\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t<\/div>\t\t\t\t\t\t\t\n\t\t\t\t\t<\/div>\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t<input type=\"hidden\" name=\"hidden_form_name\" id=\"hidden_form_name\" value=\"iv_property_registration\">\n\t\t\t\t\t\t\n\n              <\/div>\n         <\/div>\n\t\t\n\t\t <br\/>\n\t\t \n\t\t<div class=\"row\">\t\n              <div class=\"col-md-1 \">\n              <\/div>\n           \n              <div class=\"col-md-10 \"> \n\t\t\t\t<h2 class=\"header-profile\"><div>Payment Info<\/div><\/h2>\n              <\/div>\n         <\/div>\n\t\t <br\/>\t\t\n\t\t\n\t\t\t\t<div class=\"row\">\t\n\t\t\t\t\t  <div class=\"col-md-1 \">\n\t\t\t\t\t  <\/div>\n           \n\t\t\t\t\t<div class=\"col-md-10 \">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row form-group\">\n\t\t\t\t\t\t\t\t\t\t<label for=\"text\" class=\"col-md-4 col-xs-4 col-sm-4 control-label\">Package Name<\/label>\n\t\t\t\t\t\t\t\t\t\t<div class=\"col-md-8  \"> \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"row form-group\">\n\t\t\t\t\t\t\t\t<label for=\"text\" class=\"col-md-4 col-xs-4 col-sm-4 control-label\">Amount<\/label>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<div class=\"col-md-8 col-xs-8 col-sm-8 \" id=\"p_amount\"> <label class=\"control-label\"> USD <\/label>\n\t\t\t\t\t\t\t\t<\/div>\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"row form-group\" id=\"show_hide_div\">\n\t\t\t\t\t\t\t\t<label for=\"text\" class=\"col-md-4 col-xs-4 col-sm-4 control-label\"><\/label>\n\t\t\t\t\t\t\t\t<div class=\"col-md-8 col-xs-8 col-sm-8 \" > \n\t\t\t\t\t\t\t\t\t<button type=\"button\" onclick=\"show_coupon();\"  class=\"btn btn-default center\">Have a coupon?<\/button>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div id=\"coupon-div\" style=\"display: none;\">\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t<div class=\"row form-group\">\n\t\t\t\t\t\t\t<label for=\"text\" class=\"col-md-4 col-xs-4 col-sm-4 control-label\">Discount Coupon<\/label>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<div class=\"col-md-6 col-xs-6 col-sm-6 \">  <input type=\"text\" class=\"form-control\" name=\"coupon_name\" id=\"coupon_name\" value=\"\" placeholder=\"Enter Coupon Code\">\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<div class=\"col-md-1 col-xs-1 col-sm-1 pull-left\" id=\"coupon-result\"> \n\t\t\t\t\t\t\t\t<\/div>\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"row\">\n\t\t\t\t\t\t\t<hr>\n\t\t\t\t\t\t\t<\/div>\t\n\t\t\t\t\t\t\t<div class=\"row\">\n\t\t\t\t\t\t\t\t<label for=\"text\" class=\"col-md-4 col-xs-4 col-sm-4 control-label\">(-) Discount<\/label>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<div class=\"col-md-8 col-xs-8 col-sm-8 \" id=\"discount\">  \n\t\t\t\t\t\t\t\t<\/div>\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"row\">\n\t\t\t\t\t\t\t<hr>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"row\">\n\t\t\t\t\t\t\t\t<label for=\"text\" class=\"col-md-4 col-xs-4 col-sm-4 control-label\">Total<\/label>\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<div class=\"col-md-8 col-xs-8 col-sm-8\" id=\"total\"><label class=\"control-label\">  USD<\/label>\n\t\t\t\t\t\t\t\t<\/div>\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t<div class=\"row\">\n\t\t\t\t\t\t\t\t<hr>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"reg_error\" id=\"reg_error\" value=\"yes\">\n\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"package_id\" id=\"package_id\" value=\"\">\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"return_page\" id=\"return_page\" value=\"http:\/\/eurokodu.ee\/ru\/registration\/\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<div class=\"row\">\n\t\t\t\t\t\t\t\t\t<div class=\"col-md-4 col-xs-4 col-sm-4 \"> \n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t<div class=\"col-md-8 col-xs-8 col-sm-8 \"> \n\t\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t  <input type=\"checkbox\" data-validation=\"required\" \n\t\t data-validation-error-msg=\"You have to agree to our terms \"  name=\"check_terms\" id=\"check_terms\">  I have read & accept the <a href=\"#\" target=\"_blank\"> Terms & Conditions<\/a>\t\t\t\t\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t      \n\t\t\t\t\t\t\t\t\t  <\/div>\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t<div class=\"row\">\n\t\t\t\t\t\t\t<div class=\"col-md-4 col-xs-4 col-sm-4 \"> \n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"col-md-8 col-xs-8 col-sm-8 \"> \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t<div id=\"paypal-button\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div id=\"loading-3\" style=\"display: none;\"><img src='http:\/\/eurokodu.ee\/wp-content\/plugins\/real-estate-pro\/admin\/files\/images\/loader.gif' \/><\/div>\n\t\t\t\t\t\t\t\t<button  id=\"submit_iv_property_payment\" name=\"submit_iv_property_payment\" type=\"submit\" class=\"btn btn-info ctrl-btn\"  >Submit  <\/button>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t<\/div>\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t<\/div>\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t<\/div>\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\n\t\t\t\n\t\t\t\t<\/div>\t\t\n\t\t\t<\/div>\t\n\t\t<\/form>\n\t\t<div style=\"display: none;\">\n\t\t\t<img src='http:\/\/eurokodu.ee\/wp-content\/plugins\/real-estate-pro\/admin\/files\/images\/loader.gif' \/>\n\t\t<\/div>\n\t<\/div>\n<\/div>\n\n\n<script type=\"text\/javascript\">\nvar loader_image = '<img decoding=\"async\" src=\"http:\/\/eurokodu.ee\/wp-content\/plugins\/real-estate-pro\/admin\/files\/images\/loader.gif\" \/>';\nvar ajaxurl = 'http:\/\/eurokodu.ee\/wp-admin\/admin-ajax.php';\t\t\n(function($) {\n\t\n\tvar active_payment_gateway='paypal-express'; \n\t\n\tjQuery(document).ready(function($) {\n\t\t\t\n\t\t\t\t\t\tjQuery.validate({\n\t\t\t\t\t\t\tform : '#iv_property_registration',\n\t\t\t\t\t\t\tmodules : 'security',\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tonSuccess : function() {\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t  \tjQuery(\"#loading-3\").show();\n\t\t\t\t\t\t\t\tjQuery(\"#loading\").html(loader_image);\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tif(active_payment_gateway=='stripe'){\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t Stripe.createToken({\n\t\t\t\t\t\t\t\t\t\t\tnumber: jQuery('#card_number').val(),\n\t\t\t\t\t\t\t\t\t\t\tcvc: jQuery('#card_cvc').val(),\n\t\t\t\t\t\t\t\t\t\t\texp_month: jQuery('#card_month').val(),\n\t\t\t\t\t\t\t\t\t\t\texp_year: jQuery('#card_year').val(),\n\t\t\t\t\t\t\t\t\t\t\t\/\/name: $('.card-holder-name').val(),\n\t\t\t\t\t\t\t\t\t\t\t\/\/address_line1: $('.address').val(),\n\t\t\t\t\t\t\t\t\t\t\t\/\/address_city: $('.city').val(),\n\t\t\t\t\t\t\t\t\t\t\t\/\/address_zip: $('.zip').val(),\n\t\t\t\t\t\t\t\t\t\t\t\/\/address_state: $('.state').val(),\n\t\t\t\t\t\t\t\t\t\t\t\/\/address_country: $('.country').val()\n\t\t\t\t\t\t\t\t\t\t}, stripeResponseHandler);\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t}else{ \/\/ Else for paypal\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\treturn true; \/\/ false Will stop the submission of the form\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\n\t\t\t\t\t  })\n \n\t })\n\t \n\t \n\t \/\/ this identifies your website in the createToken call below\n\t if(active_payment_gateway=='stripe'){\n\t\tStripe.setPublishableKey('');\n\n\t\t\tfunction stripeResponseHandler(status, response) {\n\t\t\t\tif (response.error) {\t\t\t\t\n\t\t\t\t\tjQuery(\"#payment-errors\").html('<div class=\"alert alert-info alert-dismissable\"><a class=\"panel-close close\" data-dismiss=\"alert\">x<\/a>'+response.error.message +'.<\/div> ');\n\t\t\t\t\n\t\t\t\t} else {\n\t\t\t\t\tvar form$ = jQuery(\"#iv_property_registration\");\n\t\t\t\t\t\/\/ token contains id, last4, and card type\n\t\t\t\t\tvar token = response['id'];\n\t\t\t\t\t\/\/ insert the token into the form so it gets submitted to the server\n\t\t\t\t\tform$.append(\"<input type='hidden' name='stripeToken' value='\" + token + \"' \/>\");\n\t\t\t\t\t\/\/ and submit\n\t\t\t\t\tform$.get(0).submit();\n\t\t\t\t}\n\t\t\t}\n\t}\n\t \n\t \n})(jQuery);\n\t\t\n    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\njQuery(document).ready(function() {\n    jQuery('#coupon_name').on('keyup change', function() {\n\t\t\t\t\n\t\tvar ajaxurl = 'http:\/\/eurokodu.ee\/wp-admin\/admin-ajax.php';\n\t\tvar search_params={\n\t\t\t\"action\"  \t\t\t: \"iv_property_check_coupon\",\t\n\t\t\t\"coupon_code\" \t\t:jQuery(\"#coupon_name\").val(),\n\t\t\t\"package_id\" \t\t:jQuery(\"#package_id\").val(),\n\t\t\t\"package_amount\" \t:'',\n\t\t\t\"api_currency\" \t\t:'USD',\n\t\t\t\n\t\t};\n\t\tjQuery('#coupon-result').html('<img decoding=\"async\" src=\"http:\/\/eurokodu.ee\/wp-content\/plugins\/real-estate-pro\/admin\/files\/images\/old-loader.gif\">');\n\t\tjQuery.ajax({\t\t\t\t\t\n\t\t\turl : ajaxurl,\t\t\t\t\t \n\t\t\tdataType : \"json\",\n\t\t\ttype : \"post\",\n\t\t\tdata : search_params,\n\t\t\tsuccess : function(response){\n\t\t\t\tif(response.code=='success'){\t\t\t\t\t\t\t\n\t\t\t\t\tjQuery('#coupon-result').html('<img decoding=\"async\" src=\"http:\/\/eurokodu.ee\/wp-content\/plugins\/real-estate-pro\/admin\/files\/images\/right_icon.png\">');\t\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t}else{\n\t\t\t\t\tjQuery('#coupon-result').html('<img decoding=\"async\" src=\"http:\/\/eurokodu.ee\/wp-content\/plugins\/real-estate-pro\/admin\/files\/images\/wrong_16x16.png\">');\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tjQuery('#total').html('<label class=\"control-label\">'+response.gtotal +'<\/label>');\n\t\t\t\tjQuery('#discount').html('<label class=\"control-label\">'+response.dis_amount +'<\/label>');\n\t\t\t}\n\t\t});\n\t});\n});\n\njQuery(function(){\t\n\tjQuery('#package_sel').on('change', function (e) {\n\t\tvar optionSelected = jQuery(\"option:selected\", this);\n\t\tvar pack_id = this.value;\n\t\t\n\t\tjQuery(\"#package_id\").val(pack_id);\n\t\t\t\t\t\t\t\t\n\t\tvar ajaxurl = 'http:\/\/eurokodu.ee\/wp-admin\/admin-ajax.php';\n\t\tvar search_params={\n\t\t\"action\"  \t\t\t: \"iv_property_check_package_amount\",\t\n\t\t\"coupon_code\" \t\t:jQuery(\"#coupon_name\").val(),\n\t\t\"package_id\" \t\t: pack_id,\n\t\t\"package_amount\" \t:'',\n\t\t\"api_currency\" \t\t:'USD',\n\t\t};\n\t\tjQuery.ajax({\t\t\t\t\t\n\t\t\turl : ajaxurl,\t\t\t\t\t \n\t\t\tdataType : \"json\",\n\t\t\ttype : \"post\",\n\t\t\tdata : search_params,\n\t\t\tsuccess : function(response){\n\t\t\t\tif(response.code=='success'){\t\t\t\t\t\t\t\n\t\t\t\t\tjQuery('#coupon-result').html('<img decoding=\"async\" src=\"http:\/\/eurokodu.ee\/wp-content\/plugins\/real-estate-pro\/admin\/files\/images\/right_icon.png\">');\n\t\t\t\t}else{\n\t\t\t\t\t\tjQuery('#coupon-result').html('<img decoding=\"async\" src=\"http:\/\/eurokodu.ee\/wp-content\/plugins\/real-estate-pro\/admin\/files\/images\/wrong_16x16.png\">');\n\t\t\t\t}\n\t\t\t\tjQuery('#p_amount').html(response.p_amount);\t\t\t\t\t\t\t\n\t\t\t\tjQuery('#total').html(response.gtotal);\n\t\t\t\tjQuery('#discount').html(response.dis_amount);\n\t\t\t}\n\t\t\t});\n\t\t});\t\n\t});\t\n\t\n\nfunction show_coupon(){\n\t\t\t\tjQuery(\"#coupon-div\").show();\n                 jQuery(\"#show_hide_div\").html('<label for=\"text\" class=\"col-md-4 col-xs-4 col-sm-4 control-label\"><\/label><div class=\"col-md-8 col-xs-8 col-sm-8 \" ><button type=\"button\" onclick=\"hide_coupon();\"  class=\"btn btn-default center\">Hide Coupon<\/button><\/div>');\n}\nfunction hide_coupon(){\n\t\t\t\t jQuery(\"#coupon-div\").hide();\n                 jQuery(\"#show_hide_div\").html('<label for=\"text\" class=\"col-md-4 col-xs-4 col-sm-4 control-label\"><\/label><div class=\"col-md-8 col-xs-8 col-sm-8 \" ><button type=\"button\" onclick=\"show_coupon();\"  class=\"btn btn-default center\">Have a coupon?<\/button><\/div>');\n}\n \n <\/script>\n \t\t\t\t\t\t\t\t\n\n\n","protected":false},"excerpt":{"rendered":"User Info User Name Email Address Password Payment Info","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"aioseo_notices":[],"_links":{"self":[{"href":"http:\/\/eurokodu.ee\/ru\/wp-json\/wp\/v2\/pages\/6"}],"collection":[{"href":"http:\/\/eurokodu.ee\/ru\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/eurokodu.ee\/ru\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/eurokodu.ee\/ru\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/eurokodu.ee\/ru\/wp-json\/wp\/v2\/comments?post=6"}],"version-history":[{"count":0,"href":"http:\/\/eurokodu.ee\/ru\/wp-json\/wp\/v2\/pages\/6\/revisions"}],"wp:attachment":[{"href":"http:\/\/eurokodu.ee\/ru\/wp-json\/wp\/v2\/media?parent=6"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}