<html>
||include||meta.tpl||
<head>

||define||ts_fet_number||(||fet_number||)||
||define||ts_fet_host||(||fet_host||)||
||define||ts_fet_user||(||fet_user||)||
||define||ts_active||(||fet_active||)||

<link rel="stylesheet" type="text/css" href="||nwimg||||tpl_color||/surge.css" />
<script type="text/javascript" src="||common_files||/util.js"></script>
<script type="text/javascript" src="||nwimg||/layout.js"></script>
<title>||cust_title|| - ||lang_str||Check Other Email Accounts||</title>
</head>
<body class="body" onload="doresize();" onresize="doresize()">

||include||_layout_start.tpl||

||ifdef||error||
	||include||_errorinline.tpl||
||endif||
||ifdef||msg||
	||include||_msginline.tpl||
||endif||

<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" />

<center>
<p><div class="LF b">||lang_str||Check Other Email Accounts||</div></p>
<table class="LT" cellpadding="0" cellspacing="0">
<tr class="bg1">
	<th>||lang_str||ID||</th>
	<th>||lang_str||Host||</th>
	<th>||lang_str||Username||</th>
	<th> </th>
</tr>
||define||color||1||
||begin_fet||
<tr class="L||color||">
	||ifequal||color||1||
		||define||color||0||
	||else||
		||define||color||1||
	||endif||
		<td class="c">||fet_number||</td>
		<td><a href="||action||?fet_active=||fet_active||&amp;force_connection=true&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 nowrap>
			<a href="||action||?fet_active=||fet_active||&amp;force_connection=true&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||">||lang_str||Edit||</a>
			<a href="||action||?fet_host=||fet_host||&amp;force_connection=true&amp;fet_user=||fet_user||&amp;cmd=fet_delete&amp;utoken=||utoken||&amp;fld=||fld||&amp;page=config_fetch">||lang_str||delete||</a>
		</td>
	</tr>
||end_fet||
</table>

<br />
<table cellpadding="5" class="bg1">
<tr>
	<th class="config">||lang_str||Set Up Account Details||</th>
</tr>
<tr>
	<td class="c"><a class="LF" href="||action||?cmd=config&amp;force_connection=true&amp;page=config_adv&amp;utoken=||utoken||&amp;&amp;">||lang_str||Back to advanced options||</a></td>
</tr>
<tr>
	<td>
		<p>||lang_str||To check other email accounts with|| ||cust_display_name||, ||lang_str||enter their details here||.<br />
		||lang_str||Emails in these accounts will be displayed in your|| ||new_mail_name|| ||lang_str||along with your||
		||cust_display_name|| ||lang_str||Emails||.<br />
		||lang_str||Emails in IMAP folders will not be displayed||.</p>
	</td>
</tr>
<tr>
	<td>
		<p>
		||ifequal||fetch_manual||true||
			||lang_str||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&force_connection=true">||lang_str||Set fetch download to automatic||</a>
		||else||
			||lang_str||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&force_connection=true">||lang_str||Set fetch download to manual||</a>
		||endif||
		</p>
	</td>
</tr>
<tr>
	<td align="center">
		<table>
			<tr>
				<td class="rt LF">||lang_str||Host|| </td>
				<td><input type="text" size="24" name="fet_host" value="||ts_fet_host||" /></td>
			</tr>
			<tr>
				<td class="rt LF">||lang_str||Username|| </td>
				<td><input type="text" size="24" name="fet_user" value="||ts_fet_user||" /></td>
			</tr>
			<tr>
				<td class="rt LF">||lang_str||Password|| </td>
				<td><input type="password" size="24" name="fet_pass" /></td>
			</tr>
			<tr>
				<td class="rt LF">||lang_str||Account ID|| </td>
				<td class="LF">
					<input type="radio" name="fet_number" value="0" ||ifequal||ts_fet_number||0||checked="checked"||endif||||ifndef||ts_fet_number||checked="checked"||endif|| />0
					<input type="radio" name="fet_number" value="1" ||ifequal||ts_fet_number||1||checked="checked"||endif|| />1
					<input type="radio" name="fet_number" value="2" ||ifequal||ts_fet_number||2||checked="checked"||endif|| />2
					<input type="radio" name="fet_number" value="3" ||ifequal||ts_fet_number||3||checked="checked"||endif|| />3
					<input type="radio" name="fet_number" value="4" ||ifequal||ts_fet_number||4||checked="checked"||endif|| />4
				</td>
			</tr>
			<tr>
				<td colspan="2" class="c"><input type="submit" class="btn" name="fet_add" value="||lang_str||Save Account Details||" /></td>
			</tr>
		</table>
		<input type="hidden" name="fet_active" value="on" />
	</td>
</tr>
</table>
</center>
</form>
</body>
</html>
