<html>
	<head>
		<title>Massmail Userlist</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">	
	<link rel="stylesheet" href="http://<?php echo $_SERVER["HTTP_HOST"] ?><?php echo $this->siteBaseUrl; ?>css/ui.css?<?php echo Zend_registry::get('config')->global['version'] ?>" type="text/css" media="screen" />
	<link rel="stylesheet" href="http://<?php echo $_SERVER["HTTP_HOST"] ?><?php echo $this->siteBaseUrl; ?>css/calendar.css?<?php echo Zend_registry::get('config')->global['version'] ?>" type="text/css" media="screen" />
	<link rel="stylesheet" href="http://<?php echo $_SERVER["HTTP_HOST"] ?><?php echo $this->siteBaseUrl ?>css/webmail.css?<?php echo Zend_registry::get('config')->global['version'] ?>" type="text/css" media="screen" />
	<link rel="stylesheet" href="http://<?php echo $_SERVER["HTTP_HOST"] ?><?php echo $this->siteBaseUrl ?>css/admin.css?<?php echo Zend_registry::get('config')->global['version'] ?>" type="text/css" media="screen"/>
</head>
	<body bgColor="#ffffff" vlink="#000000" link="#5167C6" alink="#6666FF">

		<div id="massmail-content">
		<table width="100%" class="massmail-header">
			<div class="divider"></div>
			<tr>
				<td class="label">
					<font class="header">Massmail Userlist</font>
				</td>
			</tr>
			<tr>
				<td>
					<font class="small">Listed below are the users receiving your Mass mail</font>
				</td>
			</tr>
					<div class="divider"></div>
		</table>

		<table width="100%" border="0" cellspacing="1" cellpadding="5">
			<tr>
				<td>
					<p align="right"><font class="option"><a href="javascript:window.close();">Close Window</font></a></p>
				</td>
			</tr>
		</table>
		
		<div id="massmail-list">
		<table width="100%" border="0" cellspacing="1" cellpadding="5" class="massmail">
			<?php foreach( $this->addresses as $address ) : ?>
			<tr class="divide">
				<td>
					<?php echo $address ?>
				</td>
			</tr>                                           
			<?php endforeach; ?>
		</table>
		</div>

		<table width="100%" border="0" cellspacing="1" cellpadding="5">
			<tr>
				<td>
					<p align="right"><font class="option"><a href="javascript:window.close();">Close Window</font></a></p>
				</td>
			</tr>
		</table>
		</div>
	</body>
</html>
