<? $this->load->view( $this->aSystemVar['template_viewer_root'] . 'admin/_header') ?>
	<div class="bigCaption">Mass Mailer</div>
	<div class="eTBox">
	<? if ( !empty($Mass_mailer['LettersSend']) ) : ?>
		<div style="color: #cc0000;font-weight: bold; text-align:center; margin:5px; padding:5px;">
			<?= $Mass_mailer['LettersSend'] ?> letter(s) has been send.
		</div>
	<? endif; ?>
	<?= form_open('admin/mass_mailer'); ?>
		<div class="eTBody">
			<div class="eTS">
				Subject:
				<br />
				<input type="text" class="text" id="mm_subject" name="mm_subject" value="" />
			</div>
			<div class="eTt">
				<div class="clearBoth"></div>
				<div class="left">
					Body:
					<br />
					<textarea id="mm_body" name="mm_body" cols="60" rows="6"></textarea>
				</div>
				<div class="right">
					<div style="margin-bottom:10px;">
						<strong>Send mail to users with status:</strong><br />
						<span><input type="checkbox" name="active" checked="checked" style="vertical-align: middle;">Active</span>
						<span><input type="checkbox" name="inactive" style="vertical-align: middle;">Inactive</span>
						<span><input type="checkbox" name="unconfirmed" style="vertical-align: middle;">Unconfirmed</span>
					</div>
					<div>
						<strong>Mail to:</strong><br />
						<span><input type="checkbox" name="mailbox" checked="checked" style="vertical-align: middle;">Mailbox</span>
						<span><input type="checkbox" name="email" style="vertical-align: middle;">Email</span>
					</div>
				</div>
				<div class="clearBoth"></div>
			</div>
			<div><input type="submit" name="save" value="send" /></div>
		</div>

	<?= form_close(); ?>
	</div>
<? $this->load->view( $this->aSystemVar['template_viewer_root'] . 'admin/_footer') ?>