<?php $header = $this->messageArray['headers']; ?>
<div class="messageHeadersInfo triangle-isosceles top" style="display:none;">
	<?php if( !empty($header['from']) ) : ?><div><strong><?php echo $this->translate('From') ?> </strong><?php echo htmlentities($header['from'], null, 'UTF-8')  ?></div><?php endif; ?>
	<?php if( !empty($header['to']) ) : ?><div><strong><?php echo $this->translate('To') ?> </strong><?php echo htmlentities($header['to'], null, 'UTF-8') ?></div><?php endif; ?>
	<?php if( !empty($header['cc']) ) : ?><div><strong><?php echo $this->translate('Cc') ?> </strong><?php echo htmlentities($header['cc'], null, 'UTF-8') ?></div><?php endif; ?>
	<?php if( !empty($header['date']) ) : ?><div><strong><?php echo $this->translate('Date') ?> </strong><?php echo htmlentities($header['date'], null, 'UTF-8') ?></div><?php endif; ?>
	<?php if( !empty($header['subject']) ) : ?><div><strong><?php echo $this->translate('Subject') ?> </strong><?php echo htmlentities($header['subject'], null, 'UTF-8') ?></div><?php endif; ?>
	</div>
</div>

<div class="messageHeadersRaw triangle-isosceles top" style="display:none;">
	<?php echo $this->partial('viewmessage/renderemailheaderraw.phtml', array('messageArray' => $this->messageArray) ); ?>
	
</div>
				
<?php echo $this->partial('viewmessage/recursivelyrendermessagebody.phtml', array('messageArray' => $this->messageArray, 'moduleBaseUrl' => $this->moduleBaseUrl, 'siteBaseUrl' => $this->siteBaseUrl, 'AtmailMailStorageMain' => $this->AtmailMailStorageMain, 'folderUTF7' => $this->folderUTF7, 'messagePanelContextName' => $this->messagePanelContextName) ); ?>
