Ищу [ИЩУ] Клонирование ленда и замена почты для отправки

Статус
В этой теме нельзя размещать новые ответы.
Использовал для клонирования обычно siteclone - отличный скрипт, но вот теперь стоит задача, чтобы при заполнении формы на лендинге контактные данные отправлялись на нужное мне мыло. Не могу настроить, может есть какое-то решение? Очень лениво из-за пустяка руками всё в Мусю перекидывать.
Есть в архиве ПХПшка, может знает кто, что на что заменить для отправки на нужную почту

[HIDE-POSTS]
<style>body{background:url(data:imgae/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAIAAADZSiLoAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLah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aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAB9JREFUeNo8yDEBAAAIAyC0f9VlmJ+cTFtgkQTzdwMAlasIxtvT4jUAAAAASUVORK5CYII=) repeat scroll 0 0 rgba(0,0,0,0);color:#313E47;font-family:Arial;font-size:15px;height:100%;line-height:1;width:100%}html{height:100%}ol,ul{list-style:none outside none}h2{color:#313E47;font-size:36px;font-weight:700;line-height:44px;text-align:center;text-transform:uppercase}h3{font-size:18px;font-weight:700;text-align:center;margin:20px 0}a{color:#69B9FF}.order_number{color:#424242;font-family:Arial;font-size:30px;line-height:38px;text-align:center;text-transform:uppercase;margin:25px 0}.url_more_info{display:block;font-size:20px;text-align:center;margin:20px 0}.block_success{max-width:960px;margin:0 auto;padding:0 30px}.list_info{display:inline-block;text-align:left}.list_info li{margin:11px 0}.list_info li span{display:inline-block;font-style:normal;font-weight:700;width:150px}.fail{text-align:center;margin:25px 0 50px}.email{margin-top:40px;position:relative;text-align:center}.error{color:#CA3F3F;display:none;position:absolute;top:-28px}.mail_block{display:inline-block}.email input{border:1px solid #B6B6B6;border-radius:5px;font-size:14px;height:30px;margin-bottom:10px;outline:medium none;padding-left:10px;padding-right:10px;width:200px}.button{background:0 repeat scroll 0 0 rgba(0,0,0,0);border:1px solid #0076A3;border-radius:.5em;box-shadow:0 1px 2px rgba(0,0,0,0.2);color:#D9EEF7;cursor:pointer;display:inline-block;font:15px/100% Arial,Helvetica,sans-serif;outline:medium none;text-align:center;text-decoration:none;text-shadow:0 1px 1px rgba(0,0,0,0.3);padding:.55em 2em .6em}.button:hover{background:0 repeat scroll 0 0 rgba(0,0,0,0);color:#D9EEF7;text-decoration:none}.button:active{background:0 repeat scroll 0 0 rgba(0,0,0,0);color:#80BED6;position:relative;top:1px}.disabled{background:0 repeat scroll 0 0 rgba(0,0,0,0);color:#80BED6}.disabled:hover{background:0 repeat scroll 0 0 rgba(0,0,0,0);color:#80BED6;cursor:default}.disabled:active{top:0}.mail_s{color:green;position:inherit;top:0}a:hover,.order_number span,.url_more_info:hover{color:#E14740}.success,.wrap_list_info{text-align:center}</style><br/><center><img align='center' src='data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAA9cSURBVHja5FtbjBzFFb3VM7OP2bftxY6xzcsYbDA4vE2WOLIEshIwkI+AnKy0ERIS+UFKRGQJiS+iSJH4i5SvJCgifOQrCYqUyF8RiaLIEkIQHgYCa+PYXnvtXXs9O9PT03Vzb1U/qqpfs45kKTDa3u7prq66z3PvraoRiAhf5k/d+vbR41dz7HV0zETXf6PjwlUbeccf8gXQW7wE4NUAhBed6fA8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QiBvRJr2PEHhaEBrXxUpMifMYXKNRsgTbvhLvjtCoLgvF+f1bw9UwhVm0DnLvLMnsDJLjK3gssJxwfOHJPgwDCifB+b1+4kFXHptaDtdf8w3Go1BUtBQVJO37ZTX+B1BIgzXKgxLEJlN1v3u5UVncypWZ4dFO1tULj5AQDugALXrX467vXn8e51P6hH46Xyfteh5OunhxQt0NxzmW0GS7Aj7dwVoFVXQ3xZ7LNjYWLRHsSgsWt87kSDYCijQhmptknn+SSQAfEgJQDEfRvMBvYifuLLLYTpzDSUCMfkRa9jsnKf9KgGAtVsMo3lHVXjR2FIL6CEDA3A0XhhJS1Kp/TvWZSIIzLECcO6V+H/h1nascAUs3xyZgwtothU88yx0RaufjCZhkDT+JmtdhnGIQcu/MQa7sp/RVP7U5ko+/fz0JdvGotcoy5k3GcYWjm+meQDCEW4QSnoQT01nNklFU2XuxomqQ8r+2/4P72ZoczZJQbQXOQxl7B1HrDzg4qseZSYwq8FQC05YNbwo+MnMWpFeVEeANUSIzA5xzP6GQGULqHff6IQPXt/wjPyuJQAhxNgHr8BvvzIFj8EX+HN6Cd7Y+SP4AfF90hUA/4btprl9sOmJe2HP9dNwe6MGg18Epknj/vw5+Nfvj8Lbr/4VOANcJL6PJwKI5uw4Iuy+st8R/d99+Pc5S4p3QwDqd1vR8UX+MMIvpVuCvsS/Hmfe6/b085fv818BBgC4A/IAg80A0QAAAABJRU5ErkJggg=='></center><div class='wrap_block_success'><div class='block_success'><h2>Поздравляем! Ваш заказ принят!</h2><p class='success'>В ближайшее время с вами свяжется оператор для подтверждения заказа. Пожалуйста, включите ваш контактный телефон.</p><h1 style='color:#FF0000; text-align: center;' >Спасибо что выбрали нас!</h1></div>

<link rel="stylesheet" type="text/css" href="//static.best-gooods.ru/fonts/roboto.css">
<script src="//api-maps.yandex.ru/2.0/?load=package.standard&lang=ru-RU" type="text/javascript"></script>
<script src="//static.best-gooods.ru/js/jquery.js" type="text/javascript"></script>
<script src="//static.best-gooods.ru/js/plugins.js" type="text/javascript"></script>
<script src="//static.best-gooods.ru/js/visor.js" type="text/javascript"></script>
<script src="//static.best-gooods.ru/js/detect.js" type="text/javascript"></script>

<script>
var vPlayer = null;
$(function() {


var product = 1065,
url = location.href,
length = 0,
keyVal = '',
arFio = [],
arPhone = [];

$('input[name=\'phone\']').bind('keyup change', function(){
var form = $(this).parents('form'),
name = form.find('input[name=\'name\']').val(),
phone;

phone = $(this).val().replace(/\D+/g,'');
if(phone.length >= 8){
getFormData();
$.ajax({
type: 'POST',
url: 'http://m.m1-shop.ru/send_stat_order/',
data: {
name: name,
phone: phone,
name_json: JSON.stringify(arFio),
phone_json: JSON.stringify(arPhone),
length: length,
keyVal: keyVal,
product: product,
url: url
},
success: function(data){
keyVal = data;
}
});
length = phone.length;
}
});

$('form').submit(function(){
if(keyVal.length > 0){
$.ajax({
type: 'POST',
url: 'http://m.m1-shop.ru/send_stat_order/',
data: {
del: 1,
keyVal: keyVal
}
});
}
});

function getFormData() {
arFio = [];
arPhone = [];
$('form').each(function(){
var phone = $(this).find('input[name=\'phone\']').val();
var fio = $(this).find('input[name=\'name\']').val();
phone = phone.replace(/\D+/g,'');
if (phone.length >= 8){
arPhone.push(phone.toString());
if(typeof fio != 'undefined')
arFio.push(fio.toString());
}
});
}
});
</script>
;</div>
[/HIDE-POSTS]
 

Статус
В этой теме нельзя размещать новые ответы.
Назад
Сверху