%%folder-clearxobotevents-member-html%%


%%preprocess%%
$query= "UPDATE event SET status='deleted' WHERE event.parentobjtype='sitemember' AND event.parentid='$sitemember->id' AND event.flavor='xobotsend' AND event.status='posted' ";
$result= @mysql_query($query);
if (!$result) {
	$this->showNull=1;
	$this->queryError= mysql_error();
	}
else $this->queryResult= $result;

%%header%%

%%css%%

%%template%%
List reset. ($this->queryResult)

%%listrow%%

%%nullobject%%
Unable to reset event list at this time. ($this->queryError)

%%footer%%


%%postprocess%%
$redirect="Location: $folder->baseUrl";
if (!$GLOBALS['debug'] && !$this->showNull) {
	header("$redirect");
	exit;
	}

%%end of context%%
