<!--
	Note:  If you want to customize the WebMail templates to integrate with your website then it is much easier to
	edit the vanilla, iconic or marble template sets rather than the panel template set.
	If you have the WebMail included with SurgeMail then you will not have a copy of these template sets.  You can
	get a copy by downloading the full WebMail distribution from:
		http://netwinsite.com/webmail/download2.htm
-->
<!--
	Administrators:
	WebMail's default configuration allows users to login to the default POP/IMAP server only.<br />

	If you want users to be able to login to other POP/IMAP servers then you need to put a setting like this in your ini file:<br />
		valid_host x,y,z<br />

	Where x,y,z is a comma separated list of the POP/IMAP servers you want to allow.<br />
	See the vanilla or iconic login.tpl for details.
-->
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
	<meta http-equiv="Pragma" content="no-cache" />
	<meta http-equiv="cache-control" content="no-cache" />
	<meta http-equiv="Expires" content="-1" />

	<link rel="StyleSheet" href="skin.css" type="text/css" />
</head>

||include||css.tpl||

<title>||cust_title|| - Web Mail Client</title>
</head>


<body background="||nwimg||/background.gif" marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" onload="window.focus();document.loginform.user.focus();">

<form action="||action||" method="post" name="loginform">
	<input type="hidden" name="cmd" value="login" />
	<input type="hidden" name="tcode" value="||tcode||" />
	<input type="hidden" name="frames" value="false" />
	<input type="hidden" name="email" value="||email||" />
	<input type="hidden" name="frames" value="true" />
	<input type="hidden" name="page" value="frame.tpl" />
	<input type="hidden" name="on_error" value="show" />
	<input type="hidden" name="err_page" value="login.tpl" />


||define||height||127||
||undef||xmsg||
||ifdef||msg||
	||define||height||60||
	||define||xmsg||msg||
||endif||
||ifdef||error||
	||define||height||60||
	||define||xmsg||error||
||endif||

<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr>	<td><img src="||nwimg||/space.gif" width="280" height="||height||"></td>
	<td width="100%">&nbsp;</td>
</tr>

||ifdef||xmsg||
<tr>	<td><img src="||nwimg||/space.gif" width="280" height="||height||"></td>
	<td width="100%"><font class="error"><b>||xmsg||</b></font></td>
</tr>
||endif||

<tr>	<td><img src="||nwimg||/space.gif" width="280" height="||height||"></td>
	<td width="100%"><font size="+1" class="error">
		<b>||lang_str||Note||:</b> ||lang_str||Sorry smooth template set is only available for IE v6.0+, Firefox 1.6+, Safari 2.0.4+, Netscape v7.1+||. <br />
			||lang_str||You should select another template set to use||.
		</b></font></td>
</tr>

<tr>	<td>&nbsp;</td>

	<td width="100%">
		<table width="100%">
		<tr>	<td class="maintitle">||lang_str||Welcome to|| ||cust_display_name||</td></tr>

		<tr>	<td>
				<table>
				<tr>	<td align="right"><b>||lang_str||Username||:</b></td>
					<td nowrap="nowrap"><input type="text" size="10" maxlength="256" name="user" tabindex="1" value="" /> @
						||ifequal||domain_select||true||
							||ifndef||loaded_surgehost_file||
								||domain||
							||else||
								<select name="select_domain">
								||begin_domain||
									<option ||ifequal||domain||domain_name||selected||endif||>||domain_name||</option>
								||end_domain||
								</select>
							||endif||
						||else||
							||domain||
						||endif||
					</td>

					<td rowspan="4"><img src="||nwimg||/space.gif" width="20" height="1"></td>
					<td rowspan="4">
						||ifdef||netscape_version||
							<a class="red" href="javascript:document.loginform.submit();"><img src="||nwimg||/login.gif" alt="Login" border="0" /></a><br />
						||else||
							<input type="image" src="||nwimg||/login.gif" alt="Login" name="quick_login" tabindex="3" /><br />
						||endif||
						<b>||lang_str||Login||</b>
					</td>
				</tr>
				<tr>	<td align="right"><b>||lang_str||Password||:</b></td>
					<td><input type="password" size="10" maxlength="256" name="pass" tabindex="2" value="" /></td>
				</tr>

				||ifdef||allow_login_host||
				<tr>	<td align="right"><b>||lang_str||Host||:</b></td>
					<td><input type="host" size="25" maxlength="256" name="host" tabindex="2" value="" /></td>
				</tr>
				||endif||

				||ifdef||multiple_tpl||
				<tr>
					<td align="right" nowrap="nowrap"><font style="font-weight:bold;">||lang_str||Template Set||:</font></td>
					<td nowrap="nowrap">
						<select name="selected_tpl" size="1">
							<option value="">(default)</option>
							||begin_tpl||
								<option value="||tpl_number||">||tpl_text||</option>
							||end_tpl||
						</select>
					</td>
				</tr>
				||endif||

				||ifdef||authent_cookie||
				<tr>	<td nowrap="nowrap"></td>
					<td nowrap="nowrap"><input class="clear" type="checkbox" name="set_cookie" value="ON" /> <b>||lang_str||Enable Auto-login||</b></td>
				</tr>
				||endif||

				</table>

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

<tr>	<td><img src="||nwimg||/space.gif" width="1" height="30"></td>
	<td width="100%">
		<b>||lang_str||Note||:</b> ||lang_str||Smooth template set designed for Netscape v7.1+, IE v6.0+||. <br />
			||lang_str||All other template sets work on other browsers||.
	</td>
</tr>

<tr>	<td>&nbsp;</td>

	<td width="100%">
		<table width="100%">
		<tr>	<td><img src="||nwimg||/space.gif" width="10" height="1"></td>
			<td&nbsp;</td>
		<tr>

		||ifndef||no_user_create||
		||ifequal||(||check_id||0||)||true||
		<tr>	<td colspan="2" class="title">New Users:</td>
		</tr>
		<tr>	<td>&nbsp;</td>
			<td>||lang_str||To sign up for a|| ||cust_display_name|| ||lang_str||account click|| <a class="red" href="||get_id_link||0||?cmd=user_check"><b>||lang_str||here||</b></a></td>
		</tr>
		||endif||
		||endif||

		<tr>
			<td colspan="2" class="title">||lang_str||Help||:</td>
		</tr>
		<tr>	<td>&nbsp;</td>
			<td>
				||ifndef||no_user_forgot||
				||ifequal||(||check_id||0||)||true||
				* <a class="red" href="||get_id_link||0||?cmd=cmd_user_forget">||lang_str||Forgot Password||</a><br />
				||endif||
				||endif||

				* <a class="red" href="||action||?page=help">||cust_display_name|| ||lang_str||Users Guide||</a><br />
				||ifdef||register||
				* <a class="red" href="http://netwinsite.com/top_mail.htm">||lang_str||Other NetWin Products||</a>
				||endif||
			</td>
		</tr>


		||ifdef||register||
		||ifnequal||cust_no_admin_links||true||
		<tr>	<td>&nbsp;</td>
			<td>
				WebMail is currently running using a temporary licence.
				If you are the system administrator of this site and you wish
				to register this copy of ||cust_display_name|| then you should click here
				||register|| to enter order details.
			</td>
		</tr>
		||endif||

		||ifnequal||cust_no_admin_links||true||
		<tr>	<td colspan="2" class="title">Administrators:</td>
		<tr>	<td>&nbsp;</td>
			<td>
				To customize the appearance of ||cust_display_name|| <a class="red" href="||action||?cmd=custom">click here</a><br />
				To access the user manager page <a class="red" href="||action||?cmd=manager">click here</a><br />
				To tailor this page, edit ||templates||/login.tpl
			</td>
		</tr>

		||endif||
		||endif||





		</table>
	</td>

</tr>

</table>

</form>


</body>
</html>

