<?php include_once( "../../../spider.inc.php" ); ?>
{charset:UTF-8}
{module:member.mail.Preview}
{if:member.mail.mail_type='h'}
{if:preg_match('/\\<[hH][tT][mM][lL]/',member.mail.preview_body)==0}
<html>
<head>
<title>{write:member.mail.preview_subject}</title>
</head>
<body style="background-color:{write:member.mail.back_color};font-size:14px;font-family:monospace;">
{write-mpic:member.mail.preview_body noescape}
</body>
</html>
{else}
{write-mpic:member.mail.preview_body noescape}
{/if}
{else}
<html>
<head>
<title>{write:member.mail.preview_subject}</title>
</head>
<body style="font-size:14px;font-family:monospace;">
{write-mpic:member.mail.preview_body nl2br}
</body>
</html>
{/if}