Код:
<script>
$("a[href^='/online.php']").attr("title","Взломать камеры наблюдения");
$("#pun-ulinks h2").attr("title","Пользовательская навигация [юлинки]");
</script>

<script>
$('#stylelist li a').each(function(){

  $(this).attr('title',$(this).text());
});
</script>

<script>
var ShowMe = $('#pun-navlinks, .spirit-navigation'),
    scrollPrev = 0;

$(window).scroll(function() {
	var scrolling = $(window).scrollTop();
 
	if ( scrolling > 400 && scrolling > scrollPrev ) {
    ShowMe .addClass('hiding');
	} else {
    ShowMe .removeClass('hiding');
	}
	scrollPrev = scrolling; 
});
</script>

<!-- баннеры внизу -->
<div class="banners">
<a href="http://imagiart.ru/" target="_blank"> <img src="https://i.imgur.com/h3ba1GC.gif" title="photoshop: Renaissance" border="0" alt="photoshop: Renaissance"></a> <a href="http://artishock.rusff.me/" target="_blank"><img src="http://s2.uploads.ru/nzVxs.gif" title="ARTISHOCK" border="0"width="88" height="31"></a> <a href="https://memlane.ru" title="memory lane" target="_blank"><img src="https://forumstatic.ru/files/0019/9e/ef/60582.gif" width="88" height="31" border="0"></a> <a href="http://exlibris.rusff.me/" title="ex libris crossover" target="_blank"><img src="https://i.imgur.com/O54i08P.png" alt="ex libris"></a> <a href="https://yellowcross.f-rpg.me/" target="_blank"><img src="https://i.imgur.com/BrzG4gF.png" title="yellowcross" border="0"width="88" height="31"></a> <a href="https://clubofromance.rusff.me/" title="romance club: new story"><img src="https://forumupload.ru/uploads/001a/c4/45/3/485158.gif" border="0"></a> <a href="http://soullove.ru" target=_blank> <img src="https://forumstatic.ru/files/000e/5d/50/32578.png?v=1" border="0" alt="Soul Love"></a> <a href="http://somaulte.rusff.me/"><img src="https://i.imgur.com/XXVzX55.gif"></a> <a href="https://wearethefuture.rusff.me/" title="REVOLT"><img src="http://i.imgur.com/3fj04bc.gif"></a> <a href="http://crossreturns.rusff.me" target="_blank"><img src="https://i.imgur.com/ZAGcRzt.jpg" title="wonderlandcross" border="0" width="88" height="31"></a> <a href="http://hpfreakshow.rusff.me/" target=_blank><img src="http://sd.uploads.ru/76dn1.gif" title="HP: Freakshow. ГП 3 поколение. Драмеди, социалка, активная игра"></a> <a href="https://acadia.rusff.me" target="_blank"><img src="https://i.imgur.com/RKoHj69.png" title="АКАДИЯ"></a> <a href=https://camelot.rolbb.me/ title="Здесь живут сказки, мифы и легенды" target=_blank><img src=https://forumupload.ru/uploads/001a/f0/c8/2/293489.gif></a> 
 <a href="https://mayhem.rusff.me/" target="_blank"><img src='https://forumstatic.ru/files/001a/fb/19/63786.gif' title="возглавь хаос" /></a> <a href="http://themostsupernatural.ru" target="_blank" title="Самая Сверхъестественная ролевая игра"><img src="https://i.imgur.com/yopsSLZ.gif"></a> <a href="http://essenceofblood.ru" target="_blank"><img src="https://i.imgur.com/EdnKg79.png" alt="» ▪ NC-21 ▪ мистика ▪ 2021 год ▪ Ла-Сангре, Лос-Анджелес, Калифорния, США" width=88 height=32></a> <a href="http://finiteincantatem.rusff.me/" title="hp: finite incantatem"><img src="https://forumstatic.ru/files/001b/2c/02/35768.png"></a> <a href="https://dis.f-rpg.me/" target=_"blank"><img src="https://forumstatic.ru/files/001a/e7/ed/65531.jpg" title="DIS" alt="DIS" border="0"></a> <a href="https://nobalance.ru/" title="балансируем на грани возможного" target="_blank"><img src="https://forumstatic.ru/files/001a/ff/52/32883.png" width="88" height="31" border="0"></a> <a href="https://somethingold.f-rpg.me"><img src="https://forumstatic.ru/files/001b/6a/ca/77435.jpg" title="DOCTOR WHO, OR THERE AND BACK AGAIN" width="88" height="31"></a> <a href='http://onlineroleplay.rusff.me/' target='_blank' title='ONLINEROLEPLAY'><img src='https://forumupload.ru/uploads/001b/1a/5a/29/557600.gif' border='0' width='88' height='31'></a> <a href="http://docnight.rusff.me/" target="_blank"><img title="Doctor Who: Night terror" src="https://forumstatic.ru/files/0013/70/40/20242.gif"></a> <a href="http://itisanewworld.rusff.me/"><img title="Mystery Book" src="https://i.imgur.com/8urfbim.png" border="0"/></a> <a href=https://outerspace.rusff.me//><img src="https://forumupload.ru/uploads/001a/e8/7f/2/677920.jpg" border="0" alt="Outer Space. Будущее. Космос"width=88  height=31 border></a> <a href="https://i.postimg.cc/FKpjZF2T/bann.png "title="1980: mirror of erised "border="0"width="88" height="32"></a> <a href="http://kingscross.f-rpg.me/" target="_blank"><img title="KINGSCROSS. Внимание, поезд отправляется!" src="https://i.imgur.com/J116fWT.png"></a> <a href="http://symbiosis.rusff.me"><img src="https://forumstatic.ru/files/001a/ed/fd/49772.gif" title="symbiosis" border="0" width="88" height="31"></a> <a href="http://sideffect.rusff.me/"><img src="https://i.imgur.com/XdGEDvu.png" title="seoul // real life"></a> <a href="http://hornyjail.ru/"><img src="https://forumstatic.ru/files/001b/81/0a/75926.jpg"></a> <a href="https://timess.rusff.me/" target="_blank"><img src='https://i.imgur.com/2tZqRjl.png' title="time§quare" /></a> <a href="https://barcross.rusff.me" title="CROSS BAR" target="_blank"><img src="https://forumstatic.ru/files/001b/2c/35/65418.png"></a> <a href="https://crossfeeling.rusff.me/" target="_blank"><img src="https://i.imgur.com/2QzkXLK.png" title="crossfeeling" border="1" width="88" height="31"></a> <a href="https://sacramentolife.ru" target="_blank"><img src="https://i.imgur.com/5hb3s55.png" title="Sacramento"></a> <a href="http://replay.rusff.me" target="_blank"> <img src="https://i.imgur.com/nQKA3xF.gif" title="Replay: Atlantic-City" border="0" alt="Replay: Atlantic-City"></a> <a href="http://toeden.rusff.me" title="Магический реализм, США, 2022 год"  target="_blank"><img src="https://i.imgur.com/ZFiLFxE.gif" alt="Return to eden"></a> <a href="http://cursedcreatures.f-rpg.ru/" target="_blank"><img src="https://i.imgur.com/5hAvtmt.gif" title="Portland" border="1" width="88" height="31"></a> <a href="https://homecross.f-rpg.me/" target="_blank"><img src="https://i.imgur.com/lM5j1UL.gif" title="Crossover House of Memories"></a> <a href="http://gemcross.rusff.me/"><img src="https://forumupload.ru/uploads/001b/2f/0f/4/792062.gif" width="88" height="31" border="0" alt="GEMcross"></a> <a href="https://rockland.rusff.me/" target="_blank"><img src="https://i.ibb.co/JRskX8w/3.gif"  alt="Rockland" /></a> <a href="http://phoenixlament.f-rpg.me/" target="_blank"><img src="https://i.imgur.com/mA0aZKz.gif" width="88px" height="31px" title="HOGWARTS. PHOENIX LAMENT"></a> <a href="http://bostoncrazzy.rusff.me" target="blank"><img src="http://images.vfl.ru/ii/1644159413/561197cc/37896091.gif"  title="BOSTON"></a> <a href="http://betwixtcrossover.f-rpg.me/" target="_blank"><img src="https://forumstatic.ru/files/001a/7b/c9/29090.png" title="things betwixt"></a> <a href="http://chillout.rusff.me/" target="_blank"><img src="https://forumstatic.ru/files/001b/82/62/30090.png" title="chill out crossover" border="1" width="88" height="31"></a> <a href="https://drinkbutterbeer.rusff.me" target="_blank"><img src="https://forumstatic.ru/files/001a/2e/af/55698.png" title="у нас наливают"></a> <a href="http://stayalive.rolfor.me/"><img src="https://forumupload.ru/uploads/001a/c7/fc/4/102835.gif" title="Maradeurs: stay alive"></a> <a href="http://koreanacademy.ru/" title="KOREAN ACADEMY"><img src="https://i.imgur.com/eP7o5ul.gif" target="_blank" border="0" width="88" height="31"></a> <a href="https://capital-queen.ru" target=_blank title="The Capital of Great Britain"><img src="https://forumupload.ru/uploads/001b/01/bb/2/626686.gif"></a> <a href="http://eltropicanolife.rusff.me/#?advNum=site_banner" target="_blank">
<img src="https://i.imgur.com/eUbopU4.gif" ></a> <a href="http://shakalcross.ru/" target="_blank"><img src="https://i.imgur.com/OOfiG43.png" alt="shakalcross"></a> <a href="https://tvddownwardspiral.rusff.me/" title="tvd&other: the downward spiral"  target="_blank"><img src="https://i.ibb.co/XX0jbyZ/image.gif" alt="tvd&other: the downward spiral"></a> <a href="http://lib.rusff.me/"><img src="https://forumupload.ru/uploads/000f/c7/5b/2/867579.gif"></a> <a href="http://closeenemy.rusff.me" title="Marauders: Close Enemy" target=_blank><img src="https://i.imgur.com/C9wvqnS.gif"></a> <a href="http://imperiumaeternum.rolka.me/" target="_blank"><img src="https://i.imgur.com/WX5beWm.gif" title="Imperium Aeternum"></a> <a href="http://nnname.ru/" title="NO NAME - no problem" target="_blank"><img src="https://forumstatic.ru/files/0019/d7/11/12054.gif"></a> <a target="_blank" href="https://relentless.rusff.me/" title="Relentless"><img src="https://i.imgur.com/zjzZ3MV.jpg" border="0"></a> <a href="https://darkness.rolfor.me/" title="Marauders: Deep Into Darkness" target=_blank><img src="https://forumstatic.ru/files/001b/02/f2/80712.gif"></a> <a href="https://slowhere.ru/"><img src="https://i.imgur.com/ZEwzUZG.png" title="камерный кросс шредингера"></a>  <a href="https://whatheydo.rusff.me/" target="_blank"><img src="https://imgur.com/nB7A6eU.png" title="HP: What they do in the shadows. 2 поколения, сорок лет магии!" border="0" alt="HP: What they do in the shadows"></a> <a href="http://dutyfree.rusff.me/"><img src="https://i.imgur.com/pyJgFLN.png" title="DUTY FREE"></a> <a href="https://brightonlife.ru/" target="_blank"><img src="https://forumupload.ru/uploads/0012/39/57/2/36798.png"  title="Не боишься, что кое-кто все про тебя расскажет?"></a> <a href="http://blackbird.rusff.me/" title="blackbird. ardens caelum" target="_blank"><img src="https://i.imgur.com/tTAOYjA.gif" width="88" height="31" border="0"></a> <a href="http://postfactum.rusff.me" target="_blank"> <a href="https://historycross.rusff.me/" title="ИСТОРИЯ РОССИИ" target="_blank"><img src="https://forumupload.ru/uploads/001b/67/7a/5/369912.jpg"></a> <a href="http://tenebris.f-rpg.me/" target="blank"><img src="https://forumupload.ru/uploads/001b/36/79/5/792981.gif"></a> <a href="https://wrng.rusff.me/" title="конспирологическая мистика на базе старого-доброго реала" target="_blank"><img src="https://i.imgur.com/AlJxjsF.png" width="88" height="31" border="0"></a> <a href="http://stubborn.rusff.me/"target=_blank><img src="https://i.imgur.com/Is4Vhwk.png" title="MARAUDERS. STUBBORN VOICES"></a> <a href="https://persephone.rusff.me" title="Станция Персефона. Начни с нуля" target="blank"><img src="https://forumupload.ru/uploads/001b/5d/70/5/130860.gif" alt="Станция Персефона" /></a> <a target="_blank" href="http://theabyss.rusff.me/" title="the abyss"><img src="https://forumstatic.ru/files/001b/7a/0c/31535.gif" border="0"></a> <a href="http://loremipsum.rolfor.me/" target="_blank"><img src="https://forumstatic.ru/files/001b/72/33/54043.jpg" title="Lorem Ipsum" alt="Lorem Ipsum" width="88" height="31"></a>
<a target="_blank" href="http://cruciatuscurse.rusff.me/" title=" Daily Prophet: Fear of the Dark"><img src="https://i.imgur.com/WBcovOm.jpg" border="0"></a>
<a href="https://crossteller.ru/" target="_blank"><img src="https://forumstatic.ru/files/001b/85/2a/34987.jpg" title="CROSSTELLER"border="1" width="88" height="31"></a> <a href="https://levelingup.ru/"><img src="https://i.ibb.co/LrNF7Dp/banner2.gif" title="leveling up"></a> <a href="http://fantalesofmarvel.rolbb.me" target="_blank"> <img src="https://forumupload.ru/uploads/001a/84/ef/2/89119.gif" title="marvel fantales" border="0" alt="marvel fantales"></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="http://reternum.rusff.me/" target="_blank"><img src="https://forumstatic.ru/files/001b/8a/8b/16450.png" width="88" height="31"></a> <a href="http://fakeit.rusff.me/" target="_blank"><img src='https://forumupload.ru/uploads/001b/90/c5/2/770759.png' title="Fake it" /></a> <a href="http://seasonofstorms.rusff.me/" target="_blank"><img src="https://imgur.com/E1Spxta.png"  title="Season of storms" alt="Season of storms"></a>
<a href="https://vibe.rusff.me/"><img src="https://forumstatic.ru/files/001b/7c/28/37158.gif" title="VIBE"></a>




</div>
<!-- конец -->

<!-- Быстрое редактирование постов © Alex_63 // V.3 -->
<script src="https://forumstatic.ru/files/0015/c4/3f/97896.js" type="text/javascript"></script>

<!-- свой BB-тег + фикс для страницы поиска постов (с) Вещий Дух & Dan Frozen (18.06.2019) -->
<script type="text/javascript">
 $('div[id$="-content"] p:contains("[/nameline"),#pun-searchposts:contains("[/nameline"),#post-preview:contains("[/nameline")').map(function (){
    var post = $(this).html();
    if(post.indexOf("[/nameline]") != -1) {
    post = post.replace(/\[nameline\](.*?)\[\/nameline\]/gi, "<div id='nameline'><span>$1</span></div>");
    };
    $(this).html(post);
    });
 $('div[id$="-content"] p:contains("[/livin"),#pun-searchposts:contains("[/livin"),#post-preview:contains("[/livin")').map(function (){
    var post = $(this).html();
    if(post.indexOf("[/livin]") != -1) {
    post = post.replace(/\[livin\](.*?)\[\/livin\]/gi, "<div id='livin'><span>$1</span></div>");
    };
    $(this).html(post);
    });
 $('div[id$="-content"] p:contains("[/work"),#pun-searchposts:contains("[/work"),#post-preview:contains("[/work")').map(function (){
    var post = $(this).html();
    if(post.indexOf("[/work]") != -1) {
    post = post.replace(/\[work\](.*?)\[\/work\]/gi, "<div id='work'>$1</div>");
    };
    $(this).html(post);
    });
 $('div[id$="-content"] p:contains("[/lastsection"),#pun-searchposts:contains("[/lastsection"),#post-preview:contains("[/lastsection")').map(function (){
    var post = $(this).html();
    if(post.indexOf("[/lastsection]") != -1) {
    post = post.replace(/\[lastsection\](.*?)\[\/lastsection\]/gi, "<div id='lastsection'><span>$1</span></div>");
    };
    $(this).html(post);
    });
 $('div[id$="-content"] p:contains("[/nameline_rus"),#pun-searchposts:contains("[/nameline_rus"),#post-preview:contains("[/nameline_rus")').map(function (){
    var post = $(this).html();
    if(post.indexOf("[/nameline_rus]") != -1) {
    post = post.replace(/\[nameline_rus\](.*?)\[\/nameline_rus\]/gi, "<div id='nameline_rus'><span>$1</span></div>");
    };
    $(this).html(post);
    });
</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>
<script type="text/javascript">if($('#pun-messages').length){var pprevcont='<fieldset id="post-preview"><legend><span>Предварительный просмотр сообщения</span></legend><div class="fs-box"><div class="post-box"><div class="post-content"></div></div></div></fieldset>';if(document.URL.indexOf('&p')!=-1){if(PPREV.position==0 || PPREV.position==2) {$('#post').prepend(pprevcont);}if(PPREV.position==1){$('#post').append(pprevcont);}}else if(document.URL.indexOf('?action=new')!=-1){if(PPREV.position==0 || PPREV.position==2){$('#profile fieldset:first').before(pprevcont);}if(PPREV.position==1){$('#profile fieldset:first').after(pprevcont);}}if($('#post-preview').text().length<1){$('#post-preview').hide();}else{$('#post-preview').show();ParseContent();}var sTim;$('#main-reply:first').live('input',function(){ParseContent();});$('#form-buttons img,div[id$="-area"] *').click(function(){sTim=setTimeout(function(){clearTimeout(sTim);ParseContent();},40);});}</script>

    <!-- Кнопка отключения мгновенного предпросмотра -->
    <style>#togglePreview{float:right;margin-top:-20px}</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>

<!--- хтмл в постах с допуском по группам © 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]; // Группы, допущенные к вставке HTML в посты
HTMLinPost.noAccess = []; // Пользователи с запретом вставки HTML в посты
HTMLinPost.parseHTMLinPosts()
</script>
<!--- конец --->

<!---  бегущая строка внизу -->
<div class="bottom_text_line">
<marquee onmouseout='this.start()' onmouseover='this.stop()' scrollamount='3'>
<em>#погода</em> жители дейтрота чувствуют тепло пришедшей весны на своей коже;
<em>#политика</em> во втором дистрикте продолжаются мирные акции в поддержку присоединения дистрикта три;
<em>#виар</em> день мёртвых в этом году пройдёт в виртуальном детройте;
<em>#спорт</em> гладиатор пьетро гвардиола поразил фанатов новой откровенной фотосессией;
<em>#мода</em> дом версаче провёл показ новой коллекции весна-лето'2107;
<em>#обострение</em> ввиду повышенного спроса все клубы «эдем» теперь работают круглосуточно;
</marquee>
</div>
<!-- конец --->

<!--- цитаты в категориях --->
<script>
$(function (){ 
$('<em>THE DANGER OF LIVING TOO MANY TIMES: YOU FORGET TO FEAR DEATH.</em>').insertAfter('.category.category-1 h2 span');
$('<em>TIME IS THE GREATEST OF ALL WARRIORS. WHAT IT DOESN’T DESTROY, IT ALTERS BEYOND RECOGNITION.</em>').insertAfter('.category.category-2 h2 span');
$('<em>THEY SAY HOPE BEGINS IN THE DARK. BUT WITH EVERY TOMORROW WE CARRY OUR PAST.</em>').insertAfter('.category.category-3 h2 span');
$('<em>REMEMBER THAT EVEN IN OUR DARKEST HOUR, LIFE IS STILL TO BE SAVORED. </em>').insertAfter('.category.category-4 h2 span');
$('<em>WHEN YOU BELIEVE A LIE FOR TOO LONG, THE TRUTH DOESN’T SET YOU FREE. IT TEARS YOU APART.</em>').insertAfter('.category.category-5 h2 span');
$('<em>RAGE AT INJUSTICE  IS UNIVERSAL. THE ABILITY TO STRIKE BACK IS NOT. </em>').insertAfter('.category.category-6 h2 span');
});
  </script>
<!--- конец --->

<!-- Разделение тем: "Важные темы" и "Темы форума" // © Alex_63 -->
    <style>
    #pun-main .forum table{ table-layout: auto;}
    #pun-main tr.tr-divider {
      font-weight: bold;
    }
    </style>
    <script type="text/javascript">if($('#pun-viewforum').length){$('tr[class$="isticky"]:first').before('<tr class="tr-divider imp"><td class="td-divider" colspan="4">Важные темы</td></tr>');$('tr[class$="isticky"]:last').next('tr').before('<tr class="tr-divider st"><td class="td-divider" colspan="4">Темы форума</td></tr>');$('.stickytext').remove()}</script>
    <!-- //End//-Разделение тем -->

<!--кнопки вверх вниз-->
<div class="go-up" id='ToTop'><span>вверх<span></div>
<div class="go-down" id='OnBottom'><span>вниз<span></div>
<!--кнопки вверх вниз-->
<script type="text/javascript">
$(function(){
if ($(window).scrollTop()>="250") $("#ToTop").fadeIn("slow")
$(window).scroll(function(){
  if ($(window).scrollTop()<="250") $("#ToTop").fadeOut("slow")
  else $("#ToTop").fadeIn("slow")
});
if ($(window).scrollTop()<=$(document).height()-"999") $("#OnBottom").fadeIn("slow")
$(window).scroll(function(){
  if ($(window).scrollTop()>=$(document).height()-"999") $("#OnBottom").fadeOut("slow")
  else $("#OnBottom").fadeIn("slow")
});
$("#ToTop").click(function(){$("html,body").animate({scrollTop:0},"slow")})
$("#OnBottom").click(function(){$("html,body").animate({scrollTop:$(document).height()},"slow")})
});
</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="insert(\''+b+'\')"></td>');
var indent = '<span style="display:inline-block;margin: 0.7em 1em;"></span>'; /*удвоенные Отступы сверху и слева*/
$('.post-content p:contains("'+b+'")').each(function(){ $(this).html( $(this).html().replace(/\[indent\]/gm,indent));});}());
</script>

<!-- Анти-в-строчку для Сообщений и Репутации © deff -->
<script type="text/javascript">
function changeS(sc,ch,st){$(sc).parent().each(function(){$(this).html($(this).html().replace(ch,st));});}
   changeS('.pa-respect span','<span>+','<span>');
   changeS('#pun-ulinks .item2','Активные темы','Активные');
   changeS('#pun-ulinks .item3','Темы без ответов','Без ответов');
   changeS('li.pl-email.pm','ЛС','написать ЛС');
   changeS('#navadmin','Администрирование','settings');
   changeS('#navindex','Форум','$(document).ready(<em>home_page</em>)');
   changeS('#navuserlist','Участники','userlist');
   changeS('#navsearch','Поиск','search');
   changeS('#navprofile','Профиль','id card');
   changeS('#navpm','Сообщения','messages');
   changeS('#navlogout','Выход','log out');
   changeS('#navregister','Регистрация','join');
   changeS('#navlogin','Войти','log in');
   changeS('#pun-stats .container .item3','Зарегистрированных пользователей','пользователей');
</script>


<!-------------- Регулировка размера шрифта в постах -------------->
<script type="text/javascript" src="https://forumstatic.ru/files/0015/c4/3f/31001.js"></script>


<!-- Исключение из "Цитировать" подписи и "отредактировано" -->
<script type="text/javascript"> (function(){    var p =[];
  $('.post').find('.pl-quote').click(function(){
    p[0] = $(this).parents('.post').find('.lastedit');
    p[1] = $(this).parents('.post').find('.post-sig');
    p[2] = p[0].html();p[3] = p[1].html();
    p[0].html('');p[1].html('');
    setTimeout(function(){p[0].html(p[2]);p[1].html(p[3])},600);});
}());
</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>




<!--обтекание изображения 2.4.4-->
<script language="javascript">
$(function(){
$('td#button-link').before('<td id="floatbut" title="Обтекание изображения" style=\'background-image:url("https://forumstatic.ru/files/0015/dd/40/15488.gif")\'></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:-32%; margin-left:35%; z-index:20">
<div><strong>Направление обтекания</strong></div><br>
<div align="center">
<img class="vibor" src="https://forumstatic.ru/files/0015/dd/40/52315.png" title="left" onclick="bbcode('[float=left]', '[/float]')" />
<img class="vibor" src="https://forumstatic.ru/files/0015/dd/40/32241.png" title="right" onclick="bbcode('[float=right]', '[/float]')" />
</div></div>

<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:-7px 0 0 14px;\">2</p></b></td>"
$("#button-image").after(oldIMG);
</script>

<!--замена коротких тире на длинные -->
<script>$('.post-content p').html(function(){return this.innerHTML.replace(/(\s|&nbsp;)?-(\s|&nbsp;)/g,'$1&mdash;$2')})</script>

<!--написано символов-->
<script>var a,L,epl=$("#main-reply"),str='<small id="plng">Написано символов: <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>
<!--конец -->

 <!-- ник гостя -->
<script>$(".post[data-group-id=3]").find(".pa-author").html(function(){return this.innerHTML.replace(/(<.+>)(.+)$/,'$1<a href="javascript:to(\'$2\')">$2</a>')});</script>


<script type="text/javascript">
function show_new() { if(GroupID == 3) return;
$('#pun-ulinks ul').prepend('<li class="item1"><a href="/search.php?action=show_new">Новые</a></li>');} 
show_new();
</script>

<script type="text/javascript">
var title = document.querySelectorAll('.pa-avatar img[title], p.formsubmit .button[title], input.button[title],#statistic-other a[title], .post-rating a[title], span.offctgr img[title]'); 
var allTitle = title.length;
for (i=0; i<allTitle; i++){
    title[i].removeAttribute('title');
}
</script>

<!-- Восстановление последнего поста при утере by Человек-Шаман -->
<script>
$(document).ready(function() {
  $('#addition-area').append(function() {
    return $('<div>Восстановить последний пост</div>').click(restoreLastPost);
  });
  function restoreLastPost() {
    $('#main-reply').val(localStorage.ReservePost);
  };
});
</script>
<!--конец-->


<!-- Разделение ников пользователей в теме запятой -->
<script>$('#topic-users-in a').prev('a').after(',');</script>


<script type="text/javascript">
(function(){function rep(str, p1,offset, s){
  return '>'+p1.replace(/"([^ "][^"]+?)"/gm,'«$1»')+'<';}
$('.post-content p').each(function(){
  $(this).html(('</>'+$(this).html()+'</>').replace(/>([^<>]+)</gm, rep));
});}());
</script>

<!-- ЧТОБЫ НЕ ПРОПАДАЛИ ПОСТЫ V.3 -->
    <script type="text/javascript" src="https://forumstatic.ru/files/0017/b2/f5/47120.js"></script>

<!-- Загрузчик изображений в форме ответа © 2018 Alex_63 -->
<script>FORUM.defaultHost = 'imgur'; // Хостинг по умолчанию: 'uploads' 'imgur' 'imageban'</script>
<link rel="stylesheet" type="text/css" href="https://forumstatic.ru/files/0015/c4/3f/18002.css" />
<script type="text/javascript" src="https://forumstatic.ru/files/0015/c4/3f/18001.js"></script>
<!-- конец-->

<!-- скрыть поделиться -->
<script type="text/javascript">
RusffCore.sets.share = false;
</script>
<!— конец —>

<!--- Скрыть rss-atom --->
<style type="text/css">
.punbb .modmenu .container span {display: none;}
</style>
<!--- конец --->

<!-- запятая после ника -->
<script type="text/javascript">
function to(username)
{insert('[b]' + username + '[/b]' + ', ');}
</script>
<!--конец-->

<!-- ШРИФТЫ -->
<script type="text/javascript">
if ($('#pun-viewtopic,#pun-post,#pun-edit,#pun-poll,#pun-messages').length)(function () {
  var ft = $("#font-area"),i,FntArr,j = "";

  FntArr=new Array (
"yeseva one ",
"Oswald ",
"Arsenal ",
"Philosopher ",
"Playfair Display ",
"Raleway ",
"Oranienbaum ",
"Cinzel Decorative ",
"Lobster ",
"Roboto ",
"Fjalla One ",
"Abril Fatface ",
"EB Garamond ",
"Old Standard TT ",
"Homemade Apple ",
"Allerta Stencil ",
"Spectral ",
"Alegreya Sans SC ",
"bebasneueregular ",
"Comfortaa ",
"Cuprum ",
"Nautilus Pompilius ",
"Pirata One ",
"Plaingermanica ",
  );

  for (i=0;i<FntArr.length;i++ ){j+='<div><span style="font-family:'+FntArr[i]+'">'+FntArr[i]+'</span><img src="/i/blank.gif" onclick="\
    bbcode(\'[fo'+'nt='+FntArr[i]+']\',\'[/font]\')" /></div>';};ft.append(j)}())
</script>

<style type="text/css">
#wrapper {width: 445px; margin-top: -15px;}
/* вкладки доп смайлов */
ul.tabs {height: 22px;line-height: 22px;margin: 18px 0 10px;list-style: none;display: flex;
justify-content: space-between; gap: 4px}
ul.tabs li {margin-right: 1px; cursor:pointer;flex: 1}
ul.tabs li a {color: #8c8c8c;
    cursor: pointer;
    display: block;
    margin-bottom: -1px;
    padding: 0 14px 1px;
    position: relative;
    text-decoration: none;
    background: #e4e4e4;
    border: 1px #cecece solid;
    text-align: center;
    font: 600 9px arial;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 10px 5px 10px!important;
    margin-left: 5px!important;}
ul.tabs li a:hover {background-position: -600px -34px; text-decoration:none; background:#cccfd4;}
ul.tabs li.tab-current a {color: #444;
    /* border: medium hidden; */
    background: #dcd3d3;
    border: 1px #ababab solid;
    background-position: -600px -64px;}
ul.tabs li.tab-current a:hover {color: #000;}
div.t2,div.t3,div.t4,div.t5 {display: none;    width: 445px;
    height: 149px;
    margin-left: 5px;
    overflow: scroll;
    padding: 10px 10px 10px 10px!important;
    border: 1px #d0d0d0 solid;
    background: #e4e4e4;
box-sizing: border-box;
text-align: center}
div.t1, div.t2,div.t3,div.t4,div.t5 img {    width: 445px;
    height: 149px;
    margin-left: 5px;
    overflow: scroll;
    padding: 10px 10px 10px 10px!important;
    border: 1px #d0d0d0 solid;
    background: #e4e4e4;
box-sizing: border-box;
text-align: center}
</style>

<!-- Индикатор активности пользователя © Alex_63 -->
<script type="text/javascript">
$('.post-author:not(.online)').addClass('offline');
$('.post-author.online').addClass('onlines');
$('.post').each(function(){
  var PostAuthorLogin = $(this).find('li.pa-author>a').text();
  var activeTime = $(this).find('.pa-online').text().split('Активен')[1];
  var lastactiveTime = $(this).find('.pa-last-visit').text().split('Последний визит:')[1];
  $(this).find('.post-author.onlines').append('<img src="/i/blank.gif" class="indOnline" title="'+PostAuthorLogin+' на форуме'+activeTime+'" />');
  $(this).find('.post-author.offline').append('<img src="/i/blank.gif" class="indOffline" title="Последний визит '+lastactiveTime+' "/>');
});
</script>
<!-- маленько редактуры духа -->

<script>
td#button-smile, #tags #smilies-area { 
  display: none 
}
</script>

<script src="https://forumstatic.ru/files/0017/95/29/40399.js"></script>
<script>
$(document).ready(function() {
  hvStickerPack.init("https://forumstatic.ru/files/001a/e7/5e/13136.txt?v=10");
});
</script>

<script src="https://forumstatic.ru/files/0017/95/29/89289.js"></script>
<script>
hvScriptSet.addMask({
    guestAccess: ['ghost in the shell', 'strange days'],
    forumAccess: {
        'stange days': ['пользователи']
    },
    forumAccessExtended: {
        'strange days': ['принятые'],
        'burning chrome': ['принятые'],
        'the shockwave rider': ['принятые'],
        'hardwired': ['принятые'],
        'days of future past': ['принятые'],
        'ready player one': ['принятые', 'Пользователи'],
        'annihilation': ['принятые'],
        'upgrade': ['принятые'],
        'blade runner': ['принятые']
    },
    changeList: {
        'pafld1': {
            title: 'Принадлежность',
            description: 'prime/nexus district I',
            tag: 'class',
            class: 'pa-fld1',
            defaultCode: '',
            type: 'text'
        },
        'pafld2': {
            title: 'Персонаж',
            description: 'имя фамилия, возраст',
            tag: 'name',
            class: 'pa-fld2',
            defaultCode: 'имя фамилия, возраст оболочки <sup>возраст фактический</sup>',
            type: 'html'
        },
        'pafld3': {
            title: 'Информация',
            description: 'только текст',
            tag: 'info',
            class: 'pa-fld3',
            defaultCode: 'краткая информация о персонаже и по желанию ссылка на пару в формате <b><a href="ссылка на профиль пары">имя</a></b>',
            type: 'html'
        }
    },
    userFields: ['pa-author', 'pa-title', 'pa-avatar', 'pa-fld4', 'pa-fld1', 'pa-fld2', 'pa-fld3', 'pa-online', 'pa-posts', 'pa-respect']
});
</script>

<!-- НАЧАЛО. аватар по умолчанию-->
<script type="text/javascript">
var avalink = "https://forumstatic.ru/files/001b/6f/66/97417.png";
if(document.URL.indexOf("viewtopic.php")!=-1) {
$("div.post-author").each(function(){
    if($(this).find("li.pa-avatar").html() == null ) $(this).find("li.pa-author").after("<li class='pa-avatar item2'><img src='" + avalink + "' title='" + $(this).find("li.pa-author a").text() + "' /></li>");
});
}
</script>
<!-- КОНЕЦ. аватар по умолчанию-->