HTML верх
Код:
<!-— первое соо без профиля --> <style> #p3 .post-author, #p3 .post-sig, #p3 .pl-email, #p3 .post-author, #p3 .post-sig, #p3 .pl-email, #p3 .post-author, #p3 .post-sig, #p3 .pl-email {display:none;} #p3 .post-body, #p3 .post-body, #p3 .post-body {margin-left:0!important;}</style> <!-— конец --> <!---------------------------- rdtcn ----------------------------> <div class="quest"><a href="http://seasonofstorms.rusff.me/viewtopic.php?id=805#p113200">«Кто выведет тебя из лесу, если лес — это ты сам?»</a><br>game master [до 00.00]</div> <!---------------------------- лучший эпизод ----------------------------> <div class="episod"><a href="http://seasonofstorms.rusff.me/viewtopic.php?id=805#p113200">it's my turn to hurt</a></div> <!---------------------------- лучший пост ----------------------------> <div class="bpost"><div class="avtor">пост от <a href="http://seasonofstorms.rusff.me/profile.php?id=178">Тиберия</a></div>чародей поднимает взгляд сначала на мальчишку, а потом на мелкие капли крови, брызгами лежащие на полированной до зеркального блеска поверхности и цепляет одну из них, растирая между пальцами. абсолютно не брезгливо, скорее вдумчиво и серьёзно...<a href="http://seasonofstorms.rusff.me/viewtopic.php?id=533#p115258"> (читать дальше)</a></div> <!---------------------------- активисты ----------------------------> <div class="act"><a href="https://seasonofstorms.rusff.me/profile.php?id=55" title="активист: Райнер"><img src="https://forumstatic.ru/files/001b/a0/2c/39397.png"></a> <a href="http://seasonofstorms.rusff.me/profile.php?id=292" title="активист: Александр"><img src="https://forumstatic.ru/files/001b/a0/2c/44918.png"></a> <a href="http://seasonofstorms.rusff.me/profile.php?id=259" title="активист: Эдгар"><img src="https://forumstatic.ru/files/001b/a0/2c/87829.png"></a></div> <!---------------------------- администрация ----------------------------> <div class="ams"><a href="http://seasonofstorms.rusff.me/profile.php?id=6">nessa</a> * <a href="http://seasonofstorms.rusff.me/profile.php?id=4">meredith</a> * <a href="http://seasonofstorms.rusff.me/profile.php?id=7">joe</a> * <a href="http://seasonofstorms.rusff.me/profile.php?id=3">caleb</a> * <a href="http://seasonofstorms.rusff.me/profile.php?id=5">jamie</a></div> <!---------------------------- навигация ----------------------------> <div class="navig"><a href="http://seasonofstorms.rusff.me/viewtopic.php?id=4">гостевая</a> * <a href="http://seasonofstorms.rusff.me/viewtopic.php?id=35">сюжет</a> * <a href="http://seasonofstorms.rusff.me/viewtopic.php?id=22">персонажи</a> * <a href="http://seasonofstorms.rusff.me/viewtopic.php?id=23">биржа труда</a> * <a href="http://seasonofstorms.rusff.me/viewtopic.php?id=18">внешности</a> * <a href="http://seasonofstorms.rusff.me/viewtopic.php?id=17">faq</a> * <a href="http://seasonofstorms.rusff.me/viewtopic.php?id=19">имена и фамилии</a> * <a href="http://seasonofstorms.rusff.me/viewtopic.php?id=5">расы</a> * <a href="http://seasonofstorms.rusff.me/viewtopic.php?id=24">сюжетные персонажи</a> * <a href="http://seasonofstorms.rusff.me/viewtopic.php?id=9">нужные персонажи</a></div> <!---------------------------- инфа ----------------------------> <div class="about">зима 2022, эдинбург, шотландия</div> <div class="about1">городская мистика, расы</div> <!--Кнопки вверх и вниз--> <a style="position: fixed;z-index: 999;top: 340px;opacity: 0.7;right: 75px;cursor: pointer;background-color: transparent !important;display: block;" id="Go_Top"><img src="https://forumstatic.ru/files/001b/a0/2c/15988.png" alt="Вверх"></a> <a style="position: fixed;z-index: 999;top: 390px;opacity: 0.7;right: 83px;cursor: pointer;background-color: transparent !important;display: block;" id="Go_Bottom"><img src="https://forumstatic.ru/files/001b/a0/2c/86020.png" alt="Вниз"></a> <script type="text/javascript"> jQuery(function(){ $("#Go_Top").hide().removeAttr("href"); if ($(window).scrollTop()>="250") $("#Go_Top").fadeIn("slow") $(window).scroll(function(){ if ($(window).scrollTop()<="250") $("#Go_Top").fadeOut("slow") else $("#Go_Top").fadeIn("slow") }); $("#Go_Bottom").hide().removeAttr("href"); if ($(window).scrollTop()<=$(document).height()-"999") $("#Go_Bottom").fadeIn("slow") $(window).scroll(function(){ if ($(window).scrollTop()>=$(document).height()-"999") $("#Go_Bottom").fadeOut("slow") else $("#Go_Bottom").fadeIn("slow") }); $("#Go_Top").click(function(){ $("html, body").animate({scrollTop:0},"slow") }) $("#Go_Bottom").click(function(){ $("html, body").animate({scrollTop:$(document).height()},"slow") }) }); </script> <!-- конец --> <!-- HTML верх -Cпойлер cкрытия Инфы под N-кнопок в Профиле Топика --> <script type="text/javascript" src="https://forumstatic.ru/files/0010/b4/f8/57844.js"></script> <!--Убрать Закрыто и Важно--> <style>.stickytext,.closedatafield{ display:none;}</style> <!-- конец --> <!-- реплейс дефиса в постах --> <script type="text/javascript"> $('.post-content p').each(function(){ function replacer(str){return str.replace(/-\s|–\s/gm,'— ');} var a = $(this).clone().wrap('<div></div>').parent().html(); var b = a.replace(/>[^<>]+</gim,replacer); if(a!=b)$(this).replaceWith(b) }); </script> <!--ОТКЛЮЧИТЬ сервис рекомендаций, жалоба в сообщениях, теги, граффити, вложения, сервисные смайлы, сокращение ссылки--><script type="text/javascript"> rusffLive.enable = false; RusffCore.sets.show_reportBtn = 0; RusffCore.sets.tags = false; RusffCore.sets.graffiti = false; RusffCore.sets.files = false; RusffCore.sets.rusff_smilepack = 0; FORUM.set("editor.link.short_url", function() { return false; }); </script> <!-- Пиар-вход v.2 --> <script src="https://forumstatic.ru/files/0015/c4/3f/26781.js"></script> <script type="text/javascript"> PR.nick = 'owl'; //Ник PR-аккаунта PR.pass = '1111'; //Пароль PR-аккаунта PR.btn_text = 'Пиар'; //Надпись на кнопке PR-входа(или ссылка на картинку); PR.set();</script> <!-- Удаляем лишние строки после цитаты и кода // v.3 © Alex_63 --> <script type="text/javascript"> $('.post-content').each(function() { var CNT = $(this).html(); CNT = CNT.replace(/<p><br><\/p>/img,''); CNT = CNT.replace(/<p><br><br>(.*?)<\/p>/img,'<p>$1</p>'); CNT = CNT.replace(/<p><br>(.*?)<\/p>/img,'<p>$1</p>'); $(this).html(CNT); }); </script> <script> RusffCore.sets.realtimeTopicReaders = false </script> <!-- Загружаем изображения на Imgur и работаем с фото из Instagram --> <script type="text/javascript" src="https://forumstatic.ru/files/0017/d8/50/14900.js"></script> <!-- конец--> <!--// Быстроплюсы v.2 РЕНО by Deff //--> <script type="text/javascript" src="https://forumstatic.ru/files/0012/d8/04/58219.js" addComment="1"></script>
HTML низ
Код:
<!-- Универсальный скрипт замены © Alex_63 --> <script type="text/javascript"> function Change(sc,ch,st){$(sc).parent().each(function(){$(this).html($(this).html().replace(ch,st));});} Change('.punbb fieldset legend span','Напишите ваше сообщение и нажмите «Отправить»','Выведи твинков - сделай Плотве приятно'); </script> <!---------------------------- баннеры ----------------------------> <div class="bannersdown"> <a href="https://vibe.rusff.me/"><img src="https://forumstatic.ru/files/001b/7c/28/37158.gif" title="VIBE"></a> <a href="http://intothevoid.rusff.me/" target="_blank"><img src="https://i.imgur.com/im54HNe.png" title="Hogwarts: into the void"></a> <a href="https://nobalance.ru//" target="_blank"><img src="https://i.imgur.com/UBF5r7A.png" width="88" height="31"></a> <a href="https://themostsupernatural.ru" target="_blank" title="Самая Сверхъестественная ролевая игра"><img src="https://forumupload.ru/uploads/0004/e5/0c/706/292980.gif"></a> <a href="http://aluvio.rusff.me/" target="_blank"> <img src="https://forumupload.ru/uploads/001b/9d/5d/8/762867.png" title="alluvio maris"></a> <a href="https://kakbicross.ru/" target="_blank"><img src="https://forumupload.ru/uploads/001b/8a/62/4/395613.png" title="как б[ы] кросс" border="0" width="88" height="31"></a> <a href="http://benotafraid.rusff.me/" target=_blank><img src="https://i.imgur.com/hbgg0cr.png" border="0" alt="это не страшно" width="88" height="31"></a> <a href="http://monstrlnd.rusff.me" target="_blank"> <img src="https://i.imgur.com/TM8xeQr.png" title="dear billy" border="0" alt="dear billy"></a> <a href=https://bloodoracle.rusff.me/ title="oracle" target="_blank"><img src=https://forumupload.ru/uploads/001b/c7/88/2/871311.png></a> <a href="https://barcross.rusff.me" title="CROSS BAR" target="_blank"><img src="https://forumstatic.ru/files/001b/2c/35/65823.png"></a> <a href="https://phoenixlament.f-rpg.me/" target="_blank"><img src="https://forumstatic.ru/files/001b/b3/3e/39239.png" width="88" height="31"></a> <a href="https://bostoncrazzy.rusff.me/" target="blank"><img src="https://i.imgur.com/eqVVDdm.gif" title="BOSTON"></a> <a href="https://somaulte.rusff.me/"><img src="https://i.imgur.com/psLnBqL.gif"></a> <a href="https://tmsqr.ru/" target="_blank"><img src='https://i.imgur.com/q4P8TKn.gif' title="time§quare" /></a> <a target="_blank" href="https://arkcity.rusff.me/" title="Ark City: последний оплот человечества"><img src="https://forumstatic.ru/files/0019/eb/83/31110.png" width="88px" border="0"></a> <a href="https://sideffect.rusff.me/" target="_blank"><img src="https://i.imgur.com/XdGEDvu.png" title="seoul // real life"></a> <a href="https://after.rolebb.ru" target="_blank"><img src="https://i.imgur.com/3PVLu7S.png"title="Marauders: Aftershocks"border="0"width="88" height="31"></a> <a href="https://thelight.rusff.me/"><img src="https://forumstatic.ru/files/001b/d0/ef/62803.gif" border="0" title="постапокалипсис, нетипичные зомби" width="88" height="31"></a> <a href="https://arhi.rusff.me/" target="_blank" title="Аркхейм: авторский мир, фэнтези, рисованные внешности"><img src="https://forumstatic.ru/files/001b/8c/87/29818.png" width="88" height="31"/></a> <a href="http://gloomywaters.f-rpg.me" target=_blank> <img src="https://forumupload.ru/uploads/0014/d2/94/2/110968.jpg"border="0" title="Gloomy waters are waiting for you"></a> <a href="https://arcanus.f-rpg.me/" target="_blank"><img src='https://i.imgur.com/LVuejDi.gif' title="Аркан. Городская мистика"/></a> <a href="https://ravencross.f-rpg.me/" target="_blank"><img src="https://forumupload.ru/uploads/001b/86/98/97/202671.png" title="ravencross" width="88" height="31" border="0"></a> <a href="https://itisanewworld.rusff.me/"><img title="Mystery Book" src="https://forumstatic.ru/files/001b/0f/ee/83990.jpg" border="0"/></a> <a href="http://oskolki.f-rpg.me/" target="_blank"><img title=" Осколки Анара. Фэнтези, стимпанк. Эпизодическая система. 18+" src="https://forumstatic.ru/files/0012/e6/86/30495.gif" alt="" width="88" height="31" border="0" /></a> <a href="https://sweetshot.rusff.me/"><img src="https://forumstatic.ru/files/0016/9f/34/99029.png"></a> <a href="https://bloodthirst.rusff.me/"> <img src="https://forumstatic.ru/files/001b/82/dc/12978.gif" border="0" title="VtM: Bloodthirst" width="88" height="31"></a> <a href="http://darkmatter.rusff.me/" title="TVD DARK MATTER" target="_blank"><img src="https://s8.gifyu.com/images/1lC6-19bf2020cf40182b1.gif"></a> <a href="https://opiumgods.f-rpg.me/" target="_blank"><img src='https://forumupload.ru/uploads/001b/af/a2/168/798081.png' title="you should try some opium" /></a> <a href="http://antcross.rusff.me/" target="_blank"><img src="https://forumupload.ru/uploads/001b/af/5b/81/555117.png" title="antiqcross" width="88" height="31" border="0"></a> <a href="https://verbaveritatis.rusff.me" title="Верба"><img src="https://forumupload.ru/uploads/000b/09/4f/14545/t168085.gif"></a> <a href="https://sunnycross.ru/"><img src="https://i.ibb.co/Zz1H0CH/bb.png"></a> <a href="http://nightcity.rusff.me/" target=_blank> <img src="https://i.ibb.co/sPLvBFn/banners.gif" border="0" alt="NIGHT CITY VIBE"></a> <a href="http://noname.rolbb.ru" title="NO NAME - no problem" target="_blank"><img src="https://forumstatic.ru/files/0019/d7/11/12054.gif"></a> <a href="https://hunkydory.rusff.me" target="_blank"><img src="https://forumstatic.ru/files/001b/b6/56/68183.png" title="hunky dory"></a> <a href="http://greenwich.rusff.me/" target="_blank"><img src="https://forumstatic.ru/files/001b/bb/51/64357.gif" border="0" alt="greenwich"></a> <a href="https://istanbul.rolka.me/" target="_blank"><img src="https://forumupload.ru/uploads/001b/b9/c8/2/71835.jpg" title="küçük sırları. istanbul"></a> <a href="http://foreveryoung.rolbb.me/" title="Forever Young"><img src="https://forumupload.ru/uploads/001a/fb/6a/2/804702.jpg" border="0"></a> <a href="http://anevermore.ru/" title="nevermore"><img src="https://forumstatic.ru/files/0018/20/d2/53789.png"></a> <a href="http://thenoir.rusff.me/" target="_blank"><img src="https://i.imgur.com/AyqxWto.gif" title="NOIR" border="0"width="88" height="31"></a> <a href="https://bombardo.rusff.me/" target="_blank"><img src='https://forumstatic.ru/files/0015/51/e5/63035.png' title="Magic In BOMBARDO" /></a> <a href="https://stormahead.rusff.me/" target="_blank"><img src="https://i.imgur.com/clk0pWS.gif"title="STORMS AHEAD: МАРОДЁРЫ, 1979, DARK AU "border="0"width="88" height="31"></a> <a href="https://yourdreamcafe.ru/" target="_blank"> <img src="https://forumupload.ru/uploads/001b/9a/f7/2/549604.jpg" title="your dream cafe" border="0" alt="your dream cafe"></a> <a href="https://miamiclub.ru" target="_blank"> <img src="https://i.imgur.com/MrkkHBq.gif" title="MIAMI CLUB" border="0" alt="MIAMI CLUB"></a> </div> <!-- HTML низ -Cпойлер cкрытия Инфы под N-кнопок в Профиле Топика --> <script> var a1 = 1 // 0 - спойлер-аккордеон, 1 - вертикальный спойлер; 3 - обычный спойлер var a2 = 0 // 0 - Скрытие первой вкладки; 1 - Показ первой вкладки; var a3 = 0 // Резкость Открытия: 0 - Плавно; 1 - Резко; var LiArr=new Array( //При наличии двух косых => // в начале пункта, - пункт не скрывается. //"pa-author", //Ник-Нейм //"pa-avatar", //Аватар //"pa-title", //статус //"pa-reg", //Зарегистрирован //"pa-invites", //Приглашений //"pa-posts", //Кол-во сообщений: //"pa-respect", //Уважение: //"pa-positive", //Позитив //"pa-sex", //Пол //"pa-age", //Возраст //"pa-icq", //Аська //"pa-ip", //IP Юзера //"pa-time-visit", //Провел на форуме: //"pa-last-visit", //Последний визит: //"pa-online", //Пользователь online - Не засовываем в спойлеры // "pa-from", //Откуда //"pa-fld1", //Доп.Поле.1 // 3 кнопка- ссылка на Картинку "https://forumstatic.ru/files/001b/a0/2c/70724.png", //"pa-fld2", //Доп.Поле.2 //"pa-fld3", //Доп.Поле.3 //"pa-fld4", //Доп.Поле.4 //"pa-fld5", //Доп.Поле.5 "award", //Награды(только для rusff и ork) "gift", //Подарки(только для rusff и ork) //Конец Списка, "_End"); SetProvilSpoil(a1,a2,a3); </script> <!--Конец//=Cпойлер cкрытия Инфы под N-кнопок в Профиле Топик--> <!-- Индикатор активности пользователя © Alex_63 --> <script type="text/javascript"> $('.post-author:not(.online)').find('.pa-author>a').addClass('offline'); $('.post-author.online').find('.pa-author>a').addClass('online'); $('.post').each(function(){ var PostAuthorLogin = $(this).find('li.pa-author>a').text(); var activeTime = $(this).find('.pa-online').text().split('Активен')[1]; $(this).find('.pa-author>a.online').after('<img src="/i/blank.gif" class="indOnline" title="'+PostAuthorLogin+' на форуме'+activeTime+'" />'); $(this).find('.pa-author>a.offline').after('<img src="/i/blank.gif" class="indOffline" title="'+PostAuthorLogin+' вне форума" />'); }); </script> <!-- //End//-Индикатор активности пользователя © Alex_63 --> <!-- АНТИ-В-СТРОЧКУ СООБЩЕНИЯ И РЕПУТАЦИЯ © deff --> <script type="text/javascript"> function changeS(sc,ch,st){$(sc).parent().each(function(){$(this).html($(this).html().replace(ch,st));});} changeS('.pa-fld4','посты:','посты:<br>'); </script> <!-- Регулировка размера шрифта в постах © Alex_63 --> <script type="text/javascript" src="https://forumstatic.ru/files/0015/c4/3f/31001.js"></script> <!-- Конец --> <!----------------- хтмл в постах с допуском по группам © Alex_63 ---------------> <!-- HTML в постах --> <script type="text/javascript" src="https://forumstatic.ru/files/0018/25/96/94151.js"></script> <script type="text/javascript"> HTMLinPost.groups = [1,2,3,4,5,6,7,8,9,10,11,12]; // Группы, допущенные к вставке HTML в посты HTMLinPost.noAccess = []; // Пользователи с запретом вставки HTML в посты HTMLinPost.parseHTMLinPosts() </script> <!--обтекание изображения 2.4.4--> <script language="javascript"> $(function(){ $('td#button-link').before('<td id="floatbut" style=\'background-image:url("https://forumstatic.ru/files/001a/fc/23/56403.png")\'></td>'); $('#floatbut, .vibor').click(function(){ $('div#float').toggle();}); }); elm=document.getElementsByTagName("div") for(x in elm) if(elm[x].className=="post-content") { post = elm[x].innerHTML; if(post.indexOf("[/float]") != -1) { floats = /\[float=(.*?)\]([^\[]*)\[\/float\]/gi elm[x].innerHTML = elm[x].innerHTML.replace(floats, "<span style='float: $1; margin: 15px; text-align: $1;'>$2</span>") }} </script> <div id="float" style="display:none;background:#FFFFCC;border:1px solid black; width:auto; padding:8px; position:absolute; margin-top: -500px; margin-left:35%; z-index:20"> <div><strong>Направление обтекания</strong></div><br> <div align="center"> <img class="vibor" src="https://forumstatic.ru/files/001a/fc/23/50698.png" title="left" onclick="bbcode('[float=left]', '[/float]')" /> <img class="vibor" src="https://forumstatic.ru/files/001a/fc/23/19406.png" title="right" onclick="bbcode('[float=right]', '[/float]')" /> </div></div> <!--Код Замены тире на длинный дефис не срабатывающий в блоке Код: --> <script>$('.post-content p').html(function(){return this.innerHTML.replace(/(\s| )?-(\s| )/g,'$1—$2')})</script> <!---------------------------- маска ----------------------------> <script src="https://forumstatic.ru/files/0017/95/29/89289.js"></script> <script> hvScriptSet.addMask({ guestAccess: ['something more', 'архив не доигранных эпизодов', 'something ends', 'архив анкет'], forumAccessExtended: { 'the voice of reason': ['на пороге', 'в игре'], 'a grain of truth': ['на пороге', 'в игре'], 'cheerful, innocent and heartless': ['на пороге', 'в игре'], 'a question of price': ['на пороге', 'в игре'], 'the edge of the world': ['на пороге', 'в игре'], 'lute, and that\'s all': ['на пороге', 'в игре'], 'shard of ice': ['на пороге', 'в игре'], 'the bounds of reason': ['на пороге', 'в игре'], 'the road with no return': ['на пороге', 'в игре'], 'the lesser evil': ['на пороге', 'в игре'], 'the ballad of the dragon': ['на пороге', 'в игре'], 'a little sacrifice': ['на пороге', 'в игре'], 'one-eyed orpheus': ['на пороге', 'в игре'] }, changeList: { 'pafld1': { title: 'Раса', description: '', tag: 'rasa', class: 'pa-fld1', defaultCode: '<race>раса</race>', type: 'html' }, 'pafld2': { title: 'Личное звание', description: '', tag: 'lz', class: 'pa-fld2', defaultCode: '<lz><a href="ссылка на анкету">Имя Фамилия, возраст</a></lz><bio>про вашего персонажа в произвольной форме; <a href="ссылка на профиль"><b>ссылка</b></a> на любовь всей вашей жизни</bio>', type: 'html' } }, userFields: ['pa-author', 'pa-title', 'pa-avatar', 'pa-reg', 'pa-fld1', 'pa-fld2', 'pa-fld3', 'pa-posts', 'pa-fld4', 'pa-respect', 'pa-online', 'pa-ip'] }); </script> <!— выделение кода (с) грандоченька смерти —> <script> "use strict";function selectElementText(a){var b=document.createRange();b.selectNodeContents(a);var c=window.getSelection();c.removeAllRanges(),c.addRange(b)}function copySelectionText(){var a;try{a=document.execCommand("copy")}catch(b){a=!1}return a}function changeText(a,b){if(a)return void(a.innerHTML=b)}function selectableCodeBox(a){function b(h){h.preventDefault();var i=h.target;if(i instanceof HTMLElement&&("PRE"===i.tagName||"A"===i.tagName)){var j=i.closest(".code-box");if(j instanceof HTMLElement){var k="PRE"===i.tagName?i:j.querySelector("pre"),l=j.querySelector(".legend");if(k instanceof HTMLPreElement){selectElementText(k);var m=copySelectionText();if(!0===m&&l){changeText(l,g);var n;(function o(){window.clearTimeout(n),n=window.setTimeout(function(){return changeText(l,f)},3e3)})()}}}}}function c(){var h=document.querySelectorAll(".code-box");0<h.length&&h.forEach(function(i){var j=i.querySelector(".legend");j&&changeText(j,f),i.addEventListener("click",b)})}var d=a&&a.text||"\u0412\u044B\u0434\u0435\u043B\u0438\u0442\u044C \u0438 \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C:",f="<a href=\"#\">"+d+"</a>",g=a&&a.copiedText||"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043E \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430!";"complete"===document.readyState?c():document.addEventListener("DOMContentLoaded",c)} </script> <script> selectableCodeBox({ text: "Забрать код" }); </script> <!--Альтернативная вставка картинки--> <script> var oldIMG="<td id=\"button-image\" title=\"Вставить картинку\"><img onclick=\"bbcode('[img]','[/img]')\" src=\"/i/blank.gif\"/><b><p style=\"z-index:20;position:absolute;height14px;margin:-15px 0 0 22px;\">2</p></b></td>" $("#button-image").after(oldIMG); </script> <!--запятая после ника --> <script type="text/javascript"> function to(username) {insert('[b]' + username + '[/b]' + ', ');} </script> <!-- Разделение ников пользователей в теме запятой --> <script>$('#topic-users-in a').prev('a').after(',');</script> <!--конец--> <!- счетчик -> <script>var a,L,epl=$("#main-reply"),str='<small id="plng" style="border:1px solid;padding:2px 3px;margin:0 20px 0 10px;">Написано символов: <b>00</b> </small>';epl.parents("fieldset").find("legend").prepend(str);function epl3(){a=epl.val().length;if(a>9){L=''}else{L='0'};$("#plng b").text(L+a)};epl3();$(".pl-quote").click(function (){setTimeout('epl3()',100)});epl.bind('mouseout mousemove keydown keypress keyup',function(e){epl3()});</script> <!--Кнопка "текст по ширине"--> <style> #button-mybb {background-image:url('http://icons.iconarchive.com/icons/famfamfam/silk/16/text-align-justify-icon.png'); padding:0; line-height:0; background-position:center; background-repeat:no-repeat; height:26px; width:100%} </style> <script type="text/javascript"> if(form=document.getElementById("form-buttons")) form.getElementsByTagName("tr")[0].insertCell(8).innerHTML="<img src='/i/blank.gif' id='button-mybb' onclick=\"bbcode('[align=justify]', '[/align]');\"/>" </script> <!-- ТЕГ абзаца - [indent] --> <style>#button-indent {background:url(http://s7.uploads.ru/t/mnkgq.png)no-repeat center 6px!important;}</style> <script type="text/javascript">(function(){ var b = '[indent]'; $("#button-strike").after('<td id="button-indent" title="Отступы"><img src="/i/blank.gif" onclick="smile(\''+b+'\')"></td>'); var indent = '<span style="display:inline-block;margin:0.7em 1.1em;"></span>'; /*удвоенные Отступы сверху и слево*/ $('.post-content p:contains("'+b+'")').each(function(){ $(this).html( $(this).html().replace(/\[indent\]/gm,indent));});}()); </script><!-- Конец --> <!-- Аватар по умолчанию / Deff, Alex_63 --> <script type="text/javascript"> var DefAvtr = 'https://i.imgur.com/wM92tf9.png'; //Ссылка на аватар по умолчанию var GuestAvtr = 'https://i.imgur.com/wM92tf9.png'; //Ссылка на аватар для Гостя $('#pun-viewtopic,#pun-messages').find('.pa-title').each(function(){ var b = DefAvtr;if($(this).text()=='Гость'){b = GuestAvtr;} var s='<li class="pa-avatar item2"><img class="defavtr" src="'+b+'" alt="Аватар"/></li>'; if($(this).parent().find('.pa-avatar').html()==null)$(this).after(s); });$('#profile-left strong:contains("Нет аватара")') .parent().html('<div><img src="'+DefAvtr+'"/></div>'); </script> <!-- Аватар по умолчанию / Deff, Alex_63 --> <!-- Кликабельность ника в постах Гостя --> <script>$(".post[data-group-id=3]").find(".pa-author").html(function(){return this.innerHTML.replace(/(<.+>)(.+)$/,'$1<a href="javascript:to(\'$2\')">$2</a>')});</script> <!-- Конец --> <!--- Скрыть rss-atom ---> <style type="text/css"> .punbb .modmenu .container span {display: none;} </style> <!--- конец ---> <!-- Новые сообщения --> <script type="text/javascript"> $('#pun-ulinks ul').prepend('<li class="item1"><a href="/search.php?action=show_new">Новые сообщения</a></li>'); </script> <!-- Конец --> <!-- Правка глюка Репы при отсутствии скриптов руссфф v2--> <script> if($('#pun-viewtopic').length)$(window).load(function () { if(!$('#pun-reputation').length)FORUM.PartnerVote = function() { return true; }; }); </script> <!-- Чтобы не пропадали посты --> <script type="text/javascript" src="https://forumstatic.ru/files/0018/25/96/63959.js"></script> <!— конец —> <!-- шрифты в форме ответа--> <script type="text/javascript" src="https://forumstatic.ru/files/001b/91/28/65986.txt?v=3"></script> <!-- Мгновенный предпросмотр сообщения © Alex_63 --> <script type="text/javascript"> var PPREV = {}; PPREV.position = 0; //Положение окна Предпросмотра: 0 - над полем ввода, 1 - под полем ввода, 2 - справа PPREV.quote_cite = 'написал(а):'; //Надпись в окне цитаты </script> <script type="text/javascript" src="https://forumstatic.ru/files/0015/c4/3f/10524.js"></script> <!-- Кнопка отключения мгновенного предпросмотра --> <style>#togglePreview{float: right; margin-top: -20px; padding-bottom: 10px;}</style> <script type="text/javascript">(function (){ var a='Включить быстрый предпросмотр'; var b='Отключить быстрый предпросмотр'; var d='_PreviewToggle'; setCookiePPrev=function(a,b,c){if(c){var d=new Date();d.setTime(d.getTime()+c);}if(a && b)document.cookie=a+'='+b+(c ? '; expires='+d.toUTCString() : '');else return false;} getCookiePPrev=function(a){var b=new RegExp(a+'=([^;]){1,}');var c=b.exec(document.cookie);if(c)c=c[0].split('=');else return false;return c[1] ? c[1] : false;} $('<small id="togglePreview"><input type="button" class="button" value="'+ b +'" onclick="togglePreview(this)"/></small>').insertAfter('#post fieldset:last legend'); var x = ParseContent; window.togglePreview = function(sel){//alert(sel.value); if(sel.value==a){sel.value=b;setCookiePPrev(d,'0',-1000);ParseContent=x;ParseContent();$('#post-preview').show(); return} if(sel.value==b){sel.value=a;setCookiePPrev(d,'OFF',30*3600*24*30*1000);if($('#pun-viewtopic').length){$('#post-preview').hide()}ParseContent=function(){return};return} }; if(getCookiePPrev(d)=='OFF'){$('#togglePreview>.button').click()}; }())</script> <!--// CSS-версия обтекания изображений в Постах //--> <style>.postimg[alt="float:right"]{float:right;padding-left:12px;pointer-events:none}.postimg[alt="float:left"]{float:left;padding-right:12px;pointer-events:none} #add_float{position:absolute;padding:2px;top:-8px;left:50%;margin-left:-29px!important;width:57px!important;background: url("http://i.imgur.com/h51dN9A.png") no-repeat 50%!important;} #button-image #add_float img{display:block;position:relative;z-index:4;} #button-image>img{position:relative;z-index:2;} #button-image>center{opacity:0;visibility:hidden; transition-duration: .8s;} #button-image:hover>center{opacity:1; visibility:visible;} </style> <script>$(function(){$('.postimg[title="float:right"],.postimg[title="float:left"]').mouseover(function(e){e.preventDefault();}); var a ='<center style="position:relative;"><table id=add_float><tr><td id="text-left" title="Обтекание: текст слева">@@</td><td></td><td id="text-right" title="Обтекание: текст справа">##</td></tr></table></center>',b3="]'"; var b1 = '<img onclick="bbcode(\'[img=float:right'+b3+',\'[/img'+b3+')" src="/i/blank.gif"/>',b2 = '<img onclick="bbcode(\'[img=float:left'+b3+',\'[/img'+b3+')" src="/i/blank.gif"/>'; a = a.replace('@@',b1).replace('##',b2); $('#post #button-image').prepend(a);}); </script>