||ifdef||redisplay||
	||define||redisplay||uidl||
||endif||

||get_list_charset||
||ifnempty||header_charset||
	||begin_language||||ifempty||match_lang||||ifequal||header_charset||lang_charset||||define||match_lang||lang_name||||endif||||endif||||end_language||
||endif||
||ifnempty||list_email_charset||
	||begin_language||||ifempty||match_lang||||ifequal||list_email_charset||lang_charset||||define||match_lang||lang_name||||endif||||endif||||end_language||
||endif||
||ifempty||match_lang||
	||ifdef||override_list_lang||	
		||define||match_lang||override_list_lang||
	||endif||
||endif||
<!-- language == '||match_lang||' -->
||ifempty||match_lang||
||else||
	||begin_language||||ifequal||match_lang||lang_name||||define||meta||(<meta http-equiv="Content-type" content="text/html; charset=||lang_charset||">)||||define||display_lang||lang_charset||||endif||||end_language||
||endif||
||endif||
||meta||


<html>
<head>	
	<link rel="StyleSheet" href="||nwimg||/skin2.css" type="text/css">
	<script type="text/javascript" src="||nwimg||/script_cmd.js"></script>

	||include||css_blue.tpl||
	||include||color.dat||
</head>

||ifgreater||nitems||0||
	||define||show_box||true||
||endif||
||ifgreater||fld_fetch_msg||0||
	||define||show_box||true||
||endif||
||ifdef||show_box||
	||ifequal||(||folder||)||INBOX||
		||ifgreater||_nnew||0||
			||define||data||([||_nnew||<img src=||nwimg||/iunseen1.gif /> / ||add||nunread||fld_fetch_unseen||<img src=||nwimg||/iread0.gif> / ||add||nitems||fld_fetch_msg||])||
		||else||
			||define||data||([||add||nunread||fld_fetch_unseen||<img src=||nwimg||/iread0.gif> / ||add||nitems||fld_fetch_msg||])||
		||endif||
	||else||
		||define||data||([||nitems||])||
	||endif||
||else||
	||define||data||( )||
||endif||

||ifdef||disk_quota||
	||define||xamount||(||pop_size||)||
	||define||xmax||(||disk_quota||)||
||endif||
||ifequal||enable_imap_quota||true||
	||ifdef||imap_disk_quota||
		||define||xamount||(||imap_size||)||
		||define||xmax||(||imap_disk_quota||)||
	||endif||
||endif||

<script type="text/javascript">
<!--
	var ftitle = "||lang_str||(||folder||)|| ||data||";
function start()
{
||ifequal||folder||INBOX||
||ifnempty||_refresh||
	if (||_refresh|| > 0) {
		setTimeout("refresh()",||_refresh||000)
	}
||endif||
}
function refresh()
{
	//marijn: lyndens partial change of 7/2/05 reverted as was broken
	search_openFolder('||href_text||folder||', '||java_text||folder||');
||endif||
}
	||ifequal||folder||copy_name|| 
		xlist_menu( 'to', '||lang_str||to||' );
	||else||
		xlist_menu( 'from', '||lang_str||from||' );
	||endif||
//-->
</script>

||define||xpercent||(||percent||xamount||xmax||)||
||ifgreater||xpercent||100|| ||define||xpercent||100|| ||endif||
||iflower||xpercent||0|| ||define||xpercent||1|| ||endif||
<body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" onLoad="list_title(ftitle); quota_list(||xpercent||); start();">

||ifequal||fetch_manual||true||
	||undef||gotfet||
	||begin_fet||
		||define||gotfet||true||
	||end_fet||

	||ifdef||gotfet||
		<a href="||action||?cmd=get_fetch&amp;folder=||fld||&amp;utoken=||utoken||&amp;force_connection=true&amp;&amp;">||lang_str||Check My Other Email Accounts||</a><br />
	||endif||
||endif||

||ifinstr||login_msg||$DUE||
<TABLE WIDTH="500" CELLPADDING="5" BGCOLOR="Yellow">
<TR>
	<TD ALIGN="CENTER"><FONT FACE="Tahoma" SIZE="2" COLOR="Red"><B>Payment due 
				<a href='https://www.another.com/default.aspx?key=||auth_field_cached||renewid||&ReturnUrl=%2fpaymentsystem%2fdefault.aspx%3fcheckdetails%3d1&checkdetails=1'>
				Click Here to Pay</a></B></TD>
</TR>
</TABLE>
||endif||


||ifdef||more_to_download||
	<table>
		<tr>	<td><b>||cust_display_name|| ||lang_str||has downloaded|| ||ifndef||max_download||100||else||||max_download||||endif||
			||lang_str||leaving|| ||more_to_download|| ||lang_str||to download next time||.</b></td>
		</tr>
	</table>
||endif||

<form name="listform" method="post" action="||action||">
	<input type="hidden" name="cmd" value="" />
	<input type="hidden" name="utoken" value="||utoken||" />
	<input type="hidden" name="folder" value="||folder||" />
	<input type="hidden" name="pos" value="||pos||" />
	<input type="hidden" name="page" value="" />
	<input type="hidden" name="one_fwd" value="" />
	<input type="hidden" name="get_attach_id" value="true" />
||ifequal||folder||waste_name||
	<input type="hidden" name="ignore_trash" value="true" />
	<input type="hidden" name="force_empty" value="true" />	
||endif||

<!-- Used for move and copy of emails -->
	<input type="hidden" name="dstfld" value="" />


<table border="0" id="listTable" cellpadding="0" cellspacing="0">
<tr>
	<td width="26"><img src="||nwimg||/space.gif" width="26" height="1"></td>
	<td width="24"><img src="||nwimg||/space.gif" width="24" height="1"></td>
	<td width="50%"><img src="||nwimg||/space.gif" width="230" height="1"></td>
	<td width="30%"><img src="||nwimg||/space.gif" width="105" height="1"></td>
	<td width="105"><img src="||nwimg||/space.gif" width="105" height="1"></td>
	<td width="50"><img src="||nwimg||/space.gif" width="50" height="1"></td>
</tr>

||define||max_line_count||2||
||undef||firstitem||
||ifndef||show_box||
<tr>
	<td>&nbsp;</td>
	||ifdef||number_fetch||
		<td>&nbsp;</td>
	||endif||
	<td colspan="3">"||lang_str||This Folder Contains No Messages||"</td>
	<td>&nbsp;</td>
	<td>&nbsp;</td>
	<td>&nbsp;</td>
</tr>
||else||

	||define||target_frame||xmsg||


	||undef||mid||
	||begin_list||

		||ifempty||firstitem||
			||define||firstitem||uidl||
		||endif||

||ifequal||line||0||
		<tr bgcolor="||color_shade||">
||else||
		<tr>
||endif||
	||ifequal||h_isdraft||0||
			<td nowrap="nowrap">
				||ifndef||mid||
					||define||mid||h_uidl||
					<input type="hidden" name="mid" value="||h_uidl||" />
				||endif||
				<img src="||nwimg||/space.gif" border="0" alt="Unread" width="3" height="1" />
				<a href="||action||?cmd=itemflag-||h_uidl||&amp;require_lock=true&amp;pos=||pos||&amp;flag=read&amp;utoken=||utoken||&amp;fld=||fld||"><img name="iread||java_text||(||encode_tilda||h_uidl||)||" border="0" src="||nwimg||/iread||h_isread||.gif" width="10" height="10" alt="" /></a>
				<img src="||nwimg||/iattach||h_isattached||.gif" width="7" height="12" alt="" />
				<a href="||action||?cmd=itemflag-||h_uidl||&amp;require_lock=true&amp;pos=||pos||&amp;flag=reply&amp;utoken=||utoken||&amp;fld=||fld||"><img border="0" src="||nwimg||/ireply||h_isreplied||.gif" width="9" height="8" alt="" /></a>
			</td>
			<td align="center"><input class="clear" type="checkbox" name="sel_||h_uidl||" id="check||msg_line||" value="on" /></td>
			<td nowrap="nowrap">
				||ifdef||number_fetch||
					||ifdef||fet_number||
						<img src="||nwimg||/host||fet_number||.gif" alt="" />
					||endif||
				||endif||
				&nbsp;
				<a href="javascript:list_msg('||href_text||uidl||')" ondblclick="list_msg_dbl('||href_text||uidl||')">
					||ifequal||h_isunseen||1||<b>||endif||
					||ifequal||h_priority||urgent||
						<font color="#FF0000"><b>Urgent</b> ||lchop||h_subject||40||</font>
					||else||
						||lchop||h_subject||40||
					||endif||
				</a>
			</td>
			<td nowrap="nowrap">
				<a href="javascript:list_msg('||href_text||uidl||')" ondblclick="list_msg_dbl('||href_text||uidl||')">
					||ifequal||h_isunseen||1||<b>||endif||
					||ifequal||folder||copy_name||
						||lchop||h_to||30||
					||else||
						||lchop||h_from_personal||30||
					||endif||
				</a>
			</td>
			<td nowrap="nowrap">||ifequal||h_isunseen||1||<b>||endif||||h_date_day|| ||h_date_time||</td>
			<td align="right">||ifequal||h_isunseen||1||<b>||endif||||h_bytes||</td>
		</tr>
	||else||
			<td nowrap="nowrap" align="center">
				(DRAFT)
			</td>
			<td align="center"><input class="clear" type="checkbox" name="sel_||h_uidl||" id="check||msg_line||" value="on" /></td>
			<td nowrap="nowrap">
				||ifdef||number_fetch||
					||ifdef||fet_number||
						<img src="||nwimg||/host||fet_number||.gif" alt="" />
					||endif||
				||endif||
				&nbsp;
				<a href="javascript:list_draft('||uidl||')">||lchop||h_subject||40||</a>
			</td>
			<td>(self)</td>
			<td nowrap="nowrap">||h_date_day|| ||h_date_time||</td>
			<td>||h_bytes||</td>
		</tr>
	||endif||
	||end_list||

||endif||
</table>
</form>

||ifdef||rule_log||
<script type="text/javascript">
<!--
	alert ( "||lang_str||Log of rule processing||\n||rule_log||" );
-->
</script>
||endif||


||ifequal||_played_sound||2||
||ifdef||_sound_file||
||ifdef||_nnew||
	<script type="text/javascript">
	<!--
	if (||_nnew|| > 0) {
		var MSIE=navigator.userAgent.indexOf("MSIE");
		var NETS=navigator.userAgent.indexOf("Netscape");
		var OPER=navigator.userAgent.indexOf("Opera");
		if((MSIE>-1) || (OPER>-1)) {
			document.write('<BGSOUND SRC="||_sound_file||" LOOP=false>');
		} else {
			document.write('<EMBED SRC="||_sound_file||" autostart=true loop=false volume=100 align="center" width=0 height=0 controls=smallconsole>');
		}
	}
	// -->
	</script>
||endif||
||endif||
||endif||

<form method="post" action="||action||" name="folder_select" target="xlist">
	<input type="hidden" name="cmd" value="reload_mail" />
	<input type="hidden" name="utoken" value="||utoken||" />
	<input type="hidden" name="fld" value="" />
	<input type="hidden" name="java_lang" value="true" />
	<input type="hidden" name="gmt_mins" value="" />
</form>

<form name="itemdisplay" method="post" action="||action||" target="xmsg">
	<input type="hidden" name="cmd" value="" />
	<input type="hidden" name="page" value="msg" />
	<input type="hidden" name="utoken" value="||utoken||" />
	<input type="hidden" name="folder" value="||folder||" />

	<input type="hidden" name="java_email" value="true" />	
</form>

<form name="itemdisplay2" method="post" action="||action||" target="_blank">
	<input type="hidden" name="cmd" value="" />
	<input type="hidden" name="page" value="message" />
	<input type="hidden" name="utoken" value="||utoken||" />
	<input type="hidden" name="folder" value="||folder||" />

	<input type="hidden" name="java_email" value="true" />
</form>

</body>
</html>

<script type="text/javascript">
<!--
//	Used for pages selects
	var num_per_page = ||_max_message_display||;
	var maxpage = 0;
	var curpage = 0;

	||ifdef||redisplay||
		list_msg('||redisplay||');
	||endif||
	||ifgreater||num_pages||0||
		list_page_update(||num_pages||,||page_pos||);
	||else||
		list_page_update(1,1);
	||endif||

//-->
</script>

||include||message_popup.tpl||
