<?php

class ModuleClub extends Module
{
  function __construct($System)
  {
    parent::__construct($System);
    $this->Name = 'Club';
    $this->Version = '1.0';
    $this->Creator = 'Chronos';
    $this->License = 'GNU/GPL';
    $this->Description = 'List of dance clubs';
    $this->Dependencies = array();
    $this->RSSChannels = array();
  }

  function Start(): void
  {
    $this->System->RegisterPage(['tancirny'], 'PageDanceClub');
  }
}

class PageClub extends Page
{
  function __construct($System)
  {
    parent::__construct($System);
    $this->Title = 'Tančírny';
  }

  function Show(): string
  {
    return 'Dance clubs';
  }
}
