<form method="POST" action="{{ php_self }}?action=delete&pmid={{ pmid }}&location={{ location }}" style="display: inline;">
<div class="pm-page">
	<header class="sub-title"><h1>{{ lang['pm:pm'] }}</h1></header>
	<ul class="pm-menu">
		<li><a href="{{ pm_inbox_link }}">{{ lang['pm:inbox'] }}</a></li>
		<li><a href="{{ pm_outbox_link }}">{{ lang['pm:outbox'] }}</a></li>
		<li><a href="{{ pm_set_link }}">{{ lang['pm:set'] }}</a></li>
	</ul>
	<h1>{{ subject }}</h1>
	<div class="comm-item clearfix">
		<div class="comm-left img-box">
			<img src="{{ avatar }}" alt=""/>
		</div>
		<div class="comm-right">
			<div class="comm-one clearfix">
				<span class="comm-author">{{ author }}</span>
				<span>{{ pmdate|date('Y-m-d H:i') }}</span>
			</div>
			<div class="comm-two clearfix full-text">
				{{ content }}
			</div>
		</div>
	</div>
	<div class="form-submit" style="margin-top:10px;">
		<button 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 type="submit">{{ lang['pm:reply'] }}</button>
			</form>
		{% endif %}
	</div>
</div>