 
<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>
<table cellspacing="2" cellpadding="2" border="0" align="center">
<tr> 
<td>{INBOX_IMG}</td>
<td class="cattitle">{INBOX} &nbsp;</td>
<td>{SENTBOX_IMG}</td>
<td class="cattitle">{SENTBOX} &nbsp;</td>
<td>{OUTBOX_IMG}</td>
<td class="cattitle">{OUTBOX} &nbsp;</td>
<td>{SAVEBOX_IMG}</td>
<td class="cattitle">{SAVEBOX} &nbsp;</td>
</tr>
</table>
<br clear="all" />

<form method="post" name="privmsg_list" action="{S_PRIVMSGS_ACTION}">
<table width="100%" cellspacing="2" cellpadding="2" border="0">
<tr> 
<td>{POST_PM_IMG}</td>
<td class="nav" width="100%">&nbsp;<a href="{U_INDEX}">{L_INDEX}</a></td>
	  <td class="gensmall" align="right" nowrap>{L_DISPLAY_MESSAGES}: 
		<select name="msgdays">{S_SELECT_MSG_DAYS}</select>
		<input type="submit" value="{L_GO}" name="submit_msgdays" class="liteoption" />
		</td>
	</tr>
  </table>
<table border="0" cellpadding="2" cellspacing="1" width="100%" class="forumline">
<tr> 
<th height="28" class="thcornerl" nowrap>&nbsp;{L_FLAG}&nbsp;</th>
	  <th width="55%" class="thtop" nowrap>&nbsp;{L_SUBJECT}&nbsp;</th>
	  <th width="20%" class="thtop" nowrap>&nbsp;{L_FROM_OR_TO}&nbsp;</th>
	  <th width="15%" class="thtop" nowrap>&nbsp;{L_DATE}&nbsp;</th>
	  <th width="5%" class="thcornerr" nowrap>&nbsp;{L_MARK}&nbsp;</th>
	</tr>
	<!-- BEGIN listrow -->
	<tr> 
<td class="{listrow.ROW_CLASS}" align="center" height="30"><a href="{listrow.U_READ}"><img src="{listrow.PRIVMSG_FOLDER_IMG}" width="33" height="25" alt="{listrow.L_PRIVMSG_FOLDER_ALT}" title="{listrow.L_PRIVMSG_FOLDER_ALT}" border="0" /></a></td>
<td class="{listrow.ROW_CLASS}"><span class="topictitle">&nbsp;<a href="{listrow.U_READ}" class="topictitle">{listrow.SUBJECT}</a></span></td>
<td width="20%" align="center" class="{listrow.ROW_CLASS}"><span class="name">&nbsp;<a href="{listrow.U_FROM_USER_PROFILE}" class="name">{listrow.FROM}</a></span></td>
<td width="15%" align="center" class="{listrow.ROW_CLASS}"><span class="postdetails">{listrow.DATE}</span></td>
<td width="5%" align="center" class="{listrow.ROW_CLASS}"><span class="postdetails"> 
<input type="checkbox" name="mark[]2" value="{listrow.S_MARK_ID}" />
</span></td>
</tr>
<!-- END listrow -->
<!-- BEGIN switch_no_messages -->
<tr> 
<td class="row1" colspan="5" align="center"><span class="gen">{L_NO_MESSAGES}</span></td>
	</tr>
<!-- END switch_no_messages -->
	<tr> 
	  <td class="catbottom" colspan="5" height="28" align="right"> {S_HIDDEN_FIELDS} 
		<input type="submit" name="save" value="{L_SAVE_MARKED}" class="mainoption" />&nbsp; 
		<input type="submit" name="delete" value="{L_DELETE_MARKED}" class="liteoption" />	&nbsp; 
		<input type="submit" name="deleteall" value="{L_DELETE_ALL}" class="liteoption" />
	  </td>
	</tr>
  </table>
<table width="100%" cellspacing="2" border="0" cellpadding="2">
<tr> 
<td>{POST_PM_IMG}</td>
<td class="nav" width="100%">&nbsp;<a href="{U_INDEX}">{L_INDEX}</a></td>
<td class="gensmall" align="right" valign="top" nowrap><strong> 
<!-- BEGIN switch_box_size_notice -->
{BOX_SIZE_STATUS} :: 
<!-- END switch_box_size_notice -->
<a href="javascript:select_switch(true);">{L_MARK_ALL}</a> :: <a href="javascript:select_switch(false);">{L_UNMARK_ALL}</a></strong></td>
</tr>
<tr> 
<td class="nav" colspan="3">{PAGINATION}</td>
</tr>
</table>
</form>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr> 
<td valign="top">{JUMPBOX}</td>
</tr>
</table>
