เปิดไฟล์ ./Sources/MessageIndex.php
ค้นหา
คัดลอกโค้ดทั้งหมด
'time' => timeformat($row['first_poster_time']),
'timestamp' => forum_time(true, $row['first_poster_time']),
'subject' => $row['first_subject'],
'preview' => $row['first_body'],
'icon' => $row['first_icon'],
'icon_url' => $settings[$context['icon_sources'][$row['first_icon']]] . '/post/' . $row['first_icon'] . '.gif',
'href' => $scripturl . '?topic=' . $row['id_topic'] . '.0',
'link' => '<a href="' . $scripturl . '?topic=' . $row['id_topic'] . '.0" target="_blank">' . $row['first_subject'] . '</a>'
เพิ่ม
คัดลอกโค้ดทั้งหมด
target="_blank"
ลงไปหลัง '.0" ในส่วนของ
คัดลอกโค้ดทั้งหมด
'link' => '<a href="' . $scripturl . '?topic=' . $row['id_topic'] . '.0">' . $row['first_subject'] . '</a>'
จะได้เป็น
คัดลอกโค้ดทั้งหมด
'time' => timeformat($row['first_poster_time']),
'timestamp' => forum_time(true, $row['first_poster_time']),
'subject' => $row['first_subject'],
'preview' => $row['first_body'],
'icon' => $row['first_icon'],
'icon_url' => $settings[$context['icon_sources'][$row['first_icon']]] . '/post/' . $row['first_icon'] . '.gif',
'href' => $scripturl . '?topic=' . $row['id_topic'] . '.0',
'link' => '<a href="' . $scripturl . '?topic=' . $row['id_topic'] . '.0" target="_blank">' . $row['first_subject'] . '</a>'
http://www.doothaithai.com/read.php?tid-993.html