%%sitemember-view-anonymous-html%%
2002-07-21 16:10

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

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

// convert generic flavor to objtype:
if ($this->flavor=="Generic") $this->flavor= "Sitemember";


// if no headline, create one
if ($this->headline=="" && $this->role=="member") $this->headline= "A Member";
elseif ($this->headline=="") $this->headline= "An $this->role";

// if no bio or mission...
if ($this->description=="") $this->description= "Standard mission.";
if ($this->body=="") $this->body= "Classified.";

// allow member to update email or password
if ($this->id==$sitemember->id) {
	$this->passwordTag= "<a href='$this->baseUrl?method=updatemember$session->cgi'>change your email address or password</a><br><br>";
	}


%%header%%


%%css%%


%%template%%
<table class='objTable' cellspacing=5 cellpadding=5>
	<tr>
		<td>
			<table class='objHeader'>
				<tr>
					<td width='1' valign='middle'>$this->iconTag</td>
					<td>
						<span class='objFlavor'>$this->headline:<br></span>
						<span class='objTitle'>$this->name</span>
						<span class='objByline'> <br> 
							Since $this->dateTag. </span>
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
<table border=0>
	<tr>
		<td width='1%'><img src='/bicons/spacer.png' border=0 alt=sitemember width=20 height=1></td>
		<td width='98%'>$this->passwordTag &nbsp;</td>
		<td width='1%'><img src='/bicons/spacer.png' border=0 alt=sitemember width=20 height=1></td>
	</tr>
	<tr>
		<td>&nbsp;</td>
		<td class='objBody'>
			<p><b>Role/Rank:</b> $this->role / $this->rank</p>
			<p><b>Mission:</b> $this->description</p>
			<b>Bio:</b> $this->body
			<p>&nbsp;</p>
		</td>
		<td>&nbsp;</td>
	</tr>
</table>


%%listrow%%
 

%%nullobject%%
<p><img src='/bicons/warning.png' alt='Warning' align=left><br>
	<b>The sitemember you requested was not found.</b></p>
<p><a href='$session->scriptname$folder->name/sitemember-.html?method=listall$session->cgi'>Here is a list</a> of all the sitemembers in this folder.</p> 


%%footer%%



%%postprocess%%


%%end of context%%
