<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<script type="text/javascript">
<!---
function setTitle(){
	||ifequal||top||_top||
		window.top.document.title = "||cust_title|| - ||current_user|| - Manage Folders";
	||endif||
}

function doSwitch(){
	document.form1.listcmd.value='list';
	||ifdef||_nopreview||
		document.form1.cmd.value = 'list';
	||endif||
	document.form1.page.value='framelist';
	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;
		}
	}
}

function reloadFrames(){
||ifndef||fromMenu||
	window.parent.frames[1].document.location.reload();
	window.parent.frames[0].document.location.reload();
||endif||
	return;
}
// -->
</script>
<title>Manage Folders </title>
</head>
<body background="||cust_panel_background||" bgcolor="||cust_panel_bgcolor||" onload="setTitle();reloadFrames();">

||ifdef||error||
<script type="text/javascript">
</script>
	<center>
	<table border="1">
		<tr>
			<td><img src="||nwimg||/attention.gif" alt="Attention" /></td>
			<td bgcolor="ffffff">||error||</td>
		</tr>
	</table>
	</center>
||endif||

<center>
<form name="form1" method="post" action="||action||">
<h3>Manage folders </h3>
||ifinstr||connection_type||POP||
	Your POP folders are using ||kpop_size||kbytes out of a maximum space of ||kdisk_quota||bytes
||endif||
<input type="hidden" name="utoken" value="||utoken||" />
<input type="hidden" name="cmd" value="fld_create" />
<input type="hidden" name="listcmd" value="" />
<input type="hidden" name="page" value="" />
<input type="hidden" name="folder" value="" />

<table border="1">
<tr>
	<td rowspan="3">
		<select name="dstfld" size="7">
			||begin_folder||
				<option value="||html_text||fld_name||">||html_text||fld_name||</option>
			||end_folder||
		</select>
	</td>
	<td colspan="2" align="center">
		<input type="submit" value="Create" name="fld_create" />
		<input type="submit" value="Delete" name="fld_delete" onclick="this.form.cmd.value='';" />
		<input type="submit" value="Open" name="show" onclick="this.form.cmd.value='';doSwitch();" />
		<input type="submit" value="Rename" name="fld_rename" onclick="this.form.cmd.value='';" />
	</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="0">
		<tr>
			<td align="center"><a target="||top||" href="||action||?cmd=list&amp;utoken=||utoken||&amp;folder=||folder||&amp;newframe=yes">Return to mail list</a></td>
		</tr>
		</table>
	</td>
</tr>
</table>
</form>

<table border="1" bgcolor="#ffffff">
<tr>
	<th>Folder</th>
	<th>Msgs</th>
	<th>Size (kb)</th>
	<th>Read</th>
	<th>Draft</th>
	<th>Reply</th>
</tr>

||begin_folder||
<tr>
	||ifdef||_nopreview||
		<td><a href="||action||?cmd=list&amp;utoken=||utoken||&amp;folder=||href_text||fld_name||&amp;page=listf2">||html_text||fld_name||</a></td>
	||else||
		<td><a href="||action||?cmd=show&amp;page=framelist&amp;listcmd=list&amp;folder=||href_text||fld_name||&amp;utoken=||utoken||">||html_text||fld_name||</a></td>
	||endif||
	<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_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_ksize_total||</td>
	<td align="center">||fld_seen_total||</td>
	<td align="center">||fld_draft_total||</td>
	<td align="center">||fld_reply_total||</td>
</tr>

||ifgreater||fld_fetch_msg||0||
	<tr>
		||ifdef||_nopreview||
			<td><a href="||action||?cmd=list&amp;utoken=||utoken||&amp;folder=||href_text||new_mail_name||&amp;page=listf2"><i>Fetch Accounts</i></a></td>
		||else||
			<td><a href="||action||?cmd=show&amp;page=framelist&amp;listcmd=list&amp;utoken=||utoken||&amp;folder=||href_text||new_mail_name||"><i>Fetch Accounts</i></a></td>
		||endif||
		<td align="center">||fld_fetch_msg||</td>
		<td align="center">||fld_fetch_ksize||</td>
		<td align="center">||fld_fetch_seen||</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_ksize||fld_ksize_total||</td>
		<td align="center">||add||fld_fetch_seen||fld_seen_total||</td>
		<td align="center">||add||fld_fetch_draft||fld_draft_total||</td>
		<td align="center">||add||fld_fetch_reply||fld_reply_total||</td>
	</tr>
||endif||

</table>
</center>

<table width="100%"><tr><td align="right">||copyright||</td></tr></table>
</body></html>
