%%document-index-anonymous-html%%
weblog version
2002-06-28 19:56

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

// get proper icon for private object
if (!$this->public) $this->iconpvt= "-pvt";

// show anonymous if no author defined
if ($this->author== "") $this->author=$site->name;
	
// show default icon or alt icon from imageid
if ($this->imageid!="0") {
	$this->iconTag= bparsebml("[image:$this->imageid;25,25;middle]");
	}
else $this->iconTag= "<img src='/bicons/document$this->iconpvt.png' border=0 alt='document:$this->id' title='document:$this->id' align=middle>";

// headline fix if only title
if ($this->title=="" && $this->headline=="") $this->title= "Untitled ($this->name)";
elseif ($this->title=="") $this->title= $this->headline;

// more tag if body exists
if ($this->body!="") $this->moreTag="<a href='$this->baseUrl'>continues</a>&raquo; | <a href='$this->baseUrl#comments'>comments</a>";
else $this->moreTag= "<a href='$this->baseUrl#comments'>comments</a>";

// alternating rows
$session=$GLOBALS[session];
if ($session->row=="" || $session->row==1) {
	$this->rowclass="oddrow";
	$GLOBALS[session]->row=2;
	}
else {
	$this->rowclass="evenrow";
	$GLOBALS[session]->row=1;
	}
 
%%header%%



%%css%%
.documentInfo {font-size: 12px; color: #999999; }
.documentInfo b {font-size: 12px; color: #aa9999; font-weight: bold; }
.documentHeader TD {padding: 3px; margin: 0px; }
.documentTable TD { border: 1px; border-style: solid; border-color: #006699; }
.documentFlavor {font-size: 12px; line-height: 14px; font-weight: normal; }
.documentTitle {font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 18px; font-weight: bold; color: #006699; }
.documentDescription { color: #333344; font-size: 12px; line-height: 18px; }
.documentHeadline {font-size: 18px; line-height: 24px; font-weight: bold; color: #006699; }
.documentByline {font-face: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 14px; font-weight: normal; color: green; }
.oddrow { background-color: #f9f9fa; }
.evenrow { background-color: #fcfcfd; }


%%template%%
<table class=documentTable cellspacing=5 cellpadding=5>
	<tr class='$this->rowclass'>
		<td>
			<p class="documentTitle"><span class='documentFlavor'>$this->flavor:<br></span>
			<a href="$this->baseUrl">$this->title</a>
			<span class='documentByline'><br>By $this->author on $this->created.</span></p>
			<blockquote class='documentDescription'>$this->description</blockquote>
			<p align="right" class='documentFlavor'>$this->moreTag</p>
		</td>
	</tr>
</table>



%%listrow%%
 



%%nullobject%%
 



%%footer%%



%%postprocess%%



%%end of context%%
