', $txt['error_occured'], '

', $context['failure'], '

'; // Show the bookmarks, if any. if (!empty($context['bookmarks'])) { $edit = $_GET['sa'] == "edit" || !empty($_GET['t']) && isset($_GET['msg']); echo '
'; if (!$edit) { echo ' '; } echo ' '; foreach ($context['bookmarks'] as $topic) { // Show the topic's subject echo ' '; if ($_GET['sa'] == "edit" && $_GET['id'] == $topic['id'] || $_GET['t'] == $topic['id_topic'] && $_GET['msg'] == $topic['id_msg']) { echo ' '; } else { echo ' '; } if (!$edit) { echo ' '; } echo ' '; } echo '
', $txt['bookmark_list'], '
', $topic['marked_post']['link']; // Any new replies? if ($topic['new']) echo ' ', $txt['new'], ''; // Show the board the topic was posted in, as well as a link to the profile of the topic starter echo '
', $txt['in'], ' ', $topic['board']['link'], '
', $topic['comment'] ? nl2br($topic['comment']) : $txt['bookmark_no_comment'], ' ', $topic['replies'], ' ', $txt['replies'], '
', $topic['views'], ' ', $txt['views'], '
', $topic['marked_post']['time'], '
', $txt['by'], ' ', $topic['marked_post']['member']['link'], '
'; if (!$edit) { echo '
'; } echo '
'; } // Show a message saying there aren't any bookmarks yet else { echo '

', $txt['bookmark_list'], '

', $txt['bookmark_list_empty'], '
'; } } ?>