<table cellspacing="2" cellpadding="2" border="0" align="center">
<tr>
<td><?php echo isset($this->vars['INBOX_IMG']) ? $this->vars['INBOX_IMG'] : ''; ?></td>
<td class="nav"><?php echo isset($this->vars['INBOX']) ? $this->vars['INBOX'] : ''; ?> &nbsp;</td>
<td><?php echo isset($this->vars['SENTBOX_IMG']) ? $this->vars['SENTBOX_IMG'] : ''; ?></td>
<td class="nav"><?php echo isset($this->vars['SENTBOX']) ? $this->vars['SENTBOX'] : ''; ?> &nbsp;</td>
<td><?php echo isset($this->vars['OUTBOX_IMG']) ? $this->vars['OUTBOX_IMG'] : ''; ?></td>
<td class="nav"><?php echo isset($this->vars['OUTBOX']) ? $this->vars['OUTBOX'] : ''; ?> &nbsp;</td>
<td><?php echo isset($this->vars['SAVEBOX_IMG']) ? $this->vars['SAVEBOX_IMG'] : ''; ?></td>
<td class="nav"><?php echo isset($this->vars['SAVEBOX']) ? $this->vars['SAVEBOX'] : ''; ?> &nbsp;</td>
</tr>
</table>
<br clear="all" />
<form method="post" action="<?php echo isset($this->vars['S_PRIVMSGS_ACTION']) ? $this->vars['S_PRIVMSGS_ACTION'] : ''; ?>">
<table width="100%" cellspacing="2" cellpadding="2" border="0">
<tr>
<td><?php echo isset($this->vars['REPLY_PM_IMG']) ? $this->vars['REPLY_PM_IMG'] : ''; ?></td>
<td width="100%" class="nav">&nbsp;<a href="<?php echo isset($this->vars['U_INDEX']) ? $this->vars['U_INDEX'] : ''; ?>"><?php echo isset($this->vars['L_INDEX']) ? $this->vars['L_INDEX'] : ''; ?></a></td>
</tr>
</table>
<table border="0" cellpadding="3" cellspacing="1" width="100%" class="forumline">
<tr>
<th colspan="3"><?php echo isset($this->vars['BOX_NAME']) ? $this->vars['BOX_NAME'] : ''; ?> :: <?php echo isset($this->vars['L_MESSAGE']) ? $this->vars['L_MESSAGE'] : ''; ?></th>
</tr>
<tr>
<td class="row2"><span class="genmed"><?php echo isset($this->vars['L_FROM']) ? $this->vars['L_FROM'] : ''; ?>:</span></td>
<td class="row2" colspan="2"><span class="genmed"><?php echo isset($this->vars['MESSAGE_FROM']) ? $this->vars['MESSAGE_FROM'] : ''; ?></span></td>
</tr>
<tr>
<td class="row2"><span class="genmed"><?php echo isset($this->vars['L_TO']) ? $this->vars['L_TO'] : ''; ?>:</span></td>
<td class="row2" colspan="2"><span class="genmed"><?php echo isset($this->vars['MESSAGE_TO']) ? $this->vars['MESSAGE_TO'] : ''; ?></span></td>
</tr>
<tr>
<td class="row2"><span class="genmed"><?php echo isset($this->vars['L_POSTED']) ? $this->vars['L_POSTED'] : ''; ?>:</span></td>
<td class="row2" colspan="2"><span class="genmed"><?php echo isset($this->vars['POST_DATE']) ? $this->vars['POST_DATE'] : ''; ?></span></td>
</tr>
<tr>
<td class="row2"><span class="genmed"><?php echo isset($this->vars['L_SUBJECT']) ? $this->vars['L_SUBJECT'] : ''; ?>:</span></td>
<td width="100%" class="row2"><span class="genmed"><?php echo isset($this->vars['POST_SUBJECT']) ? $this->vars['POST_SUBJECT'] : ''; ?></span></td>
<td nowrap="nowrap" class="row2" align="right">&nbsp;<?php echo isset($this->vars['QUOTE_PM_IMG']) ? $this->vars['QUOTE_PM_IMG'] : ''; ?> <?php echo isset($this->vars['EDIT_PM_IMG']) ? $this->vars['EDIT_PM_IMG'] : ''; ?></td>
</tr>
<tr>
<td valign="top" colspan="3" class="row1"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<!-- Begin PNphpBB2 Attachment Mod -->
<td class="postbody"><?php echo isset($this->vars['MESSAGE']) ? $this->vars['MESSAGE'] : ''; ?>
<?php

$postrow_count = ( isset($this->_tpldata['postrow.']) ) ?  sizeof($this->_tpldata['postrow.']) : 0;
for ($postrow_i = 0; $postrow_i < $postrow_count; $postrow_i++)
{
 $postrow_item = &$this->_tpldata['postrow.'][$postrow_i];

?>
<?php echo isset($this->vars['ATTACHMENTS']) ? $this->vars['ATTACHMENTS'] : ''; ?>
<?php

} // END postrow

?>
</td>
<!-- End PNphpBB2 Attachment Mod -->
</tr>
</table>
</td>
</tr>
<tr>
<td height="28" valign="bottom" colspan="3" class="row1"> <?php echo isset($this->vars['PROFILE_IMG']) ? $this->vars['PROFILE_IMG'] : ''; ?> <?php echo isset($this->vars['PM_IMG']) ? $this->vars['PM_IMG'] : ''; ?> 
<?php echo isset($this->vars['EMAIL_IMG']) ? $this->vars['EMAIL_IMG'] : ''; ?> <?php echo isset($this->vars['WWW_IMG']) ? $this->vars['WWW_IMG'] : ''; ?> <?php echo isset($this->vars['AIM_IMG']) ? $this->vars['AIM_IMG'] : ''; ?> <?php echo isset($this->vars['YIM_IMG']) ? $this->vars['YIM_IMG'] : ''; ?> <?php echo isset($this->vars['MSN_IMG']) ? $this->vars['MSN_IMG'] : ''; ?> <?php echo isset($this->vars['ICQ_IMG']) ? $this->vars['ICQ_IMG'] : ''; ?></td>
</tr>
<tr>
<td class="cat" colspan="3" align="right"><?php echo isset($this->vars['S_HIDDEN_FIELDS']) ? $this->vars['S_HIDDEN_FIELDS'] : ''; ?>
<input type="submit" name="save" value="<?php echo isset($this->vars['L_SAVE_MSG']) ? $this->vars['L_SAVE_MSG'] : ''; ?>" class="button" />
&nbsp; 
<input type="submit" name="delete" value="<?php echo isset($this->vars['L_DELETE_MSG']) ? $this->vars['L_DELETE_MSG'] : ''; ?>" class="button" />
<?php

$switch_attachments_count = ( isset($this->_tpldata['switch_attachments.']) ) ?  sizeof($this->_tpldata['switch_attachments.']) : 0;
for ($switch_attachments_i = 0; $switch_attachments_i < $switch_attachments_count; $switch_attachments_i++)
{
 $switch_attachments_item = &$this->_tpldata['switch_attachments.'][$switch_attachments_i];

?>
&nbsp; 
<input type="submit" name="pm_delete_attach" value="<?php echo isset($this->vars['L_DELETE_ATTACHMENTS']) ? $this->vars['L_DELETE_ATTACHMENTS'] : ''; ?>" class="button" />
<?php

} // END switch_attachments

?>
</td>
</tr>
</table>
<table width="100%" cellspacing="2" border="0" cellpadding="2">
<tr>
<td><?php echo isset($this->vars['REPLY_PM_IMG']) ? $this->vars['REPLY_PM_IMG'] : ''; ?></td>
<td width="100%" class="nav">&nbsp;<a href="<?php echo isset($this->vars['U_INDEX']) ? $this->vars['U_INDEX'] : ''; ?>"><?php echo isset($this->vars['L_INDEX']) ? $this->vars['L_INDEX'] : ''; ?></a></td>
</tr>
</table>
</form>
<br clear="all" />
<div align="left"><?php echo isset($this->vars['JUMPBOX']) ? $this->vars['JUMPBOX'] : ''; ?></div>

