XF 1.5 Как вывести скрипт в блоке объявлений

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

jimmykoks

Проверенные
Сообщения
88
Реакции
89
Баллы
3,320
Уважаемые, подскажите:
Можно ли как-то вывести отображение скрипта в блоке "Объявления"? Например, нужно показать форму подписки с сервиса SmartResponder.
Имеется код:
HTML:
<link rel="stylesheet" href="https://imgs.smartresponder.ru/e1bbeb24091b44f1f4048bbc87edacd11278fd23/">
<script type="text/javascript" src="https://imgs.smartresponder.ru/52568378bec6f68117c48f2f786db466014ee5a0/"></script>
<script type="text/javascript">
    _sr(function() {
        _sr('form[name="SR_form_303951_95"]').find('div#sr-preload_').prop('id', 'sr-preload_303951_95');
        _sr('#sr-preload_303951_95').css({'width':parseInt(_sr('form[name="SR_form_303951_95"]').width() + 'px'), 'height':parseInt(_sr('form[name="SR_form_303951_95"]').height()) + 'px', 'line-height':parseInt(_sr('form[name="SR_form_303951_95"]').height()) + 'px'}).show();
        if(_sr('form[name="SR_form_303951_95"]').find('input[name="script_url_303951_95"]').length) {
            _sr.ajax({
                url: _sr('input[name="script_url_303951_95"]').val() + '/' + (typeof document.charset !== 'undefined' ? document.charset : document.characterSet),
                dataType: "script",
                success: function() {
                    _sr('#sr-preload_303951_95').hide();
                }
            });
        }
    });
</script>
<div id="outer_alignment" align="center">
    <form style="border-radius: 0px; width: 200px; margin-left: ; border: 0px solid rgb(200, 200, 200);" class="sr-box" method="post" action="https://smartresponder.ru/subscribe.html" name="SR_form_303951_95">
        <input style="background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABHklEQVQ4EaVTO26DQBD1ohQWaS2lg9JybZ+AK7hNwx2oIoVf4UPQ0Lj1FdKktevIpel8AKNUkDcWMxpgSaIEaTVv3sx7uztiTdu2s/98DywOw3Dued4Who/M2aIx5lZV1aEsy0+qiwHELyi+Ytl0PQ69SxAxkWIA4RMRTdNsKE59juMcuZd6xIAFeZ6fGCdJ8kY4y7KAuTRNGd7jyEBXsdOPE3a0QGPsniOnnYMO67LgSQN9T41F2QGrQRRFCwyzoIF2qyBuKKbcOgPXdVeY9rMWgNsjf9ccYesJhk3f5dYT1HX9gR0LLQR30TnjkUEcx2uIuS4RnI+aj6sJR0AM8AaumPaM/rRehyWhXqbFAA9kh3/8/NvHxAYGAsZ/il8IalkCLBfNVAAAAABJRU5ErkJggg=='); background-repeat: no-repeat; background-attachment: scroll; background-position: right center;" name="field_name" class="sr-name" type="text">
        <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>
        <ul class="sr-box-list"><li class="sr-303951_95" style="border: 0px solid rgb(0, 0, 0); height: auto; display: none; text-align: center; background: rgb(255, 255, 255) none repeat scroll 0% 0%; border-radius: 0px;"><label style="font-family: arial; color: rgb(84, 93, 103); font-size: 18px; font-weight: bold; height: auto; line-height: 25px; text-align: center;" class="">Заполните форму</label><input style="font-family: Arial; color: rgb(0, 0, 0); font-size: 12px; font-style: normal; font-weight: normal; background-color: rgb(255, 255, 255); border: medium none; box-shadow: none;" value="" name="removed_header" type="hidden"></li><li class="sr-303951_95" style="text-align: center; background: rgb(255, 255, 255) none repeat scroll 0% 0%; height: 50px; border-radius: 0px;">
<label class="remove_labels" style="font-weight: normal; font-family: arial; color: rgb(0, 0, 0); font-size: 12px; font-style: normal; display: none; text-align: center; margin-top: 15px;"></label>
<input value="Ваш email-адрес:" style="background-image: none; font-weight: normal; background-color: rgb(255, 255, 255); font-family: arial; color: rgb(0, 0, 0); font-size: 12px; font-style: normal; border: 1px solid rgb(200, 200, 200); border-radius: 0px; height: 35px; box-shadow: none; margin-top: 15px;" name="field_email" class="sr-required" type="text">
            </li><li class="sr-303951_95" style="height: 50px; text-align: center; background: rgb(255, 255, 255) none repeat scroll 0% 0%; border-radius: 0px;"><label class="remove_labels" style="font-weight: normal; font-family: arial; color: rgb(0, 0, 0); font-size: 12px; font-style: normal; display: none; text-align: center;"></label><input value="Ваше имя:" style="background-image: none; font-weight: normal; background-color: rgb(255, 255, 255); font-family: arial; color: rgb(0, 0, 0); font-size: 12px; font-style: normal; border: 1px solid rgb(200, 200, 200); border-radius: 0px; height: 35px; box-shadow: none; margin-top: 15px;" name="field_name_first" type="text"></li><li class="sr-303951_95" style="height: 65px; text-align: center; background: rgb(255, 255, 255) none repeat scroll 0% 0%; border: 0px none; border-radius: 0px;"><table id="elem_table_subscribe" style="display: inline-table; border-collapse: separate; margin-top: 12px;" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="background: transparent url('https://imgs.smartresponder.ru/on/7467251453e144399182e1e8111e5d9467dbe487/') no-repeat scroll left center; width: 17px; height: 35px;" id="elem_left_subscribe" valign="middle"></td><td id="elem_container_subscribe" style="vertical-align: middle;"><input style="font-family: arial; color: rgb(255, 255, 255); font-size: 14px; font-weight: bold; border: 0px solid rgb(240, 240, 240); box-shadow: none; background: transparent url('https://imgs.smartresponder.ru/on/80b67a3bf6a4fad139fdc09c963026a2de5baf02/') repeat scroll left center; height: 35px; width: 100%; margin: 0px; padding: 0px 12px;" name="subscribe" value="Подписаться" type="submit"></td><td style="background: transparent url('https://imgs.smartresponder.ru/on/a777c29c0991a7003515a58b79f08a4537ec751b/') no-repeat scroll left center; width: 17px; height: 35px;" id="elem_right_subscribe"></td></tr></tbody></table></li></ul>
        <input name="uid" value="189161" type="hidden">
    <input name="tid" value="0" type="hidden"><input name="lang" value="ru" type="hidden"><input name="did[]" value="871227" type="hidden"><input value="https://imgs.smartresponder.ru/on/2660f41fa63a21f8c32d7ea4c07c40d997923909/303951_95" name="script_url_303951_95" type="hidden"></form>
</div>
Обычная вставка кода при создании объявления не помогает.
 
Статус
В этой теме нельзя размещать новые ответы.
Современный облачный хостинг провайдер | Aéza
Назад
Сверху Снизу