<?php if($_preview_count = count($d['preview'])) {for ($_preview_i = 0; $_preview_i < $_preview_count; $_preview_i++){ ?>
<table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline">
<tr> 
<th height="25" class="thHead" colspan="2"><?php $this->_echo($d['preview'][$_preview_i]['L_PREVIEW']); ?></th>
</tr>
<tr> 
<td class="row2"><span class="genmed"><?php $this->_echo($d['preview'][$_preview_i]['L_FROM']); ?>:</span></td>
<td width="100%" class="row2"><span class="genmed"><?php $this->_echo($d['preview'][$_preview_i]['MESSAGE_FROM']); ?></span></td>
</tr>
<tr> 
<td class="row2"><span class="genmed"><?php $this->_echo($d['preview'][$_preview_i]['L_TO']); ?>:</span></td>
<td width="100%" class="row2"><span class="genmed"><?php $this->_echo($d['preview'][$_preview_i]['MESSAGE_TO']); ?></span></td>
</tr>
<tr> 
<td class="row2"><span class="genmed"><?php $this->_echo($d['preview'][$_preview_i]['L_POSTED']); ?>:</span></td>
<td width="100%" class="row2"><span class="genmed"><?php $this->_echo($d['preview'][$_preview_i]['POST_DATE']); ?></span></td>
</tr>
<tr> 
<td class="row2"><span class="genmed"><?php $this->_echo($d['preview'][$_preview_i]['L_SUBJECT']); ?>:</span></td>
<td width="100%" class="row2"><span class="genmed"><?php $this->_echo($d['preview'][$_preview_i]['POST_SUBJECT']); ?></span></td>
</tr>
<tr> 
<td valign="top" colspan="2" class="row1">
<span class="postbody"><?php $this->_echo($d['preview'][$_preview_i]['MESSAGE']); ?></span>
<?php $this->_echo($d['preview'][$_preview_i]['ATTACHMENTS']); ?>
<span class="postbody"><br /><?php if($_signature_count = count($d['preview'][$_preview_i]['signature'])) {for ($_signature_i = 0; $_signature_i < $_signature_count; $_signature_i++){ ?>_________________<br /><?php $this->_echo($d['preview'][$_preview_i]['SIGNATURE']); ?><br /><?php }} ?></span>
</td>
</tr>
</table>

<br clear="all" />
<?php }} ?>