';
$('html body').append(smspass);
html = '';
html += '
';
html += '
';
html += '
';
html += '';
html += '
';
html += '
';
html += '
';
html += '
';
html += '
';
$('html body').append(html);
//$("#input-phone-login2").mask("+7 (999) 999 99-99");
/* $('.chekSms input[name=\'phone\']').click(function(){
$(this).setCursorPosition(3); // set position number
});*/
$('#smsreg').on("click", function(e){
event.preventDefault();
$('#smspanel2').modal('show');
});
$('.smsreg').on("click", function(e){
event.preventDefault();
$('#smspanel2').modal('show');
});
$('.loginsmssimplprov2').click(function () {
$.ajax({
url: 'index.php?route=extension/module/sms_reg/SmsCheck',
type: 'post',
data: $('#smspanel2 input[name=\'phone\']'),
dataType: 'json',
beforeSend: function () {
$('#smspanel2 .loginsmssimplprov2').button('loading');
},
complete: function () {
$('#smspanel2 .loginsmssimplprov2').button('reset');
},
success: function (json) {
if (json['error']) {
$('#modal-login .modal-body').prepend(json['error']);
$('#modal-login').modal('show');
setTimeout(function () {
$('#modal-login').modal('hide');
$('#modal-login .modal-body').html('');
}, 2500);
}
if (json['success']) {
$('#modal-sms2').remove();
$('html body').append(smspass);
$('#modal-sms2 .modal-body').prepend(json['success']);
$('#modal-sms2').modal('show');
$("#input-code-login2").mask("9999");
/*$('.registrsms input[name=\'code\']').click(function(){
$(this).setCursorPosition(0); // set position number
});*/
$('#modal-sms2 .loginsmssimpl').click(function () {
$.ajax({
url: 'index.php?route=extension/module/sms_reg/SmsStart',
type: 'post',
data: $('#smspanel2 input[name=\'phone\'], .registrsms input[name=\'code\']'),
dataType: 'json',
beforeSend: function () {
$('#modal-sms2 .loginsmssimpl').button('loading');
$('#modal-quicksignup .alert-danger').remove();
},
complete: function () {
$('#modal-sms2 .loginsmssimpl').button('reset');
},
success: function (json) {
if (json['error']) {
$('#modal-login .modal-body').prepend(json['error']);
$('#modal-login').modal('show');
setTimeout(function () {
$('#modal-login').modal('hide');
$('#modal-login .modal-body').html('');
}, 2500);
}
if (json['success']) {
$('#modal-login .modal-body').prepend(json['success']);
$('#modal-login').modal('show');
setTimeout(function () {
$('#modal-sms2').modal('hide');
$('#modal-sms2 .modal-body').html('');
}, 1500);
setTimeout(function () {
loacation();
}, 2000);
$('#modal-quicksignup').modal('hide');
}
if (json['registr']) {
$('#modal-login .modal-body').prepend(json['registr']);
$('#modal-login').modal('show');
setTimeout(function () {
$('#modal-login').modal('hide');
$('#modal-login .modal-body').html('');
}, 1500);
setTimeout(function () {
loacation();
}, 2000);
$('#modal-quicksignup').modal('hide');
}
}
});
});
setTimeout(function () {
$('#modal-login').modal('hide');
$('#modal-login .modal-body').html('');
}, 2500);
}
}
});
});
function loacation() {
location.reload();
}
//-->
65465465465465465465465465465465
Homepet домик для мелких грызунов баня деревянная (15х20х12.3 см.)
Домик предназначен для мелких грызунов.
Изготовлен из профилированной доски различной структуры, что
напоминает его естественный облик.
Доска изготовлена из хвойных пород дерева с влажностью не
более 15%.
Материалы: массив ЛПД (лиственных пород деревьев) + клей
ПВА.
Размер: 15x20x12,3 см.