مرجع پارسی MyBB
در خواست متغیر افرا دانلاین در تاپیک - نسخه‌ی قابل چاپ

+- مرجع پارسی MyBB (https://community.mybbiran.com)
+-- انجمن: ارتباط با شما (https://community.mybbiran.com/forum-44.html)
+--- انجمن: درخواست های شما (https://community.mybbiran.com/forum-54.html)
+---- انجمن: سایر درخواست ها (https://community.mybbiran.com/forum-57.html)
+---- موضوع: در خواست متغیر افرا دانلاین در تاپیک (/thread-573.html)

صفحه‌ها: 1 2


در خواست متغیر افرا دانلاین در تاپیک - ZEUS - ۱۳۸۸/۸/۲۹

درود
ممنون میشم اگه کسی بهم متغیر افراد انلاین در تاپیکو بده چشم پوشی از این تاپیک


RE: در خواست متغیر افرا دانلاین در تاپیک - Mohammad-Za - ۱۳۸۸/۸/۲۹

متغیرش اینه:

کد:
{$usersbrowsing}

که باید در قالب showthread قرار بگیرد (بعد از متغیر {$header} )


RE: در خواست متغیر افرا دانلاین در تاپیک - ZEUS - ۱۳۸۸/۸/۲۹

ممنون ولی نمیشه
من واسه قرار دادن توی کادری که درست کردم میخوام     در ضمن من پلاگینه افراد انلاینو که نصب کردم باید فعال کنم یا غیر فعال؟
اینم از تمپلتم
کد php:
{$usersbrowsing}
<
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder" style="clear: both; border-top-width:0;">
    <
tr>
        <
td class="trow1" width="100%"><span class="smalltext"><strong>{$forum['name']}</strong> &nbsp; {$forum['description']}</span></td>
    </
tr>
    <
tr>
        <
td class="trow2">
            <
table border="0" width="100%">
                <
tr class="smalltext topstats">
                    <
td>
<
div><a href="printthread.php?tid={$tid}"><img src="{$mybb->settings['bburl']}/images/printable.gif" class="topstateicon" border="0"> {$lang->view_printable}</a></div>
<
div><a href="sendthread.php?tid={$tid}"><img src="{$mybb->settings['bburl']}/images/send.gif" class="topstateicon" border="0"> {$lang->send_thread}</a></div>
                    </
td>
                    <
td>
<
div><a href="showthread.php?tid={$tid}&page=last"><img src="{$mybb->settings['bburl']}/images/mini_last.gif" class="topstateicon" border="0"مشـــــاهـــده آخـــــريــن ارســــــال ايـــــن تــــــاپيـــک</a></div>
<
div><a href="./ratethread.php?tid={$thread['tid']}&amp;rating=5&amp;my_post_key={$mybb->post_code}onClick 'var parameterString = this.href.replace(/.*\?(.*)/, "$1");return Rating.add_rating(parameterString);return false;'><img src="{$mybb->settings['bburl']}/images/mini_add.gif" class="topstateicon" border="0"اعــــطاي حداکثــــر رتــــبه بـــه ايــــن مــوضــــوع</a></div>
                    </
td>
                    <
td>
<
div><a href="usercp2.php?action={$add_remove_subscription}subscription&amp;tid={$tid}"><img src="{$mybb->settings['bburl']}/images/{$add_remove_subscription}subscription.gif" class="topstateicon" border="0"> {$add_remove_subscription_text}</a></div>
<
div>
<
div style="padding-top:3px; border-bottom: 1px #2A4956 solid; float: right;">
<
a rel="nofollow" style="text-decoration:none;" href="http://www.mister-wong.com/" onclick="window.open('http://www.mister-wong.com/index.php?action=addurl&amp;bm_url='+encodeURIComponent(location.href)+'&amp;bm_notice=&amp;bm_description='+encodeURIComponent(document.title)+'&amp;bm_tags=');return false;" title="افـــزودن به: Mr. Wong"> <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.com/img/bookmarks/wong.gif" alt="افـــزودن به: Mr. Wong" name="wong" border="0" id="wong"> </a>
        <
a rel="nofollow" style="text-decoration:none;" href="http://www.linkarena.com/" onclick="window.open('http://linkarena.com/bookmarks/addlink/?url='+encodeURIComponent(location.href)+'&amp;title='+encodeURIComponent(document.title)+'&amp;desc=&amp;tags=');return false;" title="افـــزودن به: Linkarena"> <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.com/img/bookmarks/linkarena.gif" alt="افـــزودن به: Linkarena" name="Linkarena" border="0" id="Linkarena"> </a>
        <
a rel="nofollow" style="text-decoration:none;" href="http://digg.com/" onclick="window.open('http://digg.com/submit?phase=2&amp;url='+encodeURIComponent(location.href)+'&amp;bodytext=&amp;tags=&amp;title='+encodeURIComponent(document.title));return false;" title="افـــزودن به: Digg"> <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.com/img/bookmarks/digg.gif" alt="افـــزودن به: Digg" name="Digg" border="0" id="Digg"> </a>
        <
a rel="nofollow" style="text-decoration:none;" href="http://del.icio.us/" onclick="window.open('http://del.icio.us/post?v=2&amp;url='+encodeURIComponent(location.href)+'&amp;notes=&amp;tags=&amp;title='+encodeURIComponent(document.title));return false;" title="افـــزودن به: Del.icio.us"> <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.com/img/bookmarks/del.gif" alt="افـــزودن به: Del.icio.us" name="Delicious" border="0" id="Delicious"> </a>
        <
a rel="nofollow" style="text-decoration:none;" href="http://www.facebook.com/" onclick="window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(location.href)+'&amp;t='+encodeURIComponent(document.title));return false;" title="افـــزودن به: Facebook"> <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.com/img/bookmarks/facebook.gif" alt="افـــزودن به: Facebook" name="Facebook" border="0" id="Facebook"> </a>
        <
a rel="nofollow" style="text-decoration:none;" href="http://www.furl.net/" onclick="window.open('http://www.furl.net/storeIt.jsp?u='+encodeURIComponent(location.href)+'&amp;keywords=&amp;t='+encodeURIComponent(document.title));return false;" title="افـــزودن به: Furl"> <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.com/img/bookmarks/furl.gif" alt="افـــزودن به: Furl" name="Furl" border="0" id="Furl"> </a>
        <
a rel="nofollow" style="text-decoration:none;" href="http://www.yahoo.com/" onclick="window.open('http://myweb2.search.yahoo.com/myresults/bookmarklet?t='+encodeURIComponent(document.title)+'&amp;d=&amp;tag=&amp;u='+encodeURIComponent(location.href));return false;" title="افـــزودن به: Yahoo"> <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.com/img/bookmarks/yahoo.gif" alt="افـــزودن به: Yahoo" name="Yahoo" border="0" id="Yahoo"> </a>
        <
a rel="nofollow" style="text-decoration:none;" href="http://www.spurl.net/" onclick="window.open('http://www.spurl.net/spurl.php?v=3&amp;tags=&amp;title='+encodeURIComponent(document.title)+'&amp;url='+encodeURIComponent(document.location.href));return false;" title="افـــزودن به: Spurl"> <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.com/img/bookmarks/spurl.gif" alt="افـــزودن به: Spurl" name="Spurl" border="0" id="Spurl"> </a>
        <
a rel="nofollow" style="text-decoration:none;" href="http://www.google.com/" onclick="window.open('http://www.google.com/bookmarks/mark?op=add&amp;hl=fa&amp;bkmk='+encodeURIComponent(location.href)+'&amp;annotation=&amp;labels=&amp;title='+encodeURIComponent(document.title));return false;" title="افـــزودن به: Google"> <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.com/img/bookmarks/google.gif" alt="افـــزودن به: Google" name="Google" border="0" id="Google"> </a>
        <
a rel="nofollow" style="text-decoration:none;" href="http://www.blinklist.com/" onclick="window.open('http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Description=&amp;Tag=&amp;Url='+encodeURIComponent(location.href)+'&amp;Title='+encodeURIComponent(document.title));return false;" title="افـــزودن به: Blinklist"> <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.com/img/bookmarks/blinklist.gif" alt="افـــزودن به: Blinklist" name="Blinklist" border="0" id="Blinklist"> </a>
        <
a rel="nofollow" style="text-decoration:none;" href="http://blogmarks.net/" onclick="window.open('http://blogmarks.net/my/new.php?mini=1&amp;simple=1&amp;url='+encodeURIComponent(location.href)+'&amp;content=&amp;public-tags=&amp;title='+encodeURIComponent(document.title));return false;" title="افـــزودن به: Blogmarks"> <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.com/img/bookmarks/blogmarks.gif" alt="افـــزودن به: Blogmarks" name="Blogmarks" border="0" id="Blogmarks"> </a>
        <
a rel="nofollow" style="text-decoration:none;" href="http://www.diigo.com/" onclick="window.open('http://www.diigo.com/post?url='+encodeURIComponent(location.href)+'&amp;title='+encodeURIComponent(document.title)+'&amp;tag=&amp;comments='); return false;" title="افـــزودن به: Diigo"> <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.com/img/bookmarks/diigo.gif" alt="افـــزودن به: Diigo" name="Diigo" border="0" id="Diigo"> </a>
        <
a rel="nofollow" style="text-decoration:none;" href="http://www.social-bookmark-script.com/social.bookmarking.htm" target="_Blank" title="Information"> <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.com/img/bookmarks/what.gif" alt="Information" name="Information" border="0" id="Information"> </a>
</
div>
</
div>
                    </
td>
                </
tr>
            </
table>
<
table width="100%" style="line-height:20px">
<
tr class="smalltext">

<
td align="center"><fieldset><legend>کاربران آنلاین در این تاپیک:</legend><div style="direction:ltr; text-align:right; height:20px;"> <span class="smalltext"> <a href="member.php?action=profile&amp;uid=81"><b>{$usersbrowsing}</a></fieldset></td>
<
td align="center"><fieldset><legend>آغــاز کننــده موضـوع تاپيـک</legend> <a href="member.php?action=profile&uid={$thread['uid']}">{$thread['username']}</a></fieldset></td>
<
td align="center"><fieldset><legend>تعــدادارســال هــاي ايــن تاپيــک</legend> {$postcount}</fieldset></td>
<
td align="center"><fieldset><legend>تعــداد بــازديــد هـــا</legend> {$thread['views']}</fieldset></td>
</
tr>
            </
table>
        </
td>
    </
tr>
</
table

کد php:
<td align="center"><fieldset><legend>کاربران آنلاین در این تاپیک:</legend><div style="direction:ltr; text-align:right; height:20px;"> <span class="smalltext"> <a href="member.php?action=profile&amp;uid=81"><b>{$usersbrowsing}</a></fieldset></td



RE: در خواست متغیر افرا دانلاین در تاپیک - Mohammad-Za - ۱۳۸۸/۸/۲۹

شما کدتون مشکلی ندارهHuh
فقط از اینکه پلاگین فعال می باشد اطمینان حاصل فرمایید! به من اطلاع بدید


RE: در خواست متغیر افرا دانلاین در تاپیک - ZEUS - ۱۳۸۸/۸/۲۹

اقا محمد وقتی روشن میکنم پلاگین رو میاره ولی طوری که ادم پشیمون میشه که فعالش کنه عکسو ببینید     وموقعی که غیر فعال میکنم هیچ چی نمیاره[    


RE: در خواست متغیر افرا دانلاین در تاپیک - Mohammad-Za - ۱۳۸۸/۸/۲۹

Big Grin خوب معلومه دیگه
شما رفتی نسخه انگلیسیش رو دانلود کردی در صورتی که PARS فارسیش کرده و در انجمن برای دانلود پیوست کرده. از مال Pars استفاده کن
راستی وقتی که غیر فعاله مگه باید چیزی بیاره؟Big Grin
وقتی که غیر فعاله معلومه دیگه نباید چیزی بیاره


RE: در خواست متغیر افرا دانلاین در تاپیک - ZEUS - ۱۳۸۸/۸/۲۹

خب درست Exclamation ولی اگه فعال باشه (بر فرض که فارسی باشه )اون نوشه میافته تو کادر اخه بابا جونه من بگید دیگه چجوری از دیروز تو کفم هاSad


RE: در خواست متغیر افرا دانلاین در تاپیک - Mohammad-Za - ۱۳۸۸/۸/۲۹

از این کد استفاده کن
کد:
{$usersbrowsing}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both; border-top-width:0;">
    <tr>
        <td class="trow1" width="100%"><span class="smalltext"><strong>{$forum['name']}</strong> &nbsp; {$forum['description']}</span></td>
    </tr>
    <tr>
        <td class="trow2">
            <table border="0" width="100%">
                <tr class="smalltext topstats">
                    <td>
<div><a href="printthread.php?tid={$tid}"><img src="{$mybb->settings['bburl']}/images/printable.gif" class="topstateicon" border="0"> {$lang->view_printable}</a></div>
<div><a href="sendthread.php?tid={$tid}"><img src="{$mybb->settings['bburl']}/images/send.gif" class="topstateicon" border="0"> {$lang->send_thread}</a></div>
                    </td>
                    <td>
<div><a href="showthread.php?tid={$tid}&page=last"><img src="{$mybb->settings['bburl']}/images/mini_last.gif" class="topstateicon" border="0"> مشـــــاهـــده آخـــــريــن ارســــــال ايـــــن تــــــاپيـــک</a></div>
<div><a href="./ratethread.php?tid={$thread['tid']}&amp;rating=5&amp;my_post_key={$mybb->post_code}" onClick = 'var parameterString = this.href.replace(/.*\?(.*)/, "$1");return Rating.add_rating(parameterString);return false;'><img src="{$mybb->settings['bburl']}/images/mini_add.gif" class="topstateicon" border="0"> اعــــطاي حداکثــــر رتــــبه بـــه ايــــن مــوضــــوع</a></div>
                    </td>
                    <td>
<div><a href="usercp2.php?action={$add_remove_subscription}subscription&amp;tid={$tid}"><img src="{$mybb->settings['bburl']}/images/{$add_remove_subscription}subscription.gif" class="topstateicon" border="0"> {$add_remove_subscription_text}</a></div>
<div>
<div style="padding-top:3px; border-bottom: 1px #2A4956 solid; float: right;">
<a rel="nofollow" style="text-decoration:none;" href="http://www.mister-wong.com/" onclick="window.open('http://www.mister-wong.com/index.php?action=addurl&amp;bm_url='+encodeURIComponent(location.href)+'&amp;bm_notice=&amp;bm_description='+encodeURIComponent(document.title)+'&amp;bm_tags=');return false;" title="افـــزودن به: Mr. Wong"> <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.com/img/bookmarks/wong.gif" alt="افـــزودن به: Mr. Wong" name="wong" border="0" id="wong"> </a>
        <a rel="nofollow" style="text-decoration:none;" href="http://www.linkarena.com/" onclick="window.open('http://linkarena.com/bookmarks/addlink/?url='+encodeURIComponent(location.href)+'&amp;title='+encodeURIComponent(document.title)+'&amp;desc=&amp;tags=');return false;" title="افـــزودن به: Linkarena"> <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.com/img/bookmarks/linkarena.gif" alt="افـــزودن به: Linkarena" name="Linkarena" border="0" id="Linkarena"> </a>
        <a rel="nofollow" style="text-decoration:none;" href="http://digg.com/" onclick="window.open('http://digg.com/submit?phase=2&amp;url='+encodeURIComponent(location.href)+'&amp;bodytext=&amp;tags=&amp;title='+encodeURIComponent(document.title));return false;" title="افـــزودن به: Digg"> <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.com/img/bookmarks/digg.gif" alt="افـــزودن به: Digg" name="Digg" border="0" id="Digg"> </a>
        <a rel="nofollow" style="text-decoration:none;" href="http://del.icio.us/" onclick="window.open('http://del.icio.us/post?v=2&amp;url='+encodeURIComponent(location.href)+'&amp;notes=&amp;tags=&amp;title='+encodeURIComponent(document.title));return false;" title="افـــزودن به: Del.icio.us"> <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.com/img/bookmarks/del.gif" alt="افـــزودن به: Del.icio.us" name="Delicious" border="0" id="Delicious"> </a>
        <a rel="nofollow" style="text-decoration:none;" href="http://www.facebook.com/" onclick="window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(location.href)+'&amp;t='+encodeURIComponent(document.title));return false;" title="افـــزودن به: Facebook"> <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.com/img/bookmarks/facebook.gif" alt="افـــزودن به: Facebook" name="Facebook" border="0" id="Facebook"> </a>
        <a rel="nofollow" style="text-decoration:none;" href="http://www.furl.net/" onclick="window.open('http://www.furl.net/storeIt.jsp?u='+encodeURIComponent(location.href)+'&amp;keywords=&amp;t='+encodeURIComponent(document.title));return false;" title="افـــزودن به: Furl"> <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.com/img/bookmarks/furl.gif" alt="افـــزودن به: Furl" name="Furl" border="0" id="Furl"> </a>
        <a rel="nofollow" style="text-decoration:none;" href="http://www.yahoo.com/" onclick="window.open('http://myweb2.search.yahoo.com/myresults/bookmarklet?t='+encodeURIComponent(document.title)+'&amp;d=&amp;tag=&amp;u='+encodeURIComponent(location.href));return false;" title="افـــزودن به: Yahoo"> <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.com/img/bookmarks/yahoo.gif" alt="افـــزودن به: Yahoo" name="Yahoo" border="0" id="Yahoo"> </a>
        <a rel="nofollow" style="text-decoration:none;" href="http://www.spurl.net/" onclick="window.open('http://www.spurl.net/spurl.php?v=3&amp;tags=&amp;title='+encodeURIComponent(document.title)+'&amp;url='+encodeURIComponent(document.location.href));return false;" title="افـــزودن به: Spurl"> <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.com/img/bookmarks/spurl.gif" alt="افـــزودن به: Spurl" name="Spurl" border="0" id="Spurl"> </a>
        <a rel="nofollow" style="text-decoration:none;" href="http://www.google.com/" onclick="window.open('http://www.google.com/bookmarks/mark?op=add&amp;hl=fa&amp;bkmk='+encodeURIComponent(location.href)+'&amp;annotation=&amp;labels=&amp;title='+encodeURIComponent(document.title));return false;" title="افـــزودن به: Google"> <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.com/img/bookmarks/google.gif" alt="افـــزودن به: Google" name="Google" border="0" id="Google"> </a>
        <a rel="nofollow" style="text-decoration:none;" href="http://www.blinklist.com/" onclick="window.open('http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Description=&amp;Tag=&amp;Url='+encodeURIComponent(location.href)+'&amp;Title='+encodeURIComponent(document.title));return false;" title="افـــزودن به: Blinklist"> <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.com/img/bookmarks/blinklist.gif" alt="افـــزودن به: Blinklist" name="Blinklist" border="0" id="Blinklist"> </a>
        <a rel="nofollow" style="text-decoration:none;" href="http://blogmarks.net/" onclick="window.open('http://blogmarks.net/my/new.php?mini=1&amp;simple=1&amp;url='+encodeURIComponent(location.href)+'&amp;content=&amp;public-tags=&amp;title='+encodeURIComponent(document.title));return false;" title="افـــزودن به: Blogmarks"> <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.com/img/bookmarks/blogmarks.gif" alt="افـــزودن به: Blogmarks" name="Blogmarks" border="0" id="Blogmarks"> </a>
        <a rel="nofollow" style="text-decoration:none;" href="http://www.diigo.com/" onclick="window.open('http://www.diigo.com/post?url='+encodeURIComponent(location.href)+'&amp;title='+encodeURIComponent(document.title)+'&amp;tag=&amp;comments='); return false;" title="افـــزودن به: Diigo"> <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.com/img/bookmarks/diigo.gif" alt="افـــزودن به: Diigo" name="Diigo" border="0" id="Diigo"> </a>
        <a rel="nofollow" style="text-decoration:none;" href="http://www.social-bookmark-script.com/social.bookmarking.htm" target="_Blank" title="Information"> <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.com/img/bookmarks/what.gif" alt="Information" name="Information" border="0" id="Information"> </a>
</div>
</div>
                    </td>
                </tr>
            </table>
<table width="100%" style="line-height:20px">
<tr class="smalltext">

<td align="center"><fieldset><legend>کاربران آنلاین در این تاپیک:</legend><div style="direction:ltr; text-align:right; height:20px;"> <span class="smalltext"> {$usersbrowsing}</span></fieldset></td>
<td align="center"><fieldset><legend>آغــاز کننــده موضـوع تاپيـک</legend> <a href="member.php?action=profile&uid={$thread['uid']}">{$thread['username']}</a></fieldset></td>
<td align="center"><fieldset><legend>تعــدادارســال هــاي ايــن تاپيــک</legend> {$postcount}</fieldset></td>
<td align="center"><fieldset><legend>تعــداد بــازديــد هـــا</legend> {$thread['views']}</fieldset></td>
</tr>
            </table>
        </td>
    </tr>
</table>



RE: در خواست متغیر افرا دانلاین در تاپیک - Pars - ۱۳۸۸/۸/۲۹

درود برای قسمتی که مور نظر شما بود من از این استفاده کردم.

کد php:
<table width="100%" style="line-height:20px">
<
tr class="smalltext">

<
td  width="100%"><fieldset><legend>کاربران حاضر</legend> {$usersbrowsing}</fieldset> </td
<
td align="center" width="100%" style="line-height:31px"><fieldset><legend>آغاز کننده</legend>  <a href="member.php?action=profile&uid={$thread['uid']}">{$thread['username']}</a></fieldset></td>
<
td align="center" width="100%" style="line-height:31px"><fieldset><legend>ارسال ها</legend> {$postcount}</fieldset></td>
<
td align="center" width="100%" style="line-height:31px"><fieldset><legend>بازديد ها</legend> {$thread['views']}</fieldset></td>
</
tr>            </table

تلاش شما هم برای رسیدن به هدفتون جای تقدیر دارد.


RE: در خواست متغیر افرا دانلاین در تاپیک - AR@KST@R - ۱۳۸۸/۸/۲۹

با اجازه اساتیدHeart :
برای ایجاد این قسمت (خداییش جالب میشه) باید تمپلیت showthread را ویرایش کنید و کد زیر را بین {$header} و {$pollbox} قرار دهید.
البته برای قسمت افراد حاظر در تاپیک باید پلاگین Users Browsing thread نصب و فعال باشد.
با تشکر

[تصویر:  1258751721.jpg]

کد:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both; border-top-width:0;">
    <tr>
        <td class="trow1" width="100%"><span class="smalltext"><strong>{$forum['name']}</strong> &nbsp; {$forum['description']}</span></td>
    </tr>
    <tr>
        <td class="trow2">
            <table border="0" width="100%">
                <tr class="smalltext topstats">
                    <td>
<div><a href="printthread.php?tid={$tid}"><img src="{$mybb->settings['bburl']}/images/printable.gif" class="topstateicon" border="0"> {$lang->view_printable}</a></div>
<div><a href="sendthread.php?tid={$tid}"><img src="{$mybb->settings['bburl']}/images/send.gif" class="topstateicon" border="0"> {$lang->send_thread}</a></div>
                    </td>
                    <td>
<div><a href="showthread.php?tid={$tid}&page=last"><img src="{$mybb->settings['bburl']}/images/newfolder.gif" class="topstateicon" border="0"> مشاهده آخرین ارسال این تاپیک</a></div>
<div><a href="./ratethread.php?tid={$thread['tid']}&amp;rating=5&amp;my_post_key={$mybb->post_code}" onClick = 'var parameterString = this.href.replace(/.*\?(.*)/, "$1");return Rating.add_rating(parameterString);return false;'><img src="{$mybb->settings['bburl']}/images/star.gif" class="topstateicon" border="0"> اعطای حداکثر رتبه به این موضوع</a></div>
                    </td>
                    <td>
<div><a href="usercp2.php?action={$add_remove_subscription}subscription&amp;tid={$tid}"><img src="http://www.atings.com/uploads/1258618395.gif" class="topstateicon" border="0"> {$add_remove_subscription_text}</a></div>
<div><a href="http://www.google.com/search?hl=en&q={$thread['subject']}"><img src="http://www.atings.com/uploads/1258637785.ico" class="topstateicon" border="0"> جستجو در Google</a></div>
                    </td>
                </tr>
            </table>
<table width="100%" style="line-height:20px">
<tr class="smalltext">
<td align="center"><fieldset><legend>آغاز کننده</legend> <a href="member.php?action=profile&uid={$thread['uid']}">{$thread['username']}</a></fieldset></td>
<td align="center"><fieldset><legend>ارسال ها</legend> {$postcount}</fieldset></td>
<td align="center"><fieldset><legend>بازدید ها</legend> {$thread['views']}</fieldset></td>
<td align="center"><fieldset><legend>افراد حاضر در تاپیک</legend> {$usersbrowsing}</fieldset></td>
</tr>
            </table>
        </td>
    </tr>
</table>