
<!-- inbox folder -->
<script language='JavaScript' type="text/javascript">
<!--
var ie  = document.all  ? 1 : 0;
//var ns4 = document.layers ? 1 : 0;
function hl(cb)
{
   if (ie)
   {
	   while (cb.tagName != "TR")
	   {
		   cb = cb.parentElement;
	   }
   }
   else
   {
	   while (cb.tagName != "TR")
	   {
		   cb = cb.parentNode;
	   }
   }
   cb.className = 'hlight';
}
function dl(cb) {
   if (ie)
   {
	   while (cb.tagName != "TR")
	   {
		   cb = cb.parentElement;
	   }
   }
   else
   {
	   while (cb.tagName != "TR")
	   {
		   cb = cb.parentNode;
	   }
   }
   cb.className = 'dlight';
}
function cca(cb) {
   if (cb.checked)
   {
	   hl(cb);
   }
   else
   {
	   dl(cb);
   }
}
	   
function CheckAll(cb) {
	var fmobj = document.mutliact;
	for (var i=0;i<fmobj.elements.length;i++) {
		var e = fmobj.elements[i];
		if ((e.name != 'allbox') && (e.type=='checkbox') && (!e.disabled)) {
			e.checked = fmobj.allbox.checked;
			if (fmobj.allbox.checked)
			{
			   hl(e);
			}
			else
			{
			   dl(e);
			}
		}
	}
}
function CheckCheckAll(cb) {	
	var fmobj = document.mutliact;
	var TotalBoxes = 0;
	var TotalOn = 0;
	for (var i=0;i<fmobj.elements.length;i++) {
		var e = fmobj.elements[i];
		if ((e.name != 'allbox') && (e.type=='checkbox')) {
			TotalBoxes++;
			if (e.checked) {
				TotalOn++;
			}
		}
	}
	if (TotalBoxes==TotalOn) {fmobj.allbox.checked=true;}
	else {fmobj.allbox.checked=false;}
}
function select_read() {	
	var fmobj = document.mutliact;
	for (var i=0;i<fmobj.elements.length;i++) {
		var e = fmobj.elements[i];
		if ((e.type=='hidden') && (e.value == 1) && (! isNaN(e.name) ))
		{
			eval("fmobj.msgid_" + e.name + ".checked=true;");
			hl(e);
		}
	}
}
function unselect_all() {	
	var fmobj = document.mutliact;
	for (var i=0;i<fmobj.elements.length;i++) {
		var e = fmobj.elements[i];
		if (e.type=='checkbox') {
			e.checked=false;
			dl(e);
		}
	}
}
//-->
</script>
<div style='padding: 6px;'><strong>&raquo; {$ibforums->lang['m_messenger']}</strong></div>
<div class='titlemedium'>$dirname</div>
<div class='content' style='padding: 3px;'>
<div class='border' style='width: 300px;'>
<table cellpadding='3' cellspacing='1' border='0' width='100%' style='background-color: #000000;'>
  <tr>
    <td class='titlemedium' align='left' colspan='3'>{$info['full_messenger']}</td>
  </tr>
  <tr>
    <td class='content' colspan='3'><img src='{$ibforums->vars['img_url']}/bar_left.gif' border='0' width='3' height='12' align='middle' alt='' /><img src='{$ibforums->vars['img_url']}/bar.gif' border='0' width='{$info['img_width']}' height='12' align='middle' alt='' /><img src='{$ibforums->vars['img_url']}/bar_right.gif' border='0' width='3' height='12' align='middle' alt='' /></td>
  </tr>
  <tr>
    <td class='titlemedium' width='33%'>0%</td>
    <td class='titlemedium' width='33%'>50%</td>
    <td class='titlemedium' width='33%'>100%</td>
  </tr>
</table>
</div>
</div>
<div class='titlemedium' style='float: right; text-align: right;'>$pages [ <a href='javascript:select_read()'>{$ibforums->lang['pmpc_mark_read']}</a> | <a href='javascript:unselect_all()'>{$ibforums->lang['pmpc_unmark_all']}</a> ]</div>
<div class='titlemedium'><form action="{$ibforums->base_url}CODE=01&amp;act=Msg" name='jump' method="post"> {$ibforums->lang['goto_folder']}: &nbsp; $vdi_html <input type='submit' name='submit' value='{$ibforums->lang['goto_submit']}' class='forminput' /></form></div>
<!-- INBOX TABLE -->
<form action="{$ibforums->base_url}CODE=06&amp;act=Msg" name='mutliact' method="post">
<div class='content' style='padding: 3px;'>
<div class='border'>
<table cellpadding='3' cellspacing='1' border='0' width='100%' style='background-color: #000000;'>
  <tr>
    <th width='5%' class='titlemedium'>&nbsp;</th>
    <th width='35%' class='titlemedium'><a href='{$ibforums->base_url}act=Msg&amp;CODE=01&amp;VID={$info['vid']}&amp;sort=title&amp;st={$ibforums->input['st']}'>{$ibforums->lang['message_title']}</a></th>
    <th width='30%' class='titlemedium'><a href='{$ibforums->base_url}act=Msg&amp;CODE=01&amp;VID={$info['vid']}&amp;sort=name&amp;st={$ibforums->input['st']}'>{$ibforums->lang['message_from']}</a></th>
    <th width='25%' class='titlemedium'><a href='{$ibforums->base_url}act=Msg&amp;CODE=01&amp;VID={$info['vid']}&amp;sort={$info['date_order']}&amp;st={$ibforums->input['st']}'>{$ibforums->lang['message_date']}</a></th>
    <th width='5%'  class='titlemedium'><input name="allbox" type="checkbox" value="Check All" onclick="CheckAll();" /></th>
  </tr>
