Уважаемые форумчане, подскажите пожалуйста:
Как вставить код формы, построенной на php (форма регистрации на на рассылку смартреспондер) внутри страницы?
Код формы (часть его, окончания нет - не поместился в пост) на всякий случай выкладываю
<!—SmartResponder.ru subscribe form code (begin)—>
<style type=“text/css”>/*<![CDATA[*/.sr-box table {width: auto !important;}#elem_table_element_header{width:301px !important;}.sr-box img {max-width: none;}.sr-box br {display:none;}.sr-box p {display:none;}.sr-box {display: block !important;position: relative;width: 250px;}.sr-box-list table{border:0 !important}.sr-box-list td{padding:0px !important; border:0 !important}.sr-box-list{clear: both;display: block;list-style: none outside none !important;position: relative;margin: 0!important;padding: 0!important;}.sr-box-list li {list-style: none outside none !important;margin: 0;background-image: none !important; background-color: #FFFFFF;color: black;display: block;font-family: Arial;font-size: 12px;height: 60px;padding: 2px 25px;}.sr-element {height: 60px !important;line-height: 60px !important;}.sr-box-list li label {height: 15px;line-height: 15px;position: relative;z-index: 10;display: block;margin-bottom: 5px;overflow: hidden;}.sr-box-list input[type=“text”] {font-family: Arial;font-size: 12px;height: 33px;margin-bottom: 20px;padding: 5px 10px;position: relative;width: 100%;z-index: 10; -moz-box-sizing:border-box; -webkit-box-sizing:border-box; -ms-box-sizing:border-box; box-sizing:border-box;}.sr-box-list input[type=“submit”] {white-space:normal;cursor:pointer}.sr-box-list select{width:100%}.sr-slider-captcha{position: relative;border: none 0;margin-top: -60px;z-index: 10;height: 33px;width: 100%;}#cnt{height:60px;}#cnt img {margin-bottom: -6px;}/*]]>*/</style>
[removed][removed]
[removed]
_sr(function() {
_sr(‘form[name=“SR_form_24386_35”]’).find(‘div#sr-preload_’).prop(‘id’, ‘sr-preload_24386_35’)
_sr(’#sr-preload_24386_35’).css({‘width’:parseInt(_sr(‘form[name=“SR_form_24386_35”]’).width() + ‘px’), ‘height’:parseInt(_sr(‘form[name=“SR_form_24386_35”]’).height()) + ‘px’, ‘line-height’:parseInt(_sr(‘form[name=“SR_form_24386_35”]’).height()) + ‘px’}).show();
if(_sr(‘form[name=“SR_form_24386_35”]’).find(‘input[name=“script_path_24386_35”]’).length && (document.charset || document.characterSet).indexOf(‘1251’) != -1) {
_sr(‘input[name=“subscribe”]’).attr(‘onclick’, ‘return false;’),
_sr.ajax({
dataType: ‘jsonp’,
data: { form_id : ‘24386_35’, remote_charset : (document.charset || document.characterSet), file : _sr(‘input[name=“script_path_24386_35”]’).val(), phase : ‘charset_rebuild’},
url: _sr(‘form[name=“SR_form_24386_35”]’).prop(‘action’).replace(‘subscribe’, ‘user/forms_generator’),
success: callback_charset_24386_35
});
} else {
_sr.getScript(_sr(‘input[name=“script_url_24386_35”]’).val(), function() {
_sr(’#sr-preload_24386_35’).hide();
});
}
});
function callback_charset_24386_35(data) {
if(data.status == ‘success’) {
_sr(‘input[name=“subscribe”]’).attr(‘onclick’, ‘’);
_sr.getScript(_sr(‘input[name=“script_url_24386_35”]’).val(), function() {
_sr(’#sr-preload_24386_35’).hide();
});
}
}
[removed]
<div id=“outer_alignment” align=“center”>
<form class=“sr-box” method=“post” action=“https://smartresponder.ru/subscribe.html” target=“_blank” name=“SR_form_24386_35” style=“width: 299px; margin-left: ; border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; border-top-width: 3px; border-left-width: 3px; border-right-width: 3px; border-bottom-width: 3px; border-top-style: dashed; border-right-style: dashed; border-bottom-style: dashed; border-left-style: dashed; border-top-color: rgb(79, 203, 207); border-right-color: rgb(79, 203, 207); border-bottom-color: rgb(79, 203, 207); border-left-color: rgb(79, 203, 207);”>
<div id=“sr-preload_” style=“display: none; background-color: #f6f6f6; opacity: 0.5; position: absolute; z-index: 100; text-align: center; font: bold 15px Arial;”>Загрузка...</div>