diff --git a/.htaccess b/.htaccess
index e0167e9..6c0ef45 100644
--- a/.htaccess
+++ b/.htaccess
@@ -3,6 +3,7 @@ Options +FollowSymLinks -MultiViews
RewriteEngine On
RewriteBase /
+RewriteRule ^$ index.php?page=view [NC,L]
RewriteRule ^\/?(_css\/)([a-zA-Z0-9_]+)\.css$ _css/$2.css [NC]
RewriteRule ^\/?(_ajax\/)([a-zA-Z0-9_]+)\.php$ _ajax/$2.php [NC,L]
diff --git a/_ajax/update_presence.php b/_ajax/update_presence.php
index 9ad5ff9..aeadc36 100755
--- a/_ajax/update_presence.php
+++ b/_ajax/update_presence.php
@@ -1,13 +1,15 @@
$value) {
- trigger_error($key . " : " . $value, E_USER_NOTICE);
+ trigger_error($_SERVER['HTTP_HOST'], E_USER_NOTICE);
}
*/
+if ($_SERVER['HTTP_HOST'] == 'badmintoncoach.hu') $sql = new sql('localhost','root','','badminton_coach');
+else $sql = new sql('localhost','tollashodos','uprRscU8bGpJ','tollashodos');
+
+
if ($_POST['checked'] == "true") {
$sql->insert_into('presence', array('pr_user_kid_uk_id' => $_POST['user_id'], 'pr_training_tr_id' => $_POST['tr_id']));
}
diff --git a/_class/class_login.php b/_class/class_login.php
index c4611db..f540a8a 100755
--- a/_class/class_login.php
+++ b/_class/class_login.php
@@ -47,16 +47,51 @@ class login {
}
- public function login_user($_user_id, $_user_type) {
+ public function check_coach_login($_user_name, $_user_password) {
+ global $sql;
+ //ez a függvény ellenőrzi le a bevitt adatok
+ //vissszadja a user_id-t, ha helyesek az adatok
+ //null ha nem
+ $check_query =
+ "
+ SELECT ua_id FROM user_coach WHERE
+ (ua_name = '" . $_user_name . "' AND
+ ua_password = '" . md5($_user_password ) . "')";
+
+ echo $check_query;
+
+ if ($sql->num_of_rows($check_query)) return $sql->single_variable($check_query);
+
+ return null;
+ }
+
+ public function check_kid_login($_user_name, $_user_password) {
+ global $sql;
+ //ez a függvény ellenőrzi le a bevitt adatok
+ //vissszadja a user_id-t, ha helyesek az adatok
+ //null ha nem
+ $check_query =
+ "
+ SELECT uk_id FROM user_kid WHERE
+ (uk_name = '" . $_user_name . "' AND
+ uk_password = '" . $_user_password . "')";
+
+ if ($sql->num_of_rows($check_query)) return $sql->single_variable($check_query);
+
+ return null;
+ }
+
+ public function login_user($_user_id, $_cookie_name, $_user_type) {
//beállítja a belépett user adatait cookieba (ha még nincs)
global $sql;
- if (!isset($_COOKIE['badminon_coach_user'])) {
+ if (!isset($_COOKIE[$_cookie_name])) {
//user objektumot nem lehet cookie-ban tárolni, ezért user_id-t rakunk bele
- $user_login = new user();
+ if ($_user_type == 1) $user_login = new user();
+ else $user_login = new user_kid();
$user_login->set_user_data_by_id($_user_id);
$user_login->update_login_time();
- setcookie('badminton_coach_user', $_user_id, time()+60*60*72, '/');
+ setcookie($_cookie_name, $_user_id, time()+60*60*72, '/');
}
diff --git a/_class/class_page.php b/_class/class_page.php
index 282e906..ff9dee5 100755
--- a/_class/class_page.php
+++ b/_class/class_page.php
@@ -21,8 +21,20 @@ class page {
}
public function get_page_nav() {
- global $smarty;
- //itt majd el lehet ágaztatni, ha nem admin oldalon vagyunk stb, de egyenlőre nem kell
+ global $smarty, $sql;
+ //nem kell if, hanem page alapján beillesztük az id-t
+ if ($this->get_page() == 'admin') {
+ $menus_query = "SELECT * FROM subpage WHERE spage_page_id = 1;";
+ $menu_assoc_array = $sql->assoc_array($menus_query);
+ $smarty->assign('menus', $menu_assoc_array);
+ }
+ elseif ($this->get_page() == 'view') {
+ $menus_query = "SELECT * FROM subpage WHERE spage_page_id = 2;";
+ $menu_assoc_array = $sql->assoc_array($menus_query);
+ $smarty->assign('menus', $menu_assoc_array);
+ }
+
+ $smarty->assign('page', $this->get_page());
$smarty->display('nav.tpl');
}
@@ -105,6 +117,14 @@ class page {
# EDZÉS TÍPUSOK
include('include_training_types.php');
break;
+ case 'regions':
+ # DIÁKOLIMPIA KÖRZETEK
+ include('include_regions.php');
+ break;
+ case 'lock_training':
+ # EDZÉS ZÁROLÁS, FELOLDÁS
+ include('include_lock_training.php');
+ break;
case 'delete_training_type':
# EDZÉS TÍPUS TÖRLÉS
include('include_delete_training_type.php');
@@ -121,8 +141,13 @@ class page {
# VÁROS TÖRLÉS
include('include_delete_city.php');
break;
+ case 'delete_region':
+ # KÖRZET TÖRLÉS
+ include('include_delete_region.php');
+ break;
case 'logout':
# kijelentkezés
+ $from = "coach";
include('include_logout.php');
break;
default:
@@ -135,8 +160,22 @@ class page {
include('ajax/'.$this->get_subpage());
}
break;
- case 'style':
- //var_dump('haha');
+ case 'view':
+ # SZÜLŐ FELÜLET
+ switch ($this->get_subpage()) {
+ case 'logout':
+ # kijelentkezés
+ $from = "parent";
+ include('include_logout.php');
+ break;
+ case 'overview':
+ # áttekintő oldal adatokkal és edzéslistával
+ include('include_overview.php');
+ break;
+ default:
+ include('include_overview.php');
+ break;
+ }
break;
default:
# code...
@@ -164,27 +203,27 @@ class page {
$this->id = $_id;
}
- private function get_page() {
+ public function get_page() {
return $this->page;
}
- private function get_subpage() {
+ public function get_subpage() {
return $this->subpage;
}
- private function get_id() {
+ public function get_id() {
return $this->id;
}
- private function is_page() {
+ public function is_page() {
return !empty($this->page);
}
- private function is_subpage() {
+ public function is_subpage() {
return !empty($this->subpage);
}
- private function is_id() {
+ public function is_id() {
return !empty($this->id);
}
diff --git a/_class/class_sql.php b/_class/class_sql.php
index 8b78cf8..784056c 100755
--- a/_class/class_sql.php
+++ b/_class/class_sql.php
@@ -17,6 +17,7 @@ class sql extends mysqli {
public function single_variable($_query) {
$result = self::query($_query);
+ //var_dump($_query);
$assoc_array = $result->fetch_array(MYSQLI_NUM);
return $assoc_array['0'];
}
@@ -49,7 +50,7 @@ class sql extends mysqli {
$i++;
}
$this->_query = 'insert into ' . $table . ' (' . $fields . ') values (' . $values . ');';
- var_dump($this->_query);
+ //var_dump($this->_query);
self::query($this->_query);
return $this->insert_id;
}
diff --git a/_class/class_training.php b/_class/class_training.php
index aa8784e..169702f 100755
--- a/_class/class_training.php
+++ b/_class/class_training.php
@@ -14,6 +14,7 @@ class training {
private $tr_training_type_trt_id;
private $tr_user_coach_uc_id;
private $tr_duration;
+ private $tr_locked;
public function set_tr_id($_tr_id) {
@@ -32,6 +33,10 @@ class training {
$this->tr_duration = $_tr_duration;
}
+ public function set_tr_locked($_tr_locked) {
+ $this->tr_locked = $_tr_locked;
+ }
+
public function get_tr_id() {
return $this->tr_id;
}
@@ -40,6 +45,18 @@ class training {
return !$_formatted ? $this->tr_date : date("Y. F d. H:i", strtotime($this->tr_date));
}
+ public function get_tr_date_day() {
+ return date("d", strtotime($this->tr_date));
+ }
+
+ public function get_tr_date_day_of_week() {
+ return date("w", strtotime($this->tr_date));
+ }
+
+ public function get_tr_date_time() {
+ return date("H:i", strtotime($this->tr_date));
+ }
+
public function get_tr_training_type_trt_id() {
return $this->tr_training_type_trt_id;
}
@@ -48,6 +65,10 @@ class training {
return $this->tr_duration;
}
+ public function get_tr_locked() {
+ return $this->tr_locked;
+ }
+
public function get_tr_type_name_by_id() {
global $sql;
return $sql->single_variable("SELECT trt_name FROM training_type WHERE trt_id = " . $this->get_tr_training_type_trt_id());
@@ -77,7 +98,7 @@ class training {
for ($actual_day=date('d', strtotime($_training_value_array['tr_date'])); $actual_day <= $last_day; $actual_day=$actual_day+7) {
$new_tr_id = $sql->insert_into('training',
array(
- 'tr_date' => date('Y-m') . '-' . $actual_day . ' ' . date('H:i', strtotime($_training_value_array['tr_date'])),
+ 'tr_date' => date('Y-m', strtotime($_training_value_array['tr_date'])) . '-' . $actual_day . ' ' . date('H:i', strtotime($_training_value_array['tr_date'])),
'tr_training_type_trt_id' => $_training_value_array['tr_training_type_trt_id'],
'tr_duration' => $_training_value_array['tr_duration']
)
@@ -89,6 +110,13 @@ class training {
$sql->insert_into('training_coach', array('trc_training_tr_id' => $new_tr_id, 'trc_coach_uc_id' => $coach_id));
}
}
+ //itt rakjuk be a segédedzőket
+ if (isset($_training_value_array['helpets'])) {
+ foreach ($_training_value_array['helpets'] as $coach_id) {
+ # beilleszt minden edzőt ehhez az edzéshez
+ $sql->insert_into('training_coach', array('trc_training_tr_id' => $new_tr_id, 'trc_coach_uc_id' => $coach_id, 'trc_helper' => 1));
+ }
+ }
}
//var_dump($day_array);
}
@@ -98,6 +126,11 @@ class training {
$coaches = $_training_value_array['coaches'];
unset($_training_value_array['coaches']);
}
+ //helpers
+ if (isset($_training_value_array['helpers'])) {
+ $helpers = $_training_value_array['helpers'];
+ unset($_training_value_array['helpers']);
+ }
$new_tr_id = $sql->insert_into('training', $_training_value_array);
if (isset($coaches)) {
foreach ($coaches as $coach_id) {
@@ -105,6 +138,12 @@ class training {
$sql->insert_into('training_coach', array('trc_training_tr_id' => $new_tr_id, 'trc_coach_uc_id' => $coach_id));
}
}
+ if (isset($helpers)) {
+ foreach ($helpers as $coach_id) {
+ # beilleszt minden edzőt ehhez az edzéshez
+ $sql->insert_into('training_coach', array('trc_training_tr_id' => $new_tr_id, 'trc_coach_uc_id' => $coach_id, 'trc_helper' => 1));
+ }
+ }
}
}
@@ -118,8 +157,17 @@ class training {
foreach ($_training_value_array['coaches'] as $coach_id) {
$sql->insert_into('training_coach', array('trc_training_tr_id' => $_tr_id, 'trc_coach_uc_id' => $coach_id));
}
+
unset($_training_value_array['coaches']);
}
+ if (isset($_training_value_array['helpers'])) {
+ //helper handler -> kitoroljuk mindet és újra insertaljuk
+ foreach ($_training_value_array['helpers'] as $coach_id) {
+ $sql->insert_into('training_coach', array('trc_training_tr_id' => $_tr_id, 'trc_coach_uc_id' => $coach_id, 'trc_helper' => 1));
+ }
+
+ unset($_training_value_array['helpers']);
+ }
$sql->update_table('training', $_training_value_array, array('tr_id' => $_tr_id));
}
diff --git a/_class/class_user.php b/_class/class_user.php
index 827b74e..1d4d38c 100755
--- a/_class/class_user.php
+++ b/_class/class_user.php
@@ -15,7 +15,6 @@ class user {
private $user_last_name;
private $user_first_name;
private $user_password;
- private $user_helper;
private $user_last_login;
private $logged_in;
private $user_type;
@@ -41,10 +40,6 @@ class user {
$this->user_password = $_u_pass;
}
- public function set_ua_helper($_u_helper) {
- $this->user_helper = $_u_helper;
- }
-
public function set_ua_last_login($_u_last_login) {
$this->user_last_login = $_u_last_login;
}
@@ -73,10 +68,6 @@ class user {
return $this->user_password;
}
- public function get_ua_helper() {
- return $this->user_helper;
- }
-
public function get_ua_deleted() {
return $this->user_deleted;
}
@@ -109,7 +100,14 @@ class user {
public function is_coach_at_training($_training_id) {
global $sql;
//kap egy training id-t, és megmondja, hogy az user be van-e jelölve edzőként azon az edzésen
- $query = "SELECT * FROM training_coach WHERE trc_coach_uc_id = '" . $this->get_ua_id() . "' AND trc_training_tr_id = '" . $_training_id ."';";
+ $query = "SELECT * FROM training_coach WHERE trc_coach_uc_id = '" . $this->get_ua_id() . "' AND trc_training_tr_id = '" . $_training_id ."' AND trc_helper = 0;";
+ return $sql->num_of_rows($query);
+ }
+
+ public function is_helper_at_training($_training_id) {
+ global $sql;
+ //kap egy training id-t, és megmondja, hogy az user be van-e jelölve segédedzőként azon az edzésen
+ $query = "SELECT * FROM training_coach WHERE trc_coach_uc_id = '" . $this->get_ua_id() . "' AND trc_training_tr_id = '" . $_training_id ."' AND trc_helper = 1;";
return $sql->num_of_rows($query);
}
@@ -123,23 +121,21 @@ class user {
$this->user_type = $_type;
}
- public static function create_user($_name, $_helper, $_password) {
+ public static function create_user($_name, $_password) {
global $sql;
return $sql->insert_into('user_coach', array(
'ua_name' => $_name,
- 'ua_helper' => $_helper,
'ua_password' => $_password
)
);
}
- public static function update_user($_name, $_helper, $_password, $_ua_id) {
+ public static function update_user($_name, $_password, $_ua_id) {
global $sql;
if ($_password != "-1") {
return $sql->update_table('user_coach',
array(
'ua_name' => $_name,
- 'ua_helper' => $_helper,
'ua_password' => $_password
),
array(
@@ -151,7 +147,6 @@ class user {
return $sql->update_table('user_coach',
array(
'ua_name' => $_name,
- 'ua_helper' => $_helper
),
array(
'ua_id' => $_ua_id
diff --git a/_class/class_user_kid.php b/_class/class_user_kid.php
index e1c8aa8..a9b1875 100644
--- a/_class/class_user_kid.php
+++ b/_class/class_user_kid.php
@@ -22,6 +22,7 @@ class user_kid extends user_parent {
private $logged_in;
private $user_type;
private $user_shirt_size;
+ private $user_shirt_note;
private $user_school_sc_id;
private $user_school_district;
private $user_school_city_scc_id;
@@ -29,6 +30,10 @@ class user_kid extends user_parent {
private $user_parent_2;
private $user_phone;
private $user_facebook;
+ private $user_region;
+ private $user_contact;
+ private $user_other;
+
public function set_uk_id($_uid) {
$this->user_id = $_uid;
}
@@ -54,7 +59,10 @@ class user_kid extends user_parent {
$this->user_last_login = $_u_last_login;
}
public function set_uk_shirt_size_ss_id($_shirt_size) {
- $this->shirt_size = $_shirt_size;
+ $this->user_shirt_size = $_shirt_size;
+ }
+ public function set_uk_shirt_note($_shirt_note) {
+ $this->user_shirt_note = $_shirt_note;
}
public function set_uk_school_sc_id($_school) {
$this->user_school_sc_id = $_school;
@@ -71,6 +79,16 @@ class user_kid extends user_parent {
public function set_uk_parent_2($_uk_parent_2) {
$this->user_parent_2 = $_uk_parent_2;
}
+ public function set_uk_region_reg_id($_uk_region) {
+ $this->user_region = $_uk_region;
+ }
+ public function set_uk_contact($_uk_contact) {
+ $this->user_contact = $_uk_contact;
+ }
+ public function set_uk_other($_uk_other) {
+ $this->user_other = $_uk_other;
+ }
+
public function get_uk_id() {
return $this->user_id;
}
@@ -89,28 +107,78 @@ class user_kid extends user_parent {
public function get_uk_email() {
return $this->user_email;
}
+ public function get_uk_phone() {
+ return $this->user_phone;
+ }
+ public function get_uk_facebook() {
+ return $this->user_facebook;
+ }
public function get_uk_shirt_size() {
return $this->user_shirt_size;
}
+ public function get_uk_shirt_size_name() {
+ global $sql;
+ if ($this->user_shirt_size) return $sql->single_variable("select shirt_name from shirt where shirt_id = " . $this->user_shirt_size);
+ else return null;
+ }
+
+ public function get_uk_shirt_note() {
+ return $this->user_shirt_note;
+ }
public function get_uk_school_sc_id() {
return $this->user_school_sc_id;
}
+ public function get_uk_school_name() {
+ global $sql;
+ if ($this->user_school_sc_id) return $sql->single_variable('select sc_name from school where sc_id = ' . $this->user_school_sc_id);
+ else return null;
+ }
public function get_uk_school_district() {
return $this->user_school_district;
}
public function get_uk_school_city_scc_id() {
return $this->user_school_city_scc_id;
}
+ public function get_uk_school_city() {
+ global $sql;
+ if ($this->user_school_city_scc_id) return $sql->single_variable('select scc_city from school_city where scc_id = ' . $this->user_school_city_scc_id);
+ else return null;
+ }
public function get_uk_parent_1() {
return $this->user_parent_1;
}
public function get_uk_parent_2() {
return $this->user_parent_2;
}
+ public function get_uk_region_reg_id() {
+ return $this->user_region;
+ }
+ public function get_uk_region_name() {
+ global $sql;
+ if ($this->user_region) return $sql->single_variable('select reg_name from region where reg_id = ' . $this->user_region);
+ else return null;
+ }
+ public function get_uk_contact() {
+ return $this->user_contact;
+ }
+ public function get_uk_other() {
+ return $this->user_other;
+ }
+
+
public function get_uk_presence($_training_id) {
global $sql;
return $sql->num_of_rows('select * from presence where pr_user_kid_uk_id = ' . $this->get_uk_id() . ' AND pr_training_tr_id = ' . $_training_id);
}
+
+ public function get_uk_presence_on_previous_trainings($_trainigs) {
+ //az előző edzések ID-ját kapja paraméterül
+ //megadja, hogy hányszor volt a gyerek
+ global $sql;
+
+ return $sql->single_variable("SELECT count(*) FROM presence WHERE pr_training_tr_id IN (" . implode(',', $_trainigs) . ") AND pr_user_kid_uk_id = " . $this->get_uk_id() . ";");
+ }
+
public function set_uk_gender($_gender) {
$this->user_gender = $_gender;
}
@@ -153,6 +221,22 @@ class user_kid extends user_parent {
public function get_uk_address() {
return $this->user_address;
}
+ public function is_logged_in() {
+ //leellenőrzi cookie alapján h be vagyunk-e jelentkezve
+ //JAVÍTVA: adja vissza az adattag igazságértékét
+ return $this->logged_in;
+ }
+ public function set_login($_login) {
+ //bool-t kap paraméterül
+ $this->logged_in = $_login;
+ }
+
+ public function update_login_time($_uk_id = null) {
+ global $sql;
+ //az adott user_id-n updateli a login_time-ot
+ $sql->update_table('user_kid', array('uk_last_login' => date('Y-m-d')), array('uk_id' => (empty($_uk_id)?$this->get_uk_id():$_uk_id)));
+ }
+
public function set_user_data_by_id($_uk_id) {
global $sql, $user;
$user_data_assoc_array = $sql->assoc_array("select * from user_kid where uk_id = " . $_uk_id);
@@ -161,7 +245,7 @@ class user_kid extends user_parent {
$function_name = "set_" . $field;
$this->$function_name($value); //alapadatok beállítása
//$this->set_ua_type(2); //kid típus beállítása
- //$this->set_login(true);
+ $this->set_login(true);
}
}
public static function add_new_parent($_parent_name, $_email, $_facebook, $_phone) {
@@ -212,6 +296,22 @@ class user_kid extends user_parent {
if (isset($_user_value_array['parent_2_email'])) unset($_user_value_array['parent_2_email']);
if (isset($_user_value_array['parent_2_facebook'])) unset($_user_value_array['parent_2_facebook']);
if (isset($_user_value_array['parent_2_phone'])) unset($_user_value_array['parent_2_phone']);
+
+ //date handler
+ if (!isset($_user_value_array['uk_first_training']) || $_user_value_array['uk_first_training'] == "") {
+ $_user_value_array['uk_first_training'] = 'null';
+ }
+ if (!isset($_user_value_array['uk_birth_date']) || $_user_value_array['uk_birth_date'] == "") {
+ $_user_value_array['uk_birth_date'] = 'null';
+ }
+ if (!isset($_user_value_array['uk_birth_year']) || $_user_value_array['uk_birth_year'] == "") {
+ $_user_value_array['uk_birth_year'] = 'null';
+ }
+
+ foreach ($_user_value_array as $index => $value) {
+ if ($value == "") $_user_value_array[$index] = 'null';
+ }
+
return $sql->insert_into('user_kid', $_user_value_array);
}
public static function update_user($_user_value_array, $_user_id) {
@@ -243,6 +343,29 @@ class user_kid extends user_parent {
if (isset($_user_value_array['parent_2_email'])) unset($_user_value_array['parent_2_email']);
if (isset($_user_value_array['parent_2_facebook'])) unset($_user_value_array['parent_2_facebook']);
if (isset($_user_value_array['parent_2_phone'])) unset($_user_value_array['parent_2_phone']);
+
+ //SCHOOL HANDLER
+ if (isset($_user_value_array['add_school']) && $_user_value_array['add_school'] != "") {
+ $new_school_id = $sql->insert_into('school', array('sc_name' => $_user_value_array['add_school']));
+ $_user_value_array['uk_school_sc_id'] = $new_school_id;
+ }
+ unset($_user_value_array['add_school']);
+
+ //date handler
+ if (!isset($_user_value_array['uk_first_training']) || $_user_value_array['uk_first_training'] == "") {
+ $_user_value_array['uk_first_training'] = 'null';
+ }
+ if (!isset($_user_value_array['uk_birth_date']) || $_user_value_array['uk_birth_date'] == "") {
+ $_user_value_array['uk_birth_date'] = 'null';
+ }
+ if (!isset($_user_value_array['uk_birth_year']) || $_user_value_array['uk_birth_year'] == "") {
+ $_user_value_array['uk_birth_year'] = 'null';
+ }
+
+ foreach ($_user_value_array as $index => $value) {
+ if ($value == "") $_user_value_array[$index] = 'null';
+ }
+
//ha nincs bejelölve h aktív akkor nem kapja meg ezt az értéket, manuálisan kell beállítani
if (!isset($_user_value_array['uk_is_active'])) $_user_value_array['uk_is_active'] = 0;
$sql->update_table('user_kid', $_user_value_array, array('uk_id' => $_user_id));
diff --git a/_class/class_user_parent.php b/_class/class_user_parent.php
index 01f2027..ac698c3 100755
--- a/_class/class_user_parent.php
+++ b/_class/class_user_parent.php
@@ -17,6 +17,7 @@ class user_parent {
private $up_email;
private $up_phone;
private $up_facebook;
+ private $logged_in;
public function set_up_id($_id) {
@@ -75,6 +76,11 @@ class user_parent {
return $this->up_facebook;
}
+ public function set_login($_login) {
+ //bool-t kap paraméterül
+ $this->logged_in = $_login;
+ }
+
public function set_user_data_by_id($_uk_id) {
global $sql, $user;
$user_data_assoc_array = $sql->assoc_array("select * from user_parent where up_id = " . $_uk_id);
@@ -82,6 +88,7 @@ class user_parent {
foreach ($user_data_array as $field => $value) {
$function_name = "set_" . $field;
$this->$function_name($value); //alapadatok beállítása
+ $this->set_login(true);
//$this->set_ua_type(3); //parent típus beállítása
}
diff --git a/_css/default.css b/_css/default.css
index c259245..0b0df1b 100644
--- a/_css/default.css
+++ b/_css/default.css
@@ -40,6 +40,10 @@ main #main_content {
}
+.italic {
+ font-style: italic;
+}
+
a:link {
text-decoration: none;
}
@@ -57,7 +61,7 @@ td.create a {
text-align: left;
padding: 10px 0px 10px 10px;
- margin: 5px;
+ margin: 5px 5px 5px 0px;
background-color: #e2edff;
cursor: pointer;
@@ -73,7 +77,7 @@ td.create a {
width: 100%;
text-align: left;
padding: 10px 0px 10px 10px;
- margin: 5px;
+ margin: 5px 5px 5px 0px;
background-color: #1eea0b;
cursor: pointer;
border-left: 2px solid #000;
@@ -138,9 +142,14 @@ td.create a {
opacity: 0.5;
}
+.list .width70 {
+ width: 70%;
+}
@media (min-width: 680px) {
+
+
main #main_content {
width: 80%;
margin: 0px auto;
@@ -160,4 +169,6 @@ main #main_content {
width: 40%;
}
+
+
}
\ No newline at end of file
diff --git a/_css/default_view.css b/_css/default_view.css
new file mode 100644
index 0000000..be8a008
--- /dev/null
+++ b/_css/default_view.css
@@ -0,0 +1,20 @@
+body {
+ background-color: #002E4C;
+}
+
+main {
+ background-color: #002E4C;
+}
+
+ul.topnav {
+ background-color: #FD9500;
+}
+
+ul.topnav li a {
+ color: #002E4C;
+}
+
+ul.topnav li a:hover {
+ background-color: #f77604;
+ opacity: 0.6;
+}
\ No newline at end of file
diff --git a/_css/form.css b/_css/form.css
index 780236b..23c2b7b 100644
--- a/_css/form.css
+++ b/_css/form.css
@@ -17,6 +17,11 @@ legend {
float: left;
padding-right: 10px;
}
+
+.list_item label {
+ vertical-align: top;
+}
+
form > div > div,
form > div > fieldset > div {
width: 70%;
@@ -53,11 +58,21 @@ select {
-moz-border-radius: 5px;
border-radius: 5px;
}
+
+textarea {
+ width: 75%;
+ border: 1px solid #121212;
+ -webkit-border-radius: 5px;
+ -moz-border-radius: 5px;
+ border-radius: 5px;
+}
+
input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
textarea:focus,
+textarea:hover,
input[type=text]:hover,
input[type=email]:hover {
outline: 0;
@@ -71,6 +86,21 @@ input[type=email]:hover {
outline: 0 none;
}
+.coach {
+ float: left;
+ margin: 3px 10px 0px 0px;
+}
+
+.coach_type {
+ margin: 3px 0px 0px 0px;
+
+}
+
+.coach_type_text {
+ position: relative;
+ top: -3px;
+}
+
@media (max-width: 600px) {
form > div {
margin: 0 0 15px 0;
diff --git a/_css/nav.css b/_css/nav.css
index 87a9af9..d9d86e0 100644
--- a/_css/nav.css
+++ b/_css/nav.css
@@ -33,8 +33,27 @@ ul.topnav li a:hover {background-color: #555;}
ul.topnav li.icon {display: none;}
+ul.topnav li.logout {float:right;}
+
+ul.topnav li.logout img {
+ width: 20px;
+ height: 20px;
+
+ margin-left: 5px;
+}
+
+li.logout span.name {
+ float: left;
+ position: relative;
+}
+
+li.logout_mobile {
+ display: none;
+}
+
@media screen and (max-width:680px) {
ul.topnav li {display: none;}
+ ul.topnav li.login {display: inline-block;}
ul.topnav li.icon {
float: left;
display: inline-block;
@@ -55,4 +74,14 @@ ul.topnav.responsive li a {
display: block;
text-align: left;
}
+
+li.logout_mobile {
+ display: block;
+}
+ul.topnav li.logout {
+ display: none;
+}
+
+
+ul.topnav li.logout {float:none;}
}
\ No newline at end of file
diff --git a/_include/include_create.php b/_include/include_create.php
index a39101f..0671102 100755
--- a/_include/include_create.php
+++ b/_include/include_create.php
@@ -16,7 +16,11 @@ switch ($this->get_id()) {
//SCHOOL CITY ARRAY
$school_city_query = "SELECT * FROM school_city;";
$school_city_assoc_array = $sql->assoc_array($school_city_query);
+ //REGION ARRAY
+ $region_query = "SELECT * FROM region;";
+ $region_assoc_array = $sql->assoc_array($region_query);
+ $smarty->assign('region_assoc_array', $region_assoc_array);
$smarty->assign('shirt_size_assoc_array', $shirt_size_assoc_array);
$smarty->assign('school_assoc_array', $school_assoc_array);
$smarty->assign('school_city_assoc_array', $school_city_assoc_array);
@@ -67,6 +71,10 @@ switch ($this->get_id()) {
# CITY létrehozása
$smarty->display('city_create.tpl');
break;
+ case 'region':
+ # CITY létrehozása
+ $smarty->display('region_create.tpl');
+ break;
default:
# code...
break;
diff --git a/_include/include_delete_region.php b/_include/include_delete_region.php
new file mode 100644
index 0000000..a8493fb
--- /dev/null
+++ b/_include/include_delete_region.php
@@ -0,0 +1,10 @@
+is_id()) {
+ $delete_query = "DELETE FROM region WHERE reg_id = " . $this->get_id() . ";";
+ $sql->execute_query($delete_query);
+ header("Location: /admin/regions");
+}
+
+
+?>
\ No newline at end of file
diff --git a/_include/include_lock_training.php b/_include/include_lock_training.php
new file mode 100644
index 0000000..5f60cf1
--- /dev/null
+++ b/_include/include_lock_training.php
@@ -0,0 +1,32 @@
+is_id()) {
+
+ # EDZÉS ZÁROLÁS/FELOLDÁS
+
+ $locked = $sql->single_variable('select tr_locked from training where tr_id =' . $this->get_id());
+ $sql->update_table('training', array(
+ 'tr_locked' => ($locked?0:1)
+ ),
+ array(
+ 'tr_id' => $this->get_id()
+ )
+ );
+ header('Location: /admin/presence/' . $this->get_id());
+}
+
+else {
+
+ # NEM LEHET
+
+
+}
+
+
+
+
+
+?>
\ No newline at end of file
diff --git a/_include/include_logout.php b/_include/include_logout.php
index dbd40a0..fad0762 100644
--- a/_include/include_logout.php
+++ b/_include/include_logout.php
@@ -1,7 +1,7 @@
is_id()) {
//SCHOOL CITY ARRAY
$school_city_query = "SELECT * FROM school_city;";
$school_city_assoc_array = $sql->assoc_array($school_city_query);
+ //REGION ARRAY
+ $region_query = "SELECT * FROM region;";
+ $region_assoc_array = $sql->assoc_array($region_query);
//smarty thingz
$smarty->assign('school_assoc_array', $school_assoc_array);
$smarty->assign('school_city_assoc_array', $school_city_assoc_array);
+ $smarty->assign('region_assoc_array', $region_assoc_array);
$smarty->assign('user_data', $user_data_assoc_array[0]);
$smarty->assign('shirt_size_assoc_array', $shirt_size_assoc_array);
$smarty->assign('parent_assoc_array', $parent_assoc_array);
diff --git a/_include/include_overview.php b/_include/include_overview.php
new file mode 100644
index 0000000..f9ae924
--- /dev/null
+++ b/_include/include_overview.php
@@ -0,0 +1,31 @@
+is_id()) {
+ # EMPTY
+}
+else {
+ # ADATOK + EDZÉS LISTA
+ //user_loginból veszi az adatokat
+
+ //szülők átadása
+ if ($user->get_uk_parent_1()) {
+ $parent_1_query = "SELECT * FROM user_parent WHERE up_id = " . $user->get_uk_parent_1();
+ $parent_1_assoc_array = $sql->assoc_array($parent_1_query);
+ $smarty->assign('parent_1', $parent_1_assoc_array[0]);
+ }
+
+ if ($user->get_uk_parent_2()) {
+ $parent_2_query = "SELECT * FROM user_parent WHERE up_id = " . $user->get_uk_parent_2();
+ $parent_2_assoc_array = $sql->assoc_array($parent_2_query);
+ $smarty->assign('parent_2', $parent_2_assoc_array[0]);
+ }
+
+
+ //todo: object
+
+ $smarty->display('user_overview.tpl');
+
+}
+
+?>
\ No newline at end of file
diff --git a/_include/include_presence.php b/_include/include_presence.php
index e879c69..c89b543 100755
--- a/_include/include_presence.php
+++ b/_include/include_presence.php
@@ -42,12 +42,14 @@ if ($this->is_id()) {
$presence_query = "
SELECT `pr_user_kid_uk_id` , count( `pr_id` ) AS 'presence'
FROM `presence`
+ JOIN user_kid ON uk_id = pr_user_kid_uk_id
WHERE `pr_training_tr_id`
IN ( " . implode(',', $tr_ids) . " )
GROUP BY `pr_user_kid_uk_id`
- ORDER BY count( `pr_id` ) DESC;
+ ORDER BY count( `pr_id` ) DESC, uk_name ASC;
";
//echo $presence_query;
+ //echo $presence_query;
if (!empty($tr_ids)) {
$presence_assoc_array = $sql->assoc_array($presence_query);
foreach ($presence_assoc_array as $presence) {
@@ -76,7 +78,7 @@ if ($this->is_id()) {
//TRAINING-COACH ARRAY
- $trc_query = "SELECT * FROM training_coach WHERE trc_training_tr_id = " . $this->get_id();
+ $trc_query = "SELECT * FROM training_coach WHERE trc_helper = 0 AND trc_training_tr_id = " . $this->get_id();
$trc_coaches = array();
$trc_assoc_array = $sql->assoc_array($trc_query);
foreach ($trc_assoc_array as $trc_data) {
@@ -85,17 +87,50 @@ if ($this->is_id()) {
$trc_coaches[] = $new_coach;
}
+ //TRAINING-HELPER ARRAY
+ $trc_query = "SELECT * FROM training_coach WHERE trc_helper = 1 AND trc_training_tr_id = " . $this->get_id();
+ $trc_helpers = array();
+ $trc_assoc_array = $sql->assoc_array($trc_query);
+ foreach ($trc_assoc_array as $trc_data) {
+ $new_coach = new user();
+ $new_coach->set_user_data_by_id($trc_data['trc_coach_uc_id']);
+ $trc_helpers[] = $new_coach;
+ }
+
//var_dump($users);
//headcount
$headcount_query = "SELECT * FROM presence WHERE pr_training_tr_id = " . $this->get_id() . ";";
$headcount = $sql->num_of_rows($headcount_query);
+
+ //csak lista
+ $s_users = array();
+ $presence_query = "
+ SELECT `pr_user_kid_uk_id`
+ FROM `presence`
+ JOIN user_kid ON uk_id = pr_user_kid_uk_id
+ WHERE `pr_training_tr_id` = ".$this->get_id()."
+ ORDER BY uk_name ASC;
+ ";
+
+ $presence_assoc_array = $sql->assoc_array($presence_query);
+ foreach ($presence_assoc_array as $presence) {
+ $s_user = new user_kid();
+ $s_user->set_user_data_by_id($presence['pr_user_kid_uk_id']);
+ $s_users[] = $s_user;
+ }
+
+
+
$smarty->assign('training', $training);
+ $smarty->assign('trainings', $tr_ids);
$smarty->assign('headcount', $headcount);
$smarty->assign("trc_coaches", $trc_coaches);
+ $smarty->assign("trc_helpers", $trc_helpers);
$smarty->assign('presence_assoc_array', $presence_assoc_array);
$smarty->assign('users', $users);
+ $smarty->assign('sorted_users', $s_users);
$smarty->assign('rest_users', $rest_users);
$smarty->assign('tr_id', $this->get_id());
diff --git a/_include/include_regions.php b/_include/include_regions.php
new file mode 100644
index 0000000..92ceab5
--- /dev/null
+++ b/_include/include_regions.php
@@ -0,0 +1,30 @@
+is_id()) {
+
+ # RÉGIÓ SZERKESZTÉSE
+
+
+}
+
+else {
+
+ # RÉGIÓ LISTA
+
+ $reg_query = "SELECT * FROM region ORDER BY reg_name ASC";
+ $reg_assoc_array = $sql->assoc_array($reg_query);
+
+ $smarty->assign('reg_assoc_array',$reg_assoc_array);
+ $smarty->display('region_list.tpl');
+
+
+}
+
+
+
+
+
+?>
\ No newline at end of file
diff --git a/common.php b/common.php
index 7938cc3..e0b81b4 100755
--- a/common.php
+++ b/common.php
@@ -30,18 +30,28 @@ spl_autoload_register(function ($class_name) {
});
$months = array(
- 1 => 'január',
- 2 => 'február',
- 3 => 'március',
- 4 => 'április',
- 5 => 'május',
- 6 => 'június',
- 7 => 'július',
- 8 => 'augusztus',
- 9 => 'szeptember',
- 10 => 'október',
- 11 => 'november',
- 12 => 'december',
+ '01' => 'január',
+ '02' => 'február',
+ '03' => 'március',
+ '04' => 'április',
+ '05' => 'május',
+ '06' => 'június',
+ '07' => 'július',
+ '08' => 'augusztus',
+ '09' => 'szeptember',
+ '10' => 'október',
+ '11' => 'november',
+ '12' => 'december',
+ );
+
+$days = array(
+ '0' => 'v',
+ '1' => 'h',
+ '2' => 'k',
+ '3' => 'sze',
+ '4' => 'cs',
+ '5' => 'p',
+ '6' => 'szo',
);
//SMARTY BEÁLLÍTÁSA
@@ -57,23 +67,42 @@ $smarty->setCacheDir('template/cache');
$smarty->setConfigDir('template/configs');
$smarty->assign('months', $months);
+$smarty->assign('days', $days);
//SQL KAPCSOLAT BEÁLLÍTÁSA
if ($_SERVER['HTTP_HOST'] == 'badmintoncoach.hu') $sql = new sql('localhost','root','','badminton_coach');
else $sql = new sql('localhost','tollashodos','uprRscU8bGpJ','tollashodos');
//var_dump($sql);
-$logout = false;
-if (isset($_COOKIE['badminton_coach_user'])) {
- $user = new user();
- $user->set_user_data_by_id($_COOKIE['badminton_coach_user']);
- $logout = true;
- //var_dump($user);
+
+//echo $_GET['page'];
+
+$logout = false; //meg kell-e jeleníteni a kijelentkezés gombot
+
+if ($_GET['page'] == 'admin') {
+ if (isset($_COOKIE['badminton_coach_user'])) {
+ $user = new user();
+ $user->set_user_data_by_id($_COOKIE['badminton_coach_user']);
+ $logout = true;
+ $smarty->assign('user_login', $user);
+ //var_dump($user);
+ }
}
+elseif ($_GET['page'] == 'view') {
+ if (isset($_COOKIE['badminton_parent_user'])) {
+ $user = new user_kid();
+ $user->set_user_data_by_id($_COOKIE['badminton_parent_user']);
+ $logout = true;
+ $smarty->assign('user_login', $user);
+ //var_dump($user);
+ }
+}
+
$smarty->assign('can_logout', $logout);
//$page = new page();
+
?>
\ No newline at end of file
diff --git a/event_handler.php b/event_handler.php
index df07956..2b825c2 100755
--- a/event_handler.php
+++ b/event_handler.php
@@ -11,30 +11,31 @@ if (isset($_POST['action'])) {
USER TYPES: 1 - coach, 2 - kid, 3 - parent
*/
$login = new login();
- /*
+
$user_coach_id = $login->check_coach_login($_POST['user_name'], $_POST['user_password']);
$user_kid_id = $login->check_kid_login($_POST['user_name'], $_POST['user_password']);
if ($user_coach_id) {
//sikeres bejelentkezés
- $login->login_user($user_coach_id, 'badminton_coach_user');
+ $login->login_user($user_coach_id, 'badminton_coach_user', 1);
header("Location: " . $actual_link);
}
elseif ($user_kid_id) {
//sikeres bejelentkezés
- $login->login_user($user_kid_id, 'badminton_parent_user');
+ $login->login_user($user_kid_id, 'badminton_parent_user', 2);
header("Location: " . $actual_link);
}
else {
- die($user_coach_id);
+ //die($user_coach_id);
//sikertelen bejelentkezés
}
- */
+ /*
$user_id = $login->check_login($_POST['user_name'], $_POST['user_password']);
if ($user_id) {
//sikeres bejelentkezés
$login->login_user($user_id, $_POST['user_type']);
header("Location: " . $actual_link);
}
+ */
break;
case 'user_data_edit':
@@ -116,7 +117,7 @@ if (isset($_POST['action'])) {
break;
case 'training_type_update':
- # edzés típus lista updatelése AB-ba
+ # edzés típus lista updatelése ABí-ba
unset($_POST['action']);
foreach ($_POST as $key => $value) {
$key_parts = explode('_', $key);
@@ -134,10 +135,7 @@ if (isset($_POST['action'])) {
$psw = "null";
}
- if (!isset($_POST['ua_helper']) || empty($_POST['ua_helper'])) {
- $_POST['ua_helper'] = 0;
- }
- user::create_user($_POST['ua_name'], $_POST['ua_helper'], $psw);
+ user::create_user($_POST['ua_name'], $psw);
header("Location: /admin/coaches");
break;
case 'coach_data_edit':
@@ -151,18 +149,14 @@ if (isset($_POST['action'])) {
else {
$psw = "null";
}
- if (!isset($_POST['ua_helper']) || empty($_POST['ua_helper'])) {
- $_POST['ua_helper'] = 0;
- }
- user::update_user($_POST['ua_name'], $_POST['ua_helper'], $psw, $_POST['ua_id']);
+ user::update_user($_POST['ua_name'], $psw, $_POST['ua_id']);
header("Location: /admin/coaches");
break;
case 'shirt_create':
# póló létrehozása
//todo: shirt object
$sql->insert_into('shirt', array(
- 'shirt_name' => $_POST['shirt_name'],
- 'shirt_year' => (!empty($_POST['shirt_year'])?$_POST['shirt_year']:'null')
+ 'shirt_name' => $_POST['shirt_name']
)
);
header("Location: /admin/shirts");
@@ -172,7 +166,6 @@ if (isset($_POST['action'])) {
//todo: shirt object
$sql->update_table('shirt', array(
'shirt_name' => $_POST['shirt_name'],
- 'shirt_year' => (!empty($_POST['shirt_year'])?$_POST['shirt_year']:'null')
),
array(
'shirt_id' => $_POST['shirt_id']
@@ -199,6 +192,25 @@ if (isset($_POST['action'])) {
header("Location: /admin/cities");
}
break;
+ case 'region_create':
+ # körzet létrehozása
+ //todo: körzet object
+ $sql->insert_into('region', array(
+ 'reg_name' => $_POST['reg_name'],
+ )
+ );
+ header("Location: /admin/regions");
+ break;
+ case 'region_update':
+ # region lista updatelése AB-ba
+ unset($_POST['action']);
+ foreach ($_POST as $key => $value) {
+ $key_parts = explode('_', $key);
+ $reg_id = $key_parts[1];
+ $sql->update_table('region', array('reg_name' => $value), array('reg_id' => $reg_id));
+ header("Location: /admin/regions");
+ }
+ break;
default:
# code...
break;
diff --git a/index.php b/index.php
index 0800461..4416118 100755
--- a/index.php
+++ b/index.php
@@ -2,8 +2,10 @@
@@ -21,19 +23,26 @@ setlocale(LC_ALL, 'hu_HU.utf8');
+
+ echo '';
+ ?>
+ is_page() && $page->get_page() == "view") {
+ echo '';
+ }
+
+ ?>
+
Badminton Coach v 0.1
-
diff --git a/php_errors.log b/php_errors.log
deleted file mode 100644
index cbea6b2..0000000
--- a/php_errors.log
+++ /dev/null
@@ -1,197 +0,0 @@
-[22-Nov-2016 18:51:00 Europe/Budapest] PHP Warning: require(../Smarty/Smarty.class.php): failed to open stream: No such file or directory in /home/tollashodos/public_html/common.php on line 33
-[22-Nov-2016 18:51:00 Europe/Budapest] PHP Fatal error: require(): Failed opening required '../Smarty/Smarty.class.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/tollashodos/public_html/common.php on line 33
-[22-Nov-2016 18:51:26 Europe/Budapest] PHP Warning: require(../Smarty/Smarty.class.php): failed to open stream: No such file or directory in /home/tollashodos/public_html/common.php on line 33
-[22-Nov-2016 18:51:26 Europe/Budapest] PHP Fatal error: require(): Failed opening required '../Smarty/Smarty.class.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/tollashodos/public_html/common.php on line 33
-[22-Nov-2016 18:51:47 Europe/Budapest] PHP Warning: require(../Smarty/Smarty.class.php): failed to open stream: No such file or directory in /home/tollashodos/public_html/common.php on line 33
-[22-Nov-2016 18:51:47 Europe/Budapest] PHP Fatal error: require(): Failed opening required '../Smarty/Smarty.class.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/tollashodos/public_html/common.php on line 33
-[22-Nov-2016 18:52:48 Europe/Budapest] PHP Warning: require(../Smarty/Smarty.class.php): failed to open stream: No such file or directory in /home/tollashodos/public_html/common.php on line 33
-[22-Nov-2016 18:52:48 Europe/Budapest] PHP Fatal error: require(): Failed opening required '../Smarty/Smarty.class.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/tollashodos/public_html/common.php on line 33
-[22-Nov-2016 18:54:45 Europe/Budapest] PHP Warning: require(../Smarty/Smarty.class.php): failed to open stream: No such file or directory in /home/tollashodos/public_html/common.php on line 33
-[22-Nov-2016 18:54:45 Europe/Budapest] PHP Fatal error: require(): Failed opening required '../Smarty/Smarty.class.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/tollashodos/public_html/common.php on line 33
-[22-Nov-2016 18:54:53 Europe/Budapest] PHP Warning: mysqli::mysqli(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: NO) in /home/tollashodos/public_html/_class/class_sql.php on line 14
-[22-Nov-2016 18:54:53 Europe/Budapest] PHP Warning: mysqli::set_charset(): Couldn't fetch sql in /home/tollashodos/public_html/_class/class_sql.php on line 15
-[22-Nov-2016 18:54:57 Europe/Budapest] PHP Warning: mysqli::mysqli(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: NO) in /home/tollashodos/public_html/_class/class_sql.php on line 14
-[22-Nov-2016 18:54:57 Europe/Budapest] PHP Warning: mysqli::set_charset(): Couldn't fetch sql in /home/tollashodos/public_html/_class/class_sql.php on line 15
-[22-Nov-2016 19:06:50 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 46
-[22-Nov-2016 19:06:50 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::add_new_parent() should not be called statically in /home/tollashodos/public_html/_class/class_user_kid.php on line 243
-[22-Nov-2016 19:06:50 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::add_new_parent() should not be called statically in /home/tollashodos/public_html/_class/class_user_kid.php on line 256
-[22-Nov-2016 19:10:54 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 46
-[22-Nov-2016 19:10:54 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::add_new_parent() should not be called statically in /home/tollashodos/public_html/_class/class_user_kid.php on line 243
-[22-Nov-2016 19:10:54 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::add_new_parent() should not be called statically in /home/tollashodos/public_html/_class/class_user_kid.php on line 256
-[22-Nov-2016 19:12:09 Europe/Budapest] PHP Fatal error: Call to undefined function php_info() in /home/tollashodos/public_html/php_info.php on line 2
-[22-Nov-2016 19:15:32 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 46
-[22-Nov-2016 19:18:27 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 46
-[22-Nov-2016 19:21:37 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 46
-[22-Nov-2016 19:21:37 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::add_new_parent() should not be called statically in /home/tollashodos/public_html/_class/class_user_kid.php on line 243
-[22-Nov-2016 19:21:37 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::add_new_parent() should not be called statically in /home/tollashodos/public_html/_class/class_user_kid.php on line 256
-[22-Nov-2016 19:22:04 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::update_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 33
-[22-Nov-2016 19:22:07 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::update_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 33
-[22-Nov-2016 19:24:29 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 46
-[22-Nov-2016 19:24:29 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::add_new_parent() should not be called statically in /home/tollashodos/public_html/_class/class_user_kid.php on line 243
-[22-Nov-2016 19:24:29 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::add_new_parent() should not be called statically in /home/tollashodos/public_html/_class/class_user_kid.php on line 256
-[22-Nov-2016 19:25:19 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 46
-[22-Nov-2016 19:25:19 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::add_new_parent() should not be called statically in /home/tollashodos/public_html/_class/class_user_kid.php on line 243
-[22-Nov-2016 19:25:19 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::add_new_parent() should not be called statically in /home/tollashodos/public_html/_class/class_user_kid.php on line 256
-[22-Nov-2016 19:27:56 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 46
-[22-Nov-2016 19:27:56 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::add_new_parent() should not be called statically in /home/tollashodos/public_html/_class/class_user_kid.php on line 243
-[22-Nov-2016 19:27:56 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::add_new_parent() should not be called statically in /home/tollashodos/public_html/_class/class_user_kid.php on line 256
-[22-Nov-2016 19:30:09 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 46
-[22-Nov-2016 19:30:09 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::add_new_parent() should not be called statically in /home/tollashodos/public_html/_class/class_user_kid.php on line 243
-[22-Nov-2016 19:30:09 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::add_new_parent() should not be called statically in /home/tollashodos/public_html/_class/class_user_kid.php on line 256
-[22-Nov-2016 19:33:59 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 46
-[22-Nov-2016 19:34:13 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 46
-[22-Nov-2016 19:34:56 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 46
-[22-Nov-2016 19:35:16 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 46
-[22-Nov-2016 19:38:04 Europe/Budapest] PHP Parse error: syntax error, unexpected '&&' (T_BOOLEAN_AND) in /home/tollashodos/public_html/_class/class_user_kid.php on line 254
-[22-Nov-2016 19:38:24 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[22-Nov-2016 19:38:53 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[22-Nov-2016 19:39:08 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[22-Nov-2016 19:40:00 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[22-Nov-2016 19:42:04 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[22-Nov-2016 19:42:23 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[22-Nov-2016 19:44:14 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[22-Nov-2016 19:45:21 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[22-Nov-2016 19:46:20 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::update_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 33
-[22-Nov-2016 19:46:25 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::update_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 33
-[22-Nov-2016 19:46:28 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::update_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 33
-[22-Nov-2016 19:46:32 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::update_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 33
-[22-Nov-2016 19:46:37 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::update_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 33
-[22-Nov-2016 19:47:09 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[23-Nov-2016 08:46:13 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[23-Nov-2016 08:59:00 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[23-Nov-2016 08:59:22 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[23-Nov-2016 08:59:22 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::add_new_parent() should not be called statically in /home/tollashodos/public_html/_class/class_user_kid.php on line 247
-[23-Nov-2016 08:59:31 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::update_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 33
-[23-Nov-2016 10:06:20 Europe/Budapest] PHP Strict Standards: Non-static method training::create_training() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 91
-[23-Nov-2016 10:10:43 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[29-Nov-2016 23:01:16 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[29-Nov-2016 23:02:26 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::update_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 33
-[29-Nov-2016 23:04:27 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[29-Nov-2016 23:04:27 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::add_new_parent() should not be called statically in /home/tollashodos/public_html/_class/class_user_kid.php on line 198
-[29-Nov-2016 23:04:27 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::add_new_parent() should not be called statically in /home/tollashodos/public_html/_class/class_user_kid.php on line 209
-[29-Nov-2016 23:06:03 Europe/Budapest] PHP Strict Standards: Non-static method training_type::create_training_type() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 99
-[29-Nov-2016 23:06:54 Europe/Budapest] PHP Strict Standards: Non-static method training::create_training() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 91
-[29-Nov-2016 23:07:19 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::update_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 33
-[30-Nov-2016 00:36:08 Europe/Budapest] PHP Notice: Undefined offset: 0 in /home/tollashodos/public_html/_class/class_user.php on line 98
-[30-Nov-2016 00:36:08 Europe/Budapest] PHP Warning: Invalid argument supplied for foreach() in /home/tollashodos/public_html/_class/class_user.php on line 99
-[30-Nov-2016 00:36:30 Europe/Budapest] PHP Notice: Undefined offset: 0 in /home/tollashodos/public_html/_class/class_user.php on line 98
-[30-Nov-2016 00:36:30 Europe/Budapest] PHP Warning: Invalid argument supplied for foreach() in /home/tollashodos/public_html/_class/class_user.php on line 99
-[30-Nov-2016 00:37:38 Europe/Budapest] PHP Notice: Undefined offset: 0 in /home/tollashodos/public_html/_class/class_user.php on line 98
-[30-Nov-2016 00:37:38 Europe/Budapest] PHP Warning: Invalid argument supplied for foreach() in /home/tollashodos/public_html/_class/class_user.php on line 99
-[30-Nov-2016 00:50:51 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::update_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 33
-[30-Nov-2016 00:50:58 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::update_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 33
-[30-Nov-2016 00:56:17 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::update_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 33
-[30-Nov-2016 00:56:21 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::update_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 33
-[30-Nov-2016 00:59:26 Europe/Budapest] PHP Notice: Undefined variable: _user_id in /home/tollashodos/public_html/_include/include_logout.php on line 3
-[30-Nov-2016 01:01:49 Europe/Budapest] PHP Notice: Undefined variable: _user_id in /home/tollashodos/public_html/_include/include_logout.php on line 3
-[30-Nov-2016 06:42:32 Europe/Budapest] PHP Notice: Undefined offset: 0 in /home/tollashodos/public_html/_class/class_user.php on line 98
-[30-Nov-2016 06:42:32 Europe/Budapest] PHP Warning: Invalid argument supplied for foreach() in /home/tollashodos/public_html/_class/class_user.php on line 99
-[30-Nov-2016 06:42:56 Europe/Budapest] PHP Notice: Undefined offset: 0 in /home/tollashodos/public_html/_class/class_user.php on line 98
-[30-Nov-2016 06:42:56 Europe/Budapest] PHP Warning: Invalid argument supplied for foreach() in /home/tollashodos/public_html/_class/class_user.php on line 99
-[30-Nov-2016 06:44:46 Europe/Budapest] PHP Notice: Undefined variable: _user_id in /home/tollashodos/public_html/_include/include_logout.php on line 3
-[30-Nov-2016 07:12:00 Europe/Budapest] PHP Notice: Undefined offset: 0 in /home/tollashodos/public_html/_class/class_user.php on line 98
-[30-Nov-2016 07:12:00 Europe/Budapest] PHP Warning: Invalid argument supplied for foreach() in /home/tollashodos/public_html/_class/class_user.php on line 99
-[30-Nov-2016 07:12:53 Europe/Budapest] PHP Notice: Undefined offset: 0 in /home/tollashodos/public_html/_class/class_user.php on line 98
-[30-Nov-2016 07:12:53 Europe/Budapest] PHP Warning: Invalid argument supplied for foreach() in /home/tollashodos/public_html/_class/class_user.php on line 99
-[30-Nov-2016 07:20:39 Europe/Budapest] PHP Notice: Undefined variable: _user_id in /home/tollashodos/public_html/_include/include_logout.php on line 3
-[30-Nov-2016 07:22:43 Europe/Budapest] PHP Notice: Undefined variable: _user_id in /home/tollashodos/public_html/_include/include_logout.php on line 3
-[30-Nov-2016 09:23:21 Europe/Budapest] PHP Notice: Undefined variable: _user_id in /home/tollashodos/public_html/_include/include_logout.php on line 3
-[01-Dec-2016 19:18:31 Europe/Budapest] PHP Notice: Undefined variable: _user_id in /home/tollashodos/public_html/_include/include_logout.php on line 3
-[01-Dec-2016 19:19:13 Europe/Budapest] PHP Notice: Undefined variable: _user_id in /home/tollashodos/public_html/_include/include_logout.php on line 3
-[01-Dec-2016 19:20:34 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 19:20:45 Europe/Budapest] PHP Notice: Undefined offset: 0 in /home/tollashodos/public_html/_include/include_members.php on line 25
-[01-Dec-2016 19:21:01 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 19:23:36 Europe/Budapest] PHP Strict Standards: Non-static method training_type::create_training_type() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 99
-[01-Dec-2016 19:23:50 Europe/Budapest] PHP Strict Standards: Non-static method training::update_training() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 80
-[01-Dec-2016 19:24:12 Europe/Budapest] PHP Strict Standards: Non-static method training_type::create_training_type() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 99
-[01-Dec-2016 19:24:31 Europe/Budapest] PHP Strict Standards: Non-static method training_type::create_training_type() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 99
-[01-Dec-2016 19:24:42 Europe/Budapest] PHP Strict Standards: Non-static method training_type::create_training_type() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 99
-[01-Dec-2016 19:24:52 Europe/Budapest] PHP Strict Standards: Non-static method training_type::create_training_type() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 99
-[01-Dec-2016 19:49:20 Europe/Budapest] PHP Notice: Undefined variable: _user_id in /home/tollashodos/public_html/_include/include_logout.php on line 3
-[01-Dec-2016 19:53:07 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 19:53:47 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 19:55:11 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 19:57:46 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 19:59:14 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 19:59:52 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 20:10:16 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 20:20:56 Europe/Budapest] PHP Notice: Undefined variable: _user_id in /home/tollashodos/public_html/_include/include_logout.php on line 3
-[01-Dec-2016 21:23:17 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 21:23:32 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 21:23:45 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 21:23:58 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 21:24:11 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 21:24:27 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 21:24:49 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 21:25:13 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 21:32:23 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 21:33:13 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 21:33:42 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 21:33:57 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 21:34:09 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 21:34:25 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 21:34:46 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 21:35:03 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 21:35:19 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 22:01:56 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 22:02:43 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 22:03:02 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 22:03:49 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 22:04:17 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 22:05:10 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 22:05:35 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 22:05:59 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 22:06:40 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 22:07:36 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 22:07:55 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 22:08:13 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 22:08:49 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 22:09:30 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 22:09:51 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[01-Dec-2016 22:10:04 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[02-Dec-2016 07:16:28 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::update_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 33
-[02-Dec-2016 10:13:39 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::update_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 33
-[02-Dec-2016 23:52:16 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[02-Dec-2016 23:52:37 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[02-Dec-2016 23:53:00 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[02-Dec-2016 23:53:26 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[02-Dec-2016 23:54:04 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[02-Dec-2016 23:55:49 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[02-Dec-2016 23:56:16 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[03-Dec-2016 00:09:18 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[03-Dec-2016 00:09:38 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[03-Dec-2016 00:10:21 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[03-Dec-2016 00:10:37 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[03-Dec-2016 00:11:13 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[03-Dec-2016 00:11:27 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[03-Dec-2016 00:11:45 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[03-Dec-2016 00:12:16 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[03-Dec-2016 00:12:44 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[03-Dec-2016 00:13:00 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[03-Dec-2016 00:13:25 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[03-Dec-2016 00:14:12 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[03-Dec-2016 00:14:35 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[03-Dec-2016 00:15:03 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[03-Dec-2016 00:15:20 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[03-Dec-2016 00:15:33 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[03-Dec-2016 00:15:44 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[03-Dec-2016 00:16:20 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[03-Dec-2016 00:16:32 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[03-Dec-2016 00:16:49 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[03-Dec-2016 00:17:02 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[03-Dec-2016 00:17:26 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[03-Dec-2016 00:17:39 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[03-Dec-2016 00:17:52 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[03-Dec-2016 00:18:05 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[03-Dec-2016 00:18:18 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[03-Dec-2016 00:18:40 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[03-Dec-2016 00:18:59 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[03-Dec-2016 00:19:15 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[03-Dec-2016 00:19:28 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[03-Dec-2016 00:19:41 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[03-Dec-2016 00:19:54 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[03-Dec-2016 00:20:07 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[03-Dec-2016 00:20:26 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[03-Dec-2016 00:20:40 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[03-Dec-2016 00:20:54 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
-[03-Dec-2016 00:21:20 Europe/Budapest] PHP Strict Standards: Non-static method user_kid::create_user() should not be called statically in /home/tollashodos/public_html/event_handler.php on line 48
diff --git a/template/templates/coach_create.tpl b/template/templates/coach_create.tpl
index fb35f09..5603c3d 100644
--- a/template/templates/coach_create.tpl
+++ b/template/templates/coach_create.tpl
@@ -7,11 +7,6 @@
-
+
+{/if}
\ No newline at end of file
diff --git a/template/templates/user_data_edit.tpl b/template/templates/user_data_edit.tpl
index 11cbd48..ed66124 100755
--- a/template/templates/user_data_edit.tpl
+++ b/template/templates/user_data_edit.tpl
@@ -51,7 +51,7 @@
-
+
@@ -75,7 +75,7 @@
-
+
@@ -103,11 +103,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -137,10 +148,23 @@
+
+
+
+
+
+
-
+
-
+
@@ -176,7 +200,7 @@
-
+
-
+
@@ -211,7 +235,21 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -230,6 +268,8 @@
else $(".add_parent_1_block").hide();
if ($("#uk_parent_2").val() == 'null') $(".add_parent_2_block").show();
else $(".add_parent_2_block").hide();
+ if ($("#uk_school_sc_id").val() == 'null') $(".add_school_block").show();
+ else $(".add_school_block").hide();
});
$('#uk_parent_1').change(function() {
@@ -240,4 +280,8 @@
$(".add_parent_2_block").toggle(this.value == 'null');
});
+ $('#uk_school_sc_id').change(function() {
+ $(".add_school_block").toggle(this.value == 'null');
+ });
+
\ No newline at end of file
diff --git a/template/templates/user_list.tpl b/template/templates/user_list.tpl
index de47be8..bf4cf9a 100755
--- a/template/templates/user_list.tpl
+++ b/template/templates/user_list.tpl
@@ -4,6 +4,7 @@
SzülőkPólókTelepülések
+ Diákolimpia körzetek
diff --git a/template/templates/user_overview.tpl b/template/templates/user_overview.tpl
new file mode 100644
index 0000000..5d04b2a
--- /dev/null
+++ b/template/templates/user_overview.tpl
@@ -0,0 +1,218 @@
+