Location: PHPKode > projects > PLiMa > plima-0.5.2/inc/compose-preview.inc.php
<?
/***
	*   pLiMa - php List Manager
  *   Copyright (C) 2003  Jinn Koriech (hide@address.com)
	*
  *		This file is part of pLiMa.
	*
	*   pLiMa is free software; you can redistribute it and/or modify
	*   it under the terms of the GNU General Public License as published by
	*   the Free Software Foundation; either version 2 of the License, or
	*   any later version.
	*
	*   pLiMa is distributed in the hope that it will be useful,
	*   but WITHOUT ANY WARRANTY; without even the implied warranty of
	*   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	*   GNU General Public License for more details.
	*
	*   You should have received a copy of the GNU General Public License
	*   along with pLiMa; if not, visit http://www.gnu.org or write to the 
	*   Free Software Foundation, Inc., 59 Temple Place, Suite 330, 
	*	  Boston, MA  02111-1307  USA
	*	
	*/

?>
<div style="background-color: #f0f0f0; color: #990000; width: 100%; padding-bottom: 10px; padding-top: 5px;">
<div style="text-align: center"><h4 style='padding: 0px; margin: 0px;'>MESSAGE PREVIEW</h4></div>
<p style='margin-left: 10px;'><b>Subject: </b> <? echo $psubject; ?></p>

<? 
	if ( $usename=='Y' )
		echo "<p style='margin-left: 10px;'>".$pbname . " NAME" . $paname."</p>\n";

	echo "<p style='margin-left: 10px;'>".str_replace(array("&amp;"," />"), array("&",">"), $pbody)."</p>\n"; 

	if ( $usenum == 'Y' || $usesig == 'Y' )
		echo "<p style='margin-left: 10px;'>---<br />";
		
	if ( $usenum=='Y' )
		echo "This message has been sent to " . $list_length[0] . " people.<br /> <br />\n";

	if ( $usesig=='Y' )
		echo "$sig</p>\n";
?>
</div>
Return current item: PLiMa