<table width="100%" cellpadding="0" cellspacing="0" border="0">
	<tr><td class="nav"><a href="index.php?section=home">Home</a>&nbsp;&gt;&nbsp;Email Member(s)</td></tr>
	<tr><td>&nbsp;</td></tr>
	<tr><td><table cellpadding="5" cellspacing="2" border="0" align="center" width="500">
	<form action="index.php" method="post">
	<input type="hidden" name="section" value="mailbox">
	<input type="hidden" name="action" value="do_send">
	<input type="hidden" name="ret_link" value="<?php echo $data["link"]; ?>">
	<?php
	
		foreach($data["mem_id"] as $mem_id){
			echo "<input type='hidden' name='mem_id[]' value='".$mem_id."'>\n";
		}//foreach
	
	?>
		<tr><td class="form_cell"><table cellpadding="0" cellspacing="3" border="0" align="center">
		<tr><td class="body" width="80" valign="top">Recipient(s):</td><td class="highlight"><?php echo $data["recipients"]; ?></td></tr>
		<tr><td class="body">Send To:</td><td class="highlight"><table cellpadding="0" cellspacing="0" border="0">
			<tr>
			<td class="highlight"><?php
			admin_form_element( array ("type" => "radio", "name" => "send_to", "value" => $data["send_to"], "ovalue" => "external") );
			?></td><td class="highlight">External Email</td>
			<td class="highlight"><?php
			admin_form_element( array ("type" => "radio", "name" => "send_to", "value" => $data["send_to"], "ovalue" => "internal") );
			?></td><td class="highlight">Internal Email</td>
			<td class="highlight"><?php
			admin_form_element( array ("type" => "radio", "name" => "send_to", "value" => $data["send_to"], "ovalue" => "both") );
			?></td><td class="highlight">Both</td>
			</tr>
		</table></td></tr>
		<tr><td class="body">Subject:</td><td class="highlight"><?php
		admin_form_element( array ("type" => "input", "name" => "subject", "size" => 58, "value" => $data["subject"]) );
		?></td></tr>
		<tr><td class="body" valign="top">Message:</td>
		<td class="highlight"><?php
		admin_form_element( array ("type" => "textarea", "name" => "message", "value" => $data["message"], "rows" => 10, "cols" => 60) );
		?></td></tr>
		</table></td></tr>
		<tr><td align="center"><?php
		admin_form_element( array ("type" => "button", "value" => "Cancel", "link" => $data["link"]) );
		echo "&nbsp;";
		admin_form_element( array ("type" => "button", "value" => "Send") );
		?></td></tr>
	</form>
	</table></td></tr>
</table>