<!--{if !IS_ROBOT && $post['first'] && !$_G['forum_thread']['archiveid']}-->
<!--{if $post['invisible'] == 0}-->
<div id="p_btn" class="mtw mbm hm cl">
<!--{if !empty($_G['setting']['pluginhooks']['viewthread_share_method'])}-->
<div class="tshare cl">
<b>{lang viewthread_share_to}: </b>
<!--{hook/viewthread_share_method}-->
</div>
<!--{/if}-->
<style type="text/css">
.elecicon_bottom{ margin-top:78px;}
.elecicon_bottom span{ font-size:12px; color:#666;}
.elecicon_bottom span.elecsc{ display:inline-block;}
#favoritenumber{ display:inline-block;}
.tshare { display:none;}
</style>
<a href="home.php?mod=spacecp&ac=favorite&type=thread&id=$_G[tid]" id="k_favorite" onclick="showWindow(this.id, this.href, 'get', 0);" onmouseover="this.title = $('favoritenumber').innerHTML + ' {lang activity_member_unit}{lang thread_favorite}'" title="{lang fav_thread}"><img src="$_G['style'][styleimgdir]/favourite.png" alt="{lang thread_favorite}" /><div class="elecicon_bottom"><span class="elecsc">{lang thread_favorite}</span><span id="favoritenumber"{if !$_G['forum_thread']['favtimes']}{/if}>{$_G['forum_thread']['favtimes']}</span></div></a>
<!--{if $_G['group']['raterange'] && $post['authorid']}-->
<a href="javascript:;" id="ak_rate" onclick="showWindow('rate', 'forum.php?mod=misc&action=rate&tid=$_G[tid]&pid=$post[pid]', 'get', -1);return false;" title="{lang rate_position}">
<img src="$_G['style'][styleimgdir]/agree.png" alt="{lang rate}" />
<div class="elecicon_bottom"><span class="elecsc">{lang rate}</span></div>
</a>
<!--{/if}-->
<!--{if !$post['anonymous'] && $post['first'] && helper_access::check_module('follow')}-->
<a class="followp" href="home.php?mod=spacecp&ac=follow&op=relay&tid=$_G[tid]&from=forum" onclick="showWindow('relaythread', this.href, 'get', 0);" title="{lang follow_spread}"><img src="$_G['style'][styleimgdir]/zhuanbo.png" alt="{lang thread_realy}" />
<div class="elecicon_bottom"><span class="elecsc">{lang thread_realy}</span><!--{if $_G['forum_thread']['relay']}--><span id="relaynumber" >{$_G['forum_thread']['relay']}</span><!--{/if}--></div>
</a>
<!--{/if}-->
<!--{if $post['first'] && helper_access::check_module('share')}-->
<a class="sharep" href="home.php?mod=spacecp&ac=share&type=thread&id=$_G[tid]" onclick="showWindow('sharethread', this.href, 'get', 0);" title="{lang share_digest}"><img src="$_G['style'][styleimgdir]/sharing.png" alt="{lang thread_share}" /><div class="elecicon_bottom"><span class="elecsc">{lang thread_share}<!--{if $_G['forum_thread']['sharetimes']}--></span><span id="sharenumber">{$_G['forum_thread']['sharetimes']}</span><!--{/if}--></div></a>
<!--{/if}-->
<!--{if !$_G['forum']['disablecollect'] && helper_access::check_module('collection')}-->
<a href="forum.php?mod=collection&action=edit&op=addthread&tid=$_G[tid]" id="k_collect" onclick="showWindow(this.id, this.href);return false;" onmouseover="this.title = $('collectionnumber').innerHTML + ' {lang activity_member_unit}{lang collection}'" title="{lang thread_collect}"><img src="$_G['style'][styleimgdir]/taotie.png" alt="{lang thread_share}" />
<div class="elecicon_bottom"><span class="elecsc">{lang collection}</span><span id="collectionnumber"{if !$post['releatcollectionnum']} {/if}>{$post['releatcollectionnum']}</span></div>
</a>
<!--{/if}-->
<!--{if ($_G['group']['allowrecommend'] || !$_G['uid']) && $_G['setting']['recommendthread']['status']}-->
<!--{if !empty($_G['setting']['recommendthread']['addtext'])}-->
<a id="recommend_add" href="forum.php?mod=misc&action=recommend&do=add&tid=$_G[tid]&hash={FORMHASH}" {if $_G['uid']}onclick="ajaxmenu(this, 3000, 1, 0, '43', 'recommendupdate({$_G['group']['allowrecommend']})');return false;"{else} onclick="showWindow('login', this.href)"{/if} onmouseover="this.title = $('recommendv_add').innerHTML + ' {lang activity_member_unit}$_G[setting][recommendthread][addtext]'" title="{lang maketoponce}"><img src="$_G['style'][styleimgdir]/check.png" alt="$_G['setting']['recommendthread'][addtext]" /><div class="elecicon_bottom"><span class="elecsc">$_G['setting']['recommendthread'][addtext]</span><span id="recommendv_add"{if !$_G['forum_thread']['recommend_add']} {/if}>$_G[forum_thread][recommend_add]</span></div></a>
<!--{/if}-->
<!--{if !empty($_G['setting']['recommendthread']['subtracttext'])}-->
<a id="recommend_subtract" href="forum.php?mod=misc&action=recommend&do=subtract&tid=$_G[tid]&hash={FORMHASH}" {if $_G['uid']}onclick="ajaxmenu(this, 3000, 1, 0, '43', 'recommendupdate(-{$_G['group']['allowrecommend']})');return false;"{else} onclick="showWindow('login', this.href)"{/if} onmouseover="this.title = $('recommendv_subtract').innerHTML + ' {lang activity_member_unit}$_G[setting][recommendthread][subtracttext]'" title="{lang makebottomonce}"><img src="$_G['style'][styleimgdir]/close.png" alt="$_G['setting']['recommendthread'][subtracttext]" /><div class="elecicon_bottom"><span class="elecsc">$_G['setting']['recommendthread'][subtracttext]</span><span id="recommendv_subtract"{if !$_G['forum_thread']['recommend_sub']} {/if}>$_G[forum_thread][recommend_sub]</span></div></a>
<!--{/if}-->
<!--{/if}-->
<!--{hook/viewthread_useraction}-->
</div>
<!--{/if}-->
<!--{/if}--> |