Location: PHPKode > projects > Remote Mail > skin/skin_message.php
<?php
	


	/*
	 *
	 *	Remote Mail Client
	 *	CopyLEFT 2004 by Maurizio Pinotti
	 *
	 *	You can freely distribute this script as long as you do *NOT* edit it:
	 *	editing is only permitted for private use.
	 *
	 *	----------------------------------------------------------------------
	 * 	 Official site: http://www.pinottinet.com/rmail
	 *	----------------------------------------------------------------------
	 *
	 */



	// ------------------------- [ NO USER CONFIGURABLE ELEMENTS BELOW HERE ] ------------------------
	
	if (isset($_GET['account']) && isset($_GET['msg'])) {

		$action = "&account={$p_account_index}&msg={$p_msg_index}";
		$links_top = "&lt; <a href=\"{$reply_link}\" target=\"_self\">{$reply_caption}</a> &gt;&nbsp;".
			"&lt; <a href=\"{$headers_link}\" target=\"_self\">{$headers_caption}</a> &gt;&nbsp;".
			"&lt; {$webmail_link} &gt;&nbsp;";
		$links_bottom = "&lt; <a href=\"{$reply_link}\" target=\"_self\">{$reply_caption}</a> &gt;&nbsp;";

	}

print <<<EOF
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>{$title} @ {$PROGRAM_NAME}</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="styles/{$CSS_STYLE}.css" rel="stylesheet" type="text/css">
<script src="styles/fade.js" language="JavaScript"></script>
<script src="lib/lib_login.js" language="JavaScript"></script>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 5px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style>
</head>
<body onLoad="alertRegistration('{$alert_message}');">
<div align="center">

<form method='POST' action='{$_SERVER['PHP_SELF']}?act=reply{$action}'>

  <table width="98%" height="343" border="1" align="center" cellpadding="2" cellspacing="0" bordercolor="#FF9933" id="main_table">
    <tr align="left" valign="top">
      <td height="13" colspan="2" bgcolor="#FFFF99" class="message"><div align="right">
	  <span class="field_descr">
		{$links_top}
		&lt; <a href="javascript:window.close();">{$lang['close_page']}</a> &gt;
	  </span></div></td>
    </tr>
    <tr align="left" valign="top">
      <td width="80" height="13" bgcolor="#FFFF99" class="message"><strong>{$lang['field_date']}</strong></td>
      <td width="500" height="13" bgcolor="#FFFF99" class="field">{$field_date}</td>
    </tr>
    <tr align="left" valign="top">
      <td height="13" bgcolor="#FFFF99"><span class="message"><strong>{$lang['field_from']}</strong></span></td>
      <td height="13" bgcolor="#FFFF99"><span class="field">{$field_from}</span></td>
    </tr>
    <tr align="left" valign="top">
      <td height="13" bgcolor="#FFFF99"><span class="message"><strong>{$lang['field_to']}</strong></span></td>
      <td height="13" bgcolor="#FFFF99"><span class="field">{$field_to}</span></td>
    </tr>
    <tr align="left" valign="top">
      <td height="13" bgcolor="#FFFF99"><span class="message"><strong>{$lang['field_subject']}</strong></span></td>
      <td height="13" bgcolor="#FFFF99"><span class="field">{$field_subject}</span></td>
    </tr>
    <tr align="left" valign="top">
      <td height="13" bgcolor="#FFFF99"><span class="message"><strong>{$lang['field_attachments']}</strong></span></td>
      <td height="13" bgcolor="#FFFF99"><span class="field">{$field_attachments}</span></td>
    </tr>
    <tr>
      <td height="250" colspan="2" align="left" valign="top"><strong class="message_body">{$msg_data_string}</strong></td>
    </tr>
    <tr align="left" valign="middle">
      <td height="13" colspan="2" bgcolor="#FFFF99" class="message"><div align="right">
	  <span class="field_descr"> 
		{$links_bottom}
		&lt; <a href="javascript:window.close();">{$lang['close_page']}</a> &gt;
	  </span></div></td>
    </tr>
  </table>

</form>

</div>
</body>
</html>
EOF;
?>
Return current item: Remote Mail