||ifndef||mytpl||
	||define||mytpl||manager_intro.tpl||
||endif||
||define||color_menu||#D6D6CE||
||define||color_border||red||
<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" />

<title>WebMail ||version|| Management Interface</title>
</head>
<style>
//td{
//	font-family: Tahoma, Arial, Helvetica, sans-serif;
//	font-weight: normal;
//	font-size: 12px;
//	font-style: normal;
//}

td
{
	font: 8pt "Arial";
	color: black;
}


.smb{
	border: 1px solid #032C60;
}
a{
	color: navy;
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	font-weight: bold;
	text-decoration: none;
	font-size: 10px;
	font-style: normal;
	color: #31659C;
}
a:hover{
	text-decoration: underline;
}
.large{
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	font-weight: normal;
	font-size: 16px;
	font-style: normal;
}
.header{
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 16px;
	font-style: normal;
}

input,select,textarea
{
	font: 8pt "Arial";
	color: black;
	font-weight: bold;

	background-color: #cccccc;

	border-width: 1px;
	border-style: solid;
	border-color: #000000;
}

.button,.button_long
{
//  background-repeat: repeat-x;
//  background-position: 50px 49%;
//  background-image: url('||nwimg||||_tpl_color||/skin_buttonbg.gif');

  border-width: 1px;
  color: white;
  font-weight: bold;
  font-size: 8pt;
  height: 18px;
  margin: 0 0 0 0;
  padding: 0;

  background-color: #6B696B;
}

.clear
{
	font: 8pt "Arial";
	color: black;
	font-weight: bold;

	background-color:  transparent;

	border-width: 0px;
	border-style: solid;
}
</style>


<body background="||nwimg||/bg_welcome.gif" marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" >
<center>

<table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#336699">
  <tr>

    <td width="77"><img src="||nwimg||/space.gif" width="77" height="1" border="0"></td>
    <td width="68"><img src="||nwimg||/space.gif" width="68" height="1" border="0"></td>
    <td width="76"><img src="||nwimg||/space.gif" width="76" height="1" border="0"></td>
    <td width="50"><img src="||nwimg||/space.gif" width="50" height="1" border="0"></td>
    <td width="64"><img src="||nwimg||/space.gif" width="64" height="1" border="0"></td>
    <td width="68"><img src="||nwimg||/space.gif" width="68" height="1" border="0"></td>
  </tr>
  <tr>
    <td colspan="7"> <img src="||nwimg||/product_page_hdr1.jpg" border="0" width="403"></td>
  </tr>
</table>

||ifndef||manpass||
	||include||manager_main.tpl||
||else||

<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>	<td valign="top" width="160">
	<table border="0" cellpadding="0" cellspacing="0">
<!-- Registration  --->
	<tr>	<td colspan="2">
			<img src="||nwimg||/config_menu_arrow.gif" align="top" border="0" alt="" />
				<b>WebMail Registration</b>
		</td>
	</tr>
	<tr>	<td><img src="||nwimg||/space.gif" width="16" height="1" /></td>
		<td>			
			<a href="javascript:manager_cmd('do_new_manager','manager_register.tpl')">
				<img src="||nwimg||/config_menu_end.gif" align="top" border="0" alt="" />
				Registration Page
			</a>

		</td>
	</tr>
<!--	<tr>	<td><img src="||nwimg||/space.gif" width="16" height="1" /></td>
		<td>			
			<a href="javascript:manager_cmd('manager_activate','manager_activate.tpl')">
				<img src="||nwimg||/config_menu_end.gif" align="top" border="0" alt="" />
				Activate WebMail
			</a>

		</td>
	</tr>
-->
<!-- Customization --->
	<tr>	<td colspan="2">
			<img src="||nwimg||/config_menu_arrow.gif" align="top" border="0" alt="" />
				<b>Customization</b>
		</td>
	</tr>
	<tr>	<td><img src="||nwimg||/space.gif" width="16" height="1" /></td>
		<td>			
			<a href="javascript:manager_cmd('custom','manager_custom.tpl')">
				<img src="||nwimg||/config_menu_end.gif" align="top" border="0" alt="" />
				Simple Customization
			</a>

		</td>
	</tr>
<!-- Setup --->
	<tr>	<td colspan="2">
			<img src="||nwimg||/config_menu_arrow.gif" align="top" border="0" alt="" />
				<b>Initial Setup</b>
		</td>
	</tr>
	<tr>	<td><img src="||nwimg||/space.gif" width="16" height="1" /></td>
		<td>			
			<a href="javascript:manager_cmd('manager_default','manager_default.tpl')">
				<img src="||nwimg||/config_menu_middle.gif" align="top" border="0" alt="" />
				Default User Settings
			</a>

		</td>
	</tr>
	<tr>	<td><img src="||nwimg||/space.gif" width="16" height="1" /></td>
		<td>			
			<a href="javascript:manager_cmd('manager_ini','manager_ini.tpl')">
				<img src="||nwimg||/config_menu_end.gif" align="top" border="0" alt="" />
				Basic INI Settings
			</a>

		</td>
	</tr>



<!-- Manager Functions --->
	<tr>	<td colspan="2">
			<img src="||nwimg||/config_menu_arrow.gif" align="top" border="0" alt="" />
				<b>Manager Functions</b>
		</td>
	</tr>
	<tr>	<td><img src="||nwimg||/space.gif" width="16" height="1" /></td>
		<td>			
			<a href="javascript:manager_cmd('manager_delete','manager_delete.tpl')">
				<img src="||nwimg||/config_menu_middle.gif" align="top" border="0" alt="" />
				Deleting User
			</a>

		</td>
	</tr>
	<tr>	<td><img src="||nwimg||/space.gif" width="16" height="1" /></td>
		<td>			
			<a href="javascript:manager_cmd('manager_clean','manager_clean.tpl')">
				<img src="||nwimg||/config_menu_middle.gif" align="top" border="0" alt="" />
				Cleaning User
			</a>

		</td>
	</tr>
	<tr>	<td><img src="||nwimg||/space.gif" width="16" height="1" /></td>
		<td>			
			<a href="javascript:manager_cmd('manager_data','manager_data.tpl')">
				<img src="||nwimg||/config_menu_middle.gif" align="top" border="0" alt="" />
				Changing User.dat
			</a>

		</td>
	</tr>
	<tr>	<td><img src="||nwimg||/space.gif" width="16" height="1" /></td>
		<td>			
			<a href="javascript:manager_cmd('manager_search','manager_search.tpl')">
				<img src="||nwimg||/config_menu_middle.gif" align="top" border="0" alt="" />
				User Search
			</a>

		</td>
	</tr>
	<tr>	<td><img src="||nwimg||/space.gif" width="16" height="1" /></td>
		<td nowrap>			
			<a href="javascript:manager_cmd('manager_convert','manager_convert.tpl')">
				<img src="||nwimg||/config_menu_end.gif" align="top" border="0" alt="" />
				Hash Method Converting
			</a>

		</td>
	</tr>
<!-- WebMail Logs --->
	<tr>	<td colspan="2">
			<img src="||nwimg||/config_menu_arrow.gif" align="top" border="0" alt="" />
				<b>WebMail Log Files</b>
		</td>
	</tr>
	<tr>	<td><img src="||nwimg||/space.gif" width="16" height="1" /></td>
		<td>			
			<a href="javascript:manager_cmd('do_new_manager','manager_logs.tpl')">
				<img src="||nwimg||/config_menu_end.gif" align="top" border="0" alt="" />
				WebMail Log Files
			</a>

		</td>
	</tr>

<!-- WebMail Stats Files --->
	<tr>	<td colspan="2">
			<img src="||nwimg||/config_menu_arrow.gif" align="top" border="0" alt="" />
				<b>WebMail Stats Files</b>
		</td>
	</tr>
	<tr>	<td><img src="||nwimg||/space.gif" width="16" height="1" /></td>
		<td>			
			<a href="javascript:manager_cmd('manager_info','manager_info.tpl')">
				<img src="||nwimg||/config_menu_middle.gif" align="top" border="0" alt="" />
				User Information
			</a>

		</td>
	</tr>
	<tr>	<td><img src="||nwimg||/space.gif" width="16" height="1" /></td>
		<td>			
			<a href="javascript:manager_cmd2('manager_info','manager_info.tpl')">
				<img src="||nwimg||/config_menu_middle.gif" align="top" border="0" alt="" />
				User Information (More)
			</a>

		</td>
	</tr>
	<tr>	<td><img src="||nwimg||/space.gif" width="16" height="1" /></td>
		<td>			
			<a href="javascript:manager_cmd('manager_session','manager_session.tpl')">
				<img src="||nwimg||/config_menu_middle.gif" align="top" border="0" alt="" />
				Session Information
			</a>

		</td>
	</tr>

	<tr>	<td><img src="||nwimg||/space.gif" width="16" height="1" /></td>
		<td>			
			<a target="_blank" href="http://netwinsite.com/webmail/admin_adv.htm#logs">
				<img src="||nwimg||/config_menu_middle.gif" align="top" border="0" alt="" />
				Setup Stat
			</a>

		</td>
	</tr>
	<tr>	<td><img src="||nwimg||/space.gif" width="16" height="1" /></td>
		<td>			
			<a href="javascript:manager_cmd('manager_stats','manager_stats.tpl')">
				<img src="||nwimg||/config_menu_end.gif" align="top" border="0" alt="" />
				Display Stats
			</a>

		</td>
	</tr>

<!-- Other Links --->
	<tr>	<td colspan="2">
			<img src="||nwimg||/config_menu_arrow.gif" align="top" border="0" alt="" />
				<b>Other</b>
		</td>
	</tr>
	<tr>	<td><img src="||nwimg||/space.gif" width="16" height="1" /></td>
		<td>			
			<a href="||action||?cmd=manager">
				<img src="||nwimg||/config_menu_middle.gif" align="top" border="0" alt="" />
				LOGOUT
			</a>

		</td>
	</tr>
	<tr>	<td><img src="||nwimg||/space.gif" width="16" height="1" /></td>
		<td>			
			<a target="_blank" href="||action||?cmb=abc">
				<img src="||nwimg||/config_menu_middle.gif" align="top" border="0" alt="" />
				WebMail Interface
			</a>

		</td>
	</tr>
	<tr>	<td><img src="||nwimg||/space.gif" width="16" height="1" /></td>
		<td>			
			<a target="_blank" href="||action||?page=help">
				<img src="||nwimg||/config_menu_middle.gif" align="top" border="0" alt="" />
				User Manual
			</a>

		</td>
	</tr>
	<tr>	<td><img src="||nwimg||/space.gif" width="16" height="1" /></td>
		<td>			
			<a target="_blank" href="http://netwinsite.com/webmail/webmail.htm">
				<img src="||nwimg||/config_menu_end.gif" align="top" border="0" alt="" />
				Admin Manual
			</a>

		</td>
	</tr>

	</table>
	</td>
	<td width="5">&nbsp;</td>
	<td bgcolor="#31659C" width="1"><img src="||nwimg||/space.gif" width="1" height="1"></td>
	<td width="5">&nbsp;</td>
	<td valign="center" align="center">
	||ifdef||error||
		<br>
		<table class="smb" bgcolor="||color_menu||">
			<tr>
				<td><img src="||nwimg||/attention.gif" alt="" /></td>
				<td bgcolor="ffffff">||error||</td>
			</tr>
		</table>
		<br>
	||endif||
	||ifdef||msg||
		<table class="smb" bgcolor="||color_menu||">
			<tr> <td bgcolor="ffffff">||msg||</td></tr>
		</table>
		<br>
	||endif||

		||include||(||mytpl||)||
	</td>
</tr>	
||endif||

</center>

<script type="text/javascript">
<!--- hide script from old browsers
function manager_cmd(cmd, page)
{
	document.managerxform.cmd.value = cmd;
	document.managerxform.mytpl.value = page;
	document.managerxform.submit();
}

function manager_cmd2(cmd, page)
{
	document.managerxform.cmd.value = cmd;
	document.managerxform.pharse_user.value = "true";
	document.managerxform.mytpl.value = page;
	document.managerxform.submit();
}

function display_user(cmd)
{
	document.managerform.user.value = cmd;
	document.managerform.submit();
}
// end hiding from old browsers -->
</script>


<form name="managerxform" method="post" action="||action||">
	<input type="hidden" name="cmd" value="manager" />
	<input type="hidden" name="manpass" value="||manpass||" />
	<input type="hidden" name="page" value="manager" />
	<input type="hidden" name="mytpl" value="" />
	<input type="hidden" name="file" value="" />
	<input type="hidden" name="pharse_user" value="" />

	<input type="hidden" name="on_error" value="show" />
	<input type="hidden" name="err_page" value="manager" />
</form>

<form name="managerform" method="post" action="||action||">
	<input type="hidden" name="cmd" value="manager_user" />
	<input type="hidden" name="user" value="" />
	<input type="hidden" name="manpass" value="||manpass||" />

	<input type="hidden" name="page" value="manager" />
	<input type="hidden" name="mytpl" value="manager_user.tpl" />
</form>

</body>
</html>
