<?xml version="1.0" encoding="windows-1251"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dclubtest.mybb.ru/export.php?type=rss" rel="self" type="application/rss+xml" />
		<title>Тестовик ДК</title>
		<link>http://dclubtest.mybb.ru/</link>
		<description>Тестовик ДК</description>
		<language>ru-ru</language>
		<lastBuildDate>Tue, 27 Sep 2016 21:58:34 +0300</lastBuildDate>
		<generator>MyBB/mybb.ru</generator>
		<item>
			<title>_user_respect</title>
			<link>http://dclubtest.mybb.ru/viewtopic.php?pid=157#p157</link>
			<description>&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;color: transparent&quot;&gt;|__p155__Meinu__&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;a href=&quot;http://dclubtest.mybb.ru/viewtopic.php?pid=155#p155&quot;&gt;проверка репутации&lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;code-box&quot;&gt;&lt;strong class=&quot;legend&quot;&gt;Код:&lt;/strong&gt;&lt;div class=&quot;blockcode&quot;&gt;&lt;div class=&quot;scrollbox&quot; style=&quot;height: 4.5em&quot;&gt;&lt;pre&gt;пурпур&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
			<author>mybb@mybb.ru (Meinu)</author>
			<pubDate>Tue, 27 Sep 2016 21:58:34 +0300</pubDate>
			<guid>http://dclubtest.mybb.ru/viewtopic.php?pid=157#p157</guid>
		</item>
		<item>
			<title>проверка репутации</title>
			<link>http://dclubtest.mybb.ru/viewtopic.php?pid=155#p155</link>
			<description>&lt;p&gt;пр пгор лоуыкерк&amp;#160; ырне&lt;/p&gt;</description>
			<author>mybb@mybb.ru (mr. Hale)</author>
			<pubDate>Tue, 27 Sep 2016 18:19:11 +0300</pubDate>
			<guid>http://dclubtest.mybb.ru/viewtopic.php?pid=155#p155</guid>
		</item>
		<item>
			<title>неработающие с репой скрипты</title>
			<link>http://dclubtest.mybb.ru/viewtopic.php?pid=145#p145</link>
			<description>&lt;p&gt;&lt;span style=&quot;color: green&quot;&gt;да&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;code-box&quot;&gt;&lt;strong class=&quot;legend&quot;&gt;Код:&lt;/strong&gt;&lt;div class=&quot;blockcode&quot;&gt;&lt;div class=&quot;scrollbox&quot; style=&quot;height: 35em&quot;&gt;&lt;pre&gt;&amp;lt;input type=&amp;quot;button&amp;quot; onclick=&amp;quot;dice()&amp;quot; value=&amp;quot;Кинуть кубики&amp;quot; /&amp;gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;
function dice()
{
var FoundErrors = &#039;&#039;;
var diceRes=&amp;quot;&amp;quot;
var CountCube = prompt(&amp;quot;Количество кубиков&amp;quot;, &amp;quot;3&amp;quot;);
var SideCube = prompt(&amp;quot;Сколько граней у кубика?&amp;quot;, &amp;quot;6&amp;quot;);
if(CountCube&amp;gt;9){
alert(&amp;quot;Нельзя бросать столько кубиков&amp;quot;); 
return false;}
if(SideCube&amp;gt;9){
alert(&amp;quot;Не бывает таких кубиков&amp;quot;); 
return false;}
if (!CountCube)
{return false;}
if (!SideCube)
{return false;}
for(i=0; i&amp;lt;CountCube;i++){
var dice = (Math.round(Math.random()*SideCube))
if(dice==0) dice=1;
diceRes += dice*1936+&amp;quot;-&amp;quot;
}
smile(&#039;[dice=&#039;+diceRes+CountCube+SideCube+&#039;]&#039;)
}
&amp;lt;/script&amp;gt;
&amp;lt;script&amp;gt;
function addDice(str,from,internal){
var pos=0,pos2=0,newpos=0
if((pos=str.indexOf(&amp;quot;[dice=&amp;quot;,from))==-1) return str;
if((pos2=str.indexOf(&amp;quot;]&amp;quot;),pos+6)==-1) return str;
newpos=str.indexOf(&amp;quot;]&amp;quot;,pos+6)
if(newpos&amp;lt;pos2 &amp;amp;&amp;amp; newpos!=-1) str=addDice(str,pos+6,true)
if((pos2=str.indexOf(&amp;quot;]&amp;quot;,pos+6))==-1) return str;
str=str.substring(0,pos)+makeDice(str.substring(pos+6,pos2))+str.substring(pos2+1,str.length)
if( str.indexOf(&amp;quot;[dice=&amp;quot;)!=-1 &amp;amp;&amp;amp; internal==false) str=addDice(str,0,false)
return str}
function makeDice(dice){
diceMass = dice.split(&amp;quot;-&amp;quot;)
diceC = dice.substring(dice.length-2, dice.length-1)
diceS = dice.substring(dice.length-1, dice.length)
var diceR=0, diceRu=&amp;quot;&amp;quot;;
for(i=0;i&amp;lt;diceMass.length-1;i++){diceR+=diceMass[i]/1936;}
for(i=0;i&amp;lt;diceMass.length-1;i++){if(diceMass[i]==diceMass[diceMass.length-2]){diceRu+=diceMass[i]/1936;}else{diceRu+=parseInt(diceMass[i]/1936)+&amp;quot;+&amp;quot;;}}
txt=&amp;quot;&amp;lt;div class=\&amp;quot;quote-box\&amp;quot;&amp;gt;&amp;lt;blockquote&amp;gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Количество кубиков&amp;lt;/b&amp;gt;: &amp;quot;+diceC+&amp;quot;&amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Граней в кубике&amp;lt;/b&amp;gt;: &amp;quot;+diceS+&amp;quot;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;b&amp;gt;Результаты броска&amp;lt;/b&amp;gt;: (&amp;quot;+diceRu+&amp;quot;)=&amp;quot;+diceR+&amp;quot;&amp;lt;/p&amp;gt;&amp;lt;/blockquote&amp;gt;&amp;lt;/div&amp;gt;&amp;quot;
return txt}
if(document.URL.indexOf(&amp;quot;viewtopic.php&amp;quot;)!=-1){
elm=document.getElementById(&amp;quot;pun-main&amp;quot;).getElementsByTagName(&amp;quot;div&amp;quot;)
for(x in elm) if(elm[x].className==&amp;quot;post-content&amp;quot;){
var post=elm[x]
post.innerHTML=addDice(post.innerHTML,0,false)}}
&amp;lt;/script&amp;gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</description>
			<author>mybb@mybb.ru (mr. Hale)</author>
			<pubDate>Fri, 23 Sep 2016 15:56:21 +0300</pubDate>
			<guid>http://dclubtest.mybb.ru/viewtopic.php?pid=145#p145</guid>
		</item>
		<item>
			<title>Тестовое сообщение</title>
			<link>http://dclubtest.mybb.ru/viewtopic.php?pid=135#p135</link>
			<description>&lt;p&gt;варчартап&lt;/p&gt;</description>
			<author>mybb@mybb.ru (mr. Hale)</author>
			<pubDate>Fri, 23 Sep 2016 02:51:01 +0300</pubDate>
			<guid>http://dclubtest.mybb.ru/viewtopic.php?pid=135#p135</guid>
		</item>
		<item>
			<title>чаьб</title>
			<link>http://dclubtest.mybb.ru/viewtopic.php?pid=50#p50</link>
			<description>&lt;p&gt;абсурдопедия&lt;/p&gt;</description>
			<author>mybb@mybb.ru (mr. Hale)</author>
			<pubDate>Sun, 11 Sep 2016 17:50:05 +0300</pubDate>
			<guid>http://dclubtest.mybb.ru/viewtopic.php?pid=50#p50</guid>
		</item>
		<item>
			<title>к</title>
			<link>http://dclubtest.mybb.ru/viewtopic.php?pid=47#p47</link>
			<description>&lt;p&gt;плосконогостопие&lt;/p&gt;</description>
			<author>mybb@mybb.ru (mr. Hale)</author>
			<pubDate>Sun, 11 Sep 2016 03:31:21 +0300</pubDate>
			<guid>http://dclubtest.mybb.ru/viewtopic.php?pid=47#p47</guid>
		</item>
		<item>
			<title>у</title>
			<link>http://dclubtest.mybb.ru/viewtopic.php?pid=5#p5</link>
			<description>&lt;p&gt;хм&lt;/p&gt;</description>
			<author>mybb@mybb.ru (Meinu)</author>
			<pubDate>Fri, 09 Sep 2016 22:14:38 +0300</pubDate>
			<guid>http://dclubtest.mybb.ru/viewtopic.php?pid=5#p5</guid>
		</item>
	</channel>
</rss>
