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

[X2] [Mod forumdisplay_list] แสดงรายชื่อกระทู้แบบใหม่ by.por20150

    [คัดลอกลิงก์]
por201502 โพสต์ 2011-10-8 02:17:06 |โหมดอ่าน
แก้ไขครั้งสุดท้ายโดย por201502 เมื่อ 2011-10-8 02:47

แก้ไขครั้งสุดท้ายโดย por201502 เมื่อ 2011-10-8 02:19



ใช้งานได้ทั้ง x2 และ 1.5

ไหนดูหน่อยซิว่าเรามีอะไรบ้าง
  1. แสดงรูปประจำตัวของผู้ตั้งกระทู้นั้นๆ
  2. จัดรูปแบบรายระเอียดกระทู้
  3. เพิ่มรูปภาพกั้นระหว่างกระทู้ปักหมุกกับกระทู้ปกติ
คัดลอกไปที่คลิปบอร์ด
วิธีติดตั้ง
ไปที่ template/สกิน/forum
จากนั้นโหลดไฟล์ forumdisplay_list.htm ต่อไปนี้ ทับไปเลยครับ
*** คำเตือน โปรดสำรองไฟล์ forumdisplay_list.htm เก่า ไว้ด้วย


สำหรับโค้ดที่เพิ่มมานั้นคุณสามารถแทรกเองได้โดย
เปิดไฟล์
x2 ค้นหา
  1. <table summary="forum_$_G[fid]" {if !$separatepos}id="forum_$_G[fid]"{/if} cellspacing="0" cellpadding="0">
  2.                         <!--{if (!$simplestyle || !$_G['forum']['allowside'] && $page == 1) && !empty($announcement)}-->
  3.                                 <tbody>
  4.                                         <tr>
  5.                                                 <td class="icn"><img src="{IMGDIR}/ann_icon.gif" alt="{lang announcement}" /></td>
  6.                                                 <!--{if $_G['forum']['ismoderator'] && !$_G['gp_archiveid']}--><td class="o">&nbsp;</td><!--{/if}-->
  7.                                                 <th><strong class="xst">{lang announcement}: <!--{if empty($announcement['type'])}--><a href="forum.php?mod=announcement&id=$announcement[id]#$announcement[id]" target="_blank">$announcement[subject]</a><!--{else}--><a href="$announcement[message]" target="_blank">$announcement[subject]</a><!--{/if}--></strong></th>
  8.                                                 <td class="by">
  9.                                                         <cite><a href="home.php?mod=space&uid=$announcement[authorid]" c="1">$announcement[author]</a></cite>
  10.                                                         <em>$announcement[starttime]</em>
  11.                                                 </td>
  12.                                                 <td class="num">&nbsp;</td>
  13.                                                 <td class="by">&nbsp;</td>
  14.                                         </tr>
  15.                                 </tbody>
  16.                         <!--{/if}-->
  17.                         <!--{if !$separatepos}-->
  18.                                 <tbody id="separatorline" class="emptb"><tr><td class="icn"></td><!--{if !$_G['gp_archiveid'] && $_G['forum']['ismoderator']}--><td class="o"></td><!--{/if}--><th></th><td class="by"></td><td class="num"></td><td class="by"></td></tr></tbody>
  19.                         <!--{/if}-->
  20.                         <!--{if $_G['forum_threadcount']}-->
  21.                                 <!--{if empty($_G['forum']['picstyle']) || $_G['cookie']['forumdefstyle']}-->
  22.                                         <!--{loop $_G['forum_threadlist'] $key $thread}-->
  23.                                         <!--{if $_G[setting][forumseparator] == 1 && $separatepos == $key + 1}-->
  24.                                                 <tbody id="separatorline">
  25.                                                         <tr class="ts">
  26.                                                                 <td>&nbsp;</td>
  27.                                                                 <!--{if $_G['forum']['ismoderator'] && !$_G['gp_archiveid']}--><td>&nbsp;</td><!--{/if}-->
  28.                                                                 <th><!--{if empty($_G['forum']['picstyle']) && $_G['gp_orderby'] == 'lastpost' && !$_G['gp_filter']}--><a href="javascript:;" onclick="checkForumnew_btn('{$_G['fid']}')" title="{lang showupgrade}" class="forumrefresh">{lang forum_thread}</a><!--{else}-->&nbsp;<!--{/if}--></th><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>
  29.                                                         </tr>
  30.                                                 </tbody>
  31.                                         <!--{/if}-->
  32.                                         <!--{if $separatepos <= $key + 1}-->
  33.                                                 <!--{ad/threadlist}-->
  34.                                         <!--{/if}-->
  35.                                         <tbody id="$thread[id]">
  36.                                                 <tr>
  37.                                                         <td class="icn">
  38.                                                                 <a href="forum.php?mod=viewthread&tid=$thread[icontid]&{if $_G['gp_archiveid']}archiveid={$_G['gp_archiveid']}&{/if}extra=$extra" title="{if $thread['displayorder'] == 1}{lang thread_type1} - {/if}
  39.                                                                         {if $thread['displayorder'] == 2}{lang thread_type2} - {/if}
  40.                                                                         {if $thread['displayorder'] == 3}{lang thread_type3} - {/if}
  41.                                                                         {if $thread['displayorder'] == 4}{lang thread_type4} - {/if}
  42.                                                                         {if $thread[folder] == 'lock'}{lang closed_thread} - {/if}
  43.                                                                         {if $thread['special'] == 1}{lang thread_poll} - {/if}
  44.                                                                         {if $thread['special'] == 2}{lang thread_trade} - {/if}
  45.                                                                         {if $thread['special'] == 3}{lang thread_reward} - {/if}
  46.                                                                         {if $thread['special'] == 4}{lang thread_activity} - {/if}
  47.                                                                         {if $thread['special'] == 5}{lang thread_debate} - {/if}
  48.                                                                         {if $thread[folder] == "new"}{lang have_newreplies} - {/if}
  49.                                                                         {lang target_blank}" target="_blank">
  50.                                                                 <!--{if $thread[folder] == 'lock'}-->
  51.                                                                         <img src="{IMGDIR}/folder_lock.gif" />
  52.                                                                 <!--{elseif $thread['special'] == 1}-->
  53.                                                                         <img src="{IMGDIR}/pollsmall.gif" alt="{lang thread_poll}" />
  54.                                                                 <!--{elseif $thread['special'] == 2}-->
  55.                                                                         <img src="{IMGDIR}/tradesmall.gif" alt="{lang thread_trade}" />
  56.                                                                 <!--{elseif $thread['special'] == 3}-->
  57.                                                                         <img src="{IMGDIR}/rewardsmall.gif" alt="{lang thread_reward}" />
  58.                                                                 <!--{elseif $thread['special'] == 4}-->
  59.                                                                         <img src="{IMGDIR}/activitysmall.gif" alt="{lang thread_activity}" />
  60.                                                                 <!--{elseif $thread['special'] == 5}-->
  61.                                                                         <img src="{IMGDIR}/debatesmall.gif" alt="{lang thread_debate}" />
  62.                                                                 <!--{elseif in_array($thread['displayorder'], array(1, 2, 3, 4))}-->
  63.                                                                         <img src="{IMGDIR}/pin_$thread[displayorder].gif" alt="$_G[setting][threadsticky][3-$thread[displayorder]]" />
  64.                                                                 <!--{else}-->
  65.                                                                         <img src="{IMGDIR}/folder_$thread[folder].gif" />
  66.                                                                 <!--{/if}-->
  67.                                                                 </a>
  68.                                                         </td>
  69.                                                         <!--{if !$_G['gp_archiveid'] && $_G['forum']['ismoderator']}-->
  70.                                                         <td class="o">
  71.                                                                 <!--{if $thread['fid'] == $_G[fid]}-->
  72.                                                                         <!--{if $thread['displayorder'] <= 3 || $_G['adminid'] == 1}-->
  73.                                                                                 <input onclick="tmodclick(this)" type="checkbox" name="moderate[]" value="$thread[tid]" />
  74.                                                                         <!--{else}-->
  75.                                                                                 <input type="checkbox" disabled="disabled" />
  76.                                                                         <!--{/if}-->
  77.                                                                 <!--{else}-->
  78.                                                                         <input type="checkbox" disabled="disabled" />
  79.                                                                 <!--{/if}-->
  80.                                                         </td>
  81.                                                         <!--{/if}-->
  82.                                                         <th class="$thread[folder]">
  83.                                                                 <!--{hook/forumdisplay_thread $key}-->
  84.                                                                 <!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
  85.                                                                                 <!--{eval $thread[tid]=$thread[closed];}-->
  86.                                                                 <!--{/if}-->
  87.                                                                 $thread[typehtml] $thread[sorthtml]
  88.                                                                 <!--{if $thread['moved']}-->
  89.                                                                         {lang thread_moved}:<!--{eval $thread[tid]=$thread[closed];}-->
  90.                                                                 <!--{/if}-->
  91.                                                                 <a href="forum.php?mod=viewthread&tid=$thread[tid]&{if $_G['gp_archiveid']}archiveid={$_G['gp_archiveid']}&{/if}extra=$extra"$thread[highlight]{if $thread['isgroup'] == 1 || $thread['forumstick']} target="_blank"{else} onclick="atarget(this)"{/if} class="xst" >$thread[subject]</a>
  92.                                                                 <!--{if $thread[icon] >= 0}-->
  93.                                                                         <img src="{STATICURL}image/stamp/{$_G[cache][stamps][$thread[icon]][url]}" alt="{$_G[cache][stamps][$thread[icon]][text]}" align="absmiddle" />
  94.                                                                 <!--{/if}-->
  95.                                                                 <!--{if $stemplate && $sortid}-->$stemplate[$sortid][$thread[tid]]<!--{/if}-->
  96.                                                                 <!--{if $thread['readperm']}--> - [{lang readperm} <span class="xw1">$thread[readperm]</span>]<!--{/if}-->
  97.                                                                 <!--{if $thread['price'] > 0}-->
  98.                                                                         <!--{if $thread['special'] == '3'}-->
  99.                                                                         - <span class="xi1">[{lang thread_reward} <span class="xw1">$thread[price]</span> {$_G[setting][extcredits][$_G['setting']['creditstransextra'][2]][unit]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][2]][title]}]</span>
  100.                                                                         <!--{else}-->
  101.                                                                         - [{lang price} <span class="xw1">$thread[price]</span> {$_G[setting][extcredits][$_G['setting']['creditstransextra'][1]][unit]}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][1]][title]}]
  102.                                                                         <!--{/if}-->
  103.                                                                 <!--{elseif $thread['special'] == '3' && $thread['price'] < 0}-->
  104.                                                                         - [{lang reward_solved}]
  105.                                                                 <!--{/if}-->
  106.                                                                 <!--{if $thread['attachment'] == 2}-->
  107.                                                                         <img src="{STATICURL}image/filetype/image_s.gif" alt="attach_img" title="{lang attach_img}" align="absmiddle" />
  108.                                                                 <!--{elseif $thread['attachment'] == 1}-->
  109.                                                                         <img src="{STATICURL}image/filetype/common.gif" alt="attachment" title="{lang attachment}" align="absmiddle" />
  110.                                                                 <!--{/if}-->
  111.                                                                 <!--{if $thread['digest'] > 0 && $filter != 'digest'}-->
  112.                                                                         <img src="{IMGDIR}/digest_$thread[digest].gif" align="absmiddle" alt="digest" title="{lang thread_digest} $thread[digest]" />
  113.                                                                 <!--{/if}-->
  114.                                                                 <!--{if $thread['displayorder'] == 0}-->
  115.                                                                         <!--{if $thread[recommendicon] && $filter != 'recommend'}-->
  116.                                                                                 <img src="{IMGDIR}/recommend_$thread[recommendicon].gif" align="absmiddle" alt="recommend" title="{lang thread_recommend} $thread[recommends]" />
  117.                                                                         <!--{/if}-->
  118.                                                                         <!--{if $thread[heatlevel]}-->
  119.                                                                                 <img src="{IMGDIR}/hot_$thread[heatlevel].gif" align="absmiddle" alt="heatlevel" title="$thread[heatlevel] {lang heats}" />
  120.                                                                         <!--{/if}-->
  121.                                                                         <!--{if $thread['rate'] > 0}-->
  122.                                                                                 <img src="{IMGDIR}/agree.gif" align="absmiddle" alt="agree" title="{lang rate_credit_add}" />
  123.                                                                         <!--{elseif $thread['rate'] < 0}-->
  124.                                                                                 <img src="{IMGDIR}/disagree.gif" align="absmiddle" alt="disagree" title="{lang posts_deducted}" />
  125.                                                                         <!--{/if}-->
  126.                                                                 <!--{/if}-->
  127.                                                                 <!--{if $thread['replycredit'] > 0}-->
  128.                                                                         - <span class="xi1">[{lang replycredit} <strong> $thread['replycredit']</strong> ]</span>
  129.                                                                 <!--{/if}-->
  130.                                                                 <!--{if $thread[multipage]}-->
  131.                                                                         <span class="tps">$thread[multipage]</span>
  132.                                                                 <!--{/if}-->
  133.                                                                 <!--{if $thread['weeknew']}-->
  134.                                                                         <a href="forum.php?mod=redirect&tid=$thread[tid]&goto=lastpost#lastpost" class="xi1">New</a>
  135.                                                                 <!--{/if}-->
  136.                                                                 <!--{if !$thread['forumstick'] && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
  137.                                                                         <!--{if $thread['related_group'] == 0 && $thread['closed'] > 1}-->
  138.                                                                                 <!--{eval $thread[tid]=$thread[closed];}-->
  139.                                                                         <!--{/if}-->
  140.                                                                         <!--{if $groupnames[$thread[tid]]}-->
  141.                                                                                 <span class="fromg xg1"> [{lang from}: <a href="forum.php?mod=forumdisplay&fid={$groupnames[$thread[tid]][fid]}" target="_blank" class="xg1">{$groupnames[$thread[tid]][name]}</a>]</span>
  142.                                                                         <!--{/if}-->
  143.                                                                 <!--{/if}-->
  144.                                                         </th>
  145.                                                         <td class="by">
  146.                                                                 <!--{hook/forumdisplay_author $key}-->
  147.                                                                 <cite>
  148.                                                                 <!--{if $thread['authorid'] && $thread['author']}-->
  149.                                                                         <a href="home.php?mod=space&uid=$thread[authorid]" c="1">$thread[author]</a><!--{if !empty($verify[$thread['authorid']])}--> $verify[$thread[authorid]]<!--{/if}-->
  150.                                                                 <!--{else}-->
  151.                                                                         $_G[setting][anonymoustext]
  152.                                                                 <!--{/if}-->
  153.                                                                 </cite>
  154.                                                                 <em><span{if $thread['istoday']} class="xi1"{/if}>$thread[dateline]</span></em>
  155.                                                         </td>
  156.                                                         <td class="num"><a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra" class="xi2">$thread[replies]</a><em><!--{if $thread['isgroup'] != 1}-->$thread[views]<!--{else}-->{$groupnames[$thread[tid]][views]}<!--{/if}--></em></td>
  157.                                                         <td class="by">
  158.                                                                 <cite><!--{if $thread['lastposter']}--><a href="{if $thread[digest] != -2}home.php?mod=space&username=$thread[lastposterenc]{else}forum.php?mod=viewthread&tid=$thread[tid]&page={echo max(1, $thread[pages]);}{/if}" c="1">$thread[lastposter]</a><!--{else}-->$_G[setting][anonymoustext]<!--{/if}--></cite>
  159.                                                                 <em><a href="{if $thread[digest] != -2}forum.php?mod=redirect&tid=$thread[tid]&goto=lastpost$highlight#lastpost{else}forum.php?mod=viewthread&tid=$thread[tid]&page={echo max(1, $thread[pages]);}{/if}">$thread[lastpost]</a></em>
  160.                                                         </td>
  161.                                                 </tr>
  162.                                         </tbody>
  163.                                         <!--{/loop}-->
  164.                                 <!--{else}-->
  165.                                         </table>
คัดลอกไปที่คลิปบอร์ด
1.5 ค้นหา
  1. <table summary="forum_$_G[fid]" {if !$separatepos}id="forum_$_G[fid]"{/if} cellspacing="0" cellpadding="0">
  2.                         <!--{if (!$simplestyle || !$_G['forum']['allowside'] && $page == 1) && !empty($announcement)}-->
  3.                                 <tbody>
  4.                                         <tr>
  5.                                                 <td class="icn"><img src="{IMGDIR}/ann_icon.gif" alt="{lang announcement}" /></td>
  6.                                                 <!--{if $_G['forum']['ismoderator'] && !$_G['gp_archiveid']}--><td class="o">&nbsp;</td><!--{/if}-->
  7.                                                 <th><strong class="xst">{lang announcement}: <!--{if empty($announcement['type'])}--><a href="forum.php?mod=announcement&id=$announcement[id]#$announcement[id]" target="_blank">$announcement[subject]</a><!--{else}--><a href="$announcement[message]" target="_blank">$announcement[subject]</a><!--{/if}--></strong></th>
  8.                                                 <td class="by">
  9.                                                         <cite><a href="home.php?mod=space&uid=$announcement[authorid]" c="1">$announcement[author]</a></cite>
  10.                                                         <em>$announcement[starttime]</em>
  11.                                                 </td>
  12.                                                 <td class="num">&nbsp;</td>
  13.                                                 <td class="by">&nbsp;</td>
  14.                                         </tr>
  15.                                 </tbody>
  16.                         <!--{/if}-->
  17.                         <!--{if $_G['forum_threadcount']}-->
  18.                                 <!--{loop $_G['forum_threadlist'] $key $thread}-->

  19.                                 <!--{if $_G[setting][forumseparator] == 1 && $separatepos == $key + 1}-->
  20.                                         <tbody>
  21.                                                 <tr class="ts">
  22.                                                         <td>&nbsp;</td>
  23.                                                         <!--{if $_G['forum']['ismoderator'] && !$_G['gp_archiveid']}--><td>&nbsp;</td><!--{/if}-->
  24.                                                         <th>{lang forum_thread}</th><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>
  25.                                                 </tr>
  26.                                         </tbody>
  27.                                 <!--{/if}-->
  28.                                 <!--{if $separatepos <= $key + 1}-->
  29.                                         <!--{ad/threadlist}-->
  30.                                 <!--{/if}-->
  31.                                 <tbody id="$thread[id]">
  32.                                         <tr>
  33.                                                 <td class="icn">
  34.                                                         <a href="forum.php?mod=viewthread&tid=$thread[icontid]&{if $_G['gp_archiveid']}archiveid={$_G['gp_archiveid']}&{/if}extra=$extra" title="{if in_array($thread['displayorder'], array(1, 2, 3, 4))}{if $thread['displayorder'] == 1}{lang thread_type1} - {elseif $thread['displayorder'] == 2}{lang thread_type2} - {elseif $thread['displayorder'] == 3}{lang thread_type3} - {elseif $thread['displayorder'] == 4}{lang thread_type4} - {/if}{/if}{lang target_blank}" target="_blank">
  35.                                                         <!--{if $thread[folder] == 'lock'}-->
  36.                                                                 <img src="{IMGDIR}/folder_lock.gif" />
  37.                                                         <!--{elseif $thread['special'] == 1}-->
  38.                                                                 <img src="{IMGDIR}/pollsmall.gif" alt="{lang thread_poll}" />
  39.                                                         <!--{elseif $thread['special'] == 2}-->
  40.                                                                 <img src="{IMGDIR}/tradesmall.gif" alt="{lang thread_trade}" />
  41.                                                         <!--{elseif $thread['special'] == 3}-->
  42.                                                                 <img src="{IMGDIR}/rewardsmall.gif" alt="{lang thread_reward}" />
  43.                                                         <!--{elseif $thread['special'] == 4}-->
  44.                                                                 <img src="{IMGDIR}/activitysmall.gif" alt="{lang thread_activity}" />
  45.                                                         <!--{elseif $thread['special'] == 5}-->
  46.                                                                 <img src="{IMGDIR}/debatesmall.gif" alt="{lang thread_debate}" />
  47.                                                         <!--{elseif in_array($thread['displayorder'], array(1, 2, 3, 4))}-->
  48.                                                                 <img src="{IMGDIR}/pin_$thread[displayorder].gif" alt="$_G[setting][threadsticky][3-$thread[displayorder]]" />
  49.                                                         <!--{else}-->
  50.                                                                 <img src="{IMGDIR}/folder_$thread[folder].gif" />
  51.                                                         <!--{/if}-->
  52.                                                         </a>
  53.                                                 </td>
  54.                                                 <!--{if !$_G['gp_archiveid'] && $_G['forum']['ismoderator']}-->
  55.                                                 <td class="o">
  56.                                                         <!--{if $thread['fid'] == $_G[fid]}-->
  57.                                                                 <!--{if $thread['displayorder'] <= 3 || $_G['adminid'] == 1}-->
  58.                                                                         <input onclick="tmodclick(this)" type="checkbox" name="moderate[]" value="$thread[tid]" />
  59.                                                                 <!--{else}-->
  60.                                                                         <input type="checkbox" disabled="disabled" />
  61.                                                                 <!--{/if}-->
  62.                                                         <!--{else}-->
  63.                                                                 <input type="checkbox" disabled="disabled" />
  64.                                                         <!--{/if}-->
  65.                                                 </td>
  66.                                                 <!--{/if}-->
  67.                                                 <th class="$thread[folder]">
  68.                                                         <!--{hook/forumdisplay_thread $key}-->
  69.                                                         $thread[sorthtml] $thread[typehtml]
  70.                                                         <!--{if $thread['moved']}-->
  71.                                                                 {lang thread_moved}:<!--{eval $thread[tid]=$thread[closed];}-->
  72.                                                         <!--{/if}-->
  73.                                                         <!--{if $thread['isgroup'] == 1}-->
  74.                                                                 <!--{eval $thread[tid]=$thread[closed];}-->
  75.                                                                 [<a href="forum.php?mod=forumdisplay&action=list&fid={$groupnames[$thread[tid]][fid]}" target="_blank">{$groupnames[$thread[tid]][name]}</a>]
  76.                                                         <!--{/if}-->
  77.                                                         <a href="forum.php?mod=viewthread&tid=$thread[tid]&{if $_G['gp_archiveid']}archiveid={$_G['gp_archiveid']}&{/if}extra=$extra"$thread[highlight]{if $thread['isgroup'] == 1} target="_blank"{/if} onclick="atarget(this)" class="xst">$thread[subject]</a>
  78.                                                         <!--{if $thread[icon] >= 0}-->
  79.                                                                 <img src="{STATICURL}image/stamp/{$_G[cache][stamps][$thread[icon]][url]}" alt="{$_G[cache][stamps][$thread[icon]][text]}" align="absmiddle" />
  80.                                                         <!--{/if}-->
  81.                                                         <!--{if $stemplate && $sortid}-->$stemplate[$sortid][$thread[tid]]<!--{/if}-->
  82.                                                         <!--{if $thread['readperm']}--> - [{lang readperm} <span class="bold">$thread[readperm]</span>]<!--{/if}-->
  83.                                                         <!--{if $thread['price'] > 0}-->
  84.                                                                 <!--{if $thread['special'] == '3'}-->
  85.                                                                 - <span style="color: #C60">[{lang thread_reward}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][2]][title]} <span class="bold">$thread[price]</span> {$_G[setting][extcredits][$_G['setting']['creditstransextra'][2]][unit]}]</span>
  86.                                                                 <!--{else}-->
  87.                                                                 - [{lang price} {$_G[setting][extcredits][$_G['setting']['creditstransextra'][1]][title]} <span class="bold">$thread[price]</span> {$_G[setting][extcredits][$_G['setting']['creditstransextra'][1]][unit]}]
  88.                                                                 <!--{/if}-->
  89.                                                         <!--{elseif $thread['special'] == '3' && $thread['price'] < 0}-->
  90.                                                                 - [{lang reward_solved}]
  91.                                                         <!--{/if}-->
  92.                                                         <!--{if $thread['attachment'] == 2}-->
  93.                                                                 <img src="{STATICURL}image/filetype/image_s.gif" alt="attach_img" title="{lang attach_img}" align="absmiddle" />
  94.                                                         <!--{elseif $thread['attachment'] == 1}-->
  95.                                                                 <img src="{STATICURL}image/filetype/common.gif" alt="attachment" title="{lang attachment}" align="absmiddle" />
  96.                                                         <!--{/if}-->
  97.                                                         <!--{if $thread['displayorder'] == 0}-->
  98.                                                                 <!--{if $thread[recommendicon] && $filter != 'recommend'}-->
  99.                                                                         <img src="{IMGDIR}/recommend_$thread[recommendicon].gif" align="absmiddle" alt="recommend" title="{lang thread_recommend} $thread[recommends]" />
  100.                                                                 <!--{/if}-->
  101.                                                                 <!--{if $thread[heatlevel]}-->
  102.                                                                         <img src="{IMGDIR}/hot_$thread[heatlevel].gif" align="absmiddle" alt="heatlevel" title="$thread[heatlevel] {lang heats}" />
  103.                                                                 <!--{/if}-->
  104.                                                                 <!--{if $thread['digest'] > 0 && $filter != 'digest'}-->
  105.                                                                         <img src="{IMGDIR}/digest_$thread[digest].gif" align="absmiddle" alt="digest" title="{lang thread_digest} $thread[digest]" />
  106.                                                                 <!--{/if}-->
  107.                                                                 <!--{if $thread['rate'] > 0}-->
  108.                                                                         <img src="{IMGDIR}/agree.gif" align="absmiddle" alt="agree" title="{lang rate_credit_add}" />
  109.                                                                 <!--{elseif $thread['rate'] < 0}-->
  110.                                                                         <img src="{IMGDIR}/disagree.gif" align="absmiddle" alt="disagree" title="{lang posts_deducted}" />
  111.                                                                 <!--{/if}-->
  112.                                                         <!--{/if}-->
  113.                                                         <!--{if $thread[multipage]}-->
  114.                                                                 <span class="tps">$thread[multipage]</span>
  115.                                                         <!--{/if}-->
  116.                                                         <!--{if $thread['weeknew']}-->
  117.                                                                 <a href="forum.php?mod=redirect&tid=$thread[tid]&goto=lastpost#lastpost" class="xi1">New</a>
  118.                                                         <!--{/if}-->
  119.                                                 </th>
  120.                                                 <td class="by">
  121.                                                         <!--{hook/forumdisplay_author $key}-->
  122.                                                         <cite>
  123.                                                         <!--{if $thread['authorid'] && $thread['author']}-->
  124.                                                                 <a href="home.php?mod=space&uid=$thread[authorid]" c="1">$thread[author]</a><!--{if !empty($verify[$thread['authorid']])}-->$verify[$thread[authorid]]<!--{/if}-->
  125.                                                         <!--{else}-->
  126.                                                                 <!--{if $_G['forum']['ismoderator']}-->
  127.                                                                         <a href="home.php?mod=space&uid=$thread[authorid]" c="1">{lang anonymous}</a>
  128.                                                                 <!--{else}-->
  129.                                                                         {lang anonymous}
  130.                                                                 <!--{/if}-->
  131.                                                         <!--{/if}-->
  132.                                                         </cite>
  133.                                                         <em>$thread[dateline]</em>
  134.                                                 </td>
  135.                                                 <td class="num"><a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra" class="xi2">$thread[replies]</a><em><!--{if $thread['isgroup'] != 1}-->$thread[views]<!--{else}-->{$groupnames[$thread[tid]][views]}<!--{/if}--></em></td>
  136.                                                 <td class="by">
  137.                                                         <cite><!--{if $thread['lastposter']}--><a href="{if $thread[digest] != -2}home.php?mod=space&username=$thread[lastposterenc]{else}forum.php?mod=viewthread&tid=$thread[tid]&page={echo max(1, $thread[pages]);}{/if}" c="1">$thread[lastposter]</a><!--{else}-->{lang anonymous}<!--{/if}--></cite>
  138.                                                         <em><a href="{if $thread[digest] != -2}forum.php?mod=redirect&tid=$thread[tid]&goto=lastpost$highlight#lastpost{else}forum.php?mod=viewthread&tid=$thread[tid]&page={echo max(1, $thread[pages]);}{/if}">$thread[lastpost]</a></em>
  139.                                                 </td>
  140.                                         </tr>
  141.                                 </tbody>
  142.                                 <!--{/loop}-->
  143.                         <!--{else}-->
  144.                                 <tbody><tr><th colspan="{if !$_G['gp_archiveid'] && $_G['forum']['ismoderator']}6{else}5{/if}"><p class="emp">{lang forum_nothreads}</p></th></tr></tbody>
  145.                         <!--{/if}-->
  146.                         </table>
คัดลอกไปที่คลิปบอร์ด
จากนั้น นำโค้ดนี่ใส่ทับลงไป
  1. <table summary="forum_$_G[fid]" {if !$separatepos}id="forum_$_G[fid]"{/if} cellspacing="0" cellpadding="0">
  2.         <!--{if (!$simplestyle || !$_G['forum']['allowside'] && $page == 1) && !empty($announcement)}-->
  3.         <tbody>
  4.           <tr>
  5.             <td class="icn"><img src="{IMGDIR}/ann_icon.gif" alt="{lang announcement}" /></td>
  6.             <!--{if $_G['forum']['ismoderator'] && !$_G['gp_archiveid']}-->
  7.             <td class="30">&nbsp;</td>
  8.             <!--{/if}-->
  9.             <th colspan="30" ><strong class="xst">{lang announcement}:
  10.               <!--{if empty($announcement['type'])}-->
  11.               <a href="forum.php?mod=announcement&id=$announcement[id]#$announcement[id]" target="_blank">$announcement[subject]</a>
  12.               <!--{else}-->
  13.               <a href="$announcement[message]" target="_blank">$announcement[subject]</a>
  14.               <!--{/if}-->
  15.             </strong></th>
  16.             <td width="185" height="38" align="right" class="by">&nbsp; </td>
  17.             <td class="num">&nbsp;</td>
  18.             <td class="by">&nbsp;</td>
  19.           </tr>
  20.         </tbody>
  21.         <!--{/if}-->
  22.         <!--{if $_G['forum_threadcount']}-->
  23.         <!--{loop $_G['forum_threadlist'] $key $thread}-->
  24.         <!--{if $_G[setting][forumseparator] == 1 && $separatepos == $key + 1}-->
  25.         <tbody>
  26.           <tr class="ts">
  27.             <td>&nbsp;</td>
  28.             <!--{if $_G['forum']['ismoderator'] && !$_G['gp_archiveid']}-->
  29.             <td>&nbsp;</td>
  30.             <!--{/if}-->
  31.             <th><img src="http://bbs.animeox.com/images/default/up4.png" width="450" height="18" /></th>
  32.             <td>&nbsp;</td>
  33.             <td>&nbsp;</td>
  34.             <td>&nbsp;</td>
  35.           </tr>
  36.         </tbody>
  37.         <!--{/if}-->
  38.         <!--{if $separatepos <= $key + 1}-->
  39.         <!--{ad/threadlist}-->
  40.         <!--{/if}-->
  41.         <tbody id="$thread[id]">
  42.           <tr>
  43.             <td class="icn"><a href="forum.php?mod=viewthread&tid=$thread[icontid]&{if $_G['gp_archiveid']}archiveid={$_G['gp_archiveid']}&{/if}extra=$extra" title="{if in_array($thread['displayorder'], array(1, 2, 3, 4))}{if $thread['displayorder'] == 1}{lang thread_type1} - {elseif $thread['displayorder'] == 2}{lang thread_type2} - {elseif $thread['displayorder'] == 3}{lang thread_type3} - {elseif $thread['displayorder'] == 4}{lang thread_type4} - {/if}{/if}{lang target_blank}" target="_blank">
  44.               <!--{if $thread[folder] == 'lock'}-->
  45.               <img src="{IMGDIR}/folder_lock.gif" />
  46.               <!--{elseif $thread['special'] == 1}-->
  47.               <img src="{IMGDIR}/pollsmall.gif" alt="{lang thread_poll}" />
  48.               <!--{elseif $thread['special'] == 2}-->
  49.               <img src="{IMGDIR}/tradesmall.gif" alt="{lang thread_trade}" />
  50.               <!--{elseif $thread['special'] == 3}-->
  51.               <img src="{IMGDIR}/rewardsmall.gif" alt="{lang thread_reward}" />
  52.               <!--{elseif $thread['special'] == 4}-->
  53.               <img src="{IMGDIR}/activitysmall.gif" alt="{lang thread_activity}" />
  54.               <!--{elseif $thread['special'] == 5}-->
  55.               <img src="{IMGDIR}/debatesmall.gif" alt="{lang thread_debate}" />
  56.               <!--{elseif in_array($thread['displayorder'], array(1, 2, 3, 4))}-->
  57.               <img src="{IMGDIR}/pin_$thread[displayorder].gif" alt="$_G[setting][threadsticky][3-$thread[displayorder]]" />
  58.               <!--{else}-->
  59.               <img src="{IMGDIR}/folder_$thread[folder].gif" />
  60.               <!--{/if}-->
  61.             </a> </td>
  62.             <!--{if !$_G['gp_archiveid'] && $_G['forum']['ismoderator']}-->
  63.             <!--{/if}-->
  64.             <td class="o"><img src="uc_server/avatar.php?uid=$thread[authorid]size=big" class="ava_border" width="40px" height="40px" style="border:1px solid #ccc; padding:2px; margin:0px; background-color:#fff;" /></td>
  65.             <th align="left" colspan="30"><div class="avatarbox-info">
  66.               <div class="sub-tit"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $thread[sorthtml] $thread[typehtml]
  67.                 <!--{if $thread['moved']}-->
  68.                 {lang thread_moved}:
  69.                 <!--{eval $thread[tid]=$thread[closed];}-->
  70.                 <!--{/if}-->
  71.                 <!--{if $thread['isgroup'] == 1}-->
  72.                 <!--{eval $thread[tid]=$thread[closed];}-->
  73.                 [<a href="forum.php?mod=forumdisplay&action=list&fid={$groupnames[$thread[tid]][fid]}" target="_blank">{$groupnames[$thread[tid]][name]}</a>]
  74.                 <!--{/if}-->
  75.                 <a href="forum.php?mod=viewthread&tid=$thread[tid]&{if $_G['gp_archiveid']}archiveid={$_G['gp_archiveid']}&{/if}extra=$extra"$thread[highlight]{if $thread['isgroup'] == 1} target="_blank"{/if} onclick="atarget(this)" class="xst">$thread[subject]</a>
  76.                 <!--{if $thread[icon] >= 0}-->
  77.                 <img src="{STATICURL}image/stamp/{$_G[cache][stamps][$thread[icon]][url]}" alt="{$_G[cache][stamps][$thread[icon]][text]}" align="absmiddle" />
  78.                 <!--{/if}-->
  79.                 <!--{if $stemplate && $sortid}-->
  80.                 $stemplate[$sortid][$thread[tid]]
  81.                 <!--{/if}-->
  82.                 <!--{if $thread['readperm']}-->
  83.                 - [{lang readperm} <span class="bold">$thread[readperm]</span>]
  84.                 <!--{/if}-->
  85.                 <!--{if $thread['price'] > 0}-->
  86.                 <!--{if $thread['special'] == '3'}-->
  87.                 - <span style="color: #C60">[{lang thread_reward}{$_G[setting][extcredits][$_G['setting']['creditstransextra'][2]][title]} <span class="bold">$thread[price]</span> {$_G[setting][extcredits][$_G['setting']['creditstransextra'][2]][unit]}]</span>
  88.                 <!--{else}-->
  89.                 - [{lang price} {$_G[setting][extcredits][$_G['setting']['creditstransextra'][1]][title]} <span class="bold">$thread[price]</span> {$_G[setting][extcredits][$_G['setting']['creditstransextra'][1]][unit]}]
  90.                 <!--{/if}-->
  91.                 <!--{elseif $thread['special'] == '3' && $thread['price'] < 0}-->
  92.                 - [{lang reward_solved}]
  93.                 <!--{/if}-->
  94.                 <!--{if $thread['attachment'] == 2}-->
  95.                 <img src="{STATICURL}image/filetype/image_s.gif" alt="attach_img" title="{lang attach_img}" align="absmiddle" />
  96.                 <!--{elseif $thread['attachment'] == 1}-->
  97.                 <img src="{STATICURL}image/filetype/common.gif" alt="attachment" title="{lang attachment}" align="absmiddle" />
  98.                 <!--{/if}-->
  99.                 <!--{if $thread['displayorder'] == 0}-->
  100.                 <!--{if $thread[recommendicon] && $filter != 'recommend'}-->
  101.                 <img src="{IMGDIR}/recommend_$thread[recommendicon].gif" align="absmiddle" alt="recommend" title="{lang thread_recommend} $thread[recommends]" />
  102.                 <!--{/if}-->
  103.                 <!--{if $thread[heatlevel]}-->
  104.                 <img src="{IMGDIR}/hot_$thread[heatlevel].gif" align="absmiddle" alt="heatlevel" title="$thread[heatlevel] {lang heats}" />
  105.                 <!--{/if}-->
  106.                 <!--{if $thread['digest'] > 0 && $filter != 'digest'}-->
  107.                 <img src="{IMGDIR}/digest_$thread[digest].gif" align="absmiddle" alt="digest" title="{lang thread_digest} $thread[digest]" />
  108.                 <!--{/if}-->
  109.                 <!--{if $thread['rate'] > 0}-->
  110.                 <img src="{IMGDIR}/agree.gif" align="absmiddle" alt="agree" title="{lang rate_credit_add}" />
  111.                 <!--{elseif $thread['rate'] < 0}-->
  112.                 <img src="{IMGDIR}/disagree.gif" align="absmiddle" alt="disagree" title="{lang posts_deducted}" />
  113.                 <!--{/if}-->
  114.                 <!--{/if}-->
  115.                 <!--{if $thread[multipage]}-->
  116.                 <span class="tps">$thread[multipage]</span>
  117.                 <!--{/if}-->
  118.                 <!--{if $thread['weeknew']}-->
  119.                 <a href="forum.php?mod=redirect&tid=$thread[tid]&goto=lastpost#lastpost" class="xi1">New</a>
  120.                 <!--{/if}-->
  121.               </div>
  122.               <div class="sub-infos">
  123.                 <!--{hook/forumdisplay_author $key}-->
  124.                 <!--{if $thread['authorid'] && $thread['author']}-->
  125.                 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="home.php?mod=space&uid=$thread[authorid]" c="1">$thread[author]</a>
  126.                 <!--{if !empty($verify[$thread['authorid']])}-->
  127.                 $verify[$thread[authorid]]
  128.                 <!--{/if}-->
  129.                 <!--{else}-->
  130.                 <!--{if $_G['forum']['ismoderator']}-->
  131.                 <a href="home.php?mod=space&uid=$thread[authorid]" c="1">{lang anonymous}</a>
  132.                 <!--{else}-->
  133.                 {lang anonymous}
  134.                 <!--{/if}-->
  135.                 <!--{/if}-->
  136.                 <span>|</span>
  137.                 <!--{if $thread['isgroup'] != 1}-->
  138.                 (เข้าชม $thread[views])
  139.                 <!--{else}-->
  140.                 (<span id="result_box" lang="th" xml:lang="th">เรียก</span>ดู{$groupnames[$thread[tid]][views]})
  141.                 <!--{/if}-->
  142.                 <span>|</span> <a href="forum.php?mod=viewthread&tid=$thread[tid]&extra=$extra" class="xi2">(ตอบ $thread[replies])</a> <span>|</span> โพสต์ล่าสุด:
  143.                 <!--{if $thread['lastposter']}-->
  144.                 <a href="{if $thread[digest] != -2}home.php?mod=space&username=$thread[lastposterenc]{else}forum.php?mod=viewthread&tid=$thread[tid]&page={echo max(1, $thread[pages]);}{/if}" c="1">$thread[lastposter]</a>
  145.                 <!--{else}-->
  146.                 {lang anonymous}
  147.                 <!--{/if}-->
  148.               </div>
  149.             </div></th>
  150.             <td align="right" colspan="5" class="by"><em><a href="{if $thread[digest] != -2}forum.php?mod=redirect&tid=$thread[tid]&goto=lastpost$highlight#lastpost{else}forum.php?mod=viewthread&tid=$thread[tid]&page={echo max(1, $thread[pages]);}{/if}">$thread[lastpost]</a></em> </td>
  151.           </tr>
  152.         </tbody>
  153.         <!--{/loop}-->
  154.         <!--{else}-->
  155.         <tbody>
  156.           <tr>
  157.             <th colspan="{if !$_G['gp_archiveid'] && $_G['forum']['ismoderator']}6{else}5{/if}"><p class="emp">{lang forum_nothreads}</p></th>
  158.           </tr>
  159.         </tbody>
  160.         <!--{/if}-->
  161.       </table>
คัดลอกไปที่คลิปบอร์ด

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

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

x

คะแนน

จำนวนผู้เข้าร่วม 8จิตพิศัย +8 ย่อ เหตุผล
kanda + 1
k1nGdOm + 1 เนื้อหาดีมีสาระ.
aiteebman239 + 1
circle + 1 เนื้อหาดีมีสาระ.
melove2long + 1

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

nkostaro โพสต์ 2011-10-8 02:20:31
แก้ไขครั้งสุดท้ายโดย nkostaro เมื่อ 2011-10-8 02:24

แก้ไขครั้งสุดท้ายโดย nkostaro เมื่อ 2011-10-8 02:24

สวยงามครับ จัดไป ทดสอบดูครับ ขอบคุณครับ


สวยงามมากลองเเล้ว
ปอลอ ใครที่ใช้ ปลั้กอิน Plbeautify 2.1 ปิดด้วยนะครับไม่งั้นมันซ้อนกัน ^^

คะแนน

จำนวนผู้เข้าร่วม 1จิตพิศัย +1 ย่อ เหตุผล
por201502 + 1 ถูกต้องน๊ครับบบบบ.

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

StaFF_PiRcH โพสต์ 2011-10-8 02:29:42
อืม อันที่จริงแจ่มมากเลย เดี่ยวลองทำ
StaFF_PiRcH โพสต์ 2011-10-8 02:42:57
อยากให้มีการจัดระหว่าง ปักหมุด I กับ ปักหมุด II และ ปักหมุด III ให้อยู่แบบคั่นกันหน่ะครับ พอจะทำได้ไหม

เพิ่มเติม ๆ จะได้ทีเดียว ๆ ๕๕๕๕

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

อันนี้ผทยังทำไม่ได้อ่ะ  โพสต์ 2011-10-8 02:48
เห็นด้วย  โพสต์ 2011-10-8 02:47
topwoilz โพสต์ 2011-10-8 02:49:23
สวยสบายตาดีครับขอบคุณมากครับ
MasterTGZ โพสต์ 2011-10-8 08:14:28
โอ้ เยี่ยมครับ ขอบคุณครับ^^
melove2long โพสต์ 2011-10-8 15:17:44
องแล้ว สวยมากครับ
circle โพสต์ 2011-10-9 01:47:55
ขอบคุณครับ
lahu โพสต์ 2011-10-9 09:14:49
ขอบคุณ ครับ
somkid227 โพสต์ 2011-10-10 04:57:06
เอ่อมันทำยังไงหรอครับแบบว่า งงนิดนึงหน่ะครับ ยังไงก็อธิบายอีกนิดนะครับ -..-
ขออภัย! คุณไม่ได้รับสิทธิ์ในการดำเนินการในส่วนนี้ กรุณาเลือกอย่างใดอย่างหนึ่ง ลงชื่อเข้าใช้ | สมัครสมาชิก

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

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

GMT+7, 2024-5-6 17:05

Powered by Discuz! X3.4, Rev.66

Copyright © 2001-2021 Tencent Cloud. Licensed

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