<html>
<script language="JavaScript">
<!---
function start()
{
//	if (top.stats) {
//		if (top.stats.document) {
//			top.stats.Message(0);
//		}
//	}
}

function do_command(command, msg)
{
	if (top.stats) {
		if (top.stats.document) {
			top.stats.Message(msg);
		}
	}
	window.location = command;
}

function mysubmit(cmd, msg)
{
	if (top.stats) {
		if (top.stats.document) {
			top.stats.Message(msg);
		}
	}
	document.form1.cmd.value = cmd;
	document.form1.submit();
}
// -->
</script>

<head>
	<title>Manage Folders </title>
</head>
||ifdef||background||
<body background="||nwimg||/||background||" onLoad="start()">
||else||
<body onLoad="start()">
||endif||

||ifdef||error||
<center>
	<table border="1">
		<tr>
			<td><img src="||nwimg||/attention.gif"></td>
			<td bgcolor="ffffff">||error||</td>
		</tr>
	</table>
</center>
||endif||

||ifdef||msg||
<center>
	<table border="1">
		<tr>
			<td bgcolor="ffffff">||msg||</td>
		</tr>
	</table>
</center>
||endif||


<center>
	<form name="form1" method=post action="||action||">
		<h3>Manage folders </h3>
		<input type=hidden name="utoken" value="||utoken||">
	<noscript>
		<input type="hidden" name="cmd" value="">
	</noscript>
	<script language="javascript">
	<!--
		document.write('<input type="hidden" name="cmd" value="fld_create">');
	//-->
	</script>
		<table>
			<tr>
				<td>
					<select name="dstfld" size=7>
						<option>||xfldlist||</option>
					</select>
				</td>
				<td>
				<script language="javascript">
				<!--
					document.write('<a href="javascript:mysubmit(\'switch\', \'\');"><img border="0" src="||nwimg||/open.gif" alt="Open"></a><br>');
					document.write('<a href="javascript:mysubmit(\'fld_delete\', \'\');"><img border="0" src="||nwimg||/delete.gif" alt="Delete"></a><br>');
					document.write('<table border=1>');
					document.write('	<tr>');
					document.write('		<td align="right">');
					document.write('			<a href="javascript:mysubmit(\'fld_create\', \'\');"><img border="0" src="||nwimg||/create.gif" alt="Create Folder"></a><br>');
					document.write('			<a href="javascript:mysubmit(\'fld_rename\', \'\');"><img border="0" src="||nwimg||/rename.gif" alt="Rename Folder"></a><br>');
					document.write('		</td>');
				//-->
				</script>
				<noscript>
					<input type="image" border="0" src="||nwimg||/open.gif" name="switch"><br>
					<input type="image" border="0" src="||nwimg||/delete.gif" name="fld_delete"><br>
					<table border=1>
						<tr>
							<td align="right">
								<input type=image border="0" src="||nwimg||/create.gif" value="Create Folder" name="fld_create"><br>
								<input type=image border="0" src="||nwimg||/rename.gif" value="Rename Folder" name="fld_rename"><br>
							</td>
				</noscript>
							<td>	<input name="fld_name" size=24 ></td>
						</tr>
					</table>
					<table border>
						<a target=_top href="||action||?cmd=list&utoken=||utoken||&folder=||folder||&newframe=yes">Return to mail list</a>
					</table>
				</td>
			</tr>
		</table>
	</form>
</center>

<center>
	<table border="1" bgcolor="#ffffff">
		<tr>
			<th>Folder</th>
			<th>Msgs</th>
			<th>Size (k)</th>
			<th>Read</th>
			<th>Unread</th>
			<th>Draft</th>
			<th>Deleted</th>
			<th>Replied</th>
		</tr>
		||begin_folder||
			<tr>
				<td><a href="||action||?cmd=list&utoken=||utoken||&fld=||href_text||fld_name||">||fld_name||</a></td>
				<td align="center">||fld_msg||</td>
				<td align="center">||fld_size|| (||fld_ksize||k)</td>
				<td align="center">||fld_seen||</td>
				<td align="center">||fld_unseen||</td>
				<td align="center">||fld_draft||</td>
				<td align="center">||fld_delete||</td>
				<td align="center">||fld_reply||</td>
			</tr>
		||end_folder||
		<tr>
			||ifgreater||fld_fetch_msg||0||
				<td>Sub Total</td>
			||else||
				<td>Total</td>
			||endif||
			<td align="center">||fld_msg_total||</td>
			<td align="center">||fld_size_total|| (||fld_ksize_total||k)</td>
			<td align="center">||fld_seen_total||</td>
			<td align="center">||fld_unseen_total||</td>
			<td align="center">||fld_draft_total||</td>
			<td align="center">||fld_delete_total||</td>
			<td align="center">||fld_reply_total||</td>
		</tr>

		||ifgreater||fld_fetch_msg||0||
			<tr>
				<td><a href="||action||?cmd=list&utoken=||utoken||&fld=INBOX"><i>Fetch Account(s)</i></a></td>
				<td align="center">||fld_fetch_msg||</td>
				<td align="center">||fld_fetch_size|| (||fld_fetch_ksize||k)</td>
				<td align="center">||fld_fetch_seen||</td>
				<td align="center">||fld_fetch_unseen||</td>
				<td align="center">||fld_fetch_draft||</td>
				<td align="center">||fld_fetch_delete||</td>
				<td align="center">||fld_fetch_reply||</td>
			</tr>
			<tr>
				<td>Total</td>
				<td align="center">||add||fld_fetch_msg||fld_msg_total||</td>
				<td align="center">||add||fld_fetch_size||fld_size_total|| (||add||fld_fetch_ksize||fld_ksize_total||k)</td>
				<td align="center">||add||fld_fetch_seen||fld_seen_total||</td>
				<td align="center">||add||fld_fetch_unseen||fld_unseen_total||</td>
				<td align="center">||add||fld_fetch_draft||fld_draft_total||</td>
				<td align="center">||add||fld_fetch_delete||fld_delete_total||</td>
				<td align="center">||add||fld_fetch_reply||fld_reply_total||</td>
			</tr>
		||endif||


	</table>
</center>
||copyright||
</body>
</html>
