<div class="post">
	<div class="postinfotop">
		<h2>{{ lang['pm:pm'] }}</h2>
	</div>
	<div class="accsection">
		<div class="topwrap">
			<form method="POST" action="{{ php_self }}?action=delete&pmid={{ pmid }}&location={{ location }}">
			<table class="table table-striped table-bordered">
				<tr align="center">
					<td>
						<a href="{{ pm_inbox_link }}">{{ lang['pm:inbox'] }}</a> | <a href="{{ pm_outbox_link }}">{{ lang['pm:outbox'] }}</a> | <a href="{{ pm_set_link }}">{{ lang['pm:set'] }}</a>
					</td>
				</tr>
				<tr>
					<td width="100%">
						<h2 align="center">{{ subject }}</h2>
						{{ content }}
						<div>{{ lang['pm:from'] }}: <strong>{{ author }}</strong> &nbsp; | &nbsp; {{ pmdate|date('Y-m-d H:i') }}</div>
					</td>
				</tr>
			</table>
			<div class="postinfobot">
				<div class="pull-right">
					<div class="pull-left">
						<button class="btn btn-danger" 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-primary" type="submit">{{ lang['pm:reply'] }}</button>
							</form>
						{% endif %}
					</div>
					<div class="clearfix"></div>
				</div>
				<div class="clearfix"></div>
			</div>
		</div>
	</div>
</div>