В День Святого Валентина 0629 решил узнать у марупольцев, верят ли они в любовь с первого взгляда и получил очень неоднозначные ответы.
Подробности в нашем видеоопросе.
} } (document, "script", "twitter-wjs"); (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.async = true; js.src = "http://connect.facebook.net/ru_RU/sdk.js#xfbml=1&appId=143439145703359&version=v2.0"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); jQuery('#sign-in-popup-form').yiiActiveForm([{"id":"signinform-username","name":"username","container":".field-signinform-username","input":"#signinform-username","error":".form-err","enableAjaxValidation":true,"validate":function (attribute, value, messages, deferred, $form) {yii.validation.required(value, messages, {"message":"Необходимо заполнить «E-mail / Логин»."});yii.validation.string(value, messages, {"message":"Значение «E-mail / Логин» должно быть строкой.","skipOnEmpty":1});value = yii.validation.trim($form, attribute, []);}},{"id":"signinform-password","name":"password","container":".field-signinform-password","input":"#signinform-password","error":".form-err","enableAjaxValidation":true,"validate":function (attribute, value, messages, deferred, $form) {yii.validation.required(value, messages, {"message":"Необходимо заполнить «Пароль»."});yii.validation.string(value, messages, {"message":"Значение «Пароль» должно быть строкой.","skipOnEmpty":1});value = yii.validation.trim($form, attribute, []);}},{"id":"signinform-remember","name":"remember","container":".field-signinform-remember","input":"#signinform-remember","enableAjaxValidation":true,"validate":function (attribute, value, messages, deferred, $form) {yii.validation.number(value, messages, {"pattern":/^s*[+-]?d+s*$/,"message":"Значение «Запомнить меня» должно быть целым числом.","skipOnEmpty":1});}}], {"validationUrl":"https://www.0629.com.ua/auth/signin-validate"}); jQuery('#w2').authchoice(); jQuery('#sign-up-popup-form').yiiActiveForm([{"id":"signupform-email","name":"email","container":".field-signupform-email","input":"#signupform-email","error":".form-err","enableAjaxValidation":true,"validate":function (attribute, value, messages, deferred, $form) {yii.validation.required(value, messages, {"message":"Необходимо заполнить «E-mail»."});yii.validation.email(value, messages, {"pattern":/^[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/,"fullPattern":/^[^@]*$/,"allowName":false,"message":"Значение «E-mail» не является правильным email адресом.","enableIDN":false,"skipOnEmpty":1});yii.validation.string(value, messages, {"message":"Значение «E-mail» должно быть строкой.","max":255,"tooLong":"Значение «E-mail» должно содержать максимум 255 символов.","skipOnEmpty":1});value = yii.validation.trim($form, attribute, []);}},{"id":"signupform-username","name":"username","container":".field-signupform-username","input":"#signupform-username","error":".form-err","enableAjaxValidation":true,"validate":function (attribute, value, messages, deferred, $form) {yii.validation.required(value, messages, {"message":"Необходимо заполнить «Логин»."});yii.validation.string(value, messages, {"message":"Значение «Логин» должно быть строкой.","min":2,"tooShort":"Значение «Логин» должно содержать минимум 2 символа.","max":255,"tooLong":"Значение «Логин» должно содержать максимум 255 символов.","skipOnEmpty":1});value = yii.validation.trim($form, attribute, []);}},{"id":"signupform-password","name":"password","container":".field-signupform-password","input":"#signupform-password","error":".form-err","enableAjaxValidation":true,"validate":function (attribute, value, messages, deferred, $form) {yii.validation.required(value, messages, {"message":"Необходимо заполнить «Пароль»."});yii.validation.string(value, messages, {"message":"Значение «Пароль» должно быть строкой.","min":6,"tooShort":"Значение «Пароль» должно содержать минимум 6 символов.","skipOnEmpty":1});value = yii.validation.trim($form, attribute, []);}},{"id":"signupform-captcha","name":"captcha","container":".field-signupform-captcha","input":"#signupform-captcha","enableAjaxValidation":true,"validate":function (attribute, value, messages, deferred, $form) {if (!value) { messages.push(" "); }}}], {"validationUrl":"https://www.0629.com.ua/auth/signup-validate"}); jQuery('#w3').authchoice(); (function ($) { var $popupForm = $("#sign-up-popup-form"); $popupForm.on("click", "[data-submit-sign-up-popup-form]", function () { var clientId = $popupForm.find(".g-recaptcha").data("recaptchaClientId"); if (undefined !== clientId) { grecaptcha.reset(clientId); grecaptcha.execute(clientId); }
return false; }); })(jQuery); jQuery('#reset-password-popup-form').yiiActiveForm([{"id":"resetpasswordform-email","name":"email","container":".field-resetpasswordform-email","input":"#resetpasswordform-email","error":".form-err","enableAjaxValidation":true,"validate":function (attribute, value, messages, deferred, $form) {yii.validation.required(value, messages, {"message":"Необходимо заполнить «E-mail»."});yii.validation.string(value, messages, {"message":"Значение «E-mail» должно быть строкой.","skipOnEmpty":1});yii.validation.email(value, messages, {"pattern":/^[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/,"fullPattern":/^[^@]*$/,"allowName":false,"message":"Значение «E-mail» не является правильным email адресом.","enableIDN":false,"skipOnEmpty":1});value = yii.validation.trim($form, attribute, []);}},{"id":"resetpasswordform-captcha","name":"captcha","container":".field-resetpasswordform-captcha","input":"#resetpasswordform-captcha","enableAjaxValidation":true,"validate":function (attribute, value, messages, deferred, $form) {if (!value) { messages.push(" "); }}}], {"validationUrl":"https://www.0629.com.ua/auth/reset-password-validate"}); (function ($) { var $popupForm = $("#reset-password-popup-form"); $popupForm.on("click", "[data-submit-reset-password-popup-form]", function () { var clientId = $popupForm.find(".g-recaptcha").data("recaptchaClientId"); if (undefined !== clientId) { grecaptcha.reset(clientId); grecaptcha.execute(clientId); }
return false; }); })(jQuery); jQuery('#w4').autocomplete({"delay":700,"minLength":3,"appendTo":"#search-wrapper","source": function (request, response) { var helpBlock = $("#search-help-block"); var container = $("#search-container"); container.remove(); helpBlock.show(); jsonrpcWrapper( "https://www.0629.com.ua/search/jsonrpc", "getHint", {"searchWord": request.term}, function (xhr, status) { helpBlock.hide(); var content = $(xhr.responseJSON.result); content.hide(); $("#search-wrapper").append(content); content.slideDown(); response(); } ); } }); sendError({"noSupportBrowser":"Ваш браузер не поддерживается","tooBigText":"Выделенный текст слишком большой","spellingMistake":"Считаете ли вы, что это ошибка?","sendMessageError":"Отправить это сообщение?","pageType":"news"}); $(window).ready(function(event) { var adBlockTester = document.createElement('div'); adBlockTester.innerHTML = ' '; adBlockTester.className = 'adsbox'; document.body.appendChild(adBlockTester); if (adBlockTester.offsetHeight === 0) {( function ($, bannerContainerSelector, remainderContent) { if ($(bannerContainerSelector).length > 0) { var $remainder = $(remainderContent); $(bannerContainerSelector).empty().after($remainder.clone()).remove(); } })(jQuery, ".banner.bc-container.bc-container_desktop, .banner.br-container", "
n
n
n
n
n
n
n");} else { $(window).trigger('needToLoadBanners'); } document.body.removeChild(adBlockTester); }); jQuery("#w5").cisAlerts(); });