<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[تالار میدوری - آموزش های گوناگون]]></title>
		<link>http://www.midorinco.ir/</link>
		<description><![CDATA[تالار میدوری - http://www.midorinco.ir]]></description>
		<pubDate>Sat, 07 Mar 2026 15:39:45 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[نوفالو کردن لینک های خروجی]]></title>
			<link>http://www.midorinco.ir/showthread.php?tid=1737</link>
			<pubDate>Tue, 07 Sep 2021 13:26:01 +0000</pubDate>
			<guid isPermaLink="false">http://www.midorinco.ir/showthread.php?tid=1737</guid>
			<description><![CDATA[سلام<br />
چه ما	ی کدی برای نوفالو کردن لینک های خروجی برای مای بی بی هست؟]]></description>
			<content:encoded><![CDATA[سلام<br />
چه ما	ی کدی برای نوفالو کردن لینک های خروجی برای مای بی بی هست؟]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[آموزش کشویی کردن انجمن ها]]></title>
			<link>http://www.midorinco.ir/showthread.php?tid=1701</link>
			<pubDate>Tue, 27 Dec 2016 21:21:51 +0000</pubDate>
			<guid isPermaLink="false">http://www.midorinco.ir/showthread.php?tid=1701</guid>
			<description><![CDATA[<div style="text-align: CENTER;"><span style="text-shadow: 0px 5px 2px gray;"><span style="font-size: medium;"><span style="color: #FF4500;"><span style="font-weight: bold;">آموزش کشویی کردن انجمن ها</span></span></span></span><br />
<div style="text-align: RIGHT;">برای کم کردن درازای انجمن مای بی بی بویژه انجمن هایی با فعالیت بالا و زیر مجموعه های زیاد میتوانید از راه کار کشویی کردن استفاده کنید . نمونه ی زنده را در صفحه ی نخست <a href="http://www.midorinco.ir/index.php" title="تالار میدوری" >تالار</a> میدوری میتوانید ببینید و یا در صورت تغییر که ممکن است بعدها داده شود و قابل مشاهده نباشد از مدل فعلی فیلمی تهیه کردم که در زیر میتوانید ببینید. این راهکار در همه ی نگارش های مای بی بی اجرا میشود.<br />
<br />
<div style="text-align: CENTER;"><video width="90%" height="auto" controls poster="http://dl.midorinco.ir/picts/02/BirangS.png"><br />
  <source src="http://dl.midorinco.ir/video/01/final.mp4" type="video/mp4"><br />
  <source src="http://dl.midorinco.ir/video/01/final.mp4" type="video/ogg"><br />
  Your browser does not support the video tag.<br />
</video></div>اگر علاقه مند شدید مراحل زیر را به دقت انجام دهید.<br />
<span style="font-weight: bold;">گام نخست:</span> به مسیر زیر بروید<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; Forum Bit Templates &gt; بخش forumbit_depth1_cat<br />
و کدهای زیر را در بخش مربوطه وارد کنید به نحوه ی وارد کردن توجه داشته باشید .<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_1_29" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_1_29").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_symbol">&lt;</span>div id<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">cat_<span class="php_string_code">{<span class="php_string_var">$forum</span>['fid']}</span></span>&quot;</span> <span class="php_keyword"><span class="php_keyword">class</span></span> <span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">content</span>&quot;</span><span class="php_symbol">&gt;</span>
کدهای بالا را در بالای صفحه و در اینجا محتویات صفحه را قراردهید و در پایان هم کد زیر را بگذارید<span class="php_symbol">.</span>
<span class="php_symbol">&lt;</span>/div<span class="php_symbol">&gt;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<span style="font-weight: bold;">گام دوم:</span> به مسیر زیر بروید<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; Index Page Templates &gt; بخش index<br />
<br />
و متغیر {&#36;forum} را پیدا کرده و کدهای زیر را در بالای آن اضافه کنید<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_2_40" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_2_40").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_symbol">&lt;</span>script type<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">text/javascript</span>&quot;</span> src<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">jscripts/jquery-1.3.2.min.js</span>&quot;</span><span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/script<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>script type<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">text/javascript</span>&quot;</span><span class="php_symbol">&gt;</span>$<span class="php_symbol">.</span>noConflict<span class="php_symbol">(</span><span class="php_symbol">)</span><span class="php_symbol">;</span><span class="php_symbol">&lt;</span>/script<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>script type<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">text/javascript</span>&quot;</span><span class="php_symbol">&gt;</span>
jQuery<span class="php_symbol">(</span>document<span class="php_symbol">)</span><span class="php_symbol">.</span>ready<span class="php_symbol">(</span><span class="php_keyword">function</span><span class="php_symbol">(</span>$<span class="php_symbol">)</span><span class="php_symbol">{</span>
$<span class="php_symbol">(</span><span class="php_string">'.tab'</span><span class="php_symbol">)</span><span class="php_symbol">.</span>click<span class="php_symbol">(</span><span class="php_keyword">function</span><span class="php_symbol">(</span><span class="php_symbol">)</span><span class="php_symbol">{</span>
$<span class="php_symbol">(</span><span class="php_string">'.at'</span><span class="php_symbol">)</span><span class="php_symbol">.</span>removeClass<span class="php_symbol">(</span><span class="php_string">'at'</span><span class="php_symbol">)</span><span class="php_symbol">;</span>
$<span class="php_symbol">(</span>this<span class="php_symbol">)</span><span class="php_symbol">.</span>addClass<span class="php_symbol">(</span><span class="php_string">'at'</span><span class="php_symbol">)</span><span class="php_symbol">;</span>
$<span class="php_symbol">(</span><span class="php_string">'.content'</span><span class="php_symbol">)</span><span class="php_symbol">.</span>slideUp<span class="php_symbol">(</span><span class="php_symbol">)</span><span class="php_symbol">;</span>
<span class="php_keyword">var</span> catshow <span class="php_symbol">=</span> $<span class="php_symbol">(</span>this<span class="php_symbol">)</span><span class="php_symbol">.</span>attr<span class="php_symbol">(</span><span class="php_string">'rel'</span><span class="php_symbol">)</span><span class="php_symbol">;</span>
$<span class="php_symbol">(</span><span class="php_string">'#'</span><span class="php_symbol">+</span> catshow<span class="php_symbol">)</span><span class="php_symbol">.</span>slideDown<span class="php_symbol">(</span><span class="php_symbol">)</span><span class="php_symbol">;</span><span class="php_symbol">}</span><span class="php_symbol">)</span><span class="php_symbol">;</span><span class="php_symbol">}</span><span class="php_symbol">)</span><span class="php_symbol">;</span>
<span class="php_symbol">&lt;</span>/script<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>table border<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">0</span>&quot;</span> width<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">100%</span>&quot;</span> <span class="php_keyword"><span class="php_keyword">class</span></span> <span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">tborder</span>&quot;</span> cellpadding<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">4</span>&quot;</span> cellspacing<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">0</span>&quot;</span> style<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">margin-bottom: 3px;</span>&quot;</span><span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>tr align<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">center</span>&quot;</span><span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>td <span class="php_keyword"><span class="php_keyword">class</span></span> <span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">tcat at tab</span>&quot;</span> title<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">Category 1</span>&quot;</span> style<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">cursor: pointer;</span>&quot;</span> rel<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">cat_1</span>&quot;</span><span class="php_symbol">&gt;</span>Category <span class="php_number">1</span><span class="php_symbol">&lt;</span>/td<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>td <span class="php_keyword"><span class="php_keyword">class</span></span> <span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">tcat tab</span>&quot;</span> title<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">Category 4 &amp;amp; 6</span>&quot;</span> style<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">cursor: pointer;</span>&quot;</span> rel<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">cat_4, #cat_6</span>&quot;</span><span class="php_symbol">&gt;</span>Category <span class="php_number">4</span> <span class="php_symbol">&amp;</span>amp<span class="php_symbol">;</span> <span class="php_number">6</span><span class="php_symbol">&lt;</span>/td<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>td <span class="php_keyword"><span class="php_keyword">class</span></span> <span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">tcat tab</span>&quot;</span> title<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">Category 9</span>&quot;</span> style<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">cursor: pointer;</span>&quot;</span> rel<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">cat_9, #cat_11</span>&quot;</span><span class="php_symbol">&gt;</span>Category <span class="php_number">9</span><span class="php_symbol">&lt;</span>/td<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>/tr<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>/table<span class="php_symbol">&gt;</span></code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<fieldset style="background:#efefef url(images/post-deco/note.png) top left 0% no-repeat;width:90%;background-color:#D4D4FF;border-left:2px solid #878787;border-right:2px solid #878787;border-top:2px solid #878787;border-bottom:2px solid #878787;margin:0 auto 4px;padding:3px 15px 3px 40px;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><blink><strong>یادداشت</strong></blink></legend><br/><font color="darkred" size="3"><strong>متن پیام : </strong><br /></font><font color="black"> <br />
توجه کنید که متغیر های "cat_1", "cat_4", "cat_6", "cat_9", "cat_11" مربوط به انجمن های شما هستند و باید عددهای مربوط به انجمن خودتان را وارد کنید و دیگر اینکه وقتی میخواهید دو یا چند انجمن در یک کشو باشند باید طبق فرمول بالا اقدام کنید در غیر اینصورت در هر خط از یک متغیر استفاده کنید . برای نمونه : rel="cat_27, #cat_27" <br />
</font><br /><br /></fieldset><br />
<br />
<span style="font-weight: bold;">گام سوم:</span> به مسیر زیر بروید<br />
<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; پوسته مورد نظر &gt; global.css  <br />
 <br />
و کدهای زیر را در انتهای صفحه وارد کنید . توجه داشته باشید که این کار برای نمایش کشوهاست و زیبا سازی مورد نظر خودتان را باید در اینجا انجام دهید تا به فرم مورد نظرتان برسید.<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_3_44" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_3_44").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>.at {
    background: #026CB1 url(images/thead_bg.gif) top left repeat-x;
    color: #ffffff;
}

#cat_1{
display: none;
}

#cat_6{
display: none;
}

#cat_9{
display: none;
}

#cat_11{
display: none;
}</code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
 <br />
</div></div></div></div>
<br />
<span style="font-weight: bold;">گام چهارم:</span> فایل jquery-1.3.2.min.js را بطور معمول باید داشته باشید اگر نبود از فایل فشرده استفاده کنید و در محل مناسب <a href="http://www.midorinco.ir/index.php" title="آپلود" >آپلود</a> و آدرس دهی کنید .<br />
در کدهای بالا شماره های انجمن های خودتان را باید وارد کنید .<br />
<span style="font-weight: bold;">کارتمام است</span> امید که بکار بیاید.<br />
<br />
<!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			jquery-1.3.2.min.rar</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2773">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/rar.gif" border="0" alt=".rar" title=".rar" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">18.84 KB</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">416 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1765169406</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --><br />
<br />
منبع: <a href="https://community.mybb.com/thread-62039.html" target="_blank" rel="nofollow">https://community.mybb.com/thread-62039.html</a></div></div>]]></description>
			<content:encoded><![CDATA[<div style="text-align: CENTER;"><span style="text-shadow: 0px 5px 2px gray;"><span style="font-size: medium;"><span style="color: #FF4500;"><span style="font-weight: bold;">آموزش کشویی کردن انجمن ها</span></span></span></span><br />
<div style="text-align: RIGHT;">برای کم کردن درازای انجمن مای بی بی بویژه انجمن هایی با فعالیت بالا و زیر مجموعه های زیاد میتوانید از راه کار کشویی کردن استفاده کنید . نمونه ی زنده را در صفحه ی نخست <a href="http://www.midorinco.ir/index.php" title="تالار میدوری" >تالار</a> میدوری میتوانید ببینید و یا در صورت تغییر که ممکن است بعدها داده شود و قابل مشاهده نباشد از مدل فعلی فیلمی تهیه کردم که در زیر میتوانید ببینید. این راهکار در همه ی نگارش های مای بی بی اجرا میشود.<br />
<br />
<div style="text-align: CENTER;"><video width="90%" height="auto" controls poster="http://dl.midorinco.ir/picts/02/BirangS.png"><br />
  <source src="http://dl.midorinco.ir/video/01/final.mp4" type="video/mp4"><br />
  <source src="http://dl.midorinco.ir/video/01/final.mp4" type="video/ogg"><br />
  Your browser does not support the video tag.<br />
</video></div>اگر علاقه مند شدید مراحل زیر را به دقت انجام دهید.<br />
<span style="font-weight: bold;">گام نخست:</span> به مسیر زیر بروید<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; Forum Bit Templates &gt; بخش forumbit_depth1_cat<br />
و کدهای زیر را در بخش مربوطه وارد کنید به نحوه ی وارد کردن توجه داشته باشید .<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_1_29" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_1_29").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_symbol">&lt;</span>div id<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">cat_<span class="php_string_code">{<span class="php_string_var">$forum</span>['fid']}</span></span>&quot;</span> <span class="php_keyword"><span class="php_keyword">class</span></span> <span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">content</span>&quot;</span><span class="php_symbol">&gt;</span>
کدهای بالا را در بالای صفحه و در اینجا محتویات صفحه را قراردهید و در پایان هم کد زیر را بگذارید<span class="php_symbol">.</span>
<span class="php_symbol">&lt;</span>/div<span class="php_symbol">&gt;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<span style="font-weight: bold;">گام دوم:</span> به مسیر زیر بروید<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; Index Page Templates &gt; بخش index<br />
<br />
و متغیر {&#36;forum} را پیدا کرده و کدهای زیر را در بالای آن اضافه کنید<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_2_40" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_2_40").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_symbol">&lt;</span>script type<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">text/javascript</span>&quot;</span> src<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">jscripts/jquery-1.3.2.min.js</span>&quot;</span><span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/script<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>script type<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">text/javascript</span>&quot;</span><span class="php_symbol">&gt;</span>$<span class="php_symbol">.</span>noConflict<span class="php_symbol">(</span><span class="php_symbol">)</span><span class="php_symbol">;</span><span class="php_symbol">&lt;</span>/script<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>script type<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">text/javascript</span>&quot;</span><span class="php_symbol">&gt;</span>
jQuery<span class="php_symbol">(</span>document<span class="php_symbol">)</span><span class="php_symbol">.</span>ready<span class="php_symbol">(</span><span class="php_keyword">function</span><span class="php_symbol">(</span>$<span class="php_symbol">)</span><span class="php_symbol">{</span>
$<span class="php_symbol">(</span><span class="php_string">'.tab'</span><span class="php_symbol">)</span><span class="php_symbol">.</span>click<span class="php_symbol">(</span><span class="php_keyword">function</span><span class="php_symbol">(</span><span class="php_symbol">)</span><span class="php_symbol">{</span>
$<span class="php_symbol">(</span><span class="php_string">'.at'</span><span class="php_symbol">)</span><span class="php_symbol">.</span>removeClass<span class="php_symbol">(</span><span class="php_string">'at'</span><span class="php_symbol">)</span><span class="php_symbol">;</span>
$<span class="php_symbol">(</span>this<span class="php_symbol">)</span><span class="php_symbol">.</span>addClass<span class="php_symbol">(</span><span class="php_string">'at'</span><span class="php_symbol">)</span><span class="php_symbol">;</span>
$<span class="php_symbol">(</span><span class="php_string">'.content'</span><span class="php_symbol">)</span><span class="php_symbol">.</span>slideUp<span class="php_symbol">(</span><span class="php_symbol">)</span><span class="php_symbol">;</span>
<span class="php_keyword">var</span> catshow <span class="php_symbol">=</span> $<span class="php_symbol">(</span>this<span class="php_symbol">)</span><span class="php_symbol">.</span>attr<span class="php_symbol">(</span><span class="php_string">'rel'</span><span class="php_symbol">)</span><span class="php_symbol">;</span>
$<span class="php_symbol">(</span><span class="php_string">'#'</span><span class="php_symbol">+</span> catshow<span class="php_symbol">)</span><span class="php_symbol">.</span>slideDown<span class="php_symbol">(</span><span class="php_symbol">)</span><span class="php_symbol">;</span><span class="php_symbol">}</span><span class="php_symbol">)</span><span class="php_symbol">;</span><span class="php_symbol">}</span><span class="php_symbol">)</span><span class="php_symbol">;</span>
<span class="php_symbol">&lt;</span>/script<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>table border<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">0</span>&quot;</span> width<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">100%</span>&quot;</span> <span class="php_keyword"><span class="php_keyword">class</span></span> <span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">tborder</span>&quot;</span> cellpadding<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">4</span>&quot;</span> cellspacing<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">0</span>&quot;</span> style<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">margin-bottom: 3px;</span>&quot;</span><span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>tr align<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">center</span>&quot;</span><span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>td <span class="php_keyword"><span class="php_keyword">class</span></span> <span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">tcat at tab</span>&quot;</span> title<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">Category 1</span>&quot;</span> style<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">cursor: pointer;</span>&quot;</span> rel<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">cat_1</span>&quot;</span><span class="php_symbol">&gt;</span>Category <span class="php_number">1</span><span class="php_symbol">&lt;</span>/td<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>td <span class="php_keyword"><span class="php_keyword">class</span></span> <span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">tcat tab</span>&quot;</span> title<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">Category 4 &amp;amp; 6</span>&quot;</span> style<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">cursor: pointer;</span>&quot;</span> rel<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">cat_4, #cat_6</span>&quot;</span><span class="php_symbol">&gt;</span>Category <span class="php_number">4</span> <span class="php_symbol">&amp;</span>amp<span class="php_symbol">;</span> <span class="php_number">6</span><span class="php_symbol">&lt;</span>/td<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>td <span class="php_keyword"><span class="php_keyword">class</span></span> <span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">tcat tab</span>&quot;</span> title<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">Category 9</span>&quot;</span> style<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">cursor: pointer;</span>&quot;</span> rel<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">cat_9, #cat_11</span>&quot;</span><span class="php_symbol">&gt;</span>Category <span class="php_number">9</span><span class="php_symbol">&lt;</span>/td<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>/tr<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>/table<span class="php_symbol">&gt;</span></code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<fieldset style="background:#efefef url(images/post-deco/note.png) top left 0% no-repeat;width:90%;background-color:#D4D4FF;border-left:2px solid #878787;border-right:2px solid #878787;border-top:2px solid #878787;border-bottom:2px solid #878787;margin:0 auto 4px;padding:3px 15px 3px 40px;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><blink><strong>یادداشت</strong></blink></legend><br/><font color="darkred" size="3"><strong>متن پیام : </strong><br /></font><font color="black"> <br />
توجه کنید که متغیر های "cat_1", "cat_4", "cat_6", "cat_9", "cat_11" مربوط به انجمن های شما هستند و باید عددهای مربوط به انجمن خودتان را وارد کنید و دیگر اینکه وقتی میخواهید دو یا چند انجمن در یک کشو باشند باید طبق فرمول بالا اقدام کنید در غیر اینصورت در هر خط از یک متغیر استفاده کنید . برای نمونه : rel="cat_27, #cat_27" <br />
</font><br /><br /></fieldset><br />
<br />
<span style="font-weight: bold;">گام سوم:</span> به مسیر زیر بروید<br />
<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; پوسته مورد نظر &gt; global.css  <br />
 <br />
و کدهای زیر را در انتهای صفحه وارد کنید . توجه داشته باشید که این کار برای نمایش کشوهاست و زیبا سازی مورد نظر خودتان را باید در اینجا انجام دهید تا به فرم مورد نظرتان برسید.<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_3_44" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_3_44").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>.at {
    background: #026CB1 url(images/thead_bg.gif) top left repeat-x;
    color: #ffffff;
}

#cat_1{
display: none;
}

#cat_6{
display: none;
}

#cat_9{
display: none;
}

#cat_11{
display: none;
}</code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
 <br />
</div></div></div></div>
<br />
<span style="font-weight: bold;">گام چهارم:</span> فایل jquery-1.3.2.min.js را بطور معمول باید داشته باشید اگر نبود از فایل فشرده استفاده کنید و در محل مناسب <a href="http://www.midorinco.ir/index.php" title="آپلود" >آپلود</a> و آدرس دهی کنید .<br />
در کدهای بالا شماره های انجمن های خودتان را باید وارد کنید .<br />
<span style="font-weight: bold;">کارتمام است</span> امید که بکار بیاید.<br />
<br />
<!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			jquery-1.3.2.min.rar</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2773">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/rar.gif" border="0" alt=".rar" title=".rar" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">18.84 KB</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">416 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1765169406</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --><br />
<br />
منبع: <a href="https://community.mybb.com/thread-62039.html" target="_blank" rel="nofollow">https://community.mybb.com/thread-62039.html</a></div></div>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[1.8] اضافه کردن ساید بار به انجمن ساز مای بی بی]]></title>
			<link>http://www.midorinco.ir/showthread.php?tid=1674</link>
			<pubDate>Sun, 29 May 2016 16:14:04 +0000</pubDate>
			<guid isPermaLink="false">http://www.midorinco.ir/showthread.php?tid=1674</guid>
			<description><![CDATA[<div style="text-align: CENTER;"><span style="text-shadow: 0px 5px 2px gray;"><span style="color: #4682B4;"><span style="font-size: medium;"><span style="font-weight: bold;">اضافه کردن ساید بار به انجمن ساز مای بی بی</span></span></span></span><br />
<div style="text-align: RIGHT;">برای اضافه کردن ساید بار به انجمن ساز مای بی بی نگارش 1.8 راهکاری قرار میدهم که امیدوارم مورد استفاده قرار گیرد . ساید بار را میتوانید در دو جهت , چپ یا راست قرار دهید که هر دو مورد را آموزش میدهم . <br />
<span style="font-weight: bold;">گام نخست :</span> به مسیر زیر بروید و کدهای موجود در آن را پاک کنید (درصورتی که تغییراتی در این بخش داده اید , فقط کدهای لازم در این آموزش را قرار دهید) <br />
<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; Index template &gt; بخش Index<br />
<br />
و کدهای زیر را جایگزین کنید. این مرحله برای اجرای ساید بار در سمت راست است .<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_4_13" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_4_13").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="xml_tag">&lt;html&gt;</span>
<span class="xml_tag">&lt;head&gt;</span>
<span class="xml_tag">&lt;title&gt;</span>{$mybb-&gt;settings['bbname']}<span class="xml_tag">&lt;/title&gt;</span>
{$headerinclude}
<span class="xml_tag">&lt;script</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;text/javascript&quot;</span><span class="xml_tag">&gt;</span><span class="html_script">
<span class="xml_comment">&lt;!--</span>
    lang.no_new_posts <span class="c_symbol">=</span> <span class="c_string">&quot;{$lang-&gt;no_new_posts}&quot;</span><span class="c_symbol">;</span>
    lang.click_mark_read <span class="c_symbol">=</span> <span class="c_string">&quot;{$lang-&gt;click_mark_read}&quot;</span><span class="c_symbol">;</span>
<span class="c_linecomment">// </span><span class="xml_comment">--&gt;</span>
</span><span class="xml_tag">&lt;/script&gt;</span>
<span class="xml_tag">&lt;/head&gt;</span>
<span class="xml_tag">&lt;body&gt;</span>
{$header}
<span class="xml_tag">&lt;a</span> <span class="xml_attrib">class</span> =&quot;buttons&quot; title=&quot;بستن سایدبار&quot; style=&quot;float: right;margin:10px -28px 0px 0px;&quot;&gt;<span class="xml_tag">&lt;img</span> <span class="xml_attrib">src</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;images/arrow_left-right.png&quot;</span> <span class="xml_attrib">width</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;28&quot;</span> <span class="xml_attrib">height</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;33&quot;</span><span class="xml_tag">/&gt;</span><span class="xml_tag">&lt;/a&gt;</span>
<span class="xml_tag">&lt;a</span> <span class="xml_attrib">class</span> =&quot;clickedbuttons&quot; title=&quot;بازکردن سایدبار&quot; style=&quot;float: right;margin:10px -28px 0px 0px;&quot;&gt;<span class="xml_tag">&lt;img</span> <span class="xml_attrib">src</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;images/arrow_right-right.png&quot;</span> <span class="xml_attrib">width</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;28&quot;</span> <span class="xml_attrib">height</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;33&quot;</span><span class="xml_tag">/&gt;</span><span class="xml_tag">&lt;/a&gt;</span>
<span class="xml_tag">&lt;div</span> <span class="xml_attrib">class</span> =&quot;sidebar&quot; style=&quot;float: right; width: 22%;&quot;&gt;
<span class="xml_tag">&lt;script</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;text/javascript&quot;</span><span class="xml_tag">&gt;</span><span class="html_script">
    jQuery<span class="c_symbol">(</span><span class="c_type">function</span><span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">{</span>
	   jQuery<span class="c_symbol">(</span><span class="c_string">&quot;.latestthreads&quot;</span><span class="c_symbol">)</span>.load<span class="c_symbol">(</span><span class="c_string">&quot;{$mybb-&gt;settings['bburl']}/portal.php .latestthreads_portal&quot;</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
    <span class="c_symbol">}</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
</span><span class="xml_tag">&lt;/script&gt;</span>
<span class="xml_tag">&lt;table</span> <span class="xml_attrib">border</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;0&quot;</span> <span class="xml_attrib">cellspacing</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$theme['borderwidth']}&quot;</span> <span class="xml_attrib">cellpadding</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$theme['tablespace']}&quot;</span> <span class="xml_attrib">class</span> =&quot;tborder&quot;&gt;
<span class="xml_tag">&lt;tr&gt;</span><span class="xml_tag">&lt;td</span> <span class="xml_attrib">class</span> =&quot;thead&quot;&gt;
<span class="xml_tag">&lt;strong&gt;</span>Sidebar<span class="xml_tag">&lt;/strong&gt;</span>
<span class="xml_tag">&lt;/td&gt;</span>
<span class="xml_tag">&lt;/tr&gt;</span>
<span class="xml_tag">&lt;tr&gt;</span>
<span class="xml_tag">&lt;td</span> <span class="xml_attrib">style</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$collapsed['ths_e']} padding: 0;&quot;</span> <span class="xml_attrib">id</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;ths_e&quot;</span><span class="xml_tag">&gt;</span>
<span class="xml_tag">&lt;div</span> <span class="xml_attrib">class</span> =&quot;latestthreads float_left&quot;&gt;<span class="xml_tag">&lt;/div&gt;</span>
<span class="xml_tag">&lt;/td&gt;</span>
<span class="xml_tag">&lt;/tr&gt;</span>
<span class="xml_tag">&lt;/table&gt;</span>
<span class="xml_tag">&lt;div</span> <span class="xml_attrib">class</span> =&quot;theadend&quot;&gt;<span class="xml_tag">&lt;/div&gt;</span>
<span class="xml_comment">&lt;!-- Block --&gt;</span>
<span class="xml_tag">&lt;br</span> <span class="xml_tag">/&gt;</span>
<span class="xml_tag">&lt;table</span> <span class="xml_attrib">border</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;0&quot;</span> <span class="xml_attrib">cellspacing</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$theme['borderwidth']}&quot;</span> <span class="xml_attrib">cellpadding</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$theme['tablespace']}&quot;</span> <span class="xml_attrib">class</span> =&quot;tborder&quot;&gt;
<span class="xml_tag">&lt;tr&gt;</span>
<span class="xml_tag">&lt;td</span> <span class="xml_attrib">class</span> =&quot;thead&quot;&gt;
<span class="xml_tag">&lt;strong&gt;</span>Sidebar<span class="xml_tag">&lt;/strong&gt;</span>
<span class="xml_tag">&lt;/td&gt;</span>
<span class="xml_tag">&lt;/tr&gt;</span>
<span class="xml_tag">&lt;tr&gt;</span>
<span class="xml_tag">&lt;td&gt;</span>
123456
<span class="xml_tag">&lt;/td&gt;</span>
<span class="xml_tag">&lt;/tr&gt;</span>
<span class="xml_tag">&lt;/table&gt;</span>
<span class="xml_tag">&lt;br</span> <span class="xml_tag">/&gt;</span>
<span class="xml_comment">&lt;!-- Block --&gt;</span>
<span class="xml_tag">&lt;/div&gt;</span>
<span class="xml_tag">&lt;div</span> <span class="xml_attrib">class</span> =&quot;forums&quot; style=&quot;float: left; width: 77%;&quot;&gt;
{$forums}
<span class="xml_tag">&lt;/div&gt;</span>
<span class="xml_tag">&lt;br</span> <span class="xml_attrib">class</span> =&quot;clear&quot; /&gt;<span class="xml_tag">&lt;br</span> <span class="xml_tag">/&gt;</span>
{$boardstats}
{$footer}
<span class="xml_tag">&lt;/body&gt;</span>
<span class="xml_tag">&lt;/html&gt;</span></code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br />38<br />39<br />40<br />41<br />42<br />43<br />44<br />45<br />46<br />47<br />48<br />49<br />50<br />51<br />52<br />53<br />54<br />55<br />56<br />57<br />58</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">نتیجه ی کدهای بالا</font></strong></legend><br />
<div style="text-align: CENTER;"><video width="90%" height="auto" controls poster="http://dl.midorinco.ir/picts/02/BirangS.png"><br />
  <source src="http://dl.midorinco.ir/video/01/right-sidebar.mp4" type="video/mp4"><br />
  <source src="http://dl.midorinco.ir/video/01/right-sidebar.mp4" type="video/ogg"><br />
  Your browser does not support the video tag.<br />
</video></div><div style="text-align: CENTER;"><object classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" id="player" width="80%" height="500"><br />
<param name="url" value="http://dl.midorinco.ir/video/01/right-sidebar.wmv" />
<param name="src" value="http://dl.midorinco.ir/video/01/right-sidebar.wmv" />
<param name="showcontrols" value="false" />
<param name="autostart" value="false" />
<!--[if !IE]>--><br />
<object type="video/x-ms-wmv" data="http://dl.midorinco.ir/video/01/right-sidebar.wmv" width="80%" height="500"><br />
<param name="src" value="http://dl.midorinco.ir/video/01/right-sidebar.wmv" />
<param name="controller" value="false" />
<param name="autostart" value="false" />
</object><br />
<!--<![endif]--><br />
</object></div></fieldset></td></table>
و برای نمایش ساید بار در سمت چپ کدهای زیر را جایگزین کنید . توجه داشته باشید که فقط یک سمت را میتوانید انتخاب کنید چپ یا راست .<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_5_78" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_5_78").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="xml_tag">&lt;html&gt;</span>
<span class="xml_tag">&lt;head&gt;</span>
<span class="xml_tag">&lt;title&gt;</span>{$mybb-&gt;settings['bbname']}<span class="xml_tag">&lt;/title&gt;</span>
{$headerinclude}
<span class="xml_tag">&lt;script</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;text/javascript&quot;</span><span class="xml_tag">&gt;</span><span class="html_script">
<span class="xml_comment">&lt;!--</span>
    lang.no_new_posts <span class="c_symbol">=</span> <span class="c_string">&quot;{$lang-&gt;no_new_posts}&quot;</span><span class="c_symbol">;</span>
    lang.click_mark_read <span class="c_symbol">=</span> <span class="c_string">&quot;{$lang-&gt;click_mark_read}&quot;</span><span class="c_symbol">;</span>
<span class="c_linecomment">// </span><span class="xml_comment">--&gt;</span>
</span><span class="xml_tag">&lt;/script&gt;</span>
<span class="xml_tag">&lt;/head&gt;</span>
<span class="xml_tag">&lt;body&gt;</span>
{$header}
<span class="xml_tag">&lt;a</span> <span class="xml_attrib">class</span> =&quot;buttons&quot; title=&quot;بستن سایدبار&quot; style=&quot;float:left;margin:10px 0px 0px -28px;&quot;&gt;<span class="xml_tag">&lt;img</span> <span class="xml_attrib">src</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;images/arrow_left-left.png&quot;</span> <span class="xml_attrib">width</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;28&quot;</span> <span class="xml_attrib">height</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;33&quot;</span><span class="xml_tag">/&gt;</span><span class="xml_tag">&lt;/a&gt;</span>
<span class="xml_tag">&lt;a</span> <span class="xml_attrib">class</span> =&quot;clickedbuttons&quot; title=&quot;بازکردن سایدبار&quot; style=&quot;float:left;margin:10px 0px 0px -28px;&quot;&gt;<span class="xml_tag">&lt;img</span> <span class="xml_attrib">src</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;images/arrow_right-left.png&quot;</span> <span class="xml_attrib">width</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;28&quot;</span> <span class="xml_attrib">height</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;33&quot;</span><span class="xml_tag">/&gt;</span><span class="xml_tag">&lt;/a&gt;</span>
<span class="xml_tag">&lt;div</span> <span class="xml_attrib">class</span> =&quot;sidebar&quot; style=&quot;float:left; width:22%;&quot;&gt;
<span class="xml_tag">&lt;script</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;text/javascript&quot;</span><span class="xml_tag">&gt;</span><span class="html_script">
    jQuery<span class="c_symbol">(</span><span class="c_type">function</span><span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">{</span>
	   jQuery<span class="c_symbol">(</span><span class="c_string">&quot;.latestthreads&quot;</span><span class="c_symbol">)</span>.load<span class="c_symbol">(</span><span class="c_string">&quot;{$mybb-&gt;settings['bburl']}/portal.php .latestthreads_portal&quot;</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
    <span class="c_symbol">}</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
</span><span class="xml_tag">&lt;/script&gt;</span>
<span class="xml_tag">&lt;table</span> <span class="xml_attrib">border</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;0&quot;</span> <span class="xml_attrib">cellspacing</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$theme['borderwidth']}&quot;</span> <span class="xml_attrib">cellpadding</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$theme['tablespace']}&quot;</span> <span class="xml_attrib">class</span> =&quot;tborder&quot;&gt;
<span class="xml_tag">&lt;tr&gt;</span><span class="xml_tag">&lt;td</span> <span class="xml_attrib">class</span> =&quot;thead&quot;&gt;
<span class="xml_tag">&lt;strong&gt;</span>Sidebar<span class="xml_tag">&lt;/strong&gt;</span>
<span class="xml_tag">&lt;/td&gt;</span>
<span class="xml_tag">&lt;/tr&gt;</span>
<span class="xml_tag">&lt;tr&gt;</span>
<span class="xml_tag">&lt;td</span> <span class="xml_attrib">style</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$collapsed['ths_e']} padding: 0;&quot;</span> <span class="xml_attrib">id</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;ths_e&quot;</span><span class="xml_tag">&gt;</span>
<span class="xml_tag">&lt;div</span> <span class="xml_attrib">class</span> =&quot;latestthreads float_left&quot;&gt;<span class="xml_tag">&lt;/div&gt;</span>
<span class="xml_tag">&lt;/td&gt;</span>
<span class="xml_tag">&lt;/tr&gt;</span>
<span class="xml_tag">&lt;/table&gt;</span>
<span class="xml_tag">&lt;div</span> <span class="xml_attrib">class</span> =&quot;theadend&quot;&gt;<span class="xml_tag">&lt;/div&gt;</span>
<span class="xml_comment">&lt;!-- Block --&gt;</span>
<span class="xml_tag">&lt;br</span> <span class="xml_tag">/&gt;</span>
<span class="xml_tag">&lt;table</span> <span class="xml_attrib">border</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;0&quot;</span> <span class="xml_attrib">cellspacing</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$theme['borderwidth']}&quot;</span> <span class="xml_attrib">cellpadding</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$theme['tablespace']}&quot;</span> <span class="xml_attrib">class</span> =&quot;tborder&quot;&gt;
<span class="xml_tag">&lt;tr&gt;</span>
<span class="xml_tag">&lt;td</span> <span class="xml_attrib">class</span> =&quot;thead&quot;&gt;
<span class="xml_tag">&lt;strong&gt;</span>Sidebar<span class="xml_tag">&lt;/strong&gt;</span>
<span class="xml_tag">&lt;/td&gt;</span>
<span class="xml_tag">&lt;/tr&gt;</span>
<span class="xml_tag">&lt;tr&gt;</span>
<span class="xml_tag">&lt;td&gt;</span>
123456
<span class="xml_tag">&lt;/td&gt;</span>
<span class="xml_tag">&lt;/tr&gt;</span>
<span class="xml_tag">&lt;/table&gt;</span>
<span class="xml_tag">&lt;br</span> <span class="xml_tag">/&gt;</span>
<span class="xml_comment">&lt;!-- Block --&gt;</span>
<span class="xml_tag">&lt;/div&gt;</span>
<span class="xml_tag">&lt;div</span> <span class="xml_attrib">class</span> =&quot;forums&quot; style=&quot;float:right; width: 77%;&quot;&gt;b
{$forums}
<span class="xml_tag">&lt;/div&gt;</span>
<span class="xml_tag">&lt;br</span> <span class="xml_attrib">class</span> =&quot;clear&quot; /&gt;<span class="xml_tag">&lt;br</span> <span class="xml_tag">/&gt;</span>
{$boardstats}
{$footer}
<span class="xml_tag">&lt;/body&gt;</span>
<span class="xml_tag">&lt;/html&gt;</span></code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br />38<br />39<br />40<br />41<br />42<br />43<br />44<br />45<br />46<br />47<br />48<br />49<br />50<br />51<br />52<br />53<br />54<br />55<br />56<br />57<br />58</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">نتیجه ی کدهای بالا</font></strong></legend><br />
<div style="text-align: CENTER;"><video width="90%" height="auto" controls poster="http://dl.midorinco.ir/picts/02/BirangS.png"><br />
  <source src="http://dl.midorinco.ir/video/01/left-sidebar.mp4" type="video/mp4"><br />
  <source src="http://dl.midorinco.ir/video/01/left-sidebar.mp4" type="video/ogg"><br />
  Your browser does not support the video tag.<br />
</video><br />
<object classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" id="player" width="80%" height="500"><br />
<param name="url" value="http://dl.midorinco.ir/video/01/left-sidebar.wmv" />
<param name="src" value="http://dl.midorinco.ir/video/01/left-sidebar.wmv" />
<param name="showcontrols" value="false" />
<param name="autostart" value="false" />
<!--[if !IE]>--><br />
<object type="video/x-ms-wmv" data="http://dl.midorinco.ir/video/01/left-sidebar.wmv" width="80%" height="500"><br />
<param name="src" value="http://dl.midorinco.ir/video/01/left-sidebar.wmv" />
<param name="controller" value="false" />
<param name="autostart" value="false" />
</object><br />
<!--<![endif]--><br />
</object></div></fieldset></td></table>
<br />
<fieldset style="background:#efefef url(images/post-deco/notice.png) top left 0% no-repeat;width:90%;background-color:#FCFAA9;border-left:2px solid #FFD42A;border-right:2px solid #FFD42A;border-top:2px solid #FFD42A;border-bottom:2px solid #FFD42A;margin:0 auto 4px;padding:3px 15px 3px 40px;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><blink><strong>توجه</strong></blink></legend><br/><font color="darkred" size="3"><strong>متن پیام : </strong><br /></font><font color="black"> <br />
برای کم و زياد کردن بلوک های سايد بار از کدهايی که جدا کرده ام بايد استفاده کنيد یعنی کدهای زیر که داخل کدهای بالا هستند را استفاده کنید <br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_6_4" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_6_4").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="xml_comment">&lt;!-- Block --&gt;</span>
<span class="xml_tag">&lt;br</span> <span class="xml_tag">/&gt;</span>
<span class="xml_tag">&lt;table</span> <span class="xml_attrib">border</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;0&quot;</span> <span class="xml_attrib">cellspacing</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$theme['borderwidth']}&quot;</span> <span class="xml_attrib">cellpadding</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$theme['tablespace']}&quot;</span> <span class="xml_attrib">class</span> =&quot;tborder&quot;&gt;
<span class="xml_tag">&lt;tr&gt;</span>
<span class="xml_tag">&lt;td</span> <span class="xml_attrib">class</span> =&quot;thead&quot;&gt;
<span class="xml_tag">&lt;strong&gt;</span>Sidebar<span class="xml_tag">&lt;/strong&gt;</span>
<span class="xml_tag">&lt;/td&gt;</span>
<span class="xml_tag">&lt;/tr&gt;</span>
<span class="xml_tag">&lt;tr&gt;</span>
<span class="xml_tag">&lt;td&gt;</span>
123456
<span class="xml_tag">&lt;/td&gt;</span>
<span class="xml_tag">&lt;/tr&gt;</span>
<span class="xml_tag">&lt;/table&gt;</span>
<span class="xml_tag">&lt;br</span> <span class="xml_tag">/&gt;</span>
<span class="xml_comment">&lt;!-- Block --&gt;</span></code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
</font><br /><br /></fieldset><br />
<br />
<span style="font-weight: bold;">گام دوم :</span> به مسیر زیر بروید<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; portal template &gt; بخش portal_latestthreads_thread<br />
و کدهای موجود در آنجا را پاک و کدهای زیر را جایگزین کنید (این مرحله برای نمایش آخرین ارسالها در سایدبار است و اگر این مورد را نمی خواهید داشته باشید از آن صرف نظر کنید)<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_7_59" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_7_59").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="xml_tag">&lt;tr</span> <span class="xml_attrib">class</span> =&quot;latestthreads_portal&quot;&gt;
<span class="xml_tag">&lt;td</span> <span class="xml_attrib">width</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;230px&quot;</span> <span class="xml_attrib">class</span> =&quot;trow1&quot;&gt;
<span class="xml_tag">&lt;strong&gt;</span><span class="xml_tag">&lt;a</span> <span class="xml_attrib">href</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$mybb-&gt;settings['bburl']}/{$thread['threadlink']}&quot;</span><span class="xml_tag">&gt;</span>{$thread['subject']}<span class="xml_tag">&lt;/a&gt;</span><span class="xml_tag">&lt;/strong&gt;</span>
<span class="xml_tag">&lt;span</span> <span class="xml_attrib">class</span> =&quot;smalltext&quot;&gt;<span class="xml_tag">&lt;br</span> <span class="xml_tag">/&gt;</span>
{$lang-&gt;by} {$lastposterlink}<span class="xml_tag">&lt;br</span> <span class="xml_tag">/&gt;</span>
{$lastpostdate}
<span class="xml_tag">&lt;/td&gt;</span>
<span class="xml_tag">&lt;/tr&gt;</span></code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<span style="font-weight: bold;">گام سوم :</span> به مسیر زیر بروید<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; قالب های گروه بندی نشده &gt; بخش headerinclude<br />
<br />
و در انتهای آن کدهای زیر را وارد کنید<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_8_24" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_8_24").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="xml_tag">&lt;script</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;text/javascript&quot;</span><span class="xml_tag">&gt;</span><span class="html_script">
jQuery<span class="c_symbol">(</span><span class="c_type">function</span><span class="c_symbol">(</span>$<span class="c_symbol">)</span> <span class="c_symbol">{</span>
    $<span class="c_symbol">(</span><span class="c_string">&quot;.clickedbuttons&quot;</span><span class="c_symbol">)</span>.hide<span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
    $<span class="c_symbol">(</span><span class="c_string">&quot;.buttons&quot;</span><span class="c_symbol">)</span>.click<span class="c_symbol">(</span><span class="c_type">function</span><span class="c_symbol">(</span><span class="c_symbol">)</span> <span class="c_symbol">{</span>
	   $<span class="c_symbol">(</span><span class="c_string">&quot;.sidebar&quot;</span><span class="c_symbol">)</span>.animate<span class="c_symbol">(</span><span class="c_symbol">{</span>height: <span class="c_string">&quot;hide&quot;</span><span class="c_symbol">,</span> opacity: <span class="c_number">0</span><span class="c_symbol">}</span><span class="c_symbol">,</span> <span class="c_number">500</span><span class="c_symbol">,</span>
		  <span class="c_type">function</span><span class="c_symbol">(</span><span class="c_symbol">)</span> <span class="c_symbol">{</span>
			 $<span class="c_symbol">(</span><span class="c_string">&quot;.forums&quot;</span><span class="c_symbol">)</span>.animate<span class="c_symbol">(</span><span class="c_symbol">{</span>width: <span class="c_string">&quot;100%&quot;</span><span class="c_symbol">}</span><span class="c_symbol">,</span> <span class="c_number">500</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
		  <span class="c_symbol">}</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
	   $<span class="c_symbol">(</span><span class="c_type">this</span><span class="c_symbol">)</span>.hide<span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
	   $<span class="c_symbol">(</span><span class="c_string">&quot;.clickedbuttons&quot;</span><span class="c_symbol">)</span>.show<span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
	   $.cookie<span class="c_symbol">(</span><span class="c_string">&quot;sidebar&quot;</span><span class="c_symbol">,</span><span class="c_string">&quot;collapsed&quot;</span><span class="c_symbol">,</span> <span class="c_symbol">{</span>expires: <span class="c_number">365</span><span class="c_symbol">}</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
	   <span class="c_type">return</span> <span class="c_type">false</span><span class="c_symbol">;</span>
    <span class="c_symbol">}</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
    $<span class="c_symbol">(</span><span class="c_string">&quot;.clickedbuttons&quot;</span><span class="c_symbol">)</span>.click<span class="c_symbol">(</span><span class="c_type">function</span><span class="c_symbol">(</span><span class="c_symbol">)</span> <span class="c_symbol">{</span>
	   $<span class="c_symbol">(</span><span class="c_string">&quot;.forums&quot;</span><span class="c_symbol">)</span>.animate<span class="c_symbol">(</span><span class="c_symbol">{</span>width: <span class="c_string">&quot;77%&quot;</span><span class="c_symbol">}</span><span class="c_symbol">,</span> <span class="c_number">500</span><span class="c_symbol">,</span>
		  <span class="c_type">function</span><span class="c_symbol">(</span><span class="c_symbol">)</span> <span class="c_symbol">{</span>
			 $<span class="c_symbol">(</span><span class="c_string">&quot;.sidebar&quot;</span><span class="c_symbol">)</span>.animate<span class="c_symbol">(</span><span class="c_symbol">{</span>height: <span class="c_string">&quot;show&quot;</span><span class="c_symbol">,</span> opacity: <span class="c_number">1</span><span class="c_symbol">}</span><span class="c_symbol">,</span> <span class="c_number">500</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
		  <span class="c_symbol">}</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
	   $<span class="c_symbol">(</span><span class="c_type">this</span><span class="c_symbol">)</span>.hide<span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
	   $<span class="c_symbol">(</span><span class="c_string">&quot;.buttons&quot;</span><span class="c_symbol">)</span>.show<span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
	   $.cookie<span class="c_symbol">(</span><span class="c_string">&quot;sidebar&quot;</span><span class="c_symbol">,</span><span class="c_string">&quot;expanded&quot;</span><span class="c_symbol">,</span> <span class="c_symbol">{</span>expires: <span class="c_number">365</span><span class="c_symbol">}</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
	   <span class="c_type">return</span> <span class="c_type">false</span><span class="c_symbol">;</span>
    <span class="c_symbol">}</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
    <span class="c_type">if</span><span class="c_symbol">(</span>$.cookie<span class="c_symbol">(</span><span class="c_string">&quot;sidebar&quot;</span><span class="c_symbol">)</span> <span class="c_symbol">=</span><span class="c_symbol">=</span> <span class="c_string">&quot;collapsed&quot;</span><span class="c_symbol">)</span> <span class="c_symbol">{</span>
	   $<span class="c_symbol">(</span><span class="c_string">&quot;.buttons&quot;</span><span class="c_symbol">)</span>.hide<span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
	   $<span class="c_symbol">(</span><span class="c_string">&quot;.clickedbuttons&quot;</span><span class="c_symbol">)</span>.show<span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
	   $<span class="c_symbol">(</span><span class="c_string">&quot;.forums&quot;</span><span class="c_symbol">)</span>.css<span class="c_symbol">(</span><span class="c_string">&quot;width&quot;</span><span class="c_symbol">,</span><span class="c_string">&quot;100%&quot;</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
	   $<span class="c_symbol">(</span><span class="c_string">&quot;.sidebar&quot;</span><span class="c_symbol">)</span>.hide<span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
    <span class="c_symbol">}</span><span class="c_symbol">;</span>
<span class="c_symbol">}</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
</span><span class="xml_tag">&lt;/script&gt;</span></code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<span style="font-weight: bold;">گام چهارم :</span> تصویرهای مورد نیاز برای این کار را در فایل های فشرده قرار داده ام . یک فایل حاوی دو تصویر برای ساید بار چپ و فایل دیگر حاوی دو تصویر برای ساید بار راست . تصویر ها را در پوشه ی images قرار دهید .<br />
<br />
<!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			leftsidebar1.8.rar</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2700">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/rar.gif" border="0" alt=".rar" title=".rar" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">2.49 KB</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">415 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1770229629</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --><br />
<!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			rightsidebar1.8.rar</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2701">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/rar.gif" border="0" alt=".rar" title=".rar" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">2.02 KB</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">450 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1770229588</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-weight: bold;">کار تمام است .</span> امید که بکار بیاید.</div></div>]]></description>
			<content:encoded><![CDATA[<div style="text-align: CENTER;"><span style="text-shadow: 0px 5px 2px gray;"><span style="color: #4682B4;"><span style="font-size: medium;"><span style="font-weight: bold;">اضافه کردن ساید بار به انجمن ساز مای بی بی</span></span></span></span><br />
<div style="text-align: RIGHT;">برای اضافه کردن ساید بار به انجمن ساز مای بی بی نگارش 1.8 راهکاری قرار میدهم که امیدوارم مورد استفاده قرار گیرد . ساید بار را میتوانید در دو جهت , چپ یا راست قرار دهید که هر دو مورد را آموزش میدهم . <br />
<span style="font-weight: bold;">گام نخست :</span> به مسیر زیر بروید و کدهای موجود در آن را پاک کنید (درصورتی که تغییراتی در این بخش داده اید , فقط کدهای لازم در این آموزش را قرار دهید) <br />
<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; Index template &gt; بخش Index<br />
<br />
و کدهای زیر را جایگزین کنید. این مرحله برای اجرای ساید بار در سمت راست است .<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_4_13" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_4_13").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="xml_tag">&lt;html&gt;</span>
<span class="xml_tag">&lt;head&gt;</span>
<span class="xml_tag">&lt;title&gt;</span>{$mybb-&gt;settings['bbname']}<span class="xml_tag">&lt;/title&gt;</span>
{$headerinclude}
<span class="xml_tag">&lt;script</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;text/javascript&quot;</span><span class="xml_tag">&gt;</span><span class="html_script">
<span class="xml_comment">&lt;!--</span>
    lang.no_new_posts <span class="c_symbol">=</span> <span class="c_string">&quot;{$lang-&gt;no_new_posts}&quot;</span><span class="c_symbol">;</span>
    lang.click_mark_read <span class="c_symbol">=</span> <span class="c_string">&quot;{$lang-&gt;click_mark_read}&quot;</span><span class="c_symbol">;</span>
<span class="c_linecomment">// </span><span class="xml_comment">--&gt;</span>
</span><span class="xml_tag">&lt;/script&gt;</span>
<span class="xml_tag">&lt;/head&gt;</span>
<span class="xml_tag">&lt;body&gt;</span>
{$header}
<span class="xml_tag">&lt;a</span> <span class="xml_attrib">class</span> =&quot;buttons&quot; title=&quot;بستن سایدبار&quot; style=&quot;float: right;margin:10px -28px 0px 0px;&quot;&gt;<span class="xml_tag">&lt;img</span> <span class="xml_attrib">src</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;images/arrow_left-right.png&quot;</span> <span class="xml_attrib">width</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;28&quot;</span> <span class="xml_attrib">height</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;33&quot;</span><span class="xml_tag">/&gt;</span><span class="xml_tag">&lt;/a&gt;</span>
<span class="xml_tag">&lt;a</span> <span class="xml_attrib">class</span> =&quot;clickedbuttons&quot; title=&quot;بازکردن سایدبار&quot; style=&quot;float: right;margin:10px -28px 0px 0px;&quot;&gt;<span class="xml_tag">&lt;img</span> <span class="xml_attrib">src</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;images/arrow_right-right.png&quot;</span> <span class="xml_attrib">width</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;28&quot;</span> <span class="xml_attrib">height</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;33&quot;</span><span class="xml_tag">/&gt;</span><span class="xml_tag">&lt;/a&gt;</span>
<span class="xml_tag">&lt;div</span> <span class="xml_attrib">class</span> =&quot;sidebar&quot; style=&quot;float: right; width: 22%;&quot;&gt;
<span class="xml_tag">&lt;script</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;text/javascript&quot;</span><span class="xml_tag">&gt;</span><span class="html_script">
    jQuery<span class="c_symbol">(</span><span class="c_type">function</span><span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">{</span>
	   jQuery<span class="c_symbol">(</span><span class="c_string">&quot;.latestthreads&quot;</span><span class="c_symbol">)</span>.load<span class="c_symbol">(</span><span class="c_string">&quot;{$mybb-&gt;settings['bburl']}/portal.php .latestthreads_portal&quot;</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
    <span class="c_symbol">}</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
</span><span class="xml_tag">&lt;/script&gt;</span>
<span class="xml_tag">&lt;table</span> <span class="xml_attrib">border</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;0&quot;</span> <span class="xml_attrib">cellspacing</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$theme['borderwidth']}&quot;</span> <span class="xml_attrib">cellpadding</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$theme['tablespace']}&quot;</span> <span class="xml_attrib">class</span> =&quot;tborder&quot;&gt;
<span class="xml_tag">&lt;tr&gt;</span><span class="xml_tag">&lt;td</span> <span class="xml_attrib">class</span> =&quot;thead&quot;&gt;
<span class="xml_tag">&lt;strong&gt;</span>Sidebar<span class="xml_tag">&lt;/strong&gt;</span>
<span class="xml_tag">&lt;/td&gt;</span>
<span class="xml_tag">&lt;/tr&gt;</span>
<span class="xml_tag">&lt;tr&gt;</span>
<span class="xml_tag">&lt;td</span> <span class="xml_attrib">style</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$collapsed['ths_e']} padding: 0;&quot;</span> <span class="xml_attrib">id</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;ths_e&quot;</span><span class="xml_tag">&gt;</span>
<span class="xml_tag">&lt;div</span> <span class="xml_attrib">class</span> =&quot;latestthreads float_left&quot;&gt;<span class="xml_tag">&lt;/div&gt;</span>
<span class="xml_tag">&lt;/td&gt;</span>
<span class="xml_tag">&lt;/tr&gt;</span>
<span class="xml_tag">&lt;/table&gt;</span>
<span class="xml_tag">&lt;div</span> <span class="xml_attrib">class</span> =&quot;theadend&quot;&gt;<span class="xml_tag">&lt;/div&gt;</span>
<span class="xml_comment">&lt;!-- Block --&gt;</span>
<span class="xml_tag">&lt;br</span> <span class="xml_tag">/&gt;</span>
<span class="xml_tag">&lt;table</span> <span class="xml_attrib">border</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;0&quot;</span> <span class="xml_attrib">cellspacing</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$theme['borderwidth']}&quot;</span> <span class="xml_attrib">cellpadding</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$theme['tablespace']}&quot;</span> <span class="xml_attrib">class</span> =&quot;tborder&quot;&gt;
<span class="xml_tag">&lt;tr&gt;</span>
<span class="xml_tag">&lt;td</span> <span class="xml_attrib">class</span> =&quot;thead&quot;&gt;
<span class="xml_tag">&lt;strong&gt;</span>Sidebar<span class="xml_tag">&lt;/strong&gt;</span>
<span class="xml_tag">&lt;/td&gt;</span>
<span class="xml_tag">&lt;/tr&gt;</span>
<span class="xml_tag">&lt;tr&gt;</span>
<span class="xml_tag">&lt;td&gt;</span>
123456
<span class="xml_tag">&lt;/td&gt;</span>
<span class="xml_tag">&lt;/tr&gt;</span>
<span class="xml_tag">&lt;/table&gt;</span>
<span class="xml_tag">&lt;br</span> <span class="xml_tag">/&gt;</span>
<span class="xml_comment">&lt;!-- Block --&gt;</span>
<span class="xml_tag">&lt;/div&gt;</span>
<span class="xml_tag">&lt;div</span> <span class="xml_attrib">class</span> =&quot;forums&quot; style=&quot;float: left; width: 77%;&quot;&gt;
{$forums}
<span class="xml_tag">&lt;/div&gt;</span>
<span class="xml_tag">&lt;br</span> <span class="xml_attrib">class</span> =&quot;clear&quot; /&gt;<span class="xml_tag">&lt;br</span> <span class="xml_tag">/&gt;</span>
{$boardstats}
{$footer}
<span class="xml_tag">&lt;/body&gt;</span>
<span class="xml_tag">&lt;/html&gt;</span></code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br />38<br />39<br />40<br />41<br />42<br />43<br />44<br />45<br />46<br />47<br />48<br />49<br />50<br />51<br />52<br />53<br />54<br />55<br />56<br />57<br />58</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">نتیجه ی کدهای بالا</font></strong></legend><br />
<div style="text-align: CENTER;"><video width="90%" height="auto" controls poster="http://dl.midorinco.ir/picts/02/BirangS.png"><br />
  <source src="http://dl.midorinco.ir/video/01/right-sidebar.mp4" type="video/mp4"><br />
  <source src="http://dl.midorinco.ir/video/01/right-sidebar.mp4" type="video/ogg"><br />
  Your browser does not support the video tag.<br />
</video></div><div style="text-align: CENTER;"><object classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" id="player" width="80%" height="500"><br />
<param name="url" value="http://dl.midorinco.ir/video/01/right-sidebar.wmv" />
<param name="src" value="http://dl.midorinco.ir/video/01/right-sidebar.wmv" />
<param name="showcontrols" value="false" />
<param name="autostart" value="false" />
<!--[if !IE]>--><br />
<object type="video/x-ms-wmv" data="http://dl.midorinco.ir/video/01/right-sidebar.wmv" width="80%" height="500"><br />
<param name="src" value="http://dl.midorinco.ir/video/01/right-sidebar.wmv" />
<param name="controller" value="false" />
<param name="autostart" value="false" />
</object><br />
<!--<![endif]--><br />
</object></div></fieldset></td></table>
و برای نمایش ساید بار در سمت چپ کدهای زیر را جایگزین کنید . توجه داشته باشید که فقط یک سمت را میتوانید انتخاب کنید چپ یا راست .<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_5_78" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_5_78").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="xml_tag">&lt;html&gt;</span>
<span class="xml_tag">&lt;head&gt;</span>
<span class="xml_tag">&lt;title&gt;</span>{$mybb-&gt;settings['bbname']}<span class="xml_tag">&lt;/title&gt;</span>
{$headerinclude}
<span class="xml_tag">&lt;script</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;text/javascript&quot;</span><span class="xml_tag">&gt;</span><span class="html_script">
<span class="xml_comment">&lt;!--</span>
    lang.no_new_posts <span class="c_symbol">=</span> <span class="c_string">&quot;{$lang-&gt;no_new_posts}&quot;</span><span class="c_symbol">;</span>
    lang.click_mark_read <span class="c_symbol">=</span> <span class="c_string">&quot;{$lang-&gt;click_mark_read}&quot;</span><span class="c_symbol">;</span>
<span class="c_linecomment">// </span><span class="xml_comment">--&gt;</span>
</span><span class="xml_tag">&lt;/script&gt;</span>
<span class="xml_tag">&lt;/head&gt;</span>
<span class="xml_tag">&lt;body&gt;</span>
{$header}
<span class="xml_tag">&lt;a</span> <span class="xml_attrib">class</span> =&quot;buttons&quot; title=&quot;بستن سایدبار&quot; style=&quot;float:left;margin:10px 0px 0px -28px;&quot;&gt;<span class="xml_tag">&lt;img</span> <span class="xml_attrib">src</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;images/arrow_left-left.png&quot;</span> <span class="xml_attrib">width</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;28&quot;</span> <span class="xml_attrib">height</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;33&quot;</span><span class="xml_tag">/&gt;</span><span class="xml_tag">&lt;/a&gt;</span>
<span class="xml_tag">&lt;a</span> <span class="xml_attrib">class</span> =&quot;clickedbuttons&quot; title=&quot;بازکردن سایدبار&quot; style=&quot;float:left;margin:10px 0px 0px -28px;&quot;&gt;<span class="xml_tag">&lt;img</span> <span class="xml_attrib">src</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;images/arrow_right-left.png&quot;</span> <span class="xml_attrib">width</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;28&quot;</span> <span class="xml_attrib">height</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;33&quot;</span><span class="xml_tag">/&gt;</span><span class="xml_tag">&lt;/a&gt;</span>
<span class="xml_tag">&lt;div</span> <span class="xml_attrib">class</span> =&quot;sidebar&quot; style=&quot;float:left; width:22%;&quot;&gt;
<span class="xml_tag">&lt;script</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;text/javascript&quot;</span><span class="xml_tag">&gt;</span><span class="html_script">
    jQuery<span class="c_symbol">(</span><span class="c_type">function</span><span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">{</span>
	   jQuery<span class="c_symbol">(</span><span class="c_string">&quot;.latestthreads&quot;</span><span class="c_symbol">)</span>.load<span class="c_symbol">(</span><span class="c_string">&quot;{$mybb-&gt;settings['bburl']}/portal.php .latestthreads_portal&quot;</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
    <span class="c_symbol">}</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
</span><span class="xml_tag">&lt;/script&gt;</span>
<span class="xml_tag">&lt;table</span> <span class="xml_attrib">border</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;0&quot;</span> <span class="xml_attrib">cellspacing</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$theme['borderwidth']}&quot;</span> <span class="xml_attrib">cellpadding</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$theme['tablespace']}&quot;</span> <span class="xml_attrib">class</span> =&quot;tborder&quot;&gt;
<span class="xml_tag">&lt;tr&gt;</span><span class="xml_tag">&lt;td</span> <span class="xml_attrib">class</span> =&quot;thead&quot;&gt;
<span class="xml_tag">&lt;strong&gt;</span>Sidebar<span class="xml_tag">&lt;/strong&gt;</span>
<span class="xml_tag">&lt;/td&gt;</span>
<span class="xml_tag">&lt;/tr&gt;</span>
<span class="xml_tag">&lt;tr&gt;</span>
<span class="xml_tag">&lt;td</span> <span class="xml_attrib">style</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$collapsed['ths_e']} padding: 0;&quot;</span> <span class="xml_attrib">id</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;ths_e&quot;</span><span class="xml_tag">&gt;</span>
<span class="xml_tag">&lt;div</span> <span class="xml_attrib">class</span> =&quot;latestthreads float_left&quot;&gt;<span class="xml_tag">&lt;/div&gt;</span>
<span class="xml_tag">&lt;/td&gt;</span>
<span class="xml_tag">&lt;/tr&gt;</span>
<span class="xml_tag">&lt;/table&gt;</span>
<span class="xml_tag">&lt;div</span> <span class="xml_attrib">class</span> =&quot;theadend&quot;&gt;<span class="xml_tag">&lt;/div&gt;</span>
<span class="xml_comment">&lt;!-- Block --&gt;</span>
<span class="xml_tag">&lt;br</span> <span class="xml_tag">/&gt;</span>
<span class="xml_tag">&lt;table</span> <span class="xml_attrib">border</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;0&quot;</span> <span class="xml_attrib">cellspacing</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$theme['borderwidth']}&quot;</span> <span class="xml_attrib">cellpadding</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$theme['tablespace']}&quot;</span> <span class="xml_attrib">class</span> =&quot;tborder&quot;&gt;
<span class="xml_tag">&lt;tr&gt;</span>
<span class="xml_tag">&lt;td</span> <span class="xml_attrib">class</span> =&quot;thead&quot;&gt;
<span class="xml_tag">&lt;strong&gt;</span>Sidebar<span class="xml_tag">&lt;/strong&gt;</span>
<span class="xml_tag">&lt;/td&gt;</span>
<span class="xml_tag">&lt;/tr&gt;</span>
<span class="xml_tag">&lt;tr&gt;</span>
<span class="xml_tag">&lt;td&gt;</span>
123456
<span class="xml_tag">&lt;/td&gt;</span>
<span class="xml_tag">&lt;/tr&gt;</span>
<span class="xml_tag">&lt;/table&gt;</span>
<span class="xml_tag">&lt;br</span> <span class="xml_tag">/&gt;</span>
<span class="xml_comment">&lt;!-- Block --&gt;</span>
<span class="xml_tag">&lt;/div&gt;</span>
<span class="xml_tag">&lt;div</span> <span class="xml_attrib">class</span> =&quot;forums&quot; style=&quot;float:right; width: 77%;&quot;&gt;b
{$forums}
<span class="xml_tag">&lt;/div&gt;</span>
<span class="xml_tag">&lt;br</span> <span class="xml_attrib">class</span> =&quot;clear&quot; /&gt;<span class="xml_tag">&lt;br</span> <span class="xml_tag">/&gt;</span>
{$boardstats}
{$footer}
<span class="xml_tag">&lt;/body&gt;</span>
<span class="xml_tag">&lt;/html&gt;</span></code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br />38<br />39<br />40<br />41<br />42<br />43<br />44<br />45<br />46<br />47<br />48<br />49<br />50<br />51<br />52<br />53<br />54<br />55<br />56<br />57<br />58</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">نتیجه ی کدهای بالا</font></strong></legend><br />
<div style="text-align: CENTER;"><video width="90%" height="auto" controls poster="http://dl.midorinco.ir/picts/02/BirangS.png"><br />
  <source src="http://dl.midorinco.ir/video/01/left-sidebar.mp4" type="video/mp4"><br />
  <source src="http://dl.midorinco.ir/video/01/left-sidebar.mp4" type="video/ogg"><br />
  Your browser does not support the video tag.<br />
</video><br />
<object classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" id="player" width="80%" height="500"><br />
<param name="url" value="http://dl.midorinco.ir/video/01/left-sidebar.wmv" />
<param name="src" value="http://dl.midorinco.ir/video/01/left-sidebar.wmv" />
<param name="showcontrols" value="false" />
<param name="autostart" value="false" />
<!--[if !IE]>--><br />
<object type="video/x-ms-wmv" data="http://dl.midorinco.ir/video/01/left-sidebar.wmv" width="80%" height="500"><br />
<param name="src" value="http://dl.midorinco.ir/video/01/left-sidebar.wmv" />
<param name="controller" value="false" />
<param name="autostart" value="false" />
</object><br />
<!--<![endif]--><br />
</object></div></fieldset></td></table>
<br />
<fieldset style="background:#efefef url(images/post-deco/notice.png) top left 0% no-repeat;width:90%;background-color:#FCFAA9;border-left:2px solid #FFD42A;border-right:2px solid #FFD42A;border-top:2px solid #FFD42A;border-bottom:2px solid #FFD42A;margin:0 auto 4px;padding:3px 15px 3px 40px;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><blink><strong>توجه</strong></blink></legend><br/><font color="darkred" size="3"><strong>متن پیام : </strong><br /></font><font color="black"> <br />
برای کم و زياد کردن بلوک های سايد بار از کدهايی که جدا کرده ام بايد استفاده کنيد یعنی کدهای زیر که داخل کدهای بالا هستند را استفاده کنید <br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_6_4" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_6_4").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="xml_comment">&lt;!-- Block --&gt;</span>
<span class="xml_tag">&lt;br</span> <span class="xml_tag">/&gt;</span>
<span class="xml_tag">&lt;table</span> <span class="xml_attrib">border</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;0&quot;</span> <span class="xml_attrib">cellspacing</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$theme['borderwidth']}&quot;</span> <span class="xml_attrib">cellpadding</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$theme['tablespace']}&quot;</span> <span class="xml_attrib">class</span> =&quot;tborder&quot;&gt;
<span class="xml_tag">&lt;tr&gt;</span>
<span class="xml_tag">&lt;td</span> <span class="xml_attrib">class</span> =&quot;thead&quot;&gt;
<span class="xml_tag">&lt;strong&gt;</span>Sidebar<span class="xml_tag">&lt;/strong&gt;</span>
<span class="xml_tag">&lt;/td&gt;</span>
<span class="xml_tag">&lt;/tr&gt;</span>
<span class="xml_tag">&lt;tr&gt;</span>
<span class="xml_tag">&lt;td&gt;</span>
123456
<span class="xml_tag">&lt;/td&gt;</span>
<span class="xml_tag">&lt;/tr&gt;</span>
<span class="xml_tag">&lt;/table&gt;</span>
<span class="xml_tag">&lt;br</span> <span class="xml_tag">/&gt;</span>
<span class="xml_comment">&lt;!-- Block --&gt;</span></code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
</font><br /><br /></fieldset><br />
<br />
<span style="font-weight: bold;">گام دوم :</span> به مسیر زیر بروید<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; portal template &gt; بخش portal_latestthreads_thread<br />
و کدهای موجود در آنجا را پاک و کدهای زیر را جایگزین کنید (این مرحله برای نمایش آخرین ارسالها در سایدبار است و اگر این مورد را نمی خواهید داشته باشید از آن صرف نظر کنید)<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_7_59" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_7_59").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="xml_tag">&lt;tr</span> <span class="xml_attrib">class</span> =&quot;latestthreads_portal&quot;&gt;
<span class="xml_tag">&lt;td</span> <span class="xml_attrib">width</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;230px&quot;</span> <span class="xml_attrib">class</span> =&quot;trow1&quot;&gt;
<span class="xml_tag">&lt;strong&gt;</span><span class="xml_tag">&lt;a</span> <span class="xml_attrib">href</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$mybb-&gt;settings['bburl']}/{$thread['threadlink']}&quot;</span><span class="xml_tag">&gt;</span>{$thread['subject']}<span class="xml_tag">&lt;/a&gt;</span><span class="xml_tag">&lt;/strong&gt;</span>
<span class="xml_tag">&lt;span</span> <span class="xml_attrib">class</span> =&quot;smalltext&quot;&gt;<span class="xml_tag">&lt;br</span> <span class="xml_tag">/&gt;</span>
{$lang-&gt;by} {$lastposterlink}<span class="xml_tag">&lt;br</span> <span class="xml_tag">/&gt;</span>
{$lastpostdate}
<span class="xml_tag">&lt;/td&gt;</span>
<span class="xml_tag">&lt;/tr&gt;</span></code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<span style="font-weight: bold;">گام سوم :</span> به مسیر زیر بروید<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; قالب های گروه بندی نشده &gt; بخش headerinclude<br />
<br />
و در انتهای آن کدهای زیر را وارد کنید<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_8_24" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_8_24").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="xml_tag">&lt;script</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;text/javascript&quot;</span><span class="xml_tag">&gt;</span><span class="html_script">
jQuery<span class="c_symbol">(</span><span class="c_type">function</span><span class="c_symbol">(</span>$<span class="c_symbol">)</span> <span class="c_symbol">{</span>
    $<span class="c_symbol">(</span><span class="c_string">&quot;.clickedbuttons&quot;</span><span class="c_symbol">)</span>.hide<span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
    $<span class="c_symbol">(</span><span class="c_string">&quot;.buttons&quot;</span><span class="c_symbol">)</span>.click<span class="c_symbol">(</span><span class="c_type">function</span><span class="c_symbol">(</span><span class="c_symbol">)</span> <span class="c_symbol">{</span>
	   $<span class="c_symbol">(</span><span class="c_string">&quot;.sidebar&quot;</span><span class="c_symbol">)</span>.animate<span class="c_symbol">(</span><span class="c_symbol">{</span>height: <span class="c_string">&quot;hide&quot;</span><span class="c_symbol">,</span> opacity: <span class="c_number">0</span><span class="c_symbol">}</span><span class="c_symbol">,</span> <span class="c_number">500</span><span class="c_symbol">,</span>
		  <span class="c_type">function</span><span class="c_symbol">(</span><span class="c_symbol">)</span> <span class="c_symbol">{</span>
			 $<span class="c_symbol">(</span><span class="c_string">&quot;.forums&quot;</span><span class="c_symbol">)</span>.animate<span class="c_symbol">(</span><span class="c_symbol">{</span>width: <span class="c_string">&quot;100%&quot;</span><span class="c_symbol">}</span><span class="c_symbol">,</span> <span class="c_number">500</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
		  <span class="c_symbol">}</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
	   $<span class="c_symbol">(</span><span class="c_type">this</span><span class="c_symbol">)</span>.hide<span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
	   $<span class="c_symbol">(</span><span class="c_string">&quot;.clickedbuttons&quot;</span><span class="c_symbol">)</span>.show<span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
	   $.cookie<span class="c_symbol">(</span><span class="c_string">&quot;sidebar&quot;</span><span class="c_symbol">,</span><span class="c_string">&quot;collapsed&quot;</span><span class="c_symbol">,</span> <span class="c_symbol">{</span>expires: <span class="c_number">365</span><span class="c_symbol">}</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
	   <span class="c_type">return</span> <span class="c_type">false</span><span class="c_symbol">;</span>
    <span class="c_symbol">}</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
    $<span class="c_symbol">(</span><span class="c_string">&quot;.clickedbuttons&quot;</span><span class="c_symbol">)</span>.click<span class="c_symbol">(</span><span class="c_type">function</span><span class="c_symbol">(</span><span class="c_symbol">)</span> <span class="c_symbol">{</span>
	   $<span class="c_symbol">(</span><span class="c_string">&quot;.forums&quot;</span><span class="c_symbol">)</span>.animate<span class="c_symbol">(</span><span class="c_symbol">{</span>width: <span class="c_string">&quot;77%&quot;</span><span class="c_symbol">}</span><span class="c_symbol">,</span> <span class="c_number">500</span><span class="c_symbol">,</span>
		  <span class="c_type">function</span><span class="c_symbol">(</span><span class="c_symbol">)</span> <span class="c_symbol">{</span>
			 $<span class="c_symbol">(</span><span class="c_string">&quot;.sidebar&quot;</span><span class="c_symbol">)</span>.animate<span class="c_symbol">(</span><span class="c_symbol">{</span>height: <span class="c_string">&quot;show&quot;</span><span class="c_symbol">,</span> opacity: <span class="c_number">1</span><span class="c_symbol">}</span><span class="c_symbol">,</span> <span class="c_number">500</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
		  <span class="c_symbol">}</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
	   $<span class="c_symbol">(</span><span class="c_type">this</span><span class="c_symbol">)</span>.hide<span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
	   $<span class="c_symbol">(</span><span class="c_string">&quot;.buttons&quot;</span><span class="c_symbol">)</span>.show<span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
	   $.cookie<span class="c_symbol">(</span><span class="c_string">&quot;sidebar&quot;</span><span class="c_symbol">,</span><span class="c_string">&quot;expanded&quot;</span><span class="c_symbol">,</span> <span class="c_symbol">{</span>expires: <span class="c_number">365</span><span class="c_symbol">}</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
	   <span class="c_type">return</span> <span class="c_type">false</span><span class="c_symbol">;</span>
    <span class="c_symbol">}</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
    <span class="c_type">if</span><span class="c_symbol">(</span>$.cookie<span class="c_symbol">(</span><span class="c_string">&quot;sidebar&quot;</span><span class="c_symbol">)</span> <span class="c_symbol">=</span><span class="c_symbol">=</span> <span class="c_string">&quot;collapsed&quot;</span><span class="c_symbol">)</span> <span class="c_symbol">{</span>
	   $<span class="c_symbol">(</span><span class="c_string">&quot;.buttons&quot;</span><span class="c_symbol">)</span>.hide<span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
	   $<span class="c_symbol">(</span><span class="c_string">&quot;.clickedbuttons&quot;</span><span class="c_symbol">)</span>.show<span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
	   $<span class="c_symbol">(</span><span class="c_string">&quot;.forums&quot;</span><span class="c_symbol">)</span>.css<span class="c_symbol">(</span><span class="c_string">&quot;width&quot;</span><span class="c_symbol">,</span><span class="c_string">&quot;100%&quot;</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
	   $<span class="c_symbol">(</span><span class="c_string">&quot;.sidebar&quot;</span><span class="c_symbol">)</span>.hide<span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
    <span class="c_symbol">}</span><span class="c_symbol">;</span>
<span class="c_symbol">}</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
</span><span class="xml_tag">&lt;/script&gt;</span></code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<span style="font-weight: bold;">گام چهارم :</span> تصویرهای مورد نیاز برای این کار را در فایل های فشرده قرار داده ام . یک فایل حاوی دو تصویر برای ساید بار چپ و فایل دیگر حاوی دو تصویر برای ساید بار راست . تصویر ها را در پوشه ی images قرار دهید .<br />
<br />
<!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			leftsidebar1.8.rar</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2700">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/rar.gif" border="0" alt=".rar" title=".rar" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">2.49 KB</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">415 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1770229629</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --><br />
<!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			rightsidebar1.8.rar</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2701">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/rar.gif" border="0" alt=".rar" title=".rar" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">2.02 KB</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">450 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1770229588</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-weight: bold;">کار تمام است .</span> امید که بکار بیاید.</div></div>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[1.6] اضافه کردن آمار گرافیکی و متحرک به بخش آمار انجمن]]></title>
			<link>http://www.midorinco.ir/showthread.php?tid=1670</link>
			<pubDate>Sat, 14 May 2016 16:51:20 +0000</pubDate>
			<guid isPermaLink="false">http://www.midorinco.ir/showthread.php?tid=1670</guid>
			<description><![CDATA[<div style="text-align: CENTER;"><span style="text-shadow: 0px 5px 2px gray;"><span style="color: #FF0000;"><span style="font-size: medium;"><span style="font-weight: bold;">[1.6] اضافه کردن آمار گرافیکی و متحرک به بخش آمار انجمن</span></span></span></span></div>نخست به بخش آمار انجمن خودتان نگاهی بیاندازید و سپس <a href="http://www.midorinco.ir/stats.php" target="_blank">اینجا</a> را ببینید . در تصویر زیر نمونه ی اصلی و پیش فرض آمار را می توانید ببینید . <br />
<br />
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">تصویر آمار پیش فرض</font></strong></legend><br />
<div style="text-align: CENTER;"><br><br><img src="http://dl.midorinco.ir/others/mybb-amoozesh/graphic-stats/2016-05-13_134151.png" alt="picture" title="تصویر" style="max-width:100%;height:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;"/><br><br><br></div></fieldset></td></table>
<br />
و در تصویر زیر نتیجه ی این راهکار را میتوانید ببینید. آمار گرافیکی زیر بصورت متحرک نمایش داده می شود . (نمونه ی زنده را در <a href="http://www.midorinco.ir/stats.php" target="_blank">اینجا</a> ببینید)<br />
<br />
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">تصویر نهایی پس از راهکار</font></strong></legend><br />
<div style="text-align: CENTER;"><br><br><img src="http://dl.midorinco.ir/others/mybb-amoozesh/graphic-stats/1.6/1.6.png" alt="picture" title="تصویر" style="max-width:100%;height:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;"/><br><br><br></div></fieldset></td></table>
<br />
اگر متوجه اختلاف شدید و میخواهید مانند <a href="http://www.midorinco.ir/index.php" title="تالار میدوری" >تالار</a> میدوری دارای آمار گرافیکی باشید دست بکار شوید و مراحل زیر را گام به گام اجرا کنید .<br />
<br />
<fieldset style="background:#efefef url(images/post-deco/alert.png) top left 0% no-repeat;width:90%;background-color:#FCA9AB;border-left:2px solid #FF55FF;border-right:2px solid #FF55FF;border-top:2px solid #FF55FF;border-bottom:2px solid #FF55FF;margin:0 auto 4px;padding:3px 15px 3px 40px;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><blink><strong>هشدار</strong></blink></legend><br/><font color="darkred" size="3"><strong>متن پیام : </strong></font><br /><font color="black"> <br />
توجه کنید که این کار در دو نگارش مای بی بی یعنی نگارش های 1.6و 1.8  با هم کمی اختلاف دارند برای اجرای این راهکار در انجمن ساز نگارش 1.8 به <a href="http://www.midorinco.ir/showthread.php?tid=1669" target="_blank">اینجا</a> بروید چون در این بخش فقط برای انجمن ساز 1.6 راهکار قرار میدهم .<br />
</font><br /><br /></fieldset><br />
<br />
برای داشتن آمار گرافیکی نخست به مسیر زیر بروید<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; Statistics Templates &gt; بخش stats<br />
و کدهای زیر را پیدا کنید<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_9_99" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_9_99").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_symbol">&lt;</span>td <span class="php_keyword"><span class="php_keyword">class</span></span> <span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">trow1</span>&quot;</span> rowspan<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">3</span>&quot;</span> valign<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">top</span>&quot;</span><span class="php_symbol">&gt;</span>
<span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>ppd<span class="php_symbol">}</span> <span class="php_symbol">&lt;</span>strong<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$postsperday</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/strong<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>br /<span class="php_symbol">&gt;</span>
<span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>tpd<span class="php_symbol">}</span> <span class="php_symbol">&lt;</span>strong<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$threadsperday</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/strong<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>br /<span class="php_symbol">&gt;</span>
<span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>mpd<span class="php_symbol">}</span> <span class="php_symbol">&lt;</span>strong<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$membersperday</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/strong<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>br /<span class="php_symbol">&gt;</span>
<span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>ppm<span class="php_symbol">}</span> <span class="php_symbol">&lt;</span>strong<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$postspermember</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/strong<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>br /<span class="php_symbol">&gt;</span>
<span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>rpt<span class="php_symbol">}</span> <span class="php_symbol">&lt;</span>strong<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$repliesperthread</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/strong<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>/td<span class="php_symbol">&gt;</span></code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
کدهای زیر را جایگزین کدهای بالا کنید<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_10_42" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_10_42").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_symbol">&lt;</span><span class="php_symbol">!</span><span class="php_symbol">-</span><span class="php_symbol">-</span><span class="php_keyword">new</span> stats begin<span class="php_symbol">-</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>style<span class="php_symbol">&gt;</span>
<span class="php_symbol">@</span>keyframes bake<span class="php_symbol">-</span>pie<span class="php_symbol">{</span>from<span class="php_symbol">{</span>transform:rotate<span class="php_symbol">(</span><span class="php_number">0deg</span><span class="php_symbol">)</span> translate3d<span class="php_symbol">(</span><span class="php_number">0</span><span class="php_symbol">,</span><span class="php_number">0</span><span class="php_symbol">,</span><span class="php_number">0</span><span class="php_symbol">)</span><span class="php_symbol">;</span><span class="php_symbol">}</span><span class="php_symbol">}</span>
main<span class="php_symbol">{</span>width:<span class="php_number">400px</span><span class="php_symbol">;</span>margin:<span class="php_number">30px</span> auto<span class="php_symbol">;</span><span class="php_symbol">}</span>
section<span class="php_symbol">{</span>margin<span class="php_symbol">-</span>top:<span class="php_number">30px</span><span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>pieID<span class="php_symbol">{</span>display:inline<span class="php_symbol">-</span>block<span class="php_symbol">;</span>vertical<span class="php_symbol">-</span>align: top<span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>pie<span class="php_symbol">{</span>height:<span class="php_number">200px</span><span class="php_symbol">;</span>width:<span class="php_number">200px</span><span class="php_symbol">;</span>position:relative<span class="php_symbol">;</span>margin:<span class="php_number">0</span> <span class="php_number">30px</span> <span class="php_number">30px</span> <span class="php_number">0</span><span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>pie::before<span class="php_symbol">{</span>content:<span class="php_string_d">&quot;<span class="php_string"></span>&quot;</span><span class="php_symbol">;</span>display:block<span class="php_symbol">;</span>position:absolute<span class="php_symbol">;</span>z<span class="php_symbol">-</span>index:<span class="php_number">1</span><span class="php_symbol">;</span>width:<span class="php_number">100px</span><span class="php_symbol">;</span>height:<span class="php_number">100px</span><span class="php_symbol">;</span>background:#EEE<span class="php_symbol">;</span>border<span class="php_symbol">-</span>radius:<span class="php_number">50</span><span class="php_symbol">%</span><span class="php_symbol">;</span>top:<span class="php_number">50px</span><span class="php_symbol">;</span>left:<span class="php_number">50px</span><span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>pie::after<span class="php_symbol">{</span>content:<span class="php_string_d">&quot;<span class="php_string"></span>&quot;</span><span class="php_symbol">;</span>display:block<span class="php_symbol">;</span>width:<span class="php_number">120px</span><span class="php_symbol">;</span>height:<span class="php_number">2px</span><span class="php_symbol">;</span>background:rgba<span class="php_symbol">(</span><span class="php_number">0</span><span class="php_symbol">,</span><span class="php_number">0</span><span class="php_symbol">,</span><span class="php_number">0</span><span class="php_symbol">,</span><span class="php_number">0.1</span><span class="php_symbol">)</span><span class="php_symbol">;</span>border<span class="php_symbol">-</span>radius:<span class="php_number">50</span><span class="php_symbol">%</span><span class="php_symbol">;</span>box<span class="php_symbol">-</span>shadow:<span class="php_number">0</span> <span class="php_number">0</span> <span class="php_number">3px</span> <span class="php_number">4px</span> rgba<span class="php_symbol">(</span><span class="php_number">0</span><span class="php_symbol">,</span><span class="php_number">0</span><span class="php_symbol">,</span><span class="php_number">0</span><span class="php_symbol">,</span><span class="php_number">0.1</span><span class="php_symbol">)</span><span class="php_symbol">;</span>margin:<span class="php_number">220px</span> auto<span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>slice<span class="php_symbol">{</span>position:absolute<span class="php_symbol">;</span>width:<span class="php_number">200px</span><span class="php_symbol">;</span>height:<span class="php_number">200px</span><span class="php_symbol">;</span>clip:rect<span class="php_symbol">(</span><span class="php_number">0px</span><span class="php_symbol">,</span><span class="php_number">200px</span><span class="php_symbol">,</span><span class="php_number">200px</span><span class="php_symbol">,</span><span class="php_number">100px</span><span class="php_symbol">)</span><span class="php_symbol">;</span>animation:bake<span class="php_symbol">-</span>pie <span class="php_number">1s</span><span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>slice span<span class="php_symbol">{</span>display:block<span class="php_symbol">;</span>position:absolute<span class="php_symbol">;</span>top:<span class="php_number">0</span><span class="php_symbol">;</span>left:<span class="php_number">0</span><span class="php_symbol">;</span>background<span class="php_symbol">-</span>color:black<span class="php_symbol">;</span>width:<span class="php_number">200px</span><span class="php_symbol">;</span>height:<span class="php_number">200px</span><span class="php_symbol">;</span>border<span class="php_symbol">-</span>radius:<span class="php_number">50</span><span class="php_symbol">%</span><span class="php_symbol">;</span>clip:rect<span class="php_symbol">(</span><span class="php_number">0px</span><span class="php_symbol">,</span><span class="php_number">200px</span><span class="php_symbol">,</span><span class="php_number">200px</span><span class="php_symbol">,</span><span class="php_number">100px</span><span class="php_symbol">)</span><span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>legend<span class="php_symbol">{</span><span class="php_keyword">list</span><span class="php_symbol">-</span>style<span class="php_symbol">-</span>type:none<span class="php_symbol">;</span>padding:<span class="php_number">0</span><span class="php_symbol">;</span>margin:<span class="php_number">0</span><span class="php_symbol">;</span>background:#FFF<span class="php_symbol">;</span>padding:<span class="php_number">15px</span><span class="php_symbol">;</span>font<span class="php_symbol">-</span>size:<span class="php_number">13px</span><span class="php_symbol">;</span>box<span class="php_symbol">-</span>shadow:<span class="php_number">1px</span> <span class="php_number">1px</span> <span class="php_number">0</span> #DDD<span class="php_symbol">,</span> <span class="php_number">2px</span> <span class="php_number">2px</span> <span class="php_number">0</span> #BBB<span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>legend li<span class="php_symbol">{</span>width:<span class="php_number">250px</span><span class="php_symbol">;</span>height:<span class="php_number">1.25em</span><span class="php_symbol">;</span>margin<span class="php_symbol">-</span>bottom:<span class="php_number">0.7em</span><span class="php_symbol">;</span>padding<span class="php_symbol">-</span>left:<span class="php_number">0.5em</span><span class="php_symbol">;</span>border<span class="php_symbol">-</span>left:<span class="php_number">1.25em</span> solid black<span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>legend em<span class="php_symbol">{</span>font<span class="php_symbol">-</span>style:normal<span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>legend span<span class="php_symbol">{</span><span class="php_keyword">float</span>:left<span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">&lt;</span>/style<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>td <span class="php_keyword"><span class="php_keyword">class</span></span> <span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">trow1</span>&quot;</span> rowspan<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">3</span>&quot;</span> valign<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">top</span>&quot;</span><span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>section<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>div <span class="php_keyword"><span class="php_keyword">class</span></span> <span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">pieID pie</span>&quot;</span><span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/div<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>ul <span class="php_keyword"><span class="php_keyword">class</span></span> <span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">pieID legend</span>&quot;</span><span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>li<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>ppd<span class="php_symbol">}</span><span class="php_symbol">&lt;</span>span<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$postsperday</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/span<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/li<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>li<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>tpd<span class="php_symbol">}</span><span class="php_symbol">&lt;</span>span<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$threadsperday</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/span<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/li<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>li<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>mpd<span class="php_symbol">}</span><span class="php_symbol">&lt;</span>span<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$membersperday</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/span<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/li<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>li<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>ppm<span class="php_symbol">}</span><span class="php_symbol">&lt;</span>span<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$postspermember</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/span<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/li<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>li<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>tpm<span class="php_symbol">}</span><span class="php_symbol">&lt;</span>span<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$threadspermember</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/span<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/li<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>li<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>rpt<span class="php_symbol">}</span><span class="php_symbol">&lt;</span>span<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$repliesperthread</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/span<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/li<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>/ul<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/section<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>/td<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>/main<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>script src<span class="php_symbol">=</span><span class="php_string">'{$mybb-&gt;settings['</span>bburl<span class="php_string">']}/js/jquery.min.js'</span><span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/script<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>script type<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">text/javascript</span>&quot;</span> src<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string"><span class="php_string_code">{<span class="php_string_var">$mybb</span>-&gt;settings['bburl']}</span>/js/index.js</span>&quot;</span><span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/script<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span><span class="php_symbol">!</span><span class="php_symbol">-</span><span class="php_symbol">-</span><span class="php_keyword">new</span> stats end<span class="php_symbol">-</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span></code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<span style="font-weight: bold;">گام دوم:</span> پوشه ی موجود در فایل فشرده را در هاست خودتان <a href="http://www.midorinco.ir/index.php" title="آپلود" >آپلود</a> کنید.<br />
<br />
<!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			js.rar</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2694">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/rar.gif" border="0" alt=".rar" title=".rar" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">28.8 KB</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">384 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1771448039</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-weight: bold;">گام سوم:</span> برای اضافه کردن آمار مربوط به "تعداد موضوعات هر عضو :" در روت انجمنتان فایل stats.php را باز کرده و  پس از کد های زیر<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_11_91" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_11_91").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_var">$postspermember</span> <span class="php_symbol">=</span> my_number_format<span class="php_symbol">(</span>round<span class="php_symbol">(</span><span class="php_symbol">(</span><span class="php_var">$stats</span><span class="php_symbol">[</span><span class="php_string">'numposts'</span><span class="php_symbol">]</span> / <span class="php_var">$stats</span><span class="php_symbol">[</span><span class="php_string">'numusers'</span><span class="php_symbol">]</span><span class="php_symbol">)</span><span class="php_symbol">,</span> <span class="php_number">2</span><span class="php_symbol">)</span><span class="php_symbol">)</span><span class="php_symbol">;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
کدهای زیر را اضافه کنید<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_12_11" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_12_11").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_var">$threadspermember</span> <span class="php_symbol">=</span> my_number_format<span class="php_symbol">(</span>round<span class="php_symbol">(</span><span class="php_symbol">(</span><span class="php_var">$stats</span><span class="php_symbol">[</span><span class="php_string">'numthreads'</span><span class="php_symbol">]</span> / <span class="php_var">$stats</span><span class="php_symbol">[</span><span class="php_string">'numusers'</span><span class="php_symbol">]</span><span class="php_symbol">)</span><span class="php_symbol">,</span> <span class="php_number">2</span><span class="php_symbol">)</span><span class="php_symbol">)</span><span class="php_symbol">;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<span style="font-weight: bold;">کار تمام است .</span> امید که بکار بیاید.]]></description>
			<content:encoded><![CDATA[<div style="text-align: CENTER;"><span style="text-shadow: 0px 5px 2px gray;"><span style="color: #FF0000;"><span style="font-size: medium;"><span style="font-weight: bold;">[1.6] اضافه کردن آمار گرافیکی و متحرک به بخش آمار انجمن</span></span></span></span></div>نخست به بخش آمار انجمن خودتان نگاهی بیاندازید و سپس <a href="http://www.midorinco.ir/stats.php" target="_blank">اینجا</a> را ببینید . در تصویر زیر نمونه ی اصلی و پیش فرض آمار را می توانید ببینید . <br />
<br />
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">تصویر آمار پیش فرض</font></strong></legend><br />
<div style="text-align: CENTER;"><br><br><img src="http://dl.midorinco.ir/others/mybb-amoozesh/graphic-stats/2016-05-13_134151.png" alt="picture" title="تصویر" style="max-width:100%;height:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;"/><br><br><br></div></fieldset></td></table>
<br />
و در تصویر زیر نتیجه ی این راهکار را میتوانید ببینید. آمار گرافیکی زیر بصورت متحرک نمایش داده می شود . (نمونه ی زنده را در <a href="http://www.midorinco.ir/stats.php" target="_blank">اینجا</a> ببینید)<br />
<br />
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">تصویر نهایی پس از راهکار</font></strong></legend><br />
<div style="text-align: CENTER;"><br><br><img src="http://dl.midorinco.ir/others/mybb-amoozesh/graphic-stats/1.6/1.6.png" alt="picture" title="تصویر" style="max-width:100%;height:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;"/><br><br><br></div></fieldset></td></table>
<br />
اگر متوجه اختلاف شدید و میخواهید مانند <a href="http://www.midorinco.ir/index.php" title="تالار میدوری" >تالار</a> میدوری دارای آمار گرافیکی باشید دست بکار شوید و مراحل زیر را گام به گام اجرا کنید .<br />
<br />
<fieldset style="background:#efefef url(images/post-deco/alert.png) top left 0% no-repeat;width:90%;background-color:#FCA9AB;border-left:2px solid #FF55FF;border-right:2px solid #FF55FF;border-top:2px solid #FF55FF;border-bottom:2px solid #FF55FF;margin:0 auto 4px;padding:3px 15px 3px 40px;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><blink><strong>هشدار</strong></blink></legend><br/><font color="darkred" size="3"><strong>متن پیام : </strong></font><br /><font color="black"> <br />
توجه کنید که این کار در دو نگارش مای بی بی یعنی نگارش های 1.6و 1.8  با هم کمی اختلاف دارند برای اجرای این راهکار در انجمن ساز نگارش 1.8 به <a href="http://www.midorinco.ir/showthread.php?tid=1669" target="_blank">اینجا</a> بروید چون در این بخش فقط برای انجمن ساز 1.6 راهکار قرار میدهم .<br />
</font><br /><br /></fieldset><br />
<br />
برای داشتن آمار گرافیکی نخست به مسیر زیر بروید<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; Statistics Templates &gt; بخش stats<br />
و کدهای زیر را پیدا کنید<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_9_99" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_9_99").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_symbol">&lt;</span>td <span class="php_keyword"><span class="php_keyword">class</span></span> <span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">trow1</span>&quot;</span> rowspan<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">3</span>&quot;</span> valign<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">top</span>&quot;</span><span class="php_symbol">&gt;</span>
<span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>ppd<span class="php_symbol">}</span> <span class="php_symbol">&lt;</span>strong<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$postsperday</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/strong<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>br /<span class="php_symbol">&gt;</span>
<span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>tpd<span class="php_symbol">}</span> <span class="php_symbol">&lt;</span>strong<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$threadsperday</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/strong<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>br /<span class="php_symbol">&gt;</span>
<span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>mpd<span class="php_symbol">}</span> <span class="php_symbol">&lt;</span>strong<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$membersperday</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/strong<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>br /<span class="php_symbol">&gt;</span>
<span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>ppm<span class="php_symbol">}</span> <span class="php_symbol">&lt;</span>strong<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$postspermember</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/strong<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>br /<span class="php_symbol">&gt;</span>
<span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>rpt<span class="php_symbol">}</span> <span class="php_symbol">&lt;</span>strong<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$repliesperthread</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/strong<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>/td<span class="php_symbol">&gt;</span></code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
کدهای زیر را جایگزین کدهای بالا کنید<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_10_42" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_10_42").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_symbol">&lt;</span><span class="php_symbol">!</span><span class="php_symbol">-</span><span class="php_symbol">-</span><span class="php_keyword">new</span> stats begin<span class="php_symbol">-</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>style<span class="php_symbol">&gt;</span>
<span class="php_symbol">@</span>keyframes bake<span class="php_symbol">-</span>pie<span class="php_symbol">{</span>from<span class="php_symbol">{</span>transform:rotate<span class="php_symbol">(</span><span class="php_number">0deg</span><span class="php_symbol">)</span> translate3d<span class="php_symbol">(</span><span class="php_number">0</span><span class="php_symbol">,</span><span class="php_number">0</span><span class="php_symbol">,</span><span class="php_number">0</span><span class="php_symbol">)</span><span class="php_symbol">;</span><span class="php_symbol">}</span><span class="php_symbol">}</span>
main<span class="php_symbol">{</span>width:<span class="php_number">400px</span><span class="php_symbol">;</span>margin:<span class="php_number">30px</span> auto<span class="php_symbol">;</span><span class="php_symbol">}</span>
section<span class="php_symbol">{</span>margin<span class="php_symbol">-</span>top:<span class="php_number">30px</span><span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>pieID<span class="php_symbol">{</span>display:inline<span class="php_symbol">-</span>block<span class="php_symbol">;</span>vertical<span class="php_symbol">-</span>align: top<span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>pie<span class="php_symbol">{</span>height:<span class="php_number">200px</span><span class="php_symbol">;</span>width:<span class="php_number">200px</span><span class="php_symbol">;</span>position:relative<span class="php_symbol">;</span>margin:<span class="php_number">0</span> <span class="php_number">30px</span> <span class="php_number">30px</span> <span class="php_number">0</span><span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>pie::before<span class="php_symbol">{</span>content:<span class="php_string_d">&quot;<span class="php_string"></span>&quot;</span><span class="php_symbol">;</span>display:block<span class="php_symbol">;</span>position:absolute<span class="php_symbol">;</span>z<span class="php_symbol">-</span>index:<span class="php_number">1</span><span class="php_symbol">;</span>width:<span class="php_number">100px</span><span class="php_symbol">;</span>height:<span class="php_number">100px</span><span class="php_symbol">;</span>background:#EEE<span class="php_symbol">;</span>border<span class="php_symbol">-</span>radius:<span class="php_number">50</span><span class="php_symbol">%</span><span class="php_symbol">;</span>top:<span class="php_number">50px</span><span class="php_symbol">;</span>left:<span class="php_number">50px</span><span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>pie::after<span class="php_symbol">{</span>content:<span class="php_string_d">&quot;<span class="php_string"></span>&quot;</span><span class="php_symbol">;</span>display:block<span class="php_symbol">;</span>width:<span class="php_number">120px</span><span class="php_symbol">;</span>height:<span class="php_number">2px</span><span class="php_symbol">;</span>background:rgba<span class="php_symbol">(</span><span class="php_number">0</span><span class="php_symbol">,</span><span class="php_number">0</span><span class="php_symbol">,</span><span class="php_number">0</span><span class="php_symbol">,</span><span class="php_number">0.1</span><span class="php_symbol">)</span><span class="php_symbol">;</span>border<span class="php_symbol">-</span>radius:<span class="php_number">50</span><span class="php_symbol">%</span><span class="php_symbol">;</span>box<span class="php_symbol">-</span>shadow:<span class="php_number">0</span> <span class="php_number">0</span> <span class="php_number">3px</span> <span class="php_number">4px</span> rgba<span class="php_symbol">(</span><span class="php_number">0</span><span class="php_symbol">,</span><span class="php_number">0</span><span class="php_symbol">,</span><span class="php_number">0</span><span class="php_symbol">,</span><span class="php_number">0.1</span><span class="php_symbol">)</span><span class="php_symbol">;</span>margin:<span class="php_number">220px</span> auto<span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>slice<span class="php_symbol">{</span>position:absolute<span class="php_symbol">;</span>width:<span class="php_number">200px</span><span class="php_symbol">;</span>height:<span class="php_number">200px</span><span class="php_symbol">;</span>clip:rect<span class="php_symbol">(</span><span class="php_number">0px</span><span class="php_symbol">,</span><span class="php_number">200px</span><span class="php_symbol">,</span><span class="php_number">200px</span><span class="php_symbol">,</span><span class="php_number">100px</span><span class="php_symbol">)</span><span class="php_symbol">;</span>animation:bake<span class="php_symbol">-</span>pie <span class="php_number">1s</span><span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>slice span<span class="php_symbol">{</span>display:block<span class="php_symbol">;</span>position:absolute<span class="php_symbol">;</span>top:<span class="php_number">0</span><span class="php_symbol">;</span>left:<span class="php_number">0</span><span class="php_symbol">;</span>background<span class="php_symbol">-</span>color:black<span class="php_symbol">;</span>width:<span class="php_number">200px</span><span class="php_symbol">;</span>height:<span class="php_number">200px</span><span class="php_symbol">;</span>border<span class="php_symbol">-</span>radius:<span class="php_number">50</span><span class="php_symbol">%</span><span class="php_symbol">;</span>clip:rect<span class="php_symbol">(</span><span class="php_number">0px</span><span class="php_symbol">,</span><span class="php_number">200px</span><span class="php_symbol">,</span><span class="php_number">200px</span><span class="php_symbol">,</span><span class="php_number">100px</span><span class="php_symbol">)</span><span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>legend<span class="php_symbol">{</span><span class="php_keyword">list</span><span class="php_symbol">-</span>style<span class="php_symbol">-</span>type:none<span class="php_symbol">;</span>padding:<span class="php_number">0</span><span class="php_symbol">;</span>margin:<span class="php_number">0</span><span class="php_symbol">;</span>background:#FFF<span class="php_symbol">;</span>padding:<span class="php_number">15px</span><span class="php_symbol">;</span>font<span class="php_symbol">-</span>size:<span class="php_number">13px</span><span class="php_symbol">;</span>box<span class="php_symbol">-</span>shadow:<span class="php_number">1px</span> <span class="php_number">1px</span> <span class="php_number">0</span> #DDD<span class="php_symbol">,</span> <span class="php_number">2px</span> <span class="php_number">2px</span> <span class="php_number">0</span> #BBB<span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>legend li<span class="php_symbol">{</span>width:<span class="php_number">250px</span><span class="php_symbol">;</span>height:<span class="php_number">1.25em</span><span class="php_symbol">;</span>margin<span class="php_symbol">-</span>bottom:<span class="php_number">0.7em</span><span class="php_symbol">;</span>padding<span class="php_symbol">-</span>left:<span class="php_number">0.5em</span><span class="php_symbol">;</span>border<span class="php_symbol">-</span>left:<span class="php_number">1.25em</span> solid black<span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>legend em<span class="php_symbol">{</span>font<span class="php_symbol">-</span>style:normal<span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>legend span<span class="php_symbol">{</span><span class="php_keyword">float</span>:left<span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">&lt;</span>/style<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>td <span class="php_keyword"><span class="php_keyword">class</span></span> <span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">trow1</span>&quot;</span> rowspan<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">3</span>&quot;</span> valign<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">top</span>&quot;</span><span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>section<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>div <span class="php_keyword"><span class="php_keyword">class</span></span> <span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">pieID pie</span>&quot;</span><span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/div<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>ul <span class="php_keyword"><span class="php_keyword">class</span></span> <span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">pieID legend</span>&quot;</span><span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>li<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>ppd<span class="php_symbol">}</span><span class="php_symbol">&lt;</span>span<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$postsperday</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/span<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/li<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>li<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>tpd<span class="php_symbol">}</span><span class="php_symbol">&lt;</span>span<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$threadsperday</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/span<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/li<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>li<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>mpd<span class="php_symbol">}</span><span class="php_symbol">&lt;</span>span<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$membersperday</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/span<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/li<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>li<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>ppm<span class="php_symbol">}</span><span class="php_symbol">&lt;</span>span<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$postspermember</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/span<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/li<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>li<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>tpm<span class="php_symbol">}</span><span class="php_symbol">&lt;</span>span<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$threadspermember</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/span<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/li<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>li<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>rpt<span class="php_symbol">}</span><span class="php_symbol">&lt;</span>span<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$repliesperthread</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/span<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/li<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>/ul<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/section<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>/td<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>/main<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>script src<span class="php_symbol">=</span><span class="php_string">'{$mybb-&gt;settings['</span>bburl<span class="php_string">']}/js/jquery.min.js'</span><span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/script<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>script type<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">text/javascript</span>&quot;</span> src<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string"><span class="php_string_code">{<span class="php_string_var">$mybb</span>-&gt;settings['bburl']}</span>/js/index.js</span>&quot;</span><span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/script<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span><span class="php_symbol">!</span><span class="php_symbol">-</span><span class="php_symbol">-</span><span class="php_keyword">new</span> stats end<span class="php_symbol">-</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span></code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<span style="font-weight: bold;">گام دوم:</span> پوشه ی موجود در فایل فشرده را در هاست خودتان <a href="http://www.midorinco.ir/index.php" title="آپلود" >آپلود</a> کنید.<br />
<br />
<!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			js.rar</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2694">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/rar.gif" border="0" alt=".rar" title=".rar" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">28.8 KB</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">384 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1771448039</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-weight: bold;">گام سوم:</span> برای اضافه کردن آمار مربوط به "تعداد موضوعات هر عضو :" در روت انجمنتان فایل stats.php را باز کرده و  پس از کد های زیر<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_11_91" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_11_91").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_var">$postspermember</span> <span class="php_symbol">=</span> my_number_format<span class="php_symbol">(</span>round<span class="php_symbol">(</span><span class="php_symbol">(</span><span class="php_var">$stats</span><span class="php_symbol">[</span><span class="php_string">'numposts'</span><span class="php_symbol">]</span> / <span class="php_var">$stats</span><span class="php_symbol">[</span><span class="php_string">'numusers'</span><span class="php_symbol">]</span><span class="php_symbol">)</span><span class="php_symbol">,</span> <span class="php_number">2</span><span class="php_symbol">)</span><span class="php_symbol">)</span><span class="php_symbol">;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
کدهای زیر را اضافه کنید<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_12_11" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_12_11").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_var">$threadspermember</span> <span class="php_symbol">=</span> my_number_format<span class="php_symbol">(</span>round<span class="php_symbol">(</span><span class="php_symbol">(</span><span class="php_var">$stats</span><span class="php_symbol">[</span><span class="php_string">'numthreads'</span><span class="php_symbol">]</span> / <span class="php_var">$stats</span><span class="php_symbol">[</span><span class="php_string">'numusers'</span><span class="php_symbol">]</span><span class="php_symbol">)</span><span class="php_symbol">,</span> <span class="php_number">2</span><span class="php_symbol">)</span><span class="php_symbol">)</span><span class="php_symbol">;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<span style="font-weight: bold;">کار تمام است .</span> امید که بکار بیاید.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[1.8] اضافه کردن آمار گرافیکی و متحرک به بخش آمار انجمن]]></title>
			<link>http://www.midorinco.ir/showthread.php?tid=1669</link>
			<pubDate>Sat, 14 May 2016 16:37:42 +0000</pubDate>
			<guid isPermaLink="false">http://www.midorinco.ir/showthread.php?tid=1669</guid>
			<description><![CDATA[<div style="text-align: CENTER;"><span style="text-shadow: 0px 5px 2px gray;"><span style="font-weight: bold;"><span style="color: #FF0000;"><span style="font-size: medium;">[1.8] </span></span><span style="color: #FF0000;"><span style="font-size: medium;">اضافه کردن آمار گرافیکی و متحرک به بخش آمار انجمن</span></span></span></span></div>نخست به بخش آمار انجمن خودتان نگاهی بیاندازید و سپس <a href="http://www.midorinco.ir/stats.php" target="_blank">اینجا</a> را ببینید . در تصویر زیر نمونه ی اصلی و پیش فرض آمار را می توانید ببینید . <br />
<br />
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">تصویر آمار پیش فرض</font></strong></legend><br />
<div style="text-align: CENTER;"><br><br><img src="http://dl.midorinco.ir/others/mybb-amoozesh/graphic-stats/1.8.png" alt="picture" title="تصویر" style="max-width:100%;height:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;"/><br><br><br></div></fieldset></td></table>
<br />
و در تصویر زیر نتیجه ی این راهکار را میتوانید ببینید. آمار گرافیکی زیر بصورت متحرک نمایش داده می شود . (نمونه ی زنده را در <a href="http://www.midorinco.ir/stats.php" target="_blank">اینجا</a> ببینید)<br />
<br />
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">تصویر نهایی پس از راهکار</font></strong></legend><br />
<div style="text-align: CENTER;"><br><br><img src="http://dl.midorinco.ir/others/mybb-amoozesh/graphic-stats/1.8/1.8.png" alt="picture" title="تصویر" style="max-width:100%;height:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;"/><br><br><br></div></fieldset></td></table>
<br />
اگر متوجه اختلاف شدید و میخواهید مانند <a href="http://www.midorinco.ir/index.php" title="تالار میدوری" >تالار</a> میدوری دارای آمار گرافیکی باشید دست بکار شوید و مراحل زیر را گام به گام اجرا کنید .<br />
<br />
<fieldset style="background:#efefef url(images/post-deco/alert.png) top left 0% no-repeat;width:90%;background-color:#FCA9AB;border-left:2px solid #FF55FF;border-right:2px solid #FF55FF;border-top:2px solid #FF55FF;border-bottom:2px solid #FF55FF;margin:0 auto 4px;padding:3px 15px 3px 40px;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><blink><strong>هشدار</strong></blink></legend><br/><font color="darkred" size="3"><strong>متن پیام : </strong></font><br /><font color="black"> <br />
توجه کنید که این کار در دو نگارش مای بی بی یعنی نگارش های 1.6و 1.8 با هم  کمی اختلاف دارند برای اجرای این راهکار در انجمن ساز نگارش 1.6 به <a href="http://www.midorinco.ir/showthread.php?tid=1670" target="_blank">اینجا</a> بروید چون در این بخش فقط برای انجمن ساز 1.8 راهکار قرار میدهم .<br />
</font><br /><br /></fieldset><br />
<br />
برای داشتن آمار گرافیکی نخست به مسیر زیر بروید<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; قالب‌های آمــار &gt; بخش stats<br />
و کدهای زیر را پیدا کنید<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_13_50" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_13_50").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_symbol">&lt;</span>td <span class="php_keyword"><span class="php_keyword">class</span></span> <span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">trow1</span>&quot;</span> rowspan<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">3</span>&quot;</span> valign<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">top</span>&quot;</span><span class="php_symbol">&gt;</span>
<span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>ppd<span class="php_symbol">}</span> <span class="php_symbol">&lt;</span>strong<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$postsperday</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/strong<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>br /<span class="php_symbol">&gt;</span>
<span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>tpd<span class="php_symbol">}</span> <span class="php_symbol">&lt;</span>strong<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$threadsperday</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/strong<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>br /<span class="php_symbol">&gt;</span>
<span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>mpd<span class="php_symbol">}</span> <span class="php_symbol">&lt;</span>strong<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$membersperday</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/strong<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>br /<span class="php_symbol">&gt;</span>
<span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>ppm<span class="php_symbol">}</span> <span class="php_symbol">&lt;</span>strong<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$postspermember</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/strong<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>br /<span class="php_symbol">&gt;</span>
<span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>rpt<span class="php_symbol">}</span> <span class="php_symbol">&lt;</span>strong<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$repliesperthread</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/strong<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>/td<span class="php_symbol">&gt;</span></code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
کدهای زیر را جایگزین کدهای بالا کنید<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_14_67" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_14_67").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_symbol">&lt;</span><span class="php_symbol">!</span><span class="php_symbol">-</span><span class="php_symbol">-</span><span class="php_keyword">new</span> stats begin<span class="php_symbol">-</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>style<span class="php_symbol">&gt;</span>
<span class="php_symbol">@</span>keyframes bake<span class="php_symbol">-</span>pie<span class="php_symbol">{</span>from<span class="php_symbol">{</span>transform:rotate<span class="php_symbol">(</span><span class="php_number">0deg</span><span class="php_symbol">)</span> translate3d<span class="php_symbol">(</span><span class="php_number">0</span><span class="php_symbol">,</span><span class="php_number">0</span><span class="php_symbol">,</span><span class="php_number">0</span><span class="php_symbol">)</span><span class="php_symbol">;</span><span class="php_symbol">}</span><span class="php_symbol">}</span>
main<span class="php_symbol">{</span>width:<span class="php_number">400px</span><span class="php_symbol">;</span>margin:<span class="php_number">30px</span> auto<span class="php_symbol">;</span><span class="php_symbol">}</span>
section<span class="php_symbol">{</span>margin<span class="php_symbol">-</span>top:<span class="php_number">30px</span><span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>pieID<span class="php_symbol">{</span>display:inline<span class="php_symbol">-</span>block<span class="php_symbol">;</span>vertical<span class="php_symbol">-</span>align: top<span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>pie<span class="php_symbol">{</span>height:<span class="php_number">200px</span><span class="php_symbol">;</span>width:<span class="php_number">200px</span><span class="php_symbol">;</span>position:relative<span class="php_symbol">;</span>margin:<span class="php_number">0</span> <span class="php_number">30px</span> <span class="php_number">30px</span> <span class="php_number">0</span><span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>pie::before<span class="php_symbol">{</span>content:<span class="php_string_d">&quot;<span class="php_string"></span>&quot;</span><span class="php_symbol">;</span>display:block<span class="php_symbol">;</span>position:absolute<span class="php_symbol">;</span>z<span class="php_symbol">-</span>index:<span class="php_number">1</span><span class="php_symbol">;</span>width:<span class="php_number">100px</span><span class="php_symbol">;</span>height:<span class="php_number">100px</span><span class="php_symbol">;</span>background:#EEE<span class="php_symbol">;</span>border<span class="php_symbol">-</span>radius:<span class="php_number">50</span><span class="php_symbol">%</span><span class="php_symbol">;</span>top:<span class="php_number">50px</span><span class="php_symbol">;</span>left:<span class="php_number">50px</span><span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>pie::after<span class="php_symbol">{</span>content:<span class="php_string_d">&quot;<span class="php_string"></span>&quot;</span><span class="php_symbol">;</span>display:block<span class="php_symbol">;</span>width:<span class="php_number">120px</span><span class="php_symbol">;</span>height:<span class="php_number">2px</span><span class="php_symbol">;</span>background:rgba<span class="php_symbol">(</span><span class="php_number">0</span><span class="php_symbol">,</span><span class="php_number">0</span><span class="php_symbol">,</span><span class="php_number">0</span><span class="php_symbol">,</span><span class="php_number">0.1</span><span class="php_symbol">)</span><span class="php_symbol">;</span>border<span class="php_symbol">-</span>radius:<span class="php_number">50</span><span class="php_symbol">%</span><span class="php_symbol">;</span>box<span class="php_symbol">-</span>shadow:<span class="php_number">0</span> <span class="php_number">0</span> <span class="php_number">3px</span> <span class="php_number">4px</span> rgba<span class="php_symbol">(</span><span class="php_number">0</span><span class="php_symbol">,</span><span class="php_number">0</span><span class="php_symbol">,</span><span class="php_number">0</span><span class="php_symbol">,</span><span class="php_number">0.1</span><span class="php_symbol">)</span><span class="php_symbol">;</span>margin:<span class="php_number">220px</span> auto<span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>slice<span class="php_symbol">{</span>position:absolute<span class="php_symbol">;</span>width:<span class="php_number">200px</span><span class="php_symbol">;</span>height:<span class="php_number">200px</span><span class="php_symbol">;</span>clip:rect<span class="php_symbol">(</span><span class="php_number">0px</span><span class="php_symbol">,</span><span class="php_number">200px</span><span class="php_symbol">,</span><span class="php_number">200px</span><span class="php_symbol">,</span><span class="php_number">100px</span><span class="php_symbol">)</span><span class="php_symbol">;</span>animation:bake<span class="php_symbol">-</span>pie <span class="php_number">1s</span><span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>slice span<span class="php_symbol">{</span>display:block<span class="php_symbol">;</span>position:absolute<span class="php_symbol">;</span>top:<span class="php_number">0</span><span class="php_symbol">;</span>left:<span class="php_number">0</span><span class="php_symbol">;</span>background<span class="php_symbol">-</span>color:black<span class="php_symbol">;</span>width:<span class="php_number">200px</span><span class="php_symbol">;</span>height:<span class="php_number">200px</span><span class="php_symbol">;</span>border<span class="php_symbol">-</span>radius:<span class="php_number">50</span><span class="php_symbol">%</span><span class="php_symbol">;</span>clip:rect<span class="php_symbol">(</span><span class="php_number">0px</span><span class="php_symbol">,</span><span class="php_number">200px</span><span class="php_symbol">,</span><span class="php_number">200px</span><span class="php_symbol">,</span><span class="php_number">100px</span><span class="php_symbol">)</span><span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>legend<span class="php_symbol">{</span><span class="php_keyword">list</span><span class="php_symbol">-</span>style<span class="php_symbol">-</span>type:none<span class="php_symbol">;</span>padding:<span class="php_number">0</span><span class="php_symbol">;</span>margin:<span class="php_number">0</span><span class="php_symbol">;</span>background:#FFF<span class="php_symbol">;</span>padding:<span class="php_number">15px</span><span class="php_symbol">;</span>font<span class="php_symbol">-</span>size:<span class="php_number">13px</span><span class="php_symbol">;</span>box<span class="php_symbol">-</span>shadow:<span class="php_number">1px</span> <span class="php_number">1px</span> <span class="php_number">0</span> #DDD<span class="php_symbol">,</span> <span class="php_number">2px</span> <span class="php_number">2px</span> <span class="php_number">0</span> #BBB<span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>legend li<span class="php_symbol">{</span>width:<span class="php_number">250px</span><span class="php_symbol">;</span>height:<span class="php_number">1.25em</span><span class="php_symbol">;</span>margin<span class="php_symbol">-</span>bottom:<span class="php_number">0.7em</span><span class="php_symbol">;</span>padding<span class="php_symbol">-</span>left:<span class="php_number">0.5em</span><span class="php_symbol">;</span>border<span class="php_symbol">-</span>left:<span class="php_number">1.25em</span> solid black<span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>legend em<span class="php_symbol">{</span>font<span class="php_symbol">-</span>style:normal<span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>legend span<span class="php_symbol">{</span><span class="php_keyword">float</span>:left<span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">&lt;</span>/style<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>td <span class="php_keyword"><span class="php_keyword">class</span></span> <span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">trow1</span>&quot;</span> rowspan<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">3</span>&quot;</span> valign<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">top</span>&quot;</span><span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>section<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>div <span class="php_keyword"><span class="php_keyword">class</span></span> <span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">pieID pie</span>&quot;</span><span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/div<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>ul <span class="php_keyword"><span class="php_keyword">class</span></span> <span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">pieID legend</span>&quot;</span><span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>li<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>ppd<span class="php_symbol">}</span><span class="php_symbol">&lt;</span>span<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$postsperday</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/span<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/li<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>li<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>tpd<span class="php_symbol">}</span><span class="php_symbol">&lt;</span>span<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$threadsperday</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/span<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/li<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>li<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>mpd<span class="php_symbol">}</span><span class="php_symbol">&lt;</span>span<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$membersperday</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/span<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/li<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>li<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>ppm<span class="php_symbol">}</span><span class="php_symbol">&lt;</span>span<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$postspermember</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/span<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/li<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>li<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>tpm<span class="php_symbol">}</span><span class="php_symbol">&lt;</span>span<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$threadspermember</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/span<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/li<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>li<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>rpt<span class="php_symbol">}</span><span class="php_symbol">&lt;</span>span<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$repliesperthread</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/span<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/li<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>/ul<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/section<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>/td<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>/main<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>script type<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">text/javascript</span>&quot;</span> src<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string"><span class="php_string_code">{<span class="php_string_var">$mybb</span>-&gt;settings['bburl']}</span>/js/index.js</span>&quot;</span><span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/script<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span><span class="php_symbol">!</span><span class="php_symbol">-</span><span class="php_symbol">-</span><span class="php_keyword">new</span> stats end<span class="php_symbol">-</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span></code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<span style="font-weight: bold;">گام دوم:</span> پوشه ی موجود در فایل فشرده را در هاست خودتان <a href="http://www.midorinco.ir/index.php" title="آپلود" >آپلود</a> کنید.<br />
<span style="font-weight: bold;">کار تمام است .</span> امید که بکار بیاید.<br />
<!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			js.rar</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2692">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/rar.gif" border="0" alt=".rar" title=".rar" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">783 bytes</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">438 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1764883809</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[<div style="text-align: CENTER;"><span style="text-shadow: 0px 5px 2px gray;"><span style="font-weight: bold;"><span style="color: #FF0000;"><span style="font-size: medium;">[1.8] </span></span><span style="color: #FF0000;"><span style="font-size: medium;">اضافه کردن آمار گرافیکی و متحرک به بخش آمار انجمن</span></span></span></span></div>نخست به بخش آمار انجمن خودتان نگاهی بیاندازید و سپس <a href="http://www.midorinco.ir/stats.php" target="_blank">اینجا</a> را ببینید . در تصویر زیر نمونه ی اصلی و پیش فرض آمار را می توانید ببینید . <br />
<br />
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">تصویر آمار پیش فرض</font></strong></legend><br />
<div style="text-align: CENTER;"><br><br><img src="http://dl.midorinco.ir/others/mybb-amoozesh/graphic-stats/1.8.png" alt="picture" title="تصویر" style="max-width:100%;height:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;"/><br><br><br></div></fieldset></td></table>
<br />
و در تصویر زیر نتیجه ی این راهکار را میتوانید ببینید. آمار گرافیکی زیر بصورت متحرک نمایش داده می شود . (نمونه ی زنده را در <a href="http://www.midorinco.ir/stats.php" target="_blank">اینجا</a> ببینید)<br />
<br />
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">تصویر نهایی پس از راهکار</font></strong></legend><br />
<div style="text-align: CENTER;"><br><br><img src="http://dl.midorinco.ir/others/mybb-amoozesh/graphic-stats/1.8/1.8.png" alt="picture" title="تصویر" style="max-width:100%;height:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;"/><br><br><br></div></fieldset></td></table>
<br />
اگر متوجه اختلاف شدید و میخواهید مانند <a href="http://www.midorinco.ir/index.php" title="تالار میدوری" >تالار</a> میدوری دارای آمار گرافیکی باشید دست بکار شوید و مراحل زیر را گام به گام اجرا کنید .<br />
<br />
<fieldset style="background:#efefef url(images/post-deco/alert.png) top left 0% no-repeat;width:90%;background-color:#FCA9AB;border-left:2px solid #FF55FF;border-right:2px solid #FF55FF;border-top:2px solid #FF55FF;border-bottom:2px solid #FF55FF;margin:0 auto 4px;padding:3px 15px 3px 40px;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><blink><strong>هشدار</strong></blink></legend><br/><font color="darkred" size="3"><strong>متن پیام : </strong></font><br /><font color="black"> <br />
توجه کنید که این کار در دو نگارش مای بی بی یعنی نگارش های 1.6و 1.8 با هم  کمی اختلاف دارند برای اجرای این راهکار در انجمن ساز نگارش 1.6 به <a href="http://www.midorinco.ir/showthread.php?tid=1670" target="_blank">اینجا</a> بروید چون در این بخش فقط برای انجمن ساز 1.8 راهکار قرار میدهم .<br />
</font><br /><br /></fieldset><br />
<br />
برای داشتن آمار گرافیکی نخست به مسیر زیر بروید<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; قالب‌های آمــار &gt; بخش stats<br />
و کدهای زیر را پیدا کنید<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_13_50" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_13_50").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_symbol">&lt;</span>td <span class="php_keyword"><span class="php_keyword">class</span></span> <span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">trow1</span>&quot;</span> rowspan<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">3</span>&quot;</span> valign<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">top</span>&quot;</span><span class="php_symbol">&gt;</span>
<span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>ppd<span class="php_symbol">}</span> <span class="php_symbol">&lt;</span>strong<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$postsperday</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/strong<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>br /<span class="php_symbol">&gt;</span>
<span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>tpd<span class="php_symbol">}</span> <span class="php_symbol">&lt;</span>strong<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$threadsperday</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/strong<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>br /<span class="php_symbol">&gt;</span>
<span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>mpd<span class="php_symbol">}</span> <span class="php_symbol">&lt;</span>strong<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$membersperday</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/strong<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>br /<span class="php_symbol">&gt;</span>
<span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>ppm<span class="php_symbol">}</span> <span class="php_symbol">&lt;</span>strong<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$postspermember</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/strong<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>br /<span class="php_symbol">&gt;</span>
<span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>rpt<span class="php_symbol">}</span> <span class="php_symbol">&lt;</span>strong<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$repliesperthread</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/strong<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>/td<span class="php_symbol">&gt;</span></code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
کدهای زیر را جایگزین کدهای بالا کنید<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_14_67" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_14_67").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_symbol">&lt;</span><span class="php_symbol">!</span><span class="php_symbol">-</span><span class="php_symbol">-</span><span class="php_keyword">new</span> stats begin<span class="php_symbol">-</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>style<span class="php_symbol">&gt;</span>
<span class="php_symbol">@</span>keyframes bake<span class="php_symbol">-</span>pie<span class="php_symbol">{</span>from<span class="php_symbol">{</span>transform:rotate<span class="php_symbol">(</span><span class="php_number">0deg</span><span class="php_symbol">)</span> translate3d<span class="php_symbol">(</span><span class="php_number">0</span><span class="php_symbol">,</span><span class="php_number">0</span><span class="php_symbol">,</span><span class="php_number">0</span><span class="php_symbol">)</span><span class="php_symbol">;</span><span class="php_symbol">}</span><span class="php_symbol">}</span>
main<span class="php_symbol">{</span>width:<span class="php_number">400px</span><span class="php_symbol">;</span>margin:<span class="php_number">30px</span> auto<span class="php_symbol">;</span><span class="php_symbol">}</span>
section<span class="php_symbol">{</span>margin<span class="php_symbol">-</span>top:<span class="php_number">30px</span><span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>pieID<span class="php_symbol">{</span>display:inline<span class="php_symbol">-</span>block<span class="php_symbol">;</span>vertical<span class="php_symbol">-</span>align: top<span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>pie<span class="php_symbol">{</span>height:<span class="php_number">200px</span><span class="php_symbol">;</span>width:<span class="php_number">200px</span><span class="php_symbol">;</span>position:relative<span class="php_symbol">;</span>margin:<span class="php_number">0</span> <span class="php_number">30px</span> <span class="php_number">30px</span> <span class="php_number">0</span><span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>pie::before<span class="php_symbol">{</span>content:<span class="php_string_d">&quot;<span class="php_string"></span>&quot;</span><span class="php_symbol">;</span>display:block<span class="php_symbol">;</span>position:absolute<span class="php_symbol">;</span>z<span class="php_symbol">-</span>index:<span class="php_number">1</span><span class="php_symbol">;</span>width:<span class="php_number">100px</span><span class="php_symbol">;</span>height:<span class="php_number">100px</span><span class="php_symbol">;</span>background:#EEE<span class="php_symbol">;</span>border<span class="php_symbol">-</span>radius:<span class="php_number">50</span><span class="php_symbol">%</span><span class="php_symbol">;</span>top:<span class="php_number">50px</span><span class="php_symbol">;</span>left:<span class="php_number">50px</span><span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>pie::after<span class="php_symbol">{</span>content:<span class="php_string_d">&quot;<span class="php_string"></span>&quot;</span><span class="php_symbol">;</span>display:block<span class="php_symbol">;</span>width:<span class="php_number">120px</span><span class="php_symbol">;</span>height:<span class="php_number">2px</span><span class="php_symbol">;</span>background:rgba<span class="php_symbol">(</span><span class="php_number">0</span><span class="php_symbol">,</span><span class="php_number">0</span><span class="php_symbol">,</span><span class="php_number">0</span><span class="php_symbol">,</span><span class="php_number">0.1</span><span class="php_symbol">)</span><span class="php_symbol">;</span>border<span class="php_symbol">-</span>radius:<span class="php_number">50</span><span class="php_symbol">%</span><span class="php_symbol">;</span>box<span class="php_symbol">-</span>shadow:<span class="php_number">0</span> <span class="php_number">0</span> <span class="php_number">3px</span> <span class="php_number">4px</span> rgba<span class="php_symbol">(</span><span class="php_number">0</span><span class="php_symbol">,</span><span class="php_number">0</span><span class="php_symbol">,</span><span class="php_number">0</span><span class="php_symbol">,</span><span class="php_number">0.1</span><span class="php_symbol">)</span><span class="php_symbol">;</span>margin:<span class="php_number">220px</span> auto<span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>slice<span class="php_symbol">{</span>position:absolute<span class="php_symbol">;</span>width:<span class="php_number">200px</span><span class="php_symbol">;</span>height:<span class="php_number">200px</span><span class="php_symbol">;</span>clip:rect<span class="php_symbol">(</span><span class="php_number">0px</span><span class="php_symbol">,</span><span class="php_number">200px</span><span class="php_symbol">,</span><span class="php_number">200px</span><span class="php_symbol">,</span><span class="php_number">100px</span><span class="php_symbol">)</span><span class="php_symbol">;</span>animation:bake<span class="php_symbol">-</span>pie <span class="php_number">1s</span><span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>slice span<span class="php_symbol">{</span>display:block<span class="php_symbol">;</span>position:absolute<span class="php_symbol">;</span>top:<span class="php_number">0</span><span class="php_symbol">;</span>left:<span class="php_number">0</span><span class="php_symbol">;</span>background<span class="php_symbol">-</span>color:black<span class="php_symbol">;</span>width:<span class="php_number">200px</span><span class="php_symbol">;</span>height:<span class="php_number">200px</span><span class="php_symbol">;</span>border<span class="php_symbol">-</span>radius:<span class="php_number">50</span><span class="php_symbol">%</span><span class="php_symbol">;</span>clip:rect<span class="php_symbol">(</span><span class="php_number">0px</span><span class="php_symbol">,</span><span class="php_number">200px</span><span class="php_symbol">,</span><span class="php_number">200px</span><span class="php_symbol">,</span><span class="php_number">100px</span><span class="php_symbol">)</span><span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>legend<span class="php_symbol">{</span><span class="php_keyword">list</span><span class="php_symbol">-</span>style<span class="php_symbol">-</span>type:none<span class="php_symbol">;</span>padding:<span class="php_number">0</span><span class="php_symbol">;</span>margin:<span class="php_number">0</span><span class="php_symbol">;</span>background:#FFF<span class="php_symbol">;</span>padding:<span class="php_number">15px</span><span class="php_symbol">;</span>font<span class="php_symbol">-</span>size:<span class="php_number">13px</span><span class="php_symbol">;</span>box<span class="php_symbol">-</span>shadow:<span class="php_number">1px</span> <span class="php_number">1px</span> <span class="php_number">0</span> #DDD<span class="php_symbol">,</span> <span class="php_number">2px</span> <span class="php_number">2px</span> <span class="php_number">0</span> #BBB<span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>legend li<span class="php_symbol">{</span>width:<span class="php_number">250px</span><span class="php_symbol">;</span>height:<span class="php_number">1.25em</span><span class="php_symbol">;</span>margin<span class="php_symbol">-</span>bottom:<span class="php_number">0.7em</span><span class="php_symbol">;</span>padding<span class="php_symbol">-</span>left:<span class="php_number">0.5em</span><span class="php_symbol">;</span>border<span class="php_symbol">-</span>left:<span class="php_number">1.25em</span> solid black<span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>legend em<span class="php_symbol">{</span>font<span class="php_symbol">-</span>style:normal<span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">.</span>legend span<span class="php_symbol">{</span><span class="php_keyword">float</span>:left<span class="php_symbol">;</span><span class="php_symbol">}</span>
<span class="php_symbol">&lt;</span>/style<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>td <span class="php_keyword"><span class="php_keyword">class</span></span> <span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">trow1</span>&quot;</span> rowspan<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">3</span>&quot;</span> valign<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">top</span>&quot;</span><span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>section<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>div <span class="php_keyword"><span class="php_keyword">class</span></span> <span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">pieID pie</span>&quot;</span><span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/div<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>ul <span class="php_keyword"><span class="php_keyword">class</span></span> <span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">pieID legend</span>&quot;</span><span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>li<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>ppd<span class="php_symbol">}</span><span class="php_symbol">&lt;</span>span<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$postsperday</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/span<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/li<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>li<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>tpd<span class="php_symbol">}</span><span class="php_symbol">&lt;</span>span<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$threadsperday</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/span<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/li<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>li<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>mpd<span class="php_symbol">}</span><span class="php_symbol">&lt;</span>span<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$membersperday</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/span<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/li<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>li<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>ppm<span class="php_symbol">}</span><span class="php_symbol">&lt;</span>span<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$postspermember</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/span<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/li<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>li<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>tpm<span class="php_symbol">}</span><span class="php_symbol">&lt;</span>span<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$threadspermember</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/span<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/li<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>li<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$lang</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>rpt<span class="php_symbol">}</span><span class="php_symbol">&lt;</span>span<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$repliesperthread</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/span<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/li<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>/ul<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/section<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>/td<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>/main<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>script type<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">text/javascript</span>&quot;</span> src<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string"><span class="php_string_code">{<span class="php_string_var">$mybb</span>-&gt;settings['bburl']}</span>/js/index.js</span>&quot;</span><span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/script<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span><span class="php_symbol">!</span><span class="php_symbol">-</span><span class="php_symbol">-</span><span class="php_keyword">new</span> stats end<span class="php_symbol">-</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span></code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<span style="font-weight: bold;">گام دوم:</span> پوشه ی موجود در فایل فشرده را در هاست خودتان <a href="http://www.midorinco.ir/index.php" title="آپلود" >آپلود</a> کنید.<br />
<span style="font-weight: bold;">کار تمام است .</span> امید که بکار بیاید.<br />
<!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			js.rar</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2692">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/rar.gif" border="0" alt=".rar" title=".rar" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">783 bytes</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">438 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1764883809</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[1.8] نام کاربری درخشان و رنگین کمانی]]></title>
			<link>http://www.midorinco.ir/showthread.php?tid=1663</link>
			<pubDate>Wed, 17 Feb 2016 13:32:37 +0000</pubDate>
			<guid isPermaLink="false">http://www.midorinco.ir/showthread.php?tid=1663</guid>
			<description><![CDATA[<div style="text-align: CENTER;"><span style="text-shadow: 0px 5px 2px gray;"><span style="color: #FF0000;"><span style="font-size: medium;"><span style="font-weight: bold;">نام کاربری درخشان و رنگین کمانی</span></span></span></span><br />
<div style="text-align: RIGHT;">اگر ايده ی نام رنگين کمانی را دوست داشتيد و با آپگرید از نگارش 1.6 به 1.8 این قابلیت را از دست دادید نگران نباشید چون راه کار آن را پیدا کردم و برای دوستان قرار میدهم . این راهکار فقط در نگارش های 1.8 قابل اجرا است و در نگارش 1.6 از همان روش قدیمی که در <a href="http://www.midorinco.ir/index.php" title="تالار میدوری" >تالار</a> است استفاده کنید .<br />
در این پروژه میتوانید با رنگ ها بازی کنید و افکت های زیباتری ایجاد کنید من دو نمونه ی رنگین کمان و نوردهی یا درخشان را قرار میدهم باقی کار با خودتان است .<br />
<br />
نخست فیلمهای زیر که از نحوه ی کارکرد این دو قابلیت است را ببینید سپس در صورت علاقه کارهای زیر را انجام دهید . فیلم ها از هر دو نام کاربری (پارسی و انگلیسی) هستند تا کار را بهتر ببینید .<br />
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">نمونه ی رنگین کمانی</font></strong></legend><br />
<div style="text-align: CENTER;"><object classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" id="player" width="80%" height="500"><br />
<param name="url" value="http://dl.midorinco.ir/video/01/Rainbow_all.wmv" />
<param name="src" value="http://dl.midorinco.ir/video/01/Rainbow_all.wmv" />
<param name="showcontrols" value="false" />
<param name="autostart" value="false" />
<!--[if !IE]>--><br />
<object type="video/x-ms-wmv" data="http://dl.midorinco.ir/video/01/Rainbow_all.wmv" width="80%" height="500"><br />
<param name="src" value="http://dl.midorinco.ir/video/01/Rainbow_all.wmv" />
<param name="controller" value="false" />
<param name="autostart" value="false" />
</object><br />
<!--<![endif]--><br />
</object></div></fieldset></td></table>
<br />
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">نمونه ی درخشان</font></strong></legend><br />
<div style="text-align: CENTER;"><object classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" id="player" width="80%" height="500"><br />
<param name="url" value="http://dl.midorinco.ir/video/01/Shiny_all.wmv" />
<param name="src" value="http://dl.midorinco.ir/video/01/Shiny_all.wmv" />
<param name="showcontrols" value="false" />
<param name="autostart" value="false" />
<!--[if !IE]>--><br />
<object type="video/x-ms-wmv" data="http://dl.midorinco.ir/video/01/Shiny_all.wmv" width="80%" height="500"><br />
<param name="src" value="http://dl.midorinco.ir/video/01/Shiny_all.wmv" />
<param name="controller" value="false" />
<param name="autostart" value="false" />
</object><br />
<!--<![endif]--><br />
</object></div></fieldset></td></table>
<br />
<span style="font-weight: bold;">گام نخست :</span> به مسیر زیر بروید<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; قالب های گروه بندی نشده &gt; بخش headerinclude<br />
 و کدهای زیر را در انتها وارد کنید<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_15_82" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_15_82").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_symbol">&lt;</span>script src<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string"><span class="php_string_code">{<span class="php_string_var">$mybb</span>-&gt;settings['bburl']}</span>/jscripts/rainbow.js</span>&quot;</span><span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/script<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>script<span class="php_symbol">&gt;</span>
$<span class="php_symbol">(</span><span class="php_keyword">function</span><span class="php_symbol">(</span><span class="php_symbol">)</span> <span class="php_symbol">{</span>
$<span class="php_symbol">(</span><span class="php_string">'.foo'</span><span class="php_symbol">)</span><span class="php_symbol">.</span>rainbow<span class="php_symbol">(</span><span class="php_symbol">{</span>animate:<span class="php_keyword">true</span><span class="php_symbol">,</span>animateInterval:<span class="php_number">120</span><span class="php_symbol">,</span>colors:<span class="php_symbol">[</span><span class="php_string">'##ff0000'</span><span class="php_symbol">,</span><span class="php_string">'#ff4000'</span><span class="php_symbol">,</span><span class="php_string">'#ff8000'</span><span class="php_symbol">,</span><span class="php_string">'#ffbf00'</span><span class="php_symbol">,</span><span class="php_string">'#ffff00'</span><span class="php_symbol">,</span><span class="php_string">'#bfff00'</span><span class="php_symbol">,</span><span class="php_string">'#80ff00'</span><span class="php_symbol">,</span><span class="php_string">'#40ff00'</span><span class="php_symbol">,</span><span class="php_string">'#00ff00'</span><span class="php_symbol">,</span><span class="php_string">'#00ff40'</span><span class="php_symbol">,</span><span class="php_string">'#00ff80'</span><span class="php_symbol">,</span><span class="php_string">'#00ffbf'</span><span class="php_symbol">,</span><span class="php_string">'#00ffff'</span><span class="php_symbol">,</span><span class="php_string">'#00bfff'</span><span class="php_symbol">,</span><span class="php_string">'#0080ff'</span><span class="php_symbol">,</span><span class="php_string">'#0040ff'</span><span class="php_symbol">,</span><span class="php_string">'#0000ff'</span><span class="php_symbol">,</span><span class="php_string">'#4000ff'</span><span class="php_symbol">,</span><span class="php_string">'#8000ff'</span><span class="php_symbol">,</span><span class="php_string">'#bf00ff'</span><span class="php_symbol">,</span><span class="php_string">'#ff00ff'</span><span class="php_symbol">,</span><span class="php_string">'#ff00bf'</span><span class="php_symbol">,</span><span class="php_string">'#ff0080'</span><span class="php_symbol">,</span><span class="php_string">'#ff0040'</span><span class="php_symbol">,</span><span class="php_string">'#ff0000'</span><span class="php_symbol">]</span><span class="php_symbol">}</span><span class="php_symbol">)</span><span class="php_symbol">;</span>
$<span class="php_symbol">(</span><span class="php_string">'.bar'</span><span class="php_symbol">)</span><span class="php_symbol">.</span>rainbow<span class="php_symbol">(</span><span class="php_symbol">{</span>animate:<span class="php_keyword">true</span><span class="php_symbol">,</span>animateInterval:<span class="php_number">200</span><span class="php_symbol">,</span>pauseLength:<span class="php_number">500</span><span class="php_symbol">,</span>pad:<span class="php_keyword">true</span><span class="php_symbol">,</span>colors:<span class="php_symbol">[</span><span class="php_string">'rgb(153, 204, 255);'</span><span class="php_symbol">,</span><span class="php_string">'rgb(173, 224, 255);'</span><span class="php_symbol">,</span><span class="php_string">'rgb(193, 244, 255);'</span><span class="php_symbol">,</span><span class="php_string">'rgb(213, 264, 255);'</span><span class="php_symbol">,</span><span class="php_string">'rgb(193, 244, 255);'</span><span class="php_symbol">,</span><span class="php_string">'rgb(173, 224, 255);'</span><span class="php_symbol">,</span><span class="php_string">'rgb(153, 204, 255);'</span><span class="php_symbol">]</span><span class="php_symbol">}</span><span class="php_symbol">)</span><span class="php_symbol">;</span><span class="php_symbol">}</span><span class="php_symbol">)</span><span class="php_symbol">;</span>
<span class="php_symbol">&lt;</span>/script<span class="php_symbol">&gt;</span></code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<span style="font-weight: bold;">گام دوم :</span> به مسیر زیر بروید<br />
کنترل پنل مدیریت &gt; کاربران و گروه ها &gt; گروه ها &gt; گروه مورد نظر &gt; گزینه ها + ویرایش &gt; کادر مربوط به سبک نام کاربری<br />
و کدهای زیر را وارد کنید<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_16_12" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_16_12").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_symbol">&lt;</span>i<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>span <span class="php_keyword"><span class="php_keyword">class</span></span> <span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">foo</span>&quot;</span> style<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">font-weight: bold; color:#27A727;</span>&quot;</span><span class="php_symbol">&gt;</span><span class="php_symbol">{</span>username<span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/span<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/i<span class="php_symbol">&gt;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<fieldset style="background:#efefef url(images/post-deco/note.png) top left 0% no-repeat;width:90%;background-color:#D4D4FF;border-left:2px solid #878787;border-right:2px solid #878787;border-top:2px solid #878787;border-bottom:2px solid #878787;margin:0 auto 4px;padding:3px 15px 3px 40px;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><blink><strong>یادداشت</strong></blink></legend><br/><font color="darkred" size="3"><strong>متن پیام : </strong><br /></font><font color="black"> <br />
کلاس foo برای رنگین کمان و کلاس bar برای حالت درخشان است یکی را انتخاب و استفاده کنید .<br />
</font><br /><br /></fieldset> <br />
<br />
در پایان هم فایل  " rainbow.js" که داخل فایل فشرده است و پیوست شده است را در پوشه ی  "jscripts" <a href="http://www.midorinco.ir/index.php" title="آپلود" >آپلود</a> کنید.<br />
<br />
<span style="font-weight: bold;">کار تمام است .</span> امید که به کار بیاید .<br />
<br />
<!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			rainbow.zip</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2681">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/zip.png" border="0" alt=".zip" title=".zip" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">765 bytes</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">431 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1764884467</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-weight: bold;">همین مطلب در سایت مادر :</span> <a href="http://community.mybb.com/thread-189104-post-1208651.html#pid1208651" target="_blank" rel="nofollow">http://community.mybb.com/thread-189104-...pid1208651</a></div></div>]]></description>
			<content:encoded><![CDATA[<div style="text-align: CENTER;"><span style="text-shadow: 0px 5px 2px gray;"><span style="color: #FF0000;"><span style="font-size: medium;"><span style="font-weight: bold;">نام کاربری درخشان و رنگین کمانی</span></span></span></span><br />
<div style="text-align: RIGHT;">اگر ايده ی نام رنگين کمانی را دوست داشتيد و با آپگرید از نگارش 1.6 به 1.8 این قابلیت را از دست دادید نگران نباشید چون راه کار آن را پیدا کردم و برای دوستان قرار میدهم . این راهکار فقط در نگارش های 1.8 قابل اجرا است و در نگارش 1.6 از همان روش قدیمی که در <a href="http://www.midorinco.ir/index.php" title="تالار میدوری" >تالار</a> است استفاده کنید .<br />
در این پروژه میتوانید با رنگ ها بازی کنید و افکت های زیباتری ایجاد کنید من دو نمونه ی رنگین کمان و نوردهی یا درخشان را قرار میدهم باقی کار با خودتان است .<br />
<br />
نخست فیلمهای زیر که از نحوه ی کارکرد این دو قابلیت است را ببینید سپس در صورت علاقه کارهای زیر را انجام دهید . فیلم ها از هر دو نام کاربری (پارسی و انگلیسی) هستند تا کار را بهتر ببینید .<br />
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">نمونه ی رنگین کمانی</font></strong></legend><br />
<div style="text-align: CENTER;"><object classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" id="player" width="80%" height="500"><br />
<param name="url" value="http://dl.midorinco.ir/video/01/Rainbow_all.wmv" />
<param name="src" value="http://dl.midorinco.ir/video/01/Rainbow_all.wmv" />
<param name="showcontrols" value="false" />
<param name="autostart" value="false" />
<!--[if !IE]>--><br />
<object type="video/x-ms-wmv" data="http://dl.midorinco.ir/video/01/Rainbow_all.wmv" width="80%" height="500"><br />
<param name="src" value="http://dl.midorinco.ir/video/01/Rainbow_all.wmv" />
<param name="controller" value="false" />
<param name="autostart" value="false" />
</object><br />
<!--<![endif]--><br />
</object></div></fieldset></td></table>
<br />
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">نمونه ی درخشان</font></strong></legend><br />
<div style="text-align: CENTER;"><object classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" id="player" width="80%" height="500"><br />
<param name="url" value="http://dl.midorinco.ir/video/01/Shiny_all.wmv" />
<param name="src" value="http://dl.midorinco.ir/video/01/Shiny_all.wmv" />
<param name="showcontrols" value="false" />
<param name="autostart" value="false" />
<!--[if !IE]>--><br />
<object type="video/x-ms-wmv" data="http://dl.midorinco.ir/video/01/Shiny_all.wmv" width="80%" height="500"><br />
<param name="src" value="http://dl.midorinco.ir/video/01/Shiny_all.wmv" />
<param name="controller" value="false" />
<param name="autostart" value="false" />
</object><br />
<!--<![endif]--><br />
</object></div></fieldset></td></table>
<br />
<span style="font-weight: bold;">گام نخست :</span> به مسیر زیر بروید<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; قالب های گروه بندی نشده &gt; بخش headerinclude<br />
 و کدهای زیر را در انتها وارد کنید<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_15_82" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_15_82").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_symbol">&lt;</span>script src<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string"><span class="php_string_code">{<span class="php_string_var">$mybb</span>-&gt;settings['bburl']}</span>/jscripts/rainbow.js</span>&quot;</span><span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/script<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>script<span class="php_symbol">&gt;</span>
$<span class="php_symbol">(</span><span class="php_keyword">function</span><span class="php_symbol">(</span><span class="php_symbol">)</span> <span class="php_symbol">{</span>
$<span class="php_symbol">(</span><span class="php_string">'.foo'</span><span class="php_symbol">)</span><span class="php_symbol">.</span>rainbow<span class="php_symbol">(</span><span class="php_symbol">{</span>animate:<span class="php_keyword">true</span><span class="php_symbol">,</span>animateInterval:<span class="php_number">120</span><span class="php_symbol">,</span>colors:<span class="php_symbol">[</span><span class="php_string">'##ff0000'</span><span class="php_symbol">,</span><span class="php_string">'#ff4000'</span><span class="php_symbol">,</span><span class="php_string">'#ff8000'</span><span class="php_symbol">,</span><span class="php_string">'#ffbf00'</span><span class="php_symbol">,</span><span class="php_string">'#ffff00'</span><span class="php_symbol">,</span><span class="php_string">'#bfff00'</span><span class="php_symbol">,</span><span class="php_string">'#80ff00'</span><span class="php_symbol">,</span><span class="php_string">'#40ff00'</span><span class="php_symbol">,</span><span class="php_string">'#00ff00'</span><span class="php_symbol">,</span><span class="php_string">'#00ff40'</span><span class="php_symbol">,</span><span class="php_string">'#00ff80'</span><span class="php_symbol">,</span><span class="php_string">'#00ffbf'</span><span class="php_symbol">,</span><span class="php_string">'#00ffff'</span><span class="php_symbol">,</span><span class="php_string">'#00bfff'</span><span class="php_symbol">,</span><span class="php_string">'#0080ff'</span><span class="php_symbol">,</span><span class="php_string">'#0040ff'</span><span class="php_symbol">,</span><span class="php_string">'#0000ff'</span><span class="php_symbol">,</span><span class="php_string">'#4000ff'</span><span class="php_symbol">,</span><span class="php_string">'#8000ff'</span><span class="php_symbol">,</span><span class="php_string">'#bf00ff'</span><span class="php_symbol">,</span><span class="php_string">'#ff00ff'</span><span class="php_symbol">,</span><span class="php_string">'#ff00bf'</span><span class="php_symbol">,</span><span class="php_string">'#ff0080'</span><span class="php_symbol">,</span><span class="php_string">'#ff0040'</span><span class="php_symbol">,</span><span class="php_string">'#ff0000'</span><span class="php_symbol">]</span><span class="php_symbol">}</span><span class="php_symbol">)</span><span class="php_symbol">;</span>
$<span class="php_symbol">(</span><span class="php_string">'.bar'</span><span class="php_symbol">)</span><span class="php_symbol">.</span>rainbow<span class="php_symbol">(</span><span class="php_symbol">{</span>animate:<span class="php_keyword">true</span><span class="php_symbol">,</span>animateInterval:<span class="php_number">200</span><span class="php_symbol">,</span>pauseLength:<span class="php_number">500</span><span class="php_symbol">,</span>pad:<span class="php_keyword">true</span><span class="php_symbol">,</span>colors:<span class="php_symbol">[</span><span class="php_string">'rgb(153, 204, 255);'</span><span class="php_symbol">,</span><span class="php_string">'rgb(173, 224, 255);'</span><span class="php_symbol">,</span><span class="php_string">'rgb(193, 244, 255);'</span><span class="php_symbol">,</span><span class="php_string">'rgb(213, 264, 255);'</span><span class="php_symbol">,</span><span class="php_string">'rgb(193, 244, 255);'</span><span class="php_symbol">,</span><span class="php_string">'rgb(173, 224, 255);'</span><span class="php_symbol">,</span><span class="php_string">'rgb(153, 204, 255);'</span><span class="php_symbol">]</span><span class="php_symbol">}</span><span class="php_symbol">)</span><span class="php_symbol">;</span><span class="php_symbol">}</span><span class="php_symbol">)</span><span class="php_symbol">;</span>
<span class="php_symbol">&lt;</span>/script<span class="php_symbol">&gt;</span></code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<span style="font-weight: bold;">گام دوم :</span> به مسیر زیر بروید<br />
کنترل پنل مدیریت &gt; کاربران و گروه ها &gt; گروه ها &gt; گروه مورد نظر &gt; گزینه ها + ویرایش &gt; کادر مربوط به سبک نام کاربری<br />
و کدهای زیر را وارد کنید<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_16_12" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_16_12").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_symbol">&lt;</span>i<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>span <span class="php_keyword"><span class="php_keyword">class</span></span> <span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">foo</span>&quot;</span> style<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">font-weight: bold; color:#27A727;</span>&quot;</span><span class="php_symbol">&gt;</span><span class="php_symbol">{</span>username<span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/span<span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/i<span class="php_symbol">&gt;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<fieldset style="background:#efefef url(images/post-deco/note.png) top left 0% no-repeat;width:90%;background-color:#D4D4FF;border-left:2px solid #878787;border-right:2px solid #878787;border-top:2px solid #878787;border-bottom:2px solid #878787;margin:0 auto 4px;padding:3px 15px 3px 40px;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><blink><strong>یادداشت</strong></blink></legend><br/><font color="darkred" size="3"><strong>متن پیام : </strong><br /></font><font color="black"> <br />
کلاس foo برای رنگین کمان و کلاس bar برای حالت درخشان است یکی را انتخاب و استفاده کنید .<br />
</font><br /><br /></fieldset> <br />
<br />
در پایان هم فایل  " rainbow.js" که داخل فایل فشرده است و پیوست شده است را در پوشه ی  "jscripts" <a href="http://www.midorinco.ir/index.php" title="آپلود" >آپلود</a> کنید.<br />
<br />
<span style="font-weight: bold;">کار تمام است .</span> امید که به کار بیاید .<br />
<br />
<!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			rainbow.zip</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2681">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/zip.png" border="0" alt=".zip" title=".zip" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">765 bytes</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">431 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1764884467</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-weight: bold;">همین مطلب در سایت مادر :</span> <a href="http://community.mybb.com/thread-189104-post-1208651.html#pid1208651" target="_blank" rel="nofollow">http://community.mybb.com/thread-189104-...pid1208651</a></div></div>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[دسته بندی های رنگارنگ برای مای بی بی]]></title>
			<link>http://www.midorinco.ir/showthread.php?tid=1646</link>
			<pubDate>Tue, 19 Jan 2016 08:25:54 +0000</pubDate>
			<guid isPermaLink="false">http://www.midorinco.ir/showthread.php?tid=1646</guid>
			<description><![CDATA[<div style="text-align: CENTER;"><span style="text-shadow: 0px 5px 2px gray;"><span style="color: #0000CD;"><span style="font-size: medium;"><span style="font-weight: bold;">دسته بندی های رنگارنگ برای مای بی بی</span></span></span></span></div>برای اینکه در صفحه ی نخست انجمنتان دسته بندی های رنگارنگ داشته باشید راهکاری را برای دوستان قرار میدهم . این راهکار در مای بی بی 1.8 آزمایش شده و در 1.6 هم قابل اجرا هست به شرط اینکه در دسته بندی های پوسته , از رنگ استفاده شده باشد و نه تصویر . نخست تصویر نمونه ی زیر را ببینید و در صورت علاقه مند شدن کارهای زیر را انجام دهید .<br />
<br />
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">تصویر نمونه</font></strong></legend><br />
<div style="text-align: CENTER;"><!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			2016-01-19_113153.png</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2649">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/image.gif" border="0" alt=".png" title=".png" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">40.16 KB</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">421 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1772795758</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --></div></fieldset></td></table>
<br />
<span style="font-weight: bold;">گام نخست :</span> به مسیر زیر بروید<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; Forum Bit Templates &gt; بخش forumbit_depth1_cat<br />
کدهای زیر را پیدا کنید<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_17_49" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_17_49").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_symbol">&lt;</span>table border<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">0</span>&quot;</span> cellspacing<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string"><span class="php_string_code">{<span class="php_string_var">$theme</span>['borderwidth']}</span></span>&quot;</span> cellpadding<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string"><span class="php_string_code">{<span class="php_string_var">$theme</span>['tablespace']}</span></span>&quot;</span> <span class="php_keyword"><span class="php_keyword">class</span></span> <span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">tborder</span>&quot;</span><span class="php_symbol">&gt;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
کدهای زیر را جایگزین کدهای بالا کنید<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_18_45" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_18_45").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_symbol">&lt;</span>table border<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">0</span>&quot;</span> cellspacing<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string"><span class="php_string_code">{<span class="php_string_var">$theme</span>['borderwidth']}</span></span>&quot;</span> cellpadding<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string"><span class="php_string_code">{<span class="php_string_var">$theme</span>['tablespace']}</span></span>&quot;</span> <span class="php_keyword"><span class="php_keyword">class</span></span> <span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">tborder bar<span class="php_string_code">{<span class="php_string_var">$forum</span>['fid']}</span></span>&quot;</span><span class="php_symbol">&gt;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
سپس برای ایجاد رنگ باید شماره ی دسته بندی را پیدا کنید برای اینکار روی نوشته های دسته بندی با ماوس بروید و درآدرس بار مرورگرتان در پایین شماره ی دسته بندی را میتوانید ببینید. این همان شماره ای است که باید در کدهای پایین بکار ببیرید تا رنگ ها نمایان شوند . <br />
<br />
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">تصویر نمایشی</font></strong></legend><br />
<div style="text-align: CENTER;"><!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			iUr73W9.png</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2650">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/image.gif" border="0" alt=".png" title=".png" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">3.93 KB</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">406 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1772795758</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --></div></fieldset></td></table>
<br />
<span style="font-weight: bold;">گام دوم:</span> به مسیر زیر بروید<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; پوسته ها &gt; پوسته مورد نظر &gt; بخش global.css<br />
کدهای زیر را در انتهای بخش مربوطه وارد کنید<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_19_18" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_19_18").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_symbol">.</span>bar1 <span class="php_symbol">.</span>thead<span class="php_symbol">{</span>background:green<span class="php_symbol">;</span><span class="php_symbol">}</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
برای رنگ بندی های دیگر دسته ها هم همین کدهای سی اس اس را اضافه کنید البته بجای 1 عدد مربوط به دسته بندی را قرار دهید .<br />
<br />
<fieldset style="background:#efefef url(images/post-deco/note.png) top left 0% no-repeat;width:90%;background-color:#D4D4FF;border-left:2px solid #878787;border-right:2px solid #878787;border-top:2px solid #878787;border-bottom:2px solid #878787;margin:0 auto 4px;padding:3px 15px 3px 40px;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><blink><strong>یادداشت</strong></blink></legend><br/><font color="darkred" size="3"><strong>متن پیام : </strong><br /></font><font color="black"> <br />
توجه کنید که bar1 به معنای دسته بندی شماره یک است .<br />
</font><br /><br /></fieldset><br />
<span style="font-weight: bold;">کار تمام است .</span> امید که بکار بیاید .<br />
<img src="http://dl.midorinco.ir/picts/01/house_link.png" border="0" onerror="ImgError(this)" alt="[تصویر: house_link.png]" /><span style="color: #FF0000;"><span style="font-weight: bold;"> منبع : </span></span> <a href="http://community.mybb.com/thread-176833.html" target="_blank" rel="nofollow">http://community.mybb.com/thread-176833.html</a>]]></description>
			<content:encoded><![CDATA[<div style="text-align: CENTER;"><span style="text-shadow: 0px 5px 2px gray;"><span style="color: #0000CD;"><span style="font-size: medium;"><span style="font-weight: bold;">دسته بندی های رنگارنگ برای مای بی بی</span></span></span></span></div>برای اینکه در صفحه ی نخست انجمنتان دسته بندی های رنگارنگ داشته باشید راهکاری را برای دوستان قرار میدهم . این راهکار در مای بی بی 1.8 آزمایش شده و در 1.6 هم قابل اجرا هست به شرط اینکه در دسته بندی های پوسته , از رنگ استفاده شده باشد و نه تصویر . نخست تصویر نمونه ی زیر را ببینید و در صورت علاقه مند شدن کارهای زیر را انجام دهید .<br />
<br />
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">تصویر نمونه</font></strong></legend><br />
<div style="text-align: CENTER;"><!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			2016-01-19_113153.png</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2649">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/image.gif" border="0" alt=".png" title=".png" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">40.16 KB</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">421 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1772795758</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --></div></fieldset></td></table>
<br />
<span style="font-weight: bold;">گام نخست :</span> به مسیر زیر بروید<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; Forum Bit Templates &gt; بخش forumbit_depth1_cat<br />
کدهای زیر را پیدا کنید<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_17_49" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_17_49").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_symbol">&lt;</span>table border<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">0</span>&quot;</span> cellspacing<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string"><span class="php_string_code">{<span class="php_string_var">$theme</span>['borderwidth']}</span></span>&quot;</span> cellpadding<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string"><span class="php_string_code">{<span class="php_string_var">$theme</span>['tablespace']}</span></span>&quot;</span> <span class="php_keyword"><span class="php_keyword">class</span></span> <span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">tborder</span>&quot;</span><span class="php_symbol">&gt;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
کدهای زیر را جایگزین کدهای بالا کنید<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_18_45" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_18_45").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_symbol">&lt;</span>table border<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">0</span>&quot;</span> cellspacing<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string"><span class="php_string_code">{<span class="php_string_var">$theme</span>['borderwidth']}</span></span>&quot;</span> cellpadding<span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string"><span class="php_string_code">{<span class="php_string_var">$theme</span>['tablespace']}</span></span>&quot;</span> <span class="php_keyword"><span class="php_keyword">class</span></span> <span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">tborder bar<span class="php_string_code">{<span class="php_string_var">$forum</span>['fid']}</span></span>&quot;</span><span class="php_symbol">&gt;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
سپس برای ایجاد رنگ باید شماره ی دسته بندی را پیدا کنید برای اینکار روی نوشته های دسته بندی با ماوس بروید و درآدرس بار مرورگرتان در پایین شماره ی دسته بندی را میتوانید ببینید. این همان شماره ای است که باید در کدهای پایین بکار ببیرید تا رنگ ها نمایان شوند . <br />
<br />
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">تصویر نمایشی</font></strong></legend><br />
<div style="text-align: CENTER;"><!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			iUr73W9.png</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2650">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/image.gif" border="0" alt=".png" title=".png" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">3.93 KB</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">406 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1772795758</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --></div></fieldset></td></table>
<br />
<span style="font-weight: bold;">گام دوم:</span> به مسیر زیر بروید<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; پوسته ها &gt; پوسته مورد نظر &gt; بخش global.css<br />
کدهای زیر را در انتهای بخش مربوطه وارد کنید<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_19_18" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_19_18").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_symbol">.</span>bar1 <span class="php_symbol">.</span>thead<span class="php_symbol">{</span>background:green<span class="php_symbol">;</span><span class="php_symbol">}</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
برای رنگ بندی های دیگر دسته ها هم همین کدهای سی اس اس را اضافه کنید البته بجای 1 عدد مربوط به دسته بندی را قرار دهید .<br />
<br />
<fieldset style="background:#efefef url(images/post-deco/note.png) top left 0% no-repeat;width:90%;background-color:#D4D4FF;border-left:2px solid #878787;border-right:2px solid #878787;border-top:2px solid #878787;border-bottom:2px solid #878787;margin:0 auto 4px;padding:3px 15px 3px 40px;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><blink><strong>یادداشت</strong></blink></legend><br/><font color="darkred" size="3"><strong>متن پیام : </strong><br /></font><font color="black"> <br />
توجه کنید که bar1 به معنای دسته بندی شماره یک است .<br />
</font><br /><br /></fieldset><br />
<span style="font-weight: bold;">کار تمام است .</span> امید که بکار بیاید .<br />
<img src="http://dl.midorinco.ir/picts/01/house_link.png" border="0" onerror="ImgError(this)" alt="[تصویر: house_link.png]" /><span style="color: #FF0000;"><span style="font-weight: bold;"> منبع : </span></span> <a href="http://community.mybb.com/thread-176833.html" target="_blank" rel="nofollow">http://community.mybb.com/thread-176833.html</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[رفع مشکل ارسال ایمیل ها به صندوق اسپم]]></title>
			<link>http://www.midorinco.ir/showthread.php?tid=1610</link>
			<pubDate>Sun, 26 Jul 2015 06:09:00 +0000</pubDate>
			<guid isPermaLink="false">http://www.midorinco.ir/showthread.php?tid=1610</guid>
			<description><![CDATA[<div style="text-align: CENTER;"><span style="text-shadow: 0px 5px 2px gray;"><span style="color: #FF0000;"><span style="font-size: medium;"><span style="font-weight: bold;">رفع مشکل ارسال ایمیل ها به صندوق اسپم</span></span></span></span></div>شاید برای شما هم پیش آمده باشد که ایمیل های ارسالی انجمنتان بجای صندوق ورودی (اینباکس) به بخش هرزنامه یا اسپم منتقل شده باشند <br />
اگر اینطور است پس راهکار زیر بدرد شما میخورد با این راهکار تمام ایمیل های ارسالی انجمن شما به جای درست میروند.<br />
برای رسیدن به این نتیجه فایل class_mailhandler.php را در پوشه ی inc پیدا و باز کنید و یک خط کد زیر را پیدا کنید.<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_20_18" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_20_18").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_var">$this</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>headers <span class="php_symbol">.</span><span class="php_symbol">=</span> <span class="php_string_d">&quot;<span class="php_string">X-Mailer: MyBB<span class="php_string_code">{<span class="php_string_var">$this</span>-&gt;delimiter}</span></span>&quot;</span><span class="php_symbol">;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
سپس کدهای زیر را جایگزین کدهای پیشین نمایید .<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_21_15" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_21_15").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_var">$this</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>headers <span class="php_symbol">.</span><span class="php_symbol">=</span> <span class="php_string_d">&quot;<span class="php_string">X-Mailer: PHP/</span>&quot;</span><span class="php_symbol">.</span>phpversion<span class="php_symbol">(</span><span class="php_symbol">)</span><span class="php_symbol">.</span><span class="php_string_d">&quot;<span class="php_string"><span class="php_string_code">{<span class="php_string_var">$this</span>-&gt;delimiter}</span></span>&quot;</span><span class="php_symbol">;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<span style="font-weight: bold;">کار تمام است .</span> امید که بکار بیاید من خودم در <a href="http://www.midorinco.ir/index.php" title="تالار میدوری" >تالار</a> میدوری از این روش استفاده کرده ام.]]></description>
			<content:encoded><![CDATA[<div style="text-align: CENTER;"><span style="text-shadow: 0px 5px 2px gray;"><span style="color: #FF0000;"><span style="font-size: medium;"><span style="font-weight: bold;">رفع مشکل ارسال ایمیل ها به صندوق اسپم</span></span></span></span></div>شاید برای شما هم پیش آمده باشد که ایمیل های ارسالی انجمنتان بجای صندوق ورودی (اینباکس) به بخش هرزنامه یا اسپم منتقل شده باشند <br />
اگر اینطور است پس راهکار زیر بدرد شما میخورد با این راهکار تمام ایمیل های ارسالی انجمن شما به جای درست میروند.<br />
برای رسیدن به این نتیجه فایل class_mailhandler.php را در پوشه ی inc پیدا و باز کنید و یک خط کد زیر را پیدا کنید.<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_20_18" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_20_18").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_var">$this</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>headers <span class="php_symbol">.</span><span class="php_symbol">=</span> <span class="php_string_d">&quot;<span class="php_string">X-Mailer: MyBB<span class="php_string_code">{<span class="php_string_var">$this</span>-&gt;delimiter}</span></span>&quot;</span><span class="php_symbol">;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
سپس کدهای زیر را جایگزین کدهای پیشین نمایید .<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_21_15" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_21_15").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_var">$this</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>headers <span class="php_symbol">.</span><span class="php_symbol">=</span> <span class="php_string_d">&quot;<span class="php_string">X-Mailer: PHP/</span>&quot;</span><span class="php_symbol">.</span>phpversion<span class="php_symbol">(</span><span class="php_symbol">)</span><span class="php_symbol">.</span><span class="php_string_d">&quot;<span class="php_string"><span class="php_string_code">{<span class="php_string_var">$this</span>-&gt;delimiter}</span></span>&quot;</span><span class="php_symbol">;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<span style="font-weight: bold;">کار تمام است .</span> امید که بکار بیاید من خودم در <a href="http://www.midorinco.ir/index.php" title="تالار میدوری" >تالار</a> میدوری از این روش استفاده کرده ام.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[آموزش نمایش تصویر پیشفرض بجای تصویر پاک شده]]></title>
			<link>http://www.midorinco.ir/showthread.php?tid=1609</link>
			<pubDate>Mon, 22 Jun 2015 10:28:47 +0000</pubDate>
			<guid isPermaLink="false">http://www.midorinco.ir/showthread.php?tid=1609</guid>
			<description><![CDATA[<div style="text-align: CENTER;"><span style="text-shadow: 0px 5px 2px gray;"><span style="color: #FF0000;"><span style="font-size: medium;"><span style="font-weight: bold;">آموزش نمایش تصویر پیشفرض بجای تصویر پاک شده</span></span></span></span><br />
<div style="text-align: RIGHT;">چون در یکی از سایت های <a href="http://www.midorinco.ir/index.php" title="آپلود" >آپلود</a> تعدادی تصویر داشتم (<a href="http://www.parsigold.org" target="_blank" rel="nofollow">http://www.parsigold.org</a>) و این سایت جمع شد و من با انبوهی از لینک های ناقص و با ارور 404 روبرو شدم و همچنین فرد بازدید کننده . این تصویر ها از سالهای گذشته بودند و من فراموش کرده بودم و در انتقال آنها به هاست خودم  تنبلی کردم<img src="images/smilies/Wow-32.png" style="vertical-align: middle;" border="0" alt="Wow-32" title="Wow-32" /> . به هرحال کاریست که شده و اما راهکاری درست کردم برای اینکه در زمان ارور نبودن تصویر , تصویر جایگزینی نمایش داده شود که در صورت علاقه و تمایل استفاده کنید .<br />
این راهکار برای سیستم های 1.6 و 1.8 آزمایش شده و بخوبی کار میکند. در ضمن از این کدها در تمام سیستم ها (وب سایت ها , جوملا , ویبولتین و غیره) می توانید استفاده کنید .<br />
<br />
<span style="font-weight: bold;">گام نخست :</span> فایل class_parser.php را از مسیر inc/class_parser.php پیدا و باز کنید . کدهای زیر را در فایل مربوطه پیدا کنید :<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_22_28" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_22_28").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_keyword">return</span> <span class="php_string_d">&quot;<span class="php_string">&lt;img src=<span class="php_string_escape">\&quot;</span><span class="php_string_code">{<span class="php_string_var">$url</span>}</span><span class="php_string_escape">\&quot;</span> width=<span class="php_string_escape">\&quot;</span><span class="php_string_code">{<span class="php_string_var">$dimensions</span>[0]}</span><span class="php_string_escape">\&quot;</span> height=<span class="php_string_escape">\&quot;</span><span class="php_string_code">{<span class="php_string_var">$dimensions</span>[1]}</span><span class="php_string_escape">\&quot;</span> border=<span class="php_string_escape">\&quot;</span>0<span class="php_string_escape">\&quot;</span> alt=<span class="php_string_escape">\&quot;</span><span class="php_string_code">{<span class="php_string_var">$alt</span>}</span><span class="php_string_escape">\&quot;</span><span class="php_string_code">{<span class="php_string_var">$css_align</span>}</span> /&gt;</span>&quot;</span><span class="php_symbol">;</span>
	   <span class="php_symbol">}</span>
	   <span class="php_keyword">else</span>
	   <span class="php_symbol">{</span>
		  <span class="php_keyword">return</span> <span class="php_string_d">&quot;<span class="php_string">&lt;img src=<span class="php_string_escape">\&quot;</span><span class="php_string_code">{<span class="php_string_var">$url</span>}</span><span class="php_string_escape">\&quot;</span> border=<span class="php_string_escape">\&quot;</span>0<span class="php_string_escape">\&quot;</span> alt=<span class="php_string_escape">\&quot;</span><span class="php_string_code">{<span class="php_string_var">$alt</span>}</span><span class="php_string_escape">\&quot;</span><span class="php_string_code">{<span class="php_string_var">$css_align</span>}</span> /&gt;&lt;/div&gt;</span>&quot;</span><span class="php_symbol">;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
کدهای زیر را جایگزین کدهای بالا کنید :<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_23_44" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_23_44").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_keyword">return</span> <span class="php_string_d">&quot;<span class="php_string">&lt;img src=<span class="php_string_escape">\&quot;</span><span class="php_string_code">{<span class="php_string_var">$url</span>}</span><span class="php_string_escape">\&quot;</span> onerror=<span class="php_string_escape">\&quot;</span>ImgError(this)<span class="php_string_escape">\&quot;</span> width=<span class="php_string_escape">\&quot;</span><span class="php_string_code">{<span class="php_string_var">$dimensions</span>[0]}</span><span class="php_string_escape">\&quot;</span> height=<span class="php_string_escape">\&quot;</span><span class="php_string_code">{<span class="php_string_var">$dimensions</span>[1]}</span><span class="php_string_escape">\&quot;</span> border=<span class="php_string_escape">\&quot;</span>0<span class="php_string_escape">\&quot;</span> alt=<span class="php_string_escape">\&quot;</span><span class="php_string_code">{<span class="php_string_var">$alt</span>}</span><span class="php_string_escape">\&quot;</span><span class="php_string_code">{<span class="php_string_var">$css_align</span>}</span> /&gt;</span>&quot;</span><span class="php_symbol">;</span>
	   <span class="php_symbol">}</span>
	   <span class="php_keyword">else</span>
	   <span class="php_symbol">{</span>
		  <span class="php_keyword">return</span> <span class="php_string_d">&quot;<span class="php_string">&lt;img src=<span class="php_string_escape">\&quot;</span><span class="php_string_code">{<span class="php_string_var">$url</span>}</span><span class="php_string_escape">\&quot;</span> onerror=<span class="php_string_escape">\&quot;</span>ImgError(this)<span class="php_string_escape">\&quot;</span> border=<span class="php_string_escape">\&quot;</span>0<span class="php_string_escape">\&quot;</span> alt=<span class="php_string_escape">\&quot;</span><span class="php_string_code">{<span class="php_string_var">$alt</span>}</span><span class="php_string_escape">\&quot;</span><span class="php_string_code">{<span class="php_string_var">$css_align</span>}</span> /&gt;&lt;/div&gt;</span>&quot;</span><span class="php_symbol">;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
فایل را ذخیره کنید و ببندید .<br />
<br />
<span style="font-weight: bold;">گام دوم :</span> به مسیر زیر بروید<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; قالب های گروه بندی نشده &gt; بخش headerinclude<br />
<br />
کدهای زیر را در انتهای بخش مربوطه وارد کنید:<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_24_44" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_24_44").style.display = "";
//-->
</script><city>کد Javascript:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="c_symbol">&lt;</span>script language<span class="c_symbol">=</span><span class="c_string">&quot;JavaScript&quot;</span> type<span class="c_symbol">=</span><span class="c_string">&quot;text/javascript&quot;</span><span class="c_symbol">&gt;</span><span class="c_type">function</span> ImgError<span class="c_symbol">(</span>source<span class="c_symbol">)</span><span class="c_symbol">{</span>source.src <span class="c_symbol">=</span> <span class="c_string">&quot;{$mybb-&gt;settings['bburl']}/images/not-available.jpg&quot;</span><span class="c_symbol">;</span>source.onerror <span class="c_symbol">=</span> <span class="c_string">&quot;&quot;</span><span class="c_symbol">;</span><span class="c_type">return</span> <span class="c_type">true</span><span class="c_symbol">;</span><span class="c_symbol">}</span><span class="c_symbol">&lt;</span>/script<span class="c_symbol">&gt;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<span style="font-weight: bold;">کار تمام است .</span> فقط می ماند <a href="http://www.midorinco.ir/index.php" title="آپلود" >آپلود</a> تصویر مناسب برای جایگزین کردن تصویر . یک تصویر نمونه که در <a href="http://www.midorinco.ir/index.php" title="تالار میدوری" >تالار</a> میدوری استفاده می شود را برای <a href="http://www.midorinco.ir/index.php" title="دانلود" >دانلود</a> گذاشته ام .<br />
<br />
نمونه ی زنده را هم در <a href="http://www.midorinco.ir/showthread.php?tid=499" target="_blank">اینجا</a> می توانید ببینید .<br />
<br />
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">تصویر نمونه:</font></strong></legend><br />
<div style="text-align: CENTER;"><!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			not-available.jpg</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2487">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/image.gif" border="0" alt=".jpg" title=".jpg" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">22.13 KB</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">475 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1772795911</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --></div></fieldset></td></table></div></div>]]></description>
			<content:encoded><![CDATA[<div style="text-align: CENTER;"><span style="text-shadow: 0px 5px 2px gray;"><span style="color: #FF0000;"><span style="font-size: medium;"><span style="font-weight: bold;">آموزش نمایش تصویر پیشفرض بجای تصویر پاک شده</span></span></span></span><br />
<div style="text-align: RIGHT;">چون در یکی از سایت های <a href="http://www.midorinco.ir/index.php" title="آپلود" >آپلود</a> تعدادی تصویر داشتم (<a href="http://www.parsigold.org" target="_blank" rel="nofollow">http://www.parsigold.org</a>) و این سایت جمع شد و من با انبوهی از لینک های ناقص و با ارور 404 روبرو شدم و همچنین فرد بازدید کننده . این تصویر ها از سالهای گذشته بودند و من فراموش کرده بودم و در انتقال آنها به هاست خودم  تنبلی کردم<img src="images/smilies/Wow-32.png" style="vertical-align: middle;" border="0" alt="Wow-32" title="Wow-32" /> . به هرحال کاریست که شده و اما راهکاری درست کردم برای اینکه در زمان ارور نبودن تصویر , تصویر جایگزینی نمایش داده شود که در صورت علاقه و تمایل استفاده کنید .<br />
این راهکار برای سیستم های 1.6 و 1.8 آزمایش شده و بخوبی کار میکند. در ضمن از این کدها در تمام سیستم ها (وب سایت ها , جوملا , ویبولتین و غیره) می توانید استفاده کنید .<br />
<br />
<span style="font-weight: bold;">گام نخست :</span> فایل class_parser.php را از مسیر inc/class_parser.php پیدا و باز کنید . کدهای زیر را در فایل مربوطه پیدا کنید :<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_22_28" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_22_28").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_keyword">return</span> <span class="php_string_d">&quot;<span class="php_string">&lt;img src=<span class="php_string_escape">\&quot;</span><span class="php_string_code">{<span class="php_string_var">$url</span>}</span><span class="php_string_escape">\&quot;</span> width=<span class="php_string_escape">\&quot;</span><span class="php_string_code">{<span class="php_string_var">$dimensions</span>[0]}</span><span class="php_string_escape">\&quot;</span> height=<span class="php_string_escape">\&quot;</span><span class="php_string_code">{<span class="php_string_var">$dimensions</span>[1]}</span><span class="php_string_escape">\&quot;</span> border=<span class="php_string_escape">\&quot;</span>0<span class="php_string_escape">\&quot;</span> alt=<span class="php_string_escape">\&quot;</span><span class="php_string_code">{<span class="php_string_var">$alt</span>}</span><span class="php_string_escape">\&quot;</span><span class="php_string_code">{<span class="php_string_var">$css_align</span>}</span> /&gt;</span>&quot;</span><span class="php_symbol">;</span>
	   <span class="php_symbol">}</span>
	   <span class="php_keyword">else</span>
	   <span class="php_symbol">{</span>
		  <span class="php_keyword">return</span> <span class="php_string_d">&quot;<span class="php_string">&lt;img src=<span class="php_string_escape">\&quot;</span><span class="php_string_code">{<span class="php_string_var">$url</span>}</span><span class="php_string_escape">\&quot;</span> border=<span class="php_string_escape">\&quot;</span>0<span class="php_string_escape">\&quot;</span> alt=<span class="php_string_escape">\&quot;</span><span class="php_string_code">{<span class="php_string_var">$alt</span>}</span><span class="php_string_escape">\&quot;</span><span class="php_string_code">{<span class="php_string_var">$css_align</span>}</span> /&gt;&lt;/div&gt;</span>&quot;</span><span class="php_symbol">;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
کدهای زیر را جایگزین کدهای بالا کنید :<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_23_44" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_23_44").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_keyword">return</span> <span class="php_string_d">&quot;<span class="php_string">&lt;img src=<span class="php_string_escape">\&quot;</span><span class="php_string_code">{<span class="php_string_var">$url</span>}</span><span class="php_string_escape">\&quot;</span> onerror=<span class="php_string_escape">\&quot;</span>ImgError(this)<span class="php_string_escape">\&quot;</span> width=<span class="php_string_escape">\&quot;</span><span class="php_string_code">{<span class="php_string_var">$dimensions</span>[0]}</span><span class="php_string_escape">\&quot;</span> height=<span class="php_string_escape">\&quot;</span><span class="php_string_code">{<span class="php_string_var">$dimensions</span>[1]}</span><span class="php_string_escape">\&quot;</span> border=<span class="php_string_escape">\&quot;</span>0<span class="php_string_escape">\&quot;</span> alt=<span class="php_string_escape">\&quot;</span><span class="php_string_code">{<span class="php_string_var">$alt</span>}</span><span class="php_string_escape">\&quot;</span><span class="php_string_code">{<span class="php_string_var">$css_align</span>}</span> /&gt;</span>&quot;</span><span class="php_symbol">;</span>
	   <span class="php_symbol">}</span>
	   <span class="php_keyword">else</span>
	   <span class="php_symbol">{</span>
		  <span class="php_keyword">return</span> <span class="php_string_d">&quot;<span class="php_string">&lt;img src=<span class="php_string_escape">\&quot;</span><span class="php_string_code">{<span class="php_string_var">$url</span>}</span><span class="php_string_escape">\&quot;</span> onerror=<span class="php_string_escape">\&quot;</span>ImgError(this)<span class="php_string_escape">\&quot;</span> border=<span class="php_string_escape">\&quot;</span>0<span class="php_string_escape">\&quot;</span> alt=<span class="php_string_escape">\&quot;</span><span class="php_string_code">{<span class="php_string_var">$alt</span>}</span><span class="php_string_escape">\&quot;</span><span class="php_string_code">{<span class="php_string_var">$css_align</span>}</span> /&gt;&lt;/div&gt;</span>&quot;</span><span class="php_symbol">;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
فایل را ذخیره کنید و ببندید .<br />
<br />
<span style="font-weight: bold;">گام دوم :</span> به مسیر زیر بروید<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; قالب های گروه بندی نشده &gt; بخش headerinclude<br />
<br />
کدهای زیر را در انتهای بخش مربوطه وارد کنید:<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_24_44" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_24_44").style.display = "";
//-->
</script><city>کد Javascript:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="c_symbol">&lt;</span>script language<span class="c_symbol">=</span><span class="c_string">&quot;JavaScript&quot;</span> type<span class="c_symbol">=</span><span class="c_string">&quot;text/javascript&quot;</span><span class="c_symbol">&gt;</span><span class="c_type">function</span> ImgError<span class="c_symbol">(</span>source<span class="c_symbol">)</span><span class="c_symbol">{</span>source.src <span class="c_symbol">=</span> <span class="c_string">&quot;{$mybb-&gt;settings['bburl']}/images/not-available.jpg&quot;</span><span class="c_symbol">;</span>source.onerror <span class="c_symbol">=</span> <span class="c_string">&quot;&quot;</span><span class="c_symbol">;</span><span class="c_type">return</span> <span class="c_type">true</span><span class="c_symbol">;</span><span class="c_symbol">}</span><span class="c_symbol">&lt;</span>/script<span class="c_symbol">&gt;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<span style="font-weight: bold;">کار تمام است .</span> فقط می ماند <a href="http://www.midorinco.ir/index.php" title="آپلود" >آپلود</a> تصویر مناسب برای جایگزین کردن تصویر . یک تصویر نمونه که در <a href="http://www.midorinco.ir/index.php" title="تالار میدوری" >تالار</a> میدوری استفاده می شود را برای <a href="http://www.midorinco.ir/index.php" title="دانلود" >دانلود</a> گذاشته ام .<br />
<br />
نمونه ی زنده را هم در <a href="http://www.midorinco.ir/showthread.php?tid=499" target="_blank">اینجا</a> می توانید ببینید .<br />
<br />
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">تصویر نمونه:</font></strong></legend><br />
<div style="text-align: CENTER;"><!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			not-available.jpg</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2487">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/image.gif" border="0" alt=".jpg" title=".jpg" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">22.13 KB</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">475 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1772795911</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --></div></fieldset></td></table></div></div>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[یک ترفند جالب و کاربردی برای فیلد های کاربران]]></title>
			<link>http://www.midorinco.ir/showthread.php?tid=1605</link>
			<pubDate>Mon, 27 Apr 2015 20:54:50 +0000</pubDate>
			<guid isPermaLink="false">http://www.midorinco.ir/showthread.php?tid=1605</guid>
			<description><![CDATA[<div style="text-align: CENTER;"><span style="text-shadow: 0px 5px 2px gray;"><span style="color: #FF0000;"><span style="font-size: medium;"><span style="font-weight: bold;">یک ترفند جالب و کاربردی برای فیلد های کاربران</span></span></span></span></div>يک ترفند بسیار جالب و کاربردی برای انجمن ساز مای بی بی که بسیاری در بدر بدنبال آن می گشتند. توسط این راه کار کاربرانی که فیلدهای مشخصات خود را تکمیل نکنند (که کم هم نیستند) در پست بیت هایشان هم اثری از تصویرهای ناقص و یا نوشته های ناقص نخواهند داشت . یعنی اگر مشخصه ای را پر کنند در پست بیت نمایش داده خواهد شد و اگر فیلد مربوطه را پر نکنند اثری از مشخصه هم در پست بیت نخواهد بود .<br />
اگر علاقه مند شدید دست بکار شوید و نخست به <a href="http://www.midorinco.ir/showthread.php?tid=1168" target="_blank">اینجا</a> بروید و <a href="http://www.midorinco.ir/index.php" title="افزونه" >افزونه</a> ی جادویی را <a href="http://www.midorinco.ir/index.php" title="دانلود" >دانلود</a> و سپس نصب کنید .<br />
<br />
سپس به مسیر زیر بروید : (برای پست بیت های کلاسیک یا عمودی)<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; postbit template &gt; بخش potbit classic<br />
<br />
و متغیر زیر را پیدا کنید:<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_25_40" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_25_40").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>{$post['user_details']}</code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
و کدهای زیر را پس از متغیر بالا اضافه کنید:<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_26_45" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_26_45").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_symbol">&lt;</span><span class="php_keyword">if</span> <span class="php_var">$post</span><span class="php_symbol">[</span><span class="php_string">'fidx'</span><span class="php_symbol">]</span> then<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$post</span><span class="php_symbol">[</span><span class="php_string">'fidx'</span><span class="php_symbol">]</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/<span class="php_keyword">if</span><span class="php_symbol">&gt;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
و یا در مسیر زیر :<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; postbit template &gt; بخش potbit author user<br />
و یا مسیر های دیگر در محل هایی که فیلد را بکار بردید استفاده کنید .<br />
توجه داشته باشید fidx فیلد ها را باید با شماره ی فیلد های خودتان یکی کنید . برای نمونه : fid4<br />
<span style="font-weight: bold;">کار تمام است .</span> امید که بکار بیاید.<br />
<br />
نمونه هم در <a href="http://www.midorinco.ir/index.php" title="تالار میدوری" >تالار</a> میدوری می توانید پست بیت کاربران را ببینید.<br />
<br />
<img src="http://dl.midorinco.ir/picts/01/house_link.png" border="0" onerror="ImgError(this)" alt="[تصویر: house_link.png]" /><span style="color: #FF0000;"><span style="font-weight: bold;"> لینک اصلی : </span></span> <a href="http://community.mybb.com/thread-31860.html" target="_blank" rel="nofollow">http://community.mybb.com/thread-31860.html</a>]]></description>
			<content:encoded><![CDATA[<div style="text-align: CENTER;"><span style="text-shadow: 0px 5px 2px gray;"><span style="color: #FF0000;"><span style="font-size: medium;"><span style="font-weight: bold;">یک ترفند جالب و کاربردی برای فیلد های کاربران</span></span></span></span></div>يک ترفند بسیار جالب و کاربردی برای انجمن ساز مای بی بی که بسیاری در بدر بدنبال آن می گشتند. توسط این راه کار کاربرانی که فیلدهای مشخصات خود را تکمیل نکنند (که کم هم نیستند) در پست بیت هایشان هم اثری از تصویرهای ناقص و یا نوشته های ناقص نخواهند داشت . یعنی اگر مشخصه ای را پر کنند در پست بیت نمایش داده خواهد شد و اگر فیلد مربوطه را پر نکنند اثری از مشخصه هم در پست بیت نخواهد بود .<br />
اگر علاقه مند شدید دست بکار شوید و نخست به <a href="http://www.midorinco.ir/showthread.php?tid=1168" target="_blank">اینجا</a> بروید و <a href="http://www.midorinco.ir/index.php" title="افزونه" >افزونه</a> ی جادویی را <a href="http://www.midorinco.ir/index.php" title="دانلود" >دانلود</a> و سپس نصب کنید .<br />
<br />
سپس به مسیر زیر بروید : (برای پست بیت های کلاسیک یا عمودی)<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; postbit template &gt; بخش potbit classic<br />
<br />
و متغیر زیر را پیدا کنید:<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_25_40" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_25_40").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>{$post['user_details']}</code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
و کدهای زیر را پس از متغیر بالا اضافه کنید:<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_26_45" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_26_45").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_symbol">&lt;</span><span class="php_keyword">if</span> <span class="php_var">$post</span><span class="php_symbol">[</span><span class="php_string">'fidx'</span><span class="php_symbol">]</span> then<span class="php_symbol">&gt;</span><span class="php_symbol">{</span><span class="php_var">$post</span><span class="php_symbol">[</span><span class="php_string">'fidx'</span><span class="php_symbol">]</span><span class="php_symbol">}</span><span class="php_symbol">&lt;</span>/<span class="php_keyword">if</span><span class="php_symbol">&gt;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
و یا در مسیر زیر :<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; postbit template &gt; بخش potbit author user<br />
و یا مسیر های دیگر در محل هایی که فیلد را بکار بردید استفاده کنید .<br />
توجه داشته باشید fidx فیلد ها را باید با شماره ی فیلد های خودتان یکی کنید . برای نمونه : fid4<br />
<span style="font-weight: bold;">کار تمام است .</span> امید که بکار بیاید.<br />
<br />
نمونه هم در <a href="http://www.midorinco.ir/index.php" title="تالار میدوری" >تالار</a> میدوری می توانید پست بیت کاربران را ببینید.<br />
<br />
<img src="http://dl.midorinco.ir/picts/01/house_link.png" border="0" onerror="ImgError(this)" alt="[تصویر: house_link.png]" /><span style="color: #FF0000;"><span style="font-weight: bold;"> لینک اصلی : </span></span> <a href="http://community.mybb.com/thread-31860.html" target="_blank" rel="nofollow">http://community.mybb.com/thread-31860.html</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[راهکاری برای فایل های پیوستی]]></title>
			<link>http://www.midorinco.ir/showthread.php?tid=1604</link>
			<pubDate>Mon, 20 Apr 2015 05:17:52 +0000</pubDate>
			<guid isPermaLink="false">http://www.midorinco.ir/showthread.php?tid=1604</guid>
			<description><![CDATA[<div style="text-align: CENTER;"><span style="text-shadow: 0px 5px 2px gray;"><span style="color: #FF0000;"><span style="font-size: medium;"><span style="font-weight: bold;">راهکاری برای فایل های پیوستی</span></span></span></span></div>در حالت استاندارد در مای بی بی امکان مشاهده ی فایل های پیوستی برای مهمان وجود ندارد و تا زمانی که کسی چیزی را نبیند امکان خرید و یا استفاده را هم نخواهد داشت با استفاده از این راهکار مهمان می تواند تصویرها را ببیند و پس از جذب شدن به مطلب اقدام به عضویت نماید و سپس فایل پیوستی را دریافت کند.<br />
اگر شما هم خواستار این قابلیت شدید ,  باید یک تغییر کوچک را در فایل مربوط به کنترل پیوست ها ی خودتان انجام دهید .<br />
نخست در روت سایت , فایل "attachment.php" را باز کنید و کدهای زیر را پیدا کنید:<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_27_61" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_27_61").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_keyword">if</span><span class="php_symbol">(</span><span class="php_var">$forumpermissions</span><span class="php_symbol">[</span><span class="php_string">'canview'</span><span class="php_symbol">]</span> <span class="php_symbol">=</span><span class="php_symbol">=</span> <span class="php_number">0</span> <span class="php_symbol">|</span><span class="php_symbol">|</span> <span class="php_var">$forumpermissions</span><span class="php_symbol">[</span><span class="php_string">'canviewthreads'</span><span class="php_symbol">]</span> <span class="php_symbol">=</span><span class="php_symbol">=</span> <span class="php_number">0</span> <span class="php_symbol">|</span><span class="php_symbol">|</span>
 <span class="php_symbol">(</span><span class="php_var">$forumpermissions</span><span class="php_symbol">[</span><span class="php_string">'candlattachments'</span><span class="php_symbol">]</span> <span class="php_symbol">=</span><span class="php_symbol">=</span> <span class="php_number">0</span> <span class="php_symbol">&amp;</span><span class="php_symbol">&amp;</span> <span class="php_symbol">!</span><span class="php_var">$mybb</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>input<span class="php_symbol">[</span><span class="php_string">'thumbnail'</span><span class="php_symbol">]</span><span class="php_symbol">)</span><span class="php_symbol">)</span>
<span class="php_symbol">{</span>
    error_no_permission<span class="php_symbol">(</span><span class="php_symbol">)</span><span class="php_symbol">;</span>
<span class="php_symbol">}</span> </code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
سپس کدهای زیر را جایگزین کدهای پیشین نمایید.<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_28_90" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_28_90").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_keyword">if</span><span class="php_symbol">(</span><span class="php_symbol">!</span><span class="php_var">$forumpermissions</span><span class="php_symbol">[</span><span class="php_string">'canview'</span><span class="php_symbol">]</span> <span class="php_symbol">|</span><span class="php_symbol">|</span> <span class="php_symbol">!</span><span class="php_var">$forumpermissions</span><span class="php_symbol">[</span><span class="php_string">'canviewthreads'</span><span class="php_symbol">]</span> <span class="php_symbol">|</span><span class="php_symbol">|</span>
 <span class="php_symbol">(</span><span class="php_symbol">!</span><span class="php_var">$forumpermissions</span><span class="php_symbol">[</span><span class="php_string">'candlattachments'</span><span class="php_symbol">]</span> <span class="php_symbol">&amp;</span><span class="php_symbol">&amp;</span> <span class="php_symbol">!</span><span class="php_var">$mybb</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>input<span class="php_symbol">[</span><span class="php_string">'thumbnail'</span><span class="php_symbol">]</span> <span class="php_symbol">&amp;</span><span class="php_symbol">&amp;</span> <span class="php_symbol">!</span>in_array<span class="php_symbol">(</span><span class="php_var">$attachment</span><span class="php_symbol">[</span><span class="php_string">'filetype'</span><span class="php_symbol">]</span><span class="php_symbol">,</span> 
<span class="php_keyword"><span class="php_keyword">array</span></span><span class="php_symbol">(</span><span class="php_string">'image/gif'</span><span class="php_symbol">,</span> <span class="php_string">'image/bmp'</span><span class="php_symbol">,</span> <span class="php_string">'image/png'</span><span class="php_symbol">,</span> <span class="php_string">'image/jpeg'</span><span class="php_symbol">,</span> <span class="php_string">'image/unknown'</span><span class="php_symbol">)</span><span class="php_symbol">)</span><span class="php_symbol">)</span><span class="php_symbol">)</span>
<span class="php_symbol">{</span>
    error_no_permission<span class="php_symbol">(</span><span class="php_symbol">)</span><span class="php_symbol">;</span>
<span class="php_symbol">}</span></code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<span style="font-weight: bold;">کار تمام است .</span> از این پس مهمان ها فقط قادر به مشاهده و دریافت فایل های تصویری تعریف شده خواهند بود تا در صورت پسند و نیاز پس از عضویت بتوانند فایل پیوستی (ورد , زیپ , پی دی اف , رار و غیره) را دریافت کنند.<br />
<br />
<br />
<img src="http://dl.midorinco.ir/picts/01/house_link.png" border="0" onerror="ImgError(this)" alt="[تصویر: house_link.png]" /><span style="color: #FF0000;"><span style="font-weight: bold;"> لینک اصلی :   </span></span>http://community.mybb.com/thread-128763.html]]></description>
			<content:encoded><![CDATA[<div style="text-align: CENTER;"><span style="text-shadow: 0px 5px 2px gray;"><span style="color: #FF0000;"><span style="font-size: medium;"><span style="font-weight: bold;">راهکاری برای فایل های پیوستی</span></span></span></span></div>در حالت استاندارد در مای بی بی امکان مشاهده ی فایل های پیوستی برای مهمان وجود ندارد و تا زمانی که کسی چیزی را نبیند امکان خرید و یا استفاده را هم نخواهد داشت با استفاده از این راهکار مهمان می تواند تصویرها را ببیند و پس از جذب شدن به مطلب اقدام به عضویت نماید و سپس فایل پیوستی را دریافت کند.<br />
اگر شما هم خواستار این قابلیت شدید ,  باید یک تغییر کوچک را در فایل مربوط به کنترل پیوست ها ی خودتان انجام دهید .<br />
نخست در روت سایت , فایل "attachment.php" را باز کنید و کدهای زیر را پیدا کنید:<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_27_61" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_27_61").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_keyword">if</span><span class="php_symbol">(</span><span class="php_var">$forumpermissions</span><span class="php_symbol">[</span><span class="php_string">'canview'</span><span class="php_symbol">]</span> <span class="php_symbol">=</span><span class="php_symbol">=</span> <span class="php_number">0</span> <span class="php_symbol">|</span><span class="php_symbol">|</span> <span class="php_var">$forumpermissions</span><span class="php_symbol">[</span><span class="php_string">'canviewthreads'</span><span class="php_symbol">]</span> <span class="php_symbol">=</span><span class="php_symbol">=</span> <span class="php_number">0</span> <span class="php_symbol">|</span><span class="php_symbol">|</span>
 <span class="php_symbol">(</span><span class="php_var">$forumpermissions</span><span class="php_symbol">[</span><span class="php_string">'candlattachments'</span><span class="php_symbol">]</span> <span class="php_symbol">=</span><span class="php_symbol">=</span> <span class="php_number">0</span> <span class="php_symbol">&amp;</span><span class="php_symbol">&amp;</span> <span class="php_symbol">!</span><span class="php_var">$mybb</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>input<span class="php_symbol">[</span><span class="php_string">'thumbnail'</span><span class="php_symbol">]</span><span class="php_symbol">)</span><span class="php_symbol">)</span>
<span class="php_symbol">{</span>
    error_no_permission<span class="php_symbol">(</span><span class="php_symbol">)</span><span class="php_symbol">;</span>
<span class="php_symbol">}</span> </code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
سپس کدهای زیر را جایگزین کدهای پیشین نمایید.<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_28_90" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_28_90").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_keyword">if</span><span class="php_symbol">(</span><span class="php_symbol">!</span><span class="php_var">$forumpermissions</span><span class="php_symbol">[</span><span class="php_string">'canview'</span><span class="php_symbol">]</span> <span class="php_symbol">|</span><span class="php_symbol">|</span> <span class="php_symbol">!</span><span class="php_var">$forumpermissions</span><span class="php_symbol">[</span><span class="php_string">'canviewthreads'</span><span class="php_symbol">]</span> <span class="php_symbol">|</span><span class="php_symbol">|</span>
 <span class="php_symbol">(</span><span class="php_symbol">!</span><span class="php_var">$forumpermissions</span><span class="php_symbol">[</span><span class="php_string">'candlattachments'</span><span class="php_symbol">]</span> <span class="php_symbol">&amp;</span><span class="php_symbol">&amp;</span> <span class="php_symbol">!</span><span class="php_var">$mybb</span><span class="php_symbol">-</span><span class="php_symbol">&gt;</span>input<span class="php_symbol">[</span><span class="php_string">'thumbnail'</span><span class="php_symbol">]</span> <span class="php_symbol">&amp;</span><span class="php_symbol">&amp;</span> <span class="php_symbol">!</span>in_array<span class="php_symbol">(</span><span class="php_var">$attachment</span><span class="php_symbol">[</span><span class="php_string">'filetype'</span><span class="php_symbol">]</span><span class="php_symbol">,</span> 
<span class="php_keyword"><span class="php_keyword">array</span></span><span class="php_symbol">(</span><span class="php_string">'image/gif'</span><span class="php_symbol">,</span> <span class="php_string">'image/bmp'</span><span class="php_symbol">,</span> <span class="php_string">'image/png'</span><span class="php_symbol">,</span> <span class="php_string">'image/jpeg'</span><span class="php_symbol">,</span> <span class="php_string">'image/unknown'</span><span class="php_symbol">)</span><span class="php_symbol">)</span><span class="php_symbol">)</span><span class="php_symbol">)</span>
<span class="php_symbol">{</span>
    error_no_permission<span class="php_symbol">(</span><span class="php_symbol">)</span><span class="php_symbol">;</span>
<span class="php_symbol">}</span></code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<span style="font-weight: bold;">کار تمام است .</span> از این پس مهمان ها فقط قادر به مشاهده و دریافت فایل های تصویری تعریف شده خواهند بود تا در صورت پسند و نیاز پس از عضویت بتوانند فایل پیوستی (ورد , زیپ , پی دی اف , رار و غیره) را دریافت کنند.<br />
<br />
<br />
<img src="http://dl.midorinco.ir/picts/01/house_link.png" border="0" onerror="ImgError(this)" alt="[تصویر: house_link.png]" /><span style="color: #FF0000;"><span style="font-weight: bold;"> لینک اصلی :   </span></span>http://community.mybb.com/thread-128763.html]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[اضافه کردن دکمه به ادیتور SCEditor مای بی بی 1.8.4]]></title>
			<link>http://www.midorinco.ir/showthread.php?tid=1602</link>
			<pubDate>Fri, 27 Mar 2015 10:59:02 +0000</pubDate>
			<guid isPermaLink="false">http://www.midorinco.ir/showthread.php?tid=1602</guid>
			<description><![CDATA[<div style="text-align: CENTER;"><span style="text-shadow: 0px 5px 2px gray;"><span style="color: #FF0000;"><span style="font-size: medium;"><span style="font-weight: bold;">اضافه کردن دکمه به ادیتور SCEditor مای بی بی 1.8.4</span></span></span></span><br />
<br />
<div style="text-align: RIGHT;"><fieldset style="background:#efefef url(images/post-deco/ads.png) top left 0% no-repeat;width:90%;background-color:#C7D8FF;border-left:2px solid #023CC4;border-right:2px solid #023CC4;border-top:2px solid #023CC4;border-bottom:2px solid #023CC4;margin:0 auto 4px;padding:3px 15px 3px 40px;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><blink><strong>آگهی</strong></blink></legend><br/><font color="darkred" size="3"><strong>متن پیام : </strong><br /></font><font color="black"> <br />
<span style="font-weight: bold;">نگارش نهایی این آموزش را در <a href="http://www.midorinco.ir/showthread.php?tid=1602&amp;pid=1814#pid1814" target="_blank">اینجا</a> ببینید.</span><br />
<span style="font-weight: bold;">برای استفاده در نگارش 1.8.7 به <a href="http://www.midorinco.ir/showthread.php?tid=1602&amp;pid=1962#pid1962" target="_blank">اینجا</a> بروید .</span><br />
</font><br /><br /></fieldset><br />
برای اضافه کردن دکمه به اديتور جديد مای بی بی  هرجایی روشی داده شده ولی در آزمایش های من چیزی دست کاربران را نگرفته و به همین خاطر در صدد راهی برای آن برآمدم که نتیجه ی خوبی هم داشت و به هدف رسیدم . برای اضافه کردن دکمه به ادیتور جدید (1.8.4) مای بی بی نخست تصویر و فیلم های زیر را ببینید و در صورت نیاز و علاقه مند شدن , گام های مربوطه را انجام دهید .<br />
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">تصویر نمونه:</font></strong></legend><br />
<div style="text-align: CENTER;"><!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			2015-03-27_152542.png</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2482">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/image.gif" border="0" alt=".png" title=".png" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">5.96 KB</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">457 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1772795819</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --></div></fieldset></td></table>
<br />
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">فیلم های نمونه:</font></strong></legend></div><div style="text-align: CENTER;"><video width="90%" height="auto" controls poster="http://dl.midorinco.ir/picts/02/BirangS.png"><br />
  <source src="http://dl.midorinco.ir/video/01/1.mp4" type="video/mp4"><br />
  <source src="http://dl.midorinco.ir/video/01/1.mp4" type="video/ogg"><br />
  Your browser does not support the video tag.<br />
</video></div><div style="text-align: RIGHT;"><div style="text-align: CENTER;"><video width="90%" height="auto" controls poster="http://dl.midorinco.ir/picts/02/BirangS.png"><br />
  <source src="http://dl.midorinco.ir/video/01/2.mp4" type="video/mp4"><br />
  <source src="http://dl.midorinco.ir/video/01/2.mp4" type="video/ogg"><br />
  Your browser does not support the video tag.<br />
</video></div>
</fieldset></td></table>
<fieldset style="background:#efefef url(images/post-deco/note.png) top left 0% no-repeat;width:90%;background-color:#D4D4FF;border-left:2px solid #878787;border-right:2px solid #878787;border-top:2px solid #878787;border-bottom:2px solid #878787;margin:0 auto 4px;padding:3px 15px 3px 40px;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><blink><strong>یادداشت</strong></blink></legend><br/><font color="darkred" size="3"><strong>متن پیام : </strong><br /></font><font color="black"> <br />
این روش در مای بی بی 1.8.4 انجام شده و درست کار میکند . توجه داشته باشید که پس از ایجاد دکمه , مای کد لازم را هم باید درست کنید .<br />
</font><br /><br /></fieldset><br />
<br />
<span style="font-weight: bold;">گام نخست:</span> در روت سایتتان بروید و فایل jscripts/bbcodes_sceditor.js را باز کنید و کدهای زیر پیدا کنید :<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_29_100" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_29_100").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>$.sceditor.command.set('video',</code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
سپس کدهای زیر را پیش از کدهای بالا قرار دهید:<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_30_28" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_30_28").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>/* + Midori + */ $.sceditor.command.set('midori', {
/* + Midori + */ _dropDown: function (editor, caller) {
/* + Midori + */ var $content;
/* + Midori + */ $content = $(
/* + Midori + */ '<span class="xml_tag">&lt;div&gt;</span>' +
/* + Midori + */ '<span class="xml_tag">&lt;label</span> <span class="xml_attrib">for</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;midori&quot;</span><span class="xml_tag">&gt;</span>' + editor._('midori') + '<span class="xml_tag">&lt;/label&gt;</span> ' +
/* + Midori + */ '<span class="xml_tag">&lt;input</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;text&quot;</span> <span class="xml_attrib">id</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;midori&quot;</span> <span class="xml_tag">/&gt;</span>' +
/* + Midori + */ '<span class="xml_tag">&lt;/div&gt;</span>' +
/* + Midori + */ '<span class="xml_tag">&lt;div&gt;</span><span class="xml_tag">&lt;input</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;button&quot;</span> <span class="xml_attrib">value</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;' + editor._('Insert') + '&quot;</span> <span class="xml_tag">/&gt;</span><span class="xml_tag">&lt;/div&gt;</span>'
/* + Midori + */ );
/* + Midori + */ $content.find('.button').click(function (e) {
/* + Midori + */ var    val = $content.find('#midori').val();
/* + Midori + */ if(val) {
/* + Midori + */ editor.focus();
/* + Midori + */ editor.insert('[midori]'+val+'[/midori]');
/* + Midori + */ editor.closeDropDown(true);
/* + Midori + */ e.preventDefault();
/* + Midori + */ }
/* + Midori + */ });
/* + Midori + */ editor.createDropDown(caller, 'midori', $content);
/* + Midori + */ },
/* + Midori + */ exec: function (caller) {
/* + Midori + */ $.sceditor.command.get('midori')._dropDown(this, caller);
/* + Midori + */ },
/* + Midori + */ txtExec: function (caller) {
/* + Midori + */ $.sceditor.command.get('midori')._dropDown(this, caller);
/* + Midori + */ },
/* + Midori + */ tooltip: 'Midori'
/* + Midori + */ });</code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<fieldset style="background:#efefef url(images/post-deco/notice.png) top left 0% no-repeat;width:90%;background-color:#FCFAA9;border-left:2px solid #FFD42A;border-right:2px solid #FFD42A;border-top:2px solid #FFD42A;border-bottom:2px solid #FFD42A;margin:0 auto 4px;padding:3px 15px 3px 40px;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><blink><strong>توجه</strong></blink></legend><br/><font color="darkred" size="3"><strong>متن پیام : </strong><br /></font><font color="black"> <br />
در تمام کدهای بالا بجای midori از نام مورد نیاز خودتان استفاده کنید و خط 28 , که عنوان کلید است را با نام خودتان به <a href="http://www.midorinco.ir/index.php" title="پارسی" >پارسی</a> نوشته و فایل را با فرمت UTF-8 ذخیره کنید .<br />
</font><br /><br /></fieldset><br />
<br />
<span style="font-weight: bold;">نتیجه ی کدهای بالا می شود:</span>   [midori]http://www.midorinco.ir/[/midori]<br />
برای حالت دوم که میتواند وارد کردن مقداری هم باشد خط  15  را با کدهای زیر جایگزین کنید:<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_31_82" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_31_82").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>/* + Midori + */ editor.insert('[midori='+val+']', '[/midori]');</code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<span style="font-weight: bold;">که نتیجه میشود:</span>   [midori=200x500]http://www.midorinco.ir/[/midori] و یا [midori=20]http://www.midorinco.ir/[/midori]<br />
<br />
<span style="font-weight: bold;">گام دوم:</span> به مسیر jscripts/sceditor/editor_themes/mybb.css  بروید و فایل mybb.css را باز کنید و کدهای زیر را پیدا کنید :<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_32_20" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_32_20").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>/* Additional buttons (for MyBB) */
.sceditor-button-video div  {
  background-image: url(video.png);
}</code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
و پس از کدهای بالا کدهای زیر را اضافه کنید:<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_33_11" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_33_11").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>/* + Midori + */ .sceditor-button-midori div  {
/* + Midori + */ background-image: url(midori.png);
/* + Midori + */ }</code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<span style="font-weight: bold;">گام سوم:</span> به مسیر زیر بروید و متغیر زیر را پیدا کنید:<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; قالب های گروه بندی نشده &gt; بخش codebuttons<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_34_82" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_34_82").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>{$code}quote|</code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
و سپس با کدهای زیر جایگزین کنید:<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_35_33" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_35_33").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>{$code}quote|midori|</code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<fieldset style="background:#efefef url(images/post-deco/note.png) top left 0% no-repeat;width:90%;background-color:#D4D4FF;border-left:2px solid #878787;border-right:2px solid #878787;border-top:2px solid #878787;border-bottom:2px solid #878787;margin:0 auto 4px;padding:3px 15px 3px 40px;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><blink><strong>یادداشت</strong></blink></legend><br/><font color="darkred" size="3"><strong>متن پیام : </strong><br /></font><font color="black"> <br />
اگر میخواهید دکمه ها بهم وصل شوند از تایپ "|" خودداری کنید و اگر می خواهید جدا از دیگر دکمه ها قرار بگیرد تایپ کنید. در صورتیکه می خواهید چسبیده باشد از کاما استفاده کنید که میشود: <br />
<div style="text-align: RIGHT;"></p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_36_35" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_36_35").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>{$code}quote,midori|</code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></font><br /><br /></fieldset><br />
<br />
<span style="font-weight: bold;">گام چهارم:</span> تصویر مورد نظر خودتان را در مسیر زیر:<br />
<div style="text-align: RIGHT;">
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_37_91" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_37_91").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>jscripts/sceditor/editor_themes</code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div></div>آپلود کنید . (برای نمونه تصویری پیوست کرده ام) ==&gt;  <!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			midori.png</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2481">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/image.gif" border="0" alt=".png" title=".png" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">808 bytes</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">292 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1770174737</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --><br />
<span style="font-weight: bold;">کار تمام است .</span> امید که بکار بیاید .</div></div>]]></description>
			<content:encoded><![CDATA[<div style="text-align: CENTER;"><span style="text-shadow: 0px 5px 2px gray;"><span style="color: #FF0000;"><span style="font-size: medium;"><span style="font-weight: bold;">اضافه کردن دکمه به ادیتور SCEditor مای بی بی 1.8.4</span></span></span></span><br />
<br />
<div style="text-align: RIGHT;"><fieldset style="background:#efefef url(images/post-deco/ads.png) top left 0% no-repeat;width:90%;background-color:#C7D8FF;border-left:2px solid #023CC4;border-right:2px solid #023CC4;border-top:2px solid #023CC4;border-bottom:2px solid #023CC4;margin:0 auto 4px;padding:3px 15px 3px 40px;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><blink><strong>آگهی</strong></blink></legend><br/><font color="darkred" size="3"><strong>متن پیام : </strong><br /></font><font color="black"> <br />
<span style="font-weight: bold;">نگارش نهایی این آموزش را در <a href="http://www.midorinco.ir/showthread.php?tid=1602&amp;pid=1814#pid1814" target="_blank">اینجا</a> ببینید.</span><br />
<span style="font-weight: bold;">برای استفاده در نگارش 1.8.7 به <a href="http://www.midorinco.ir/showthread.php?tid=1602&amp;pid=1962#pid1962" target="_blank">اینجا</a> بروید .</span><br />
</font><br /><br /></fieldset><br />
برای اضافه کردن دکمه به اديتور جديد مای بی بی  هرجایی روشی داده شده ولی در آزمایش های من چیزی دست کاربران را نگرفته و به همین خاطر در صدد راهی برای آن برآمدم که نتیجه ی خوبی هم داشت و به هدف رسیدم . برای اضافه کردن دکمه به ادیتور جدید (1.8.4) مای بی بی نخست تصویر و فیلم های زیر را ببینید و در صورت نیاز و علاقه مند شدن , گام های مربوطه را انجام دهید .<br />
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">تصویر نمونه:</font></strong></legend><br />
<div style="text-align: CENTER;"><!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			2015-03-27_152542.png</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2482">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/image.gif" border="0" alt=".png" title=".png" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">5.96 KB</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">457 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1772795819</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --></div></fieldset></td></table>
<br />
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">فیلم های نمونه:</font></strong></legend></div><div style="text-align: CENTER;"><video width="90%" height="auto" controls poster="http://dl.midorinco.ir/picts/02/BirangS.png"><br />
  <source src="http://dl.midorinco.ir/video/01/1.mp4" type="video/mp4"><br />
  <source src="http://dl.midorinco.ir/video/01/1.mp4" type="video/ogg"><br />
  Your browser does not support the video tag.<br />
</video></div><div style="text-align: RIGHT;"><div style="text-align: CENTER;"><video width="90%" height="auto" controls poster="http://dl.midorinco.ir/picts/02/BirangS.png"><br />
  <source src="http://dl.midorinco.ir/video/01/2.mp4" type="video/mp4"><br />
  <source src="http://dl.midorinco.ir/video/01/2.mp4" type="video/ogg"><br />
  Your browser does not support the video tag.<br />
</video></div>
</fieldset></td></table>
<fieldset style="background:#efefef url(images/post-deco/note.png) top left 0% no-repeat;width:90%;background-color:#D4D4FF;border-left:2px solid #878787;border-right:2px solid #878787;border-top:2px solid #878787;border-bottom:2px solid #878787;margin:0 auto 4px;padding:3px 15px 3px 40px;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><blink><strong>یادداشت</strong></blink></legend><br/><font color="darkred" size="3"><strong>متن پیام : </strong><br /></font><font color="black"> <br />
این روش در مای بی بی 1.8.4 انجام شده و درست کار میکند . توجه داشته باشید که پس از ایجاد دکمه , مای کد لازم را هم باید درست کنید .<br />
</font><br /><br /></fieldset><br />
<br />
<span style="font-weight: bold;">گام نخست:</span> در روت سایتتان بروید و فایل jscripts/bbcodes_sceditor.js را باز کنید و کدهای زیر پیدا کنید :<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_29_100" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_29_100").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>$.sceditor.command.set('video',</code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
سپس کدهای زیر را پیش از کدهای بالا قرار دهید:<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_30_28" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_30_28").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>/* + Midori + */ $.sceditor.command.set('midori', {
/* + Midori + */ _dropDown: function (editor, caller) {
/* + Midori + */ var $content;
/* + Midori + */ $content = $(
/* + Midori + */ '<span class="xml_tag">&lt;div&gt;</span>' +
/* + Midori + */ '<span class="xml_tag">&lt;label</span> <span class="xml_attrib">for</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;midori&quot;</span><span class="xml_tag">&gt;</span>' + editor._('midori') + '<span class="xml_tag">&lt;/label&gt;</span> ' +
/* + Midori + */ '<span class="xml_tag">&lt;input</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;text&quot;</span> <span class="xml_attrib">id</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;midori&quot;</span> <span class="xml_tag">/&gt;</span>' +
/* + Midori + */ '<span class="xml_tag">&lt;/div&gt;</span>' +
/* + Midori + */ '<span class="xml_tag">&lt;div&gt;</span><span class="xml_tag">&lt;input</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;button&quot;</span> <span class="xml_attrib">value</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;' + editor._('Insert') + '&quot;</span> <span class="xml_tag">/&gt;</span><span class="xml_tag">&lt;/div&gt;</span>'
/* + Midori + */ );
/* + Midori + */ $content.find('.button').click(function (e) {
/* + Midori + */ var    val = $content.find('#midori').val();
/* + Midori + */ if(val) {
/* + Midori + */ editor.focus();
/* + Midori + */ editor.insert('[midori]'+val+'[/midori]');
/* + Midori + */ editor.closeDropDown(true);
/* + Midori + */ e.preventDefault();
/* + Midori + */ }
/* + Midori + */ });
/* + Midori + */ editor.createDropDown(caller, 'midori', $content);
/* + Midori + */ },
/* + Midori + */ exec: function (caller) {
/* + Midori + */ $.sceditor.command.get('midori')._dropDown(this, caller);
/* + Midori + */ },
/* + Midori + */ txtExec: function (caller) {
/* + Midori + */ $.sceditor.command.get('midori')._dropDown(this, caller);
/* + Midori + */ },
/* + Midori + */ tooltip: 'Midori'
/* + Midori + */ });</code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<fieldset style="background:#efefef url(images/post-deco/notice.png) top left 0% no-repeat;width:90%;background-color:#FCFAA9;border-left:2px solid #FFD42A;border-right:2px solid #FFD42A;border-top:2px solid #FFD42A;border-bottom:2px solid #FFD42A;margin:0 auto 4px;padding:3px 15px 3px 40px;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><blink><strong>توجه</strong></blink></legend><br/><font color="darkred" size="3"><strong>متن پیام : </strong><br /></font><font color="black"> <br />
در تمام کدهای بالا بجای midori از نام مورد نیاز خودتان استفاده کنید و خط 28 , که عنوان کلید است را با نام خودتان به <a href="http://www.midorinco.ir/index.php" title="پارسی" >پارسی</a> نوشته و فایل را با فرمت UTF-8 ذخیره کنید .<br />
</font><br /><br /></fieldset><br />
<br />
<span style="font-weight: bold;">نتیجه ی کدهای بالا می شود:</span>   [midori]http://www.midorinco.ir/[/midori]<br />
برای حالت دوم که میتواند وارد کردن مقداری هم باشد خط  15  را با کدهای زیر جایگزین کنید:<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_31_82" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_31_82").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>/* + Midori + */ editor.insert('[midori='+val+']', '[/midori]');</code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<span style="font-weight: bold;">که نتیجه میشود:</span>   [midori=200x500]http://www.midorinco.ir/[/midori] و یا [midori=20]http://www.midorinco.ir/[/midori]<br />
<br />
<span style="font-weight: bold;">گام دوم:</span> به مسیر jscripts/sceditor/editor_themes/mybb.css  بروید و فایل mybb.css را باز کنید و کدهای زیر را پیدا کنید :<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_32_20" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_32_20").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>/* Additional buttons (for MyBB) */
.sceditor-button-video div  {
  background-image: url(video.png);
}</code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
و پس از کدهای بالا کدهای زیر را اضافه کنید:<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_33_11" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_33_11").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>/* + Midori + */ .sceditor-button-midori div  {
/* + Midori + */ background-image: url(midori.png);
/* + Midori + */ }</code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<span style="font-weight: bold;">گام سوم:</span> به مسیر زیر بروید و متغیر زیر را پیدا کنید:<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; قالب های گروه بندی نشده &gt; بخش codebuttons<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_34_82" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_34_82").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>{$code}quote|</code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
و سپس با کدهای زیر جایگزین کنید:<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_35_33" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_35_33").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>{$code}quote|midori|</code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<fieldset style="background:#efefef url(images/post-deco/note.png) top left 0% no-repeat;width:90%;background-color:#D4D4FF;border-left:2px solid #878787;border-right:2px solid #878787;border-top:2px solid #878787;border-bottom:2px solid #878787;margin:0 auto 4px;padding:3px 15px 3px 40px;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><blink><strong>یادداشت</strong></blink></legend><br/><font color="darkred" size="3"><strong>متن پیام : </strong><br /></font><font color="black"> <br />
اگر میخواهید دکمه ها بهم وصل شوند از تایپ "|" خودداری کنید و اگر می خواهید جدا از دیگر دکمه ها قرار بگیرد تایپ کنید. در صورتیکه می خواهید چسبیده باشد از کاما استفاده کنید که میشود: <br />
<div style="text-align: RIGHT;"></p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_36_35" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_36_35").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>{$code}quote,midori|</code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></font><br /><br /></fieldset><br />
<br />
<span style="font-weight: bold;">گام چهارم:</span> تصویر مورد نظر خودتان را در مسیر زیر:<br />
<div style="text-align: RIGHT;">
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_37_91" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_37_91").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>jscripts/sceditor/editor_themes</code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div></div>آپلود کنید . (برای نمونه تصویری پیوست کرده ام) ==&gt;  <!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			midori.png</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2481">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/image.gif" border="0" alt=".png" title=".png" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">808 bytes</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">292 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1770174737</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --><br />
<span style="font-weight: bold;">کار تمام است .</span> امید که بکار بیاید .</div></div>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[آموزش نمایش دادن واژه های خودتان بجای زمان آنلاین در پروفایل]]></title>
			<link>http://www.midorinco.ir/showthread.php?tid=1555</link>
			<pubDate>Sat, 24 Jan 2015 15:06:44 +0000</pubDate>
			<guid isPermaLink="false">http://www.midorinco.ir/showthread.php?tid=1555</guid>
			<description><![CDATA[<div style="text-align: CENTER;"><span style="text-shadow: 0px 5px 2px gray;"><span style="color: #FF0000;"><span style="font-size: medium;"><span style="font-weight: bold;">آموزش نمایش دادن <a href="http://www.midorinco.ir/index.php" title="واژه" >واژه</a> های خودتان بجای زمان آنلاین در پروفایل</span></span></span></span></div>
اگر میخواهید در پروفایل تان و یا پروفایل کاربر ویژه ای بجای نمایش زمان آنلاین بودن , <a href="http://www.midorinco.ir/index.php" title="واژه" >واژه</a> های مورد نظرتان نمایش داده شود این راه کار بکارتان می آید . برای نمونه ی زنده هم می توانید پروفایل میدوری را ببینید . (تصویر هم پیوست کرده ام)<br />
<br />
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">نمونه:</font></strong></legend><br />
<div style="text-align: CENTER;"><!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			2015-01-24_182925.png</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2434">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/image.gif" border="0" alt=".png" title=".png" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">7.04 KB</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">387 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1772795957</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --></div></fieldset></td></table>
<br />
اگر علاقه مند شدید کارهای زیر را انجام دهید:<br />
<br />
<span style="font-weight: bold;">گام نخست:</span> پلاگین زیر را <a href="http://www.midorinco.ir/index.php" title="دانلود" >دانلود</a> و نصب کنید <br />
<br />
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">پلاگین PHP در قالب ها</font></strong></legend><br />
<div style="text-align: CENTER;">http://www.midorinco.ir/showthread.php?tid=1168</div></fieldset></td></table>
<br />
<span style="font-weight: bold;">گام دوم:</span> به مسیر زیر بروید:<br />
<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; Member Templates &gt; بخش member_profile<br />
کدهای زیر را پیدا کنید .<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_38_42" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_38_42").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="xml_tag">&lt;td</span> <span class="xml_attrib">class</span> =&quot;trow2&quot;&gt;{$timeonline}<span class="xml_tag">&lt;/td&gt;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
و کدهای زیر را جایگزین کدهای بالا کنید .<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_39_72" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_39_72").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="xml_tag">&lt;td</span> <span class="xml_attrib">class</span> =&quot;trow2&quot;&gt;<span class="xml_tag">&lt;if</span> <span class="xml_attrib">$memprofile['uid']</span> == UIDHERE then&gt;همیشه هستم<span class="xml_tag">&lt;else&gt;</span>{$timeonline}<span class="xml_tag">&lt;/if&gt;</span><span class="xml_tag">&lt;/td&gt;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
توجه کنید که بجای "UIDHERE"  آی دی فرد مورد نظر را بگذارید.<br />
<span style="font-weight: bold;">کارتمام است .</span> امید که بکار بیاید .]]></description>
			<content:encoded><![CDATA[<div style="text-align: CENTER;"><span style="text-shadow: 0px 5px 2px gray;"><span style="color: #FF0000;"><span style="font-size: medium;"><span style="font-weight: bold;">آموزش نمایش دادن <a href="http://www.midorinco.ir/index.php" title="واژه" >واژه</a> های خودتان بجای زمان آنلاین در پروفایل</span></span></span></span></div>
اگر میخواهید در پروفایل تان و یا پروفایل کاربر ویژه ای بجای نمایش زمان آنلاین بودن , <a href="http://www.midorinco.ir/index.php" title="واژه" >واژه</a> های مورد نظرتان نمایش داده شود این راه کار بکارتان می آید . برای نمونه ی زنده هم می توانید پروفایل میدوری را ببینید . (تصویر هم پیوست کرده ام)<br />
<br />
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">نمونه:</font></strong></legend><br />
<div style="text-align: CENTER;"><!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			2015-01-24_182925.png</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2434">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/image.gif" border="0" alt=".png" title=".png" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">7.04 KB</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">387 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1772795957</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --></div></fieldset></td></table>
<br />
اگر علاقه مند شدید کارهای زیر را انجام دهید:<br />
<br />
<span style="font-weight: bold;">گام نخست:</span> پلاگین زیر را <a href="http://www.midorinco.ir/index.php" title="دانلود" >دانلود</a> و نصب کنید <br />
<br />
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">پلاگین PHP در قالب ها</font></strong></legend><br />
<div style="text-align: CENTER;">http://www.midorinco.ir/showthread.php?tid=1168</div></fieldset></td></table>
<br />
<span style="font-weight: bold;">گام دوم:</span> به مسیر زیر بروید:<br />
<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; Member Templates &gt; بخش member_profile<br />
کدهای زیر را پیدا کنید .<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_38_42" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_38_42").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="xml_tag">&lt;td</span> <span class="xml_attrib">class</span> =&quot;trow2&quot;&gt;{$timeonline}<span class="xml_tag">&lt;/td&gt;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
و کدهای زیر را جایگزین کدهای بالا کنید .<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_39_72" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_39_72").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="xml_tag">&lt;td</span> <span class="xml_attrib">class</span> =&quot;trow2&quot;&gt;<span class="xml_tag">&lt;if</span> <span class="xml_attrib">$memprofile['uid']</span> == UIDHERE then&gt;همیشه هستم<span class="xml_tag">&lt;else&gt;</span>{$timeonline}<span class="xml_tag">&lt;/if&gt;</span><span class="xml_tag">&lt;/td&gt;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
توجه کنید که بجای "UIDHERE"  آی دی فرد مورد نظر را بگذارید.<br />
<span style="font-weight: bold;">کارتمام است .</span> امید که بکار بیاید .]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[آموزش اضافه کردن مدیا پلیر به پروفایل کاربران]]></title>
			<link>http://www.midorinco.ir/showthread.php?tid=1554</link>
			<pubDate>Fri, 23 Jan 2015 22:01:06 +0000</pubDate>
			<guid isPermaLink="false">http://www.midorinco.ir/showthread.php?tid=1554</guid>
			<description><![CDATA[<div style="text-align: CENTER;"><span style="text-shadow: 0px 5px 2px gray;"><span style="color: #FF0000;"><span style="font-size: medium;"><span style="font-weight: bold;">آموزش اضافه کردن مدیا پلیر به پروفایل کاربران</span></span></span></span><br />
<div style="text-align: RIGHT;">توسط این راه کار کاربران می توانند در پروفایل خودشان موزیک یا ویدیوی دلخواه شان را قرار بدهند . چون یوتیوب و .... در ایران براحتی در دسترس نیستند , از قابلیت خود ویندوز استفاده کرده ام و مدیا (موزیک و یا ویدیوها) با قابلیت پخش کننده ی مدیا پلیر ویندوز پخش می شود.</div></div>
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">نمونه:</font></strong></legend><br />
<div style="text-align: CENTER;"><!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			2015-01-24_005632.jpg</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2432">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/image.gif" border="0" alt=".jpg" title=".jpg" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">15.69 KB</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">374 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1772795975</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --><!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			2015-01-24_013710.jpg</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2433">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/image.gif" border="0" alt=".jpg" title=".jpg" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">22.82 KB</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">386 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1772795976</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --></div></fieldset></td></table>
<br />
<span style="font-weight: bold;">گام یکم:</span> نخست به مسیر زیر بروید:<br />
کنترل پنل مدیریت --&gt; پیکربندی --&gt; فیلد های مشخصات اختیاری<br />
و گزینه ی اضافه کردن فیلد جدید را انتخاب و طبق تنظیمات زیر عمل کنید:<br />
<span style="color: #FF0000;"><span style="font-weight: bold;">عنوان:</span></span> مدیای من<br />
<span style="color: #FF0000;"><span style="font-weight: bold;">توضیح کوتاه:</span></span> لطفا آدرس مدیای خود «موزیک یا ویدیو» را در این قسمت وارد نمایید.<br />
<span style="color: #FF0000;"><span style="font-weight: bold;">نوع فیلد:</span></span> جعبه متن<br />
<span style="color: #FF0000;"><span style="font-weight: bold;">حداکثر طول:</span></span> 300<br />
<span style="font-weight: bold;"><span style="color: #FF0000;">ترتیب نمایش:</span></span> --<br />
<span style="color: #FF0000;"><span style="font-weight: bold;">قابل ویرایش توسط کاربر باشد؟</span></span> بله<br />
<span style="color: #FF0000;"><span style="font-weight: bold;">در پروفایل پنهان باشد؟</span></span> بله <blink>«مهم است که پنهان بماند»</blink><br />
<br />
<span style="font-weight: bold;">گام دوم:</span> به مسیر زیر بروید:<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; Member Templates &gt; بخش member_profile<br />
رفته و کد زیر را بعد از  {&#36;profilefields} اضافه نمایید .<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_40_24" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_40_24").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="xml_tag">&lt;br</span> <span class="xml_tag">/&gt;</span><span class="xml_tag">&lt;table</span> <span class="xml_attrib">border</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;0&quot;</span> <span class="xml_attrib">cellspacing</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;1&quot;</span> <span class="xml_attrib">cellpadding</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;4&quot;</span><span class="xml_tag">&gt;</span>
<span class="xml_tag">&lt;tr&gt;</span><span class="xml_tag">&lt;td</span> <span class="xml_attrib">colspan</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;&quot;</span><span class="xml_tag">&gt;</span><span class="xml_tag">&lt;strong&gt;</span><span class="xml_tag">&lt;font</span> <span class="xml_attrib">color</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;#ffffff&quot;</span><span class="xml_tag">&gt;</span>مدیای من :<span class="xml_tag">&lt;/font&gt;</span><span class="xml_tag">&lt;/strong&gt;</span><span class="xml_tag">&lt;/td&gt;</span>
<span class="xml_tag">&lt;/tr&gt;</span><span class="xml_tag">&lt;tr&gt;</span><span class="xml_tag">&lt;td&gt;</span>
<span class="xml_tag">&lt;br&gt;</span><span class="xml_tag">&lt;center&gt;</span><span class="xml_tag">&lt;object</span> <span class="xml_attrib">classid</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6&quot;</span> <span class="xml_attrib">id</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;player&quot;</span> <span class="xml_attrib">width</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;400&quot;</span> <span class="xml_attrib">height</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;300&quot;</span><span class="xml_tag">&gt;</span>
<span class="xml_tag">&lt;param</span> <span class="xml_attrib">name</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;url&quot;</span> <span class="xml_attrib">value</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$userfields['fidX']}&quot;</span> <span class="xml_tag">/&gt;</span>
<span class="xml_tag">&lt;param</span> <span class="xml_attrib">name</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;src&quot;</span> <span class="xml_attrib">value</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$userfields['fidX']}&quot;</span> <span class="xml_tag">/&gt;</span>
<span class="xml_tag">&lt;param</span> <span class="xml_attrib">name</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;showcontrols&quot;</span> <span class="xml_attrib">value</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;false&quot;</span> <span class="xml_tag">/&gt;</span>
<span class="xml_tag">&lt;param</span> <span class="xml_attrib">name</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;autostart&quot;</span> <span class="xml_attrib">value</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;true&quot;</span> <span class="xml_tag">/&gt;</span>
<span class="xml_comment">&lt;!--[if !IE]&gt;--&gt;</span>
<span class="xml_tag">&lt;object</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;video/x-ms-wmv&quot;</span> <span class="xml_attrib">data</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$userfields['fidX']}&quot;</span> <span class="xml_attrib">width</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;400&quot;</span> <span class="xml_attrib">height</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;300&quot;</span><span class="xml_tag">&gt;</span>
<span class="xml_tag">&lt;param</span> <span class="xml_attrib">name</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;src&quot;</span> <span class="xml_attrib">value</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$userfields['fidX']}&quot;</span> <span class="xml_tag">/&gt;</span>
<span class="xml_tag">&lt;param</span> <span class="xml_attrib">name</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;controller&quot;</span> <span class="xml_attrib">value</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;false&quot;</span> <span class="xml_tag">/&gt;</span>
<span class="xml_tag">&lt;param</span> <span class="xml_attrib">name</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;autostart&quot;</span> <span class="xml_attrib">value</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;true&quot;</span> <span class="xml_tag">/&gt;</span>
<span class="xml_tag">&lt;/object&gt;</span><span class="xml_comment">&lt;!--&lt;![endif]--&gt;</span>
<span class="xml_tag">&lt;/object&gt;</span><span class="xml_tag">&lt;/center&gt;</span>
<span class="xml_tag">&lt;/td&gt;</span><span class="xml_tag">&lt;/tr&gt;</span><span class="xml_tag">&lt;/table&gt;</span></code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<span style="font-weight: bold;">توجه داشته باشید که</span> در کدهای بالا بجای X در fidX شماره فیلدی را که ایجاد کردید قرار دهید. <br />
<br />
<fieldset style="background:#efefef url(images/post-deco/notice.png) top left 0% no-repeat;width:90%;background-color:#FCFAA9;border-left:2px solid #FFD42A;border-right:2px solid #FFD42A;border-top:2px solid #FFD42A;border-bottom:2px solid #FFD42A;margin:0 auto 4px;padding:3px 15px 3px 40px;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><blink><strong>توجه</strong></blink></legend><br/><font color="darkred" size="3"><strong>متن پیام : </strong><br /></font><font color="black"> <br />
کاربران برای تنظیم موزیک و یا فیلم دلخواه خود باید به بخش "کنترل پنل کاربر --&gt; ویرایش پروفایل" مراجعه نمایند .<br />
</font><br /><br /></fieldset><br />
<br />
<span style="font-weight: bold;">کار تمام است .</span> امید که بکار بیاید .<br />
نمونه ی زنده را در پروفایل میدوری ببینید . <img src="images/smilies/cool.gif" style="vertical-align: middle;" border="0" alt="Cool" title="Cool" />]]></description>
			<content:encoded><![CDATA[<div style="text-align: CENTER;"><span style="text-shadow: 0px 5px 2px gray;"><span style="color: #FF0000;"><span style="font-size: medium;"><span style="font-weight: bold;">آموزش اضافه کردن مدیا پلیر به پروفایل کاربران</span></span></span></span><br />
<div style="text-align: RIGHT;">توسط این راه کار کاربران می توانند در پروفایل خودشان موزیک یا ویدیوی دلخواه شان را قرار بدهند . چون یوتیوب و .... در ایران براحتی در دسترس نیستند , از قابلیت خود ویندوز استفاده کرده ام و مدیا (موزیک و یا ویدیوها) با قابلیت پخش کننده ی مدیا پلیر ویندوز پخش می شود.</div></div>
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">نمونه:</font></strong></legend><br />
<div style="text-align: CENTER;"><!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			2015-01-24_005632.jpg</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2432">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/image.gif" border="0" alt=".jpg" title=".jpg" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">15.69 KB</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">374 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1772795975</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --><!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			2015-01-24_013710.jpg</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2433">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/image.gif" border="0" alt=".jpg" title=".jpg" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">22.82 KB</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">386 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1772795976</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --></div></fieldset></td></table>
<br />
<span style="font-weight: bold;">گام یکم:</span> نخست به مسیر زیر بروید:<br />
کنترل پنل مدیریت --&gt; پیکربندی --&gt; فیلد های مشخصات اختیاری<br />
و گزینه ی اضافه کردن فیلد جدید را انتخاب و طبق تنظیمات زیر عمل کنید:<br />
<span style="color: #FF0000;"><span style="font-weight: bold;">عنوان:</span></span> مدیای من<br />
<span style="color: #FF0000;"><span style="font-weight: bold;">توضیح کوتاه:</span></span> لطفا آدرس مدیای خود «موزیک یا ویدیو» را در این قسمت وارد نمایید.<br />
<span style="color: #FF0000;"><span style="font-weight: bold;">نوع فیلد:</span></span> جعبه متن<br />
<span style="color: #FF0000;"><span style="font-weight: bold;">حداکثر طول:</span></span> 300<br />
<span style="font-weight: bold;"><span style="color: #FF0000;">ترتیب نمایش:</span></span> --<br />
<span style="color: #FF0000;"><span style="font-weight: bold;">قابل ویرایش توسط کاربر باشد؟</span></span> بله<br />
<span style="color: #FF0000;"><span style="font-weight: bold;">در پروفایل پنهان باشد؟</span></span> بله <blink>«مهم است که پنهان بماند»</blink><br />
<br />
<span style="font-weight: bold;">گام دوم:</span> به مسیر زیر بروید:<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; Member Templates &gt; بخش member_profile<br />
رفته و کد زیر را بعد از  {&#36;profilefields} اضافه نمایید .<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_40_24" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_40_24").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="xml_tag">&lt;br</span> <span class="xml_tag">/&gt;</span><span class="xml_tag">&lt;table</span> <span class="xml_attrib">border</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;0&quot;</span> <span class="xml_attrib">cellspacing</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;1&quot;</span> <span class="xml_attrib">cellpadding</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;4&quot;</span><span class="xml_tag">&gt;</span>
<span class="xml_tag">&lt;tr&gt;</span><span class="xml_tag">&lt;td</span> <span class="xml_attrib">colspan</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;&quot;</span><span class="xml_tag">&gt;</span><span class="xml_tag">&lt;strong&gt;</span><span class="xml_tag">&lt;font</span> <span class="xml_attrib">color</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;#ffffff&quot;</span><span class="xml_tag">&gt;</span>مدیای من :<span class="xml_tag">&lt;/font&gt;</span><span class="xml_tag">&lt;/strong&gt;</span><span class="xml_tag">&lt;/td&gt;</span>
<span class="xml_tag">&lt;/tr&gt;</span><span class="xml_tag">&lt;tr&gt;</span><span class="xml_tag">&lt;td&gt;</span>
<span class="xml_tag">&lt;br&gt;</span><span class="xml_tag">&lt;center&gt;</span><span class="xml_tag">&lt;object</span> <span class="xml_attrib">classid</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6&quot;</span> <span class="xml_attrib">id</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;player&quot;</span> <span class="xml_attrib">width</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;400&quot;</span> <span class="xml_attrib">height</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;300&quot;</span><span class="xml_tag">&gt;</span>
<span class="xml_tag">&lt;param</span> <span class="xml_attrib">name</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;url&quot;</span> <span class="xml_attrib">value</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$userfields['fidX']}&quot;</span> <span class="xml_tag">/&gt;</span>
<span class="xml_tag">&lt;param</span> <span class="xml_attrib">name</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;src&quot;</span> <span class="xml_attrib">value</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$userfields['fidX']}&quot;</span> <span class="xml_tag">/&gt;</span>
<span class="xml_tag">&lt;param</span> <span class="xml_attrib">name</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;showcontrols&quot;</span> <span class="xml_attrib">value</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;false&quot;</span> <span class="xml_tag">/&gt;</span>
<span class="xml_tag">&lt;param</span> <span class="xml_attrib">name</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;autostart&quot;</span> <span class="xml_attrib">value</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;true&quot;</span> <span class="xml_tag">/&gt;</span>
<span class="xml_comment">&lt;!--[if !IE]&gt;--&gt;</span>
<span class="xml_tag">&lt;object</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;video/x-ms-wmv&quot;</span> <span class="xml_attrib">data</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$userfields['fidX']}&quot;</span> <span class="xml_attrib">width</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;400&quot;</span> <span class="xml_attrib">height</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;300&quot;</span><span class="xml_tag">&gt;</span>
<span class="xml_tag">&lt;param</span> <span class="xml_attrib">name</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;src&quot;</span> <span class="xml_attrib">value</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$userfields['fidX']}&quot;</span> <span class="xml_tag">/&gt;</span>
<span class="xml_tag">&lt;param</span> <span class="xml_attrib">name</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;controller&quot;</span> <span class="xml_attrib">value</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;false&quot;</span> <span class="xml_tag">/&gt;</span>
<span class="xml_tag">&lt;param</span> <span class="xml_attrib">name</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;autostart&quot;</span> <span class="xml_attrib">value</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;true&quot;</span> <span class="xml_tag">/&gt;</span>
<span class="xml_tag">&lt;/object&gt;</span><span class="xml_comment">&lt;!--&lt;![endif]--&gt;</span>
<span class="xml_tag">&lt;/object&gt;</span><span class="xml_tag">&lt;/center&gt;</span>
<span class="xml_tag">&lt;/td&gt;</span><span class="xml_tag">&lt;/tr&gt;</span><span class="xml_tag">&lt;/table&gt;</span></code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<span style="font-weight: bold;">توجه داشته باشید که</span> در کدهای بالا بجای X در fidX شماره فیلدی را که ایجاد کردید قرار دهید. <br />
<br />
<fieldset style="background:#efefef url(images/post-deco/notice.png) top left 0% no-repeat;width:90%;background-color:#FCFAA9;border-left:2px solid #FFD42A;border-right:2px solid #FFD42A;border-top:2px solid #FFD42A;border-bottom:2px solid #FFD42A;margin:0 auto 4px;padding:3px 15px 3px 40px;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><blink><strong>توجه</strong></blink></legend><br/><font color="darkred" size="3"><strong>متن پیام : </strong><br /></font><font color="black"> <br />
کاربران برای تنظیم موزیک و یا فیلم دلخواه خود باید به بخش "کنترل پنل کاربر --&gt; ویرایش پروفایل" مراجعه نمایند .<br />
</font><br /><br /></fieldset><br />
<br />
<span style="font-weight: bold;">کار تمام است .</span> امید که بکار بیاید .<br />
نمونه ی زنده را در پروفایل میدوری ببینید . <img src="images/smilies/cool.gif" style="vertical-align: middle;" border="0" alt="Cool" title="Cool" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[رفع نمایش «مکان نامعلوم» در لیست افراد آنلاین]]></title>
			<link>http://www.midorinco.ir/showthread.php?tid=1505</link>
			<pubDate>Tue, 06 Jan 2015 08:57:30 +0000</pubDate>
			<guid isPermaLink="false">http://www.midorinco.ir/showthread.php?tid=1505</guid>
			<description><![CDATA[<div style="text-align: CENTER;"><span style="text-shadow: 0px 5px 2px gray;"><span style="color: #FF0000;"><span style="font-size: medium;"><span style="font-weight: bold;">رفع نمایش «مکان نامعلوم» در لیست افراد آنلاین</span></span></span></span><br />
<br />
<div style="text-align: RIGHT;">برای رفع مشکل نمایش «مکان نامعلوم» (که در اثر تداخل کاریِ پلاگین ها بوجود می آید) در صفحه ی افراد آنلاین راه کاری برای دوستان قرار میدهم امید که بکار بیاید .<br />
برای این کار به مسیر زیر بروید:<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; Who's Online Templates &gt; بخش online<br />
و کدهای زیر را پیش از متغیر  {&#36;footer}  قرار دهید .<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_41_11" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_41_11").style.display = "";
//-->
</script><city>کد Javascript:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="c_symbol">&lt;</span>script type<span class="c_symbol">=</span><span class="c_string">&quot;text/javascript&quot;</span><span class="c_symbol">&gt;</span>
jQuery<span class="c_symbol">(</span>document<span class="c_symbol">)</span>.ready<span class="c_symbol">(</span><span class="c_type">function</span><span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">{</span>
    jQuery<span class="c_symbol">(</span>jQuery<span class="c_symbol">(</span><span class="c_string">'a:contains(&quot;Unknown Location&quot;)'</span><span class="c_symbol">)</span><span class="c_symbol">)</span>.each<span class="c_symbol">(</span><span class="c_type">function</span> <span class="c_symbol">(</span><span class="c_symbol">)</span> <span class="c_symbol">{</span>
	   jQuery<span class="c_symbol">(</span><span class="c_type">this</span><span class="c_symbol">)</span>.addClass<span class="c_symbol">(</span><span class="c_string">'unknown'</span><span class="c_symbol">)</span><span class="c_symbol">;</span> <span class="c_linecomment">// Just to capitalize the name, found easy with CSS</span>
	   <span class="c_keyword">var</span> page <span class="c_symbol">=</span> <span class="c_symbol">(</span>jQuery<span class="c_symbol">(</span><span class="c_type">this</span><span class="c_symbol">)</span>.attr<span class="c_symbol">(</span><span class="c_string">'href'</span><span class="c_symbol">)</span><span class="c_symbol">)</span><span class="c_symbol">;</span> <span class="c_linecomment">// Fetch the link</span>
	   page <span class="c_symbol">=</span> page.substr<span class="c_symbol">(</span>page.lastIndexOf<span class="c_symbol">(</span><span class="c_string">&quot;/&quot;</span><span class="c_symbol">)</span> <span class="c_symbol">+</span> <span class="c_number">1</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
	   page <span class="c_symbol">=</span> page.substr<span class="c_symbol">(</span><span class="c_number">0</span><span class="c_symbol">,</span> page.lastIndexOf<span class="c_symbol">(</span><span class="c_string">'.'</span><span class="c_symbol">)</span><span class="c_symbol">)</span> <span class="c_symbol">|</span><span class="c_symbol">|</span> page<span class="c_symbol">;</span>
	   jQuery<span class="c_symbol">(</span><span class="c_type">this</span><span class="c_symbol">)</span>.before<span class="c_symbol">(</span><span class="c_string">'Viewing '</span><span class="c_symbol">)</span>.html<span class="c_symbol">(</span>page<span class="c_symbol">)</span><span class="c_symbol">;</span> <span class="c_linecomment">// Change linked text and prepend text 'Viewing' before it.</span>
    <span class="c_symbol">}</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
<span class="c_symbol">}</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
<span class="c_symbol">&lt;</span>/script<span class="c_symbol">&gt;</span></code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<span style="font-weight: bold;">کار تمام است .</span> از این پس «مکان نامعلوم» را نخواهید دید .<br />
<br />
<fieldset style="background:#efefef url(images/post-deco/notice.png) top left 0% no-repeat;width:90%;background-color:#FCFAA9;border-left:2px solid #FFD42A;border-right:2px solid #FFD42A;border-top:2px solid #FFD42A;border-bottom:2px solid #FFD42A;margin:0 auto 4px;padding:3px 15px 3px 40px;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><blink><strong>توجه</strong></blink></legend><br/><font color="darkred" size="3"><strong>متن پیام : </strong><br /></font><font color="black"> <br />
ممکن است باز هم «مکان نامعلوم» دیده شود (بدلیل کار پلاگین هاست ) ولی با این راه کار تعدادشان کمتر خواهد بود . اگر روی «مکان نامعلوم» با اشاره گر(ماوس) بروید و با دیدن لینک آن متوجه کارکرد پلاگین مربوطه خواهید شد .<br />
</font><br /><br /></fieldset></div></div>]]></description>
			<content:encoded><![CDATA[<div style="text-align: CENTER;"><span style="text-shadow: 0px 5px 2px gray;"><span style="color: #FF0000;"><span style="font-size: medium;"><span style="font-weight: bold;">رفع نمایش «مکان نامعلوم» در لیست افراد آنلاین</span></span></span></span><br />
<br />
<div style="text-align: RIGHT;">برای رفع مشکل نمایش «مکان نامعلوم» (که در اثر تداخل کاریِ پلاگین ها بوجود می آید) در صفحه ی افراد آنلاین راه کاری برای دوستان قرار میدهم امید که بکار بیاید .<br />
برای این کار به مسیر زیر بروید:<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; Who's Online Templates &gt; بخش online<br />
و کدهای زیر را پیش از متغیر  {&#36;footer}  قرار دهید .<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_41_11" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_41_11").style.display = "";
//-->
</script><city>کد Javascript:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="c_symbol">&lt;</span>script type<span class="c_symbol">=</span><span class="c_string">&quot;text/javascript&quot;</span><span class="c_symbol">&gt;</span>
jQuery<span class="c_symbol">(</span>document<span class="c_symbol">)</span>.ready<span class="c_symbol">(</span><span class="c_type">function</span><span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">{</span>
    jQuery<span class="c_symbol">(</span>jQuery<span class="c_symbol">(</span><span class="c_string">'a:contains(&quot;Unknown Location&quot;)'</span><span class="c_symbol">)</span><span class="c_symbol">)</span>.each<span class="c_symbol">(</span><span class="c_type">function</span> <span class="c_symbol">(</span><span class="c_symbol">)</span> <span class="c_symbol">{</span>
	   jQuery<span class="c_symbol">(</span><span class="c_type">this</span><span class="c_symbol">)</span>.addClass<span class="c_symbol">(</span><span class="c_string">'unknown'</span><span class="c_symbol">)</span><span class="c_symbol">;</span> <span class="c_linecomment">// Just to capitalize the name, found easy with CSS</span>
	   <span class="c_keyword">var</span> page <span class="c_symbol">=</span> <span class="c_symbol">(</span>jQuery<span class="c_symbol">(</span><span class="c_type">this</span><span class="c_symbol">)</span>.attr<span class="c_symbol">(</span><span class="c_string">'href'</span><span class="c_symbol">)</span><span class="c_symbol">)</span><span class="c_symbol">;</span> <span class="c_linecomment">// Fetch the link</span>
	   page <span class="c_symbol">=</span> page.substr<span class="c_symbol">(</span>page.lastIndexOf<span class="c_symbol">(</span><span class="c_string">&quot;/&quot;</span><span class="c_symbol">)</span> <span class="c_symbol">+</span> <span class="c_number">1</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
	   page <span class="c_symbol">=</span> page.substr<span class="c_symbol">(</span><span class="c_number">0</span><span class="c_symbol">,</span> page.lastIndexOf<span class="c_symbol">(</span><span class="c_string">'.'</span><span class="c_symbol">)</span><span class="c_symbol">)</span> <span class="c_symbol">|</span><span class="c_symbol">|</span> page<span class="c_symbol">;</span>
	   jQuery<span class="c_symbol">(</span><span class="c_type">this</span><span class="c_symbol">)</span>.before<span class="c_symbol">(</span><span class="c_string">'Viewing '</span><span class="c_symbol">)</span>.html<span class="c_symbol">(</span>page<span class="c_symbol">)</span><span class="c_symbol">;</span> <span class="c_linecomment">// Change linked text and prepend text 'Viewing' before it.</span>
    <span class="c_symbol">}</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
<span class="c_symbol">}</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
<span class="c_symbol">&lt;</span>/script<span class="c_symbol">&gt;</span></code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<span style="font-weight: bold;">کار تمام است .</span> از این پس «مکان نامعلوم» را نخواهید دید .<br />
<br />
<fieldset style="background:#efefef url(images/post-deco/notice.png) top left 0% no-repeat;width:90%;background-color:#FCFAA9;border-left:2px solid #FFD42A;border-right:2px solid #FFD42A;border-top:2px solid #FFD42A;border-bottom:2px solid #FFD42A;margin:0 auto 4px;padding:3px 15px 3px 40px;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><blink><strong>توجه</strong></blink></legend><br/><font color="darkred" size="3"><strong>متن پیام : </strong><br /></font><font color="black"> <br />
ممکن است باز هم «مکان نامعلوم» دیده شود (بدلیل کار پلاگین هاست ) ولی با این راه کار تعدادشان کمتر خواهد بود . اگر روی «مکان نامعلوم» با اشاره گر(ماوس) بروید و با دیدن لینک آن متوجه کارکرد پلاگین مربوطه خواهید شد .<br />
</font><br /><br /></fieldset></div></div>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[1.8] نمایش تصویر و فیلم بصورت پاپ آپ]]></title>
			<link>http://www.midorinco.ir/showthread.php?tid=1394</link>
			<pubDate>Tue, 07 Oct 2014 09:20:48 +0000</pubDate>
			<guid isPermaLink="false">http://www.midorinco.ir/showthread.php?tid=1394</guid>
			<description><![CDATA[<div style="text-align: CENTER;"><span style="text-shadow: 0px 5px 2px gray;"><span style="font-size: medium;"><span style="color: #FF0000;"><span style="font-weight: bold;">نمایش تصویر و فیلم بصورت پاپ آپ</span></span></span></span></div>راه کاری برای نمايش تصوير و يا فيلم های يوتيوب در همان صفحه ی انجمن برای دوستان قرار می دهم .این راهکار برای مای بی بی 1.8 به بالا است و روی 1.6 و 1.4 کار نمیکند . نخست تصویر های پیوستی را ببینید . در صورت علاقه مند شدن کارهای زیر را باید انجام دهید .<br />
<br />
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">نمونه ها:</font></strong></legend><br />
<div style="text-align: CENTER;"><!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			2014-10-07_122846.jpg</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2208">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/image.gif" border="0" alt=".jpg" title=".jpg" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">23.03 KB</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">393 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1772796027</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --><!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			2014-10-07_122826.jpg</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2207">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/image.gif" border="0" alt=".jpg" title=".jpg" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">12.42 KB</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">403 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1772796026</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --></div></fieldset></td></table>
<br />
<span style="font-weight: bold;">گام نخست :</span> فایل جاوای پیوستی را در پوشه ی"jscripts" <a href="http://www.midorinco.ir/index.php" title="آپلود" >آپلود</a> کنید<br />
<br />
<span style="font-weight: bold;">گام دوم :</span> به مسیر زیر بروید:<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; قالب های گروه بندی نشده &gt; بخش headerinclude<br />
وکد های زیر را پیدا کنید<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_42_55" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_42_55").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="xml_tag">&lt;script</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;text/javascript&quot;</span> <span class="xml_attrib">src</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$mybb-&gt;asset_url}/jscripts/jquery.plugins.min.js?ver=1800&quot;</span><span class="xml_tag">&gt;</span><span class="html_script"></span><span class="xml_tag">&lt;/script&gt;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
سپس کدهای زیر را بعد از آن وارد کنید<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_43_94" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_43_94").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="xml_tag">&lt;script</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;text/javascript&quot;</span> <span class="xml_attrib">src</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$mybb-&gt;asset_url}/jscripts/extra.js&quot;</span><span class="xml_tag">&gt;</span><span class="html_script"></span><span class="xml_tag">&lt;/script&gt;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<span style="font-weight: bold;">کار تمام است .</span><br />
از این پس هرموقع آدرس تصویر و یا آدرس فیلمی در یو تیوب را بصورت مستقیم در پست ها وارد کنید , با کلیک روی آن در همان صفحه بصورت پاپ آپ نمایش داده خواهند شد (مانند تصویر پیوستی)<br />
<br />
<!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			extra.rar</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2209">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/rar.gif" border="0" alt=".rar" title=".rar" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">684 bytes</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">375 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1764907414</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-weight: bold;">منبع :</span> <a href="http://community.mybb.com/thread-160840.html" target="_blank" rel="nofollow">http://community.mybb.com/thread-160840.html</a>]]></description>
			<content:encoded><![CDATA[<div style="text-align: CENTER;"><span style="text-shadow: 0px 5px 2px gray;"><span style="font-size: medium;"><span style="color: #FF0000;"><span style="font-weight: bold;">نمایش تصویر و فیلم بصورت پاپ آپ</span></span></span></span></div>راه کاری برای نمايش تصوير و يا فيلم های يوتيوب در همان صفحه ی انجمن برای دوستان قرار می دهم .این راهکار برای مای بی بی 1.8 به بالا است و روی 1.6 و 1.4 کار نمیکند . نخست تصویر های پیوستی را ببینید . در صورت علاقه مند شدن کارهای زیر را باید انجام دهید .<br />
<br />
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">نمونه ها:</font></strong></legend><br />
<div style="text-align: CENTER;"><!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			2014-10-07_122846.jpg</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2208">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/image.gif" border="0" alt=".jpg" title=".jpg" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">23.03 KB</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">393 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1772796027</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --><!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			2014-10-07_122826.jpg</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2207">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/image.gif" border="0" alt=".jpg" title=".jpg" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">12.42 KB</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">403 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1772796026</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --></div></fieldset></td></table>
<br />
<span style="font-weight: bold;">گام نخست :</span> فایل جاوای پیوستی را در پوشه ی"jscripts" <a href="http://www.midorinco.ir/index.php" title="آپلود" >آپلود</a> کنید<br />
<br />
<span style="font-weight: bold;">گام دوم :</span> به مسیر زیر بروید:<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; قالب های گروه بندی نشده &gt; بخش headerinclude<br />
وکد های زیر را پیدا کنید<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_42_55" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_42_55").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="xml_tag">&lt;script</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;text/javascript&quot;</span> <span class="xml_attrib">src</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$mybb-&gt;asset_url}/jscripts/jquery.plugins.min.js?ver=1800&quot;</span><span class="xml_tag">&gt;</span><span class="html_script"></span><span class="xml_tag">&lt;/script&gt;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
سپس کدهای زیر را بعد از آن وارد کنید<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_43_94" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_43_94").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="xml_tag">&lt;script</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;text/javascript&quot;</span> <span class="xml_attrib">src</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$mybb-&gt;asset_url}/jscripts/extra.js&quot;</span><span class="xml_tag">&gt;</span><span class="html_script"></span><span class="xml_tag">&lt;/script&gt;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<span style="font-weight: bold;">کار تمام است .</span><br />
از این پس هرموقع آدرس تصویر و یا آدرس فیلمی در یو تیوب را بصورت مستقیم در پست ها وارد کنید , با کلیک روی آن در همان صفحه بصورت پاپ آپ نمایش داده خواهند شد (مانند تصویر پیوستی)<br />
<br />
<!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			extra.rar</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2209">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/rar.gif" border="0" alt=".rar" title=".rar" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">684 bytes</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">375 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1764907414</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-weight: bold;">منبع :</span> <a href="http://community.mybb.com/thread-160840.html" target="_blank" rel="nofollow">http://community.mybb.com/thread-160840.html</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[1.8] پوسته ی خود را هزار رنگ کنید]]></title>
			<link>http://www.midorinco.ir/showthread.php?tid=1391</link>
			<pubDate>Wed, 01 Oct 2014 16:28:53 +0000</pubDate>
			<guid isPermaLink="false">http://www.midorinco.ir/showthread.php?tid=1391</guid>
			<description><![CDATA[<div style="text-align: CENTER;"><span style="text-shadow: 0px 5px 2px gray;"><span style="font-size: medium;"><span style="color: #FF0000;"><span style="font-weight: bold;">پوسته ی خود را هزار رنگ کنید</span></span></span></span><div style="text-align: RIGHT;">برای اینکه پوسته ای با رنگ های گوناگون داشته باشید راهکاری برای دوستان قرار میدهم . به این راهکار color picker میگویند . نخست فیلم نمونه را ببینید و در صورت علاقه کارهای زیر را انجام دهید .<br />
<div style="text-align: CENTER;"><object classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" id="player" width="80%" height="500"><br />
<param name="url" value="http://dl.midorinco.ir/video/01/Video_2014-10-01_194410.wmv" />
<param name="src" value="http://dl.midorinco.ir/video/01/Video_2014-10-01_194410.wmv" />
<param name="showcontrols" value="false" />
<param name="autostart" value="false" />
<!--[if !IE]>--><br />
<object type="video/x-ms-wmv" data="http://dl.midorinco.ir/video/01/Video_2014-10-01_194410.wmv" width="80%" height="500"><br />
<param name="src" value="http://dl.midorinco.ir/video/01/Video_2014-10-01_194410.wmv" />
<param name="controller" value="false" />
<param name="autostart" value="false" />
</object><br />
<!--<![endif]--><br />
</object></div><span style="font-weight: bold;">گام نخست :</span> به مسیر زیر بروید<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; قالب های گروه بندی نشده &gt; بخش headerinclude<br />
و کدهای زیر را پیش از متغیر {&#36;stylesheets} قرار دهید<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_44_51" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_44_51").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="xml_tag">&lt;script</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;text/javascript&quot;</span> <span class="xml_attrib">src</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$mybb-&gt;settings['bburl']}/picker/js/jquery.min.js&quot;</span><span class="xml_tag">&gt;</span><span class="html_script"></span><span class="xml_tag">&lt;/script&gt;</span>
<span class="xml_tag">&lt;script</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;text/javascript&quot;</span> <span class="xml_attrib">src</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$mybb-&gt;settings['bburl']}/picker/js/colorpicker.js&quot;</span><span class="xml_tag">&gt;</span><span class="html_script"></span><span class="xml_tag">&lt;/script&gt;</span>
<span class="xml_tag">&lt;script</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;text/javascript&quot;</span> <span class="xml_attrib">src</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$mybb-&gt;settings['bburl']}/picker/js/skin.js&quot;</span><span class="xml_tag">&gt;</span><span class="html_script"></span><span class="xml_tag">&lt;/script&gt;</span>
<span class="xml_tag">&lt;script</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;text/javascript&quot;</span> <span class="xml_attrib">src</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$mybb-&gt;settings['bburl']}/picker/js/cookie.js&quot;</span><span class="xml_tag">&gt;</span><span class="html_script"></span><span class="xml_tag">&lt;/script&gt;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<span style="font-weight: bold;">گام دوم :</span> به مسیر زیر بروید<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; پوسته ها &gt; پوسته مورد نظر &gt;  بخش global.css<br />
و کدهای زیر را در انتهای کدهای موجود , وارد کنید .<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_45_92" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_45_92").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>.custom_theme{

    background-image: url('picker/cp/color-swatches.png');
    float: right;
}
.custom_theme #colorpicker{
    height: 12px;
    width: 12px;
    padding: 0;
    margin: 0;
    cursor: pointer;
    opacity: 0;
}

.colorpicker {
    width: 356px;
    height: 176px;
    overflow: hidden;
    position: absolute;
    background: url(picker/cp/colorpicker_background.png);
    font-family: Arial, Helvetica, sans-serif;
    display: none;
    z-index: 9000;
    margin-left: 36px;
}
.colour_instructions{
    width: 134px;
    height: 92px;
    position: absolute;
    left: 211px;
    top: 47px;
    text-align: left;
    font-size: 10px;
    color: #898989;
}
.colorpicker_color {
    width: 150px;
    height: 150px;
    left: 14px;
    top: 13px;
    position: absolute;
    background: #f00;
    overflow: hidden;
    cursor: crosshair;
}
.colorpicker_color div {
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    height: 150px;
    background: url(picker/cp/colorpicker_overlay.png);
}
.colorpicker_color div div {
    position: absolute;
    top: 0;
    left: 0;
    width: 11px;
    height: 11px;
    overflow: hidden;
    background: url(picker/cp/colorpicker_select.gif);
    margin: -5px 0 0 -5px;
}
.colorpicker_hue {
    position: absolute;
    top: 13px;
    left: 171px;
    width: 35px;
    height: 150px;
    cursor: n-resize;
}
.colorpicker_hue div {
    position: absolute;
    width: 35px;
    height: 9px;
    overflow: hidden;
    background: url(picker/cp/colorpicker_indic.gif) left top;
    margin: -4px 0 0 0;
    left: 0px;
}
.colorpicker_new_color {
    position: absolute;
    width: 130px;
    height: 30px;
    left: 213px;
    top: 13px;
    background: #f00;
}
.colorpicker_current_color {
    position: absolute;
    width: 60px;
    height: 30px;
    left: 283px;
    top: 13px;
    background: #f00;
    display: none;
}
.colorpicker input {
    background-color: transparent;
    border: 1px solid transparent;
    position: absolute;
    font-size: 10px;
    font-family: Arial, Helvetica, sans-serif;
    color: #898989;
    top: 4px;
    right: 11px;
    text-align: right;
    margin: 0;
    padding: 0;
    height: 11px;
}
.colorpicker_hex {
    position: absolute;
    width: 72px;
    height: 22px;
    background: url(picker/cp/colorpicker_hex.png) top;
    left: 212px;
    top: 142px;
}
.colorpicker_hex input {
    right: 6px;
}
.colorpicker_field {
    height: 22px;
    width: 62px;
    background-position: top;
    position: absolute;
    display: none; /* Hide colour boxes */
}
.colorpicker_field span {
    position: absolute;
    width: 12px;
    height: 22px;
    overflow: hidden;
    top: 0;
    right: 0;
    cursor: n-resize;
}
.colorpicker_rgb_r {
    background-image: url(picker/cp/colorpicker_rgb_r.png);
    top: 52px;
    left: 212px;
}
.colorpicker_rgb_g {
    background-image: url(picker/cp/colorpicker_rgb_g.png);
    top: 82px;
    left: 212px;
}
.colorpicker_rgb_b {
    background-image: url(picker/cp/colorpicker_rgb_b.png);
    top: 112px;
    left: 212px;
}
.colorpicker_hsb_h {
    background-image: url(picker/cp/colorpicker_hsb_h.png);
    top: 52px;
    left: 282px;
}
.colorpicker_hsb_s {
    background-image: url(picker/cp/colorpicker_hsb_s.png);
    top: 82px;
    left: 282px;
}
.colorpicker_hsb_b {
    background-image: url(picker/cp/colorpicker_hsb_b.png);
    top: 112px;
    left: 282px;
}
.colorpicker_submit {
    position: absolute;
    width: 56px;
    height: 22px;
    background: url(picker/cp/colorpicker_submit.png) top;
    left: 288px;
    top: 142px;
    cursor: pointer;
    overflow: hidden;
}
.colorpicker_focus {
    background-position: center;
}
.colorpicker_hex.colorpicker_focus {
    background-position: bottom;
}
.colorpicker_submit.colorpicker_focus {
    background-position: bottom;
}
.colorpicker_slider {
    background-position: bottom;
}</code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br />38<br />39<br />40<br />41<br />42<br />43<br />44<br />45<br />46<br />47<br />48<br />49<br />50<br />51<br />52<br />53<br />54<br />55<br />56<br />57<br />58<br />59<br />60<br />61<br />62<br />63<br />64<br />65<br />66<br />67<br />68<br />69<br />70<br />71<br />72<br />73<br />74<br />75<br />76<br />77<br />78<br />79<br />80<br />81<br />82<br />83<br />84<br />85<br />86<br />87<br />88<br />89<br />90<br />91<br />92<br />93<br />94<br />95<br />96<br />97<br />98<br />99<br />100<br />101<br />102<br />103<br />104<br />105<br />106<br />107<br />108<br />109<br />110<br />111<br />112<br />113<br />114<br />115<br />116<br />117<br />118<br />119<br />120<br />121<br />122<br />123<br />124<br />125<br />126<br />127<br />128<br />129<br />130<br />131<br />132<br />133<br />134<br />135<br />136<br />137<br />138<br />139<br />140<br />141<br />142<br />143<br />144<br />145<br />146<br />147<br />148<br />149<br />150<br />151<br />152<br />153<br />154<br />155<br />156<br />157<br />158<br />159<br />160<br />161<br />162<br />163<br />164<br />165<br />166<br />167<br />168<br />169<br />170<br />171<br />172<br />173<br />174<br />175<br />176<br />177<br />178<br />179<br />180<br />181<br />182<br />183<br />184<br />185<br />186<br />187<br />188<br />189<br />190</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<span style="font-weight: bold;">گام سوم :</span> به مسیر زیر بروید (این مسیر دلخواه است , دو مسیر برای نمونه برای دوستان قرار میدهم)<br />
مسیر نخست : کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; Header Templates &gt; بخش header<br />
مسیر دوم : کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; Header Templates &gt; بخش header_menu_portal<br />
و کد زیر را در جایی که میخواهید آیکون مربوط به انتخاب رنگ را داشته باشید , قرار دهید <br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_46_52" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_46_52").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="xml_tag">&lt;span</span> <span class="xml_attrib">class</span> ='custom_theme'&gt;<span class="xml_tag">&lt;input</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">'text'</span> <span class="xml_attrib">id</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">'colorpicker'</span> <span class="xml_tag">/&gt;</span><span class="xml_tag">&lt;/span&gt;</span>
و برای چپ قرار گرفتن آیکون هم از کد زیر استفاده کنید
<span class="xml_tag">&lt;span</span> <span class="xml_attrib">class</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">'custom_theme'</span> <span class="xml_attrib">style</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">'float:left'</span><span class="xml_tag">&gt;</span><span class="xml_tag">&lt;input</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">'text'</span> <span class="xml_attrib">id</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">'colorpicker'</span> <span class="xml_tag">/&gt;</span><span class="xml_tag">&lt;/span&gt;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<span style="font-weight: bold;">گام چهارم :</span> فایل های موجود در فایل فشرده ی پیوستی را در روت سایتتان قرار دهید .<br />
<span style="font-weight: bold;">کارتمام است .</span> امید که بکارتان بیاید .<br />
<br />
<!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			picker.rar</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2203">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/rar.gif" border="0" alt=".rar" title=".rar" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">117.45 KB</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">386 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1764577254</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-weight: bold;">منبع :</span> <a href="http://community.mybb.com/thread-158934.html" target="_blank" rel="nofollow">http://community.mybb.com/thread-158934.html</a></div></div>]]></description>
			<content:encoded><![CDATA[<div style="text-align: CENTER;"><span style="text-shadow: 0px 5px 2px gray;"><span style="font-size: medium;"><span style="color: #FF0000;"><span style="font-weight: bold;">پوسته ی خود را هزار رنگ کنید</span></span></span></span><div style="text-align: RIGHT;">برای اینکه پوسته ای با رنگ های گوناگون داشته باشید راهکاری برای دوستان قرار میدهم . به این راهکار color picker میگویند . نخست فیلم نمونه را ببینید و در صورت علاقه کارهای زیر را انجام دهید .<br />
<div style="text-align: CENTER;"><object classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" id="player" width="80%" height="500"><br />
<param name="url" value="http://dl.midorinco.ir/video/01/Video_2014-10-01_194410.wmv" />
<param name="src" value="http://dl.midorinco.ir/video/01/Video_2014-10-01_194410.wmv" />
<param name="showcontrols" value="false" />
<param name="autostart" value="false" />
<!--[if !IE]>--><br />
<object type="video/x-ms-wmv" data="http://dl.midorinco.ir/video/01/Video_2014-10-01_194410.wmv" width="80%" height="500"><br />
<param name="src" value="http://dl.midorinco.ir/video/01/Video_2014-10-01_194410.wmv" />
<param name="controller" value="false" />
<param name="autostart" value="false" />
</object><br />
<!--<![endif]--><br />
</object></div><span style="font-weight: bold;">گام نخست :</span> به مسیر زیر بروید<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; قالب های گروه بندی نشده &gt; بخش headerinclude<br />
و کدهای زیر را پیش از متغیر {&#36;stylesheets} قرار دهید<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_44_51" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_44_51").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="xml_tag">&lt;script</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;text/javascript&quot;</span> <span class="xml_attrib">src</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$mybb-&gt;settings['bburl']}/picker/js/jquery.min.js&quot;</span><span class="xml_tag">&gt;</span><span class="html_script"></span><span class="xml_tag">&lt;/script&gt;</span>
<span class="xml_tag">&lt;script</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;text/javascript&quot;</span> <span class="xml_attrib">src</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$mybb-&gt;settings['bburl']}/picker/js/colorpicker.js&quot;</span><span class="xml_tag">&gt;</span><span class="html_script"></span><span class="xml_tag">&lt;/script&gt;</span>
<span class="xml_tag">&lt;script</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;text/javascript&quot;</span> <span class="xml_attrib">src</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$mybb-&gt;settings['bburl']}/picker/js/skin.js&quot;</span><span class="xml_tag">&gt;</span><span class="html_script"></span><span class="xml_tag">&lt;/script&gt;</span>
<span class="xml_tag">&lt;script</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;text/javascript&quot;</span> <span class="xml_attrib">src</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;{$mybb-&gt;settings['bburl']}/picker/js/cookie.js&quot;</span><span class="xml_tag">&gt;</span><span class="html_script"></span><span class="xml_tag">&lt;/script&gt;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<span style="font-weight: bold;">گام دوم :</span> به مسیر زیر بروید<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; پوسته ها &gt; پوسته مورد نظر &gt;  بخش global.css<br />
و کدهای زیر را در انتهای کدهای موجود , وارد کنید .<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_45_92" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_45_92").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>.custom_theme{

    background-image: url('picker/cp/color-swatches.png');
    float: right;
}
.custom_theme #colorpicker{
    height: 12px;
    width: 12px;
    padding: 0;
    margin: 0;
    cursor: pointer;
    opacity: 0;
}

.colorpicker {
    width: 356px;
    height: 176px;
    overflow: hidden;
    position: absolute;
    background: url(picker/cp/colorpicker_background.png);
    font-family: Arial, Helvetica, sans-serif;
    display: none;
    z-index: 9000;
    margin-left: 36px;
}
.colour_instructions{
    width: 134px;
    height: 92px;
    position: absolute;
    left: 211px;
    top: 47px;
    text-align: left;
    font-size: 10px;
    color: #898989;
}
.colorpicker_color {
    width: 150px;
    height: 150px;
    left: 14px;
    top: 13px;
    position: absolute;
    background: #f00;
    overflow: hidden;
    cursor: crosshair;
}
.colorpicker_color div {
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    height: 150px;
    background: url(picker/cp/colorpicker_overlay.png);
}
.colorpicker_color div div {
    position: absolute;
    top: 0;
    left: 0;
    width: 11px;
    height: 11px;
    overflow: hidden;
    background: url(picker/cp/colorpicker_select.gif);
    margin: -5px 0 0 -5px;
}
.colorpicker_hue {
    position: absolute;
    top: 13px;
    left: 171px;
    width: 35px;
    height: 150px;
    cursor: n-resize;
}
.colorpicker_hue div {
    position: absolute;
    width: 35px;
    height: 9px;
    overflow: hidden;
    background: url(picker/cp/colorpicker_indic.gif) left top;
    margin: -4px 0 0 0;
    left: 0px;
}
.colorpicker_new_color {
    position: absolute;
    width: 130px;
    height: 30px;
    left: 213px;
    top: 13px;
    background: #f00;
}
.colorpicker_current_color {
    position: absolute;
    width: 60px;
    height: 30px;
    left: 283px;
    top: 13px;
    background: #f00;
    display: none;
}
.colorpicker input {
    background-color: transparent;
    border: 1px solid transparent;
    position: absolute;
    font-size: 10px;
    font-family: Arial, Helvetica, sans-serif;
    color: #898989;
    top: 4px;
    right: 11px;
    text-align: right;
    margin: 0;
    padding: 0;
    height: 11px;
}
.colorpicker_hex {
    position: absolute;
    width: 72px;
    height: 22px;
    background: url(picker/cp/colorpicker_hex.png) top;
    left: 212px;
    top: 142px;
}
.colorpicker_hex input {
    right: 6px;
}
.colorpicker_field {
    height: 22px;
    width: 62px;
    background-position: top;
    position: absolute;
    display: none; /* Hide colour boxes */
}
.colorpicker_field span {
    position: absolute;
    width: 12px;
    height: 22px;
    overflow: hidden;
    top: 0;
    right: 0;
    cursor: n-resize;
}
.colorpicker_rgb_r {
    background-image: url(picker/cp/colorpicker_rgb_r.png);
    top: 52px;
    left: 212px;
}
.colorpicker_rgb_g {
    background-image: url(picker/cp/colorpicker_rgb_g.png);
    top: 82px;
    left: 212px;
}
.colorpicker_rgb_b {
    background-image: url(picker/cp/colorpicker_rgb_b.png);
    top: 112px;
    left: 212px;
}
.colorpicker_hsb_h {
    background-image: url(picker/cp/colorpicker_hsb_h.png);
    top: 52px;
    left: 282px;
}
.colorpicker_hsb_s {
    background-image: url(picker/cp/colorpicker_hsb_s.png);
    top: 82px;
    left: 282px;
}
.colorpicker_hsb_b {
    background-image: url(picker/cp/colorpicker_hsb_b.png);
    top: 112px;
    left: 282px;
}
.colorpicker_submit {
    position: absolute;
    width: 56px;
    height: 22px;
    background: url(picker/cp/colorpicker_submit.png) top;
    left: 288px;
    top: 142px;
    cursor: pointer;
    overflow: hidden;
}
.colorpicker_focus {
    background-position: center;
}
.colorpicker_hex.colorpicker_focus {
    background-position: bottom;
}
.colorpicker_submit.colorpicker_focus {
    background-position: bottom;
}
.colorpicker_slider {
    background-position: bottom;
}</code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br />38<br />39<br />40<br />41<br />42<br />43<br />44<br />45<br />46<br />47<br />48<br />49<br />50<br />51<br />52<br />53<br />54<br />55<br />56<br />57<br />58<br />59<br />60<br />61<br />62<br />63<br />64<br />65<br />66<br />67<br />68<br />69<br />70<br />71<br />72<br />73<br />74<br />75<br />76<br />77<br />78<br />79<br />80<br />81<br />82<br />83<br />84<br />85<br />86<br />87<br />88<br />89<br />90<br />91<br />92<br />93<br />94<br />95<br />96<br />97<br />98<br />99<br />100<br />101<br />102<br />103<br />104<br />105<br />106<br />107<br />108<br />109<br />110<br />111<br />112<br />113<br />114<br />115<br />116<br />117<br />118<br />119<br />120<br />121<br />122<br />123<br />124<br />125<br />126<br />127<br />128<br />129<br />130<br />131<br />132<br />133<br />134<br />135<br />136<br />137<br />138<br />139<br />140<br />141<br />142<br />143<br />144<br />145<br />146<br />147<br />148<br />149<br />150<br />151<br />152<br />153<br />154<br />155<br />156<br />157<br />158<br />159<br />160<br />161<br />162<br />163<br />164<br />165<br />166<br />167<br />168<br />169<br />170<br />171<br />172<br />173<br />174<br />175<br />176<br />177<br />178<br />179<br />180<br />181<br />182<br />183<br />184<br />185<br />186<br />187<br />188<br />189<br />190</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<span style="font-weight: bold;">گام سوم :</span> به مسیر زیر بروید (این مسیر دلخواه است , دو مسیر برای نمونه برای دوستان قرار میدهم)<br />
مسیر نخست : کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; Header Templates &gt; بخش header<br />
مسیر دوم : کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; Header Templates &gt; بخش header_menu_portal<br />
و کد زیر را در جایی که میخواهید آیکون مربوط به انتخاب رنگ را داشته باشید , قرار دهید <br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_46_52" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_46_52").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="xml_tag">&lt;span</span> <span class="xml_attrib">class</span> ='custom_theme'&gt;<span class="xml_tag">&lt;input</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">'text'</span> <span class="xml_attrib">id</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">'colorpicker'</span> <span class="xml_tag">/&gt;</span><span class="xml_tag">&lt;/span&gt;</span>
و برای چپ قرار گرفتن آیکون هم از کد زیر استفاده کنید
<span class="xml_tag">&lt;span</span> <span class="xml_attrib">class</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">'custom_theme'</span> <span class="xml_attrib">style</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">'float:left'</span><span class="xml_tag">&gt;</span><span class="xml_tag">&lt;input</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">'text'</span> <span class="xml_attrib">id</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">'colorpicker'</span> <span class="xml_tag">/&gt;</span><span class="xml_tag">&lt;/span&gt;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<span style="font-weight: bold;">گام چهارم :</span> فایل های موجود در فایل فشرده ی پیوستی را در روت سایتتان قرار دهید .<br />
<span style="font-weight: bold;">کارتمام است .</span> امید که بکارتان بیاید .<br />
<br />
<!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			picker.rar</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2203">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/rar.gif" border="0" alt=".rar" title=".rar" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">117.45 KB</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">386 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1764577254</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-weight: bold;">منبع :</span> <a href="http://community.mybb.com/thread-158934.html" target="_blank" rel="nofollow">http://community.mybb.com/thread-158934.html</a></div></div>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[رفع مشکل"کد Authorisation تطبیق نمی‌کند"]]></title>
			<link>http://www.midorinco.ir/showthread.php?tid=1358</link>
			<pubDate>Fri, 12 Sep 2014 06:39:03 +0000</pubDate>
			<guid isPermaLink="false">http://www.midorinco.ir/showthread.php?tid=1358</guid>
			<description><![CDATA[به تازگی گوگل اخطاری به من داد در این رابطه که یکی از لینکهای <a href="http://www.midorinco.ir/index.php" title="تالار میدوری" >تالار</a> میدوری عمل نمیکند و برای من هم جالب بود زمانی که در پایین انجمن لینک "نشانه گذاری تمامی انجمن ها به عنوان خوانده شده" را کلیک کردم بجای درست شدن نشانه گذاری ها با اخطار زیرمواجه شدم .<br />
<br />
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">اخطار داده شده در مای بی بی :</font></strong></legend>کد Authorisation تطبیق نمی کند. آیا مطمئن هستید که به طور صحیح به این کاربرد دسترسی دارید؟ لطفاً بازگردید و دوباره امتحان کنید.</fieldset></td></table>
<br />
من این مورد را درست کردم اگر شما هم با این مشکل روبرو هستید راه کار زیر را انجام دهید .<br />
<span style="font-weight: bold;">گام نخست :</span> به مسیر زیردر قالب خودتان بروید.<br />
index---&gt;index_boardstats<br />
کد زیر را پیدا کنید.<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_47_11" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_47_11").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>misc.php?action=markread</code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
و کد زیر را جایگزین کد بالا کنید.<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_48_29" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_48_29").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>misc.php?action=markread&amp;my_post_key={$mybb-&gt;post_code}</code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<span style="font-weight: bold;">گام دوم :</span> به مسیر زیر در قالب خودتان بروید.<br />
forumdisplay--&gt;forumdisplay_threadlist<br />
کد زیر را پیدا کنید.<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_49_0" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_49_0").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>misc.php?action=markread<span class="xml_escape">&amp;amp;</span>fid={$fid}</code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
و کد زیر را جایگزین کد بالا کنید.<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_50_75" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_50_75").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>misc.php?action=markread<span class="xml_escape">&amp;amp;</span>fid={$fid}&amp;my_post_key={$mybb-&gt;post_code}</code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
کار تمام است . امید که بکارتان بیاید.<br />
<br />
<fieldset style="background:#efefef url(images/post-deco/note.png) top left 0% no-repeat;width:90%;background-color:#D4D4FF;border-left:2px solid #878787;border-right:2px solid #878787;border-top:2px solid #878787;border-bottom:2px solid #878787;margin:0 auto 4px;padding:3px 15px 3px 40px;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><blink><strong>یادداشت</strong></blink></legend><br/><font color="darkred" size="3"><strong>متن پیام : </strong><br /></font><font color="black"> <br />
در صورتیکه در جاهای دیگر هم نمونه ی این لینک را داشته باشید راه حل همان است که در بالا گفته شد.<br />
</font><br /><br /></fieldset>]]></description>
			<content:encoded><![CDATA[به تازگی گوگل اخطاری به من داد در این رابطه که یکی از لینکهای <a href="http://www.midorinco.ir/index.php" title="تالار میدوری" >تالار</a> میدوری عمل نمیکند و برای من هم جالب بود زمانی که در پایین انجمن لینک "نشانه گذاری تمامی انجمن ها به عنوان خوانده شده" را کلیک کردم بجای درست شدن نشانه گذاری ها با اخطار زیرمواجه شدم .<br />
<br />
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">اخطار داده شده در مای بی بی :</font></strong></legend>کد Authorisation تطبیق نمی کند. آیا مطمئن هستید که به طور صحیح به این کاربرد دسترسی دارید؟ لطفاً بازگردید و دوباره امتحان کنید.</fieldset></td></table>
<br />
من این مورد را درست کردم اگر شما هم با این مشکل روبرو هستید راه کار زیر را انجام دهید .<br />
<span style="font-weight: bold;">گام نخست :</span> به مسیر زیردر قالب خودتان بروید.<br />
index---&gt;index_boardstats<br />
کد زیر را پیدا کنید.<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_47_11" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_47_11").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>misc.php?action=markread</code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
و کد زیر را جایگزین کد بالا کنید.<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_48_29" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_48_29").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>misc.php?action=markread&amp;my_post_key={$mybb-&gt;post_code}</code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<span style="font-weight: bold;">گام دوم :</span> به مسیر زیر در قالب خودتان بروید.<br />
forumdisplay--&gt;forumdisplay_threadlist<br />
کد زیر را پیدا کنید.<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_49_0" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_49_0").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>misc.php?action=markread<span class="xml_escape">&amp;amp;</span>fid={$fid}</code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
و کد زیر را جایگزین کد بالا کنید.<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_50_75" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_50_75").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>misc.php?action=markread<span class="xml_escape">&amp;amp;</span>fid={$fid}&amp;my_post_key={$mybb-&gt;post_code}</code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
کار تمام است . امید که بکارتان بیاید.<br />
<br />
<fieldset style="background:#efefef url(images/post-deco/note.png) top left 0% no-repeat;width:90%;background-color:#D4D4FF;border-left:2px solid #878787;border-right:2px solid #878787;border-top:2px solid #878787;border-bottom:2px solid #878787;margin:0 auto 4px;padding:3px 15px 3px 40px;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><blink><strong>یادداشت</strong></blink></legend><br/><font color="darkred" size="3"><strong>متن پیام : </strong><br /></font><font color="black"> <br />
در صورتیکه در جاهای دیگر هم نمونه ی این لینک را داشته باشید راه حل همان است که در بالا گفته شد.<br />
</font><br /><br /></fieldset>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[آبشاری کردن گزینه ها در (1.6 و 1.8) مای بی بی]]></title>
			<link>http://www.midorinco.ir/showthread.php?tid=1330</link>
			<pubDate>Sat, 16 Aug 2014 16:45:00 +0000</pubDate>
			<guid isPermaLink="false">http://www.midorinco.ir/showthread.php?tid=1330</guid>
			<description><![CDATA[<div style="text-align: CENTER;"><span style="text-shadow: 0px 5px 2px gray;"><span style="font-weight: bold;"><span style="color: #FF0000;"><span style="font-size: medium;">آبشاری کردن گزینه ها در (1.6 و 1.8) مای بی بی</span></span></span></span><br />
<div style="text-align: RIGHT;">برای دوستان راهکاری قرار میدهم در زمینه ی آبشاری کردن گزینه های پایین موضوع ها و پست ها و در جاهایی که نیاز به این کار هست . چون مای بی بی در حال تغییر است به نگارش 1.8 , آموزش این راه کار برای 1.8 و 1.6 قرار داده می شود .<br />
با نگاه به این روش تفاوت اساسی 1.6 و 1.8 را هم شاهد خواهید بود . نکته ی اساسی در اینجاست که چون 1.8 بر اساس کوئری برنامه نویسی شده دیگر مشکل تداخل کوئری در این نگارش وجود ندارد و خبر بد اینکه در 1.6 چون این مورد (تداخل کوئری) هست پس تنها دوستانی که از ادیتور SCEditor استفاده میکنند می توانند از راه کار زیر استفاده کنند و ادیتور پیشفرض و پیشرفته و ... که خودشان از جاوا استفاده میکنند با این کدها ناسازگار هستند.<br />
توضیح دیگر اینکه ممکن است با این راه کار تداخلی در کوئری ها پیش بیاید پس با احتیاط استفاده کنید . در 1.8 نیازی به این احتیاط ها نیست .<br />
نخست به فیلم های زیر نگاهی بیاندازید یکی از بخش موضوع جدید و دیگری از بخش پایینی موضوعات است (سایر بخش ها هم بهمین صورت است) . <br />
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">فیلم های نمونه :</font></strong></legend><br />
<div style="text-align: CENTER;"><object classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" id="player" width="80%" height="500"><br />
<param name="url" value="http://dl.midorinco.ir/video/01/post.wmv" />
<param name="src" value="http://dl.midorinco.ir/video/01/post.wmv" />
<param name="showcontrols" value="false" />
<param name="autostart" value="false" />
<!--[if !IE]>--><br />
<object type="video/x-ms-wmv" data="http://dl.midorinco.ir/video/01/post.wmv" width="80%" height="500"><br />
<param name="src" value="http://dl.midorinco.ir/video/01/post.wmv" />
<param name="controller" value="false" />
<param name="autostart" value="false" />
</object><br />
<!--<![endif]--><br />
</object><br />
<br />
<object classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" id="player" width="80%" height="500"><br />
<param name="url" value="http://dl.midorinco.ir/video/01/thread.wmv" />
<param name="src" value="http://dl.midorinco.ir/video/01/thread.wmv" />
<param name="showcontrols" value="false" />
<param name="autostart" value="false" />
<!--[if !IE]>--><br />
<object type="video/x-ms-wmv" data="http://dl.midorinco.ir/video/01/thread.wmv" width="80%" height="500"><br />
<param name="src" value="http://dl.midorinco.ir/video/01/thread.wmv" />
<param name="controller" value="false" />
<param name="autostart" value="false" />
</object><br />
<!--<![endif]--><br />
</object></div></fieldset></td></table>
در صورتی که علاقه مند شدید شروع بکار کنید .<br />
کارهای زیر را انجام دهید :<br />
<span style="font-weight: bold;">گام نخست :</span> برای هر دو سیستم به مسیر زیر بروید<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; پوسته ها &gt; پوسته مورد نظر &gt;  بخش global.css<br />
کدهای زیر را در مسیر داده شده در بالا قرار دهید<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_51_14" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_51_14").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>.droppanel {
    background-color: #efefef;
    width: 170px;
    margin: 0px auto;
    text-align: center;
    font-size: 11px;
    padding-bottom: 3px;
    border-radius: 0px 0px 4px 4px;
    border: 1px solid #ccc;
    border-width: 0px 1px 1px;
    border-style: none solid solid;
}</code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<span style="font-weight: bold;">گام دوم :</span> برای هر دو سیستم به مسیر زیر بروید (بخش ارسال موضوع جدید)<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt;  newthread template &gt; بخش  newthread<br />
<br />
کد زیر را پیدا کنید:<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_52_46" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_52_46").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="xml_tag">&lt;/table&gt;</span> </code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
در هر دو سیستم (1.6 و 1.8) کد زیر را در زیر کدی که پیدا کردید وارد کنید:<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_53_45" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_53_45").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="xml_tag">&lt;div&gt;</span>
    <span class="xml_tag">&lt;a</span> <span class="xml_attrib">href</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;#&quot;</span><span class="xml_tag">&gt;</span>گزینه های ارسال موضوع<span class="xml_tag">&lt;/a&gt;</span>
<span class="xml_tag">&lt;/div&gt;</span>
<span class="xml_tag">&lt;script</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;text/javascript&quot;</span><span class="xml_tag">&gt;</span><span class="html_script">
    <span class="c_keyword">var</span> elements <span class="c_symbol">=</span> $<span class="c_symbol">(</span><span class="c_string">&quot;tr&quot;</span><span class="c_symbol">)</span>.filter<span class="c_symbol">(</span><span class="c_string">':eq(13), :eq(14), :eq(15), :eq(16)'</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
    elements.hide<span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
    $<span class="c_symbol">(</span><span class="c_string">&quot;.post_options&quot;</span><span class="c_symbol">)</span>.click<span class="c_symbol">(</span><span class="c_type">function</span><span class="c_symbol">(</span>e<span class="c_symbol">)</span> <span class="c_symbol">{</span>
	   e.preventDefault<span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
	   elements.toggle<span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
    <span class="c_symbol">}</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
</span><span class="xml_tag">&lt;/script&gt;</span></code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<span style="font-weight: bold;">گام سوم :</span> برای هر دو سیستم به مسیر زیر بروید (بخش موضوعات)<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; forumdisplay_threadlist template &gt; بخش forumdisplay_threadlist<br />
<br />
کد زیر را پیدا کنید:<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_54_17" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_54_17").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="xml_tag">&lt;/table&gt;</span> </code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
در مورد 1.8 کد زیر را در زیر کدی که پیدا کردید وارد کنید:<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_55_67" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_55_67").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="xml_tag">&lt;div&gt;</span>
    <span class="xml_tag">&lt;a</span> <span class="xml_attrib">href</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;#&quot;</span><span class="xml_tag">&gt;</span>گزینه های موضوعات<span class="xml_tag">&lt;/a&gt;</span>
<span class="xml_tag">&lt;/div&gt;</span>
<span class="xml_tag">&lt;script</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;text/javascript&quot;</span><span class="xml_tag">&gt;</span><span class="html_script">
    <span class="c_keyword">var</span> elements <span class="c_symbol">=</span> $<span class="c_symbol">(</span><span class="c_string">&quot;form&quot;</span><span class="c_symbol">)</span>.filter<span class="c_symbol">(</span><span class="c_string">':eq(1)'</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
    elements.hide<span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
    $<span class="c_symbol">(</span><span class="c_string">&quot;.exibition_topic&quot;</span><span class="c_symbol">)</span>.click<span class="c_symbol">(</span><span class="c_type">function</span><span class="c_symbol">(</span>e<span class="c_symbol">)</span> <span class="c_symbol">{</span>
	   e.preventDefault<span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
	   elements.toggle<span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
    <span class="c_symbol">}</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
</span><span class="xml_tag">&lt;/script&gt;</span></code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<br />
در مورد 1.6 کد زیر را در زیر کدی که پیدا کردید وارد کنید :<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_56_8" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_56_8").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="xml_tag">&lt;div&gt;</span>
<span class="xml_tag">&lt;a</span> <span class="xml_attrib">href</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;#&quot;</span><span class="xml_tag">&gt;</span>Thread Display Options<span class="xml_tag">&lt;/a&gt;</span>
<span class="xml_tag">&lt;/div&gt;</span>
<span class="xml_tag">&lt;script</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;text/javascript&quot;</span><span class="xml_tag">&gt;</span><span class="html_script">
    <span class="c_keyword">var</span> elements <span class="c_symbol">=</span> $<span class="c_symbol">(</span><span class="c_string">&quot;form&quot;</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
    elements.hide<span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
    $<span class="c_symbol">(</span><span class="c_string">&quot;.exibition_topic&quot;</span><span class="c_symbol">)</span>.click<span class="c_symbol">(</span><span class="c_type">function</span><span class="c_symbol">(</span>e<span class="c_symbol">)</span> <span class="c_symbol">{</span>
	   e.preventDefault<span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
	   elements.toggle<span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
    <span class="c_symbol">}</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
</span><span class="xml_tag">&lt;/script&gt;</span></code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<span style="font-weight: bold;">گام چهارم</span> و اختلاف اساسی 1.8 و 1.6 . فایل جاوای زیر را (که باعث اختلال در بعضی از قالبها هم می شود) در پوشه ی jscripts  <a href="http://www.midorinco.ir/index.php" title="آپلود" >آپلود</a> و کد زیر را در مسیر زیر: (فقط برای مای بی بی 1.6)<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; قالب های گروه بندی نشده &gt; بخش headerinclude <br />
در زیر متغیر {&#36;stylesheets} قرار دهید .<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_57_88" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_57_88").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="xml_tag">&lt;script</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;text/javascript&quot;</span> <span class="xml_attrib">src</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;jscripts/jquery.min.js&quot;</span><span class="xml_tag">&gt;</span><span class="html_script"></span><span class="xml_tag">&lt;/script&gt;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
نکته ای که در اینجا هست این است که برای کم و زیاد کردن سرعت باز و بسته شده باید عددی در واحد میلی ثانیه در داخل کد :<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_58_93" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_58_93").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>elements.toggle();</code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
وارد کنید برای نمونه برای تاخیر یک ثانیه ای کد به صورت زیر در می آید : (درصورتی که بفوریت می خواهید باز و بسته شود خالی بگذارید)<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_59_30" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_59_30").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>elements.toggle(1000);</code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<span style="font-weight: bold;">کار تمام است .</span> امید که بکار بیاید .<br />
<br />
<!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			jquery.min.rar</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2148">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/rar.gif" border="0" alt=".rar" title=".rar" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">31.46 KB</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">433 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1767398669</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-weight: bold;">منبع استفاده شده :</span> <a href="http://community.mybb.com/thread-157268.html" target="_blank" rel="nofollow">Dropdown panel: Post Options, Thread display options</a></div></div>]]></description>
			<content:encoded><![CDATA[<div style="text-align: CENTER;"><span style="text-shadow: 0px 5px 2px gray;"><span style="font-weight: bold;"><span style="color: #FF0000;"><span style="font-size: medium;">آبشاری کردن گزینه ها در (1.6 و 1.8) مای بی بی</span></span></span></span><br />
<div style="text-align: RIGHT;">برای دوستان راهکاری قرار میدهم در زمینه ی آبشاری کردن گزینه های پایین موضوع ها و پست ها و در جاهایی که نیاز به این کار هست . چون مای بی بی در حال تغییر است به نگارش 1.8 , آموزش این راه کار برای 1.8 و 1.6 قرار داده می شود .<br />
با نگاه به این روش تفاوت اساسی 1.6 و 1.8 را هم شاهد خواهید بود . نکته ی اساسی در اینجاست که چون 1.8 بر اساس کوئری برنامه نویسی شده دیگر مشکل تداخل کوئری در این نگارش وجود ندارد و خبر بد اینکه در 1.6 چون این مورد (تداخل کوئری) هست پس تنها دوستانی که از ادیتور SCEditor استفاده میکنند می توانند از راه کار زیر استفاده کنند و ادیتور پیشفرض و پیشرفته و ... که خودشان از جاوا استفاده میکنند با این کدها ناسازگار هستند.<br />
توضیح دیگر اینکه ممکن است با این راه کار تداخلی در کوئری ها پیش بیاید پس با احتیاط استفاده کنید . در 1.8 نیازی به این احتیاط ها نیست .<br />
نخست به فیلم های زیر نگاهی بیاندازید یکی از بخش موضوع جدید و دیگری از بخش پایینی موضوعات است (سایر بخش ها هم بهمین صورت است) . <br />
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">فیلم های نمونه :</font></strong></legend><br />
<div style="text-align: CENTER;"><object classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" id="player" width="80%" height="500"><br />
<param name="url" value="http://dl.midorinco.ir/video/01/post.wmv" />
<param name="src" value="http://dl.midorinco.ir/video/01/post.wmv" />
<param name="showcontrols" value="false" />
<param name="autostart" value="false" />
<!--[if !IE]>--><br />
<object type="video/x-ms-wmv" data="http://dl.midorinco.ir/video/01/post.wmv" width="80%" height="500"><br />
<param name="src" value="http://dl.midorinco.ir/video/01/post.wmv" />
<param name="controller" value="false" />
<param name="autostart" value="false" />
</object><br />
<!--<![endif]--><br />
</object><br />
<br />
<object classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" id="player" width="80%" height="500"><br />
<param name="url" value="http://dl.midorinco.ir/video/01/thread.wmv" />
<param name="src" value="http://dl.midorinco.ir/video/01/thread.wmv" />
<param name="showcontrols" value="false" />
<param name="autostart" value="false" />
<!--[if !IE]>--><br />
<object type="video/x-ms-wmv" data="http://dl.midorinco.ir/video/01/thread.wmv" width="80%" height="500"><br />
<param name="src" value="http://dl.midorinco.ir/video/01/thread.wmv" />
<param name="controller" value="false" />
<param name="autostart" value="false" />
</object><br />
<!--<![endif]--><br />
</object></div></fieldset></td></table>
در صورتی که علاقه مند شدید شروع بکار کنید .<br />
کارهای زیر را انجام دهید :<br />
<span style="font-weight: bold;">گام نخست :</span> برای هر دو سیستم به مسیر زیر بروید<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; پوسته ها &gt; پوسته مورد نظر &gt;  بخش global.css<br />
کدهای زیر را در مسیر داده شده در بالا قرار دهید<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_51_14" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_51_14").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>.droppanel {
    background-color: #efefef;
    width: 170px;
    margin: 0px auto;
    text-align: center;
    font-size: 11px;
    padding-bottom: 3px;
    border-radius: 0px 0px 4px 4px;
    border: 1px solid #ccc;
    border-width: 0px 1px 1px;
    border-style: none solid solid;
}</code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<span style="font-weight: bold;">گام دوم :</span> برای هر دو سیستم به مسیر زیر بروید (بخش ارسال موضوع جدید)<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt;  newthread template &gt; بخش  newthread<br />
<br />
کد زیر را پیدا کنید:<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_52_46" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_52_46").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="xml_tag">&lt;/table&gt;</span> </code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
در هر دو سیستم (1.6 و 1.8) کد زیر را در زیر کدی که پیدا کردید وارد کنید:<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_53_45" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_53_45").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="xml_tag">&lt;div&gt;</span>
    <span class="xml_tag">&lt;a</span> <span class="xml_attrib">href</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;#&quot;</span><span class="xml_tag">&gt;</span>گزینه های ارسال موضوع<span class="xml_tag">&lt;/a&gt;</span>
<span class="xml_tag">&lt;/div&gt;</span>
<span class="xml_tag">&lt;script</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;text/javascript&quot;</span><span class="xml_tag">&gt;</span><span class="html_script">
    <span class="c_keyword">var</span> elements <span class="c_symbol">=</span> $<span class="c_symbol">(</span><span class="c_string">&quot;tr&quot;</span><span class="c_symbol">)</span>.filter<span class="c_symbol">(</span><span class="c_string">':eq(13), :eq(14), :eq(15), :eq(16)'</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
    elements.hide<span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
    $<span class="c_symbol">(</span><span class="c_string">&quot;.post_options&quot;</span><span class="c_symbol">)</span>.click<span class="c_symbol">(</span><span class="c_type">function</span><span class="c_symbol">(</span>e<span class="c_symbol">)</span> <span class="c_symbol">{</span>
	   e.preventDefault<span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
	   elements.toggle<span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
    <span class="c_symbol">}</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
</span><span class="xml_tag">&lt;/script&gt;</span></code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<span style="font-weight: bold;">گام سوم :</span> برای هر دو سیستم به مسیر زیر بروید (بخش موضوعات)<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; forumdisplay_threadlist template &gt; بخش forumdisplay_threadlist<br />
<br />
کد زیر را پیدا کنید:<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_54_17" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_54_17").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="xml_tag">&lt;/table&gt;</span> </code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
در مورد 1.8 کد زیر را در زیر کدی که پیدا کردید وارد کنید:<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_55_67" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_55_67").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="xml_tag">&lt;div&gt;</span>
    <span class="xml_tag">&lt;a</span> <span class="xml_attrib">href</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;#&quot;</span><span class="xml_tag">&gt;</span>گزینه های موضوعات<span class="xml_tag">&lt;/a&gt;</span>
<span class="xml_tag">&lt;/div&gt;</span>
<span class="xml_tag">&lt;script</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;text/javascript&quot;</span><span class="xml_tag">&gt;</span><span class="html_script">
    <span class="c_keyword">var</span> elements <span class="c_symbol">=</span> $<span class="c_symbol">(</span><span class="c_string">&quot;form&quot;</span><span class="c_symbol">)</span>.filter<span class="c_symbol">(</span><span class="c_string">':eq(1)'</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
    elements.hide<span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
    $<span class="c_symbol">(</span><span class="c_string">&quot;.exibition_topic&quot;</span><span class="c_symbol">)</span>.click<span class="c_symbol">(</span><span class="c_type">function</span><span class="c_symbol">(</span>e<span class="c_symbol">)</span> <span class="c_symbol">{</span>
	   e.preventDefault<span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
	   elements.toggle<span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
    <span class="c_symbol">}</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
</span><span class="xml_tag">&lt;/script&gt;</span></code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<br />
در مورد 1.6 کد زیر را در زیر کدی که پیدا کردید وارد کنید :<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_56_8" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_56_8").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="xml_tag">&lt;div&gt;</span>
<span class="xml_tag">&lt;a</span> <span class="xml_attrib">href</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;#&quot;</span><span class="xml_tag">&gt;</span>Thread Display Options<span class="xml_tag">&lt;/a&gt;</span>
<span class="xml_tag">&lt;/div&gt;</span>
<span class="xml_tag">&lt;script</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;text/javascript&quot;</span><span class="xml_tag">&gt;</span><span class="html_script">
    <span class="c_keyword">var</span> elements <span class="c_symbol">=</span> $<span class="c_symbol">(</span><span class="c_string">&quot;form&quot;</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
    elements.hide<span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
    $<span class="c_symbol">(</span><span class="c_string">&quot;.exibition_topic&quot;</span><span class="c_symbol">)</span>.click<span class="c_symbol">(</span><span class="c_type">function</span><span class="c_symbol">(</span>e<span class="c_symbol">)</span> <span class="c_symbol">{</span>
	   e.preventDefault<span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
	   elements.toggle<span class="c_symbol">(</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
    <span class="c_symbol">}</span><span class="c_symbol">)</span><span class="c_symbol">;</span>
</span><span class="xml_tag">&lt;/script&gt;</span></code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<span style="font-weight: bold;">گام چهارم</span> و اختلاف اساسی 1.8 و 1.6 . فایل جاوای زیر را (که باعث اختلال در بعضی از قالبها هم می شود) در پوشه ی jscripts  <a href="http://www.midorinco.ir/index.php" title="آپلود" >آپلود</a> و کد زیر را در مسیر زیر: (فقط برای مای بی بی 1.6)<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; قالب های گروه بندی نشده &gt; بخش headerinclude <br />
در زیر متغیر {&#36;stylesheets} قرار دهید .<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_57_88" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_57_88").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="xml_tag">&lt;script</span> <span class="xml_attrib">type</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;text/javascript&quot;</span> <span class="xml_attrib">src</span><span class="xml_attribequal">=</span><span class="xml_attribvalue">&quot;jscripts/jquery.min.js&quot;</span><span class="xml_tag">&gt;</span><span class="html_script"></span><span class="xml_tag">&lt;/script&gt;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
نکته ای که در اینجا هست این است که برای کم و زیاد کردن سرعت باز و بسته شده باید عددی در واحد میلی ثانیه در داخل کد :<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_58_93" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_58_93").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>elements.toggle();</code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
وارد کنید برای نمونه برای تاخیر یک ثانیه ای کد به صورت زیر در می آید : (درصورتی که بفوریت می خواهید باز و بسته شود خالی بگذارید)<br />
<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_59_30" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_59_30").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>elements.toggle(1000);</code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<br />
<span style="font-weight: bold;">کار تمام است .</span> امید که بکار بیاید .<br />
<br />
<!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			jquery.min.rar</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2148">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/rar.gif" border="0" alt=".rar" title=".rar" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">31.46 KB</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">433 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1767398669</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-weight: bold;">منبع استفاده شده :</span> <a href="http://community.mybb.com/thread-157268.html" target="_blank" rel="nofollow">Dropdown panel: Post Options, Thread display options</a></div></div>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[آموزشی برای نمایش شروع کننده ی موضوع در انجمن ها]]></title>
			<link>http://www.midorinco.ir/showthread.php?tid=1289</link>
			<pubDate>Wed, 16 Jul 2014 09:11:12 +0000</pubDate>
			<guid isPermaLink="false">http://www.midorinco.ir/showthread.php?tid=1289</guid>
			<description><![CDATA[<div style="text-align: CENTER;"><span style="text-shadow: 0px 5px 2px gray;"><span style="color: #FF0000;"><span style="font-size: medium;"><span style="font-weight: bold;">آموزشی برای نمایش شروع کننده ی موضوع در انجمن ها</span></span></span></span><br />
<div style="text-align: RIGHT;">در انجمن های با کاربران زیاد گاهی پیش می آید که در میان پست ها که در حال دیدن هستید بخواهید بدانید چه کسی این موضوع را شروع کرده راه حل ساده است برای این کار باید به پست نخست رفته و کاربری که موضوع را شروع کرده است را ببینید . ولی راه ساده تری هم هست , به همین منظور راه کاری برای اینکه در نگاه نخست از شروع کننده ی موضوع با اطلا ع شوید را برای دوستان قرار می دهم . (البته پلاگینی در این رابطه از جانوتا در سایت مای بی بی اکسترس هست که داشتم و بعد یک مدت انجمن من رو داشت به باد فنا می داد <img src="images/smilies/biggrin.gif" style="vertical-align: middle;" border="0" alt="Big Grin" title="Big Grin" /> و حذفش کردم . بطور کلی از پلاگین های این فرد باید دوری کرد <img src="images/smilies/diablo.gif" style="vertical-align: middle;" border="0" alt="Diablo" title="Diablo" />)<br />
نخست به تصویرهای پیوستی نگاهی بیاندازید. نمونه ی زنده هم در همین <a href="http://www.midorinco.ir/index.php" title="تالار میدوری" >تالار</a> موجود است (سمت چپ بالای آواتار را ببینید)<br />
<br />
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">تصویرهای نمونه :</font></strong></legend><br />
<div style="text-align: CENTER;"><!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			2014-07-15_214536.jpg</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2123">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/image.gif" border="0" alt=".jpg" title=".jpg" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">15.48 KB</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">461 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1772795883</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --><!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			2014-07-16_005335.jpg</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2124">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/image.gif" border="0" alt=".jpg" title=".jpg" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">12.47 KB</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">446 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1772795885</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --></div></fieldset></td></table>
<br />
<fieldset style="background:#efefef url(images/post-deco/notice.png) top left 0% no-repeat;width:90%;background-color:#FCFAA9;border-left:2px solid #FFD42A;border-right:2px solid #FFD42A;border-top:2px solid #FFD42A;border-bottom:2px solid #FFD42A;margin:0 auto 4px;padding:3px 15px 3px 40px;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><blink><strong>توجه</strong></blink></legend><br/><font color="darkred" size="3"><strong>متن پیام : </strong><br /></font><font color="black"> <br />
در این راه کار از تصویر استفاده شده و ممکن است تنظیم و درست نشتن تصویر قدری  مشکل باشد اگر چنین است از نوشته بجای تصویر استفاده کنید .<br />
</font><br /><br /></fieldset><br />
<br />
اگر علاقه مند شدید کارهای زیر را باید انجام دهید .<br />
<span style="font-weight: bold;">گام نخست :</span> <a href="http://www.midorinco.ir/index.php" title="افزونه" >افزونه</a> ی معجزه گر  "PHP در قالب ها" را که در <a href="http://www.midorinco.ir/showthread.php?tid=1168" target="_blank">اینجا</a> آخرین نگارش آن را قرار داده ام , <a href="http://www.midorinco.ir/index.php" title="دانلود" >دانلود</a> و نصب کنید .<br />
<span style="font-weight: bold;">گام دوم :</span> به مسیر زیر بروید :<br />
<span style="color: #FF0000;">برای پست بیت جدید :</span> کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; Postbit templates &gt; بخش Postbit<br />
<span style="color: #FF0000;">برای پست بیت کلاسیک :</span> کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; Postbit templates &gt; بخش postbit classic<br />
و متغیر زیر را پیدا کنید .<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_60_78" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_60_78").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>{$post['useravatar']}</code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
کدهای زیر را قبل از متغیری که پیدا کردید قرار دهید . <br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_61_26" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_61_26").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_symbol">&lt;</span><span class="php_keyword">if</span> <span class="php_var">$thread</span><span class="php_symbol">[</span><span class="php_string">'uid'</span><span class="php_symbol">]</span> <span class="php_symbol">=</span><span class="php_symbol">=</span> <span class="php_var">$post</span><span class="php_symbol">[</span><span class="php_string">'uid'</span><span class="php_symbol">]</span> then<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>div <span class="php_keyword"><span class="php_keyword">class</span></span> <span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">badge</span>&quot;</span><span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/div<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>/<span class="php_keyword">if</span><span class="php_symbol">&gt;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<span style="font-weight: bold;">گام سوم :</span> به مسیر زیر بروید :<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; پوسته ها &gt; پوسته مورد نظر &gt;  بخش global.css<br />
<br />
و در انتهای صفحه کدهای زیر را وارد کنید (با توجه به مطلبی که در "توجه" بالا نوشتم)<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_62_24" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_62_24").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>.badge {
display: block;
position: absolute;
margin-top: -62px;
margin-right: 115px;
background: url(images/starter.png) no-repeat transparent;
height: 56px;
width: 56px;
}</code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<span style="font-weight: bold;">گام چهارم :</span> تصویر موجود در فایل فشرده ی پیوست شده را در پوشه ی "images" <a href="http://www.midorinco.ir/index.php" title="آپلود" >آپلود</a> کنید .<br />
<span style="font-weight: bold;">کار تمام است .</span> امید که بکار بیاید .<br />
<br />
<fieldset style="background:#efefef url(images/post-deco/note.png) top left 0% no-repeat;width:90%;background-color:#D4D4FF;border-left:2px solid #878787;border-right:2px solid #878787;border-top:2px solid #878787;border-bottom:2px solid #878787;margin:0 auto 4px;padding:3px 15px 3px 40px;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><blink><strong>یادداشت</strong></blink></legend><br/><font color="darkred" size="3"><strong>متن پیام : </strong><br /></font><font color="black"> <br />
اگر با عددهای داده شده در کدهای سی اس اس , تصویر درست قرار نگرفت باید با آزمون و خطا این کار را انجام دهید . در تصویرهای پیوستی دو تصویر قرار داده ام یکی در قالب دیفالت است که اندازه های داده شده در این آموزش هم همان اندازه ها در دیفالت هستند و برای خودم در این <a href="http://www.midorinco.ir/index.php" title="تالار میدوری" >تالار</a> مجبور به تغییر آن ها شده ام , تصویر دوم .<br />
</font><br /><br /></fieldset><br />
<!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			starter.rar</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2125">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/rar.gif" border="0" alt=".rar" title=".rar" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">3.96 KB</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">429 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1770501028</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --></div></div>]]></description>
			<content:encoded><![CDATA[<div style="text-align: CENTER;"><span style="text-shadow: 0px 5px 2px gray;"><span style="color: #FF0000;"><span style="font-size: medium;"><span style="font-weight: bold;">آموزشی برای نمایش شروع کننده ی موضوع در انجمن ها</span></span></span></span><br />
<div style="text-align: RIGHT;">در انجمن های با کاربران زیاد گاهی پیش می آید که در میان پست ها که در حال دیدن هستید بخواهید بدانید چه کسی این موضوع را شروع کرده راه حل ساده است برای این کار باید به پست نخست رفته و کاربری که موضوع را شروع کرده است را ببینید . ولی راه ساده تری هم هست , به همین منظور راه کاری برای اینکه در نگاه نخست از شروع کننده ی موضوع با اطلا ع شوید را برای دوستان قرار می دهم . (البته پلاگینی در این رابطه از جانوتا در سایت مای بی بی اکسترس هست که داشتم و بعد یک مدت انجمن من رو داشت به باد فنا می داد <img src="images/smilies/biggrin.gif" style="vertical-align: middle;" border="0" alt="Big Grin" title="Big Grin" /> و حذفش کردم . بطور کلی از پلاگین های این فرد باید دوری کرد <img src="images/smilies/diablo.gif" style="vertical-align: middle;" border="0" alt="Diablo" title="Diablo" />)<br />
نخست به تصویرهای پیوستی نگاهی بیاندازید. نمونه ی زنده هم در همین <a href="http://www.midorinco.ir/index.php" title="تالار میدوری" >تالار</a> موجود است (سمت چپ بالای آواتار را ببینید)<br />
<br />
<table style="margin: 0 auto;width:98%;"><td><fieldset style="background: #F5F5F5;border:3px solid #1F497D;border-radius:8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><strong><font style="font-weight:bold;font-style:italic;color:navy;">تصویرهای نمونه :</font></strong></legend><br />
<div style="text-align: CENTER;"><!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			2014-07-15_214536.jpg</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2123">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/image.gif" border="0" alt=".jpg" title=".jpg" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">15.48 KB</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">461 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1772795883</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --><!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			2014-07-16_005335.jpg</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2124">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/image.gif" border="0" alt=".jpg" title=".jpg" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">12.47 KB</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">446 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1772795885</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --></div></fieldset></td></table>
<br />
<fieldset style="background:#efefef url(images/post-deco/notice.png) top left 0% no-repeat;width:90%;background-color:#FCFAA9;border-left:2px solid #FFD42A;border-right:2px solid #FFD42A;border-top:2px solid #FFD42A;border-bottom:2px solid #FFD42A;margin:0 auto 4px;padding:3px 15px 3px 40px;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><blink><strong>توجه</strong></blink></legend><br/><font color="darkred" size="3"><strong>متن پیام : </strong><br /></font><font color="black"> <br />
در این راه کار از تصویر استفاده شده و ممکن است تنظیم و درست نشتن تصویر قدری  مشکل باشد اگر چنین است از نوشته بجای تصویر استفاده کنید .<br />
</font><br /><br /></fieldset><br />
<br />
اگر علاقه مند شدید کارهای زیر را باید انجام دهید .<br />
<span style="font-weight: bold;">گام نخست :</span> <a href="http://www.midorinco.ir/index.php" title="افزونه" >افزونه</a> ی معجزه گر  "PHP در قالب ها" را که در <a href="http://www.midorinco.ir/showthread.php?tid=1168" target="_blank">اینجا</a> آخرین نگارش آن را قرار داده ام , <a href="http://www.midorinco.ir/index.php" title="دانلود" >دانلود</a> و نصب کنید .<br />
<span style="font-weight: bold;">گام دوم :</span> به مسیر زیر بروید :<br />
<span style="color: #FF0000;">برای پست بیت جدید :</span> کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; Postbit templates &gt; بخش Postbit<br />
<span style="color: #FF0000;">برای پست بیت کلاسیک :</span> کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; قالب ها &gt; قالب مورد نظر &gt; Postbit templates &gt; بخش postbit classic<br />
و متغیر زیر را پیدا کنید .<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_60_78" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_60_78").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>{$post['useravatar']}</code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
کدهای زیر را قبل از متغیری که پیدا کردید قرار دهید . <br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_61_26" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_61_26").style.display = "";
//-->
</script><city>کد PHP:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code><span class="php_symbol">&lt;</span><span class="php_keyword">if</span> <span class="php_var">$thread</span><span class="php_symbol">[</span><span class="php_string">'uid'</span><span class="php_symbol">]</span> <span class="php_symbol">=</span><span class="php_symbol">=</span> <span class="php_var">$post</span><span class="php_symbol">[</span><span class="php_string">'uid'</span><span class="php_symbol">]</span> then<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>div <span class="php_keyword"><span class="php_keyword">class</span></span> <span class="php_symbol">=</span><span class="php_string_d">&quot;<span class="php_string">badge</span>&quot;</span><span class="php_symbol">&gt;</span><span class="php_symbol">&lt;</span>/div<span class="php_symbol">&gt;</span>
<span class="php_symbol">&lt;</span>/<span class="php_keyword">if</span><span class="php_symbol">&gt;</span></code></pre></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<span style="font-weight: bold;">گام سوم :</span> به مسیر زیر بروید :<br />
کنترل پنل مدیریت &gt; قالب ها و پوسته &gt; پوسته ها &gt; پوسته مورد نظر &gt;  بخش global.css<br />
<br />
و در انتهای صفحه کدهای زیر را وارد کنید (با توجه به مطلبی که در "توجه" بالا نوشتم)<br />
<div align="center"><div  style="margin: 5px 10px 10px; width: 98%;"><div style="text-align:  right; padding: 4px; background: #FFAA55; repeat-x scroll 0% 0%  transparent; border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; color:#ffffff; text-shadow:0 -1px #D3B40F; font-weight:bold;  "><input type="button" onclick="if  (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  != '') {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = '';       this.innerText = ''; this.value = 'پنهان کردن متن'; } else {  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display  = 'none'; this.innerText = ''; this.value = 'نشان دادن متن'; }" style="width:  90px; height: 25px; font-size: 12px; margin: 0px; padding: 0px;font-family: Tahoma"  value="نشان دادن متن"></div><div><div  style="border: 4px solid #D3B40F; padding: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; display:  none; text-align: right">
</p>
<div class="codeblock"><div class="title"><input type="button" class="button select_button" value="انتخاب کدها" onClick="selectObj(this.parentNode.parentNode.getElementsByTagName('pre')[0].getElementsByTagName('code')[0])" id="coolcode_btnsel_1772897985_62_24" style="display: none;" /><script type="text/javascript">
//<!--
$("coolcode_btnsel_1772897985_62_24").style.display = "";
//-->
</script><city>کد HTML:</city>
</div>
			<div class="codecontainer"><table style="text-align:left;" align="left"><tr><td>
			<pre><code>.badge {
display: block;
position: absolute;
margin-top: -62px;
margin-right: 115px;
background: url(images/starter.png) no-repeat transparent;
height: 56px;
width: 56px;
}</code></pre></td><td><div class="linenum"><code>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9</code></div></td></tr></table></div><hr class="hidden clear" /></div>
<p>
</div></div></div></div>
<span style="font-weight: bold;">گام چهارم :</span> تصویر موجود در فایل فشرده ی پیوست شده را در پوشه ی "images" <a href="http://www.midorinco.ir/index.php" title="آپلود" >آپلود</a> کنید .<br />
<span style="font-weight: bold;">کار تمام است .</span> امید که بکار بیاید .<br />
<br />
<fieldset style="background:#efefef url(images/post-deco/note.png) top left 0% no-repeat;width:90%;background-color:#D4D4FF;border-left:2px solid #878787;border-right:2px solid #878787;border-top:2px solid #878787;border-bottom:2px solid #878787;margin:0 auto 4px;padding:3px 15px 3px 40px;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px;"><legend style="background:#E1E1E1;padding: 0.2em 0.5em;border:2px solid #999919;color:red;font-size:14px;text-align:right;border-radius: 8px;-moz-border-radius:8px;-webkit-border-radius:8px"><blink><strong>یادداشت</strong></blink></legend><br/><font color="darkred" size="3"><strong>متن پیام : </strong><br /></font><font color="black"> <br />
اگر با عددهای داده شده در کدهای سی اس اس , تصویر درست قرار نگرفت باید با آزمون و خطا این کار را انجام دهید . در تصویرهای پیوستی دو تصویر قرار داده ام یکی در قالب دیفالت است که اندازه های داده شده در این آموزش هم همان اندازه ها در دیفالت هستند و برای خودم در این <a href="http://www.midorinco.ir/index.php" title="تالار میدوری" >تالار</a> مجبور به تغییر آن ها شده ام , تصویر دوم .<br />
</font><br /><br /></fieldset><br />
<!-- start: postbit_attachments_attachment -->
<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style type="text/css">
<!--
td.attachrow		{font: normal 11px Tahoma;}
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
	<style>
<!--
table.attachtable	{font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader     {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow		{font: normal 11px Tahoma;}
-->
</style>
<br><div style="width:90%;padding:0px;margin:auto;box-shadow:0 0 0 2px #5F0308,0 0 0 4px #6F030A,0 0 0 6px #8B030D,0 0 0 8px #B4030F,0 0 0 10px #8B030D,0 0 0 12px #6F030A,0 0 0 14px #5F0308,5px 6px 6px 18px rgba(0,0,0,0.5);border-radius:4px;">
	<table border="0" cellpadding="0" cellspacing="4">
	</table>
	<table class="attachtable" id="table2" width="100%" align="center" border="1" cellpadding="2" cellspacing="0">
		<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><b>
			starter.rar</b></td>
    	</tr>
       <tr>
            <td class="attachrow" width="15%"><span class="genmed">&nbsp;ارسال کننده فايل</span></td>
            <td class="attachrow" width="75%">
            <a href="http://www.midorinco.ir/member.php?action=profile&amp;uid="></a></td>
            <td class="attachrow" width="10%" align="center" rowspan="7">
            <a href="attachment.php?aid=2125">
            <img border="0" alt="download" src="images/download.png">
</a>
<br>
</td>
</tr>
    	<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;نوع فايل</span></td>
			<td class="attachrow" width="75%">
			<img src="images/attachtypes/rar.gif" border="0" alt=".rar" title=".rar" /></td>
					</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;اندازه</span></td>
			<td class="attachrow" width="75%">3.96 KB</td>
</tr>
<tr>
			<td class="attachrow" width="15%"><span class="genmed">&nbsp;دفعات دانلود</span></td>
			<td class="attachrow" width="75%"><span class="genmed">429 بار</span></td>
</tr>
		<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;گيرنده(های) فايل</span></td>
<td class="attachrow" width="75%"><style type="text/css">
/* animated spoiler CSS by Ali Movassagh */
.spoilerbuttonz {display:block;margin:-10px 0 2px 0;background:#EBEBEB;border:2px solid #F8A613;padding:3px;text-align:center;font-weight:bold;font-style:italic;font-size:12px;font-family:Tahoma;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;cursor:pointer;}
.spoilerz {overflow:hidden;background: #;}
.spoilerz > div {-webkit-transition: all 0.2s ease;-moz-transition: margin 0.2s ease;-o-transition: all 0.2s ease;transition: margin 0.7s ease;}
.spoilerbuttonz[value="نمایش دادن"] + .spoilerz > div {margin-top:-100%;}
.spoilerbuttonz[value="پنهان سازی"] + .spoilerz {padding:0px;}
</style>
<input class="spoilerbuttonz" type="button" value="نمایش دادن" onclick="this.value=this.value=='نمایش دادن'?'پنهان سازی':'نمایش دادن';">
<div class="spoilerz"><div><fieldset style="background: #EBEBEB;border:1px solid #F8A613;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;"></fieldset>
</div></div></td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;زمان آخرین دانلود</span></td>
<td class="attachrow" width="75%">1770501028</td>
</tr>
<tr>
<td class="attachrow" width="15%"><span class="genmed">&nbsp;یک سخنِ ناب</span></td>
<td class="attachrow" width="75%">
<!--sokhane Bozorgan -->
<script src='http://dl.midorinco.ir/tools/Sokhanhayerooz2.js' language=javascript ></script>
<script  language=javascript>Sokhantasadofi('Black','fafafa','0','dotted','black','8','tahoma'); </script>
<!--sokhane Bozorgan -->
</td>
</tr>
	<tr>
			<td colspan="3" class="attachheader" width="100%" align="center"><img src="http://www.midorinco.ir/images/midori-attach-icon.png"></td>
		</tr>
	</table>
</div><br>
<!-- end: postbit_attachments_attachment --></div></div>]]></content:encoded>
		</item>
	</channel>
</rss>