<table cellspacing="1" cellpadding="0">
<tr>
	<td align="center"><br>

	<table class="smb" cellpadding="0" cellspacing="0"  bgcolor="#FFFFFF" width="100%">
	<tr>
		<td bgcolor="||color_menu||" colspan="2">
			<table border="0" cellspacing="0" cellpadding="0" width="100%">
			<tr>	
				<th width="100%">Cleaning Users</th>
			</tr>
			</table>
		</td>
	</tr>
	<tr><td>
		<table cellpadding="3" cellspacing="0" width="100%">
		
		<tr>
			<td align="center">
				<form name="manager" action="||action||" method="post">
					<input type="hidden" name="manpass" value="||manpass||" />
					<input type="hidden" name="page" value="manager" />
					<input type="hidden" name="mytpl" value="||mytpl||" />	
					<input type="hidden" name="wild_search" value="||wild_search||" />

				<table cellpadding="0" cellspacing="0">
				<tr><td><b>Apply to users:</b> <input type="text" name="uwild" size="10" value="||uwild||" /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type="submit" class="button" name="do_manager_clean" size="10" value="Clean" /></td></tr>
				<tr><td>Remove accounts that have not been used for <input type="text" name="account_days" size="3" value="||account_days||" /> days.</td></tr>
				<tr><td>Remove EMails <input type="text" name="email_days" size="3" value="||email_days||" /> days old and larger than <input type="text" name="email_size" size="3" value="||email_size||" /> kilo-bytes.</td></tr>
				<tr><td><input type="checkbox" class="clear" name="remove_fails" value="on" />Remove Accounts that can not connect to their POP/IMAP server.</td></tr>
				<tr><td><input type="checkbox" class="clear" name="remove_invalid" value="on" />Remove Accounts that fail password check.</td></tr>
				<tr><td><input type="checkbox" class="clear" name="remove_draft" value="on" />Remove Draft Messages as Well.</td></tr>

				</table>
				</form>
			</td>
		</tr>
		</table>
	</td></tr>
	</table>
	<br>

	<table bgcolor="||color_menu||" class="smb" cellpadding="0" cellspacing="0"  bgcolor="#FFFFFF" width="100%">
	<tr><td>
		<table cellpadding="3" cellspacing="0" width="100%">
	

		<tr><td><b>Warning</b>  - This command will connect the mail server and remove the email<br />
				not only in WebMail cache but also on the mail server. Use with care.</td></tr>
		<tr><td><b>Remove Accounts</b> - This will remove webmail information like, user settings, <br />
				address books and POP folders. It will NOT remove the account from your <br />
				mail server so they will be able to still login again.<br />
				<br />
			 If you are using SurgeMail and you wish to permently remove an account you <br />
			need to use SurgeMail 'Account' manager to do this.
		</td></tr>

		</table>
	</td></tr>
	</table>
	</td>
</tr>		
</table>

||ifdef||result||
<br>
<table class="smb" bgcolor="||color_menu||">
<tr> <td bgcolor="ffffff">||result||</td></tr>
</table>
||endif||
