<!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 ucp_pm_viewmessage_print_head_append %}
</head>

<body id="phpbb">
	<div id="wrap">

		<header id="page-header">
			<h1>{{ SITENAME }}</h1>
			<p>{{ SITE_DESCRIPTION }}</p>
			<h2>{{ L_PRIVATE_MESSAGING }}</h2>
		</header>

		<main id="page-body">
			<div class="page-number">{{ PAGE_NUMBER }}</div>

			<article class="post">
				<header>
					<h3>{{ SUBJECT }}</h3>
					<p>{{ L_SENT_AT }}&nbsp;<strong>{{ SENT_DATE }}</strong></p>
					<p>{{ L_PM_FROM }}&nbsp;<strong>{{ MESSAGE_AUTHOR }}</strong></p>

					{% if S_TO_RECIPIENT %}
						<p class="author">
							{{ L_TO }}&nbsp;
							<strong>{% for to_recipient in to_recipient %}{{ to_recipient.NAME }}&nbsp;{% endfor %}</strong>
						</p>
					{% endif %}

					{% if S_BCC_RECIPIENT %}
						<p>
							{{ L_BCC }}&nbsp;
							<strong>{% for bcc_recipient in bcc_recipient %}{{ bcc_recipient.NAME }}&nbsp;{% endfor %}</strong>
						</p>
					{% endif %}
				</header>

				<hr />

				<div class="content">{{ MESSAGE }}</div>
			</article>

			<hr />
		</main>

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

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

	</div>
</body>
</html>
