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
ดู: 4712|ตอบกลับ: 8

[X2] [mod] ใส่กล่องให้ที่ + เครดิตกันเถอะ ^_^ (สำหรับ x2)

    [คัดลอกลิงก์]
MasterTGZ โพสต์ 2011-7-18 10:14:12 |โหมดอ่าน
แก้ไขครั้งสุดท้ายโดย MasterTGZ เมื่อ 2011-5-4 14:26



ไฟล์ template/default/forum/viewthread_node_body.htm

ค้นหาโค้ด
  1. <table class="ratl">
  2.                                                 <tr>
  3.                                                         <th class="xw1" width="120"><a href="forum.php?mod=misc&action=viewratings&tid=$_G[tid]&pid=$post[pid]" onclick="showWindow('viewratings', this.href)" title="{lang rate_view}">{lang have} <span class="xi1"><!--{echo count($postlist[$post[pid]][totalrate]);}--></span> {lang people_score}</a></th>
  4.                                                         <!--{loop $post['ratelogextcredits'] $id $score}-->
  5.                                                         <th width="50"><i>{$_G['setting']['extcredits'][$id][title]}</i></th>
  6.                                                         <!--{/loop}-->
  7.                                                         <th>
  8.                                                                 <a href="javascript:;" onclick="toggleRatelogCollapse('ratelog_$post[pid]', this);" class="y xi2 op"><!--{if !empty($_G['cookie']['ratecollapse'])}-->{lang open}<!--{else}-->{lang pack}<!--{/if}--></a>
  9.                                                                 <i>{lang reason}</i>
  10.                                                         </th>
  11.                                                 </tr>
  12.                                                 <tbody class="ratl_l">
  13.                                                         <!--{loop $post['ratelog'] $uid $ratelog}-->
  14.                                                         <tr id="rate_{$post[pid]}_{$uid}">
  15.                                                                 <td>
  16.                                                                         <a href="home.php?mod=space&uid=$uid" target="_blank" c="1"><!--{echo avatar($uid, 'small');}--></a> <a href="home.php?mod=space&uid=$uid" target="_blank">$ratelog[username]</a>
  17.                                                                 </td>
  18.                                                                 <!--{loop $post['ratelogextcredits'] $id $score}-->
  19.                                                                         <!--{if $ratelog['score'][$id] > 0}-->
  20.                                                                                 <td class="xi1"> + $ratelog[score][$id]</td>
  21.                                                                         <!--{else}-->
  22.                                                                                 <td class="xg1">$ratelog[score][$id]</td>
  23.                                                                         <!--{/if}-->
  24.                                                                 <!--{/loop}-->
  25.                                                                 <td class="xg1">$ratelog[reason]</td>
  26.                                                         </tr>
  27.                                                         <!--{/loop}-->
  28.                                                 </tbody>
  29.                                         </table>
  30.                                         <p class="ratc">
  31.                                                 {lang rate_total}:&nbsp;
  32.                                                 <!--{loop $post['ratelogextcredits'] $id $score}-->
  33.                                                         <!--{if $score > 0}-->
  34.                                                                 <span class="xi1">{$_G['setting']['extcredits'][$id][title]} + $score</span>&nbsp;
  35.                                                         <!--{else}-->
  36.                                                                 <span class="xg1">{$_G['setting']['extcredits'][$id][title]} $score</span>&nbsp;
  37.                                                         <!--{/if}-->
  38.                                                 <!--{/loop}-->
  39.                                                 &nbsp;<a href="forum.php?mod=misc&action=viewratings&tid=$_G[tid]&pid=$post[pid]" onclick="showWindow('viewratings', this.href)" title="{lang rate_view}" class="xi2">{lang rate_view}</a>
  40.                                         </p>
คัดลอกไปที่คลิปบอร์ด
แทนที่ด้วย
  1. <style type="text/css">
  2.                                                 <!--
  3.                                                 .ratl img { border:1px solid #CCCCCC; height:20px; padding:2px; width:20px; }
  4.                                                 -->
  5.                                         </style>
  6.                                         <table class="ratl" style="border:1px solid #CCCCCC;">
  7.                                                 <tr bgcolor="#efeeee">
  8.                                                         <th width="3"></th>
  9.                                                         <th class="xw1" width="120"><a href="forum.php?mod=misc&action=viewratings&tid=$_G[tid]&pid=$post[pid]" onclick="showWindow('viewratings', this.href)" title="{lang rate_view}">{lang have} <span class="xi1"><!--{echo count($postlist[$post[pid]][totalrate]);}--></span> {lang people_score}</a></th>
  10.                                                         <!--{loop $post['ratelogextcredits'] $id $score}-->
  11.                                                         <th width="50"><i>{$_G['setting']['extcredits'][$id][title]}</i></th>
  12.                                                         <!--{/loop}-->
  13.                                                         <th>
  14.                                                                 <a href="javascript:;" onclick="toggleRatelogCollapse('ratelog_$post[pid]', this);" class="y xi2 op"><!--{if !empty($_G['cookie']['ratecollapse'])}-->{lang open}<!--{else}-->{lang pack}<!--{/if}--></a>
  15.                                                                 <i>{lang reason}</i>
  16.                                                         </th>
  17.                                                 </tr>
  18.                                                 <tbody class="ratl_l">
  19.                                                         <!--{loop $post['ratelog'] $uid $ratelog}-->
  20.                                                         <tr id="rate_{$post[pid]}_{$uid}">
  21.                                                                 <td width="3"></td>
  22.                                                                 <td>
  23.                                                                         <a href="home.php?mod=space&uid=$uid" target="_blank" c="1"><!--{echo avatar($uid, 'small');}--></a> <a href="home.php?mod=space&uid=$uid" target="_blank">$ratelog[username]</a>
  24.                                                                 </td>
  25.                                                                 <!--{loop $post['ratelogextcredits'] $id $score}-->
  26.                                                                         <!--{if $ratelog['score'][$id] > 0}-->
  27.                                                                                 <td class="xi1"> + $ratelog[score][$id]</td>
  28.                                                                         <!--{else}-->
  29.                                                                                 <td class="xg1">$ratelog[score][$id]</td>
  30.                                                                         <!--{/if}-->
  31.                                                                 <!--{/loop}-->
  32.                                                                 <td class="xg1">$ratelog[reason]</td>
  33.                                                         </tr>
  34.                                                         <!--{/loop}-->
  35.                                                 </tbody>
  36.                                         </table>
  37.                                         <p class="ratc" style="border: 1px solid #cccccc; border-top:none;background-color:#efeeee;padding-left:5px;">
  38.                                                 {lang rate_total}:&nbsp;
  39.                                                 <!--{loop $post['ratelogextcredits'] $id $score}-->
  40.                                                         <!--{if $score > 0}-->
  41.                                                                 <span class="xi1">{$_G['setting']['extcredits'][$id][title]} + $score</span>&nbsp;
  42.                                                         <!--{else}-->
  43.                                                                 <span class="xg1">{$_G['setting']['extcredits'][$id][title]} $score</span>&nbsp;
  44.                                                         <!--{/if}-->
  45.                                                 <!--{/loop}-->
  46.                                                 &nbsp;<a href="forum.php?mod=misc&action=viewratings&tid=$_G[tid]&pid=$post[pid]" onclick="showWindow('viewratings', this.href)" title="{lang rate_view}" class="xi2">{lang rate_view}</a>
  47.                                         </p>
คัดลอกไปที่คลิปบอร์ด
เครดิต
  1. http://www.discuz.net/thread-1947302-1-9.html
คัดลอกไปที่คลิปบอร์ด
ที่ผมเคยไปตั้งที่ x1.5 ผมไม่มั่นใจนะ แต่ผมลองกับ x1.5 มันไม่ติด แต่ลองกับ x2 มันติด เอ๊ะงง ไม่รู้ยังไง เลยมาตั้งให้ที่ x2 อีกรอบ เพราะกลัวได้เฉพาะ x2 x1.5 ไม่ได้ เอ๊ะงง ไม่รู้ละ ใครทำเป็นอะไรยังไงมาไขให้กระจ่างที x1.5 ผมทำไม่ติด x2 ผมทำติด หรือผมมึนๆเอง - -

คะแนน

จำนวนผู้เข้าร่วม 5จิตพิศัย +5 ย่อ เหตุผล
kaknoi + 1 เห็นด้วยมากๆ
nuzazaja + 1
beautiful + 1
melove2long + 1 โดนใจให้ทิป
Acer_Aspire + 1 เยี่ยมมากๆ

ดูบันทึกคะแนน

Acer_Aspire โพสต์ 2011-7-18 10:53:34
ขอบคุณครับ
joeyman001 โพสต์ 2011-7-18 11:12:35
ภาษาไทย หรือ เปล่าครับ ?
 เจ้าของ| MasterTGZ โพสต์ 2011-7-18 13:42:15
ต้นฉบับโพสต์โดย joeyman001 เมื่อ 2011-7-18 11:12
ภาษาไทย หรือ เปล่าครับ ?

ผมลองใช้แล้ว มีจีนปนไปตัวนึง 555
แปลเอาเองก็ได้ครับ ตัวเดียวเอง
nanglovepoy โพสต์ 2011-9-27 15:31:15


บอกหน่อยนะคับ ขอบคุณ คับ

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

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

x
beautiful โพสต์ 2012-1-12 06:09:57
ใช้ได้ครับขอบคุณครับ
jbservice โพสต์ 2012-1-12 19:10:44
มันจะโชว์ตรงไหนครับ หาไม่เจอหรือต้องกำหนดค่าอะไรไหม
ขอบคุณครับ
nuzazaja โพสต์ 2012-1-12 19:16:31
+1   ขอบคุณครับ
kaknoi โพสต์ 2012-1-25 14:27:20
หาโค้ดไม่เจอ
ขออภัย! คุณไม่ได้รับสิทธิ์ในการดำเนินการในส่วนนี้ กรุณาเลือกอย่างใดอย่างหนึ่ง ลงชื่อเข้าใช้ | สมัครสมาชิก

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

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

GMT+7, 2024-3-28 16:51

Powered by Discuz! X3.4, Rev.66

Copyright © 2001-2021 Tencent Cloud. Licensed

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