ติดต่อลงโฆษณา [email protected]

ผู้เขียน หัวข้อ: [code] แสดงวันและเวลาที่เริ่มหัวข้อในช่องผู้เริ่มหัวข้อ  (อ่าน 6453 ครั้ง)

0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้

ออฟไลน์ КёngЯacing

  • Administrator
  • *****
  • กระทู้: 284
    • ดูรายละเอียด
เปิดไฟล์ 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.0

Code from RacingWeb Forum Develop SMF 1.1