<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<script type="text/javascript">
<!--
function setTitle(){
	||ifequal||top||_top||
		window.top.document.title = "||cust_title|| - ||current_user|| - Check Other Email Accounts";
	||endif||
}
//-->
</script>
||just_include||configfcss.tpl||
<title>Check Other Email Accounts</title>
</head>

<body background="||cust_panel_background||" bgcolor="||cust_panel_bgcolor||" onload="setTitle();">
<form name="configform" method="post" action="||action||">
	<input type="hidden" name="force_connection" value="true" />
	<input type="hidden" name="host_name0" value="||host_name0||" />
	<input type="hidden" name="host_user0" value="||host_user0||" />
	<input type="hidden" name="host_prefix0" value="||host_prefix0||" />
	<input type="hidden" name="utoken" value="||utoken||" />
	<input type="hidden" name="page" value="config_fetch" />

	||ifdef||error||
		<center>
		<table border="1">
			<tr>
				<td><img src="||nwimg||/attention.gif" alt="Attention" /></td>
				<td bgcolor="ffffff">||error||</td>
			</tr>
		</table>
		</center>
	||endif||

	||ifdef||msg||
		<center>
		<table border="1">
			<tr>	<td bgcolor="ffffff">||msg||</td>
			</tr>
		</table>
		</center>
	||endif||

	<center>
	<p>&nbsp;</p>
	<table width="85%"><tr><td><table bgcolor="#eeeeff" cellspacing="0" cellpadding="2">
	<tr bgcolor="#D6D6CE">
		<th>Check Other Email Accounts</th>
		<td align="right"><a href="||action||?cmd=config&amp;utoken=||utoken||">Done</a></td>
	</tr>
	<tr>
		<td colspan="2">
			<p>To check other email accounts with ||cust_display_name|| enter their details here.<br />
			Messages in these accounts will be displayed in your ||new_mail_name|| along<br />
			with your ||cust_display_name|| messages<br />
			Messages in IMAP folders will not be displayed.</p>
		</td>
	</tr>
	<tr>
		<td colspan="3">
			<p>
			||ifequal||fetch_manual||true||
				Fetch accounts are currently setup for manual download<br />
				<a href="||action||?cmd=config&amp;page=config_fetch&amp;con_display=fetch&amp;fld=||fld||&amp;fetch_manual=false&amp;utoken=||utoken||&amp;require_lock=true">Set fetch download to automatic</a>
			||else||
				Fetch accounts are currently setup for automatic download<br />
				<a href="||action||?cmd=config&amp;page=config_fetch&amp;con_display=fetch&amp;fld=||fld||&amp;fetch_manual=true&amp;utoken=||utoken||&amp;require_lock=true">Set fetch download to manual</a>
			||endif||
			</p>
		</td>
	</tr>
	<tr>
		<td colspan="2" align="center">	
			<table>
				<tr>
					<td align="right"><b>Host:</b></td>
					<td><input type="text" size="24" name="fet_host" value="||fet_host||" /></td>
				</tr>
				<tr>
					<td align="right"><b>Username:</b></td>
					<td><input type="text" size="15" name="fet_user" value="||fet_user||" /></td>
				</tr>
				<tr>
					<td align="right"><b>Password:</b></td>
					<td><input type="password" size="15" name="fet_pass" /></td>
					<td><input type="submit" name="fet_add" value="Add" /></td>
				</tr>
				<tr>
					<td align="right"><b>Account Symbol:</b></td>
					<td>
						<input type="radio" name="fet_number" value="0" ||ifequal||fet_number||0||checked="checked"||endif||||ifndef||fet_number||checked="checked"||endif|| /><img src="||nwimg||/host0.gif" alt="" />
						<input type="radio" name="fet_number" value="1" ||ifequal||fet_number||1||checked="checked"||endif|| /><img src="||nwimg||/host1.gif" alt="" />
						<input type="radio" name="fet_number" value="2" ||ifequal||fet_number||2||checked="checked"||endif|| /><img src="||nwimg||/host2.gif" alt="" />
						<input type="radio" name="fet_number" value="3" ||ifequal||fet_number||3||checked="checked"||endif|| /><img src="||nwimg||/host3.gif" alt="" />
						<input type="radio" name="fet_number" value="4" ||ifequal||fet_number||4||checked="checked"||endif|| /><img src="||nwimg||/host4.gif" alt="" />
					</td>
				</tr>
			</table>
			<input type="hidden" name="fet_active" value="on" checked="checked" />

			<hr />

			<table border="1" bgcolor="ffffff">
			<tr>
				<th>Symbol</th>
				<th>Host</th>
				<th>Username</th>
			</tr>
			||begin_fet||
				<tr bgcolor="#C0C0C0">
					<td align="center">||ifnequal||fet_number||4||<img src="||nwimg||/host||fet_number||.gif" alt="" />||endif||</td>
					<td><a href="||action||?fet_active=||fet_active||&amp;fet_number=||fet_number||&amp;fet_host=||fet_host||:||fet_port||&amp;fet_user=||fet_user||&amp;cmd=config&amp;page=config_fetch&amp;fld=||fld||&amp;utoken=||utoken||">||fet_host||:||fet_port||</a></td>
					<td>||fet_user||</td>
					<td><a href="||action||?fet_host=||fet_host||&amp;fet_user=||fet_user||&amp;cmd=fet_delete&amp;utoken=||utoken||&amp;fld=||fld||&amp;page=config_fetch">delete</a></td>
				</tr>
			||end_fet||
			</table>
		</td>
	</tr>
	</table></td></tr></table>
	</center>
</form>
</body>
</html>
