Discuz Thai

 ลืมรหัสผ่าน
 สมัครสมาชิก

ข้อตกลงการใช้งานกระดานข่าวดิสคัสไทย DiscuzThai Agreement (English Version) ประกาศดิสคัสไทย - ทำเนียบดิสคัสภาษาไทย

Discuz! X3.5 Thai R20231001 Rev.8 (NEW) [วิดีโอช่วยสอน] อัปเกรด Discuz! X3.4 เป็น X3.5 Discord ของ Discuz! Thai Community อย่างเป็นทางการ

Discuz! X3.4 Thai R20220811 (REV.75) สิ้นสุดการสนับสนุน Discuz! X3.4 ภาษาไทยตั้งแต่วันนี้เป็นต้นไป (ขอแนะนำให้อัปเกรดเป็น X3.5 แทน)

ค้นหา
แท็กยอดนิยม: ดิสคัสภาษาไทย Discuz Thai
เจ้าของ: autum25

[x2.5] สร้างปุ่มแชร์ด้วยตัวเองใน Discuz เพิ่ม Seo

  [คัดลอกลิงก์]
 เจ้าของ| autum25 โพสต์ 2012-6-28 00:08:29
ผมทดลองกับ x2  x2.5 ได้ผลครับสคริปนี้ไม่ซับซ้อนใส่ได้ทุกบอร์ดครับยังไงลองก็อบโค้ดหน้า view thead note มาให้ดูหน่อยครับ
rvroje โพสต์ 2012-6-29 08:41:27
แก้ไขครั้งสุดท้ายโดย rvroje เมื่อ 2012-6-29 08:42
  1. <!--{eval $needhiddenreply = ($hiddenreplies && $_G['uid'] != $post['authorid'] && $_G['uid'] != $_G['forum_thread']['authorid'] && !$post['first'] && !$_G['forum']['ismoderator']);}-->
  2. <!--{block authorverifys}-->
  3. <!--{if $_G['setting']['verify']['enabled']}-->
  4.         <!--{loop $_G['setting']['verify'] $vid $verify}-->
  5.                 <!--{if $verify['available'] && $verify['showicon']}-->
  6.                         <a href="home.php?mod=spacecp&ac=profile&op=verify&vid=$vid" target="_blank">
  7.                         <!--{if $post['verify'.$vid] == 1}-->
  8.                                 <!--{if !empty($verify['icon'])}--><img src="$verify['icon']" class="vm" alt="$verify[title]" title="$verify[title]" /><!--{else}-->$verify[title]<!--{/if}-->
  9.                         <!--{elseif !empty($verify['unverifyicon'])}-->
  10.                                 <img src="$verify['unverifyicon']" class="vm" alt="$verify[title]" title="$verify[title]" />
  11.                         <!--{/if}--></a>&nbsp;
  12.                 <!--{/if}-->
  13.         <!--{/loop}-->
  14. <!--{/if}-->
  15. <!--{/block}-->
  16. <!--{if $post['first'] &&  $_G['forum_threadstamp']}-->
  17.         <div id="threadstamp"><img src="{STATICURL}image/stamp/$_G[forum_threadstamp]" title="$_G[forum_threadstamp][text]" /></div>
  18. <!--{/if}-->
  19. <!--{if empty($post['deleted'])}-->
  20. <table id="pid$post[pid]" summary="pid$post[pid]" cellspacing="0" cellpadding="0">
  21. <tr>
  22.         <td class="pls" rowspan="2">
  23.                 $post[newpostanchor] $post[lastpostanchor]
  24.                 <!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}-->
  25.                         <!--{if $_G['setting']['authoronleft']}-->
  26.                                 <div class="pi">
  27.                                         <div class="authi"><a href="home.php?mod=space&uid=$post['authorid']" target="_blank" class="xw1">$post[author]</a>$authorverifys</div>
  28.                                 </div>
  29.                         <!--{/if}-->
  30.                         <div class="p_pop blk bui" id="userinfo$post[pid]" style="display: none; {if $_G['setting']['authoronleft']}margin-top: -11px;{/if}">
  31.                                 <div class="m z">
  32.                                         <div id="userinfo$post[pid]_ma"></div>
  33.                                         <!--{hook/viewthread_profileside $postcount}-->
  34.                                 </div>
  35.                                 <div class="i y">
  36.                                         <div>
  37.                                                 <strong><a href="home.php?mod=space&uid=$post[authorid]" target="_blank" class="xi2">$post[author]</a></strong>
  38.                                                 <!--{if $_G['setting']['vtonlinestatus'] && $post['authorid']}-->
  39.                                                         <!--{if ($_G['setting']['vtonlinestatus'] == 2 && $_G[forum_onlineauthors][$post[authorid]]) || ($_G['setting']['vtonlinestatus'] == 1 && (TIMESTAMP - $post['lastactivity'] <= 10800) && !$post['authorinvisible'])}-->
  40.                                                                 <em>{lang online}</em>
  41.                                                         <!--{else}-->
  42.                                                                 <em>{lang offline}</em>
  43.                                                         <!--{/if}-->
  44.                                                 <!--{/if}-->
  45.                                         </div>
  46.                                         <dl class="cl">{$post[custominfo][menu]}</dl>
  47.                                         <div class="imicn">
  48.                                                 <!--{if $post['qq'] && !$post['privacy']['profile']['qq']}--><a href="http://wpa.qq.com/msgrd?V=1&Uin=$post[qq]&Site=$_G['setting']['bbname']&Menu=yes" target="_blank" title="QQ"><img src="{IMGDIR}/qq.gif" alt="QQ" /></a><!--{/if}-->
  49.                                                 <!--{if $post['icq'] && !$post['privacy']['profile']['icq']}--><a href="http://wwp.icq.com/scripts/search.dll?to=$post[icq]" target="_blank" title="ICQ"><img src="{IMGDIR}/icq.gif" alt="ICQ" /></a><!--{/if}-->
  50.                                                 <!--{if $post['yahoo'] && !$post['privacy']['profile']['yahoo']}--><a href="http://edit.yahoo.com/config/send_webmesg?.target=$post[yahoo]&.src=pg" target="_blank" title="Yahoo"><img src="{IMGDIR}/yahoo.gif" alt="Yahoo!"  /></a><!--{/if}-->
  51.                                                 <!--{if $post['taobao'] && !$post['privacy']['profile']['taobao']}--><a href="javascript:;" onclick="window.open('http://amos.im.alisoft.com/msg.aw?v=2&uid='+encodeURIComponent('$post[taobaoas]')+'&site=cntaobao&s=2&charset=utf-8')" title="{lang taobao}"><img src="{IMGDIR}/taobao.gif" alt="{lang taobao}" /></a><!--{/if}-->
  52.                                                 <!--{if $post['site'] && !$post['privacy']['profile']['site']}--><a href="$post[site]" target="_blank" title="{lang member_homepage}"><img src="{IMGDIR}/forumlink.gif" alt="{lang member_homepage}" /></a><!--{/if}-->
  53.                                                 <a href="home.php?mod=space&uid=$post[authorid]&do=profile" target="_blank" title="{lang member_viewpro}"><img src="{IMGDIR}/userinfo.gif" alt="{lang member_viewpro}" /></a>
  54.                                                 <!--{hook/viewthread_imicons $postcount}-->
  55.                                                 <!--{if $_G['setting']['magicstatus']}-->
  56.                                                         <!--{if !empty($_G['setting']['magics']['showip'])}-->
  57.                                                                 <a href="home.php?mod=magic&mid=showip&idtype=user&id={echo rawurlencode($post[author])}" id="a_showip_li_{$post[pid]}" class="xi2" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}/image/magic/showip.small.gif" alt="" /> $_G['setting']['magics']['showip']</a>
  58.                                                         <!--{/if}-->
  59.                                                         <!--{if !empty($_G['setting']['magics']['checkonline']) && $post['authorid'] != $_G['uid']}-->
  60.                                                                 <a href="home.php?mod=magic&mid=checkonline&idtype=user&id={echo rawurlencode($post[author])}" id="a_repent_$post[pid]" class="xi2" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}/image/magic/checkonline.small.gif" alt="" /> $_G['setting']['magics']['checkonline']</a>
  61.                                                         <!--{/if}-->
  62.                                                         <!--{hook/viewthread_magic_user $postcount}-->
  63.                                                 <!--{/if}-->
  64.                                         </div>
  65.                                         <div id="avatarfeed"><span id="threadsortswait"></span></div>
  66.                                 </div>
  67.                         </div>
  68.                 <!--{/if}-->
  69.                 <!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}-->
  70.                         <div>
  71.                         <!--{if $_G['setting']['bannedmessages'] & 2 && ($post['memberstatus'] == '-1' || ($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5) || ($post['status'] & 1))}-->
  72.                                 <div class="avatar">{lang member_avatar_banned}</div>
  73.                         <!--{elseif $post['avatar'] && $showavatars}-->
  74.                                 <!--{if $post[mobiletype]}-->
  75.                                 <div class="mobile-type mobile-type-$post[mobiletype]">
  76.                                         <a href="misc.php?mod=mobile" tip="{lang post_from_mobile}" onmouseover="showTip(this)"></a>
  77.                                 </div>
  78.                                 <!--{/if}-->
  79.                                 <div class="avatar" onmouseover="showauthor(this, 'userinfo$post[pid]')"><a href="home.php?mod=space&uid=$post[authorid]" target="_blank">$post[avatar]</a></div>
  80.                         <!--{/if}-->
  81.                         <div class="tns xg2">
  82.                                 <table cellspacing="0" cellpadding="0">
  83.                                         <th><p><a href="home.php?mod=space&uid=$post[authorid]&do=thread&view=me&from=space" class="xi2"><!--{echo dnumber($post[threads])}--></a></p>{lang threads}</th>
  84.                                         <th>
  85.                                                 <!--{if helper_access::check_module('follow')}-->
  86.                                                 <p><a href="home.php?mod=follow&do=follower&uid=$post[authorid]" class="xi2"><!--{echo dnumber($post[follower])}--></a></p>{lang follower}
  87.                                                 <!--{else}-->
  88.                                                 <p><a href="home.php?mod=space&uid=$post[authorid]&do=friend&view=me" class="xi2"><!--{echo dnumber($post[friends])}--></a></p>{lang friends}
  89.                                                 <!--{/if}-->
  90.                                         </th>
  91.                                         <td><p><a href="home.php?mod=space&uid=$post[authorid]&do=profile" class="xi2"><!--{echo dnumber($post[credits])}--></a></p>{lang credits}</td>
  92.                                 </table>
  93.                         </div>
  94.                         <!--{hook/viewthread_avatar $postcount}-->
  95.                         <!--{if $post[groupicon]}--><p><a href="home.php?mod=spacecp&ac=usergroup&gid=$post[groupid]" target="_blank">$post[groupicon]</a></p><!--{/if}-->
  96.                         <p><em><a href="home.php?mod=spacecp&ac=usergroup&gid=$post[groupid]" target="_blank">{$post[authortitle]}</a></em></p>
  97.                         <!--{if $post['customstatus']}--><p class="xg1">$post[customstatus]</p><!--{/if}-->
  98.                         </div>
  99.                         <p{if $post['upgradecredit'] !== false} id="g_up$post[pid]" onmouseover="showMenu({'ctrlid':this.id, 'pos':'12!'});"{/if}><!--{eval showstars($post['stars']);}--></p>
  100.                         <!--{if $post['upgradecredit'] !== false}-->
  101.                                 <div id="g_up$post[pid]_menu" class="tip tip_4" style="display: none;">
  102.                                         <div class="tip_horn"></div>
  103.                                         <div class="tip_c">$post['authortitle'], {lang credits} $post['credits'], {lang thread_groupupgrade} $post['upgradecredit'] {lang credits}</div>
  104.                                 </div>
  105.                         <!--{/if}-->
  106.                         <!--{hook/viewthread_sidetop $postcount}-->
  107.                         <!--{if $post[custominfo][left]}--><dl class="pil cl">{$post[custominfo][left]}</dl><!--{/if}-->
  108.                         <!--{if $post['medals']}-->
  109.                                 <p class="md_ctrl">
  110.                                         <a href="home.php?mod=medal">
  111.                                                 <!--{loop $post['medals'] $medal}-->
  112.                                                 <img id="md_{$post[pid]}_{$medal[medalid]}" src="{STATICURL}image/common/$medal[image]" alt="$medal[name]" title="" onmouseover="showMenu({'ctrlid':this.id, 'menuid':'md_$medal[medalid]_menu', 'pos':'12!'});" />
  113.                                                 <!--{/loop}-->
  114.                                         </a>
  115.                                 </p>
  116.                         <!--{/if}-->
  117.                         <!--{if $post[authorid] != $_G[uid]}-->
  118.                                 <ul class="xl xl2 o cl">
  119.                                         <!--{if helper_access::check_module('follow')}-->
  120.                                         <li class="addflw">
  121.                                                 <a href="home.php?mod=spacecp&ac=follow&op=add&hash={FORMHASH}&fuid=$post[authorid]" id="followmod_$post[authorid]" title="{lang follow}" class="xi2" onclick="showWindow('followmod', this.href, 'get', 0);">{lang follow}</a>
  122.                                         </li>
  123.                                         <!--{/if}-->
  124.                                         <li class="pm2"><a href="home.php?mod=spacecp&ac=pm&op=showmsg&handlekey=showmsg_$post[authorid]&touid=$post[authorid]&pmid=0&daterange=2&pid=$post[pid]&tid=$post[tid]" onclick="showWindow('sendpm', this.href);" title="{lang viewthread_left_sendpm}" class="xi2">{lang viewthread_left_sendpm}</a></li>
  125.                                 </ul>
  126.                         <!--{/if}-->
  127.                         <!--{hook/viewthread_sidebottom $postcount}-->
  128.                 <!--{elseif getstatus($post['status'], 5)}-->
  129.                         <!--{if $_G['setting']['authoronleft']}-->
  130.                         <div class="pi">
  131.                                 <div class="authi"><a href="javascript:;" class="xw1">$post[author]</a></div>
  132.                         </div>
  133.                         <!--{/if}-->
  134.                         <!--{if $showavatars}-->
  135.                         <div>
  136.                                 <div class="avatar"><a href="javascript:;">$post[avatar]</a></div>
  137.                         </div>
  138.                         <!--{/if}-->
  139.                 <!--{else}-->
  140.                         <div class="pi">
  141.                         <!--{if !$post['authorid']}-->
  142.                                 <a href="javascript:;">$_G[setting][anonymoustext] <em>$post[useip]</em></a>
  143.                         <!--{elseif $post['authorid'] && $post['username'] && $post['anonymous']}-->
  144.                                 <!--{if $_G['forum']['ismoderator']}--><a href="home.php?mod=space&uid=$post[authorid]" target="_blank">$_G[setting][anonymoustext]</a><!--{else}-->$_G[setting][anonymoustext]<!--{/if}-->
  145.                         <!--{else}-->
  146.                                 $post[author] <em>{lang member_deleted}</em>
  147.                         <!--{/if}-->
  148.                         </div>
  149.                 <!--{/if}-->
  150.                 <!--{if ($_G['group']['allowedituser'] || $_G['group']['allowbanuser'] || ($_G['forum']['ismoderator'] && $_G['group']['allowviewip'])) && !getstatus($post['status'], 5)}-->
  151.                         <p class="cp_pls cl">
  152.                                 <!--{if $_G['forum']['ismoderator'] && $_G['group']['allowviewip']}-->
  153.                                         <a href="forum.php?mod=topicadmin&action=getip&fid=$_G[fid]&tid=$_G[tid]&pid=$post[pid]{if $_G['forum_auditstatuson']}&modthreadkey=$_GET[modthreadkey]{/if}" onclick="ajaxmenu(this, 0, 0, 2);doane(event)">IP</a>
  154.                                 <!--{/if}-->
  155.                                 <!--{if $_G['group']['allowedituser']}-->
  156.                                         <a href="{if $_G['adminid'] == 1}admin.php?frames=yes&action=members&operation=search&uid=$post[authorid]&submit=yes{else}forum.php?mod=modcp&action=member&op=edit&uid=$post[authorid]{/if}" target="_blank">{lang edit}</a>
  157.                                 <!--{/if}-->
  158.                                 <!--{if $_G['group']['allowbanuser']}-->
  159.                                         <!--{if $_G['adminid'] == 1}-->
  160.                                                 <a href="admin.php?action=members&operation=ban&username=$post[usernameenc]&frames=yes" target="_blank">{lang ban_member}</a>
  161.                                         <!--{else}-->
  162.                                                 <a href="forum.php?mod=modcp&action=member&op=ban&uid=$post[authorid]" target="_blank">{lang ban_member}</a>
  163.                                         <!--{/if}-->
  164.                                 <!--{/if}-->
  165.                                 <a href="forum.php?mod=modcp&action=thread&op=post&do=search&searchsubmit=1&users=$post[usernameenc]" target="_blank">{lang posts}</a>
  166.                                 <!--{if $_G['adminid'] == 1}-->
  167.                                         <a href="forum.php?mod=ajax&action=quickclear&uid=$post[authorid]" onclick="showWindow('qclear_$post[authorid]', this.href, 'get', 0)">{lang clear}</a>
  168.                                 <!--{/if}-->
  169.                         </p>
  170.                 <!--{/if}-->
  171.         </td>
  172.         <td class="plc">
  173.                 <div class="pi">
  174.                         <!--{if !IS_ROBOT}-->
  175.                                 <!--{if !$postcount && !$_G['forum_thread']['archiveid'] && $post['first'] }-->
  176.                                         <div id="fj" class="y">
  177.                                                 <label class="z">{lang thread_redirect_postno}</label>
  178.                                                 <input type="text" class="px p_fre z" size="2" onkeyup="$('fj_btn').href='forum.php?mod=redirect&ptid=$_G[tid]&authorid=$_GET[authorid]&postno='+this.value" onkeydown="if(event.keyCode==13) {window.location=$('fj_btn').href;return false;}" title="{lang thread_redirect_postno_tips}" />
  179.                                                 <a href="javascript:;" id="fj_btn" class="z" title="{lang thread_redirect_postno_tips}"><img src="{IMGDIR}/fj_btn.png" alt="{lang thread_redirect_postno_tips}" class="vm" /></a>
  180.                                         </div>
  181.                                 <!--{/if}-->
  182.                                 <!--{if $post['warned']}-->
  183.                                         <a href="forum.php?mod=misc&action=viewwarning&tid=$_G[tid]&uid=$post[authorid]" title="{lang warn_get}" class="y" onclick="showWindow('viewwarning', this.href)"><img src="{IMGDIR}/warning.gif" alt="{lang warn_get}" /></a>
  184.                                 <!--{/if}-->
  185.                                 <strong>
  186.                                         <a href="{if $post[first]}forum.php?mod=viewthread&tid=$_G[tid]$fromuid{else}forum.php?mod=redirect&goto=findpost&ptid=$_G[tid]&pid=$post[pid]$fromuid{/if}" title="{lang share_url_copy_comment}" id="postnum$post[pid]" onclick="setCopy(this.href, '{lang post_copied}');return false;"><!--{if !empty($postno[$post[number]])}-->$postno[$post[number]]<!--{else}--><em>{$post[number]}</em>{$postno[0]}<!--{/if}--></a>
  187.                                 </strong>
  188.                         <!--{/if}-->
  189.                         <div class="pti">
  190.                                 <div class="pdbt">
  191.                                         <!--{if !$post['first'] && $post['rewardfloor']}-->
  192.                                                 <label class="pdbts pdbts_1">
  193.                                                         <a href="forum.php?mod=viewthread&tid=$post[tid]&checkrush=1" rel="nofollow" title="{lang rushreply_hit_title}" class="v">{lang prosit}</a>
  194.                                                         <a href="forum.php?mod=viewthread&tid=$post[tid]&checkrush=1" rel="nofollow" title="{lang rushreply_hit_title}" class="b">{lang rushreply_hit}</a>
  195.                                                 </label>
  196.                                         <!--{/if}-->
  197.                                         <!--{if !$post[first] && $_G['forum_thread']['special'] == 5}-->
  198.                                                 <label class="pdbts pdbts_{echo intval($post[stand])}">
  199.                                                         <!--{if $post[stand] == 1}--><a class="v" href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&filter=debate&stand=1" title="{lang debate_view_square}">{lang debate_square}</a>
  200.                                                                 <!--{elseif $post[stand] == 2}--><a class="v" href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&filter=debate&stand=2" title="{lang debate_view_opponent}">{lang debate_opponent}</a>
  201.                                                                 <!--{else}--><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&filter=debate&stand=0" title="{lang debate_view_neutral}">{lang debate_neutral}</a><!--{/if}-->
  202.                                                         <!--{if $post[stand]}-->
  203.                                                                 <a class="b" href="forum.php?mod=misc&action=debatevote&tid=$_G[tid]&pid=$post[pid]" id="voterdebate_$post[pid]" onclick="ajaxmenu(this);doane(event);">{lang debate_support} $post[voters]</a>
  204.                                                         <!--{/if}-->
  205.                                                 </label>
  206.                                         <!--{/if}-->
  207.                                 </div>
  208.                                 <div class="authi">
  209.                                 <!--{if !$post['anonymous'] && $_G['cache']['groupicon'][$post['groupid']]}-->
  210.                                         <img class="authicn vm" id="authicon$post[pid]" src="$_G['cache']['groupicon'][$post['groupid']]" />
  211.                                 <!--{else}-->
  212.                                         <img class="authicn vm" id="authicon$post[pid]" src="$_G['cache']['groupicon'][0]" />
  213.                                 <!--{/if}-->
  214.                                 <!--{if $post['authorid'] && !$post['anonymous']}-->
  215.                                         <!--{if !$_G['setting']['authoronleft']}--><a href="home.php?mod=space&uid=$post[authorid]" target="_blank" class="xi2">$post[author]</a>$authorverifys<!--{/if}-->
  216.                                         <em id="authorposton$post[pid]">{lang poston} $post[dateline]</em>
  217.                                         <!--{if $post['status'] & 8}-->
  218.                                                 <span class="xg1"><!--{if $_G['setting']['mobile']['mobilecomefrom']}-->{$_G['setting']['mobile']['mobilecomefrom']}<!--{else}-->{lang from_mobile}<!--{/if}--></span>
  219.                                         <!--{/if}-->
  220.                                         <!--{if $post['invisible'] == 0}-->
  221.                                                 <!--{if !IS_ROBOT && !$_GET['authorid'] && !$_G['forum_thread']['archiveid']}-->
  222.                                                         <span class="pipe">|</span><a href="forum.php?mod=viewthread&tid=$post[tid]&page=$page&authorid=$post[authorid]" rel="nofollow">{lang thread_show_author}</a>
  223.                                                 <!--{elseif !$_G['forum_thread']['archiveid']}-->
  224.                                                         <span class="pipe">|</span><a href="forum.php?mod=viewthread&tid=$post[tid]&page=$page" rel="nofollow">{lang thread_show_all}</a>
  225.                                                 <!--{/if}-->
  226.                                         <!--{/if}-->
  227.                                 <!--{elseif getstatus($post['status'], 5)}-->
  228.                                         <!--{if !$_G['setting']['authoronleft']}--><a href="javascript:;" class="xi2">$post[author]</a><!--{/if}-->
  229.                                         &nbsp;<em id="authorposton$post[pid]">{lang poston} $post[dateline]</em>
  230.                                 <!--{elseif $post['authorid'] && $post['username'] && $post['anonymous'] || !$post['authorid'] && !$post['username']}-->
  231.                                         $_G[setting][anonymoustext]&nbsp;
  232.                                         <em id="authorposton$post[pid]">{lang poston} $post[dateline]</em>
  233.                                 <!--{/if}-->
  234.                                 <!--{if !IS_ROBOT && !$_G['forum_thread']['archiveid'] && $post['first'] }-->
  235.                                         <!--{if !$rushreply}-->
  236.                                                 <!--{if $ordertype != 1}-->
  237.                                                         <span class="pipe">|</span><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&ordertype=1">{lang post_descview}</a>
  238.                                                 <!--{else}-->
  239.                                                         <span class="pipe">|</span><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&ordertype=2">{lang post_ascview}</a>
  240.                                                 <!--{/if}-->
  241.                                         <!--{/if}-->
  242.                                         <!--{if $thread['authorid'] == $_G['uid']}-->
  243.                                                 <span class="pipe">|</span>
  244.                                                 <!--{if $replynotice == 1}-->
  245.                                                         <a id="replynotice" href="forum.php?mod=misc&action=replynotice&op=ignore&tid=$_G[tid]" status="1" onclick="ajaxmenu(this, 3000, 0, 0, '43', function () {replyNotice();});return false;">{lang ignore_replynotice}</a>
  246.                                                 <!--{else}-->
  247.                                                         <a id="replynotice" href="forum.php?mod=misc&action=replynotice&op=receive&tid=$_G[tid]" status="0" onclick="ajaxmenu(this, 3000, 0, 0, '43', function () {replyNotice();});return false;">{lang receive_replynotice}</a>
  248.                                                 <!--{/if}-->
  249.                                         <!--{/if}-->
  250.                                 <!--{/if}-->
  251.                                 <!--{hook/viewthread_postheader $postcount}-->
  252.                                 </div>
  253.                         </div>
  254.                 </div>

  255.                 <!--{ad ad_a_pr/thread/a_pr/3/$postcount}-->

  256.                 <div class="pct">
  257.                         <!--{ad/thread/a_pt/2/$postcount}-->
  258.                         <!--{if !$_G['inajax']}-->
  259.                                 <!--{if empty($ad_a_pr_css)}-->
  260.                                         <style type="text/css">.pcb{margin-right:0}</style>
  261.                                         <!--{eval $ad_a_pr_css=1;}-->
  262.                                 <!--{/if}-->
  263.                         <!--{/if}-->

  264.                         <!--{if !$post['first'] && $post['replycredit'] > 0}-->
  265.                                 <div class="cm">
  266.                                         <h3 class="psth xs1">
  267.                                                 {lang replycredit} <span class="xw1 xs2 xi1">+{$post['replycredit']}</span> {$_G['setting']['extcredits'][$_G['forum_thread']['replycredit_rule']['extcreditstype']][unit]}{$_G['setting']['extcredits'][$_G['forum_thread']['replycredit_rule']['extcreditstype']][title]}
  268.                                         </h3>
  269.                                 </div>
  270.                         <!--{/if}-->
  271. <table width="100%" border="0" cellspacing="2" cellpadding="4">
  272.   <tr>
  273.     <td><a    alt="Yahoo bot last visit powered hot-th.com" target="_blank"><img src="http://www.ybotvisit.com/services/yblv/dyblv.php?s=de510918a7e060d91689b0985e28" border="0" /></a></td>
  274.     <td><noscript><a   alt="Yahoo bot last visit">Yahoo bot</a></noscript> <a  alt="Msn bot last visit hot-th.com" target="_blank"><img src="http://www.prmania.net/services/mblv/mblv.php?s=de510918a7e060d91689b0985e28" border="0" title="Msn bot last visit" /></a><noscript><a   alt="Msn bot last visit">Msn bot last visit</a></noscript></td>
  275.     <td><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Loader" type="text/javascript"></script>  
  276. <script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>  <a name="fb_share" type="button_count" share_url="{$_G['siteurl']}forum.php?mod=viewthread&tid={$_G['tid']}.html">shared</a></td>
  277.     <td><!-- auto ping by http://www.auto-ping.com/ -->
  278. <a  target="_blank"><img src="http://www.auto-ping.com/iping.php?aut=EF14380489BD68920487F89D5739455201155A64B924A54A750E6D8DD2AD0BC1854A7AD421A02FC8C1" alt="Ping your blog, website, or RSS feed for Free" border="0" /></a>
  279. <!-- auto ping by [url]http://www.auto-ping.com/--></td>
  280.     <td><!-- Place this tag where you want the +1 button to render -->
  281. <div class="g-plusone" data-size="medium" data-href="{$_G['siteurl']}forum.php?mod=viewthread&tid={$_G['tid']}.html"></div>

  282. <!-- Place this render call where appropriate -->
  283. <script type="text/javascript">
  284.   window.___gcfg = {lang: 'th'};

  285.   (function() {
  286.     var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
  287.     po.src = 'https://apis.google.com/js/plusone.js';
  288.     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
  289.   })();
  290. </script></td>
  291.   </tr>
  292.   <tr>
  293.     <td colspan="5"><hr size="1" /></td>
  294.     </tr>
  295. </table>
  296.                         <!--{subtemplate forum/viewthread_node_body}-->
  297.                 </div>

  298.                 <!--{if helper_access::check_module('collection') && !$_G['forum']['disablecollect']}-->
  299.                         <!--{if $post['relatecollection']}-->
  300.                                 <div class="cm">
  301.                                         <h3 class="psth xs1">{lang collection_related}</h3>
  302.                                         <ul class="mbw xl xl2 cl">
  303.                                         <!--{loop $post['relatecollection'] $var}-->
  304.                                                 <li>&middot; <a href="forum.php?mod=collection&action=view&ctid=$var[ctid]" title="$var[name]" target="_blank" class="xi2 xw1">$var[name]</a><span class="pipe">|</span><span class="xg1">{lang collection_threadnum}: $var[threadnum], {lang collection_follow}: $var[follownum]</span></li>
  305.                                         <!--{/loop}-->
  306.                                         <!--{if $post['releatcollectionmore']}-->
  307.                                                 <li>&middot; <a href="forum.php?mod=collection&tid=$_G[tid]" target="_blank" class="xi2 xw1">{lang more}</a></li>
  308.                                         <!--{/if}-->
  309.                                         </ul>
  310.                                 </div>
  311.                                 <!--{if $post['sourcecollection']['ctid']}-->
  312.                                 <div>
  313.                                         {lang collection_fromctid}
  314.                                         <form action="forum.php?mod=collection&action=comment&ctid={$ctid}&tid={$_G[tid]}" method="POST" class="ptm pbm cl">
  315.                                                 <input type="hidden" name="ratescore" id="ratescore" />
  316.                                                 <span class="clct_ratestar">
  317.                                                         <span class="btn">
  318.                                                                 <a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',1)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',1,'ratescore')">1</a>
  319.                                                                 <a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',2)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',2,'ratescore')">2</a>
  320.                                                                 <a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',3)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',3,'ratescore')">3</a>
  321.                                                                 <a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',4)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',4,'ratescore')">4</a>
  322.                                                                 <a href="javascript:;" onmouseover="rateStarHover('clct_ratestar_star',5)" onmouseout="rateStarHover('clct_ratestar_star',0)" onclick="rateStarSet('clct_ratestar_star',5,'ratescore')">5</a>
  323.                                                         </span>
  324.                                                         <span id="clct_ratestar_star" class="star star$memberrate"></span>
  325.                                                 </span>
  326.                                                 &nbsp;<button type="submit" value="submit" class="pn"><span>{lang collection_rate}</span></button>
  327.                                         </form>
  328.                                 </div>
  329.                                 <!--{/if}-->
  330.                         <!--{/if}-->
  331.                 <!--{/if}-->

  332.                 <!--{if $post['first'] && ($post[tags] || $relatedkeywords)}-->
  333.                         <div class="ptg mbm">
  334.                                 <!--{if $post[tags]}-->
  335.                                         <!--{eval $tagi = 0;}-->
  336.                                         <!--{loop $post[tags] $var}-->
  337.                                                 <!--{if $tagi}-->, <!--{/if}--><a title="$var[1]" href="misc.php?mod=tag&id=$var[0]" target="_blank">$var[1]</a>
  338.                                                 <!--{eval $tagi++;}-->
  339.                                         <!--{/loop}-->
  340.                                 <!--{/if}-->
  341.                                 <!--{if $relatedkeywords}--><span>$relatedkeywords</span><!--{/if}-->
  342.                         </div>
  343.                 <!--{/if}-->
  344.         </td></tr>
  345.         <tr><td class="plc plm">
  346.                 <!--{if $locations[$post[pid]]}-->
  347.                         <div class="mobile-location">$locations[$post[pid]][location]</div>
  348.                 <!--{/if}-->
  349.                 <!--{if !IS_ROBOT && $post['first'] && !$_G['forum_thread']['archiveid']}-->
  350.                         <!--{if !empty($lastmod['modaction'])}--><div class="modact"><a href="forum.php?mod=misc&action=viewthreadmod&tid=$_G[tid]" title="{lang thread_mod}" onclick="showWindow('viewthreadmod', this.href)"><!--{if $lastmod['modactiontype'] == 'REB'}-->{lang thread_mod_recommend_by}<!--{else}-->{lang thread_mod_by}<!--{/if}--></a></div><!--{/if}-->
  351.                         <!--{hook/viewthread_modaction}-->

  352.                         <!--{if $post['invisible'] == 0}-->
  353.                                 <div id="p_btn" class="mtw mbm cl">
  354.                                         <!--{if !empty($_G['setting']['pluginhooks']['viewthread_share_method'])}-->
  355.                                                 <div class="tshare cl">
  356.                                                         <strong>{lang viewthread_share_to}:</strong>
  357.                                                         <!--{hook/viewthread_share_method}-->
  358.                                                 </div>
  359.                                         <!--{/if}-->

  360.                                         <!--{if !$post['anonymous'] && helper_access::check_module('follow')}-->
  361.                                         <a href="home.php?mod=spacecp&ac=follow&op=relay&tid=$_G[tid]&from=forum" id="k_relay" onclick="showWindow(this.id, this.href, 'get', 0);" onmouseover="this.title = $('relaynumber').innerHTML + ' {lang activity_member_unit}{lang thread_realy}'"><i><img src="{IMGDIR}/rt.png" alt="{lang thread_realy}" />{lang thread_realy}<span id="relaynumber">{$_G['forum_thread']['relay']}</span></i></a>
  362.                                         <!--{/if}-->
  363.                                         <!--{if !$_G['forum']['disablecollect'] && helper_access::check_module('collection')}-->
  364.                                                 <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}'"><i><img src="{IMGDIR}/collection.png" alt="{lang thread_share}" />{lang collection}<span id="collectionnumber">{$post['releatcollectionnum']}</span></i></a>
  365.                                         <!--{/if}-->
  366.                                         <!--{if helper_access::check_module('share')}-->
  367.                                                 <a href="home.php?mod=spacecp&ac=share&type=thread&id=$_G[tid]" id="k_share" onclick="showWindow(this.id, this.href, 'get', 0);" onmouseover="this.title = $('sharenumber').innerHTML + ' {lang activity_member_unit}{lang thread_share}'"><i><img src="{IMGDIR}/oshr.png" alt="{lang thread_share}" />{lang thread_share}<span id="sharenumber">{$_G['forum_thread']['sharetimes']}</span></i></a>
  368.                                         <!--{/if}-->
  369.                                         <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}'"><i><img src="{IMGDIR}/fav.gif" alt="{lang thread_favorite}" />{lang thread_favorite}<span id="favoritenumber">{$_G['forum_thread']['favtimes']}</span></i></a>
  370.                                         <!--{if ($_G['group']['allowrecommend'] || !$_G['uid']) && $_G['setting']['recommendthread']['status']}-->
  371.                                                 <!--{if !empty($_G['setting']['recommendthread']['addtext'])}-->
  372.                                                 <a id="recommend_add" href="forum.php?mod=misc&action=recommend&do=add&tid=$_G[tid]" {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]'"><i><img src="{IMGDIR}/rec_add.gif" alt="$_G['setting']['recommendthread'][addtext]" />$_G['setting']['recommendthread'][addtext]<span id="recommendv_add">$_G[forum_thread][recommend_add]</span></i></a>
  373.                                                 <!--{/if}-->
  374.                                                 <!--{if !empty($_G['setting']['recommendthread']['subtracttext'])}-->
  375.                                                 <a id="recommend_subtract" href="forum.php?mod=misc&action=recommend&do=subtract&tid=$_G[tid]" {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]'"><i><img src="{IMGDIR}/rec_subtract.gif" alt="$_G['setting']['recommendthread'][subtracttext]" />$_G['setting']['recommendthread'][subtracttext]<span id="recommendv_subtract">$_G[forum_thread][recommend_sub]</span></i></a>
  376.                                                 <!--{/if}-->
  377.                                         <!--{/if}-->
  378.                                         <!--{if $_G['group']['raterange'] && $post['authorid']}-->
  379.                                                 <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="{echo count($postlist[$post[pid]][totalrate]);} {lang people_score}"><i><img src="{IMGDIR}/agree.gif" alt="{lang rate}" />{lang rate}</i></a>
  380.                                         <!--{/if}-->
  381.                                         <!--{hook/viewthread_useraction}-->
  382.                                 </div>
  383.                         <!--{/if}-->

  384.                 <!--{/if}-->

  385.                 <!--{if $post['relateitem']}-->
  386.                         <div class="mtw mbw">
  387.                                 <h3 class="pbm mbm bbda">{lang related_thread}</h3>
  388.                                 <ul class="xl xl2 cl">
  389.                                         <!--{loop $post['relateitem'] $var}-->
  390.                                         <li>• <a href="forum.php?mod=viewthread&tid=$var[tid]" title="$var[subject]" target="_blank">$var[subject]</a></li>
  391.                                         <!--{/loop}-->
  392.                                 </ul>
  393.                         </div>
  394.                 <!--{/if}-->
  395.                 <!--{if $post['signature'] && ($_G['setting']['bannedmessages'] & 4 && ($post['memberstatus'] == '-1' || ($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5) || ($post['status'] & 1)))}-->
  396.                         <div class="sign">{lang member_signature_banned}</div>
  397.                 <!--{elseif $post['signature'] && !$post['anonymous'] && $showsignatures}-->
  398.                         <div class="sign" style="max-height:{$_G['setting']['maxsigrows']}px;maxHeightIE:{$_G['setting']['maxsigrows']}px;">$post[signature]</div>
  399.                 <!--{/if}-->
  400.                 <!--{hook/viewthread_postsightmlafter $postcount}-->
  401.                 <!--{ad/thread/a_pb/1/$postcount}-->
  402.         </td>
  403. </tr>
  404. <!--{if !$_G['forum_thread']['archiveid']}-->
  405. <tr>
  406.         <td class="pls"></td>
  407.         <td class="plc">
  408.                 <div class="po">
  409.                         <!--{if !$post['first'] && $modmenu['post']}-->
  410.                                 <span class="y">
  411.                                 <label for="manage$post[pid]">
  412.                                 <input type="checkbox" id="manage$post[pid]" class="pc" {if !empty($modclick)}checked="checked" {/if}onclick="pidchecked(this);modclick(this, $post[pid])" value="$post[pid]" autocomplete="off" />
  413.                                 {lang manage}
  414.                                 </label>
  415.                                 </span>
  416.                         <!--{/if}-->
  417.                         <div class="pob cl">
  418.                                 <em>
  419.                                         <!--{if $post['invisible'] == 0}-->
  420.                                                 <!--{if $allowpostreply && $post['allowcomment'] && (!$thread['closed'] || $_G['forum']['ismoderator'])}--><a class="cmmnt" href="forum.php?mod=misc&action=comment&tid=$post[tid]&pid=$post[pid]&extra=$_GET[extra]&page=$page{if $_G['forum_thread']['special'] == 127}&special=$specialextra{/if}" onclick="showWindow('comment', this.href, 'get', 0)">{lang comments}</a><!--{/if}-->
  421.                                                 <!--{if (!$_G['uid'] || $allowpostreply) && !$needhiddenreply}-->
  422.                                                         <!--{if $post['first']}-->
  423.                                                                 <a class="fastre" href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&reppost=$post[pid]&extra=$_GET[extra]&page=$page" onclick="showWindow('reply', this.href)">{lang reply}</a>
  424.                                                         <!--{else}-->
  425.                                                                 <a class="fastre" href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&repquote=$post[pid]&extra=$_GET[extra]&page=$page" onclick="showWindow('reply', this.href)">{lang reply}</a>
  426.                                                         <!--{/if}-->
  427.                                                 <!--{/if}-->
  428.                                         <!--{/if}-->
  429.                                         <!--{if (($_G['forum']['ismoderator'] && $_G['group']['alloweditpost'] && (!in_array($post['adminid'], array(1, 2, 3)) || $_G['adminid'] <= $post['adminid'])) || ($_G['forum']['alloweditpost'] && $_G['uid'] && ($post['authorid'] == $_G['uid'] && $_G['forum_thread']['closed'] == 0) && !(!$alloweditpost_status && $edittimelimit && TIMESTAMP - $post['dbdateline'] > $edittimelimit)))}-->
  430.                                                 <a class="editp" href="forum.php?mod=post&action=edit&fid=$_G[fid]&tid=$_G[tid]&pid=$post[pid]{if !empty($_GET[modthreadkey])}&modthreadkey=$_GET[modthreadkey]{/if}&page=$page"><!--{if $_G['forum_thread']['special'] == 2 && !$post['message']}-->{lang post_add_aboutcounter}<!--{else}-->{lang edit}</a><!--{/if}-->
  431.                                         <!--{elseif $_G['uid'] && $post['authorid'] == $_G['uid'] && $_G['setting']['postappend']}-->
  432.                                                 <a class="appendp" href="forum.php?mod=misc&action=postappend&tid=$post[tid]&pid=$post[pid]&extra=$_GET[extra]&page=$page" onClick="showWindow('postappend', this.href, 'get', 0)">{lang postappend}</a>
  433.                                         <!--{/if}-->
  434.                                         <!--{if $post['first'] && $post['invisible'] == -3}-->
  435.                                                 <a class="psave" href="forum.php?mod=misc&action=pubsave&tid=$_G[tid]">{lang published}</a>
  436.                                         <!--{/if}-->
  437.                                         <!--{if $post['invisible'] == -2 && !$post['first']}-->
  438.                                                 <span class="xg1">({lang moderate_need})</span>
  439.                                         <!--{/if}-->
  440.                                         <!--{if $post['first'] && $allowblockrecommend}--><a class="push" href="javascript:;" onclick="modaction('recommend', '$_G[forum_firstpid]', 'op=recommend&idtype={if $_G[forum_thread][isgroup]}gtid{else}tid{/if}&id=$_G[tid]&pid=$post[pid]', 'portal.php?mod=portalcp&ac=portalblock')">{lang modmenu_blockrecommend}</a><!--{/if}-->
  441.                                         <!--{hook/viewthread_postfooter $postcount}-->
  442.                                 </em>

  443.                                 <p>
  444.                                         <!--{if $post['invisible'] == 0}-->
  445.                                                 <!--{if $_G['setting']['magicstatus']}-->
  446.                                                         <a href="javascript:;" id="mgc_post_$post[pid]" onmouseover="showMenu(this.id)" class="showmenu">{lang thread_magic}</a>
  447.                                                 <!--{/if}-->

  448.                                                 <!--{if $_G['forum_thread']['special'] == 3 && ($_G['forum']['ismoderator'] && (!$_G['setting']['rewardexpiration'] || $_G['setting']['rewardexpiration'] > 0 && ($_G[timestamp] - $_G['forum_thread']['dateline']) / 86400 > $_G['setting']['rewardexpiration']) || $_G['forum_thread']['authorid'] == $_G['uid']) && $post['authorid'] != $_G['forum_thread']['authorid'] && $post['first'] == 0 && $_G['uid'] != $post['authorid'] && $_G['forum_thread']['price'] > 0}-->
  449.                                                         <a href="javascript:;" onclick="setanswer($post['pid'], '$_GET[from]')">{lang reward_set_bestanswer}</a>
  450.                                                 <!--{/if}-->

  451.                                                 <!--{if !$post['first'] && $_G['group']['raterange'] && $post['authorid']}-->
  452.                                                         <a href="javascript:;" onclick="showWindow('rate', 'forum.php?mod=misc&action=rate&tid=$_G[tid]&pid=$post[pid]', 'get', -1);return false;">{lang rate}</a>
  453.                                                 <!--{/if}-->

  454.                                                 <!--{if !empty($postlist[$post[pid]]['totalrate']) && $_G['forum']['ismoderator']}-->
  455.                                                         <a href="forum.php?mod=misc&action=removerate&tid=$_G[tid]&pid=$post[pid]&page=$page" onclick="showWindow('rate', this.href, 'get', -1)">{lang removerate}</a>
  456.                                                 <!--{/if}-->
  457.                                                 <!--{if $post['authorid'] != $_G['uid']}-->
  458.                                                         <a href="javascript:;" onclick="showWindow('miscreport$post[pid]', 'misc.php?mod=report&rtype=post&rid=$post[pid]&tid=$_G[tid]&fid=$_G[fid]', 'get', -1);return false;">{lang report}</a>
  459.                                                 <!--{/if}-->
  460.                                         <!--{/if}-->
  461.                                         <!--{hook/viewthread_postaction $postcount}-->
  462.                                 </p>

  463.                                 <!--{if $_G['setting']['magicstatus']}-->
  464.                                         <ul id="mgc_post_$post[pid]_menu" class="p_pop mgcmn" style="display: none;">
  465.                                         <!--{if $post['first']}-->
  466.                                                 <!--{if !empty($_G['setting']['magics']['bump'])}-->
  467.                                                         <li><a href="home.php?mod=magic&mid=bump&idtype=tid&id=$_G[tid]" id="a_bump" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/bump.small.gif" />$_G['setting']['magics']['bump']</a></li>
  468.                                                 <!--{/if}-->
  469.                                                 <!--{if !empty($_G['setting']['magics']['stick'])}-->
  470.                                                         <li><a href="home.php?mod=magic&mid=stick&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/stick.small.gif" />$_G['setting']['magics']['stick']</a></li>
  471.                                                 <!--{/if}-->
  472.                                                 <!--{if !empty($_G['setting']['magics']['close'])}-->
  473.                                                         <li><a href="home.php?mod=magic&mid=close&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/close.small.gif" />$_G['setting']['magics']['close']</a></li>
  474.                                                 <!--{/if}-->
  475.                                                 <!--{if !empty($_G['setting']['magics']['open'])}-->
  476.                                                         <li><a href="home.php?mod=magic&mid=open&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/open.small.gif" />$_G['setting']['magics']['open']</a></li>
  477.                                                 <!--{/if}-->
  478.                                                 <!--{if !empty($_G['setting']['magics']['highlight'])}-->
  479.                                                         <li><a href="home.php?mod=magic&mid=highlight&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/highlight.small.gif" />$_G['setting']['magics']['highlight']</a></li>
  480.                                                 <!--{/if}-->
  481.                                                 <!--{if !empty($_G['setting']['magics']['sofa'])}-->
  482.                                                         <li><a href="home.php?mod=magic&mid=sofa&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/sofa.small.gif" />$_G['setting']['magics']['sofa']</a></li>
  483.                                                 <!--{/if}-->
  484.                                                 <!--{if !empty($_G['setting']['magics']['jack'])}-->
  485.                                                         <li><a href="home.php?mod=magic&mid=jack&idtype=tid&id=$_G[tid]" id="a_jack" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/jack.small.gif" />$_G['setting']['magics']['jack']</a></li>
  486.                                                 <!--{/if}-->
  487.                                                 <!--{hook/viewthread_magic_thread}-->
  488.                                         <!--{/if}-->
  489.                                         <!--{if !empty($_G['setting']['magics']['repent']) && $post['authorid'] == $_G['uid'] && !$rushreply}-->
  490.                                                 <li><a href="home.php?mod=magic&mid=repent&idtype=pid&id=$post[pid]:$_G[tid]" id="a_repent_$post[pid]" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/bump.small.gif" />$_G['setting']['magics']['repent']</a></li>
  491.                                         <!--{/if}-->
  492.                                         <!--{if !empty($_G['setting']['magics']['anonymouspost']) && $post['authorid'] == $_G['uid']}-->
  493.                                                 <li><a href="home.php?mod=magic&mid=anonymouspost&idtype=pid&id=$post[pid]:$_G[tid]" id="a_anonymouspost_$post[pid]" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/anonymouspost.small.gif" />$_G['setting']['magics']['anonymouspost']</a><li>
  494.                                         <!--{/if}-->
  495.                                         <!--{if !empty($_G['setting']['magics']['namepost'])}-->
  496.                                                 <li><a href="home.php?mod=magic&mid=namepost&idtype=pid&id=$post[pid]:$_G[tid]" id="a_namepost_$post[pid]" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/namepost.small.gif" />$_G['setting']['magics']['namepost']</a><li>
  497.                                         <!--{/if}-->
  498.                                         <!--{hook/viewthread_magic_post $postcount}-->
  499.                                         </ul>
  500.                                         <script type="text/javascript" reload="1">checkmgcmn('post_$post[pid]')</script>
  501.                                 <!--{/if}-->
  502.                         </div>
  503.                 </div>
  504.         </td>
  505. </tr>
  506. <!--{/if}-->
  507. <tr class="ad">
  508.         <td class="pls"></td>
  509.         <td class="plc">
  510.                 <!--{if $post['first'] && $_G[forum_thread][special] == 5 && $_G[forum_thread][displayorder] >= 0}-->
  511.                         <ul class="ttp cl">
  512.                                 <li style="display:inline;margin-left:12px"><strong class="bw0 bg0_all">{lang debate_filter}: </strong></li>
  513.                                 <li{if !isset($_GET['stand'])} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]" hidefocus="true">{lang all}</a></li>
  514.                                 <li{if $_GET['stand'] == 1} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&stand=1" hidefocus="true">{lang debate_square}</a></li>
  515.                                 <li{if $_GET['stand'] == 2} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&stand=2" hidefocus="true">{lang debate_opponent}</a></li>
  516.                                 <li{if isset($_GET['stand']) && $_GET['stand'] == 0} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_GET[extra]&stand=0" hidefocus="true">{lang debate_neutral}</a></li>
  517.                         </ul>
  518.                 <!--{/if}-->
  519.                 <!--{if $_G['forum_thread']['replies']}--><!--{ad/interthread/a_p/$postcount}--><!--{/if}-->
  520.         </td>
  521. </tr>
  522. </table>
  523. <!--{if !empty($aimgs[$post[pid]])}-->
  524. <script type="text/javascript" reload="1">
  525.         aimgcount[{$post[pid]}] = [<!--{echo dimplode($aimgs[$post[pid]]);}-->];
  526.         attachimggroup($post['pid']);
  527.         <!--{if empty($_G['setting']['lazyload'])}-->
  528.                 <!--{if !$post['imagelistthumb']}-->
  529.                         attachimgshow($post[pid]);
  530.                 <!--{else}-->
  531.                         attachimgshow($post[pid], 1);
  532.                 <!--{/if}-->
  533.         <!--{/if}-->
  534.         var aimgfid = 0;
  535.         <!--{if $_G['forum']['picstyle'] && ($_G['forum']['ismoderator'] || $_G['uid'] == $_G['thread']['authorid'])}-->
  536.                 aimgfid = $_G[fid];
  537.         <!--{/if}-->
  538.         <!--{if $post['imagelistthumb']}-->
  539.                 attachimglstshow($post['pid'], <!--{echo intval($_G['setting']['lazyload'])}-->, aimgfid, '{$_G[setting][showexif]}');
  540.         <!--{/if}-->
  541. </script>
  542. <!--{/if}-->
  543. <!--{else}-->
  544.         <table id="pid$post[pid]" summary="pid$post[pid]" cellspacing="0" cellpadding="0">
  545.         <tbody>
  546.                 <tr>
  547.                         <td class="pls"></td>
  548.                         <td class="plc">
  549.                                 <div class="pi">
  550.                                         <strong><a><!--{if !empty($postno[$post[number]])}-->$postno[$post[number]]<!--{else}--><em>{$post[number]}</em>{$postno[0]}<!--{/if}--></a></strong>
  551.                                 </div>
  552.                                 <div class="pct">{lang post_deleted}</div>
  553.                         </td>
  554.                 </tr>
  555.                 <tr class="ad"><td class="pls"></td><td class="plc"></td></tr>
  556.         </tbody>
  557. </table>
  558. <!--{/if}-->
  559. <!--{hook/viewthread_endline $postcount}-->

คัดลอกไปที่คลิปบอร์ด
แบบนี้ครับ
art_cefprakan โพสต์ 2012-7-5 17:38:51
ไม่ทราบว่าทำเฉพาะปุ่ม auto ping ได้รึยัง ถ้าไม่ได้ลองทำแบบผมก็ได้ครับ
เปิดไฟล์ template/เทมเพลตที่ใช้/forum/viewthread_node.htm
หาโค้ด         <!--{subtemplate forum/viewthread_node_body}-->

วางโค้ดไว้หน้าข้อความนี้ครับ(วางติดกันเลย)<!--{subtemplate forum/viewthread_node_body}-->
  1. <table width="100%" border="0" cellspacing="2" cellpadding="4">
  2.       <tr>
  3.         <td><a    alt="Yahoo bot last visit powered hot-th.com" target="_blank"><img src="http://www.ybotvisit.com/services/yblv/dyblv.php?s=de510918a7e060d91689b0985e28" border="0" /></a></td>
  4.         <td><noscript><a   alt="Yahoo bot last visit">Yahoo bot</a></noscript> <a  alt="Msn bot last visit hot-th.com" target="_blank"><img src="http://www.prmania.net/services/mblv/mblv.php?s=de510918a7e060d91689b0985e28" border="0" title="Msn bot last visit" /></a><noscript><a   alt="Msn bot last visit">Msn bot last visit</a></noscript></td>
  5.         <td><!-- auto ping by http://www.auto-ping.com/ -->
  6.     <a  target="_blank"><img src="http://www.auto-ping.com/iping.php?aut=EF14380489BD68920487F89D5739455201155A64B924A54A750E6D8DD2AD0BC1854A7AD421A02FC8C1" alt="Ping your blog, website, or RSS feed for Free" border="0" /></a>
  7.     <!-- auto ping by http://www.auto-ping.com/--></td>
  8.         
  9.     <!-- Place this render call where appropriate -->
  10.     <script type="text/javascript">
  11.       window.___gcfg = {lang: 'th'};

  12.       (function() {
  13.         var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
  14.         po.src = 'https://apis.google.com/js/plusone.js';
  15.         var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
  16.       })();
  17.     </script></td>
  18.       </tr>
  19.       <tr>
  20.         <td colspan="5"><hr size="1" /></td>
  21.         </tr>
  22.     </table>
คัดลอกไปที่คลิปบอร์ด
เสร็จแล้วลองอัพเดทแคช Css ดูครับ  ไปที่ จัดการระบบ-->รูปแบบ--->จัดการสกิน
huter2006 โพสต์ 2012-7-20 20:25:02
2.0 ได้ครับ แต่ปุ่ม facebook มันโหลดช้า
rvroje โพสต์ 2012-7-28 05:03:43
art_cefprakan ตอบกลับเมื่อ 2012-7-5 17:38
ไม่ทราบว่าทำเฉพาะปุ่ม auto ping ได้รึยัง ถ้าไม่ได้ลองทำแ ...

ปุ่มขึ้นสามอัน แต่ยังกดไม่ได้อยู่ดีครับ

แสดงความคิดเห็น

ผมว่า มันออโต้นะครับ ไม่ต้องไปกดมัน  โพสต์ 2012-7-28 08:55
doramondon โพสต์ 2012-7-29 23:02:41
พี่ๆครับ ถ้าจะเอาแต่ แชร์เฟสบุค อย่างเดว ต้องใช้โค้ดส่วนใหนบ้างครับ
rimbuang โพสต์ 2012-8-18 22:33:21
น่าสนจังครับ
ขอเอาไปศึกษาหน่อยนะครับ
kawfang23 โพสต์ 2012-10-9 14:13:41
แก้ไขครั้งสุดท้ายโดย kawfang23 เมื่อ 2012-10-9 15:42

ขอบคุณมากๆ เลยค่ะ
แต่ว่าตอนนี้ปุ่มแชร์มันแชร์ไม่ได้อะค่ะ ทั้งที่ก่อนหน้านี้ยังได้อยู่เลย มันขึ้นแบบนี้อะค่ะ



เปิดใน IE ยิ่งร้ายใหญ่ปุ่มแชร์กลายเป็นแบบนี้


ไม่รู้ว่าของคนอื่นเป็นรึป่าว แต่ของเราพึ่งเป็น ล๊อคอินเฟสก็ล๊อคแล้วนะค่ะไม่รู้ทำไมแชร์ไม่ได้

ขออภัย! โพสต์นี้มีไฟล์แนบหรือรูปภาพที่ไม่ได้รับอนุญาตให้คุณเข้าถึง

คุณจำเป็นต้อง ลงชื่อเข้าใช้ เพื่อดาวน์โหลดหรือดูไฟล์แนบนี้ คุณยังไม่มีบัญชีใช่ไหม? สมัครสมาชิก

x
 เจ้าของ| autum25 โพสต์ 2012-10-10 17:30:15
ลบคุ๊กกี้ครับ
sahawat13 โพสต์ 2013-3-19 12:36:34
ขอบคุณครับ
ขออภัย! คุณไม่ได้รับสิทธิ์ในการดำเนินการในส่วนนี้ กรุณาเลือกอย่างใดอย่างหนึ่ง ลงชื่อเข้าใช้ | สมัครสมาชิก

รายละเอียดเครดิต

รายชื่อผู้กระทำผิด|Archiver|ดิสคัส ไทย Follow us: Become a fan on facebook. Follow us on Twitter.

GMT+7, 2024-4-27 02:22

Powered by Discuz! X3.4, Rev.66

Copyright © 2001-2021 Tencent Cloud. Licensed

ตอบกระทู้ ขึ้นไปด้านบน ไปที่หน้ารายการกระทู้