{"id":417,"date":"2011-10-05T14:45:42","date_gmt":"2011-10-05T14:45:42","guid":{"rendered":"http:\/\/www.chernetskaya.ru\/shop\/?p=417"},"modified":"2011-10-09T13:55:22","modified_gmt":"2011-10-09T13:55:22","slug":"chernobylnik","status":"publish","type":"post","link":"http:\/\/chernetskaya.ru\/shop\/417","title":{"rendered":"\u0427\u0435\u0440\u043d\u043e\u0431\u044b\u043b\u044c\u043d\u0438\u043a"},"content":{"rendered":"<p>\u041c\u0430\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0441\u0438\u043b\u044b: \u0441\u0438\u043b\u0430, \u0434\u0443\u0448\u0435\u0432\u043d\u044b\u0435 \u0441\u0438\u043b\u044b, \u0437\u0430\u0449\u0438\u0442\u0430, \u0432\u0435\u0449\u0438\u0435 \u0441\u043d\u044b, \u0438\u0441\u0446\u0435\u043b\u0435\u043d\u0438\u0435, \u0430\u0441\u0442\u0440\u0430\u043b\u044c\u043d\u044b\u0439 \u0432\u044b\u0431\u0440\u043e\u0441.<br \/>\n\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u0434\u043b\u044f \u0438\u0437\u0433\u043d\u0430\u043d\u0438\u044f \u0437\u043b\u044b\u0445 \u0434\u0443\u0445\u043e\u0432, \u0431\u043e\u043b\u0435\u0437\u043d\u0435\u0439.<br \/>\n<!--more--><br \/>\n1 \u0443\u043d\u0446\u0438\u044f.<br \/>\n<div id='wpshop_property_417'><div class='wpshop_properties'><dl><script>\r\n\t\t\t\tjQuery( document ).ready(function( $ ) {\r\n\t\t\t\t\tvar block = jQuery(\"[name='wpshop-good-title-417']\").parent('.wpshop_bag');\r\n\t\t\t\t\tvar m = 0;\r\n\t\t\t\t\tvar old_price_arr = new Array();\r\n\t\t\t\t\tblock.find('.wpshop_buy tr').each(function(){\r\n\t\t\t\t\t\tvar old_price = jQuery(this).find('> td.wpshop_price');\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tvar old_price_str = old_price.text();\r\n\t\t\t\t\t\tvar old_price_num = old_price_str.replace('\u0440\u0443\u0431.','')*1;\r\n\t\t\t\t\t\told_price_arr[m] = old_price_num;\r\n\t\t\t\t\t\tm++;\r\n\t\t\t\t\t});\r\n\t\t\t\t\t\r\n\t\t\t\t\tjQuery(\"#wpshop_property_417 .wpshop_properties\").on( \"change\",\"[name='\u0414\u043e\u0441\u0442\u0430\u0432\u043a\u0430']\",function() {\r\n\t\t\t\t\t\tvar formula_value = 0;\r\n\t\t\t\t\t\tjQuery(\"#wpshop_property_417 .wpshop_properties dt\").each(function(){\r\n\t\t\t\t\t\t\tvar get_formula = jQuery(this).find('option:selected').attr('formula')*1;\r\n\t\t\t\t\t\t\tif (get_formula){\r\n\t\t\t\t\t\t\t\tformula_value = formula_value+get_formula;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\tvar i = 0;\r\n\t\t\t\t\t\tblock.find('.wpshop_buy tr').each(function(){\r\n\t\t\t\t\t\t\tvar button_block = jQuery(this).find('> td.wpshop_button > a');\r\n\t\t\t\t\t\t\tvar caption_block = jQuery(this).find('> td.wpshop_caption > a');\r\n\t\t\t\t\t\t\tvar button_old_val = button_block.attr('onclick');\r\n\t\t\t\t\t\t\tvar button_to_array = button_old_val.split(',');\r\n\t\t\t\t\t\t\tvar old_price_num = old_price_arr[i];\r\n\t\t\t\t\t\t\tif (formula_value) {\r\n\t\t\t\t\t\t\t\tvar new_price = old_price_num+formula_value;\r\n\t\t\t\t\t\t\t\tif (new_price <= 0) {\r\n\t\t\t\t\t\t\t\t\tnew_price = old_price_num;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t}else{\r\n\t\t\t\t\t\t\t\tvar new_price = old_price_num;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tbutton_to_array[3] = new_price;\r\n\t\t\t\t\t\t\tbutton_block.attr('onclick',button_to_array.toString());\r\n\t\t\t\t\t\t\tcaption_block.attr('onclick',button_to_array.toString());\r\n\t\t\t\t\t\t\tjQuery(this).find('> td.wpshop_price').text(new_price+' \u0440\u0443\u0431.');\r\n\t\t\t\t\t\t\ti++;\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t});\r\n\t\t\t\t});<\/script><dt>\u0414\u043e\u0441\u0442\u0430\u0432\u043a\u0430 <select name='\u0414\u043e\u0441\u0442\u0430\u0432\u043a\u0430'><option value='-'>-<\/option><option value=' \u041a\u0443\u0440\u044c\u0435\u0440'> \u041a\u0443\u0440\u044c\u0435\u0440<\/option><option value=' \u041f\u043e\u0447\u0442\u0430'> \u041f\u043e\u0447\u0442\u0430<\/option><option value=' \u0421\u0430\u043c\u043e\u0432\u044b\u0432\u043e\u0437'> \u0421\u0430\u043c\u043e\u0432\u044b\u0432\u043e\u0437<\/option><\/select><\/dt><\/dl><\/div><\/div><\/p>\n<div class=\"wpshop_bag \">\r\n<input type='hidden' name=\"wpshop-good-title-417\" value='\u0427\u0435\u0440\u043d\u043e\u0431\u044b\u043b\u044c\u043d\u0438\u043a'\/>\r\n\t<div class=\"wpshop_buy\">\r\n\t\t<table cellpadding=\"5\" cellspacing=\"0\" border=\"0\" width=\"100%\">\r\n\t\t\t\t\t\t<tr class=\"line_1\">\r\n\t\t\t\t\t\t\t\t\t\t<td class=\"wpshop_caption\">\r\n\t\t\t\t\t\t<a style=\"cursor: pointer\" href=\"#\" onclick=\"javascript:addtocart('417', '', 'http:\/\/chernetskaya.ru\/shop\/417', '300', document.getElementById('goods_count_417_1').value, '1',''); return false;;\" style=\"font-weight:bold;\"><\/a>\r\n\t\t\t\t\t<\/td>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"wpshop_price\">\r\n\t\t\t\t\t\t300 \u0440\u0443\u0431.\t\t\t\t\t<\/td>\r\n\t\t\t\t\t         \r\n\t\t\t\t\t<td class=\"wpshop_count\">\r\n\t\t\t\t\t\t<input maxlength='4' type='text'  value='1' name='goods_count_417_1' id='goods_count_417_1' size='3' \/>\r\n\t\t\t\t\t<\/td>\r\n\t\t\t\t\t<td class=\"wpshop_button\">\r\n\t\t\t\t\t\t<a href='#' onclick=\"addtocart('417', '', 'http:\/\/chernetskaya.ru\/shop\/417', '300', document.getElementById('goods_count_417_1').value, '1',''); return false;\" class=\"arrow_button\" alt=\"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c\" title=\"\u0417\u0430\u043a\u0430\u0437\"><\/a>\r\n\t\t\t\t\t<\/td>\r\n\t\t\t\t<\/tr>\r\n\t\t\t\t\t\t\t\t<\/table>\r\n\t<\/div>\r\n<\/div>\r\n","protected":false},"excerpt":{"rendered":"<p>\u041c\u0430\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0441\u0438\u043b\u044b: \u0441\u0438\u043b\u0430, \u0434\u0443\u0448\u0435\u0432\u043d\u044b\u0435 \u0441\u0438\u043b\u044b, \u0437\u0430\u0449\u0438\u0442\u0430, \u0432\u0435\u0449\u0438\u0435 \u0441\u043d\u044b, \u0438\u0441\u0446\u0435\u043b\u0435\u043d\u0438\u0435, \u0430\u0441\u0442\u0440\u0430\u043b\u044c\u043d\u044b\u0439 \u0432\u044b\u0431\u0440\u043e\u0441. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u0434\u043b\u044f \u0438\u0437\u0433\u043d\u0430\u043d\u0438\u044f \u0437\u043b\u044b\u0445 \u0434\u0443\u0445\u043e\u0432, \u0431\u043e\u043b\u0435\u0437\u043d\u0435\u0439. 300 \u0440\u0443\u0431.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[30],"aioseo_notices":[],"_links":{"self":[{"href":"http:\/\/chernetskaya.ru\/shop\/wp-json\/wp\/v2\/posts\/417"}],"collection":[{"href":"http:\/\/chernetskaya.ru\/shop\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/chernetskaya.ru\/shop\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/chernetskaya.ru\/shop\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/chernetskaya.ru\/shop\/wp-json\/wp\/v2\/comments?post=417"}],"version-history":[{"count":0,"href":"http:\/\/chernetskaya.ru\/shop\/wp-json\/wp\/v2\/posts\/417\/revisions"}],"wp:attachment":[{"href":"http:\/\/chernetskaya.ru\/shop\/wp-json\/wp\/v2\/media?parent=417"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/chernetskaya.ru\/shop\/wp-json\/wp\/v2\/categories?post=417"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/chernetskaya.ru\/shop\/wp-json\/wp\/v2\/tags?post=417"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}