DLE Реклама

DaTaLiFe-EnGiNo

Участник
Сообщения
129
Реакции
4
PSC
0,00
всем привет!решил узнать у вас!как сделать например так,вы зашли на сайт,вам что то понравилось и хотели бы скачать,но что бы скачать нужно кликнуть по рекламе например так.ру после как кликнули появилась ссылка на скачку!кто скажет как это сделать?
 

admin

Команда форума
Администратор
Сообщения
623
Реакции
265
PSC
5,00
1. Открываем админку -> список всех разделов -> Дополнительные поля новостей
2. Создаём новое поле.
Название поля: download
Описание поля: Скачать с сервера
Категория : Все
Тип поля : Одна строка
Значение по умолчанию: ( оставляем поле пустым )
Использовать при желании (можно оставить поле пустым) поставим галочку.
3. Теперь идём в "templates/ВАШ_ШАБЛОН/" и открываем fullstory.tpl.
Находим:
Код:
{full-story}
После вставляем:
Код:
<span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1"><br><br></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1"><table border="1" width="100%" bgcolor="#FFFFFF"</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">bordercolor="#000000" cellspacing="3" cellpadding="2"></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1"><tr></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1"><td width="100%"></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1"> </span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">    <div align="center"></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">                <font color="#007fff"></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1"><div align="center">Уважаемый Пользователь!</div></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">                    <div align="center">Для того что бы скачать с нашего сервера файлы вам надо нажать по ссылкам ниже!</font>   <br></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">                </div></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">          <noindex></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">    <div id="oplac">
</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">    <span style="color: red;">ТУТ ВСТАВЛЯЕМ КОД РЕКЛАМЫ</span></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">          </noindex></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">    <div id="hidden" style="display:none;"></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">       
</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">          <noindex></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1"><script type="text/javascript"></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">function showOkno() {</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">$(function(){</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">$('#download').dialog({</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">        autoOpen: true,</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">        show: 'slide',</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">        hide: 'slide',</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">        width: 550,</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">                buttons: {</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">            "Закрыть окно" : function() {</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">                $(this).dialog("close");</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">            }</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">               }</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">    });</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">});</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">}</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1"></script></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1"><div id="download" title="Скачать с сервера" style="display:none; " ></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1"><div class="news"></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">   <div align="center"><font color="#007fff"><b></b> [xfvalue_download]</font></div></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1"></div></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1"></div></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">    </noindex></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1"></div></div></div></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1"><script></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">function payForFiles(){</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">var hid,tak,elems,num,pat,j,i;</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">hid = document.getElementById("hidden");</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">tak = new Array();</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">elems = document.getElementsByTagName('A');</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">num = elems.length;</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">pat = new RegExp("(^|b)(takru)(b|$)");</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">j = 0;</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">for (i=0;i<num;i++){</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">if(pat.test(elems[i].className)){</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">elems[i].setAttribute('target','_blank');</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">if (elems[i].addEventListener)</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">elems[i].addEventListener("click", function(){showOkno()}, false);</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">else if (elems[i].attachEvent)</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">elems[i].attachEvent("onclick", function(){showOkno()});</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">else elems[i].onclick = function(){showOkno()};</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">j++;}</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">}</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">};</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">payForFiles();</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1"></script></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1"></td></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1"></tr></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1"></table></span></span><span data-mce-mark="1"><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">
</span></span><span style="letter-spacing: 0px; line-height: 16px; word-spacing: 0px; color: #1f282c; font-family: Arial, Helvetica, sans-serif; font-size: 12px; text-align: justify;" data-mce-mark="1">
4. В месте 3 пункта ТУТ ВСТАВЛЯЕМ КОД РЕКЛАМЫ с tak.ru вставим свой код от партнёрки и сохраним изменения в файле.
Всё
 

DaTaLiFe-EnGiNo

Участник
Сообщения
129
Реакции
4
PSC
0,00
1. Открываем админку -> список всех разделов -> Дополнительные поля новостей
2. Создаём новое поле.
Название поля: download
Описание поля: Скачать с сервера
Категория : Все
Тип поля : Одна строка
Значение по умолчанию: ( оставляем поле пустым )
Использовать при желании (можно оставить поле пустым) поставим галочку.
3. Теперь идём в "templates/ВАШ_ШАБЛОН/" и открываем fullstory.tpl.
Находим:
Код:
{full-story}
После вставляем:
Код:
<span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1"><br><br></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1"><table border="1" width="100%" bgcolor="#FFFFFF"</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">bordercolor="#000000" cellspacing="3" cellpadding="2"></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1"><tr></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1"><td width="100%"></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1"> </span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">    <div align="center"></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">                <font color="#007fff"></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1"><div align="center">Уважаемый Пользователь!</div></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">                    <div align="center">Для того что бы скачать с нашего сервера файлы вам надо нажать по ссылкам ниже!</font>   <br></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">                </div></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">          <noindex></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">    <div id="oplac">
</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">    <span style="color: red;">ТУТ ВСТАВЛЯЕМ КОД РЕКЛАМЫ</span></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">          </noindex></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">    <div id="hidden" style="display:none;"></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">      
</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">          <noindex></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1"><script type="text/javascript"></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">function showOkno() {</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">$(function(){</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">$('#download').dialog({</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">        autoOpen: true,</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">        show: 'slide',</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">        hide: 'slide',</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">        width: 550,</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">                buttons: {</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">            "Закрыть окно" : function() {</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">                $(this).dialog("close");</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">            }</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">               }</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">    });</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">});</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">}</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1"></script></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1"><div id="download" title="Скачать с сервера" style="display:none; " ></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1"><div class="news"></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">   <div align="center"><font color="#007fff"><b></b> [xfvalue_download]</font></div></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1"></div></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1"></div></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">    </noindex></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1"></div></div></div></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1"><script></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">function payForFiles(){</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">var hid,tak,elems,num,pat,j,i;</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">hid = document.getElementById("hidden");</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">tak = new Array();</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">elems = document.getElementsByTagName('A');</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">num = elems.length;</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">pat = new RegExp("(^|b)(takru)(b|$)");</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">j = 0;</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">for (i=0;i<num;i++){</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">if(pat.test(elems[i].className)){</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">elems[i].setAttribute('target','_blank');</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">if (elems[i].addEventListener)</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">elems[i].addEventListener("click", function(){showOkno()}, false);</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">else if (elems[i].attachEvent)</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">elems[i].attachEvent("onclick", function(){showOkno()});</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">else elems[i].onclick = function(){showOkno()};</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">j++;}</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">}</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">};</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">payForFiles();</span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1"></script></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1"></td></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1"></tr></span></span><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1"></table></span></span><span data-mce-mark="1"><span style="color: #1f282c; font-family: Arial, Helvetica, sans-serif;" data-mce-mark="1"><span style="font-size: 12px; line-height: 16px; word-spacing: 0px;" data-mce-mark="1">
</span></span><span style="letter-spacing: 0px; line-height: 16px; word-spacing: 0px; color: #1f282c; font-family: Arial, Helvetica, sans-serif; font-size: 12px; text-align: justify;" data-mce-mark="1">
4. В месте 3 пункта ТУТ ВСТАВЛЯЕМ КОД РЕКЛАМЫ с tak.ru вставим свой код от партнёрки и сохраним изменения в файле.
Всё
если честно не понял где код вставлять рекламы
 

speaktime

Участник
Сообщения
41
Реакции
3
PSC
0,00
В main.tpl найди код отвечающий за баннер и замени его на свой рекламный
 
Сверху