por201502 โพสต์ 2011-10-8 02:17:06

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

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

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



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

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


สำหรับโค้ดที่เพิ่มมานั้นคุณสามารถแทรกเองได้โดย
เปิดไฟล์
x2 ค้นหา<table summary="forum_$_G" {if !$separatepos}id="forum_$_G"{/if} cellspacing="0" cellpadding="0">
                        <!--{if (!$simplestyle || !$_G['forum']['allowside'] && $page == 1) && !empty($announcement)}-->
                                <tbody>
                                        <tr>
                                                <td class="icn"><img src="{IMGDIR}/ann_icon.gif" alt="{lang announcement}" /></td>
                                                <!--{if $_G['forum']['ismoderator'] && !$_G['gp_archiveid']}--><td class="o">&nbsp;</td><!--{/if}-->
                                                <th><strong class="xst">{lang announcement}: <!--{if empty($announcement['type'])}--><a href="forum.php?mod=announcement&id=$announcement#$announcement" target="_blank">$announcement</a><!--{else}--><a href="$announcement" target="_blank">$announcement</a><!--{/if}--></strong></th>
                                                <td class="by">
                                                        <cite><a href="home.php?mod=space&uid=$announcement" c="1">$announcement</a></cite>
                                                        <em>$announcement</em>
                                                </td>
                                                <td class="num">&nbsp;</td>
                                                <td class="by">&nbsp;</td>
                                        </tr>
                                </tbody>
                        <!--{/if}-->
                        <!--{if !$separatepos}-->
                                <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>
                        <!--{/if}-->
                        <!--{if $_G['forum_threadcount']}-->
                                <!--{if empty($_G['forum']['picstyle']) || $_G['cookie']['forumdefstyle']}-->
                                        <!--{loop $_G['forum_threadlist'] $key $thread}-->
                                        <!--{if $_G == 1 && $separatepos == $key + 1}-->
                                                <tbody id="separatorline">
                                                        <tr class="ts">
                                                                <td>&nbsp;</td>
                                                                <!--{if $_G['forum']['ismoderator'] && !$_G['gp_archiveid']}--><td>&nbsp;</td><!--{/if}-->
                                                                <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>
                                                        </tr>
                                                </tbody>
                                        <!--{/if}-->
                                        <!--{if $separatepos <= $key + 1}-->
                                                <!--{ad/threadlist}-->
                                        <!--{/if}-->
                                        <tbody id="$thread">
                                                <tr>
                                                        <td class="icn">
                                                                <a href="forum.php?mod=viewthread&tid=$thread&{if $_G['gp_archiveid']}archiveid={$_G['gp_archiveid']}&{/if}extra=$extra" title="{if $thread['displayorder'] == 1}{lang thread_type1} - {/if}
                                                                        {if $thread['displayorder'] == 2}{lang thread_type2} - {/if}
                                                                        {if $thread['displayorder'] == 3}{lang thread_type3} - {/if}
                                                                        {if $thread['displayorder'] == 4}{lang thread_type4} - {/if}
                                                                        {if $thread == 'lock'}{lang closed_thread} - {/if}
                                                                        {if $thread['special'] == 1}{lang thread_poll} - {/if}
                                                                        {if $thread['special'] == 2}{lang thread_trade} - {/if}
                                                                        {if $thread['special'] == 3}{lang thread_reward} - {/if}
                                                                        {if $thread['special'] == 4}{lang thread_activity} - {/if}
                                                                        {if $thread['special'] == 5}{lang thread_debate} - {/if}
                                                                        {if $thread == "new"}{lang have_newreplies} - {/if}
                                                                        {lang target_blank}" target="_blank">
                                                                <!--{if $thread == 'lock'}-->
                                                                        <img src="{IMGDIR}/folder_lock.gif" />
                                                                <!--{elseif $thread['special'] == 1}-->
                                                                        <img src="{IMGDIR}/pollsmall.gif" alt="{lang thread_poll}" />
                                                                <!--{elseif $thread['special'] == 2}-->
                                                                        <img src="{IMGDIR}/tradesmall.gif" alt="{lang thread_trade}" />
                                                                <!--{elseif $thread['special'] == 3}-->
                                                                        <img src="{IMGDIR}/rewardsmall.gif" alt="{lang thread_reward}" />
                                                                <!--{elseif $thread['special'] == 4}-->
                                                                        <img src="{IMGDIR}/activitysmall.gif" alt="{lang thread_activity}" />
                                                                <!--{elseif $thread['special'] == 5}-->
                                                                        <img src="{IMGDIR}/debatesmall.gif" alt="{lang thread_debate}" />
                                                                <!--{elseif in_array($thread['displayorder'], array(1, 2, 3, 4))}-->
                                                                        <img src="{IMGDIR}/pin_$thread.gif" alt="$_G]" />
                                                                <!--{else}-->
                                                                        <img src="{IMGDIR}/folder_$thread.gif" />
                                                                <!--{/if}-->
                                                                </a>
                                                        </td>
                                                        <!--{if !$_G['gp_archiveid'] && $_G['forum']['ismoderator']}-->
                                                        <td class="o">
                                                                <!--{if $thread['fid'] == $_G}-->
                                                                        <!--{if $thread['displayorder'] <= 3 || $_G['adminid'] == 1}-->
                                                                                <input onclick="tmodclick(this)" type="checkbox" name="moderate[]" value="$thread" />
                                                                        <!--{else}-->
                                                                                <input type="checkbox" disabled="disabled" />
                                                                        <!--{/if}-->
                                                                <!--{else}-->
                                                                        <input type="checkbox" disabled="disabled" />
                                                                <!--{/if}-->
                                                        </td>
                                                        <!--{/if}-->
                                                        <th class="$thread">
                                                                <!--{hook/forumdisplay_thread $key}-->
                                                                <!--{if !$thread['forumstick'] && $thread['closed'] > 1 && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
                                                                                <!--{eval $thread=$thread;}-->
                                                                <!--{/if}-->
                                                                $thread $thread
                                                                <!--{if $thread['moved']}-->
                                                                        {lang thread_moved}:<!--{eval $thread=$thread;}-->
                                                                <!--{/if}-->
                                                                <a href="forum.php?mod=viewthread&tid=$thread&{if $_G['gp_archiveid']}archiveid={$_G['gp_archiveid']}&{/if}extra=$extra"$thread{if $thread['isgroup'] == 1 || $thread['forumstick']} target="_blank"{else} onclick="atarget(this)"{/if} class="xst" >$thread</a>
                                                                <!--{if $thread >= 0}-->
                                                                        <img src="{STATICURL}image/stamp/{$_G[$thread]}" alt="{$_G[$thread]}" align="absmiddle" />
                                                                <!--{/if}-->
                                                                <!--{if $stemplate && $sortid}-->$stemplate[$sortid][$thread]<!--{/if}-->
                                                                <!--{if $thread['readperm']}--> - [{lang readperm} <span class="xw1">$thread</span>]<!--{/if}-->
                                                                <!--{if $thread['price'] > 0}-->
                                                                        <!--{if $thread['special'] == '3'}-->
                                                                        - <span class="xi1">[{lang thread_reward} <span class="xw1">$thread</span> {$_G[$_G['setting']['creditstransextra']]}{$_G[$_G['setting']['creditstransextra']]}]</span>
                                                                        <!--{else}-->
                                                                        - [{lang price} <span class="xw1">$thread</span> {$_G[$_G['setting']['creditstransextra']]}{$_G[$_G['setting']['creditstransextra']]}]
                                                                        <!--{/if}-->
                                                                <!--{elseif $thread['special'] == '3' && $thread['price'] < 0}-->
                                                                        - [{lang reward_solved}]
                                                                <!--{/if}-->
                                                                <!--{if $thread['attachment'] == 2}-->
                                                                        <img src="{STATICURL}image/filetype/image_s.gif" alt="attach_img" title="{lang attach_img}" align="absmiddle" />
                                                                <!--{elseif $thread['attachment'] == 1}-->
                                                                        <img src="{STATICURL}image/filetype/common.gif" alt="attachment" title="{lang attachment}" align="absmiddle" />
                                                                <!--{/if}-->
                                                                <!--{if $thread['digest'] > 0 && $filter != 'digest'}-->
                                                                        <img src="{IMGDIR}/digest_$thread.gif" align="absmiddle" alt="digest" title="{lang thread_digest} $thread" />
                                                                <!--{/if}-->
                                                                <!--{if $thread['displayorder'] == 0}-->
                                                                        <!--{if $thread && $filter != 'recommend'}-->
                                                                                <img src="{IMGDIR}/recommend_$thread.gif" align="absmiddle" alt="recommend" title="{lang thread_recommend} $thread" />
                                                                        <!--{/if}-->
                                                                        <!--{if $thread}-->
                                                                                <img src="{IMGDIR}/hot_$thread.gif" align="absmiddle" alt="heatlevel" title="$thread {lang heats}" />
                                                                        <!--{/if}-->
                                                                        <!--{if $thread['rate'] > 0}-->
                                                                                <img src="{IMGDIR}/agree.gif" align="absmiddle" alt="agree" title="{lang rate_credit_add}" />
                                                                        <!--{elseif $thread['rate'] < 0}-->
                                                                                <img src="{IMGDIR}/disagree.gif" align="absmiddle" alt="disagree" title="{lang posts_deducted}" />
                                                                        <!--{/if}-->
                                                                <!--{/if}-->
                                                                <!--{if $thread['replycredit'] > 0}-->
                                                                        - <span class="xi1">[{lang replycredit} <strong> $thread['replycredit']</strong> ]</span>
                                                                <!--{/if}-->
                                                                <!--{if $thread}-->
                                                                        <span class="tps">$thread</span>
                                                                <!--{/if}-->
                                                                <!--{if $thread['weeknew']}-->
                                                                        <a href="forum.php?mod=redirect&tid=$thread&goto=lastpost#lastpost" class="xi1">New</a>
                                                                <!--{/if}-->
                                                                <!--{if !$thread['forumstick'] && ($thread['isgroup'] == 1 || $thread['fid'] != $_G['fid'])}-->
                                                                        <!--{if $thread['related_group'] == 0 && $thread['closed'] > 1}-->
                                                                                <!--{eval $thread=$thread;}-->
                                                                        <!--{/if}-->
                                                                        <!--{if $groupnames[$thread]}-->
                                                                                <span class="fromg xg1"> [{lang from}: <a href="forum.php?mod=forumdisplay&fid={$groupnames[$thread]}" target="_blank" class="xg1">{$groupnames[$thread]}</a>]</span>
                                                                        <!--{/if}-->
                                                                <!--{/if}-->
                                                        </th>
                                                        <td class="by">
                                                                <!--{hook/forumdisplay_author $key}-->
                                                                <cite>
                                                                <!--{if $thread['authorid'] && $thread['author']}-->
                                                                        <a href="home.php?mod=space&uid=$thread" c="1">$thread</a><!--{if !empty($verify[$thread['authorid']])}--> $verify[$thread]<!--{/if}-->
                                                                <!--{else}-->
                                                                        $_G
                                                                <!--{/if}-->
                                                                </cite>
                                                                <em><span{if $thread['istoday']} class="xi1"{/if}>$thread</span></em>
                                                        </td>
                                                        <td class="num"><a href="forum.php?mod=viewthread&tid=$thread&extra=$extra" class="xi2">$thread</a><em><!--{if $thread['isgroup'] != 1}-->$thread<!--{else}-->{$groupnames[$thread]}<!--{/if}--></em></td>
                                                        <td class="by">
                                                                <cite><!--{if $thread['lastposter']}--><a href="{if $thread != -2}home.php?mod=space&username=$thread{else}forum.php?mod=viewthread&tid=$thread&page={echo max(1, $thread);}{/if}" c="1">$thread</a><!--{else}-->$_G<!--{/if}--></cite>
                                                                <em><a href="{if $thread != -2}forum.php?mod=redirect&tid=$thread&goto=lastpost$highlight#lastpost{else}forum.php?mod=viewthread&tid=$thread&page={echo max(1, $thread);}{/if}">$thread</a></em>
                                                        </td>
                                                </tr>
                                        </tbody>
                                        <!--{/loop}-->
                                <!--{else}-->
                                        </table>1.5 ค้นหา<table summary="forum_$_G" {if !$separatepos}id="forum_$_G"{/if} cellspacing="0" cellpadding="0">
                        <!--{if (!$simplestyle || !$_G['forum']['allowside'] && $page == 1) && !empty($announcement)}-->
                                <tbody>
                                        <tr>
                                                <td class="icn"><img src="{IMGDIR}/ann_icon.gif" alt="{lang announcement}" /></td>
                                                <!--{if $_G['forum']['ismoderator'] && !$_G['gp_archiveid']}--><td class="o">&nbsp;</td><!--{/if}-->
                                                <th><strong class="xst">{lang announcement}: <!--{if empty($announcement['type'])}--><a href="forum.php?mod=announcement&id=$announcement#$announcement" target="_blank">$announcement</a><!--{else}--><a href="$announcement" target="_blank">$announcement</a><!--{/if}--></strong></th>
                                                <td class="by">
                                                        <cite><a href="home.php?mod=space&uid=$announcement" c="1">$announcement</a></cite>
                                                        <em>$announcement</em>
                                                </td>
                                                <td class="num">&nbsp;</td>
                                                <td class="by">&nbsp;</td>
                                        </tr>
                                </tbody>
                        <!--{/if}-->
                        <!--{if $_G['forum_threadcount']}-->
                                <!--{loop $_G['forum_threadlist'] $key $thread}-->

                                <!--{if $_G == 1 && $separatepos == $key + 1}-->
                                        <tbody>
                                                <tr class="ts">
                                                        <td>&nbsp;</td>
                                                        <!--{if $_G['forum']['ismoderator'] && !$_G['gp_archiveid']}--><td>&nbsp;</td><!--{/if}-->
                                                        <th>{lang forum_thread}</th><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>
                                                </tr>
                                        </tbody>
                                <!--{/if}-->
                                <!--{if $separatepos <= $key + 1}-->
                                        <!--{ad/threadlist}-->
                                <!--{/if}-->
                                <tbody id="$thread">
                                        <tr>
                                                <td class="icn">
                                                        <a href="forum.php?mod=viewthread&tid=$thread&{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">
                                                        <!--{if $thread == 'lock'}-->
                                                                <img src="{IMGDIR}/folder_lock.gif" />
                                                        <!--{elseif $thread['special'] == 1}-->
                                                                <img src="{IMGDIR}/pollsmall.gif" alt="{lang thread_poll}" />
                                                        <!--{elseif $thread['special'] == 2}-->
                                                                <img src="{IMGDIR}/tradesmall.gif" alt="{lang thread_trade}" />
                                                        <!--{elseif $thread['special'] == 3}-->
                                                                <img src="{IMGDIR}/rewardsmall.gif" alt="{lang thread_reward}" />
                                                        <!--{elseif $thread['special'] == 4}-->
                                                                <img src="{IMGDIR}/activitysmall.gif" alt="{lang thread_activity}" />
                                                        <!--{elseif $thread['special'] == 5}-->
                                                                <img src="{IMGDIR}/debatesmall.gif" alt="{lang thread_debate}" />
                                                        <!--{elseif in_array($thread['displayorder'], array(1, 2, 3, 4))}-->
                                                                <img src="{IMGDIR}/pin_$thread.gif" alt="$_G]" />
                                                        <!--{else}-->
                                                                <img src="{IMGDIR}/folder_$thread.gif" />
                                                        <!--{/if}-->
                                                        </a>
                                                </td>
                                                <!--{if !$_G['gp_archiveid'] && $_G['forum']['ismoderator']}-->
                                                <td class="o">
                                                        <!--{if $thread['fid'] == $_G}-->
                                                                <!--{if $thread['displayorder'] <= 3 || $_G['adminid'] == 1}-->
                                                                        <input onclick="tmodclick(this)" type="checkbox" name="moderate[]" value="$thread" />
                                                                <!--{else}-->
                                                                        <input type="checkbox" disabled="disabled" />
                                                                <!--{/if}-->
                                                        <!--{else}-->
                                                                <input type="checkbox" disabled="disabled" />
                                                        <!--{/if}-->
                                                </td>
                                                <!--{/if}-->
                                                <th class="$thread">
                                                        <!--{hook/forumdisplay_thread $key}-->
                                                        $thread $thread
                                                        <!--{if $thread['moved']}-->
                                                                {lang thread_moved}:<!--{eval $thread=$thread;}-->
                                                        <!--{/if}-->
                                                        <!--{if $thread['isgroup'] == 1}-->
                                                                <!--{eval $thread=$thread;}-->
                                                                [<a href="forum.php?mod=forumdisplay&action=list&fid={$groupnames[$thread]}" target="_blank">{$groupnames[$thread]}</a>]
                                                        <!--{/if}-->
                                                        <a href="forum.php?mod=viewthread&tid=$thread&{if $_G['gp_archiveid']}archiveid={$_G['gp_archiveid']}&{/if}extra=$extra"$thread{if $thread['isgroup'] == 1} target="_blank"{/if} onclick="atarget(this)" class="xst">$thread</a>
                                                        <!--{if $thread >= 0}-->
                                                                <img src="{STATICURL}image/stamp/{$_G[$thread]}" alt="{$_G[$thread]}" align="absmiddle" />
                                                        <!--{/if}-->
                                                        <!--{if $stemplate && $sortid}-->$stemplate[$sortid][$thread]<!--{/if}-->
                                                        <!--{if $thread['readperm']}--> - [{lang readperm} <span class="bold">$thread</span>]<!--{/if}-->
                                                        <!--{if $thread['price'] > 0}-->
                                                                <!--{if $thread['special'] == '3'}-->
                                                                - <span style="color: #C60">[{lang thread_reward}{$_G[$_G['setting']['creditstransextra']]} <span class="bold">$thread</span> {$_G[$_G['setting']['creditstransextra']]}]</span>
                                                                <!--{else}-->
                                                                - [{lang price} {$_G[$_G['setting']['creditstransextra']]} <span class="bold">$thread</span> {$_G[$_G['setting']['creditstransextra']]}]
                                                                <!--{/if}-->
                                                        <!--{elseif $thread['special'] == '3' && $thread['price'] < 0}-->
                                                                - [{lang reward_solved}]
                                                        <!--{/if}-->
                                                        <!--{if $thread['attachment'] == 2}-->
                                                                <img src="{STATICURL}image/filetype/image_s.gif" alt="attach_img" title="{lang attach_img}" align="absmiddle" />
                                                        <!--{elseif $thread['attachment'] == 1}-->
                                                                <img src="{STATICURL}image/filetype/common.gif" alt="attachment" title="{lang attachment}" align="absmiddle" />
                                                        <!--{/if}-->
                                                        <!--{if $thread['displayorder'] == 0}-->
                                                                <!--{if $thread && $filter != 'recommend'}-->
                                                                        <img src="{IMGDIR}/recommend_$thread.gif" align="absmiddle" alt="recommend" title="{lang thread_recommend} $thread" />
                                                                <!--{/if}-->
                                                                <!--{if $thread}-->
                                                                        <img src="{IMGDIR}/hot_$thread.gif" align="absmiddle" alt="heatlevel" title="$thread {lang heats}" />
                                                                <!--{/if}-->
                                                                <!--{if $thread['digest'] > 0 && $filter != 'digest'}-->
                                                                        <img src="{IMGDIR}/digest_$thread.gif" align="absmiddle" alt="digest" title="{lang thread_digest} $thread" />
                                                                <!--{/if}-->
                                                                <!--{if $thread['rate'] > 0}-->
                                                                        <img src="{IMGDIR}/agree.gif" align="absmiddle" alt="agree" title="{lang rate_credit_add}" />
                                                                <!--{elseif $thread['rate'] < 0}-->
                                                                        <img src="{IMGDIR}/disagree.gif" align="absmiddle" alt="disagree" title="{lang posts_deducted}" />
                                                                <!--{/if}-->
                                                        <!--{/if}-->
                                                        <!--{if $thread}-->
                                                                <span class="tps">$thread</span>
                                                        <!--{/if}-->
                                                        <!--{if $thread['weeknew']}-->
                                                                <a href="forum.php?mod=redirect&tid=$thread&goto=lastpost#lastpost" class="xi1">New</a>
                                                        <!--{/if}-->
                                                </th>
                                                <td class="by">
                                                        <!--{hook/forumdisplay_author $key}-->
                                                        <cite>
                                                        <!--{if $thread['authorid'] && $thread['author']}-->
                                                                <a href="home.php?mod=space&uid=$thread" c="1">$thread</a><!--{if !empty($verify[$thread['authorid']])}-->$verify[$thread]<!--{/if}-->
                                                        <!--{else}-->
                                                                <!--{if $_G['forum']['ismoderator']}-->
                                                                        <a href="home.php?mod=space&uid=$thread" c="1">{lang anonymous}</a>
                                                                <!--{else}-->
                                                                        {lang anonymous}
                                                                <!--{/if}-->
                                                        <!--{/if}-->
                                                        </cite>
                                                        <em>$thread</em>
                                                </td>
                                                <td class="num"><a href="forum.php?mod=viewthread&tid=$thread&extra=$extra" class="xi2">$thread</a><em><!--{if $thread['isgroup'] != 1}-->$thread<!--{else}-->{$groupnames[$thread]}<!--{/if}--></em></td>
                                                <td class="by">
                                                        <cite><!--{if $thread['lastposter']}--><a href="{if $thread != -2}home.php?mod=space&username=$thread{else}forum.php?mod=viewthread&tid=$thread&page={echo max(1, $thread);}{/if}" c="1">$thread</a><!--{else}-->{lang anonymous}<!--{/if}--></cite>
                                                        <em><a href="{if $thread != -2}forum.php?mod=redirect&tid=$thread&goto=lastpost$highlight#lastpost{else}forum.php?mod=viewthread&tid=$thread&page={echo max(1, $thread);}{/if}">$thread</a></em>
                                                </td>
                                        </tr>
                                </tbody>
                                <!--{/loop}-->
                        <!--{else}-->
                                <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>
                        <!--{/if}-->
                        </table>จากนั้น นำโค้ดนี่ใส่ทับลงไป<table summary="forum_$_G" {if !$separatepos}id="forum_$_G"{/if} cellspacing="0" cellpadding="0">
      <!--{if (!$simplestyle || !$_G['forum']['allowside'] && $page == 1) && !empty($announcement)}-->
      <tbody>
          <tr>
            <td class="icn"><img src="{IMGDIR}/ann_icon.gif" alt="{lang announcement}" /></td>
            <!--{if $_G['forum']['ismoderator'] && !$_G['gp_archiveid']}-->
            <td class="30">&nbsp;</td>
            <!--{/if}-->
            <th colspan="30" ><strong class="xst">{lang announcement}:
            <!--{if empty($announcement['type'])}-->
            <a href="forum.php?mod=announcement&id=$announcement#$announcement" target="_blank">$announcement</a>
            <!--{else}-->
            <a href="$announcement" target="_blank">$announcement</a>
            <!--{/if}-->
            </strong></th>
            <td width="185" height="38" align="right" class="by">&nbsp; </td>
            <td class="num">&nbsp;</td>
            <td class="by">&nbsp;</td>
          </tr>
      </tbody>
      <!--{/if}-->
      <!--{if $_G['forum_threadcount']}-->
      <!--{loop $_G['forum_threadlist'] $key $thread}-->
      <!--{if $_G == 1 && $separatepos == $key + 1}-->
      <tbody>
          <tr class="ts">
            <td>&nbsp;</td>
            <!--{if $_G['forum']['ismoderator'] && !$_G['gp_archiveid']}-->
            <td>&nbsp;</td>
            <!--{/if}-->
            <th><img src="http://bbs.animeox.com/images/default/up4.png" width="450" height="18" /></th>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
      </tbody>
      <!--{/if}-->
      <!--{if $separatepos <= $key + 1}-->
      <!--{ad/threadlist}-->
      <!--{/if}-->
      <tbody id="$thread">
          <tr>
            <td class="icn"><a href="forum.php?mod=viewthread&tid=$thread&{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">
            <!--{if $thread == 'lock'}-->
            <img src="{IMGDIR}/folder_lock.gif" />
            <!--{elseif $thread['special'] == 1}-->
            <img src="{IMGDIR}/pollsmall.gif" alt="{lang thread_poll}" />
            <!--{elseif $thread['special'] == 2}-->
            <img src="{IMGDIR}/tradesmall.gif" alt="{lang thread_trade}" />
            <!--{elseif $thread['special'] == 3}-->
            <img src="{IMGDIR}/rewardsmall.gif" alt="{lang thread_reward}" />
            <!--{elseif $thread['special'] == 4}-->
            <img src="{IMGDIR}/activitysmall.gif" alt="{lang thread_activity}" />
            <!--{elseif $thread['special'] == 5}-->
            <img src="{IMGDIR}/debatesmall.gif" alt="{lang thread_debate}" />
            <!--{elseif in_array($thread['displayorder'], array(1, 2, 3, 4))}-->
            <img src="{IMGDIR}/pin_$thread.gif" alt="$_G]" />
            <!--{else}-->
            <img src="{IMGDIR}/folder_$thread.gif" />
            <!--{/if}-->
            </a> </td>
            <!--{if !$_G['gp_archiveid'] && $_G['forum']['ismoderator']}-->
            <!--{/if}-->
            <td class="o"><img src="uc_server/avatar.php?uid=$threadsize=big" class="ava_border" width="40px" height="40px" style="border:1px solid #ccc; padding:2px; margin:0px; background-color:#fff;" /></td>
            <th align="left" colspan="30"><div class="avatarbox-info">
            <div class="sub-tit"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $thread $thread
                <!--{if $thread['moved']}-->
                {lang thread_moved}:
                <!--{eval $thread=$thread;}-->
                <!--{/if}-->
                <!--{if $thread['isgroup'] == 1}-->
                <!--{eval $thread=$thread;}-->
                [<a href="forum.php?mod=forumdisplay&action=list&fid={$groupnames[$thread]}" target="_blank">{$groupnames[$thread]}</a>]
                <!--{/if}-->
                <a href="forum.php?mod=viewthread&tid=$thread&{if $_G['gp_archiveid']}archiveid={$_G['gp_archiveid']}&{/if}extra=$extra"$thread{if $thread['isgroup'] == 1} target="_blank"{/if} onclick="atarget(this)" class="xst">$thread</a>
                <!--{if $thread >= 0}-->
                <img src="{STATICURL}image/stamp/{$_G[$thread]}" alt="{$_G[$thread]}" align="absmiddle" />
                <!--{/if}-->
                <!--{if $stemplate && $sortid}-->
                $stemplate[$sortid][$thread]
                <!--{/if}-->
                <!--{if $thread['readperm']}-->
                - [{lang readperm} <span class="bold">$thread</span>]
                <!--{/if}-->
                <!--{if $thread['price'] > 0}-->
                <!--{if $thread['special'] == '3'}-->
                - <span style="color: #C60">[{lang thread_reward}{$_G[$_G['setting']['creditstransextra']]} <span class="bold">$thread</span> {$_G[$_G['setting']['creditstransextra']]}]</span>
                <!--{else}-->
                - [{lang price} {$_G[$_G['setting']['creditstransextra']]} <span class="bold">$thread</span> {$_G[$_G['setting']['creditstransextra']]}]
                <!--{/if}-->
                <!--{elseif $thread['special'] == '3' && $thread['price'] < 0}-->
                - [{lang reward_solved}]
                <!--{/if}-->
                <!--{if $thread['attachment'] == 2}-->
                <img src="{STATICURL}image/filetype/image_s.gif" alt="attach_img" title="{lang attach_img}" align="absmiddle" />
                <!--{elseif $thread['attachment'] == 1}-->
                <img src="{STATICURL}image/filetype/common.gif" alt="attachment" title="{lang attachment}" align="absmiddle" />
                <!--{/if}-->
                <!--{if $thread['displayorder'] == 0}-->
                <!--{if $thread && $filter != 'recommend'}-->
                <img src="{IMGDIR}/recommend_$thread.gif" align="absmiddle" alt="recommend" title="{lang thread_recommend} $thread" />
                <!--{/if}-->
                <!--{if $thread}-->
                <img src="{IMGDIR}/hot_$thread.gif" align="absmiddle" alt="heatlevel" title="$thread {lang heats}" />
                <!--{/if}-->
                <!--{if $thread['digest'] > 0 && $filter != 'digest'}-->
                <img src="{IMGDIR}/digest_$thread.gif" align="absmiddle" alt="digest" title="{lang thread_digest} $thread" />
                <!--{/if}-->
                <!--{if $thread['rate'] > 0}-->
                <img src="{IMGDIR}/agree.gif" align="absmiddle" alt="agree" title="{lang rate_credit_add}" />
                <!--{elseif $thread['rate'] < 0}-->
                <img src="{IMGDIR}/disagree.gif" align="absmiddle" alt="disagree" title="{lang posts_deducted}" />
                <!--{/if}-->
                <!--{/if}-->
                <!--{if $thread}-->
                <span class="tps">$thread</span>
                <!--{/if}-->
                <!--{if $thread['weeknew']}-->
                <a href="forum.php?mod=redirect&tid=$thread&goto=lastpost#lastpost" class="xi1">New</a>
                <!--{/if}-->
            </div>
            <div class="sub-infos">
                <!--{hook/forumdisplay_author $key}-->
                <!--{if $thread['authorid'] && $thread['author']}-->
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="home.php?mod=space&uid=$thread" c="1">$thread</a>
                <!--{if !empty($verify[$thread['authorid']])}-->
                $verify[$thread]
                <!--{/if}-->
                <!--{else}-->
                <!--{if $_G['forum']['ismoderator']}-->
                <a href="home.php?mod=space&uid=$thread" c="1">{lang anonymous}</a>
                <!--{else}-->
                {lang anonymous}
                <!--{/if}-->
                <!--{/if}-->
                <span>|</span>
                <!--{if $thread['isgroup'] != 1}-->
                (เข้าชม $thread)
                <!--{else}-->
                (<span id="result_box" lang="th" xml:lang="th">เรียก</span>ดู{$groupnames[$thread]})
                <!--{/if}-->
                <span>|</span> <a href="forum.php?mod=viewthread&tid=$thread&extra=$extra" class="xi2">(ตอบ $thread)</a> <span>|</span> โพสต์ล่าสุด:
                <!--{if $thread['lastposter']}-->
                <a href="{if $thread != -2}home.php?mod=space&username=$thread{else}forum.php?mod=viewthread&tid=$thread&page={echo max(1, $thread);}{/if}" c="1">$thread</a>
                <!--{else}-->
                {lang anonymous}
                <!--{/if}-->
            </div>
            </div></th>
            <td align="right" colspan="5" class="by"><em><a href="{if $thread != -2}forum.php?mod=redirect&tid=$thread&goto=lastpost$highlight#lastpost{else}forum.php?mod=viewthread&tid=$thread&page={echo max(1, $thread);}{/if}">$thread</a></em> </td>
          </tr>
      </tbody>
      <!--{/loop}-->
      <!--{else}-->
      <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>
      <!--{/if}-->
      </table>

nkostaro โพสต์ 2011-10-8 02:20:31

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

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

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


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

StaFF_PiRcH โพสต์ 2011-10-8 02:29:42

sm940dz อืม อันที่จริงแจ่มมากเลย เดี่ยวลองทำ

StaFF_PiRcH โพสต์ 2011-10-8 02:42:57

อยากให้มีการจัดระหว่าง ปักหมุด I กับ ปักหมุด II และ ปักหมุด III ให้อยู่แบบคั่นกันหน่ะครับ พอจะทำได้ไหม sm933dz

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

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

ขอบคุณครับ sm901dz

lahu โพสต์ 2011-10-9 09:14:49

ขอบคุณ ครับ

somkid227 โพสต์ 2011-10-10 04:57:06

เอ่อมันทำยังไงหรอครับแบบว่า งงนิดนึงหน่ะครับ ยังไงก็อธิบายอีกนิดนะครับ -..-
หน้า: [1] 2
ดูในรูปแบบกติ: [Mod forumdisplay_list] แสดงรายชื่อกระทู้แบบใหม่ by.por20150