public function action_activateAccount() { $this->STOP_PROPAGATION = true; header('Content-Type: text/html; charset=utf-8'); if (!empty($this->get['id']) && !empty($this->get['activationCode'])) { if (accountData::activeAccountData($this->get['id'], $this->get['activationCode'])) { echo "<h2>Aktivace účtu proběhla v pořádku.</h2>"; echo "<small>Tým Půdní služba, VUMOP v.v.i.</small><br><br>"; echo "<a href='" . \GLOBALVAR\ROOT . "'>do aplikace</a>"; exit; } } echo "<h2>Litujeme, aktivace účtu se nezdařila.</h2>"; echo "<p>Kontaktujte správce aplikace.</p>"; exit; }