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

function doSwitch(){
	document.form1.cmd.value = 'list';
	for(var i=0; i<document.form1.dstfld.options.length; i++){
		if(document.form1.dstfld.options[i].selected){
			document.form1.folder.value = document.form1.dstfld.options[i].value;
			return;
		}
	}
}

// -->
</script>

<head>
<title>Manage Folders </title>
</head>

<body bgcolor="#cedfff">

<table border="0" cellpadding="0" cellspacing="0" rules="none"><tr valign="top">
<td>||include||nfmenu.tpl||</td><td>&nbsp;</td><td>

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


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

</center>

<center>
<table border="1" bgcolor="#ffffff">
<tr>
	<th>Folder</th>
	<th>Msgs</th>
	<th>Size (kb)</th>
	
	<th>Read</th>
	<th>Draft</th>
	<th>Deleted</th>
	<th>Reply</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_ksize||</td>

	<td align="center">||fld_seen||</td>
	<td align="center">||fld_draft||</td>
	<td align="center">||fld_delete||</td>
	<td align="center">||fld_reply||</td>
</tr>
||end_folder||

</table>
</center>


||copyright||
</td></tr></table>
</body></html>
