 <script language="JavaScript" type="text/javascript">
<!--
	// Should really check the browser to stop this whining ...
	function select_switch(status)
	{
		for (i = 0; i < document.privmsg_list.length; i++)
		{
			document.privmsg_list.elements[i].checked = status;
		}
	}
-->
</script>


<div class="navrow">
	{PAGE_NUMBER}&nbsp; &nbsp;{PAGINATION}
</div>

<form method="post" name="privmsg_list" action="{S_PRIVMSGS_ACTION}">
<table class="leftbox">
	<tr> 
		<th width="5%" class="secthead">{L_FLAG}</th>
		<th width="50%" class="secthead">{L_SUBJECT}</th>
		<th width="20%" class="secthead">{L_FROM_OR_TO}</th>
		<th width="20%" class="secthead">{L_DATE}</th>
		<th width="5%" class="secthead">{L_MARK}</th>
	</tr>
	<!-- BEGIN listrow -->
	<tr class="row1"> 
		<td class="centerrow">
			<img src="{listrow.PRIVMSG_FOLDER_IMG}" width="25" height="25" alt="{listrow.L_PRIVMSG_FOLDER_ALT}" title="{listrow.L_PRIVMSG_FOLDER_ALT}" />
		</td>
		<td class="topictitle">
			<a href="{listrow.U_READ}">{listrow.SUBJECT}</a>
		</td>
		<td class="centerrow">
			<a href="{listrow.U_FROM_USER_PROFILE}">{listrow.FROM}</a>
		</td>
		<td class="row2">
			{listrow.DATE}
		</td>
		<td class="centerrow">
			<input type="checkbox" name="mark[]2" value="{listrow.S_MARK_ID}" />
		</td>
	</tr>
	<!-- END listrow -->
	<!-- BEGIN switch_no_messages -->
	<tr class="row1"> 
		<td class="centerrow" colspan="5">
			{L_NO_MESSAGES}
		</td>
	</tr>
	<!-- END switch_no_messages -->
	<tr> 
		<td class="catbottom" colspan="5" align="right">
			{S_HIDDEN_FIELDS} 
			<input type="submit" name="save" value="{L_SAVE_MARKED}" class="button" />
			<input type="submit" name="delete" value="{L_DELETE_MARKED}" class="button" />
			<input type="submit" name="deleteall" value="{L_DELETE_ALL}" class="button" />
			<input type="button" name="mark" onclick="javascript:select_switch(true);" value="{L_MARK_ALL}" class="button" />
			<input type="reset" name="unmark" value="{L_UNMARK_ALL}" class="button" />
		</td>
	</tr>
</table>

<div class="navrow">
	&nbsp; &nbsp;
	{L_DISPLAY_MESSAGES}: <select name="msgdays">{S_SELECT_MSG_DAYS}</select>
	<input type="submit" value="{L_GO}" name="submit_msgdays" class="button" />
</div>
</form>

{JUMPBOX}
</div>

<div class="rightbox">
	<div class="boxtop">
		{PAGE_TITLE}
	</div>
	<div class="menubox">
	&nbsp;&nbsp;&nbsp;{INBOX}&nbsp; &nbsp;&nbsp;&nbsp;{SENTBOX}<br />
	&nbsp;&nbsp;&nbsp;{OUTBOX}&nbsp; &nbsp;{SAVEBOX}<br />
	&nbsp;&nbsp;&nbsp;{POST_PM}
	<!-- BEGIN switch_box_size_notice -->
	<br />&nbsp;&nbsp;&nbsp;{BOX_SIZE_STATUS}
	 <!-- END switch_box_size_notice -->
	</div>
</div>

