', $txt['print_page'], ' - ', $context['topic_subject'], '

', $context['forum_name_html_safe'], '

', $context['category_name'], ' => ', (!empty($context['parent_boards']) ? implode(' => ', $context['parent_boards']) . ' => ' : ''), $context['board_name'], ' => ', $txt['topic_started'], ': ', $context['poster_name'], ' ', $txt['search_on'], ' ', $context['post_time'], '

'; } function template_main() { global $context, $options, $txt, $scripturl, $topic; if (!empty($context['poll'])) { echo '
', $txt['poll'], '
', $txt['poll_question'], ': ', $context['poll']['question'], ''; $options = 1; foreach ($context['poll']['options'] as $option) echo '
', $txt['option'], ' ', $options++, ': ', $option['option'], ' ', $context['allow_poll_view'] ? $txt['votes'] . ': ' . $option['votes'] . '' : '', '
'; echo '
'; } foreach ($context['posts'] as $post) { echo '
', $txt['title'], ': ', $post['subject'], '
', $txt['post_by'], ': ', $post['member'], ' ', $txt['search_on'], ' ', $post['time'], '
', $post['body']; // Show attachment images if (isset($_GET['images']) && !empty($context['printattach'][$post['id_msg']])) { echo '
'; foreach ($context['printattach'][$post['id_msg']] as $attach) echo ' '; } echo '
'; } } function template_print_below() { global $topic, $txt, $scripturl; $url_text = $scripturl . '?action=printpage;topic=' . $topic . '.0'; $url_images = $url_text . ';images'; echo '
'; } ?>