Location: PHPKode > projects > CsWebmail > cswebmail-3.10/cswebmail-3.10/templates_mobile/QueryMailHeader_table_row.php
<?
if(VALID_DOCUMENT != 1) die('what?');
$header_style = HEADER_STYLE.($this->is_unseen?BOLD_STYLE:'');
$style = $this->is_unseen?NEW_STYLE:($this->is_deleted?'':'');
$href = $_SERVER['PHP_SELF'].'?action=read-mail&amp;mailbox='.$this->mbox_name.'&amp;mailkey='.$this->key;
$labels = $this->labels_print();
$if_attach = preg_match('@multipart/hide@address.com',$this->_header['content-type']['mime-type']);
?>
<div style="<?=$header_style?>">
<?=$this->date_print()?>
&nbsp;
<?if($labels){print $labels;}?>
<?=bytes2string($this->size,0)?>
<?if($if_attach){?> <img src="./images/attach_small.gif"/><?}?>
</div>
<div style="<?=$style?>">
<?=$this->from_print()?>
&nbsp;
<a href="<?=$href?>"><?=$this->subject_short_print()?></a>
</div>
<div style="<?=SMALL_STYLE?>">
in <a href="<?=$_SERVER['PHP_SELF']?>?action=show-folder&amp;mailbox=<?=$this->mbox_name?>"><?=basename($this->mbox_name)?></a>
</div>
Return current item: CsWebmail