<!-- inbox folder -->
<script type="text/javascript">
<!--
	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;
				}
			}
	}
	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;
			}
	}
-->
</script>
<form action="{$this->ipsclass->base_url}" name="mutliact" method="post">
<input type="hidden" name="act" value="UserCP" />
<input type="hidden" name="CODE" value="51" />
<div class="subtitle">{$this->ipsclass->lang['forum_subs_header']}</div>
<div class="borderwrapm">
	<table class='ipbtable' cellspacing="0">
		<tr>
			<th width="5%">&nbsp;</th>
			<th width="50%">{$this->ipsclass->lang['ft_forum']}</th>
			<th align="center" width="5%">{$this->ipsclass->lang['ft_topics']}</th>
			<th align="center" width="5%">{$this->ipsclass->lang['ft_posts']}</th>
			<th align="center" width="35%">{$this->ipsclass->lang['ft_last_post']}</th>
			<th align="center" width="5%" style='padding: 1px;'><input name="allbox" class='checkbox' type="checkbox" value="Check All" onclick="CheckAll();" /></th>
		</tr>