<?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[مرجع پارسی MyBB - خدمات پشتیبانی MyBB <strong style="color: red;">1.6</strong>]]></title>
		<link>https://community.mybbiran.com/</link>
		<description><![CDATA[مرجع پارسی MyBB - https://community.mybbiran.com]]></description>
		<pubDate>Tue, 09 Jun 2026 09:01:59 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[پاک شدن فیلد users از phpmyadmin]]></title>
			<link>https://community.mybbiran.com/thread-19428.html</link>
			<pubDate>Sun, 22 May 2016 11:13:21 +0430</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybbiran.com/member.php?action=profile&uid=39036">toorej</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybbiran.com/thread-19428.html</guid>
			<description><![CDATA[باعرض سلام خدمت دوستان و اساتید گرامی<br />
بنده چند روزی میشه که هاستم رو تغییر دادم و متاسفانه نمیتونم وارد پنل مدیریت و خود انجمن بشم ایمیل بازیابی رو هم میزنم ولی میگه این ایمیل موجود نیست<br />
رفتم از فیلد یوزر در phpmyadmin ایمیل رو تغییر بدم ولی متاسفانه این فیلد وجود نداره چطور باید این مشکل رو برطرف کنم<br />
باتشکر]]></description>
			<content:encoded><![CDATA[باعرض سلام خدمت دوستان و اساتید گرامی<br />
بنده چند روزی میشه که هاستم رو تغییر دادم و متاسفانه نمیتونم وارد پنل مدیریت و خود انجمن بشم ایمیل بازیابی رو هم میزنم ولی میگه این ایمیل موجود نیست<br />
رفتم از فیلد یوزر در phpmyadmin ایمیل رو تغییر بدم ولی متاسفانه این فیلد وجود نداره چطور باید این مشکل رو برطرف کنم<br />
باتشکر]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[مشکل ارور فید انجمن]]></title>
			<link>https://community.mybbiran.com/thread-18875.html</link>
			<pubDate>Wed, 03 Feb 2016 19:26:54 +0330</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybbiran.com/member.php?action=profile&uid=6511">unipaper</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybbiran.com/thread-18875.html</guid>
			<description><![CDATA[سلام من همه راه حل ها رو رفتن اما مشکل فید انجمن دارم  <br />
ممنون میشم بگید چیکار کنم <br />
<br />
<a href="http://forum.unipaper.ir/syndication.php?limit=15" target="_blank" rel="noopener" class="mycode_url">http://forum.unipaper.ir/syndication.php?limit=15</a><br />
<br />
ادرس فید انجمن که مشکل داره  <img src="https://community.mybbiran.com/images/smilies/lightbulb.gif" alt="Idea" title="Idea" class="smilie smilie_18" />]]></description>
			<content:encoded><![CDATA[سلام من همه راه حل ها رو رفتن اما مشکل فید انجمن دارم  <br />
ممنون میشم بگید چیکار کنم <br />
<br />
<a href="http://forum.unipaper.ir/syndication.php?limit=15" target="_blank" rel="noopener" class="mycode_url">http://forum.unipaper.ir/syndication.php?limit=15</a><br />
<br />
ادرس فید انجمن که مشکل داره  <img src="https://community.mybbiran.com/images/smilies/lightbulb.gif" alt="Idea" title="Idea" class="smilie smilie_18" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[مشکل با کل انجمن (جدی)]]></title>
			<link>https://community.mybbiran.com/thread-18330.html</link>
			<pubDate>Mon, 17 Aug 2015 00:28:54 +0430</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybbiran.com/member.php?action=profile&uid=40914">MISTER</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybbiran.com/thread-18330.html</guid>
			<description><![CDATA[درود<br />
<br />
کل انجمن داون میشه<br />
<br />
ادرسش تو امضام هست ببینید..<br />
<br />
مشکل کجاست ؟]]></description>
			<content:encoded><![CDATA[درود<br />
<br />
کل انجمن داون میشه<br />
<br />
ادرسش تو امضام هست ببینید..<br />
<br />
مشکل کجاست ؟]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[مشگل در ویرایش پست]]></title>
			<link>https://community.mybbiran.com/thread-18231.html</link>
			<pubDate>Sat, 18 Jul 2015 17:32:32 +0430</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybbiran.com/member.php?action=profile&uid=41005">sons</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybbiran.com/thread-18231.html</guid>
			<description><![CDATA[میزنم ویرایش <br />
ویرایش کامل<br />
صفحه باز میشه ت ویرایشگرر پستی ک باس بیاد تا ویرایش بشه نیست<br />
 <img src="https://community.mybbiran.com/images/smilies/huh.gif" alt="Huh" title="Huh" class="smilie smilie_17" /> <img src="https://community.mybbiran.com/images/smilies/huh.gif" alt="Huh" title="Huh" class="smilie smilie_17" />]]></description>
			<content:encoded><![CDATA[میزنم ویرایش <br />
ویرایش کامل<br />
صفحه باز میشه ت ویرایشگرر پستی ک باس بیاد تا ویرایش بشه نیست<br />
 <img src="https://community.mybbiran.com/images/smilies/huh.gif" alt="Huh" title="Huh" class="smilie smilie_17" /> <img src="https://community.mybbiran.com/images/smilies/huh.gif" alt="Huh" title="Huh" class="smilie smilie_17" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[کسی معتبر پلاگین حالت من رو داره؟]]></title>
			<link>https://community.mybbiran.com/thread-18229.html</link>
			<pubDate>Sat, 18 Jul 2015 15:50:54 +0430</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybbiran.com/member.php?action=profile&uid=41005">sons</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybbiran.com/thread-18229.html</guid>
			<description><![CDATA[کسی معتبرر <br />
پلاگین حالت من برای پروفیل و پست بیت رو داره؟]]></description>
			<content:encoded><![CDATA[کسی معتبرر <br />
پلاگین حالت من برای پروفیل و پست بیت رو داره؟]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[مشکل در ارسال پاسخ سریع]]></title>
			<link>https://community.mybbiran.com/thread-18172.html</link>
			<pubDate>Wed, 08 Jul 2015 13:27:42 +0430</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybbiran.com/member.php?action=profile&uid=39848">MaryamSh</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybbiran.com/thread-18172.html</guid>
			<description><![CDATA[سلام من وقتی میخوام تو ی تاپیک پاسخ سریع ارسال کنم یا اینکه دکمه پاسخ جدید رو میزنم پیام میده ک موضوع مورد نظر وجود نداره!!!!<br />
<br />
به نظرتون مشکل از کجاست؟]]></description>
			<content:encoded><![CDATA[سلام من وقتی میخوام تو ی تاپیک پاسخ سریع ارسال کنم یا اینکه دکمه پاسخ جدید رو میزنم پیام میده ک موضوع مورد نظر وجود نداره!!!!<br />
<br />
به نظرتون مشکل از کجاست؟]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[مشکل آپلود کردن فایل در انجمن]]></title>
			<link>https://community.mybbiran.com/thread-18047.html</link>
			<pubDate>Sat, 13 Jun 2015 23:01:25 +0430</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybbiran.com/member.php?action=profile&uid=39848">MaryamSh</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybbiran.com/thread-18047.html</guid>
			<description><![CDATA[سلام من تازگی ی انجمن طراحی کردم و از انجمن ساز مای بی بی هم هستم استفاده کردم در قسمت ارسال موضوع جدید دو مشکل دارم .<br />
<br />
اول اینکه قسمتی برای وارد کردن کلمات کلیدی وجود نداره میخواستم بدونم این قسمت رو چطوری میتونم اضافه کنم ؟تا بتونم برای تاپیک کلمات کلیدی تعیین کنم.<br />
<br />
دوم اینکه نمیتونم فایل آپلود کنم.<br />
<br />
ممنون میشم راهنمایی کنید تو زمینه طراحی سایت و کار کردن با انجمن ساز تازه واردم.]]></description>
			<content:encoded><![CDATA[سلام من تازگی ی انجمن طراحی کردم و از انجمن ساز مای بی بی هم هستم استفاده کردم در قسمت ارسال موضوع جدید دو مشکل دارم .<br />
<br />
اول اینکه قسمتی برای وارد کردن کلمات کلیدی وجود نداره میخواستم بدونم این قسمت رو چطوری میتونم اضافه کنم ؟تا بتونم برای تاپیک کلمات کلیدی تعیین کنم.<br />
<br />
دوم اینکه نمیتونم فایل آپلود کنم.<br />
<br />
ممنون میشم راهنمایی کنید تو زمینه طراحی سایت و کار کردن با انجمن ساز تازه واردم.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[درخواست پلاگین یاکد و آموزش نمایش آخرین موضوع ها ی مای بی بی]]></title>
			<link>https://community.mybbiran.com/thread-17851.html</link>
			<pubDate>Wed, 08 Apr 2015 17:56:41 +0430</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybbiran.com/member.php?action=profile&uid=40592">happygraph</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybbiran.com/thread-17851.html</guid>
			<description><![CDATA[سلام من پلاگین یاکد و آموزش نمایش آخرین موضوع ها ی مای بی بی در صفحه اصلی انجمن و سایت دیگری رو میخوام مثلا میخوای آدرس آنجمنم i-k9.ir باشه اما آخرین ارسالی ها و... اش رو توی سایتی مثلا megascript.ir نمایش بدم.<br />
و حتی میخوام تو خود انجمنم صفحه اصلیش همین کد برو بزارم.<br />
اینجوری میخوام که مثلا تو این تاپیک وقتی کسی پاسخ داد این تایک مثلا صفحه دومه بره صفحه اول لینک اول بشه و از همه مهم تر صفحه بندی باشه.<br />
حالا این صفحه بندی نبود اشکال نداره فقط مثل همین مای بی بی ایران باشه کافیه منتظرم شب میخوام طراحی قالبو استارت بزنم دوستان خوب عجله کنند.<br />
<br />
دمو:<br />
<br />
<a href="http://www.upload.megascript.ir/uploads/142849950789221.png" target="_blank" rel="noopener" class="mycode_url">http://www.upload.megascript.ir/uploads/...789221.png</a><br />
<br />
<br />
راستی میشه وسه بخش ارسال پاسخ یا ارسال تاپیک ادیتور بزاریم کاربر مثلا عکس رو کپی کرد عکس بیات نه این که باید طبق کد نویسی بزنه؟<br />
میشه؟<br />
اگه اره روششو بگین<br />
<br />
پیشاپیش از بچه های با مرام مای بی بی ایران ممنون]]></description>
			<content:encoded><![CDATA[سلام من پلاگین یاکد و آموزش نمایش آخرین موضوع ها ی مای بی بی در صفحه اصلی انجمن و سایت دیگری رو میخوام مثلا میخوای آدرس آنجمنم i-k9.ir باشه اما آخرین ارسالی ها و... اش رو توی سایتی مثلا megascript.ir نمایش بدم.<br />
و حتی میخوام تو خود انجمنم صفحه اصلیش همین کد برو بزارم.<br />
اینجوری میخوام که مثلا تو این تاپیک وقتی کسی پاسخ داد این تایک مثلا صفحه دومه بره صفحه اول لینک اول بشه و از همه مهم تر صفحه بندی باشه.<br />
حالا این صفحه بندی نبود اشکال نداره فقط مثل همین مای بی بی ایران باشه کافیه منتظرم شب میخوام طراحی قالبو استارت بزنم دوستان خوب عجله کنند.<br />
<br />
دمو:<br />
<br />
<a href="http://www.upload.megascript.ir/uploads/142849950789221.png" target="_blank" rel="noopener" class="mycode_url">http://www.upload.megascript.ir/uploads/...789221.png</a><br />
<br />
<br />
راستی میشه وسه بخش ارسال پاسخ یا ارسال تاپیک ادیتور بزاریم کاربر مثلا عکس رو کپی کرد عکس بیات نه این که باید طبق کد نویسی بزنه؟<br />
میشه؟<br />
اگه اره روششو بگین<br />
<br />
پیشاپیش از بچه های با مرام مای بی بی ایران ممنون]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[راهنمایی در ورد دوتا مشکل]]></title>
			<link>https://community.mybbiran.com/thread-17811.html</link>
			<pubDate>Mon, 30 Mar 2015 13:11:17 +0430</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybbiran.com/member.php?action=profile&uid=6511">unipaper</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybbiran.com/thread-17811.html</guid>
			<description><![CDATA[سلام عزیزان <br />
من دوتا مشکل با انجمنم دارم <br />
1- چه طوری میشه به صورت پیشفرض همه کاربران حالت اشتراک برای پست ها داشته باشن <br />
2- چه طوری میشه وقتی پاسخ به تایپک داده میشه یه ایمیل بره برای کاربر <br />
<br />
ممنون میشم راهنمایی کنید ]]></description>
			<content:encoded><![CDATA[سلام عزیزان <br />
من دوتا مشکل با انجمنم دارم <br />
1- چه طوری میشه به صورت پیشفرض همه کاربران حالت اشتراک برای پست ها داشته باشن <br />
2- چه طوری میشه وقتی پاسخ به تایپک داده میشه یه ایمیل بره برای کاربر <br />
<br />
ممنون میشم راهنمایی کنید ]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[راهنمایی در مورد پلاگین سپاس]]></title>
			<link>https://community.mybbiran.com/thread-17713.html</link>
			<pubDate>Tue, 10 Mar 2015 12:51:52 +0330</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybbiran.com/member.php?action=profile&uid=11263">kayvan1</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybbiran.com/thread-17713.html</guid>
			<description><![CDATA[سلام <br />
دوستان میخواستم این دکمه رو تغییر بدم کد هاش توی چه قالبیه؟<br />
<br />
<img src="http://axgig.ir/uploads/1425979245411.png" loading="lazy"  alt="[تصویر:  1425979245411.png]" class="mycode_img" /><br />
<br />
ممنون از راهنماییتون<br />
<br />
اسم <img src="http://mybbiran.com/1/plugin_add.png" loading="lazy"  alt="[تصویر:  plugin_add.png]" class="mycode_img" /> <span style="color: #FF0000;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b">پلاگین:</span></span> thanks]]></description>
			<content:encoded><![CDATA[سلام <br />
دوستان میخواستم این دکمه رو تغییر بدم کد هاش توی چه قالبیه؟<br />
<br />
<img src="http://axgig.ir/uploads/1425979245411.png" loading="lazy"  alt="[تصویر:  1425979245411.png]" class="mycode_img" /><br />
<br />
ممنون از راهنماییتون<br />
<br />
اسم <img src="http://mybbiran.com/1/plugin_add.png" loading="lazy"  alt="[تصویر:  plugin_add.png]" class="mycode_img" /> <span style="color: #FF0000;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b">پلاگین:</span></span> thanks]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[کمک برای پلاگین]]></title>
			<link>https://community.mybbiran.com/thread-17617.html</link>
			<pubDate>Tue, 10 Feb 2015 21:54:01 +0330</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybbiran.com/member.php?action=profile&uid=40301">woods_f</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybbiran.com/thread-17617.html</guid>
			<description><![CDATA[<div style="text-align: right;" class="mycode_align">با سلام<br />
<br />
من دارم یک پلاگین می نویسم که در ازای پرداخت برای هر فایل بتونه اون فایل رو دانلود کنه.<br />
<br />
الان به یک مشکل خوردم.<br />
<br />
وقتی آدرس دانلود فایل رو تو مرورگر یا idm وارد می کنم فایل دانلود می کنه ولی وقتی کاربر روی button یا تگ a کلیک میکنه ویا اینکه با header فایل تو صفحه می فرستم یک دفع client که می خواد فایل دانلود کنه سیستمش هنگ می کنه البته بعضی مواقع بار اول به خوبی دانلود می کنه ولی بعد از بار اول کل سیستم هنک می کنه و باید رست کردم. ممنون می شم فایل یک نگاه بندازید و کمک کنید.(البته برای تست کردن سرور و client روی لوکال خودمه)<br />
لینک <img src="http://mybbiran.com/1/photos.png" loading="lazy"  alt="[تصویر:  photos.png]" class="mycode_img" /><span style="color: #FF0000;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b"> نمونه:</span></span><br />
</div>
<br />
<div style="text-align: left;" class="mycode_align"><a href="http://localhost:81/forum/showfile.php?fid=1&amp;verify=ae643c9a90e76a8a3a8c4938771b0fa5570442045" target="_blank" rel="noopener" class="mycode_url">http://localhost:81/forum/showfile.php?f...5570442045</a></div>
<br />
<div style="text-align: left;" class="mycode_align">
<div class="codeblock phpcodeblock"><div class="title">کد php: </div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">define</span><span style="color: #007700">(</span><span style="color: #DD0000">"IN_MYBB"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">define</span><span style="color: #007700">(</span><span style="color: #DD0000">'THIS_SCRIPT'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'showfile.php'</span><span style="color: #007700">);<br /><br /></span><span style="color: #0000BB">&#36;templatelist&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"downloadvip,post_captcha"</span><span style="color: #007700">;<br /><br />require_once&nbsp;</span><span style="color: #DD0000">"./global.php"</span><span style="color: #007700">;<br />require_once&nbsp;</span><span style="color: #0000BB">MYBB_ROOT</span><span style="color: #007700">.</span><span style="color: #DD0000">'inc/class_captcha.php'</span><span style="color: #007700">;<br /><br /></span><span style="color: #FF8000">//&nbsp;Load&nbsp;global&nbsp;language&nbsp;phrases<br /></span><span style="color: #0000BB">&#36;lang</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">load</span><span style="color: #007700">(</span><span style="color: #DD0000">"showfile"</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">//&nbsp;Make&nbsp;navigation<br /></span><span style="color: #0000BB">add_breadcrumb</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;lang</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">showfile</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"showfile.php"</span><span style="color: #007700">);<br /><br />if(!</span><span style="color: #0000BB">downloadvip_is_installed</span><span style="color: #007700">())&nbsp;{}<br />if(!isset(</span><span style="color: #0000BB">&#36;mybb</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">input</span><span style="color: #007700">[</span><span style="color: #DD0000">'fid'</span><span style="color: #007700">]))&nbsp;{}<br /></span><span style="color: #0000BB">&#36;query&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">&#36;db</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">simple_select</span><span style="color: #007700">(</span><span style="color: #DD0000">"/*check&nbsp;exist&nbsp;file*/"</span><span style="color: #007700">);<br />if(!</span><span style="color: #0000BB">&#36;query</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">num_rows</span><span style="color: #007700">)&nbsp;{}<br /><br /></span><span style="color: #FF8000">//&nbsp;Download&nbsp;file<br /></span><span style="color: #007700">if(isset(</span><span style="color: #0000BB">&#36;mybb</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">input</span><span style="color: #007700">[</span><span style="color: #DD0000">'fid'</span><span style="color: #007700">],&nbsp;</span><span style="color: #0000BB">&#36;mybb</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">input</span><span style="color: #007700">[</span><span style="color: #DD0000">'verify'</span><span style="color: #007700">]))&nbsp;{<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; download_file</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;mybb</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">&#36;db</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; exit</span><span style="color: #007700">;<br />}<br /><br /></span><span style="color: #0000BB">&#36;plugins</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">run_hooks</span><span style="color: #007700">(</span><span style="color: #DD0000">'showfile_start'</span><span style="color: #007700">);<br /><br /></span><span style="color: #0000BB">&#36;errors&nbsp;</span><span style="color: #007700">=&nbsp;array();<br /></span><span style="color: #0000BB">&#36;access_file&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">;<br />if(</span><span style="color: #0000BB">&#36;mybb</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">request_method&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #DD0000">"post"</span><span style="color: #007700">)&nbsp;{<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp;</span><span style="color: #FF8000">/**<br />&nbsp; &nbsp; &nbsp; *&nbsp;Check&nbsp;password&nbsp;for&nbsp;create&nbsp;random&nbsp;file&nbsp;link<br />&nbsp; &nbsp; &nbsp; *&nbsp;If&nbsp;input&nbsp;valid&nbsp;&#36;accept&nbsp;=&nbsp;true,&nbsp;else&nbsp;show&nbsp;error<br />&nbsp; &nbsp; &nbsp; */<br /></span><span style="color: #007700">}<br /><br /></span><span style="color: #FF8000">//&nbsp;Generate&nbsp;CAPTCHA?<br /></span><span style="color: #007700">if(</span><span style="color: #0000BB">&#36;mybb</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">settings</span><span style="color: #007700">[</span><span style="color: #DD0000">'captchaimage'</span><span style="color: #007700">]){<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &#36;post_captcha&nbsp;</span><span style="color: #007700">=&nbsp;new&nbsp;</span><span style="color: #0000BB">captcha</span><span style="color: #007700">(</span><span style="color: #0000BB">true</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"post_captcha"</span><span style="color: #007700">);<br /><br />&nbsp;</span><span style="color: #0000BB"> &nbsp; if</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;post_captcha</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">html</span><span style="color: #007700">)&nbsp;{<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &#36;captcha&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">&#36;post_captcha</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">html</span><span style="color: #007700">;<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">}<br />}&nbsp;else&nbsp;{<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &#36;captcha&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">''</span><span style="color: #007700">;<br />}<br /><br /></span><span style="color: #0000BB">&#36;plugins</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">run_hooks</span><span style="color: #007700">(</span><span style="color: #DD0000">'showfile_end'</span><span style="color: #007700">);<br /><br />if(</span><span style="color: #0000BB">&#36;access_file</span><span style="color: #007700">)&nbsp;{<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; </span><span style="color: #FF8000">#1<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; </span><span style="color: #FF8000">//&nbsp;eval("&#092;&#36;page&nbsp;=&nbsp;&#092;"".&#36;templates-&gt;get("downloadvip_form")."&#092;";");<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; </span><span style="color: #FF8000">#2<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; </span><span style="color: #FF8000">//&nbsp;header("Location:&nbsp;"&nbsp;.&nbsp;&#36;downloadvip_filelink);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; </span><span style="color: #FF8000">//&nbsp;exit;<br /></span><span style="color: #007700">}&nbsp;else&nbsp;{<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp;</span><span style="color: #FF8000">//&nbsp;Show&nbsp;form&nbsp;again&nbsp;for&nbsp;enter&nbsp;valid&nbsp;input<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp;</span><span style="color: #007700">eval(</span><span style="color: #DD0000">"&#092;&#36;page&nbsp;=&nbsp;&#092;""</span><span style="color: #007700">.</span><span style="color: #0000BB">&#36;templates</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #DD0000">"downloadvip_secure"</span><span style="color: #007700">).</span><span style="color: #DD0000">"&#092;";"</span><span style="color: #007700">);<br />}<br /></span><span style="color: #0000BB">output_page</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;page</span><span style="color: #007700">);<br /><br />function&nbsp;</span><span style="color: #0000BB">download_file</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;mybb</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">&#36;db</span><span style="color: #007700">)&nbsp;{<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #FF8000">//ob_start();<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">@</span><span style="color: #0000BB">ini_set</span><span style="color: #007700">(</span><span style="color: #DD0000">'error_reporting'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">E_ALL&nbsp;</span><span style="color: #007700">&amp;&nbsp;~&nbsp;</span><span style="color: #0000BB">E_NOTICE</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">@</span><span style="color: #0000BB">apache_setenv</span><span style="color: #007700">(</span><span style="color: #DD0000">'no-gzip'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">@</span><span style="color: #0000BB">ini_set</span><span style="color: #007700">(</span><span style="color: #DD0000">'zlib.output_compression'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'Off'</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; <br />&nbsp; &nbsp; &#36;query&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">&#36;db</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">simple_select</span><span style="color: #007700">(</span><span style="color: #DD0000">"/*Check&nbsp;exist&nbsp;random&nbsp;link*/"</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; if</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;query</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">num_rows</span><span style="color: #007700">)&nbsp;{<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &#36;info_dl&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">&#36;db</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">fetch_array</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;query</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &#36;file_path&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">urldecode</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;info_dl</span><span style="color: #007700">[</span><span style="color: #DD0000">'full_dir'</span><span style="color: #007700">]);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">}&nbsp;else&nbsp;{<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; header</span><span style="color: #007700">(</span><span style="color: #DD0000">'HTTP/1.0&nbsp;404&nbsp;Not&nbsp;Found'</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; exit</span><span style="color: #007700">;<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">}<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; <br />&nbsp; &nbsp; if</span><span style="color: #007700">(</span><span style="color: #0000BB">file_exists</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;file_path</span><span style="color: #007700">)&nbsp;&amp;&amp;&nbsp;</span><span style="color: #0000BB">is_readable</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;file_path</span><span style="color: #007700">))&nbsp;{<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &#36;path_parts&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">pathinfo</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;file_path</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &#36;file_name&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">&#36;path_parts</span><span style="color: #007700">[</span><span style="color: #DD0000">'basename'</span><span style="color: #007700">];<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &#36;file_ext&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">&#36;path_parts</span><span style="color: #007700">[</span><span style="color: #DD0000">'extension'</span><span style="color: #007700">];<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &#36;file_size&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">filesize</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;file_path</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #FF8000">//&nbsp;Check&nbsp;user&nbsp;permission&nbsp;for&nbsp;download&nbsp;file&nbsp;extension<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; if</span><span style="color: #007700">(</span><span style="color: #0000BB">strstr</span><span style="color: #007700">(</span><span style="color: #DD0000">"sh|php|php3|php4|php5|py|shtml|stm|shtm|phtml|html|htm|js|jsp|asp|aspx|cgi|pl|plx|htaccess|htpasswd"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">&#36;file_ext</span><span style="color: #007700">)){<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; header</span><span style="color: #007700">(</span><span style="color: #DD0000">"HTTP/1.1&nbsp;403&nbsp;Unauthorized"</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; exit</span><span style="color: #007700">;<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; </span><span style="color: #007700">}else{<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#36;file&nbsp;</span><span style="color: #007700">=&nbsp;@</span><span style="color: #0000BB">fopen</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;file_path</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"rb"</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #FF8000">//&nbsp;Set&nbsp;header<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; header</span><span style="color: #007700">(</span><span style="color: #DD0000">"Pragma:&nbsp;public"</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; header</span><span style="color: #007700">(</span><span style="color: #DD0000">"Expires:&nbsp;-1"</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; header</span><span style="color: #007700">(</span><span style="color: #DD0000">"Cache-Control:&nbsp;public,&nbsp;must-revalidate,&nbsp;post-check=0,&nbsp;pre-check=0"</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; header</span><span style="color: #007700">(</span><span style="color: #DD0000">'Content-Disposition:&nbsp;attachment;&nbsp;filename="'&nbsp;</span><span style="color: #007700">.&nbsp;</span><span style="color: #0000BB">urldecode</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;file_name</span><span style="color: #007700">)&nbsp;.&nbsp;</span><span style="color: #DD0000">'"'</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #FF8000">//&nbsp;Set&nbsp;the&nbsp;mime&nbsp;type&nbsp;based&nbsp;on&nbsp;extension,&nbsp;add&nbsp;yours&nbsp;if&nbsp;needed.<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #FF8000">#&#36;ctype_default&nbsp;=&nbsp;"application/octet-stream";#<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#36;ctype_default&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"application/force-download"</span><span style="color: #007700">;<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#36;content_types&nbsp;</span><span style="color: #007700">=&nbsp;array(<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #DD0000">"exe"&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #DD0000">"application/octet-stream"</span><span style="color: #007700">,<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #DD0000">"zip"&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #DD0000">"application/zip"</span><span style="color: #007700">,<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #DD0000">"rar"&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #DD0000">"application/x-rar-compressed"</span><span style="color: #007700">,<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #DD0000">"mp3"&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #DD0000">"audio/mpeg"</span><span style="color: #007700">,<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #DD0000">"mpg"&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #DD0000">"video/mpeg"</span><span style="color: #007700">,<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #DD0000">"avi"&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #DD0000">"video/x-msvideo"</span><span style="color: #007700">,<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #DD0000">"pdf"&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #DD0000">"application/pdf"</span><span style="color: #007700">,<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #DD0000">"gif"&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #DD0000">"image/gif"</span><span style="color: #007700">,<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #DD0000">"png"&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #DD0000">"image/png"</span><span style="color: #007700">,<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #DD0000">"jpg"&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #DD0000">"image/jpg"</span><span style="color: #007700">,<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #DD0000">"jpeg"&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #DD0000">"image/jpg"</span><span style="color: #007700">,<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #DD0000">"jpe"&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #DD0000">"image/jpg"</span><span style="color: #007700">,<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #DD0000">"txt"&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #DD0000">"text/plain"<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#36;file_ctype&nbsp;</span><span style="color: #007700">=&nbsp;isset(</span><span style="color: #0000BB">&#36;content_types</span><span style="color: #007700">[</span><span style="color: #0000BB">&#36;file_ext</span><span style="color: #007700">])&nbsp;?&nbsp;</span><span style="color: #0000BB">&#36;content_types</span><span style="color: #007700">[</span><span style="color: #0000BB">&#36;file_ext</span><span style="color: #007700">]&nbsp;:&nbsp;</span><span style="color: #0000BB">&#36;ctype_default</span><span style="color: #007700">;<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; header</span><span style="color: #007700">(</span><span style="color: #DD0000">"Content-Type:&nbsp;"&nbsp;</span><span style="color: #007700">.&nbsp;</span><span style="color: #0000BB">&#36;file_ctype</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #FF8000">//&nbsp;Check&nbsp;if&nbsp;http_range&nbsp;is&nbsp;sent&nbsp;by&nbsp;browser&nbsp;(or&nbsp;download&nbsp;manager)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if</span><span style="color: #007700">(isset(</span><span style="color: #0000BB">&#36;_SERVER</span><span style="color: #007700">[</span><span style="color: #DD0000">'HTTP_RANGE'</span><span style="color: #007700">])){<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; list</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;size_unit</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">&#36;range_orig</span><span style="color: #007700">)&nbsp;=&nbsp;</span><span style="color: #0000BB">explode</span><span style="color: #007700">(</span><span style="color: #DD0000">'='</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">&#36;_SERVER</span><span style="color: #007700">[</span><span style="color: #DD0000">'HTTP_RANGE'</span><span style="color: #007700">],&nbsp;</span><span style="color: #0000BB">2</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;size_unit&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #DD0000">'bytes'</span><span style="color: #007700">){<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #FF8000">//&nbsp;Multiple&nbsp;ranges&nbsp;could&nbsp;be&nbsp;specified&nbsp;at&nbsp;the&nbsp;same&nbsp;time,&nbsp;but&nbsp;for&nbsp;simplicity&nbsp;only&nbsp;serve&nbsp;the&nbsp;first&nbsp;range<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; list</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;range</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">&#36;extra_ranges</span><span style="color: #007700">)&nbsp;=&nbsp;</span><span style="color: #0000BB">explode</span><span style="color: #007700">(</span><span style="color: #DD0000">','</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">&#36;range_orig</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">2</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #007700">}else{<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#36;range&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">''</span><span style="color: #007700">;<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; header</span><span style="color: #007700">(</span><span style="color: #DD0000">'HTTP/1.1&nbsp;416&nbsp;Requested&nbsp;Range&nbsp;Not&nbsp;Satisfiable'</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; exit</span><span style="color: #007700">;<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #007700">}<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #007700">}else{<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#36;range&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">''</span><span style="color: #007700">;<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #007700">}<br />&nbsp;<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #FF8000">//&nbsp;Figure&nbsp;out&nbsp;download&nbsp;piece&nbsp;from&nbsp;range&nbsp;(if&nbsp;set)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; list</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;seek_start</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">&#36;seek_end</span><span style="color: #007700">)&nbsp;=&nbsp;</span><span style="color: #0000BB">explode</span><span style="color: #007700">(</span><span style="color: #DD0000">'-'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">&#36;range</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">2</span><span style="color: #007700">);<br />&nbsp;<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #FF8000">//&nbsp;Set&nbsp;start&nbsp;and&nbsp;end&nbsp;based&nbsp;on&nbsp;range&nbsp;(if&nbsp;set),&nbsp;else&nbsp;set&nbsp;defaults<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #FF8000">//&nbsp;Also&nbsp;check&nbsp;for&nbsp;invalid&nbsp;ranges.<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#36;seek_end&nbsp; &nbsp;</span><span style="color: #007700">=&nbsp;(empty(</span><span style="color: #0000BB">&#36;seek_end</span><span style="color: #007700">))&nbsp;?&nbsp;(</span><span style="color: #0000BB">&#36;file_size&nbsp;</span><span style="color: #007700">-&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">)&nbsp;:&nbsp;</span><span style="color: #0000BB">min</span><span style="color: #007700">(</span><span style="color: #0000BB">abs</span><span style="color: #007700">(</span><span style="color: #0000BB">intval</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;seek_end</span><span style="color: #007700">)),(</span><span style="color: #0000BB">&#36;file_size&nbsp;</span><span style="color: #007700">-&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">));<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#36;seek_start&nbsp;</span><span style="color: #007700">=&nbsp;(empty(</span><span style="color: #0000BB">&#36;seek_start</span><span style="color: #007700">)&nbsp;||&nbsp;</span><span style="color: #0000BB">&#36;seek_end&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">abs</span><span style="color: #007700">(</span><span style="color: #0000BB">intval</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;seek_start</span><span style="color: #007700">)))&nbsp;?&nbsp;</span><span style="color: #0000BB">0&nbsp;</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">max</span><span style="color: #007700">(</span><span style="color: #0000BB">abs</span><span style="color: #007700">(</span><span style="color: #0000BB">intval</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;seek_start</span><span style="color: #007700">)),</span><span style="color: #0000BB">0</span><span style="color: #007700">);<br />&nbsp;<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #FF8000">//&nbsp;Only&nbsp;send&nbsp;partial&nbsp;content&nbsp;header&nbsp;if&nbsp;downloading&nbsp;a&nbsp;piece&nbsp;of&nbsp;the&nbsp;file&nbsp;(IE&nbsp;workaround)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;seek_start&nbsp;</span><span style="color: #007700">&gt;&nbsp;</span><span style="color: #0000BB">0&nbsp;</span><span style="color: #007700">||&nbsp;</span><span style="color: #0000BB">&#36;seek_end&nbsp;</span><span style="color: #007700">&lt;&nbsp;(</span><span style="color: #0000BB">&#36;file_size</span><span style="color: #007700">-</span><span style="color: #0000BB">1</span><span style="color: #007700">)){<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; header</span><span style="color: #007700">(</span><span style="color: #DD0000">'HTTP/1.1&nbsp;206&nbsp;Partial&nbsp;Content'</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; header</span><span style="color: #007700">(</span><span style="color: #DD0000">'Content-Range:&nbsp;bytes&nbsp;'</span><span style="color: #007700">.</span><span style="color: #0000BB">&#36;seek_start</span><span style="color: #007700">.</span><span style="color: #DD0000">'-'</span><span style="color: #007700">.</span><span style="color: #0000BB">&#36;seek_end</span><span style="color: #007700">.</span><span style="color: #DD0000">'/'</span><span style="color: #007700">.</span><span style="color: #0000BB">&#36;file_size</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; header</span><span style="color: #007700">(</span><span style="color: #DD0000">'Content-Length:&nbsp;'</span><span style="color: #007700">.(</span><span style="color: #0000BB">&#36;seek_end</span><span style="color: #007700">-</span><span style="color: #0000BB">&#36;seek_start</span><span style="color: #007700">+</span><span style="color: #0000BB">1</span><span style="color: #007700">));<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #007700">}else<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; header</span><span style="color: #007700">(</span><span style="color: #DD0000">"Content-Length:&nbsp;</span><span style="color: #0000BB">&#36;file_size</span><span style="color: #DD0000">"</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; header</span><span style="color: #007700">(</span><span style="color: #DD0000">'Accept-Ranges:&nbsp;bytes'</span><span style="color: #007700">);<br />&nbsp;<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_time_limit</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fseek</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;file</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">&#36;seek_start</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#36;speed&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">2048</span><span style="color: #007700">;<br />&nbsp;<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; while</span><span style="color: #007700">(!</span><span style="color: #0000BB">feof</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;file</span><span style="color: #007700">))&nbsp;{<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; print</span><span style="color: #007700">(@</span><span style="color: #0000BB">fread</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;file</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">&#36;speed</span><span style="color: #007700">*</span><span style="color: #0000BB">8</span><span style="color: #007700">));<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ob_flush</span><span style="color: #007700">();<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; flush</span><span style="color: #007700">();<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #FF8000">#sleep(1);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if</span><span style="color: #007700">(</span><span style="color: #0000BB">connection_status</span><span style="color: #007700">()!=</span><span style="color: #0000BB">0</span><span style="color: #007700">){<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #007700">@</span><span style="color: #0000BB">fclose</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;file</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; exit</span><span style="color: #007700">;<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #007700">}&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #007700">}<br />&nbsp;<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #FF8000">//&nbsp;File&nbsp;save&nbsp;was&nbsp;a&nbsp;success<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #007700">@</span><span style="color: #0000BB">fclose</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;file</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; exit</span><span style="color: #007700">;<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; </span><span style="color: #007700">}<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">}&nbsp;else&nbsp;{<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; header</span><span style="color: #007700">(</span><span style="color: #DD0000">'HTTP/1.0&nbsp;404&nbsp;Not&nbsp;Found'</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; exit</span><span style="color: #007700">;<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">}<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; <br />&nbsp; &nbsp; unset</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;mybb</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">&#36;db</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">&#36;query</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">&#36;info_dl</span><span style="color: #007700">);<br />}&nbsp;<br /></span></code></div></div></div></div>
<br />
<div style="text-align: right;" class="mycode_align">
<br />
اگه مشکل از فایل بالا نبود بگین که 2تا فایل templat هم بزارم تا اگه امکانش هست کمک کنید به من<br />
<br />
خیلی ممنون و ببخشید که طولانی شد.<br />
<br />
</div>]]></description>
			<content:encoded><![CDATA[<div style="text-align: right;" class="mycode_align">با سلام<br />
<br />
من دارم یک پلاگین می نویسم که در ازای پرداخت برای هر فایل بتونه اون فایل رو دانلود کنه.<br />
<br />
الان به یک مشکل خوردم.<br />
<br />
وقتی آدرس دانلود فایل رو تو مرورگر یا idm وارد می کنم فایل دانلود می کنه ولی وقتی کاربر روی button یا تگ a کلیک میکنه ویا اینکه با header فایل تو صفحه می فرستم یک دفع client که می خواد فایل دانلود کنه سیستمش هنگ می کنه البته بعضی مواقع بار اول به خوبی دانلود می کنه ولی بعد از بار اول کل سیستم هنک می کنه و باید رست کردم. ممنون می شم فایل یک نگاه بندازید و کمک کنید.(البته برای تست کردن سرور و client روی لوکال خودمه)<br />
لینک <img src="http://mybbiran.com/1/photos.png" loading="lazy"  alt="[تصویر:  photos.png]" class="mycode_img" /><span style="color: #FF0000;" class="mycode_color"><span style="font-weight: bold;" class="mycode_b"> نمونه:</span></span><br />
</div>
<br />
<div style="text-align: left;" class="mycode_align"><a href="http://localhost:81/forum/showfile.php?fid=1&amp;verify=ae643c9a90e76a8a3a8c4938771b0fa5570442045" target="_blank" rel="noopener" class="mycode_url">http://localhost:81/forum/showfile.php?f...5570442045</a></div>
<br />
<div style="text-align: left;" class="mycode_align">
<div class="codeblock phpcodeblock"><div class="title">کد php: </div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">define</span><span style="color: #007700">(</span><span style="color: #DD0000">"IN_MYBB"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">define</span><span style="color: #007700">(</span><span style="color: #DD0000">'THIS_SCRIPT'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'showfile.php'</span><span style="color: #007700">);<br /><br /></span><span style="color: #0000BB">&#36;templatelist&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"downloadvip,post_captcha"</span><span style="color: #007700">;<br /><br />require_once&nbsp;</span><span style="color: #DD0000">"./global.php"</span><span style="color: #007700">;<br />require_once&nbsp;</span><span style="color: #0000BB">MYBB_ROOT</span><span style="color: #007700">.</span><span style="color: #DD0000">'inc/class_captcha.php'</span><span style="color: #007700">;<br /><br /></span><span style="color: #FF8000">//&nbsp;Load&nbsp;global&nbsp;language&nbsp;phrases<br /></span><span style="color: #0000BB">&#36;lang</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">load</span><span style="color: #007700">(</span><span style="color: #DD0000">"showfile"</span><span style="color: #007700">);<br /><br /></span><span style="color: #FF8000">//&nbsp;Make&nbsp;navigation<br /></span><span style="color: #0000BB">add_breadcrumb</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;lang</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">showfile</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"showfile.php"</span><span style="color: #007700">);<br /><br />if(!</span><span style="color: #0000BB">downloadvip_is_installed</span><span style="color: #007700">())&nbsp;{}<br />if(!isset(</span><span style="color: #0000BB">&#36;mybb</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">input</span><span style="color: #007700">[</span><span style="color: #DD0000">'fid'</span><span style="color: #007700">]))&nbsp;{}<br /></span><span style="color: #0000BB">&#36;query&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">&#36;db</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">simple_select</span><span style="color: #007700">(</span><span style="color: #DD0000">"/*check&nbsp;exist&nbsp;file*/"</span><span style="color: #007700">);<br />if(!</span><span style="color: #0000BB">&#36;query</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">num_rows</span><span style="color: #007700">)&nbsp;{}<br /><br /></span><span style="color: #FF8000">//&nbsp;Download&nbsp;file<br /></span><span style="color: #007700">if(isset(</span><span style="color: #0000BB">&#36;mybb</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">input</span><span style="color: #007700">[</span><span style="color: #DD0000">'fid'</span><span style="color: #007700">],&nbsp;</span><span style="color: #0000BB">&#36;mybb</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">input</span><span style="color: #007700">[</span><span style="color: #DD0000">'verify'</span><span style="color: #007700">]))&nbsp;{<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; download_file</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;mybb</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">&#36;db</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; exit</span><span style="color: #007700">;<br />}<br /><br /></span><span style="color: #0000BB">&#36;plugins</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">run_hooks</span><span style="color: #007700">(</span><span style="color: #DD0000">'showfile_start'</span><span style="color: #007700">);<br /><br /></span><span style="color: #0000BB">&#36;errors&nbsp;</span><span style="color: #007700">=&nbsp;array();<br /></span><span style="color: #0000BB">&#36;access_file&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">;<br />if(</span><span style="color: #0000BB">&#36;mybb</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">request_method&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #DD0000">"post"</span><span style="color: #007700">)&nbsp;{<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp;</span><span style="color: #FF8000">/**<br />&nbsp; &nbsp; &nbsp; *&nbsp;Check&nbsp;password&nbsp;for&nbsp;create&nbsp;random&nbsp;file&nbsp;link<br />&nbsp; &nbsp; &nbsp; *&nbsp;If&nbsp;input&nbsp;valid&nbsp;&#36;accept&nbsp;=&nbsp;true,&nbsp;else&nbsp;show&nbsp;error<br />&nbsp; &nbsp; &nbsp; */<br /></span><span style="color: #007700">}<br /><br /></span><span style="color: #FF8000">//&nbsp;Generate&nbsp;CAPTCHA?<br /></span><span style="color: #007700">if(</span><span style="color: #0000BB">&#36;mybb</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">settings</span><span style="color: #007700">[</span><span style="color: #DD0000">'captchaimage'</span><span style="color: #007700">]){<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &#36;post_captcha&nbsp;</span><span style="color: #007700">=&nbsp;new&nbsp;</span><span style="color: #0000BB">captcha</span><span style="color: #007700">(</span><span style="color: #0000BB">true</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"post_captcha"</span><span style="color: #007700">);<br /><br />&nbsp;</span><span style="color: #0000BB"> &nbsp; if</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;post_captcha</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">html</span><span style="color: #007700">)&nbsp;{<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &#36;captcha&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">&#36;post_captcha</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">html</span><span style="color: #007700">;<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">}<br />}&nbsp;else&nbsp;{<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &#36;captcha&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">''</span><span style="color: #007700">;<br />}<br /><br /></span><span style="color: #0000BB">&#36;plugins</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">run_hooks</span><span style="color: #007700">(</span><span style="color: #DD0000">'showfile_end'</span><span style="color: #007700">);<br /><br />if(</span><span style="color: #0000BB">&#36;access_file</span><span style="color: #007700">)&nbsp;{<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; </span><span style="color: #FF8000">#1<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; </span><span style="color: #FF8000">//&nbsp;eval("&#092;&#36;page&nbsp;=&nbsp;&#092;"".&#36;templates-&gt;get("downloadvip_form")."&#092;";");<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; </span><span style="color: #FF8000">#2<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; </span><span style="color: #FF8000">//&nbsp;header("Location:&nbsp;"&nbsp;.&nbsp;&#36;downloadvip_filelink);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; </span><span style="color: #FF8000">//&nbsp;exit;<br /></span><span style="color: #007700">}&nbsp;else&nbsp;{<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp;</span><span style="color: #FF8000">//&nbsp;Show&nbsp;form&nbsp;again&nbsp;for&nbsp;enter&nbsp;valid&nbsp;input<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp;</span><span style="color: #007700">eval(</span><span style="color: #DD0000">"&#092;&#36;page&nbsp;=&nbsp;&#092;""</span><span style="color: #007700">.</span><span style="color: #0000BB">&#36;templates</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #DD0000">"downloadvip_secure"</span><span style="color: #007700">).</span><span style="color: #DD0000">"&#092;";"</span><span style="color: #007700">);<br />}<br /></span><span style="color: #0000BB">output_page</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;page</span><span style="color: #007700">);<br /><br />function&nbsp;</span><span style="color: #0000BB">download_file</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;mybb</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">&#36;db</span><span style="color: #007700">)&nbsp;{<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #FF8000">//ob_start();<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">@</span><span style="color: #0000BB">ini_set</span><span style="color: #007700">(</span><span style="color: #DD0000">'error_reporting'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">E_ALL&nbsp;</span><span style="color: #007700">&amp;&nbsp;~&nbsp;</span><span style="color: #0000BB">E_NOTICE</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">@</span><span style="color: #0000BB">apache_setenv</span><span style="color: #007700">(</span><span style="color: #DD0000">'no-gzip'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">@</span><span style="color: #0000BB">ini_set</span><span style="color: #007700">(</span><span style="color: #DD0000">'zlib.output_compression'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'Off'</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; <br />&nbsp; &nbsp; &#36;query&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">&#36;db</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">simple_select</span><span style="color: #007700">(</span><span style="color: #DD0000">"/*Check&nbsp;exist&nbsp;random&nbsp;link*/"</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; if</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;query</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">num_rows</span><span style="color: #007700">)&nbsp;{<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &#36;info_dl&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">&#36;db</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">fetch_array</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;query</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &#36;file_path&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">urldecode</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;info_dl</span><span style="color: #007700">[</span><span style="color: #DD0000">'full_dir'</span><span style="color: #007700">]);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">}&nbsp;else&nbsp;{<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; header</span><span style="color: #007700">(</span><span style="color: #DD0000">'HTTP/1.0&nbsp;404&nbsp;Not&nbsp;Found'</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; exit</span><span style="color: #007700">;<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">}<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; <br />&nbsp; &nbsp; if</span><span style="color: #007700">(</span><span style="color: #0000BB">file_exists</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;file_path</span><span style="color: #007700">)&nbsp;&amp;&amp;&nbsp;</span><span style="color: #0000BB">is_readable</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;file_path</span><span style="color: #007700">))&nbsp;{<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &#36;path_parts&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">pathinfo</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;file_path</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &#36;file_name&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">&#36;path_parts</span><span style="color: #007700">[</span><span style="color: #DD0000">'basename'</span><span style="color: #007700">];<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &#36;file_ext&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">&#36;path_parts</span><span style="color: #007700">[</span><span style="color: #DD0000">'extension'</span><span style="color: #007700">];<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &#36;file_size&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">filesize</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;file_path</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #FF8000">//&nbsp;Check&nbsp;user&nbsp;permission&nbsp;for&nbsp;download&nbsp;file&nbsp;extension<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; if</span><span style="color: #007700">(</span><span style="color: #0000BB">strstr</span><span style="color: #007700">(</span><span style="color: #DD0000">"sh|php|php3|php4|php5|py|shtml|stm|shtm|phtml|html|htm|js|jsp|asp|aspx|cgi|pl|plx|htaccess|htpasswd"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">&#36;file_ext</span><span style="color: #007700">)){<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; header</span><span style="color: #007700">(</span><span style="color: #DD0000">"HTTP/1.1&nbsp;403&nbsp;Unauthorized"</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; exit</span><span style="color: #007700">;<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; </span><span style="color: #007700">}else{<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#36;file&nbsp;</span><span style="color: #007700">=&nbsp;@</span><span style="color: #0000BB">fopen</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;file_path</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"rb"</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #FF8000">//&nbsp;Set&nbsp;header<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; header</span><span style="color: #007700">(</span><span style="color: #DD0000">"Pragma:&nbsp;public"</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; header</span><span style="color: #007700">(</span><span style="color: #DD0000">"Expires:&nbsp;-1"</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; header</span><span style="color: #007700">(</span><span style="color: #DD0000">"Cache-Control:&nbsp;public,&nbsp;must-revalidate,&nbsp;post-check=0,&nbsp;pre-check=0"</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; header</span><span style="color: #007700">(</span><span style="color: #DD0000">'Content-Disposition:&nbsp;attachment;&nbsp;filename="'&nbsp;</span><span style="color: #007700">.&nbsp;</span><span style="color: #0000BB">urldecode</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;file_name</span><span style="color: #007700">)&nbsp;.&nbsp;</span><span style="color: #DD0000">'"'</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #FF8000">//&nbsp;Set&nbsp;the&nbsp;mime&nbsp;type&nbsp;based&nbsp;on&nbsp;extension,&nbsp;add&nbsp;yours&nbsp;if&nbsp;needed.<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #FF8000">#&#36;ctype_default&nbsp;=&nbsp;"application/octet-stream";#<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#36;ctype_default&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"application/force-download"</span><span style="color: #007700">;<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#36;content_types&nbsp;</span><span style="color: #007700">=&nbsp;array(<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #DD0000">"exe"&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #DD0000">"application/octet-stream"</span><span style="color: #007700">,<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #DD0000">"zip"&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #DD0000">"application/zip"</span><span style="color: #007700">,<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #DD0000">"rar"&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #DD0000">"application/x-rar-compressed"</span><span style="color: #007700">,<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #DD0000">"mp3"&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #DD0000">"audio/mpeg"</span><span style="color: #007700">,<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #DD0000">"mpg"&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #DD0000">"video/mpeg"</span><span style="color: #007700">,<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #DD0000">"avi"&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #DD0000">"video/x-msvideo"</span><span style="color: #007700">,<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #DD0000">"pdf"&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #DD0000">"application/pdf"</span><span style="color: #007700">,<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #DD0000">"gif"&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #DD0000">"image/gif"</span><span style="color: #007700">,<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #DD0000">"png"&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #DD0000">"image/png"</span><span style="color: #007700">,<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #DD0000">"jpg"&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #DD0000">"image/jpg"</span><span style="color: #007700">,<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #DD0000">"jpeg"&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #DD0000">"image/jpg"</span><span style="color: #007700">,<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #DD0000">"jpe"&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #DD0000">"image/jpg"</span><span style="color: #007700">,<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #DD0000">"txt"&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #DD0000">"text/plain"<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#36;file_ctype&nbsp;</span><span style="color: #007700">=&nbsp;isset(</span><span style="color: #0000BB">&#36;content_types</span><span style="color: #007700">[</span><span style="color: #0000BB">&#36;file_ext</span><span style="color: #007700">])&nbsp;?&nbsp;</span><span style="color: #0000BB">&#36;content_types</span><span style="color: #007700">[</span><span style="color: #0000BB">&#36;file_ext</span><span style="color: #007700">]&nbsp;:&nbsp;</span><span style="color: #0000BB">&#36;ctype_default</span><span style="color: #007700">;<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; header</span><span style="color: #007700">(</span><span style="color: #DD0000">"Content-Type:&nbsp;"&nbsp;</span><span style="color: #007700">.&nbsp;</span><span style="color: #0000BB">&#36;file_ctype</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #FF8000">//&nbsp;Check&nbsp;if&nbsp;http_range&nbsp;is&nbsp;sent&nbsp;by&nbsp;browser&nbsp;(or&nbsp;download&nbsp;manager)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if</span><span style="color: #007700">(isset(</span><span style="color: #0000BB">&#36;_SERVER</span><span style="color: #007700">[</span><span style="color: #DD0000">'HTTP_RANGE'</span><span style="color: #007700">])){<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; list</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;size_unit</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">&#36;range_orig</span><span style="color: #007700">)&nbsp;=&nbsp;</span><span style="color: #0000BB">explode</span><span style="color: #007700">(</span><span style="color: #DD0000">'='</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">&#36;_SERVER</span><span style="color: #007700">[</span><span style="color: #DD0000">'HTTP_RANGE'</span><span style="color: #007700">],&nbsp;</span><span style="color: #0000BB">2</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;size_unit&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #DD0000">'bytes'</span><span style="color: #007700">){<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #FF8000">//&nbsp;Multiple&nbsp;ranges&nbsp;could&nbsp;be&nbsp;specified&nbsp;at&nbsp;the&nbsp;same&nbsp;time,&nbsp;but&nbsp;for&nbsp;simplicity&nbsp;only&nbsp;serve&nbsp;the&nbsp;first&nbsp;range<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; list</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;range</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">&#36;extra_ranges</span><span style="color: #007700">)&nbsp;=&nbsp;</span><span style="color: #0000BB">explode</span><span style="color: #007700">(</span><span style="color: #DD0000">','</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">&#36;range_orig</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">2</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #007700">}else{<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#36;range&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">''</span><span style="color: #007700">;<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; header</span><span style="color: #007700">(</span><span style="color: #DD0000">'HTTP/1.1&nbsp;416&nbsp;Requested&nbsp;Range&nbsp;Not&nbsp;Satisfiable'</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; exit</span><span style="color: #007700">;<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #007700">}<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #007700">}else{<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#36;range&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">''</span><span style="color: #007700">;<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #007700">}<br />&nbsp;<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #FF8000">//&nbsp;Figure&nbsp;out&nbsp;download&nbsp;piece&nbsp;from&nbsp;range&nbsp;(if&nbsp;set)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; list</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;seek_start</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">&#36;seek_end</span><span style="color: #007700">)&nbsp;=&nbsp;</span><span style="color: #0000BB">explode</span><span style="color: #007700">(</span><span style="color: #DD0000">'-'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">&#36;range</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">2</span><span style="color: #007700">);<br />&nbsp;<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #FF8000">//&nbsp;Set&nbsp;start&nbsp;and&nbsp;end&nbsp;based&nbsp;on&nbsp;range&nbsp;(if&nbsp;set),&nbsp;else&nbsp;set&nbsp;defaults<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #FF8000">//&nbsp;Also&nbsp;check&nbsp;for&nbsp;invalid&nbsp;ranges.<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#36;seek_end&nbsp; &nbsp;</span><span style="color: #007700">=&nbsp;(empty(</span><span style="color: #0000BB">&#36;seek_end</span><span style="color: #007700">))&nbsp;?&nbsp;(</span><span style="color: #0000BB">&#36;file_size&nbsp;</span><span style="color: #007700">-&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">)&nbsp;:&nbsp;</span><span style="color: #0000BB">min</span><span style="color: #007700">(</span><span style="color: #0000BB">abs</span><span style="color: #007700">(</span><span style="color: #0000BB">intval</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;seek_end</span><span style="color: #007700">)),(</span><span style="color: #0000BB">&#36;file_size&nbsp;</span><span style="color: #007700">-&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">));<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#36;seek_start&nbsp;</span><span style="color: #007700">=&nbsp;(empty(</span><span style="color: #0000BB">&#36;seek_start</span><span style="color: #007700">)&nbsp;||&nbsp;</span><span style="color: #0000BB">&#36;seek_end&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">abs</span><span style="color: #007700">(</span><span style="color: #0000BB">intval</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;seek_start</span><span style="color: #007700">)))&nbsp;?&nbsp;</span><span style="color: #0000BB">0&nbsp;</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">max</span><span style="color: #007700">(</span><span style="color: #0000BB">abs</span><span style="color: #007700">(</span><span style="color: #0000BB">intval</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;seek_start</span><span style="color: #007700">)),</span><span style="color: #0000BB">0</span><span style="color: #007700">);<br />&nbsp;<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #FF8000">//&nbsp;Only&nbsp;send&nbsp;partial&nbsp;content&nbsp;header&nbsp;if&nbsp;downloading&nbsp;a&nbsp;piece&nbsp;of&nbsp;the&nbsp;file&nbsp;(IE&nbsp;workaround)<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;seek_start&nbsp;</span><span style="color: #007700">&gt;&nbsp;</span><span style="color: #0000BB">0&nbsp;</span><span style="color: #007700">||&nbsp;</span><span style="color: #0000BB">&#36;seek_end&nbsp;</span><span style="color: #007700">&lt;&nbsp;(</span><span style="color: #0000BB">&#36;file_size</span><span style="color: #007700">-</span><span style="color: #0000BB">1</span><span style="color: #007700">)){<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; header</span><span style="color: #007700">(</span><span style="color: #DD0000">'HTTP/1.1&nbsp;206&nbsp;Partial&nbsp;Content'</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; header</span><span style="color: #007700">(</span><span style="color: #DD0000">'Content-Range:&nbsp;bytes&nbsp;'</span><span style="color: #007700">.</span><span style="color: #0000BB">&#36;seek_start</span><span style="color: #007700">.</span><span style="color: #DD0000">'-'</span><span style="color: #007700">.</span><span style="color: #0000BB">&#36;seek_end</span><span style="color: #007700">.</span><span style="color: #DD0000">'/'</span><span style="color: #007700">.</span><span style="color: #0000BB">&#36;file_size</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; header</span><span style="color: #007700">(</span><span style="color: #DD0000">'Content-Length:&nbsp;'</span><span style="color: #007700">.(</span><span style="color: #0000BB">&#36;seek_end</span><span style="color: #007700">-</span><span style="color: #0000BB">&#36;seek_start</span><span style="color: #007700">+</span><span style="color: #0000BB">1</span><span style="color: #007700">));<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #007700">}else<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; header</span><span style="color: #007700">(</span><span style="color: #DD0000">"Content-Length:&nbsp;</span><span style="color: #0000BB">&#36;file_size</span><span style="color: #DD0000">"</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; header</span><span style="color: #007700">(</span><span style="color: #DD0000">'Accept-Ranges:&nbsp;bytes'</span><span style="color: #007700">);<br />&nbsp;<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_time_limit</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fseek</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;file</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">&#36;seek_start</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#36;speed&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">2048</span><span style="color: #007700">;<br />&nbsp;<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; while</span><span style="color: #007700">(!</span><span style="color: #0000BB">feof</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;file</span><span style="color: #007700">))&nbsp;{<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; print</span><span style="color: #007700">(@</span><span style="color: #0000BB">fread</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;file</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">&#36;speed</span><span style="color: #007700">*</span><span style="color: #0000BB">8</span><span style="color: #007700">));<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ob_flush</span><span style="color: #007700">();<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; flush</span><span style="color: #007700">();<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #FF8000">#sleep(1);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if</span><span style="color: #007700">(</span><span style="color: #0000BB">connection_status</span><span style="color: #007700">()!=</span><span style="color: #0000BB">0</span><span style="color: #007700">){<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #007700">@</span><span style="color: #0000BB">fclose</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;file</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; exit</span><span style="color: #007700">;<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #007700">}&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #007700">}<br />&nbsp;<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #FF8000">//&nbsp;File&nbsp;save&nbsp;was&nbsp;a&nbsp;success<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #007700">@</span><span style="color: #0000BB">fclose</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;file</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; exit</span><span style="color: #007700">;<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; </span><span style="color: #007700">}<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">}&nbsp;else&nbsp;{<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; header</span><span style="color: #007700">(</span><span style="color: #DD0000">'HTTP/1.0&nbsp;404&nbsp;Not&nbsp;Found'</span><span style="color: #007700">);<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; &nbsp; &nbsp; exit</span><span style="color: #007700">;<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; </span><span style="color: #007700">}<br />&nbsp;</span><span style="color: #0000BB"> &nbsp; <br />&nbsp; &nbsp; unset</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;mybb</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">&#36;db</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">&#36;query</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">&#36;info_dl</span><span style="color: #007700">);<br />}&nbsp;<br /></span></code></div></div></div></div>
<br />
<div style="text-align: right;" class="mycode_align">
<br />
اگه مشکل از فایل بالا نبود بگین که 2تا فایل templat هم بزارم تا اگه امکانش هست کمک کنید به من<br />
<br />
خیلی ممنون و ببخشید که طولانی شد.<br />
<br />
</div>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[سوال] امکان غیر فعال کردن پلاگین در یک پوسته هست؟]]></title>
			<link>https://community.mybbiran.com/thread-17512.html</link>
			<pubDate>Mon, 12 Jan 2015 17:55:01 +0330</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybbiran.com/member.php?action=profile&uid=39861">om246</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybbiran.com/thread-17512.html</guid>
			<description><![CDATA[سلام خدمت اساتید .<br />
دوستان من روی سایتم دوتا پوسته نصبه. در واقع یکی پوسته موبایله که خیلی بهش اهمیت میدم.<br />
بعضی از پلاگین ها که نصب میکنم به کل قالب موبایلو بهم میریزه.<br />
میخواستم بدونم ایا راهی هست که من بعضی پلاگین ها رو فقط روی یکی از قالب هام داشته باشم و روی قالب دیگه غیر فعال باشه؟<br />
<br />
پیشاپیش تشکر]]></description>
			<content:encoded><![CDATA[سلام خدمت اساتید .<br />
دوستان من روی سایتم دوتا پوسته نصبه. در واقع یکی پوسته موبایله که خیلی بهش اهمیت میدم.<br />
بعضی از پلاگین ها که نصب میکنم به کل قالب موبایلو بهم میریزه.<br />
میخواستم بدونم ایا راهی هست که من بعضی پلاگین ها رو فقط روی یکی از قالب هام داشته باشم و روی قالب دیگه غیر فعال باشه؟<br />
<br />
پیشاپیش تشکر]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[مای بی بی روژن 1.6]]></title>
			<link>https://community.mybbiran.com/thread-17506.html</link>
			<pubDate>Sat, 10 Jan 2015 18:45:27 +0330</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybbiran.com/member.php?action=profile&uid=16364">MohamadReza</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybbiran.com/thread-17506.html</guid>
			<description><![CDATA[سلام<br />
میشه مای بی بی ورژن 1.6 رو برای  من قرار بدین؟ اونی که من دارم آسیب دیده]]></description>
			<content:encoded><![CDATA[سلام<br />
میشه مای بی بی ورژن 1.6 رو برای  من قرار بدین؟ اونی که من دارم آسیب دیده]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[روش قرار دادن اطلاعات اضافی در ارسال کاربر]]></title>
			<link>https://community.mybbiran.com/thread-17494.html</link>
			<pubDate>Tue, 06 Jan 2015 21:23:04 +0330</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybbiran.com/member.php?action=profile&uid=38961">800</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybbiran.com/thread-17494.html</guid>
			<description><![CDATA[<span style="color: #0d0d0d;" class="mycode_color"><span style="font-size: xx-small;" class="mycode_size">دورد و عرض ادب</span></span><br />
<br />
<span style="color: #0d0d0d;" class="mycode_color"><span style="font-size: xx-small;" class="mycode_size">میخواستم یه تغییرات در قسمت مشخصات کاربر زمانی که پست ارسال میکنه ایجاد کنم نیاز به راهنمایی دارم.</span></span><br />
<br />
<span style="color: #0d0d0d;" class="mycode_color"><span style="font-size: xx-small;" class="mycode_size">برای مثال یه عکس کم حجم اماده کردم از انجمن هست</span></span><br />
<span style="color: #0d0d0d;" class="mycode_color"><span style="font-size: xx-small;" class="mycode_size">ا</span></span><br />
<br />
<img src="http://s4.picofile.com/file/8162121192/Untitled_2.jpg" loading="lazy"  alt="[تصویر:  Untitled_2.jpg]" class="mycode_img" /><br />
<span style="color: #0d0d0d;" class="mycode_color"><span style="font-size: xx-small;" class="mycode_size">کاری که من میخوام بکنم اینکه اطلاعات اضافی به این قسمت اضافه کنم مثلا</span></span><br />
<span style="color: #0d0d0d;" class="mycode_color"><span style="font-size: xx-small;" class="mycode_size">محل سکونت:</span></span><br />
<span style="color: #0d0d0d;" class="mycode_color"><span style="font-size: xx-small;" class="mycode_size">تاریخ تولد:</span></span><br />
<span style="color: #0d0d0d;" class="mycode_color"><span style="font-size: xx-small;" class="mycode_size">نرم افزار من:</span></span><br />
<span style="color: #0d0d0d;" class="mycode_color"><span style="font-size: xx-small;" class="mycode_size">سخت افزار من:</span></span><br />
<span style="color: #0d0d0d;" class="mycode_color"><span style="font-size: xx-small;" class="mycode_size">و...</span></span><br />
<br />
<span style="color: #0d0d0d;" class="mycode_color"><span style="font-size: xx-small;" class="mycode_size">اگر هم در جدول قرار بگیره که خیلی عالی میشه یعنی تفکیک شده باشه درست مثل همین انجمن مای بی بی.</span></span><br />
<br />
<br />
<span style="color: #0d0d0d;" class="mycode_color"><span style="font-size: xx-small;" class="mycode_size">اگر پلاگین خاصی نیاز داره لطفا یه چیزی معرفی کنید که اذیت نکنه.</span></span><br />
<span style="color: #0d0d0d;" class="mycode_color"><span style="font-size: xx-small;" class="mycode_size">اگر هم نیاز به اضافه کردن کد در جایی هست لطف بفرمایید کدهای مورد نیاز رو قرار بدید.</span></span><br />
<br />
<br />
<span style="color: #0d0d0d;" class="mycode_color"><span style="font-size: xx-small;" class="mycode_size"><span style="color: #0d0d0d;" class="mycode_color"><span style="font-size: xx-small;" class="mycode_size">ممنون میشم راهنمایی بفرماید چکار کنم.</span> <img src="https://community.mybbiran.com/images/smilies/heart.gif" alt="Heart" title="Heart" class="smilie smilie_16" /> </span><br />
</span></span>]]></description>
			<content:encoded><![CDATA[<span style="color: #0d0d0d;" class="mycode_color"><span style="font-size: xx-small;" class="mycode_size">دورد و عرض ادب</span></span><br />
<br />
<span style="color: #0d0d0d;" class="mycode_color"><span style="font-size: xx-small;" class="mycode_size">میخواستم یه تغییرات در قسمت مشخصات کاربر زمانی که پست ارسال میکنه ایجاد کنم نیاز به راهنمایی دارم.</span></span><br />
<br />
<span style="color: #0d0d0d;" class="mycode_color"><span style="font-size: xx-small;" class="mycode_size">برای مثال یه عکس کم حجم اماده کردم از انجمن هست</span></span><br />
<span style="color: #0d0d0d;" class="mycode_color"><span style="font-size: xx-small;" class="mycode_size">ا</span></span><br />
<br />
<img src="http://s4.picofile.com/file/8162121192/Untitled_2.jpg" loading="lazy"  alt="[تصویر:  Untitled_2.jpg]" class="mycode_img" /><br />
<span style="color: #0d0d0d;" class="mycode_color"><span style="font-size: xx-small;" class="mycode_size">کاری که من میخوام بکنم اینکه اطلاعات اضافی به این قسمت اضافه کنم مثلا</span></span><br />
<span style="color: #0d0d0d;" class="mycode_color"><span style="font-size: xx-small;" class="mycode_size">محل سکونت:</span></span><br />
<span style="color: #0d0d0d;" class="mycode_color"><span style="font-size: xx-small;" class="mycode_size">تاریخ تولد:</span></span><br />
<span style="color: #0d0d0d;" class="mycode_color"><span style="font-size: xx-small;" class="mycode_size">نرم افزار من:</span></span><br />
<span style="color: #0d0d0d;" class="mycode_color"><span style="font-size: xx-small;" class="mycode_size">سخت افزار من:</span></span><br />
<span style="color: #0d0d0d;" class="mycode_color"><span style="font-size: xx-small;" class="mycode_size">و...</span></span><br />
<br />
<span style="color: #0d0d0d;" class="mycode_color"><span style="font-size: xx-small;" class="mycode_size">اگر هم در جدول قرار بگیره که خیلی عالی میشه یعنی تفکیک شده باشه درست مثل همین انجمن مای بی بی.</span></span><br />
<br />
<br />
<span style="color: #0d0d0d;" class="mycode_color"><span style="font-size: xx-small;" class="mycode_size">اگر پلاگین خاصی نیاز داره لطفا یه چیزی معرفی کنید که اذیت نکنه.</span></span><br />
<span style="color: #0d0d0d;" class="mycode_color"><span style="font-size: xx-small;" class="mycode_size">اگر هم نیاز به اضافه کردن کد در جایی هست لطف بفرمایید کدهای مورد نیاز رو قرار بدید.</span></span><br />
<br />
<br />
<span style="color: #0d0d0d;" class="mycode_color"><span style="font-size: xx-small;" class="mycode_size"><span style="color: #0d0d0d;" class="mycode_color"><span style="font-size: xx-small;" class="mycode_size">ممنون میشم راهنمایی بفرماید چکار کنم.</span> <img src="https://community.mybbiran.com/images/smilies/heart.gif" alt="Heart" title="Heart" class="smilie smilie_16" /> </span><br />
</span></span>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[عدم نمایش تولد کاربران در روز تولد]]></title>
			<link>https://community.mybbiran.com/thread-17461.html</link>
			<pubDate>Thu, 01 Jan 2015 14:14:06 +0330</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybbiran.com/member.php?action=profile&uid=18899">مهربان</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybbiran.com/thread-17461.html</guid>
			<description><![CDATA[سلام من پلاگین Forum Home Options رو نصب کردم که یکی از تنظیماتش مربوط به نمایش تولد کابران در روز تولدشون هست. اما نمایش داده نمیشه. علتش چی هست؟ راهنمایی کنید دوستان]]></description>
			<content:encoded><![CDATA[سلام من پلاگین Forum Home Options رو نصب کردم که یکی از تنظیماتش مربوط به نمایش تولد کابران در روز تولدشون هست. اما نمایش داده نمیشه. علتش چی هست؟ راهنمایی کنید دوستان]]></content:encoded>
		</item>
	</channel>
</rss>