<?xml version="1.0" encoding="windows-1251"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://diznai.mybb.ru/export.php?type=rss" rel="self" type="application/rss+xml" />
		<title>diznai</title>
		<link>http://diznai.mybb.ru/</link>
		<description>diznai</description>
		<language>ru-ru</language>
		<lastBuildDate>Mon, 06 Feb 2012 23:51:30 +0400</lastBuildDate>
		<generator>MyBB/mybb.ru</generator>
		<item>
			<title>кенкенкенке</title>
			<link>http://diznai.mybb.ru/viewtopic.php?pid=8#p8</link>
			<description>&lt;div class=&quot;quote-box spoiler-box&quot;&gt;&lt;div onclick=&quot;$(this).toggleClass(&#039;visible&#039;); $(this).next().toggleClass(&#039;visible&#039;);&quot;&gt;пррр|hhg&lt;/div&gt;&lt;blockquote&gt;&lt;p&gt;ggh&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;div class=&quot;quote-box spoiler-box&quot;&gt;&lt;div onclick=&quot;$(this).toggleClass(&#039;visible&#039;); $(this).next().toggleClass(&#039;visible&#039;);&quot;&gt;Свернутый текст&lt;/div&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;p&gt;&amp;lt;style&amp;gt;&lt;br /&gt;#button-spoiler {background-image:url(&#039;http://upforme.ru/uploads/0000/12/13/488-1.gif&#039;); padding:0; line-height:0; background-position:center; background-repeat:no-repeat; height:26px; width:100%}&lt;br /&gt;&amp;lt;/style&amp;gt;&lt;br /&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;function tag_spoiler(){&lt;br /&gt;	var y = prompt(&amp;quot;Введите описание закрытой кнопки&amp;quot;,&#039;&#039;);&lt;br /&gt;	if(y!=&#039;null&#039; &amp;amp;&amp;amp; y!=&#039;&#039; &amp;amp;&amp;amp; typeof(y)!=&#039;object&#039; &amp;amp;&amp;amp; typeof(y)!=&#039;undefined&#039;){&lt;br /&gt;	var x = prompt(&amp;quot;Введите описание открытой кнопки&amp;quot;,&#039;&#039;);&lt;br /&gt;	if(x==&#039;null&#039; || x==&#039;&#039; || typeof(x)==&#039;object&#039; || typeof(x)==&#039;undefined&#039;) bbcode(&#039;&lt;/p&gt;&lt;div class=&quot;quote-box spoiler-box&quot;&gt;&lt;div onclick=&quot;$(this).toggleClass(&#039;visible&#039;); $(this).next().toggleClass(&#039;visible&#039;);&quot;&gt;+y+&lt;/div&gt;&lt;blockquote&gt;&lt;p&gt;&#039;,&#039;&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;p&gt;&#039;); else bbcode(&#039;&lt;/p&gt;&lt;div class=&quot;quote-box spoiler-box&quot;&gt;&lt;div onclick=&quot;$(this).toggleClass(&#039;visible&#039;); $(this).next().toggleClass(&#039;visible&#039;);&quot;&gt;+y+&#039;|&#039;+x+&lt;/div&gt;&lt;blockquote&gt;&lt;p&gt;&#039;,&#039;&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;p&gt;&#039;);}&lt;br /&gt;	else bbcode(&#039;&lt;/p&gt;&lt;div class=&quot;quote-box spoiler-box&quot;&gt;&lt;div onclick=&quot;$(this).toggleClass(&#039;visible&#039;); $(this).next().toggleClass(&#039;visible&#039;);&quot;&gt;Свернутый текст&lt;/div&gt;&lt;blockquote&gt;&lt;p&gt;&#039;,&#039;&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;p&gt;&#039;)&lt;br /&gt;}&lt;br /&gt;function addSpoiler(str,from,internal){&lt;br /&gt;	var pos=0,pos2=0,pos_c=0,pos_l=0,newpos=0,string=&#039;&#039;,close=&#039;&#039;,open=&#039;&#039;, &lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
						&lt;p&gt;max_length=19;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
						&lt;p&gt;	if((pos=str.indexOf(&amp;quot;[spoiler&amp;quot;,from))==-1) return str;&lt;br /&gt;	if((pos2=str.indexOf(&amp;quot;[/spoiler]&amp;quot;),pos+9)==-1) return str;&lt;br /&gt;	if(((pos_c=str.indexOf(&amp;quot;]&amp;quot;,pos+8))!=-1) &amp;amp;&amp;amp; ((pos_c!=pos+8)&amp;amp;&amp;amp;(pos_c!=pos+9))){&lt;br /&gt;	string = str.substring(pos+9,pos_c);&lt;br /&gt;	if((pos_l = string.indexOf(&amp;quot;|&amp;quot;))!=-1){&lt;br /&gt;close = string.substring(0,pos_l);&lt;br /&gt;open = string.substring(pos_l+1,string.length);&lt;br /&gt;	}&lt;br /&gt;	else{&lt;br /&gt;close = string;&lt;br /&gt;open = string;&lt;br /&gt;	}&lt;br /&gt;	}&lt;br /&gt;	else{&lt;br /&gt;close = &#039;Показать спойлер&#039;;&lt;br /&gt;open = &#039;Скрыть спойлер&#039;;&lt;br /&gt;	}&lt;br /&gt;	open = (open.length &amp;gt; max_length) ? open.substring(0, max_length) : open;&lt;br /&gt;	close = (close.length &amp;gt; max_length) ? close.substring(0, max_length) : close;&lt;br /&gt;	newpos=str.indexOf(&amp;quot;[spoiler&amp;quot;,pos+9)&lt;br /&gt;	if(newpos&amp;lt;pos2 &amp;amp;&amp;amp; newpos!=-1) str=addSpoiler(str,pos+9,true)&lt;br /&gt;	if((pos2=str.indexOf(&amp;quot;[/spoiler]&amp;quot;,pos+9))==-1) return str;&lt;br /&gt;	str=str.substring(0,pos)+makeSpoiler(str.substring(pos_c+1,pos2),open,close)+str.substring(pos2+10,str.length)&lt;br /&gt;	if( str.indexOf(&amp;quot;[spoiler&amp;quot;)!=-1 &amp;amp;&amp;amp; internal==false) str=addSpoiler(str,0,false)&lt;br /&gt;	return str;&lt;br /&gt;}&lt;/p&gt;
						&lt;p&gt;function makeSpoiler(txt,open,close){&lt;br /&gt;	txt=&#039;&amp;lt;div class=&amp;quot;quote-box&amp;quot; style=&amp;quot;padding:1px;background: none; border: 0;&amp;quot;&amp;gt;&amp;lt;cite style=&amp;quot;width:100%;margin:0;&amp;quot;&amp;gt;&amp;lt;input id=&amp;quot;&#039;+open+&#039;&amp;quot; class=&amp;quot;spoiler-button&amp;quot; style=&amp;quot;width:140px;font-size:10px; margin:0;&amp;quot; type=&amp;quot;button&amp;quot; value=&amp;quot;&#039;+close+&#039;&amp;quot;&amp;gt;&amp;lt;/cite&amp;gt;&amp;lt;blockquote class=&amp;quot;quote-box&amp;quot; style=&amp;quot;display:none; width: 80%;border: 1px solid black;margin:0;&amp;quot;&amp;gt;&#039;+txt+&#039;&amp;lt;/blockquote&amp;gt;&amp;lt;/div&amp;gt;&#039;&lt;br /&gt;	return txt;&lt;br /&gt;}&lt;/p&gt;
						&lt;p&gt;$(document).ready(function(){&lt;br /&gt;	$(&amp;quot;div.quote-box &amp;gt; cite &amp;gt; input.spoiler-button&amp;quot;).click(function(){&lt;br /&gt;$(this).parents(&amp;quot;div.quote-box:first&amp;quot;).find(&amp;quot;blockquote.quote-box:first&amp;quot;).toggle(&amp;quot;slow&amp;quot;);&lt;br /&gt;var a = $(this).attr(&#039;value&#039;);$(this).attr(&#039;value&#039;,$(this).attr(&#039;id&#039;));$(this).attr(&#039;id&#039;,a);&lt;br /&gt;	});&lt;br /&gt;});&lt;/p&gt;
						&lt;p&gt;if((document.URL.indexOf(&amp;quot;viewtopic.php&amp;quot;)!=-1) || (document.URL.indexOf(&amp;quot;post.php&amp;quot;)!=-1)){&lt;br /&gt;	elm=document.getElementById(&amp;quot;pun-main&amp;quot;).getElementsByTagName(&amp;quot;div&amp;quot;)&lt;br /&gt;	for(x in elm) if(elm[x].className==&amp;quot;post-content&amp;quot;){&lt;br /&gt;var post=elm[x]&lt;br /&gt;post.innerHTML=addSpoiler(post.innerHTML,0,false)&lt;br /&gt;	}&lt;br /&gt;}&lt;br /&gt;if(form=document.getElementById(&amp;quot;form-buttons&amp;quot;))&lt;br /&gt;	form.getElementsByTagName(&amp;quot;tr&amp;quot;)[0].insertCell(16).innerHTML=&amp;quot;&amp;lt;img&amp;#160; id=\&amp;quot;button-spoiler\&amp;quot; title=\&amp;quot;Спойлер\&amp;quot; onclick=\&amp;quot;tag_spoiler(&#039;&lt;/p&gt;&lt;div class=&quot;quote-box spoiler-box&quot;&gt;&lt;div onclick=&quot;$(this).toggleClass(&#039;visible&#039;); $(this).next().toggleClass(&#039;visible&#039;);&quot;&gt;Свернутый текст&lt;/div&gt;&lt;blockquote&gt;&lt;p&gt;&#039;,&#039;&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;p&gt;&#039;)\&amp;quot; src=\&amp;quot;/i/blank.gif\&amp;quot; /&amp;gt;&amp;quot;&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;/p&gt;</description>
			<author>mybb@mybb.ru (Дарина)</author>
			<pubDate>Mon, 06 Feb 2012 23:51:30 +0400</pubDate>
			<guid>http://diznai.mybb.ru/viewtopic.php?pid=8#p8</guid>
		</item>
		<item>
			<title>Тестовое сообщение</title>
			<link>http://diznai.mybb.ru/viewtopic.php?pid=4#p4</link>
			<description>&lt;p&gt;бум бум бум&lt;/p&gt;</description>
			<author>mybb@mybb.ru (Дарина)</author>
			<pubDate>Sun, 17 Oct 2010 13:02:03 +0400</pubDate>
			<guid>http://diznai.mybb.ru/viewtopic.php?pid=4#p4</guid>
		</item>
	</channel>
</rss>
