title = $title;
		$this->email = $email;
		$this->time = $time;
		$this->remoteaddr = $remoteaddr;
		$this->text = $text;
	}
	public function show()
	{
		echo "
\n";
		echo "  
" . $this->title . "
\n";
		echo "  
" . date("D M jS Y G:i", $this->time) . "
\n";
		echo "  
" . str_replace("@", "(A)", $this->email) . "
\n";
		echo "  
" . $this->text . "
\n";
		echo "
 \n";
	}
}
class Guestbook {
	private $file;
	private $guestbook = array();
	public function add($entry) {
		$key = $entry->time;
		$this->guestbook[$key] = $entry;
	}
	public function write()
	{
		$fp = fopen($this->file, "w");
		fwrite($fp, "\n");
		fwrite($fp, "The requested URL /?page=guestbook was not found on this server.