{"id":157701,"date":"2013-09-04T12:52:02","date_gmt":"2013-09-04T08:52:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=157701"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=157701","title":{"rendered":"<span class=\"post_title\">\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0438 \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u0438 \u0444\u043e\u0440\u043c<\/span>"},"content":{"rendered":"<div class=\"content html_format\">\n<h4>\u041f\u0440\u0435\u0434\u0438\u0441\u043b\u043e\u0432\u0438\u0435<\/h4>\n<p>  \u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0444\u043e\u0440\u043c \u2014 \u043e\u0434\u0438\u043d \u0438\u0437 \u0441\u0430\u043c\u044b\u0445 \u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432 \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u043b\u044e\u0431\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0430. \u042d\u0442\u0430 \u0447\u0430\u0441\u0442\u044c \u0441\u0430\u0439\u0442\u0430, \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u0432 \u0431\u043e\u043b\u044c\u0448\u0435\u0439 \u0441\u0442\u0435\u043f\u0435\u043d\u0438 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043f\u0440\u0438\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0435\u0434\u043e\u0442\u0432\u0440\u0430\u0442\u0438\u0442\u044c \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u043d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u044b\u0435 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0439. \u0414\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u2014 \u044d\u0442\u043e \u0441\u0430\u043c\u044b\u0439 \u0433\u043b\u0430\u0432\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440, \u043f\u0440\u0438 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043d\u0443\u0436\u043d\u043e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0435\u043c\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f. \u041d\u0430\u0432\u0435\u0440\u043d\u043e\u0435, 99% \u0432\u0441\u0435\u0445 \u0441\u0430\u0439\u0442\u043e\u0432 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442 \u0444\u043e\u0440\u043c\u044b, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430\u0434\u0435\u044e\u0441\u044c, \u0447\u0442\u043e \u0441\u0442\u0430\u0442\u044c\u044f \u0441\u043c\u043e\u0436\u0435\u0442 \u043e\u0431\u043b\u0435\u0433\u0447\u0438\u0442\u044c \u0436\u0438\u0437\u043d\u044c, \u043a\u0430\u043a \u043c\u0438\u043d\u0438\u043c\u0443\u043c, \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u043c web-\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u0430\u043c.<br \/>  \u0422\u043e\u043f\u0438\u043a \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e\u043c \u043a \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044e \u0438 \u043d\u0435 \u043f\u0440\u0438\u0437\u044b\u0432\u0430\u0435\u0442 \u0432\u0441\u0435\u0433\u0434\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u0443\u044e \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044e \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0444\u043e\u0440\u043c \u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043d\u0438\u043c\u0438. \u0421\u0442\u0430\u0442\u044c\u044f \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u043d\u0430 \u0433\u043b\u0430\u0432\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043d\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u043e \u0441\u0438\u0445 \u043f\u043e\u0440 \u043f\u0438\u0448\u0443\u0442 \u0444\u043e\u0440\u043c\u044b \u0438 \u043a\u043e\u0434 \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u0438 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043f\u043e\u043b\u044f \u0432\u0440\u0443\u0447\u043d\u0443\u044e.<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h5>\u0418\u0442\u0430\u043a, \u0444\u043e\u0440\u043c\u044b<\/h5>\n<p>  <\/p>\n<pre><code class=\"html\">&lt;form name=&quot;loginform&quot; action=&quot;\/login&quot; method=&quot;post&quot; class=&quot;formclass&quot; autocomplete=&quot;off&quot;&gt; ... &lt;form&gt; <\/code><\/pre>\n<p>  \u0421\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0440\u044f\u0434 \u0441\u0432\u043e\u0439\u0441\u0442\u0432 \u0438 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0443\u0435\u0442\u0441\u044f \u0432\u0432\u043e\u0434 \u0434\u0430\u043d\u043d\u044b\u0445 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u043e\u0433\u043e \u0444\u043e\u0440\u043c\u0430\u0442\u0430. \u041a\u0430\u0436\u0434\u0430\u044f \u0444\u043e\u0440\u043c\u0430 \u0438\u043c\u0435\u0435\u0442 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430, \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u043e\u0435 \u0447\u0438\u0441\u0442\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0438 \u0438\u0445 \u0440\u0430\u0437\u043d\u043e\u043e\u0431\u0440\u0430\u0437\u0438\u0435. \u041a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437, \u043a\u043e\u0434 \u0434\u043e\u043b\u0436\u0435\u043d \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0441\u0442\u044c \u0432\u0432\u043e\u0434\u0430 \u0435\u0449\u0451 \u0434\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043d\u0435 \u0436\u0434\u0430\u043b \u043e\u0442\u0432\u0435\u0442\u0430 \u043e\u0442 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0435\u0449\u0451 \u0434\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440. \u042d\u0442\u043e \u0438 \u0447\u0430\u0441\u0442\u0438\u0447\u043d\u043e \u0441\u043d\u0438\u0436\u0430\u0435\u0442 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u043d\u0430 \u0441\u0430\u043c \u0441\u0435\u0440\u0432\u0435\u0440 \u0438 \u0443\u043c\u0435\u043d\u044c\u0448\u0430\u0435\u0442 \u0432\u0440\u0435\u043c\u044f, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0442\u0440\u0430\u0442\u0438\u0442 \u043d\u0430 \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u0435 \u043e\u0442\u0432\u0435\u0442\u0430. \u0412 \u0441\u0432\u043e\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u0443\u0431\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u0438 \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043f\u0440\u0438\u0448\u0435\u0434\u0448\u0438\u043c \u043e\u0442 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0434\u0430\u043d\u043d\u044b\u043c \u043d\u0435\u043b\u044c\u0437\u044f \u0434\u043e\u0432\u0435\u0440\u044f\u0442\u044c.<\/p>\n<h4>\u0412\u043f\u0438\u0441\u044b\u0432\u0430\u043d\u0438\u0435 \u0432 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u0434\u0432\u0438\u0436\u043e\u043a \u0441\u0430\u0439\u0442\u0430<\/h4>\n<p>  \u041f\u0440\u0438\u0432\u0435\u0434\u0451\u043d\u043d\u044b\u0435 \u0432 \u0441\u0442\u0430\u0442\u044c\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u043d\u0435\u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0430\u0434\u0430\u043f\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u043f\u043e\u0434 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0443 <b>MVC<\/b>, \u043d\u043e \u0432\u044b \u0441 \u043b\u0451\u0433\u043a\u043e\u0441\u0442\u044c\u044e \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u0434\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043a\u043b\u0430\u0441\u0441\u044b \u043f\u043e\u0434 \u0441\u0432\u043e\u044e \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0443. \u0426\u0435\u043b\u044c \u0441\u0442\u0430\u0442\u044c\u0438 \u2014 \u0434\u043e\u043d\u0435\u0441\u0442\u0438 \u043e\u0431\u0449\u0438\u0439 \u043f\u0440\u0438\u043d\u0446\u0438\u043f, \u0430 \u043d\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u043a\u0430\u043a \u043d\u0443\u0436\u043d\u043e \u043f\u0438\u0441\u0430\u0442\u044c \u043a\u043e\u0434.<br \/>  \u0421\u0442\u0430\u0442\u0438\u0447\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c HTML-\u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0438 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0430\u0445. \u041d\u0430 \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0437\u0433\u043b\u044f\u0434 \u043d\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0444\u043e\u0440\u043c\u044b \u0432 \u0444\u0430\u0439\u043b\u0430\u0445 \u0448\u0430\u0431\u043b\u043e\u043d\u0430. \u041d\u043e \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u043d\u0430 \u0432\u0430\u0448\u0435\u043c \u0441\u0430\u0439\u0442\u0435 \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0444\u043e\u0440\u043c? \u0414\u0430, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0434\u043d\u0435\u0439, \u043d\u0435\u0434\u0435\u043b\u044c\u043a\u0443, \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0432\u0441\u0435 \u0444\u043e\u0440\u043c\u044b \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0430\u0445, \u0434\u0430\u043b\u0435\u0435 \u0441\u043e\u0437\u0434\u0430\u0442\u044c JavaScript-\u043a\u043e\u0434, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u044b \u0432\u0430\u043b\u0438\u0434\u0438\u0440\u043e\u0432\u0430\u043b \u0444\u043e\u0440\u043c\u044b \u043d\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u043f\u0435\u0440\u0435\u0434 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u043e\u0439, \u0434\u0430\u043b\u0435\u0435 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043d\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438 \u0442.\u0434. \u0418 \u0432\u0441\u0451 \u044d\u0442\u043e \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0439 \u0444\u043e\u0440\u043c\u044b! \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043a\u0430\u043a \u044d\u0442\u043e\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043c\u043e\u0436\u043d\u043e \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043e\u0431\u043b\u0435\u0433\u0447\u0438\u0442\u044c \u0441\u0435\u0431\u0435 \u0437\u0430\u0434\u0430\u0447\u0443. \u041e\u0444\u043e\u0440\u043c\u0438\u043c \u0432\u0441\u0451 \u0432 \u0432\u0438\u0434\u0435 \u043a\u043b\u0430\u0441\u0441\u043e\u0432 \u0438 \u0432 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u043c \u043b\u0435\u0433\u043a\u043e \u0441\u043c\u043e\u0436\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0441\u0432\u043e\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445.<\/p>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0432 \u0443\u0434\u043e\u0431\u043d\u043e\u043c \u043c\u0435\u0441\u0442\u0435 \u0441\u0432\u043e\u0435\u0433\u043e \u0441\u0430\u0439\u0442\u0430 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e forms \u0438 \u0432 \u043d\u0435\u0451 \u0431\u0443\u0434\u0435\u043c \u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u0441 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u043c \u0444\u043e\u0440\u043c. \u042f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e XML. \u041f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u043c\u044b\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 \u0444\u0430\u0439\u043b\u0430 \u0444\u043e\u0440\u043c\u044b:<\/p>\n<pre><code class=\"xml\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;validator method=&quot;post&quot; action=&quot;\/json\/login&quot; class=&quot;form&quot;&gt; &lt;field type=&quot;word&quot; name=&quot;username&quot; req=&quot;true&quot; value=&quot;&quot; min=&quot;4&quot; max=&quot;25&quot;&gt;User name&lt;\/field&gt; &lt;field type=&quot;password&quot; name=&quot;password&quot; req=&quot;true&quot; value=&quot;&quot; min=&quot;4&quot; max=&quot;25&quot;&gt;User password&lt;\/field&gt; &lt;field type=&quot;submit&quot;&gt;Log In&lt;\/field&gt; &lt;\/validator&gt; <\/code><\/pre>\n<p>  \u041f\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044e \u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u0444\u043e\u0440\u043c\u0430, \u0441\u043e\u0441\u0442\u043e\u044f\u0449\u0430\u044f \u0438\u0437 \u0442\u0440\u0451\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432, \u0434\u043e\u043b\u0436\u043d\u0430 \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c\u0441\u044f \u043c\u0435\u0442\u043e\u0434\u043e\u043c <b>POST<\/b> \u043d\u0430 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0430\u0434\u0440\u0435\u0441 <b>\/json\/login<\/b> \u0438 \u0438\u043c\u0435\u0435\u0442 CSS-\u043a\u043b\u0430\u0441\u0441 <b>form<\/b>.<br \/>  \u042d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0444\u043e\u0440\u043c\u044b:<\/p>\n<ul>\n<li>\u041f\u043e\u043b\u0435 \u0434\u043b\u044f \u0432\u0432\u043e\u0434\u0430 \u0438\u043c\u0435\u043d\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u0441 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435\u043c \u043f\u043e \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u0438 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u0434\u043b\u0438\u043d\u044b \u0432\u0432\u043e\u0434\u0438\u043c\u043e\u0433\u043e \u0442\u0435\u043a\u0441\u0442\u0430<\/li>\n<li>\u041f\u043e\u043b\u0435 \u0434\u043b\u044f \u0432\u0432\u043e\u0434\u0430 \u043f\u0430\u0440\u043e\u043b\u044f, \u0441 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435\u043c \u043f\u043e \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u0438 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u0434\u043b\u0438\u043d\u044b \u0432\u0432\u043e\u0434\u0438\u043c\u043e\u0433\u043e \u0442\u0435\u043a\u0441\u0442\u0430<\/li>\n<li>\u041a\u043d\u043e\u043f\u043a\u0430 \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0444\u043e\u0440\u043c\u044b<\/li>\n<\/ul>\n<p>  \u0413\u043b\u0430\u0432\u043d\u044b\u043c \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u043c \u043f\u043e\u043b\u0435\u0439 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f <b>TYPE<\/b>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0434\u043d\u043e\u0437\u043d\u0430\u0447\u043d\u043e \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u0446\u0438\u0440\u0443\u0435\u0442, \u043a\u0430\u043a\u043e\u0439 HTML-\u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u043d \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u0438 \u043a\u0430\u043a\u0438\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432 \u043d\u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0432\u0432\u043e\u0434\u0438\u0442\u044c. \u0422\u0430\u043a\u0436\u0435 \u0431\u0443\u0434\u0435\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d \u043a\u043e\u0434 JavaScript \u0434\u043b\u044f \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u0438 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043f\u043e\u043b\u0435\u0439 \u0444\u043e\u0440\u043c\u044b \u043d\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u0430, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043d\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u043e\u0441\u043b\u0435 \u043f\u0440\u0438\u043d\u044f\u0442\u0438\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0444\u043e\u0440\u043c\u044b. <\/p>\n<h4>\u0412\u0441\u0442\u0430\u0432\u043a\u0430 \u0444\u043e\u0440\u043c\u044b \u0432 web-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443<\/h4>\n<p>  \u0414\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0432\u0441\u0442\u0430\u0432\u043a\u0438 \u0444\u043e\u0440\u043c\u044b \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443, \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0435 \u0432 \u043d\u0443\u0436\u043d\u043e\u043c \u043c\u0435\u0441\u0442\u0435 \u0432\u0441\u0442\u0430\u0432\u0438\u043c \u043c\u0435\u0442\u043a\u0443 <code>&lt;!--[LOGIN]--&gt;<\/code>, \u0434\u0430\u043b\u0435\u0435 \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0438\u0437\u0430\u0442\u043e\u0440\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043c\u0435\u0442\u043e\u0434, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u044b \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u043b \u0432\u043c\u0435\u0441\u0442\u043e \u043c\u0435\u0442\u043a\u0438 \u0444\u043e\u0440\u043c\u0443. \u0423 \u043c\u0435\u043d\u044f \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u043d\u043e \u0442\u0430\u043a:<\/p>\n<pre><code class=\"php\">public function setForm($data)    {     $p1='\/&lt;!--\\[(\\w+)\\]--&gt;\/';     $n =preg_match_all($p1, $data, $matches);     If ($n&gt;0)     {        require_once(PATH.&quot;formClass.php&quot;);       for ($i=0; $i&lt;=$n-1; $i++)  \t{  \t $p2='\/&lt;!--\\['.$matches[1][$i].'\\]--&gt;\/';          $form = new formClass(strtolower($matches[1][$i]));  \t $data = preg_replace($p2, $form-&gt;getHTML(), $data);  \t}     }     return $data;    } <\/code><\/pre>\n<p>  \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 <b>$data<\/b> \u2014 \u044d\u0442\u043e \u0442\u0435\u043a\u0441\u0442 \u0448\u0430\u0431\u043b\u043e\u043d\u0430.<\/p>\n<h4>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0444\u043e\u0440\u043c\u044b<\/h4>\n<p>  \u0424\u043e\u0440\u043c\u0430 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0440\u0430\u0437\u043d\u043e\u043e\u0431\u0440\u0430\u0437\u043d\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432, \u0443 \u043a\u0430\u0436\u0434\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0435\u0441\u0442\u044c \u043e\u0431\u0449\u0438\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0431\u0430\u0437\u043e\u0432\u043e\u0433\u043e \u043a\u043b\u0430\u0441\u0441\u0430 \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0441 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435\u043c.<\/p>\n<pre><code class=\"php\">class baseHTMLelement {     protected $title, $name, $req, $min=0, $max=255, $value='', $js;          public function __construct($name, $title, $req='false')     {         $this-&gt;name     = $name;         $this-&gt;title    = $title;         if ($req == 'true')         {             $this-&gt;req = true;         }         else         {             $this-&gt;req = false;         }     }          public function freq($req)     {         if ($req == 'true')         {             return true;         }         else         {             return false;         }     }          public function add_allow_char($patern)     {         $this-&gt;js .= 'if(el.name==&quot;'.$this-&gt;name.'&quot;){var Pattern=\/^(['.$patern.']+)$\/i;if(!Pattern.test(value)){showmessage(&quot;['.$this-&gt;title.']: The field can only contain &lt;em&gt;'.$patern.'&lt;\/em&gt;&quot;);break;}}';     }          public function add_rule($rule)     {         $this-&gt;js .= $rule;     }          public function add_regex($patern, $messege)     {         $this-&gt;js .= 'if(el.name==&quot;'.$this-&gt;name.'&quot;){var Pattern=\/'.$patern.'\/i; if (!Pattern.test(value)){showmessage(&quot;['.$this-&gt;title.']: '.$messege.'&quot;);break;}}';     }          public function setValue($value='')     {         $this-&gt;value = $value;     }          public function get_title()     {         return $this-&gt;title;     }          public function is_req()     {         return $this-&gt;req;     }          public function get_js()     {         if ($this-&gt;req == false)         {             return '';         }         else         {             return 'if((el.name==&quot;'.$this-&gt;name.'&quot;)&(value==&quot;&quot;)){showmessage(&quot;['.$this-&gt;title.']: The field can not be empty&quot;);break;}'.             'if((el.name==&quot;'.$this-&gt;name.'&quot;)&(value.length&lt;'.$this-&gt;min.')){showmessage(&quot;['.$this-&gt;title.']: Length should not be less than '.$this-&gt;min.'&quot;);break;}'.$this-&gt;js;         }     }          public function setLenght($min=0, $max=255)     {         $this-&gt;min = $min;         $this-&gt;max = $max;     } } <\/code><\/pre>\n<p>  \u042d\u0442\u043e\u0442 \u043a\u043b\u0430\u0441\u0441 \u0441\u043e\u0437\u0434\u0430\u0451\u0442 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0441 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u043c\u0438 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430\u043c\u0438, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u0435\u0442 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044e JavaScript-\u043a\u043e\u0434\u0430, \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u044e\u0449\u0435\u0433\u043e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u043f\u043e\u043b\u044f.<\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u0441\u043e\u0437\u0434\u0430\u0451\u043c \u0435\u0449\u0451 \u0443\u0434\u0438\u043d \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0430\u0431\u0441\u0442\u0440\u0430\u043a\u0446\u0438\u0438 \u2014 \u0432\u0441\u0435 \u043f\u043e\u043b\u044f \u0432\u0432\u043e\u0434\u0430 INPUT:<\/p>\n<pre><code class=\"php\">class inputHTMLelement extends baseHTMLelement {     public function __construct($name, $title, $req = 'false')     {         parent::__construct($name, $title, $req);     }      public function get_html()     {         return '&lt;input type=&quot;text&quot; name=&quot;'.$this-&gt;name.'&quot; value=&quot;'.$this-&gt;value.'&quot; maxlength=&quot;'.$this-&gt;max.'&quot;&gt;';     } } <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u043f\u043e\u043b\u044f \u0432\u0432\u043e\u0434\u0430 \u043f\u0430\u0440\u043e\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043a\u043b\u0430\u0441\u0441, \u0433\u0434\u0435 \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043c \u043c\u0435\u0442\u043e\u0434 <b>get_html<\/b>, \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0449\u0438\u0439 \u0437\u0430 HTML-\u043a\u043e\u0434 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430:<\/p>\n<pre><code class=\"php\">class inputPasswordHTMLelement extends inputHTMLelement {     public function __construct($name, $title, $req = 'false')     {         parent::__construct($name, $title, $req);     }          public function get_html()     {         return '&lt;input type=&quot;password&quot; name=&quot;'.$this-&gt;name.'&quot; value=&quot;'.$this-&gt;value.'&quot; maxlength=&quot;'.$this-&gt;max.'&quot;&gt;';     } } <\/code><\/pre>\n<p>  \u041d\u0443 \u0438, \u043d\u0430\u043a\u043e\u043d\u0435\u0446, \u0434\u043b\u044f \u043a\u043d\u043e\u043f\u043a\u0438:<\/p>\n<pre><code class=\"php\">class submitHTMLelement extends baseHTMLelement {     protected $value;     public function __construct($value)     {         parent::__construct('submit', $title='');         $this-&gt;value = $value;     }          public function get_html()     {         return '&lt;button onclick=&quot;checkForm();return false;&quot;&gt;'.$this-&gt;value.'&lt;\/button&gt;';     } } <\/code><\/pre>\n<p>  \u0412\u044b \u0441\u043f\u0440\u043e\u0441\u0438\u0442\u0435 \u043f\u043e\u0447\u0435\u043c\u0443 \u043a\u043d\u043e\u043f\u043a\u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u0442\u0430\u043a\u0430\u044f? \u042f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e AJAX \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0444\u043e\u0440\u043c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u043d\u0435 \u0443\u0434\u043e\u0431\u0435\u043d \u0442\u0430\u043a\u043e\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442, \u0432\u044b \u0443 \u0441\u0435\u0431\u044f \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0442\u0430\u043a, \u043a\u0430\u043a \u0432\u0430\u043c \u0443\u0434\u043e\u0431\u043d\u043e.<br \/>  \u041e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0444\u043e\u0440\u043c\u044b \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0430\u043c\u0438 \u043f\u043e \u0442\u0430\u043a\u043e\u043c\u0443 \u0436\u0435 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0443.<\/p>\n<h5>\u0411\u0430\u0437\u043e\u0432\u0430\u044f \u0444\u043e\u0440\u043c\u0430<\/h5>\n<p>  \u041f\u043e \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0438 \u0441 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u043c\u0438, \u0444\u043e\u0440\u043c\u044b \u0442\u043e\u0436\u0435 \u0438\u043c\u0435\u044e\u0442 \u043d\u0430\u0431\u043e\u0440 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u0444\u043e\u0440\u043c \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430\u043c\u0438, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0440\u0435\u0448\u0438\u043b \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0431\u0430\u0437\u043e\u0432\u044b\u0439 \u043a\u043b\u0430\u0441\u0441 \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0435\u043c\u044b\u0445 \u0444\u043e\u0440\u043c:<\/p>\n<pre><code class=\"php\">class baseHTMLform {     protected $name, $action, $method, $class, $autocomplete;     protected $elements = array();          public function __construct($name, $action, $method, $class, $autocomplete=false)     {         $this-&gt;name     = $name;         $this-&gt;action   = $action;         $this-&gt;method   = $method;         $this-&gt;class    = $class;         If ($autocomplete == true)         {             $this-&gt;autocomplete = &quot;on&quot;;         }         else         {             $this-&gt;autocomplete = &quot;off&quot;;         }     }          public function addElement($el)     {         $this-&gt;elements[] = $el;     }          public function show()     {         $html = '&lt;div id=&quot;errortext&quot;&gt;&lt;\/div&gt;&lt;form name=&quot;'.$this-&gt;name.'&quot; action=&quot;'.$this-&gt;action.'&quot; method=&quot;'.$this-&gt;method.'&quot; class=&quot;'.$this-&gt;class.'&quot; autocomplete=&quot;'.$this-&gt;autocomplete.'&quot;&gt;&lt;table&gt;';         $js = '&lt;script type=&quot;text\/javascript&quot; src=&quot;\/js\/api.js?rand=0.01&quot;&gt;&lt;\/script&gt;';         $js.= '&lt;script type=&quot;text\/javascript&quot;&gt;function checkForm(){var el,elName,value,type,form;error=0;form=document.forms[&quot;'.$this-&gt;name.'&quot;];for(var i = 0;i&lt;form.length;i++){el=form.elements[i];elName=el.nodeName.toLowerCase();value=$.trim(el.value);';         foreach ($this-&gt;elements as $el)         {             $reqstar = '';             If ($el-&gt;is_req())             {                 $reqstar = '&lt;em class=&quot;red&quot;&gt;*&lt;\/em&gt;';             }             $js .= $el-&gt;get_js();             $html .= '&lt;tr&gt;&lt;td&gt;'.$el-&gt;get_title().$reqstar.'&lt;\/td&gt;&lt;td&gt;'.$el-&gt;get_html().'&lt;\/td&gt;&lt;\/tr&gt;';         }         $html .= '&lt;\/table&gt;&lt;\/form&gt;';         $js .= '}if(error == 0){post(&quot;'.$this-&gt;name.'&quot;, &quot;'.$this-&gt;action.'&quot;, &quot;#errortext&quot;);}}&lt;\/script&gt;';         return $js.$html;     } } <\/code><\/pre>\n<p>  \u041a\u043b\u0430\u0441\u0441 \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u0442 \u043c\u0435\u0442\u043e\u0434\u044b, \u0441\u043e\u0437\u0434\u0430\u044e\u0449\u0438\u0435 HTML-\u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0443 \u0444\u043e\u0440\u043c\u044b \u0438 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u044e\u0449\u0438\u0435 \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 JavaScript-\u043a\u043e\u0434.<br \/>  \u0412 \u043b\u0438\u0441\u0442\u0440\u0438\u043d\u0433\u0435 \u0443\u043a\u0430\u0437\u0430\u043d \u043f\u0440\u0438\u043a\u0440\u0435\u043f\u043b\u044f\u0435\u043c\u044b\u0439 \u0444\u0430\u0439\u043b <b>api.js<\/b>, \u044d\u0442\u043e \u043c\u043e\u044f \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u0430\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u044f \u043f\u043e AJAX \u043f\u0435\u0440\u0435\u0434\u0430\u044e \u0444\u043e\u0440\u043c\u0443 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u0438 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u044e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0442\u0430\u043a\u0438\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u043a\u0430\u043a showmessage.<\/p>\n<h5>\u0421\u0431\u043e\u0440\u043a\u0430 \u0444\u043e\u0440\u043c\u044b \u0438\u0437 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043f\u0440\u0430\u0432\u0438\u043b \u0434\u043b\u044f \u0432\u0432\u043e\u0434\u0438\u043c\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439<\/h5>\n<p>  <\/p>\n<pre><code class=\"php\">class formClass {     private $formfile, $name;          public function __construct($name)     {         $this-&gt;formfile = '..\/application\/forms\/'.$name.'.xml';         $this-&gt;name     = $name;         if(!is_file($this-&gt;formfile)) new CustomException('Not found form: &quot;'.$name.'&quot;');     }          public function getHTML()     {         $xml   = simplexml_load_file($this-&gt;formfile);         $form = new baseHTMLform($this-&gt;name, $xml['action'], $xml['method'], $xml['class']);         $html = '';            foreach ($xml-&gt;field as $element)         {             switch ($element['type'])             {                 case &quot;text&quot;:                     $htmlElement = new inputHTMLelement($element['name'], $element, $element['req']);                     $htmlElement-&gt;setLenght($element['min'], $element['max']);                     $htmlElement-&gt;setValue($element['value']);                     $form-&gt;addElement($htmlElement);                     break;                 case &quot;password&quot;:                     $htmlElement = new inputPasswordHTMLelement($element['name'], $element, $element['req']);                     $htmlElement-&gt;setLenght($element['min'], $element['max']);                     $htmlElement-&gt;setValue($element['value']);                     $form-&gt;addElement($htmlElement);                     break;                 case &quot;word&quot;:                     $htmlElement = new inputHTMLelement($element['name'], $element, $element['req']);                     $htmlElement-&gt;setLenght($element['min'], $element['max']);                     $htmlElement-&gt;setValue($element['value']);                     $htmlElement-&gt;add_allow_char('-_0-9a-zA-Z\u0430-\u044f\u0410-\u042f');                     $form-&gt;addElement($htmlElement);                     break;                 case &quot;submit&quot;:                     $htmlElement = new submitHTMLelement($element);                     $form-&gt;addElement($htmlElement);                     break;                 case &quot;alpha&quot;:                     $htmlElement = new inputHTMLelement($element['name'], $element, $element['req']);                     $htmlElement-&gt;setLenght($element['min'], $element['max']);                     $htmlElement-&gt;setValue($element['value']);                     $htmlElement-&gt;add_allow_char('a-zA-Z\u0430-\u044f\u0410-\u042f');                     $form-&gt;addElement($htmlElement);                     break;                 case &quot;alpha-number&quot;:                     $htmlElement = new inputHTMLelement($element['name'], $element, $element['req']);                     $htmlElement-&gt;setLenght($element['min'], $element['max']);                     $htmlElement-&gt;setValue($element['value']);                     $htmlElement-&gt;add_allow_char('0-9a-zA-Z\u0430-\u044f\u0410-\u042f');                     $form-&gt;addElement($htmlElement);                     break;                 case &quot;number-int&quot;:                     $htmlElement = new inputHTMLelement($element['name'], $element, $element['req']);                     $htmlElement-&gt;setLenght($element['min'], $element['max']);                     $htmlElement-&gt;setValue($element['value']);                     $htmlElement-&gt;add_allow_char('0-9');                     $form-&gt;addElement($htmlElement);                     break;                 case &quot;time&quot;:                     $htmlElement = new inputHTMLelement($element['name'], $element, $element['req']);                     $htmlElement-&gt;setLenght($element['min'], $element['max']);                     $htmlElement-&gt;setValue($element['value']);                     $htmlElement-&gt;add_allow_char('-: 0-9 a-zA-Z\u0430-\u044f\u0410-\u042f');                     $form-&gt;addElement($htmlElement);                     break;                 case &quot;phone&quot;:                     $htmlElement = new inputHTMLelement($element['name'], $element, $element['req']);                     $htmlElement-&gt;setLenght($element['min'], $element['max']);                     $htmlElement-&gt;setValue($element['value']);                     $htmlElement-&gt;add_allow_char('-()+ 0-9');                     $form-&gt;addElement($htmlElement);                     break;                 case &quot;strings-alpha&quot;:                     $htmlElement = new inputHTMLelement($element['name'], $element, $element['req']);                     $htmlElement-&gt;setLenght($element['min'], $element['max']);                     $htmlElement-&gt;setValue($element['value']);                     $htmlElement-&gt;add_allow_char('\/-a-zA-Z\u0430-\u044f\u0410-\u042f, 0-9');                     $form-&gt;addElement($htmlElement);                     break;                 case &quot;repassword&quot;:                     $htmlElement = new inputPasswordHTMLelement($element['name'], $element, $element['req']);                     $htmlElement-&gt;setLenght($element['min'], $element['max']);                     $htmlElement-&gt;add_rule('if((el.name==&quot;'.$element['name'].'&quot;)&(elName==&quot;input&quot;)&(value!=form.password.value)){showmessage(&quot;['.$element.']: Password does not match&quot;);break;}');                     $form-&gt;addElement($htmlElement);                     break;                 case &quot;email&quot;:                     $htmlElement = new inputHTMLelement($element['name'], $element, $element['req']);                     $htmlElement-&gt;setLenght($element['min'], $element['max']);                     $htmlElement-&gt;setValue($element['value']);                     $htmlElement-&gt;add_regex('^([a-z0-9\\+_\\-]+)(\\.[a-z0-9\\+_\\-]+)*@([a-z0-9\\-]+\\.)+[a-z]{2,6}$', 'Incorrect address format E-mail');                     $form-&gt;addElement($htmlElement);                     break;                 case &quot;captcha&quot;:                     $htmlElement = new captchaHTMLelement($element['name'], $element, $element['req']);                     $form-&gt;addElement($htmlElement);                     break;                              }         }                  return $form-&gt;show();     }  } <\/code><\/pre>\n<p>  \u041a\u0430\u043a \u0432\u0438\u0434\u043d\u043e, \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u043a\u043b\u0430\u0441\u0441\u044b \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430 \u0441 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u044b\u043c\u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u043c\u0438 \u0434\u043b\u044f \u0432\u0432\u043e\u0434\u0438\u043c\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439, \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043d\u0430\u0434\u0435\u043b\u0438\u0442\u044c \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u043c\u0438 \u0431\u043e\u043b\u0435\u0435 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442.<\/p>\n<h4>\u0412\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044f \u043d\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430<\/h4>\n<p>  \u0417\u0434\u0435\u0441\u044c \u043f\u0440\u043e\u0449\u0435, \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u044c\u0441\u044f \u0434\u0438\u0437\u0430\u0439\u043d\u043e\u043c, \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043f\u0440\u0438\u0448\u0435\u0434\u0448\u0438\u0435 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f. \u0418 \u0434\u043b\u044f \u044d\u0442\u0438\u0445 \u0446\u0435\u043b\u0435\u0439 \u044f \u0441\u043e\u0437\u0434\u0430\u043b \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043a\u043b\u0430\u0441\u0441, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u043c\u0435\u0441\u0442\u0435, \u0433\u0434\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435. \u0423 \u043c\u0435\u043d\u044f \u044d\u0442\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/p>\n<pre><code class=\"php\">$validForm = new validatorClass($this-&gt;params[1]); $validForm-&gt;loadParams($this-&gt;post); if ($validForm-&gt;isError == false)      {        \/\/ \u041e\u0448\u0438\u0431\u043e\u043a \u043d\u0435\u0442, \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435      }    else      {         \/\/ \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043d\u0435 \u043f\u0440\u043e\u0448\u043b\u0438 \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044e, \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043e\u0448\u0438\u0431\u043a\u0438 \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u0432 $validForm-&gt;errorText      }    <\/code><\/pre>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0441\u0430\u043c \u043a\u043b\u0430\u0441\u0441 <b>validatorClass<\/b>:<\/p>\n<pre><code class=\"php\">class validatorClass  {    protected $src, $name;    public $errorText, $isError;         public function __construct($name)    {     $this-&gt;src = '..\/application\/userdata\/validator\/'.$name.'Validator.xml';     if(!is_file($this-&gt;src)) new CustomException('Not found: '.$this-&gt;src);     $this-&gt;name = $name;     $this-&gt;isError = false;    }        public function loadParams($params)    {     $xml = simplexml_load_file($this-&gt;src);    foreach($xml-&gt;field as $field)      {        $value = $params[''.$field['name'].''];                if (($field['req']==&quot;true&quot;)and($field['type'] != &quot;submit&quot;))         {           if ($value == &quot;&quot;){$this-&gt;isError = true; $this-&gt;errorText = 'The &lt; '.$field.' &gt; field can not be empty';break;}         }        if (($field['min'])and($value))         {           $min = (int) $field['min'];           if (mb_strlen($value, CHARSET) &lt; $min){$this-&gt;isError = true; $this-&gt;errorText = '\u041f\u043e\u043b\u0435 &lt; '.$field.' &gt; \u0434\u043e\u043b\u0436\u043d\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u043c\u0438\u043d\u0438\u043c\u0443\u043c '.$min.' \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432';break;}         }        if ($field['max'])         {           $max = (int) $field['max'];           if (mb_strlen($value, CHARSET) &gt; $max){$this-&gt;isError = true; $this-&gt;errorText = '\u041f\u043e\u043b\u0435 &lt; '.$field.' &gt; \u043f\u0440\u0435\u0432\u044b\u0448\u0430\u0435\u0442 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0445 '.$max.' \u0441\u0438\u043c\u0432\u043e\u043b\u0430';break;}         }         if ($field['type']==&quot;word&quot;)         {          $pattern = '\/^([-_0-9a-zA-Z\u0430-\u044f\u0410-\u042f]+)$\/iu';          $n = preg_match($pattern, $value);          if ($n == 0){$this-&gt;isError = true; $this-&gt;errorText = 'The &lt; '.$field.' &gt; field can only contain';break;}         }        if ($field['type']==&quot;email&quot;)         {          $pattern = '\/^([a-z0-9\\+_\\-]+)(\\.[a-z0-9\\+_\\-]+)*@([a-z0-9\\-]+\\.)+[a-z]{2,6}$\/';          $n = preg_match($pattern, $value);          if ($n == 0){$this-&gt;isError = true; $this-&gt;errorText = 'Incorrect E-mail format in '.$field.'field';break;}         }       }     }   } <\/code><\/pre>\n<p>  \u041a\u043b\u0430\u0441\u0441 \u043d\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u0430\u043a\u043a\u0443\u0440\u0430\u0442\u043d\u043e \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d, \u0434\u0430\u0432\u043d\u043e \u0438\u043c \u043d\u0435 \u0437\u0430\u043d\u0438\u043c\u0430\u043b\u0441\u044f, \u043d\u043e \u0447\u0442\u043e\u0431\u044b \u0431\u044b\u043b \u043f\u043e\u043d\u044f\u0442\u0435\u043d \u0441\u043c\u044b\u0441\u043b, \u044f \u043f\u0440\u0438\u0432\u0451\u043b \u0435\u0433\u043e. \u0412\u044b \u0441\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e \u043e\u0444\u043e\u0440\u043c\u0438\u0442\u0435 \u0435\u0433\u043e \u0431\u043e\u043b\u0435\u0435 \u043a\u0440\u0430\u0441\u0438\u0432\u043e.<\/p>\n<h4>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h4>\n<p>  \u041f\u0440\u0435\u0434\u0432\u0438\u0436\u0443, \u0447\u0442\u043e \u043c\u043d\u043e\u0433\u0438\u0435 \u043d\u0430\u0447\u043d\u0443\u0442 \u043f\u0438\u0441\u0430\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u0432\u0440\u043e\u0434\u0435 &quot;<i>\u0417\u0430\u0447\u0435\u043c \u0438\u0437\u043e\u0431\u0440\u0435\u0442\u0430\u0442\u044c \u0432\u0435\u043b\u043e\u0441\u0438\u043f\u0435\u0434?<\/i>&quot; \u0438 \u0442\u043e\u043c\u0443 \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0435, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u0440\u0430\u0437\u0443 \u043e\u0442\u0432\u0435\u0447\u0443:<br \/>   \u2014 \u0410 \u0432\u044b \u0443\u0447\u0438\u043b\u0438\u0441\u044c \u043f\u0438\u0441\u0430\u0442\u044c \u043d\u0430 PHP, \u0441\u0440\u0430\u0437\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0433\u043e\u0442\u043e\u0432\u044b\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438?<\/p>\n<p>  \u0423\u0447\u0438\u0442\u044c\u0441\u044f \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u2014 \u0432\u043d\u0438\u043a\u0430\u044f \u0432\u043e \u0432\u0441\u0451 \u0438 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0438\u0440\u0443\u044f \u0441 \u043a\u043e\u0434\u043e\u043c. \u042f \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u0445\u043e\u0442\u0435\u043b \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0432\u043e\u044e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e, \u043d\u0435 \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u044f \u0441\u0447\u0438\u0442\u0430\u044e \u0441\u0435\u0431\u044f \u0441\u0430\u043c\u044b\u043c \u0443\u043c\u043d\u044b\u043c, \u0430 \u043f\u043e\u0442\u043e\u043c\u0443, \u0447\u0442\u043e \u044f \u0445\u043e\u0447\u0443 \u043f\u0438\u0441\u0430\u0442\u044c, \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u043d\u0430\u043f\u0440\u044f\u0433\u0430\u0442\u044c \u043c\u043e\u0437\u0433\u0438 \u2014 \u044f \u043f\u043e\u043b\u0443\u0447\u0430\u044e \u043e\u0442 \u044d\u0442\u043e\u0433\u043e \u0443\u0434\u043e\u0432\u043e\u043b\u044c\u0441\u0442\u0432\u0438\u0435. \u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u0441\u0440\u0435\u0434\u0438 \u0432\u0430\u0441 \u043d\u0430\u0439\u0434\u0443\u0442\u0441\u044f \u0442\u0430\u043a\u0438\u0435 \u0436\u0435.<\/p>\n<p>  \u0410 \u0447\u0442\u043e \u043a\u0430\u0441\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0445 \u0438 \u0432\u044b\u0441\u043e\u043a\u043e \u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u0441\u0430\u0439\u0442\u043e\u0432, \u043e\u0434\u043d\u043e\u0437\u043d\u0430\u0447\u043d\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u043d\u044b\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u0435\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u044f.<\/p>\n<p>  \u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435! \t\t\t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/157701\/\"> http:\/\/habrahabr.ru\/post\/157701\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">\n<h4>\u041f\u0440\u0435\u0434\u0438\u0441\u043b\u043e\u0432\u0438\u0435<\/h4>\n<p>  \u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0444\u043e\u0440\u043c \u2014 \u043e\u0434\u0438\u043d \u0438\u0437 \u0441\u0430\u043c\u044b\u0445 \u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432 \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u043b\u044e\u0431\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0430. \u042d\u0442\u0430 \u0447\u0430\u0441\u0442\u044c \u0441\u0430\u0439\u0442\u0430, \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u0432 \u0431\u043e\u043b\u044c\u0448\u0435\u0439 \u0441\u0442\u0435\u043f\u0435\u043d\u0438 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043f\u0440\u0438\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0435\u0434\u043e\u0442\u0432\u0440\u0430\u0442\u0438\u0442\u044c \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u043d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u044b\u0435 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0439. \u0414\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u2014 \u044d\u0442\u043e \u0441\u0430\u043c\u044b\u0439 \u0433\u043b\u0430\u0432\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440, \u043f\u0440\u0438 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043d\u0443\u0436\u043d\u043e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0435\u043c\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f. \u041d\u0430\u0432\u0435\u0440\u043d\u043e\u0435, 99% \u0432\u0441\u0435\u0445 \u0441\u0430\u0439\u0442\u043e\u0432 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442 \u0444\u043e\u0440\u043c\u044b, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430\u0434\u0435\u044e\u0441\u044c, \u0447\u0442\u043e \u0441\u0442\u0430\u0442\u044c\u044f \u0441\u043c\u043e\u0436\u0435\u0442 \u043e\u0431\u043b\u0435\u0433\u0447\u0438\u0442\u044c \u0436\u0438\u0437\u043d\u044c, \u043a\u0430\u043a \u043c\u0438\u043d\u0438\u043c\u0443\u043c, \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u043c web-\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u0430\u043c.<br \/>  \u0422\u043e\u043f\u0438\u043a \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e\u043c \u043a \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044e \u0438 \u043d\u0435 \u043f\u0440\u0438\u0437\u044b\u0432\u0430\u0435\u0442 \u0432\u0441\u0435\u0433\u0434\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u0443\u044e \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044e \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0444\u043e\u0440\u043c \u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043d\u0438\u043c\u0438. \u0421\u0442\u0430\u0442\u044c\u044f \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u043d\u0430 \u0433\u043b\u0430\u0432\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043d\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u043e \u0441\u0438\u0445 \u043f\u043e\u0440 \u043f\u0438\u0448\u0443\u0442 \u0444\u043e\u0440\u043c\u044b \u0438 \u043a\u043e\u0434 \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u0438 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043f\u043e\u043b\u044f \u0432\u0440\u0443\u0447\u043d\u0443\u044e.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-157701","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/157701","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=157701"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/157701\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=157701"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=157701"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=157701"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}