<!DOCTYPE html>
<html dir="{{ S_CONTENT_DIRECTION }}" lang="{{ S_USER_LANG }}">
<head>
	<meta charset="utf-8" />
	<meta name="robots" content="noindex" />
	{{ META }}
	<title>{{ SITENAME }} &bull; {{ PAGE_TITLE }}</title>

	<link href="{{ T_THEME_PATH }}/print.css" rel="stylesheet" />
	{% EVENT viewtopic_print_head_append %}
</head>

<body id="phpbb" class="{{ S_CONTENT_DIRECTION }}">
	<main id="wrap">
		<header id="page-header">
			<h1>{{ SITENAME }}</h1>
			<p>
				{{ SITE_DESCRIPTION }}<br />
				<a href="{{ U_FORUM }}">{{ U_FORUM }}</a>
			</p>

			<h2>{{ TOPIC_TITLE }}</h2>
			<p><a href="{{ U_TOPIC }}">{{ U_TOPIC }}</a></p>
		</header>

		<section id="page-body" aria-label="{{ L_POSTS }}">
			<p class="page-number" aria-label="{{ PAGE_NUMBER }}">{{ PAGE_NUMBER }}</p>

			{% for postrow in postrow %}
				<article class="post" aria-label="{{ postrow.POST_SUBJECT }}">
					{% if postrow.S_POST_PRIVATE %}
						<p class="date">{{ L_POSTED }}{{ L_COLON }} <strong>{{ postrow.POST_DATE }}</strong></p>
						<p class="author">{{ L_PRIVATE_BY }} <strong>{{ postrow.POST_AUTHOR }}</strong></p>
					{% else %}
						<h3>{{ postrow.POST_SUBJECT }}</h3>
						<p class="date">{{ L_POSTED }}{{ L_COLON }} <strong>{{ postrow.POST_DATE }}</strong></p>
						<p class="author">{{ L_POST_BY_AUTHOR }} <strong>{{ postrow.POST_AUTHOR }}</strong></p>
						<div class="content">{{ postrow.MESSAGE }}</div>
					{% endif %}
				</article>

				<hr />
			{% endfor %}
		</section>

		<footer id="page-footer">
			<p class="page-number">
				{{ S_TIMEZONE }}<br />
				{{ PAGE_NUMBER }}
			</p>

			<div class="copyright">
				<p>{{ CREDIT_LINE }}</p>
				{% if TRANSLATION_INFO %}
					<p>{{ TRANSLATION_INFO }}</p>
				{% endif %}
			</div>
		</footer>
	</main>
</body>
</html>
