<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
	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" />

||just_include||logincss.tpl||

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

<body background="||cust_panel_background||" bgcolor="||cust_panel_bgcolor||" onload="window.focus();document.loginform.user.focus();">
<form action="||action||" method="post" name="loginform">
<input type="hidden" name="cmd" value="quick_login" />
<input type="hidden" name="tcode" value="||tcode||" />
<input type="hidden" name="force_connection" value="true" />
<input type="hidden" name="frames" value="true" />
<input type="hidden" name="email" value="||email||" />
<input type="hidden" name="on_error" value="show" />
<input type="hidden" name="err_page" value="login.tpl" />
<!--- Javascript Variables --->
<script language="javascript">
<!--
	var d=new Date();
	var timezone = -d.getTimezoneOffset();
	document.writeln('<input type="hidden" name="gmt_mins" value="'+timezone+'" />');
//-->
</script>

<noscript>
<center>
<table border="1">
	<tr>
		<td align="center"><img src="||nwimg||/attention.gif" alt="Attention" /></td>
		<td bgcolor="ffffff">
			Javascript is disabled in your web browser.  You will need to enable
			javascript for this template set to function correctly.
		</td>
	</tr>
</table>
<p>&nbsp;</p>
</center>
</noscript>

||ifdef||error||
	||ifinstr||error||pay to continue||
		||include||payment.tpl||
	||else||
<center>
<table border="1">
	<tr>
		<td align="center"><img src="||nwimg||/attention.gif" alt="Attention" /></td>
		<td bgcolor="ffffff">||ifdef||error|| ||error|| ||else|| Unexplained Error ||endif||</td>
	</tr>
</table>
<p>&nbsp;</p>
</center>
	||endif||
||endif||
<center>
<table>
<tr>
	<td class="webmail" valign="bottom"><font size="6" style="font-weight:bold;">||cust_display_name||</font></td>
	<td align="right" class="login" valign="bottom"><font size="4" style="font-weight:bold;">Login</font></td>
</tr>
<tr>
	<td colspan="2"><img src="||nwimg||/redline.gif" alt="" /></td>
</tr>
<tr>
	<td colspan="2" class="title"><font size="3" style="font-weight:bold;">Members:</font></td>
</tr>
<tr>
	<td style="text-align:center;" colspan="2">
		<table width="350">
		<tr>
			<td nowrap="nowrap" colspan="2">
				<table border="0" cellpadding="0" cellspacing="0">
				<tr> 	<td nowrap="nowrap"><img src="||nwimg||/space.gif" width="105" height="1"></td></tr>
				<tr>
					<td nowrap="nowrap"><font style="font-weight:bold;">User Name: </font></td>
					<td nowrap="nowrap"><input type="text" size="||ifdef||netscape_version||20||else||30||endif||" maxlength="256" name="user" tabindex="1" value="||user||" />
						||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>
				</tr>
				<tr>
					<td nowrap="nowrap"><font style="font-weight:bold;">Password: </font></td>
					<td nowrap="nowrap"><input type="password" size="||ifdef||netscape_version||20||else||30||endif||" 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="||ifdef||netscape_version||20||else||30||endif||"  maxlength="256" name="host" value="||host||" /></td>
				</tr>
				||endif||

				</table>
			</td>
			<td style="text-align:center;">
				<input type="image" src="||nwimg||/login.gif" alt="Login" name="quick_login" tabindex="3" border="0" /><br />
				<font style="font-weight:bold;">Login</font>
			</td>
		</tr>
		||ifdef||multiple_tpl||
		<tr> 	<td nowrap="nowrap"><img src="||nwimg||/space.gif" width="100" height="1"></td></tr>
		<tr>
			<td nowrap="nowrap" width="100"><font style="font-weight:bold;">Template Set: </font></td>
			<td nowrap="nowrap">
				<select name="selected_tpl" size="1" onChange="document.reloginform.selected_tpl.value = document.loginform.selected_tpl.value; document.reloginform.user.value = document.loginform.user.value; document.reloginform.submit();">
					<option value="">(default)</option>
					||begin_tpl_login||
						||ifdef||tpl_color_name||
							||ifequal||selected_tpl||(||tpl_number|| ||tpl_color_img||)||
								<option value="||tpl_number|| ||tpl_color_img||" selected="selected">||tpl_color_name||</option>
							||else||
								<option value="||tpl_number|| ||tpl_color_img||">||tpl_color_name||</option>
							||endif||
						||else||
							||ifequal||selected_tpl||tpl_number||
								<option selected="selected" value="||tpl_number||">||tpl_text||</option>
							||else||
								<option value="||tpl_number||">||tpl_text||</option>
							||endif||
						||endif||
					||end_tpl_login||
				</select>
			</td>
		</tr>
		||endif||
		||ifdef||authent_cookie||
		<tr>
			<td nowrap="nowrap">&nbsp;</td>
			<td nowrap="nowrap">
				<input type="checkbox" name="set_cookie" value="ON" /> <font style="font-weight:bold;">||lang_str||Remember me for 30 days||<font>
			</td>
		</tr>
		||endif||
		</table>
	</td>
</tr>
||ifndef||no_user_create||
||ifdef||netauth_url||
	<!--If you want users to be able to create new accounts automaticly (ie, a "HotMail" style system) then you
	should install NetAuth.  You can find out about NetAuth at: http://netwinsite.com/netauth/index.htm-->
	<tr>
		<td colspan="2"><img src="||nwimg||/redline.gif" alt="" /></td>
	</tr>
	<tr>
		<td colspan="2" class="title"><font size="3" style="font-weight:bold;">New Users:</font></td>
	</tr>
	<tr>
		<td align="center" colspan="2">To sign up for a ||cust_display_name|| account click <a href="||netauth_url||"><font style="font-weight:bold;">here</font></a></td>
	</tr>
||else||
	||ifequal||(||check_id||0||)||true||
		<tr>
			<td colspan="2"><img src="||nwimg||/redline.gif" alt="" /></td>
		</tr>
		<tr>
			<td colspan="2" class="title"><font size="3" style="font-weight:bold;">New Users:</font></td>
		</tr>
		<tr>
			<td align="center" colspan="2">To sign up for a ||cust_display_name|| account click <a href="||get_id_link||0||?cmd=user_check"><font style="font-weight:bold;">here</font></a></td>
		</tr>
	||endif||
||endif||
||endif||
<tr>
	<td colspan="2"><img src="||nwimg||/redline.gif" alt="" /></td>
</tr>
<tr>
	<td colspan="2" class="title"><font size="3" style="font-weight:bold;">Help:</font></td>
</tr>
<tr>
	<td colspan="2" width="400" align="center">
		<table>
		||ifdef||netauth_url||
			<tr><td colspan="2" nowrap="nowrap">Forgotten your password?  Click <a href="||netauth_url||"><font style="font-weight:bold;">here</font></a></td></tr>
		||endif||
		<tr>
			<td>
				<ul>
					||ifndef||no_user_forgot||
					||ifdef||netauth_url||
						<li><a href="||netauth_url||?cmd=cmd_user_forget">Forgot Password</a></li>
					||else||
						||ifequal||(||check_id||0||)||true||
							<li><a href="||get_id_link||0||?cmd=cmd_user_forget">Forgot Password</a></li>
						||endif||
					||endif||
					||endif||
					<li><a href="||action||?page=help">||cust_display_name|| Users Guide</a></li>
				||ifdef||register||
					<li><a href="http://netwinsite.com/top_mail.htm">Other NetWin Products</a></li>
				||endif||
				||ifdef||admin_email||
					<li> <a href="mailto:||admin_email||">Contact Us</a></li>
				||endif||
				</ul>
			</td>
		</tr>
		||ifdef||register||
			||ifnequal||cust_no_admin_links||true||
				<tr>
					<td width="400">
						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||
		||endif||
		</table>
	</td>
</tr>
<tr>
	<td>&nbsp;</td>
</tr>
||ifdef||register||
||ifnequal||cust_no_admin_links||true||
	<tr>
		<td>
			<font style="font-weight:bold;">Administrators:</font><br />
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;To customize the appearance of ||cust_display_name|| <a href="||action||?cmd=custom">click here</a><br />
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;To access the user manager page <a href="||action||?cmd=manager">click here</a><br />
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;To tailor this page, edit ||templates||/login.tpl
		</td>
	</tr>
	<tr>
		<td>&nbsp;</td>
	</tr>
||endif||
||endif||
<tr>
	<td>||copyright|| ||about_mail||</td>
</tr>
</table>
</center>

</form>

<form action="||action||" method="post" name="reloginform">
	<input type="hidden" name="cmd" value="asd" />
	<input type="hidden" name="user" value="" />
	<input type="hidden" name="_tpl_lang" value="" />
	<input type="hidden" name="selected_tpl" value="" />
</form>
</body>
</html>

