<form method="POST" action="{{ php_self }}?action=delete&pmid={{ pmid }}&location={{ location }}">
<h2 class="section_name">{{ lang['pm:pm'] }}</h2>
<article class="box_content">
	<div class="box_in">
		<div class="pm-box">
			<nav id="pm-menu">
				<a href="{{ pm_inbox_link }}"><span>{{ lang['pm:inbox'] }}</span></a>
				<a href="{{ pm_outbox_link }}"><span>{{ lang['pm:outbox'] }}</span></a>
				<a href="{{ pm_set_link }}"><span>{{ lang['pm:set'] }}</span></a>
			</nav>
		</div>
		<div class="comment">
			<div class="com_info">
				<div class="com_user">
					<b class="name">{{ author }}</b>
					<span class="grey">
						{{ lang.theme.pm_from }} {{ pmdate|date('Y-m-d H:i') }}
					</span>
				</div>
			</div>
			<div class="com_content">
				<h4 class="title">{{ subject }}</h4>
				<div class="text">{{ content }}</div>
			</div>
		</div>
		<div class="form_submit" style="padding: 15px 0;">
			<button class="btn btn-big" type="submit">{{ lang['pm:delete_one'] }}</button></form>
			{% if (ifinbox == 1) %}
				<form name="pm" method="POST" action="{{ php_self }}?action=reply&pmid={{ pmid }}" style="display: inline;">
					<button class="btn btn-big" type="submit">{{ lang['pm:reply'] }}</button>
				</form>
			{% endif %}
		</div>
	</div>
</article>