<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>WebMail New Management Interface</title>
</head>

||ifdef||background||
<body background="||nwimg||/||background||">
||else||
<body>
||endif||
<center>
<table cellpadding="0" cellspacing="0" width="100%">
    <tr>
        <td valign="top"><img src="||nwimg||/logo.gif" alt="" /></td>
        <td>&nbsp;</td>
        <td align="center" valign="top">
		<font color="#FF0000" size="6">WebMail New Management Interface</font></td>
        <td>&nbsp;</td>
        <td align="right" valign="top"><img src="||nwimg||/logo.gif" alt="" /></td>
    </tr>
</table>
</center>
||ifdef||error||
	<center>
	<table border="1">		
		<tr>
			<td><img src="||nwimg||/attention.gif" alt="" /></td>
			<td bgcolor="ffffff">||error||</td>
		</tr>
	</table>
	</center>
||endif||


||ifndef||manpass||
	<h3>Welcome to the Managers Page. This is used to assist in mantaining your users.</h3>	
	<h3>You Must Enter Your Managers Password Below</h3>
	<form action="||action||" method="post">
		<input type="hidden" name="cmd" value="do_new_manager" />

		<center>
		<input type="password" size="20" name="manpass" />
		<input type="submit" name="domanager" size="10" value="Enter Manager" />
		</center>
	</form>
	<p><b>NOTE:</b> To setup a managers password you need to add the following line to your ini file:</p>

	<pre>                managers_password xxxxx</pre>
||else||

<script type="text/javascript">
<!--- hide script from old browsers
function mysubmit(cmd)
{
	document.managerform.cmd.value = cmd;
	document.managerform.submit();
}
// end hiding from old browsers -->
</script>


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

	<center>
	<table width="85%" cellspacing="2">
	<tr>
		<td valign="top">
			<table cellpadding="5" bgcolor="#eeeeff">
			<tr>
				<th bgcolor="#D6D6CE">Template Customization</th>
			</tr>
			<tr>
				<td>
					<a href="javascript:mysubmit('custom');">Custom Page</a><br />
					Allows quick and simple changes to look and feel to the panel tpl set...
				</td>
			</tr>
			<tr>
				<td>
					<a target="_blank" href="http://netwinsite.com/webmail/templates.htm">WebMail Templates</a><br />
					Information about WebMail settings and templates settings...
				</td>
			</tr>

			<tr>
				<td>
					<a target="_blank" href="http://netwinsite.com/webmail/webmail.htm">WebMail Manual</a><br />
					This has all the information about WebMail...
				</td>
			</tr>

			</table>

||ifdef||msisdn_header||
||ifdef||msisdn_path||
			<table cellpadding="5" bgcolor="#eeeeff">
			<tr>
				<th bgcolor="#D6D6CE">Expire Account Cookies</th>
			</tr>
			<tr>
				<td>
					<a href="javascript:mysubmit('manager_mexpire');">Expire Cookies</a><br />
					This will use expire the stored cookies to an account...
				</td>
			</tr>
			</table>
||endif||
||endif||
		</td>
		<td valign="top">
			<table cellpadding="5" bgcolor="#eeeeff">
			<tr>
				<th bgcolor="#D6D6CE">Manager Functions</th>
			</tr>
			<tr>
				<td>
					<a href="javascript:mysubmit('manager_delete');">Deleting User</a><br />
					This allows you to delete a group of users from webmail.					
				</td>
			</tr>
			<tr>
				<td>
					<a href="javascript:mysubmit('manager_clean');">Cleaning User</a><br />
					This allows you to clean the users profile directory of old users, 
					old or large emails...
					
				</td>
			</tr>
			<tr>
				<td>
					<a href="javascript:mysubmit('manager_data');">Change User.dat</a><br />
					Change the user.dat variables for a group of users.
				</td>
			</tr>
			<tr>
				<td>
					<a href="javascript:mysubmit('manager_search');">User Search</a><br />
					This allows you to search your WebMail users, also change individual user.dat files.
				</td>
			</tr>
			<tr>
				<td>
					<a href="javascript:mysubmit('manager_convert');">Hash Method Converting</a><br />
					This will allow you to convert your users between webmail user profile hashing 
					schema between method 1 and 2.<br />
					||ifequal||hash_method||2||
						<i><b>Currently using Hash method 2.</b></i>
					||else||
						<i><b>Currently using Hash method 1.</b></i>
					||endif||
				</td>
			</tr>
			</table>
		</td>
		<td valign="top">
			<table cellpadding="5" bgcolor="#eeeeff">
			<tr>
				<th bgcolor="#D6D6CE">WebMail Stats Files</th>
			</tr>
			<tr>
				<td>
					<a href="javascript:mysubmit('manager_info');">User Information</a><br />
					This will display the layout of your User data, for large system this will
					take some time.
				</td>
			</tr>

			<tr>
				<td>
					<a target="_blank" href="http://netwinsite.com/webmail/admin.htm#logs">Setup Stat</a><br />
					This page provides the information you need to setup stat files.
				</td>
			</tr>
			<tr>
				<td>
					<a href="||action||?cmd=manager_stats&amp;manpass=||manpass||">Display Stats</a><br />
					This will display the current stats information.
				</td>
			</tr>
			</table>
		</td>
	</tr>
	</table>
	</center>



||endif||


||ifdef||register||
<p>If you are the system administrator of this site and you wish to register this 
copy of WebMail then you should click here ||register|| to enter order details.</p>
||endif||



<hr />
||copyright||
</body>
</html>
