%%document-view-anonymous-html%%
roots.encielo.org : / (context:11)
2002-08-11 21:29:08

%%preprocess%%
// format the object for display
$this->beryliumToHtml(); 
$this->timeFormat("F j, Y \a\\t g:ia");
$this->getBaseUrl();

if ($this->id=="") {
	header("HTTP/1.0 404 Not Found");
	}

$recipient= new Document;
$query= "SELECT obj.* FROM document AS obj WHERE obj.id='".$_GET['recipientid']."' AND obj.status!='deleted' ";
$recipient->selectObject($query);
$recipient->beryliumToHtml();

$this->recipientAddress= "
    $recipient->p_salutation $recipient->p_givenname $recipient->p_surname<br>
    $recipient->p_mail
    ";
$this->recipientSalutation= "$recipient->p_salutation $recipient->p_surname";

%%header%%


%%css%%


%%template%%
<p>$this->recipientAddress</p>
<p>$session->updated</p>
<p>&nbsp;</p>
<p>Dear $this->recipientSalutation,</p>
$this->p_letter
<p>&nbsp;</p>

%%listrow%%
 

%%nullobject%%
 

%%footer%%


%%postprocess%%


%%end of context%%

 
