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

<div class="red big">
<img src="<?=$GLOBALS['THEMES'][$_SESSION['preferences']->getTheme()]['image']?>" alt="logo"/>
<?=$_SESSION['preferences']->getName().' &lt;'.$GLOBALS['MAIL_USER_NAME'].'@'.MAILSUFFIX.'&gt;'?>
</div>
<hr/>

<div class="small left">
<?=$this->header->date_print(true)?>
</div>

<div class="left giant bold">
<?=$this->header->subject_print()?>
</div>
<hr/>
<table width="98%" cellspacing="0" cellpadding="2">
<tr>
   <td class="bold right italic">From :</td>
   <td><?=$this->header->from_print(true,false)?></td>
</tr>
<?if($this->ifnntp){?>
<tr>
   <td class="bold right italic">Newsgroups :</td>
   <td><?=$this->header->newsgroups?></td>
</tr>
<?}?>
<?if($this->header->to_count){?>
<tr><td class="bold right">To:</td><td><?=$this->header->get_tos_presentation(true)?></td></tr>
<?}?>
<?if($this->header->cc_count){?>
<tr><td class="bold right">Cc:</td><td><?=$this->header->get_ccs_presentation(true)?></td></tr>
<?}?>
<?if($this->header->bcc_count){?>
<tr><td class="bold right">Bcc:</td><td><?=$this->header->get_bccs_presentation(true)?></td></tr>
<?}?>

</table>
<hr/>
<?foreach($this->parts as $index=>$part){if($part->if_printable()){?>
<?=$part->get_presentation($this->mailbox_name,$this->key,$this->ifhtmlmail,true)?>
<hr/>
<?}}?>

<script type="text/javascript">
window.print();
</script>
Return current item: CsWebmail