public function index() {
		$exclude  = null;
		if (!$this->event->canRegister()) {
			$data = array(
				'Content' => '<p>This event cannot be registered for.</p>'
			);
		} elseif (!$this->event->getRemainingCapacity($exclude)) {
			$data = array(
				'Title'   => $this->event->Title . ' Is Full',
				'SoldOut' => true,
				'Content' => '<p>There are no more places available at this event.</p>'
			);
		} else {
			$tickets = $this->event->getAvailableTickets();
			$data = new ArrayData(array(
				'Tickets' => $tickets
			));
			$registration = $this->getCurrentRegistration();
			if($registration->Attendees()->exists()){
				$data->NextURL = $this->Link("review");
				$data->NextLink = AnchorField::create("review",
					_t("EventRegisterController.BACKTOREVIEW", "Back to Review"),
					$data->NextURL
				)->Field();
			}
			$template = self::config()->ticket_select_template;
			$content = $this->renderWith($template, $data);
			$data = array(
				'Title' => 'Register For ' . $this->event->Title,
				'Form'  => '',
				'Content' => $content
			);
		}
		$data['Event'] = $this->event;

		return $this->getViewer('index')->process($this->customise($data));
	}