0 Üye ve 1 Ziyaretçi konuyu incelemekte.
// 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 class="middletext" valign="top" nowrap="nowrap"><b>', $post['link'], '</b> ', $txt[525], ' ', $post['poster']['link'], ' (', $post['board']['link'], ')</td> <td class="middletext" align="right" valign="top" nowrap="nowrap">', $post['time'], '</td> </tr>'; echo ' </table>'; } echo ' </td> </tr>'; }
// 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="43%">Konu</th> <th class="windowbg" align="left" width="12%">Gönderen</th> <th class="windowbg" align="left" width="27%">Bölüm</th> <th class="windowbg" align="left" width="18%">Tarih</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="43%">', $post['link'], '</td> <td class="windowbg" valign="middle" width="12%">', $post['poster']['link'], '</td> <td class="windowbg" valign="middle" width="27%">', $post['board']['link'], '</td> <td class="windowbg" valign="middle" width=18%">', $post['time'], '</td> </tr>'; echo ' </table>'; } echo ' </td> </tr>'; }