авркго

Объявление

Информация о пользователе

Привет, Гость! Войдите или зарегистрируйтесь.


Вы здесь » авркго » Тестовый форум » Тестовое сообщение


Тестовое сообщение

Сообщений 1 страница 15 из 15

1

Благодарим за выбор нашего сервиса!

0

2

0

3

0

4

0

5

0

6

0

7

0

8

0

9

0

10

0

11

<!--Спойлер - контейнер-->
<script type="text/javascript">
  $(document).ready(function(){
    $('.splLink').click(function(){
      $(this).parent().children('div.splCont').toggle('normal');
      return false;
    });
  });
</script>

<script>
<!--
indexof="<img src='http://xmages.net/storage/10/1/0/8/0/upload/adbd851b.png' >"
str = document.getElementById("navindex").innerHTML
pos = str.indexOf("Форум")
document.getElementById("navindex").innerHTML=str.substring(0,pos)+indexof+str.substring(pos+5,str.length-1)
-->
</script>

<script>
<!--
userof="<img src='http://xmages.net/storage/10/1/0/8/0/upload/bff3edb9.png' >"
str = document.getElementById("navuserlist").innerHTML
if( (pos=str.indexOf("Участники")) != -1 )
document.getElementById("navuserlist").innerHTML=str.substring(0,pos)+userof+str.substring(pos+9,str.length-1)
-->
</script>

<script>
<!--
findof="<img src='http://xmages.net/storage/10/1/0/8/0/upload/4479de65.png' >"
str = document.getElementById("navsearch").innerHTML
pos = str.indexOf("Поиск")
document.getElementById("navsearch").innerHTML=str.substring(0,pos)+findof+str.substring(pos+5,str.length-1)
-->
</script>

<script>
<!--
faseof="<img src='http://xmages.net/storage/10/1/0/8/0/upload/5ff3fc6c.png' >"
str = document.getElementById("navprofile").innerHTML
pos = str.indexOf("Профиль")
document.getElementById("navprofile").innerHTML=str.substring(0,pos)+faseof+str.substring(pos+14,str.length-1)
-->
</script>

<script><!--Оставляем цифру Новых сообщений. -->
var clr=($("#navpm a").css("color"));var chng="&nbsp;(";
var subs="</span><span style=\"color:"+clr+";\" id=\"news_messag\">(";
$("#navpm a").html($("#navpm a").html().replace(chng,subs));
$("#news_messag").appendTo("#navpm");
var Img_Word=0;   //0-Картинка;1-Cлово /Ставим картинку или Слово ?
navlinks=new Array("navpm","http://xmages.net/storage/10/1/0/4/a/upload/cc21c360.png")
var s,i;for (i=0; i < navlinks.length; i++){s=navlinks[i+1];
if(!Img_Word){s='<img class="navlinks" src="'+s+'" border="0" />'}
$("#"+navlinks[i]+" a").html(s);i++;}
</script>

<script>
<!--
godof="<img src='http://xmages.net/storage/10/1/0/8/0/upload/032b7171.png' >"
str = document.getElementById("navadmin").innerHTML
pos = str.indexOf("Администрирование")
document.getElementById("navadmin").innerHTML=str.substring(0,pos)+godof+str.substring(pos+17,str.length-1)
-->
</script>

<script>
<!--
valiof="<img src='http://xmages.net/storage/10/1/0/8/0/upload/65a5d8c7.png' >"
str = document.getElementById("navlogout").innerHTML
pos = str.indexOf("Выход")
document.getElementById("navlogout").innerHTML=str.substring(0,pos)+valiof+str.substring(pos+5,str.length-1)
-->

</script>

<script>
<!--
vxodiof="<img src='http://xmages.net/storage/10/1/0/8/0/upload/a9a32aa6.png' >"
str = document.getElementById("navlogin").innerHTML
pos = str.indexOf("Войти")
document.getElementById("navlogin").innerHTML=str.substring(0,pos)+vxodiof+str.substring(pos+5,str.length-1)
-->
</script>

<script>
<!--
regof="<img src='http://xmages.net/storage/10/1/0/8/0/upload/c3795b76.png' >"
str = document.getElementById("navregister").innerHTML
pos = str.indexOf("Регистрация")
document.getElementById("navregister").innerHTML=str.substring(0,pos)+regof+str.substring(pos+18,str.length-1)
-->
</script>

<script type="text/javascript">
li=document.getElementsByTagName("li")
f=0
while(li[++f]){
s=li[f].innerHTML
if((p=s.indexOf("Новые сообщения")) != -1) li[f].innerHTML=s.substring(0,p)+"<img src='http://xmages.net/storage/10/1/0/1/e/upload/df6ba8ce.png'>"+s.substring(p+15)
else if((p=s.indexOf("Активные темы")) != -1) li[f].innerHTML=s.substring(0,p)+"<img src='http://xmages.net/storage/10/1/0/1/e/upload/7afb868a.png'>"+s.substring(p+13)
else if((p=s.indexOf("Темы без ответов")) != -1) li[f].innerHTML=s.substring(0,p)+"<img src='http://xmages.net/storage/10/1/0/1/e/upload/34d20ffa.png'>"+s.substring(p+21)
else if((p=s.indexOf("Мои сообщения")) != -1) li[f].innerHTML=s.substring(0,p)+"<img src='http://xmages.net/storage/10/1/0/1/e/upload/9c7dc086.png'>"+s.substring(p+13)
else if((p=s.indexOf("Подписка")) != -1) li[f].innerHTML=s.substring(0,p)+"<img src='http://xmages.net/storage/10/1/0/1/e/upload/d1d10c20.png'>"+s.substring(p+8)
else if((p=s.indexOf("Все прочитано")) != -1) li[f].innerHTML=s.substring(0,p)+"<img src='http://xmages.net/storage/10/1/0/1/e/upload/d4fca4aa.png'>"+s.substring(p+13)
}
</script>

<style>
.punbb table Div.icon {float: left; display: block; width: 60px; height: 60px; border-style: none; background-image: url(http://xmages.net/storage/10/1/0/4/5/up … 819690.png); background-repeat: no-repeat; position: relative; margin-right: 5px;}

TR.inew Div.icon {background: url(http://xmages.net/storage/10/1/0/4/5/up … 882a16.png) no-repeat;}

TR.isticky Div.icon {background: url(http://xmages.net/storage/10/1/0/4/5/up … 8636a5.png) no-repeat;}

TR.iclosed Div.icon {background: url(http://xmages.net/storage/10/1/0/4/5/up … 3169de.png) no-repeat;}
</style>
<style>
#button-spoiler {background-image:url('http://xmages.net/storage/10/1/0/5/c/upload/8aa80b40.png'); padding:0; line-height:0; background-position:center; background-repeat:no-repeat; height:26px; width:100%}
</style>
<script type="text/javascript">
function tag_spoiler(){
var y = prompt("Введите описание закрытой кнопки",'');
if(y!='null' && y!='' && typeof(y)!='object' && typeof(y)!='undefined'){
var x = prompt("Введите описание открытой кнопки",'Закрыть');
if(x=='null' || x=='' || typeof(x)=='object' || typeof(x)=='undefined') bbcode('

+y+

','

'); else bbcode('

+y+'|'+x+

','

');}
else bbcode('

Свернутый текст

','

')
}
function addSpoiler(str,from,internal){
var pos=0,pos2=0,pos_c=0,pos_l=0,newpos=0,string='',close='',open='';
if((pos=str.indexOf("[spoiler",from))==-1) return str;
if((pos2=str.indexOf("[/spoiler]"),pos+9)==-1) return str;
if(((pos_c=str.indexOf("]",pos+8))!=-1) && ((pos_c!=pos+8)&&(pos_c!=pos+9))){
string = str.substring(pos+9,pos_c);
if((pos_l = string.indexOf("|"))!=-1){
close = string.substring(0,pos_l);
open = string.substring(pos_l+1,string.length);
}
else{
close = string;
open = string;
}
}
else{
close = 'Показать спойлер';
open = 'Скрыть спойлер';
}
newpos=str.indexOf("[spoiler",pos+9)
if(newpos<pos2 && newpos!=-1) str=addSpoiler(str,pos+9,true)
if((pos2=str.indexOf("[/spoiler]",pos+9))==-1) return str;
str=str.substring(0,pos)+makeSpoiler(str.substring(pos_c+1,pos2),open,close)+str.substring(pos2+10,str.length)
if( str.indexOf("[spoiler")!=-1 && internal==false) str=addSpoiler(str,0,false)
return str;
}

function makeSpoiler(txt,open,close){
txt='<div class="quote-box" style="padding:0px;background: none; border: 0;"><cite style="width:100%;margin:0;"><input id="'+open+'" class="spoiler-button" style="width:200px;font-size:10px; margin:0; cursor: pointer" type="button" value="'+close+'"></cite><blockquote class="quote-box" style="display:none; width: 94%;border: 1px solid black;margin:0;">'+txt+'</blockquote></div>'
return txt;
}

$(document).ready(function(){
$("div.quote-box > cite > input.spoiler-button").click(function(){
$(this).parents("div.quote-box:first").find("blockquote.quote-box:first").toggle("slow");
var a = $(this).attr('value');$(this).attr('value',$(this).attr('id'));$(this).attr('id',a);
});
});

if((document.URL.indexOf("viewtopic.php")!=-1) || (document.URL.indexOf("post.php")!=-1)){
elm=document.getElementById("pun-main").getElementsByTagName("div")
for(x in elm) if(elm[x].className=="post-content"){
var post=elm[x]
post.innerHTML=addSpoiler(post.innerHTML,0,false)
}
}
if(form=document.getElementById("form-buttons"))
form.getElementsByTagName("tr")[0].insertCell(16).innerHTML="<img  id=\"button-spoiler\" title=\"Спойлер\" onclick=\"tag_spoiler('

Свернутый текст

','

')\" src=\"/i/blank.gif\" />"
</script>
<!--дополнительные цвета-->
<script language="javascript">
$(function(){
$('div#color-area table').append('<td style="background-color: thistle;"><img src="/i/blank.gif" onclick="bbcode(\'\',\'\')"></td><td style="background-color: yellowgreen;"><img src="/i/blank.gif" onclick="bbcode(\'\',\'\')"></td><td style="background-color: lightblue;"><img src="/i/blank.gif" onclick="bbcode(\'\',\'\')"></td><td style="background-color: lightpink;"><img src="/i/blank.gif" onclick="bbcode(\'\',\'\')"></td><td style="background-color: palegoldenrod;"><img src="/i/blank.gif" onclick="bbcode(\'\',\'\')"></td><td style="background-color: steelblue;"><img src="/i/blank.gif" onclick="bbcode(\'\',\'\')"></td><td style="background-color: orange;"><img src="/i/blank.gif" onclick="bbcode(\'\',\'\')"></td><td style="background-color: forestgreen;"><img src="/i/blank.gif" onclick="bbcode(\'\',\'\')"></td><td style="background-color: firebrick;"><img src="/i/blank.gif" onclick="bbcode(\'\',\'\')"></td><td style="background-color: lightsteelblue;"><img src="/i/blank.gif" onclick="bbcode(\'\',\'\')"></td><td style="background-color: sienna;"><img src="/i/blank.gif" onclick="bbcode(\'\',\'\')"></td><td style="background-color: darkseagreen;"><img src="/i/blank.gif" onclick="bbcode(\'\',\'\')"></td><td style="background-color: saddlebrown;"><img src="/i/blank.gif" onclick="bbcode(\'\',\'\')"></td><td style="background-color: mediumpurple;"><img src="/i/blank.gif" onclick="bbcode(\'\',\'\')"></td><td style="background-color: tan;"><img src="/i/blank.gif" onclick="bbcode(\'\',\'\')"></td><td style="background-color: dodgerblue;"><img src="/i/blank.gif" onclick="bbcode(\'\',\'\')"></td>');
});
</script>

<style type="text/css">
#pun-navlinks .container {
text-align: center;
}
</style>
<style type="text/css">
#pun-main .post-author ul  {text-align: center;}
</style> 
<style type="text/css">
.stickytext {display:none}
</style>
<script type="text/javascript">
function select_text(elem) {
if(window.getSelection) {   
var s=window.getSelection();   
if(s.setBaseAndExtent){   
s.setBaseAndExtent(elem,0,elem,elem.innerText.length-1);   
}
else {   
var r=document.createRange();   
r.selectNodeContents(elem);   
s.removeAllRanges();   
s.addRange(r);
}   
}
else if(document.getSelection){   
var s=document.getSelection();   
var r=document.createRange();   
r.selectNodeContents(elem);   
s.removeAllRanges();   
s.addRange(r);   
}
else if(document.selection){   
var r=document.body.createTextRange();   
r.moveToElementText(elem);   
r.select();
}   
}
</script>
<script type="text/javascript">
var div = document.getElementById('pun-main').getElementsByTagName('div');
for(x in div){
if(div[x].className=='code-box'){
div[x].getElementsByTagName('strong')[0].innerHTML = '<a href="#" onclick="select_text(this.parentNode.parentNode.childNodes[1].getElementsByTagName(\'pre\')[0]); return false;">Выделить код</a>';
}
}
</script>

0

12

0

13

0

14

0

15

rthtyh

Код:
dfbdg

0


Вы здесь » авркго » Тестовый форум » Тестовое сообщение