%%document-view-anonymous-txt%%
2002-06-21 23:41

%%preprocess%%
// format the object for display
$this->beryliumToHtml();
$this->getRuntimeVars();

if ($this->id=="") {
	header("HTTP/1.0 404 Not Found");
	}
else {
	$this->context->commentsRow= "
{list:SELECT obj.* FROM comment AS obj WHERE obj.rank>=100 AND obj.siteid='$site->id' AND obj.parentobjtype='document' AND obj.parentid='$this->id' $session->statuswhere $session->publicwhere ORDER BY obj.created ASC;list}
	";
	$this->parseCBML("commentsRow");
	$this->commentsRow= $this->context->commentsRow;
	}

// show title in place of headline if no headline
if ($this->headline== "") $this->headline=$this->title;


%%header%%


%%css%%


%%template%%
<p>$this->flavor document:<br>
<b>$this->headline</b><br>
By $this->authorTag on $this->created.</p>

<b>Abstract:</b>
<blockquote><b>$this->title:</b> $this->description</blockquote>

<b>Document:</b><br>
$this->body

<p>From <a href="$folder->baseUrl$this->name.html">$folder->baseUrl$this->name.html</a>.</p>
<hr>
$this->commentsRow

%%listrow%%
 

%%nullobject%%
Sorry, the document you requested was not found.


%%footer%%


%%postprocess%%


%%end of context%%
