Location: PHPKode > projects > CsWebmail > cswebmail-3.10/cswebmail-3.10/templates/NNTPMailHeaders_presentation.php
<?if(VALID_DOCUMENT != 1) die('what?');?>

<col width="*">
<col width="*">
<col width="25%">
<col width="55%">


<input type="hidden" name="mailbox" value="<?=$this->name?>"/>
<input type="hidden" name="sort_order" value="<?=$this->sort_order?>"/>
<tr><th class="title" colspan="4">Newsgoup <b><?=$this->name?></b></th></tr>
<?if($this->count > 0){
  $this->print_pages_row();
?>

<tr>
  <th class="left">
  <a href="<?=$_SERVER['PHP_SELF']?>?action=show-folder&mailbox=<?=$this->name?>&sort_order=<?=SORT_BY_NUMBER?>&start_page=<?=$this->current_page?>">#</a>
  </th>
  <th class="left">
  <a href="<?=$_SERVER['PHP_SELF']?>?action=show-folder&mailbox=<?=$this->name?>&sort_order=<?=SORT_BY_DATE?>&start_page=<?=$this->current_page?>">Date</a>
  </th>
  <th class="left">
  <a href="<?=$_SERVER['PHP_SELF']?>?action=show-folder&mailbox=<?=$this->name?>&sort_order=<?=SORT_BY_FROM?>&start_page=<?=$this->current_page?>">From</a>
  </th>
  <th class="left" width="50%">
  <a href="<?=$_SERVER['PHP_SELF']?>?action=show-folder&mailbox=<?=$this->name?>&sort_order=<?=SORT_BY_SUBJECT?>&start_page=<?=$this->current_page?>">Subject</a>
  </th>
</tr>

   <?
   if(is_array($this->headers)){
     foreach($this->headers as $header)
     $header->print_table_row();
   }      
  $this->print_pages_row();
}
else{?>
<tr><td class="center" colspan="4"><h2>Empty</h2></td></tr>
<?}?>
Return current item: CsWebmail