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

[X1.5] [mod] ใส่กล่องให้ที่ + เครดิตกันเถอะ ^_^

[คัดลอกลิงก์]
MasterTGZ โพสต์ 2011-5-4 12:55:16 |โหมดอ่าน
แก้ไขครั้งสุดท้ายโดย 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
คัดลอกไปที่คลิปบอร์ด

คะแนน

จำนวนผู้เข้าร่วม 4จิตพิศัย +6 Money +1 ย่อ เหตุผล
rokaisakkon + 1
Bonn121 + 1
MinT + 2 + 1
dsiwarsza + 2

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

dsiwarsza โพสต์ 2011-5-4 13:02:33
ขอบคุณมากครับ
bomwhat โพสต์ 2011-5-4 23:59:01
มีวิธีทำเหมือนดิสคัสไทยไหมครับ

ขอบคุณครับ

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

อ๋อ แบบนั้นไม่ทราบครับ  โพสต์ 2011-5-7 08:22
วิธีทำก็บอกแล้วนิครับ ?  โพสต์ 2011-5-5 07:06
kit34438 โพสต์ 2011-5-6 02:41:06
ขอบบบมากกมาย  :)
kit34438 โพสต์ 2011-5-6 02:45:15
ไส่ไปแล้วมันก็ไม่ขึ้นไรเลยอ่าครับ ?? ทำไงดี ?
kokung โพสต์ 2011-5-6 14:54:14
ขอบใจคราบบบบบบบบ
k2757 โพสต์ 2011-5-7 08:07:02
เอาไปลอง ขอบใจมาก
bomwhat โพสต์ 2011-5-10 17:34:27
ต้นฉบับโพสต์โดย popiazaza เมื่อ 2011-5-9 08:58
ตั้งค่าใน admincp ได้่เลยครับ

มีภาพไหมครับ

ผมหาไม่เจออ่ะครับ

ชี้แนะด้วยครับ
ขออภัย! คุณไม่ได้รับสิทธิ์ในการดำเนินการในส่วนนี้ กรุณาเลือกอย่างใดอย่างหนึ่ง ลงชื่อเข้าใช้ | สมัครสมาชิก

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

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

GMT+7, 2024-5-4 06:32

Powered by Discuz! X3.4, Rev.66

Copyright © 2001-2021 Tencent Cloud. Licensed

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