:: กรุณาอย่าปั่นพีอาลิงก์ หากพบเจอลบยูสเซอร์ โดยไม่มีการชี้แจง ::
0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้
<edit file>$themedir/BoardIndex.template.php</edit file><search for>// latest_post has link, href, time, subject, short_subject (shortened with...), and topic. (its id.) echo ' <b><a href="', $scripturl, '?action=recent">', $txt[214], '</a></b> <div class="smalltext"> ', $txt[234], ' "', $context['latest_post']['link'], '" ', $txt[235], ' (', $context['latest_post']['time'], ')<br /> </div>'; }</search for><add after> // Show lots of posts. elseif (!empty($context['latest_posts'])) { echo ' <table class="windowbg2" cellspacing="1" width="100%" cellpadding="0" border="0"> <tr> <th class="windowbg" align="left" width="40%">',$tex['subject'], '</th> <th class="windowbg" align="left" width="17%">',$tex['send'], '</th> <th class="windowbg" align="left" width="20%">',$tex['department'], '</th> <th class="windowbg" align="left" width="23%">',$tex['date'], '</th> </tr>'; /* Each post in latest_posts has: board (with an id, name, and link.), topic (the topic's id.), poster (with id, name, and link.), subject, short_subject (shortened with...), time, link, and href. */ foreach ($context['latest_posts'] as $post) echo ' <tr> <td class="windowbg" valign="middle" width="40%">', $post['link'], '</td> <td class="windowbg" valign="middle" width="17%">', $post['poster']['link'], '</td> <td class="windowbg" valign="middle" width="20%">', $post['board']['link'], '</td> <td class="windowbg" valign="middle" width=23%">', $post['time'], '</td> </tr>'; echo ' </table>'; } echo ' </td> </tr>'; }</add after><edit file>$themedir/languages.index.thai-utf8.php</edit file><search for>?></search for><add before>$txt['subject'] = 'หัวข้อ';$txt['send'] = 'เริ่มโดย';$txt['department']] = 'บอร์ด';$txt['date'] = 'โพสเมื่อ';</add before>
// latest_post has link, href, time, subject, short_subject (shortened with...), and topic. (its id.) echo ' <b><a href="', $scripturl, '?action=recent">', $txt[214], '</a></b> <div class="smalltext"> ', $txt[234], ' "', $context['latest_post']['link'], '" ', $txt[235], ' (', $context['latest_post']['time'], ')<br /> </div>'; }// Show lots of posts. elseif (!empty($context['latest_posts'])) { echo ' <table width="100%" border="0">'; /* Each post in latest_posts has: board (with an id, name, and link.), topic (the topic's id.), poster (with id, name, and link.), subject, short_subject (shortened with...), time, link, and href. */ foreach ($context['latest_posts'] as $post) echo ' <tr> <td valign="top">', $post['link'], ' ', $txt[525], ' ', $post['poster']['link'], '(', $post['board']['link'], ')</td> <td align="right" valign="top" nowrap="nowrap">', $post['time'], '</td> </tr>'; echo ' </table>';
// Show lots of posts. elseif (!empty($context['latest_posts'])) { echo ' <table cellpadding="0" cellspacing="0" width="100%" border="0">'; /* Each post in latest_posts has: board (with an id, name, and link.), topic (the topic's id.), poster (with id, name, and link.), subject, short_subject (shortened with...), time, link, and href. */ // ----------*** แก้ไขกระทู้เมื่อเร็วๆนี้ให้แสดงผลแบบชัดเจน ***---------- foreach ($context['latest_posts'] as $post) echo ' <tr> <td align="right" valign="top" nowrap="nowrap">[', $post['board']['link'], ']</td> <td valign="top"> ', $post['link'], ' ', $txt[525], ' ', $post['poster']['link'], '</td> <td align="right" valign="top" nowrap="nowrap">', $post['time'], '</td> </tr>'; echo ' </table>';
ทำไมถึงไม่ยอมใช้ภาพจากเว็บตัวเองนะ ทำเป็นมีลับลมคมใน แปลกๆ
คิดมากไปหรือเปล่า- -"1. เว็บตัวเองทำยังไม่เสร็จ2 ธีม default ตรง "หัวข้อเมื่อเร็วๆ นี้" ไม่มี "ตอบ", "อ่าน" ให้กด (เพราะยังไม่เพิ่ม)
ภาพนี้ท่านได้แต่ใดมา ก็ไป ไปค้นหาดูนะ มีแน่นอนในนั้น 100%
พอดีมือใหม่ถอดด้ามอ่ะครับอยากทราบว่าแก้ไขโค๊ส บนโฮสเลยเหรอครับ หรือแก้ไขที่เครื่องเราก่อนแล้วค่อยอัพขึ้นไปทับของเก่าขอบคุณครับ
ไปโหลดมอด Advanced Recent Posts Topics ตัวนี้มาติดตั้งเลยcustom.simplemachines.org/mods/index.php?mod=1069