camp fixes; cookie box

This commit is contained in:
Ricsi
2017-06-12 00:31:22 +02:00
parent f17adf4850
commit fa0e1a6488
23 changed files with 534 additions and 208 deletions

View File

@@ -0,0 +1,34 @@
<?php
# HA NINCS ID, AKKOR VÁROSLISTA
if ($this->is_id()) {
# VÁROS SZERKESZTÉSE
}
else {
# VÁROS LISTA
//megnézzük, hogy adott-e meg felelős kapcsolattartót
//ha nem, akkor a 3-as oldalon kilistázzuk a megadott kapcsolattartókat, és kattintással lehet választani
//ha igen, akkor a negyedik oldalra megyünk
if (camp_apply::has_responsible_contact($_COOKIE['badminton_camp_session_id'])) {
header('Location: /tabor/jelentkezes/4');
}
else {
header('Location: /tabor/jelentkezes/3');
}
}
?>