เปิดไฟล์ Themes\defeult\MessageIndex.template.php
<search for> ค้นหา ประมาณบรรทัดที่ 135
<td width="14%"><a href="', $scripturl, '?board=', $context['current_board'], '.', $context['start'], ';sort=starter', $context['sort_by'] == 'starter' && $context['sort_direction'] == 'up' ? ';desc' : '', '">', $txt[109], $context['sort_by'] == 'starter' ? ' <img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.gif" alt="" border="0" />' : '', '</a></td>
</search for>
<replace> แก้ไขทับของเดิม
<td width="18%"><span style="float:right"><a href="', $scripturl, '?board=', $context['current_board'], '.', $context['start'], ';sort=first_post', $context['sort_by'] == 'first_post' && $context['sort_direction'] == 'up' ? ';desc' : '', '">', $txt[317], $context['sort_by'] == 'first_post' ? ' <img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.gif" alt="" border="0" />' : '', '</a></span><a href="', $scripturl, '?board=', $context['current_board'], '.', $context['start'], ';sort=starter', $context['sort_by'] == 'starter' && $context['sort_direction'] == 'up' ? ';desc' : '', '">', $txt[109], $context['sort_by'] == 'starter' ? ' <img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.gif" alt="" border="0" />' : '', '</a></td>
</replace>
<search for> ค้นหา ประมาณบรรทัดที่ 138
<td width="24%"><a href="', $scripturl, '?board=', $context['current_board'], '.', $context['start'], ';sort=last_post', $context['sort_by'] == 'last_post' && $context['sort_direction'] == 'up' ? ';desc' : '', '">', $txt[111], $context['sort_by'] == 'last_post' ? ' <img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.gif" alt="" border="0" />' : '', '</a></td>';
<search for>
<replace> แก้ไขทับของเดิม
<td width="18%"><a href="', $scripturl, '?board=', $context['current_board'], '.', $context['start'], ';sort=last_post', $context['sort_by'] == 'last_post' && $context['sort_direction'] == 'up' ? ';desc' : '', '">', $txt[111], $context['sort_by'] == 'last_post' ? ' <img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.gif" alt="" border="0" />' : '', '</a></td>';
</replace>
<search for> ค้นหา ประมาณบรรทัดที่ 180
<td class="windowbg2" valign="middle" width="14%">
', $topic['first_post']['member']['link'], '
<search for>
<replace> แก้ไขทับของเดิม
<td class="windowbg2" valign="middle" width="18%">
', $topic['first_post']['member']['link'], '<br />' . $topic['first_post']['time'] . '
</replace>
<search for> ค้นหา ประมาณบรรทัดที่ 189
<td class="windowbg2" valign="middle" width="22%">
<a href="', $topic['last_post']['href'], '"><img src="', $settings['images_url'], '/icons/last_post.gif" alt="', $txt[111], '" title="', $txt[111], '" border="0" style="float: right;" /></a>
<search for>
<replace> แก้ไขทับของเดิม
<td class="windowbg2" valign="middle" width="18%">
<a href="', $topic['last_post']['href'], '"><img src="', $settings['images_url'], '/icons/last_post.gif" alt="', $txt[111], '" title="', $txt[111], '" border="0" style="float: right;" /></a>
</replace>
ดูตัวอย่างได้ที่
http://rcweb.net/forums-test/?board=2.0Code from RacingWeb Forum Develop SMF 1.1