<?if(VALID_DOCUMENT != 1) die('what?');?>
<col width="*">
<col width="22px">
<col width="*">
<col width="20%">
<col width="*">
<col width="45%">
<input type="hidden" name="label" value="<?=$this->label?>"/>
<tr><th class="title" colspan="6"><?=$this->name?> mails</th></tr>
<?if($this->count > 0){
$this->print_pages_row();
?>
<tr>
<th class="left" colspan="2">MBox</th>
<th class="left">Date</th>
<th class="left">From</th>
<th class="left">Size</th>
<th class="left" width="50%">Subject</th>
</tr>
<?
if(is_array($this->headers)){
foreach($this->headers as $header)
$header->print_table_row();
}
$this->print_pages_row();
?>
<tr>
<td colspan="6">
<input type="button" value="check all" onclick="setChecked(this.form,'key',1)"/>
<input type="button" value="clear all" onclick="setChecked(this.form,'key',0)"/>
<input type="button" value="refresh" onclick="window.location.reload(true)"/>
<input type="button" value="remove labels" onclick="action.value='remove-labels';action_confirm(this.form,'Are you sure to remove labels ?')"/>
<input type="button" value="delete" onclick="action.value='multi-delete';action_confirm(this.form,'Are you sure to delete ?')"/>
</td>
</tr>
<?
}
else{?>
<tr><td class="center" colspan="6"><h2>Empty</h2></td></tr>
<?}?>