diff --git a/.htaccess b/.htaccess index cf39483..e0167e9 100644 --- a/.htaccess +++ b/.htaccess @@ -8,7 +8,7 @@ RewriteRule ^\/?(_css\/)([a-zA-Z0-9_]+)\.css$ _css/$2.css [NC] RewriteRule ^\/?(_ajax\/)([a-zA-Z0-9_]+)\.php$ _ajax/$2.php [NC,L] -RewriteRule ^([a-z_]+)\/?([0-9a-z_]*)\/?([0-9a-z]*)$ index.php?page=$1&subpage=$2&id=$3 [NC,L] +RewriteRule ^([a-z_]+)\/?([0-9a-z_]*)\/?([0-9a-z_]*)$ index.php?page=$1&subpage=$2&id=$3 [NC,L] diff --git a/_ajax/update_presence.php b/_ajax/update_presence.php index 3536a4b..9ad5ff9 100755 --- a/_ajax/update_presence.php +++ b/_ajax/update_presence.php @@ -1,7 +1,8 @@ $value) { trigger_error($key . " : " . $value, E_USER_NOTICE); diff --git a/_class/class_page.php b/_class/class_page.php index 615a385..282e906 100755 --- a/_class/class_page.php +++ b/_class/class_page.php @@ -42,7 +42,7 @@ class page { switch ($this->get_subpage()) { case 'members': # TAGOK KEZELÉSE - $tpl = "view"; + $tpl = "edit"; include('include_members.php'); break; @@ -65,12 +65,24 @@ class page { # SZÜLŐK SZERKESZTÉSE include('include_parents.php'); break; + case 'coaches': + # EDZŐK SZERKESZTÉSE + include('include_coaches.php'); + break; case 'trainings': # EDZÉSEK # itt az edzések listája jelenik meg az aktuális hónapban - $tpl = "view"; + $tpl = "edit"; include('include_trainings.php'); break; + case 'shirts': + # PÓLÓK + include('include_shirts.php'); + break; + case 'cities': + # PÓLÓK + include('include_cities.php'); + break; case 'edit_training': # TAG SZERKESZTÉSE $tpl = "edit"; @@ -97,6 +109,22 @@ class page { # EDZÉS TÍPUS TÖRLÉS include('include_delete_training_type.php'); break; + case 'delete_coach': + # EDZŐ TÖRLÉS + include('include_delete_coach.php'); + break; + case 'delete_shirt': + # PÓLÓ TÖRLÉS + include('include_delete_shirt.php'); + break; + case 'delete_city': + # VÁROS TÖRLÉS + include('include_delete_city.php'); + break; + case 'logout': + # kijelentkezés + include('include_logout.php'); + break; default: # code... break; diff --git a/_class/class_training.php b/_class/class_training.php index 805b185..aa8784e 100755 --- a/_class/class_training.php +++ b/_class/class_training.php @@ -36,8 +36,8 @@ class training { return $this->tr_id; } - public function get_tr_date() { - return $this->tr_date; + public function get_tr_date($_formatted = false) { + return !$_formatted ? $this->tr_date : date("Y. F d. H:i", strtotime($this->tr_date)); } public function get_tr_training_type_trt_id() { diff --git a/_class/class_user.php b/_class/class_user.php index 8c64995..5c8af70 100755 --- a/_class/class_user.php +++ b/_class/class_user.php @@ -19,6 +19,7 @@ class user { private $user_last_login; private $logged_in; private $user_type; + private $user_deleted; public function set_ua_id($_uid) { $this->user_id = $_uid; @@ -48,6 +49,10 @@ class user { $this->user_last_login = $_u_last_login; } + public function set_ua_deleted($_u_deleted) { + $this->user_deleted = $_u_deleted; + } + public function get_ua_id() { return $this->user_id; } @@ -72,6 +77,10 @@ class user { return $this->user_email; } + public function get_ua_deleted() { + return $this->user_deleted; + } + 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 @@ -114,6 +123,30 @@ class user { $this->user_type = $_type; } + public static function create_user($_name, $_email, $_password) { + global $sql; + return $sql->insert_into('user_coach', array( + 'ua_name' => $_name, + 'ua_email' => $_email, + 'ua_password' => $_password + ) + ); + } + + public static function update_user($_name, $_email, $_password, $_ua_id) { + global $sql; + return $sql->update_table('user_coach', + array( + 'ua_name' => $_name, + 'ua_email' => $_email, + 'ua_password' => $_password + ), + array( + 'ua_id' => $_ua_id + ) + ); + } + } diff --git a/_class/class_user_kid.php b/_class/class_user_kid.php index 58d2c9a..e1c8aa8 100644 --- a/_class/class_user_kid.php +++ b/_class/class_user_kid.php @@ -164,7 +164,7 @@ class user_kid extends user_parent { //$this->set_login(true); } } - public function add_new_parent($_parent_name, $_email, $_facebook, $_phone) { + public static function add_new_parent($_parent_name, $_email, $_facebook, $_phone) { global $sql; //beilleszti AB-ba //visszaadja az ID-t @@ -178,7 +178,7 @@ class user_kid extends user_parent { ) ); } - public function create_user($_user_value_array) { + public static function create_user($_user_value_array) { global $sql; //SCHOOL_HANDLER if (isset($_user_value_array['add_school']) && $_user_value_array['add_school'] != "") { @@ -214,10 +214,35 @@ class user_kid extends user_parent { if (isset($_user_value_array['parent_2_phone'])) unset($_user_value_array['parent_2_phone']); return $sql->insert_into('user_kid', $_user_value_array); } - public function update_user($_user_value_array, $_user_id) { + public static function update_user($_user_value_array, $_user_id) { global $sql; - //a módosítás dátumát + //a módosítás dátumát updateljük $_user_value_array['uk_last_modified'] = date("Y-m-d"); + //PARENT_1 HANDLER + if (isset($_user_value_array['add_parent_1']) && $_user_value_array['add_parent_1'] != "") { + //lehet, hogy csak a neve van megadva, ezért meg kell vizsgálni, hogy a többi létezik-e; ha nem => null + //var_dump($_user_value_array); + //die("hiba"); + $_user_value_array['uk_parent_1'] = self::add_new_parent( + $_user_value_array['add_parent_1'], + $_user_value_array['parent_1_email'], + $_user_value_array['parent_1_facebook'], $_user_value_array['parent_1_phone']); + } + if (isset($_user_value_array['add_parent_1'])) unset($_user_value_array['add_parent_1']); + if (isset($_user_value_array['parent_1_email'])) unset($_user_value_array['parent_1_email']); + if (isset($_user_value_array['parent_1_facebook'])) unset($_user_value_array['parent_1_facebook']); + if (isset($_user_value_array['parent_1_phone'])) unset($_user_value_array['parent_1_phone']); + //PARENT_2 HANDLER + if (isset($_user_value_array['add_parent_2']) && $_user_value_array['add_parent_2'] != "") { + $_user_value_array['uk_parent_2'] = self::add_new_parent( + $_user_value_array['add_parent_2'], + $_user_value_array['parent_2_email'], $_user_value_array['parent_2_facebook'], + $_user_value_array['parent_2_phone']); + } + if (isset($_user_value_array['add_parent_2'])) unset($_user_value_array['add_parent_2']); + 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']); //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/_css/addbutton.css b/_css/addbutton.css new file mode 100644 index 0000000..d562123 --- /dev/null +++ b/_css/addbutton.css @@ -0,0 +1,137 @@ +.buttons { + float: left; + padding-bottom: 20px; + clear: both; +} +a.addbutton { + color: #6e6e6e; + font: bold 12px Helvetica, Arial, sans-serif; + text-decoration: none; + padding: 7px 12px; + display: inline-block; + text-shadow: 0 1px 0 #fff; + -webkit-transition: border-color .218s; + -moz-transition: border .218s; + -o-transition: border-color .218s; + transition: border-color .218s; + background: #f3f3f3; + background: -webkit-gradient(linear,0% 40%,0% 70%,from(#F5F5F5),to(#F1F1F1)); + background: -moz-linear-gradient(linear,0% 40%,0% 70%,from(#F5F5F5),to(#F1F1F1)); + border: solid 1px #dcdcdc; + border-radius: 2px; + -webkit-border-radius: 2px; + -moz-border-radius: 2px; + margin: 10px 10px 10px 0px; +} +a.addbutton:hover { + color: #333; + border-color: #999; + -moz-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2); + -webkit-box-shadow:0 2px 5px rgba(0, 0, 0, 0.2); + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15); +} +a.addbutton:active { + color: #000; + border-color: #444; +} +a.left { + -webkit-border-top-right-radius: 0; + -moz-border-radius-topright: 0; + border-top-right-radius: 0; + -webkit-border-bottom-right-radius: 0; + -moz-border-radius-bottomright: 0; + border-bottom-right-radius: 0; + margin: 0; +} +a.middle { + border-radius: 0; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-left: solid 1px #f3f3f3; + margin: 0; + border-left: solid 1px rgba(255, 255, 255, 0); +} +a.middle:hover, +a.right:hover { border-left: solid 1px #999 } +a.right { + -webkit-border-top-left-radius: 0; + -moz-border-radius-topleft: 0; + border-top-left-radius: 0; + -webkit-border-bottom-left-radius: 0; + -moz-border-radius-bottomleft: 0; + border-bottom-left-radius: 0; + border-left: solid 1px #f3f3f3; + border-left: solid 1px rgba(255, 255, 255, 0); +} +a.big { + font-size: 16px; + padding: 10px 15px; +} +a.supersize { + font-size: 20px; + padding: 15px 20px; +} +a.save { + background: url(/_image/addbutton.png) 10px 7px no-repeat #f3f3f3; + padding-left: 30px; +} +a.add { + background: url(/_image/addbutton.png) 10px -27px no-repeat #f3f3f3; + padding-left: 30px; +} +a.delete { + background: url(/_image/addbutton.png) 10px -61px no-repeat #f3f3f3; + padding-left: 30px; +} +a.flag { + background: url(/_image/addbutton.png) 10px -96px no-repeat #f3f3f3; + padding-left: 30px; +} +a.up { + background: url(/_image/addbutton.png) 13px -133px no-repeat #f3f3f3; + width: 18px; +} +a.down { + background: url(/_image/addbutton.png) 13px -168px no-repeat #f3f3f3; + width: 18px; +} +a.save-big { + background: url(/_image/addbutton.png) 15px 11px no-repeat #f3f3f3; + font-size: 16px; + padding: 10px 15px 10px 35px; +} +a.add-big { + background: url(/_image/addbutton.png) 15px -23px no-repeat #f3f3f3; + font-size: 16px; + padding: 10px 15px 10px 35px; +} +a.delete-big { + background: url(/_image/addbutton.png) 15px -57px no-repeat #f3f3f3; + font-size: 16px; + padding: 10px 15px 10px 35px; +} +a.flag-big { + background: url(/_image/addbutton.png) 15px -92px no-repeat #f3f3f3; + font-size: 16px; + padding: 10px 15px 10px 35px; +} +a.up-big { + background: url(/_image/addbutton.png) 15px -128px no-repeat #f3f3f3; + width: 18px; + font-size: 16px; + padding: 10px 15px; +} +a.down-big { + background: url(/_image/addbutton.png) 15px -163px no-repeat #f3f3f3; + width: 18px; + font-size: 16px; + padding: 10px 15px; +} + +@media (max-width: 680px) { +.buttons { + text-align: center; +} + + +} \ No newline at end of file diff --git a/_css/button.css b/_css/button.css new file mode 100644 index 0000000..533677b --- /dev/null +++ b/_css/button.css @@ -0,0 +1,59 @@ +/** + * Chunky 3D Web Buttons + * + * Inspiration was taken from: + * - http://www.premiumpixels.com/freebies/chunky-3d-webbuttons-psd/ + */ + +/** + * Shadow + */ +.button::before { + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + -webkit-box-shadow: #959595 0 2px 5px; + -moz-box-shadow: #959595 0 2px 5px; + border-radius: 3px; + box-shadow: #959595 0 2px 5px; + content: ""; + display: block; + height: 100%; + left: 0; + padding: 2px 0 0; + position: absolute; + top: 0; + width: 100%; } + +.button:active::before { padding: 1px 0 0; } + +/** + * Black + */ +.button.black { + background: #656565; + background: -webkit-gradient(linear, 0 0, 0 bottom, from(#656565), to(#444)); + background: -moz-linear-gradient(#656565, #444); + background: linear-gradient(#656565, #444); + border: solid 1px #535353; + border-bottom: solid 3px #414141; + color: #fff; + text-shadow: 0 1px 0 #2f2f2f; + padding: 5px; +} + +.button.black:hover { + background: #4c4c4c; + background: -webkit-gradient(linear, 0 0, 0 bottom, from(#4c4c4c), to(#565656)); + background: -moz-linear-gradient(#4c4c4c, #565656); + background: linear-gradient(#4c4c4c, #565656); + border: solid 1px #464646; + border-bottom: solid 3px #414141; +} + +.button.black:active { + background: #474747; + background: -webkit-gradient(linear, 0 0, 0 bottom, from(#474747), to(#444)); + background: -moz-linear-gradient(#474747, #444); + background: linear-gradient(#474747, #444); + border: solid 1px #2f2f2f; + box-shadow: inset 0 10px 15px 0 #3e3e3e; } \ No newline at end of file diff --git a/_css/default.css b/_css/default.css new file mode 100644 index 0000000..d23f6e9 --- /dev/null +++ b/_css/default.css @@ -0,0 +1,157 @@ +* { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + font-family: Arial; +} + +html { + +} +body { + margin: 0px; + min-height: 100%; + background-color: #aaaaaa; +} + +#pageContainer { + margin: 0px; + padding: 0px; + position: relative; + min-height: 100vh; + height: 100vh; +} + +main { + width: 100%; + background-color: #aaaaaa; + min-height: 100vh; +} + +main #main_content { + width: 100%; + min-height: 100vh; + background-color: #fff; + padding: 30px 10px 10px 10px; + + webkit-box-shadow: 0px 0px 11px 4px rgba(0,0,0,0.75); + -moz-box-shadow: 0px 0px 11px 4px rgba(0,0,0,0.75); + box-shadow: 0px 0px 11px 4px rgba(0,0,0,0.75); + +} + +a:link { + text-decoration: none; +} +a:hover { + text-decoration: underline; +} +td.create { + padding: 15px 0px; +} +td.create a { + line-height: 18px; + font-size: 18px; +} +.list .name_tag { + + text-align: left; + padding: 10px 0px 10px 10px; + margin: 5px; + background-color: #e2edff; + cursor: pointer; + + vertical-align: middle; + width: 100%; + font-size: 18px; + font-family: Arial; + border-left: 2px solid #000; + + +} +.name_tag_checked { + width: 100%; + text-align: left; + padding: 10px 0px 10px 10px; + margin: 5px; + background-color: #1eea0b; + cursor: pointer; + border-left: 2px solid #000; + +} + +.list { + clear: both; +} + +.list .list_item { + margin: 4px 0px; + vertical-align: middle; + width: 100%; + padding: 5px; + background-color: #e6e6e6; + font-size: 18px; + font-family: Arial; + border-left: 2px solid #aaa; +} + +.list .list_item:hover { + background-color: #B7B7B7; + border-left: 2px solid #000; +} + +.list .list_item img, .list .name_tag img, .list .name_tag_checked img { + width: 20px; + height: 20px; + float: left; + margin-right: 5px; +} + +.list a { + color: #473C3C; + font-family: Arial; + font-weight: bold; +} + +.list a:hover { + text-decoration: none; +} + +.list .date_separator { + font-size: 20px; + width: 100%; + display: inline-block; + font-weight: bold; + background-color: #333; + color: #f2f2f2; + padding: 3px 0px 2px 5px; + margin-bottom: 5px; +} + +.list_item label { + font-weight: bold; +} + + +@media (min-width: 680px) { + +main #main_content { + width: 80%; + margin: 0px auto; +} + +.list .list_item, .list .name_tag, .list .name_tag_checked { + width: 40%; +} + +.list_item label { + float: left; + padding-right: 5px; + +} + +.list .date_separator { + width: 40%; +} + +} \ No newline at end of file diff --git a/_css/form.css b/_css/form.css index 0aa320a..780236b 100644 --- a/_css/form.css +++ b/_css/form.css @@ -1,5 +1,5 @@ .form_wrapper { - width: 50%; + } form > div { @@ -13,13 +13,13 @@ form > div > fieldset > div > div { } form > div > label, legend { - width: 25%; + width: 30%; float: left; padding-right: 10px; } form > div > div, form > div > fieldset > div { - width: 75%; + width: 70%; float: right; } form > div > fieldset label { @@ -44,8 +44,14 @@ textarea { input[type=text], input[type=email], input[type=url], -input[type=password] { - width: 50%; +input[type=password], +select { + width: 75%; + border: 1px solid #121212; + height: 30px; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; } input[type=text]:focus, input[type=email]:focus, @@ -73,7 +79,6 @@ input[type=email]:hover { legend { width: 100%; float: none; - margin: 0 0 5px 0; } form > div > div, form > div > fieldset > div { @@ -93,5 +98,10 @@ input[type=email]:hover { form > div > label, legend { text-align: right; + padding-top: 5px; + } + + .form_wrapper { + width: 70%; } } \ No newline at end of file diff --git a/_css/nav.css b/_css/nav.css index 3bd2881..87a9af9 100644 --- a/_css/nav.css +++ b/_css/nav.css @@ -1,3 +1,14 @@ +nav { + display: block; + width: 80%; + margin: 0px auto; + height: 50px; + webkit-box-shadow: 0px 0px 11px 4px rgba(0,0,0,0.75); + -moz-box-shadow: 0px 0px 11px 4px rgba(0,0,0,0.75); + box-shadow: 0px 0px 11px 4px rgba(0,0,0,0.75); + font-weight: bold; +} + ul.topnav { list-style-type: none; margin: 0; @@ -31,14 +42,17 @@ ul.topnav li.icon {display: none;} } @media screen and (max-width:680px) { - ul.topnav.responsive {position: relative;} - - ul.topnav.responsive li { - float: none; - display: inline; - } - ul.topnav.responsive li a { - display: block; - text-align: left; - } +nav { + width: 100%; +} +ul.topnav.responsive {position: relative;} + +ul.topnav.responsive li { + float: none; + display: inline; +} +ul.topnav.responsive li a { + display: block; + text-align: left; +} } \ No newline at end of file diff --git a/_image/addbutton.png b/_image/addbutton.png new file mode 100644 index 0000000..08f9769 Binary files /dev/null and b/_image/addbutton.png differ diff --git a/_image/coach.png b/_image/coach.png new file mode 100644 index 0000000..1d397b8 Binary files /dev/null and b/_image/coach.png differ diff --git a/_image/letszam.png b/_image/letszam.png new file mode 100644 index 0000000..2eecf1c Binary files /dev/null and b/_image/letszam.png differ diff --git a/_image/shirt.png b/_image/shirt.png new file mode 100644 index 0000000..5d1dc9f Binary files /dev/null and b/_image/shirt.png differ diff --git a/_image/shuttlecock.png b/_image/shuttlecock.png new file mode 100644 index 0000000..e07500b Binary files /dev/null and b/_image/shuttlecock.png differ diff --git a/_image/time.png b/_image/time.png new file mode 100644 index 0000000..ba32593 Binary files /dev/null and b/_image/time.png differ diff --git a/_image/tipus.png b/_image/tipus.png new file mode 100644 index 0000000..d648b54 Binary files /dev/null and b/_image/tipus.png differ diff --git a/_image/training.png b/_image/training.png new file mode 100644 index 0000000..e7e73ed Binary files /dev/null and b/_image/training.png differ diff --git a/_include/include_cities.php b/_include/include_cities.php new file mode 100644 index 0000000..bd9c878 --- /dev/null +++ b/_include/include_cities.php @@ -0,0 +1,30 @@ +is_id()) { + + # VÁROS SZERKESZTÉSE + + +} + +else { + + # VÁROS LISTA + + $scc_query = "SELECT * FROM school_city ORDER BY scc_city ASC"; + $scc_assoc_array = $sql->assoc_array($scc_query); + + $smarty->assign('scc_assoc_array',$scc_assoc_array); + $smarty->display('city_list.tpl'); + + +} + + + + + +?> \ No newline at end of file diff --git a/_include/include_coaches.php b/_include/include_coaches.php new file mode 100644 index 0000000..f0b5411 --- /dev/null +++ b/_include/include_coaches.php @@ -0,0 +1,33 @@ +is_id()) { + # ADOTT TAG ADATAINAK MEGJELENÍTÉSE + //user adatok + $user_data_query = "SELECT * FROM user_coach WHERE ua_id = " . $this->get_id(); + $user_data_assoc_array = $sql->assoc_array($user_data_query); + + //smarty thingz + + $smarty->assign('user_data', $user_data_assoc_array[0]); + $smarty->display('coach_data_edit.tpl'); +} +else { + # TAG LISTA + + $user_list_query = "SELECT * FROM user_coach ORDER BY ua_name ASC;"; + $user_list_assoc_array = $sql->assoc_array($user_list_query); + //végigmegyünk a tömbbön, objektumot csinálunk belőlük, és átadjuk egy array-ben a template-nek + $user_array = array(); + foreach ($user_list_assoc_array as $user_list_array) { + $current_user = new user(); + $current_user->set_user_data_by_id($user_list_array['ua_id']); + $user_array[] = $current_user; + } + $smarty->assign('user_array', $user_array); + $smarty->display('coach_list.tpl'); + //var_dump($user_array); +} + +?> \ No newline at end of file diff --git a/_include/include_create.php b/_include/include_create.php index 90ef8dd..a39101f 100755 --- a/_include/include_create.php +++ b/_include/include_create.php @@ -50,12 +50,22 @@ switch ($this->get_id()) { case 'training_type': # TRAINING TYPE létrehozása $smarty->display('training_type_create.tpl'); - break; case 'parent': # PARENT LÉTREHOZÁSA $smarty->display('parent_create.tpl'); - + break; + case 'coach': + # COACH létrehozása + $smarty->display('coach_create.tpl'); + break; + case 'shirt': + # SHIRT létrehozása + $smarty->display('shirt_create.tpl'); + break; + case 'city': + # CITY létrehozása + $smarty->display('city_create.tpl'); break; default: # code... diff --git a/_include/include_delete_city.php b/_include/include_delete_city.php new file mode 100644 index 0000000..f70e95f --- /dev/null +++ b/_include/include_delete_city.php @@ -0,0 +1,10 @@ +is_id()) { + $delete_query = "DELETE FROM school_city WHERE scc_id = " . $this->get_id() . ";"; + $sql->execute_query($delete_query); + header("Location: /admin/cities"); +} + + +?> \ No newline at end of file diff --git a/_include/include_delete_coach.php b/_include/include_delete_coach.php new file mode 100644 index 0000000..23efb68 --- /dev/null +++ b/_include/include_delete_coach.php @@ -0,0 +1,10 @@ +is_id()) { + $delete_query = "DELETE FROM user_coach WHERE ua_id = " . $this->get_id() . ";"; + $sql->execute_query($delete_query); + header("Location: /admin/coaches"); +} + + +?> \ No newline at end of file diff --git a/_include/include_delete_member.php b/_include/include_delete_member.php index 15a8b70..a716642 100644 --- a/_include/include_delete_member.php +++ b/_include/include_delete_member.php @@ -1,7 +1,7 @@ is_id()) { - $delete_query = "DELETE FROM user_parent WHERE uk_id = " . $this->get_id() . ";"; + $delete_query = "DELETE FROM user_kid WHERE uk_id = " . $this->get_id() . ";"; $sql->execute_query($delete_query); header("Location: /admin/members"); } diff --git a/_include/include_delete_shirt.php b/_include/include_delete_shirt.php new file mode 100644 index 0000000..3e5ac5f --- /dev/null +++ b/_include/include_delete_shirt.php @@ -0,0 +1,10 @@ +is_id()) { + $delete_query = "DELETE FROM shirt WHERE shirt_id = " . $this->get_id() . ";"; + $sql->execute_query($delete_query); + header("Location: /admin/shirts"); +} + + +?> \ No newline at end of file diff --git a/_include/include_logout.php b/_include/include_logout.php new file mode 100644 index 0000000..dbd40a0 --- /dev/null +++ b/_include/include_logout.php @@ -0,0 +1,8 @@ + \ No newline at end of file diff --git a/_include/include_shirts.php b/_include/include_shirts.php new file mode 100644 index 0000000..1f328d7 --- /dev/null +++ b/_include/include_shirts.php @@ -0,0 +1,33 @@ +is_id()) { + + # PÓLÓ SZERKESZTÉSE + $shirt_query = "SELECT * FROM shirt WHERE shirt_id = " . $this->get_id(); + $shirt_assoc_array = $sql->assoc_array($shirt_query); + + $smarty->assign('shirt_array',$shirt_assoc_array[0]); + $smarty->display('shirt_data_edit.tpl'); +} + +else { + + # PÓLÓ LISTA + + $shirt_query = "SELECT * FROM shirt ORDER BY shirt_name ASC"; + $shirt_assoc_array = $sql->assoc_array($shirt_query); + + $smarty->assign('shirt_assoc_array',$shirt_assoc_array); + $smarty->display('shirt_list.tpl'); + + +} + + + + + +?> \ No newline at end of file diff --git a/_include/include_trainings.php b/_include/include_trainings.php index 1d66199..d375bb6 100755 --- a/_include/include_trainings.php +++ b/_include/include_trainings.php @@ -46,8 +46,6 @@ if ($this->is_id()) { else { - $actual_month = date('m'); - //$actual_month = 10; $traning_list_query = "SELECT * FROM training ORDER BY tr_date DESC;"; $training_list_assoc_array = $sql->assoc_array($traning_list_query); diff --git a/common.php b/common.php index 382861b..7938cc3 100755 --- a/common.php +++ b/common.php @@ -29,8 +29,25 @@ spl_autoload_register(function ($class_name) { if (!in_array($class_name, $exception)) include '_class/class_' . $class_name . '.php'; }); +$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', + ); + //SMARTY BEÁLLÍTÁSA -require('../Smarty/Smarty.class.php'); +//require('../Smarty/Smarty.class.php'); +if ($_SERVER['HTTP_HOST'] == 'badmintoncoach.hu') require('../Smarty/Smarty.class.php'); +else $sql = require('Smarty/Smarty.class.php'); $smarty = new Smarty(); @@ -39,16 +56,21 @@ $smarty->setCompileDir('template/templates_c'); $smarty->setCacheDir('template/cache'); $smarty->setConfigDir('template/configs'); +$smarty->assign('months', $months); + //SQL KAPCSOLAT BEÁLLÍTÁSA -$sql = new sql('localhost','root','','badminton_coach'); +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); } +$smarty->assign('can_logout', $logout); //$page = new page(); diff --git a/event_handler.php b/event_handler.php index 34995f7..6a06469 100755 --- a/event_handler.php +++ b/event_handler.php @@ -68,7 +68,7 @@ if (isset($_POST['action'])) { if (!isset($_POST['up_phone'])) $_POST['up_phone'] = null; if (!isset($_POST['up_facebook'])) $_POST['up_facebook'] = null; user_parent::update_parent($_POST, $up_id); - header("Location: /admin/parents/" . $up_id); + //header("Location: /admin/parents/" . $up_id); break; case 'training_data_edit': @@ -110,6 +110,70 @@ if (isset($_POST['action'])) { header("Location: " . $actual_link); } break; + case 'coach_create': + # edző létrehozása + if (isset($_POST['ua_can_login']) && !empty($_POST['ua_can_login'])) { + $psw = md5($_POST['ua_password']); + } + else { + $psw = "null"; + } + user::create_user($_POST['ua_name'], $_POST['ua_email'], $psw); + header("Location: /admin/coaches"); + break; + case 'coach_data_edit': + # edző update + if (isset($_POST['ua_can_login']) && !empty($_POST['ua_can_login'])) { + $psw = md5($_POST['ua_password']); + } + else { + $psw = "null"; + } + user::update_user($_POST['ua_name'], $_POST['ua_email'], $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') + ) + ); + header("Location: /admin/shirts"); + break; + case 'shirt_data_edit': + # shirt update + //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'] + ) + ); + header("Location: /admin/shirts"); + break; + case 'city_create': + # település létrehozása + //todo: település object + $sql->insert_into('school_city', array( + 'scc_city' => $_POST['scc_city'], + ) + ); + header("Location: /admin/cities"); + break; + case 'city_update': + # city lista updatelése AB-ba + unset($_POST['action']); + foreach ($_POST as $key => $value) { + $key_parts = explode('_', $key); + $scc_id = $key_parts[1]; + $sql->update_table('school_city', array('scc_city' => $value), array('scc_id' => $scc_id)); + header("Location: /admin/cities"); + } + break; default: # code... break; diff --git a/index.php b/index.php index 041d641..0800461 100755 --- a/index.php +++ b/index.php @@ -1,44 +1,15 @@ + + @@ -51,8 +22,11 @@ - + + + + Badminton Coach v 0.1 +
- get_page_content();?> +
+ get_page_content();?> +
- + +
\ No newline at end of file diff --git a/php_errors.log b/php_errors.log new file mode 100644 index 0000000..cbea6b2 --- /dev/null +++ b/php_errors.log @@ -0,0 +1,197 @@ +[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/php_info.php b/php_info.php deleted file mode 100644 index 968c8df..0000000 --- a/php_info.php +++ /dev/null @@ -1,3 +0,0 @@ - \ No newline at end of file diff --git a/template/templates/city_create.tpl b/template/templates/city_create.tpl new file mode 100644 index 0000000..0abcb1e --- /dev/null +++ b/template/templates/city_create.tpl @@ -0,0 +1,18 @@ +
+
+ + +
+ +
+
+ + +
+
+ +
+
+ +
+
\ No newline at end of file diff --git a/template/templates/city_list.tpl b/template/templates/city_list.tpl new file mode 100644 index 0000000..8bef338 --- /dev/null +++ b/template/templates/city_list.tpl @@ -0,0 +1,23 @@ +
+
+ + + {foreach $scc_assoc_array as $scc} +
+
+ + Törlés +
+
+ + + {/foreach} +
+
+ +
+
+
+
\ No newline at end of file diff --git a/template/templates/coach_create.tpl b/template/templates/coach_create.tpl new file mode 100644 index 0000000..b44113e --- /dev/null +++ b/template/templates/coach_create.tpl @@ -0,0 +1,44 @@ +
+
+ + +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+
+ +
+
+ +
+
+ + + \ No newline at end of file diff --git a/template/templates/coach_data_edit.tpl b/template/templates/coach_data_edit.tpl new file mode 100644 index 0000000..75f3907 --- /dev/null +++ b/template/templates/coach_data_edit.tpl @@ -0,0 +1,49 @@ +
+
+ + + + +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+
+ +
+
+ +
+
+ + + \ No newline at end of file diff --git a/template/templates/coach_list.tpl b/template/templates/coach_list.tpl new file mode 100644 index 0000000..e217b1c --- /dev/null +++ b/template/templates/coach_list.tpl @@ -0,0 +1,18 @@ +
+ + Új edző hozzáadása + +
+ +
+ {foreach $user_array as $user} + +
+ + {$user->get_ua_name()} +
+
+ {/foreach} + +
+ diff --git a/template/templates/login.tpl b/template/templates/login.tpl index 175dfdb..77cfbd9 100755 --- a/template/templates/login.tpl +++ b/template/templates/login.tpl @@ -1,17 +1,22 @@ +
- - - - - - - - - - - - -
Felhasználónév:
Jelszó:
-
\ No newline at end of file +
+ +
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
\ No newline at end of file diff --git a/template/templates/nav.tpl b/template/templates/nav.tpl index 89630f1..e48b073 100755 --- a/template/templates/nav.tpl +++ b/template/templates/nav.tpl @@ -1,10 +1,19 @@ diff --git a/template/templates/parent_create.tpl b/template/templates/parent_create.tpl index 957a2b4..21aed5e 100644 --- a/template/templates/parent_create.tpl +++ b/template/templates/parent_create.tpl @@ -1,42 +1,32 @@ -
- - - - - - - - - - - - - - - - - - - - - -
- Név: - - -
- E-mail cím: - - -
- Telefonszám: - - -
- Facebook: - - -
- -
-
\ No newline at end of file +
+
+ + +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+
+ +
+
+ +
+
\ No newline at end of file diff --git a/template/templates/parent_data_edit.tpl b/template/templates/parent_data_edit.tpl index c2e1be6..c50b9c2 100644 --- a/template/templates/parent_data_edit.tpl +++ b/template/templates/parent_data_edit.tpl @@ -1,46 +1,37 @@ +
- - - - - - - - - - - - - - - - - - - - - - - -
TÖRLÉS
- Név: - - -
- E-mail cím: - - -
- Telefonszám: - - -
- Facebook: - - -
- -
-
\ No newline at end of file +
+ Törlés +
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+
+ +
+
+ + + +
\ No newline at end of file diff --git a/template/templates/parent_list.tpl b/template/templates/parent_list.tpl index 7806f54..4059c2c 100644 --- a/template/templates/parent_list.tpl +++ b/template/templates/parent_list.tpl @@ -1,17 +1,18 @@ - +
-
- - + Új szülő hozzádása + + + +
{foreach $parent_array as $parent} -
- - + +
+ + {$parent->get_up_name()} +
+ +
{/foreach} - -
+ Új szülő hozzádása
- - {$parent->get_up_name()} - -
\ No newline at end of file + \ No newline at end of file diff --git a/template/templates/presence.tpl b/template/templates/presence.tpl index 2c5528a..43584f0 100755 --- a/template/templates/presence.tpl +++ b/template/templates/presence.tpl @@ -1,50 +1,82 @@ -

Jelenlét kezelése

+
+
+ +
{$training->get_tr_date(true)}
+
- - - - - - - - - - - - - - - - -
Edzés dátuma: - {$training->get_tr_date()|substr:0:-3} -
Típus: {$training->get_tr_type_name_by_id()}
Edző(k): - {foreach $trc_coaches as $coach} - {$coach->get_ua_name()}
- {/foreach} -
Létszám: -
- {$headcount} -
-
+
+ +
+ {$training->get_tr_type_name_by_id()} +
+
- +
+ +
{$training->get_tr_duration()} perc
+
- {foreach $users as $user} - -
{$user->get_uk_name()}
- +{if $trc_coaches} +
+ +
+ {foreach $trc_coaches as $coach} + {$coach->get_ua_name()}
{/foreach} +
+
+{/if} -

+
+ +
+ {$headcount} fő +
+
- {foreach $rest_users as $rest_user} - -
{$rest_user->get_uk_name()}
- - {/foreach} + + +


+ +
+{foreach $users as $user} + +
+ +
{$user->get_uk_name()}
+
+ +{/foreach} +
+ +

+ +
+{foreach $rest_users as $rest_user} +
+ +
{$rest_user->get_uk_name()}
+
+{/foreach} +
+ \ No newline at end of file diff --git a/template/templates/user_data_edit.tpl b/template/templates/user_data_edit.tpl index 2ab9e93..11cbd48 100755 --- a/template/templates/user_data_edit.tpl +++ b/template/templates/user_data_edit.tpl @@ -1,86 +1,97 @@ +
+
- - - - - - - - - +
+ +
+
+ - - - - +
+ +
+
- - - - +
+ +
+
- - - - +
+ +
+
- - - - +
+ +
+
- - - - +
+ +
+
- - - - +
+ +
+
- - - - + +
+ Kéz: +
+ + +
+
+ + +
+
+ + +
+ +
+
- - - - +
+ +
+
- - - - - - - - - - - - - - - - - - - + + - - - - + + - - - - + + - - - - - - - - + + - - - - + + - - - +
+ +
+
-
MEGTEKINTÉSTÖRLÉS
Név:
Aktív:
Utolsó módosítás dátuma:
Jelszó:
Nem: - Fiú -     - Lány +
+ Nem: +
+ + +
+
+ + +
+
+ +
+ +
+
-
Születési dátum:
Lakcím:
Első edzés dátuma:
Kéz: - Balkezes -     - Jobbkezes +
+ +
+
-
Email cím:
Telefonszám:
Facebook:
Pólóméret: +
+ +
-
Iskola neve: +
+ +
-
Iskola települése: +
+ +
-
Iskola kerülete:
Szülő1: +
+ +
+
+ + + +
+ +
-
Szülő2: +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ + + +
+ +
-
-
\ No newline at end of file +
+ +
+
+ +
+ +
+
+ +
+ +
+
+ + + +

+ + +
+
+ +
+
+ + + +
+ + \ No newline at end of file diff --git a/template/templates/user_data_edit_old.tpl b/template/templates/user_data_edit_old.tpl new file mode 100644 index 0000000..2ab9e93 --- /dev/null +++ b/template/templates/user_data_edit_old.tpl @@ -0,0 +1,161 @@ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MEGTEKINTÉSTÖRLÉS
Név:
Aktív:
Utolsó módosítás dátuma:
Jelszó:
Nem: + Fiú +     + Lány + +
Születési dátum:
Lakcím:
Első edzés dátuma:
Kéz: + Balkezes +     + Jobbkezes + +
Email cím:
Telefonszám:
Facebook:
Pólóméret: + +
Iskola neve: + +
Iskola települése: + +
Iskola kerülete:
Szülő1: + +
Szülő2: + +
+
\ No newline at end of file diff --git a/template/templates/user_list.tpl b/template/templates/user_list.tpl index 92fb3df..de47be8 100755 --- a/template/templates/user_list.tpl +++ b/template/templates/user_list.tpl @@ -1,18 +1,22 @@ - +
-
- - - + Új tag hozzáadása + Szülők + Pólók + Települések + -{foreach $user_array as $user} - - - -{/foreach} + + + {/foreach} + + -
+ Új tag hozzáadása+ Szülők kezelése
- + + +
\ No newline at end of file diff --git a/template/templates_c/0daa726415612b42547a6b66a59aa1f658e617c7_0.file.user_data_edit.tpl.php b/template/templates_c/0daa726415612b42547a6b66a59aa1f658e617c7_0.file.user_data_edit.tpl.php deleted file mode 100755 index 5262560..0000000 --- a/template/templates_c/0daa726415612b42547a6b66a59aa1f658e617c7_0.file.user_data_edit.tpl.php +++ /dev/null @@ -1,289 +0,0 @@ - -decodeProperties(array ( - 'file_dependency' => - array ( - '0daa726415612b42547a6b66a59aa1f658e617c7' => - array ( - 0 => 'template/templates/user_data_edit.tpl', - 1 => 1478468413, - 2 => 'file', - ), - ), - 'nocache_hash' => '1371035005581fa36af07935_63127217', - 'variables' => - array ( - 'user_data' => 0, - 'shirt_size_assoc_array' => 0, - 'shirt_size_array' => 0, - 'school_assoc_array' => 0, - 'school_array' => 0, - 'school_city_assoc_array' => 0, - 'school_city_array' => 0, - 'parent_assoc_array' => 0, - 'parent_array' => 0, - ), - 'has_nocache_code' => false, - 'version' => '3.1.27', - 'unifunc' => 'content_581fa36b0bd6f3_92404884', -),false); -/*/%%SmartyHeaderCode%%*/ -if ($_valid && !is_callable('content_581fa36b0bd6f3_92404884')) { -function content_581fa36b0bd6f3_92404884 ($_smarty_tpl) { - -$_smarty_tpl->properties['nocache_hash'] = '1371035005581fa36af07935_63127217'; -?> -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MEGTEKINTÉSTÖRLÉS
Név:
Aktív: tpl_vars['user_data']->value['uk_is_active']) {?>checked>
Utolsó módosítás dátuma:
Jelszó:
Nem: - tpl_vars['user_data']->value['uk_gender']) {?>checked>Fiú -     - tpl_vars['user_data']->value['uk_gender']) {?>checked>Lány - -
Születési dátum:
Lakcím:
Első edzés dátuma:
Kéz: - tpl_vars['user_data']->value['uk_hand']) {?>checked>Balkezes -     - tpl_vars['user_data']->value['uk_hand']) {?>checked>Jobbkezes - -
Email cím:
Telefonszám:
Facebook:
Pólóméret: - -
Iskola neve: - -
Iskola települése: - -
Iskola kerülete:
Szülő1: - -
Szülő2: - -
-
\ No newline at end of file diff --git a/template/templates_c/13018198cb1e222ff806c89075f6697c0a9d8f02_0.file.training_list.tpl.php b/template/templates_c/13018198cb1e222ff806c89075f6697c0a9d8f02_0.file.training_list.tpl.php deleted file mode 100755 index 758ae81..0000000 --- a/template/templates_c/13018198cb1e222ff806c89075f6697c0a9d8f02_0.file.training_list.tpl.php +++ /dev/null @@ -1,68 +0,0 @@ - -decodeProperties(array ( - 'file_dependency' => - array ( - '13018198cb1e222ff806c89075f6697c0a9d8f02' => - array ( - 0 => 'template/templates/training_list.tpl', - 1 => 1477994997, - 2 => 'file', - ), - ), - 'nocache_hash' => '1507137256581869f7605c74_55456203', - 'variables' => - array ( - 'training_array' => 0, - 'edit' => 0, - 'training' => 0, - ), - 'has_nocache_code' => false, - 'version' => '3.1.27', - 'unifunc' => 'content_581869f766ae75_24014916', -),false); -/*/%%SmartyHeaderCode%%*/ -if ($_valid && !is_callable('content_581869f766ae75_24014916')) { -function content_581869f766ae75_24014916 ($_smarty_tpl) { - -$_smarty_tpl->properties['nocache_hash'] = '1507137256581869f7605c74_55456203'; -?> - - - - - - -tpl_vars['training_array']->value; -if (!is_array($_from) && !is_object($_from)) { -settype($_from, 'array'); -} -$_smarty_tpl->tpl_vars['training'] = new Smarty_Variable; -$_smarty_tpl->tpl_vars['training']->_loop = false; -foreach ($_from as $_smarty_tpl->tpl_vars['training']->value) { -$_smarty_tpl->tpl_vars['training']->_loop = true; -$foreach_training_Sav = $_smarty_tpl->tpl_vars['training']; -?> - - - - -tpl_vars['training'] = $foreach_training_Sav; -} -?> - -
+ Új edzés hozzáadása
- - tpl_vars['training']->value->get_tr_date(),0,-3);?> - (tpl_vars['training']->value->get_tr_type_name_by_id();?> -) - -
\ No newline at end of file diff --git a/template/templates_c/37574c53ee2a5eee86b2066bc3b283517b22d802_0.file.user_list.tpl.php b/template/templates_c/37574c53ee2a5eee86b2066bc3b283517b22d802_0.file.user_list.tpl.php deleted file mode 100755 index 3b1b7b8..0000000 --- a/template/templates_c/37574c53ee2a5eee86b2066bc3b283517b22d802_0.file.user_list.tpl.php +++ /dev/null @@ -1,68 +0,0 @@ - -decodeProperties(array ( - 'file_dependency' => - array ( - '37574c53ee2a5eee86b2066bc3b283517b22d802' => - array ( - 0 => 'template/templates/user_list.tpl', - 1 => 1478462496, - 2 => 'file', - ), - ), - 'nocache_hash' => '1715121101581f8c233b5f71_60016562', - 'variables' => - array ( - 'user_array' => 0, - 'edit' => 0, - 'user' => 0, - ), - 'has_nocache_code' => false, - 'version' => '3.1.27', - 'unifunc' => 'content_581f8c23400087_16155929', -),false); -/*/%%SmartyHeaderCode%%*/ -if ($_valid && !is_callable('content_581f8c23400087_16155929')) { -function content_581f8c23400087_16155929 ($_smarty_tpl) { - -$_smarty_tpl->properties['nocache_hash'] = '1715121101581f8c233b5f71_60016562'; -?> - - - - - - - - -tpl_vars['user_array']->value; -if (!is_array($_from) && !is_object($_from)) { -settype($_from, 'array'); -} -$_smarty_tpl->tpl_vars['user'] = new Smarty_Variable; -$_smarty_tpl->tpl_vars['user']->_loop = false; -foreach ($_from as $_smarty_tpl->tpl_vars['user']->value) { -$_smarty_tpl->tpl_vars['user']->_loop = true; -$foreach_user_Sav = $_smarty_tpl->tpl_vars['user']; -?> - - - -tpl_vars['user'] = $foreach_user_Sav; -} -?> - -
+ Új tag hozzáadása
- - tpl_vars['user']->value->get_uk_name();?> - - -
\ No newline at end of file diff --git a/template/templates_c/40bbe654196f43be67b196e07aa8f00618314caa_0.file.training_data_edit.tpl.php b/template/templates_c/40bbe654196f43be67b196e07aa8f00618314caa_0.file.training_data_edit.tpl.php deleted file mode 100755 index 3b912c3..0000000 --- a/template/templates_c/40bbe654196f43be67b196e07aa8f00618314caa_0.file.training_data_edit.tpl.php +++ /dev/null @@ -1,116 +0,0 @@ - -decodeProperties(array ( - 'file_dependency' => - array ( - '40bbe654196f43be67b196e07aa8f00618314caa' => - array ( - 0 => 'template/templates/training_data_edit.tpl', - 1 => 1478004507, - 2 => 'file', - ), - ), - 'nocache_hash' => '743223821581891866eb9d8_80375404', - 'variables' => - array ( - 'training_data' => 0, - 'training_type_assoc_array' => 0, - 'training_type_array' => 0, - 'coach_data_assoc_array' => 0, - 'coach_data_array' => 0, - ), - 'has_nocache_code' => false, - 'version' => '3.1.27', - 'unifunc' => 'content_581891867590e8_13812852', -),false); -/*/%%SmartyHeaderCode%%*/ -if ($_valid && !is_callable('content_581891867590e8_13812852')) { -function content_581891867590e8_13812852 ($_smarty_tpl) { - -$_smarty_tpl->properties['nocache_hash'] = '743223821581891866eb9d8_80375404'; -?> -
- - - - - - - - - - - - - - - - - - - - - - - -
MEGTEKINTÉS
Dátum: - -
Típus: - -
Edző: - -
-
\ No newline at end of file diff --git a/template/templates_c/4ae63c880d135ada53c4849c2ee93f46d9279e0a_0.file.nav.tpl.php b/template/templates_c/4ae63c880d135ada53c4849c2ee93f46d9279e0a_0.file.nav.tpl.php deleted file mode 100644 index bd06268..0000000 --- a/template/templates_c/4ae63c880d135ada53c4849c2ee93f46d9279e0a_0.file.nav.tpl.php +++ /dev/null @@ -1,35 +0,0 @@ - -decodeProperties(array ( - 'file_dependency' => - array ( - '4ae63c880d135ada53c4849c2ee93f46d9279e0a' => - array ( - 0 => 'template/templates/nav.tpl', - 1 => 1478800955, - 2 => 'file', - ), - ), - 'nocache_hash' => '17123251355824b688ec9070_71771942', - 'has_nocache_code' => false, - 'version' => '3.1.27', - 'unifunc' => 'content_5824b688eff9f8_12148612', -),false); -/*/%%SmartyHeaderCode%%*/ -if ($_valid && !is_callable('content_5824b688eff9f8_12148612')) { -function content_5824b688eff9f8_12148612 ($_smarty_tpl) { - -$_smarty_tpl->properties['nocache_hash'] = '17123251355824b688ec9070_71771942'; -?> - - - - - - -
TagokEdzésekJelenlét
\ No newline at end of file diff --git a/template/templates_c/61c8e0d372142135e64030ddc559e26a938e95b0_0.file.presence.tpl.php b/template/templates_c/61c8e0d372142135e64030ddc559e26a938e95b0_0.file.presence.tpl.php deleted file mode 100755 index b5ca343..0000000 --- a/template/templates_c/61c8e0d372142135e64030ddc559e26a938e95b0_0.file.presence.tpl.php +++ /dev/null @@ -1,81 +0,0 @@ - -decodeProperties(array ( - 'file_dependency' => - array ( - '61c8e0d372142135e64030ddc559e26a938e95b0' => - array ( - 0 => 'template/templates/presence.tpl', - 1 => 1477998607, - 2 => 'file', - ), - ), - 'nocache_hash' => '16005617145818781378ff46_21030545', - 'variables' => - array ( - 'tr_id' => 0, - 'users' => 0, - 'user' => 0, - ), - 'has_nocache_code' => false, - 'version' => '3.1.27', - 'unifunc' => 'content_581878137e5895_92635142', -),false); -/*/%%SmartyHeaderCode%%*/ -if ($_valid && !is_callable('content_581878137e5895_92635142')) { -function content_581878137e5895_92635142 ($_smarty_tpl) { - -$_smarty_tpl->properties['nocache_hash'] = '16005617145818781378ff46_21030545'; -?> - - - -tpl_vars['users']->value; -if (!is_array($_from) && !is_object($_from)) { -settype($_from, 'array'); -} -$_smarty_tpl->tpl_vars['user'] = new Smarty_Variable; -$_smarty_tpl->tpl_vars['user']->_loop = false; -foreach ($_from as $_smarty_tpl->tpl_vars['user']->value) { -$_smarty_tpl->tpl_vars['user']->_loop = true; -$foreach_user_Sav = $_smarty_tpl->tpl_vars['user']; -?> - - - - -tpl_vars['user'] = $foreach_user_Sav; -} -?> -
tpl_vars['user']->value->get_uk_last_name();?> - tpl_vars['user']->value->get_uk_first_name();?> -tpl_vars['user']->value->get_uk_presence($_smarty_tpl->tpl_vars['tr_id']->value)) {?>checked>
- -> -$('.chk').click(function() { - var checked = $(this).is(':checked'); - var user_id = $(this).val(); - var tr_id = $("#tr_id").val(); - alert(checked); - - $.ajax({ - type: "POST", - url: '/ajax/update_presence.php', - data: { checked : checked, user_id : user_id, tr_id : tr_id }, - success: function(data) { - //alert('it worked'); - } - }); - -}); - -> \ No newline at end of file diff --git a/template/templates_c/6ac17b1be319bf40fa4468753e2ae33bef15a1ff_0.file.login.tpl.php b/template/templates_c/6ac17b1be319bf40fa4468753e2ae33bef15a1ff_0.file.login.tpl.php deleted file mode 100644 index f58df08..0000000 --- a/template/templates_c/6ac17b1be319bf40fa4468753e2ae33bef15a1ff_0.file.login.tpl.php +++ /dev/null @@ -1,45 +0,0 @@ - -decodeProperties(array ( - 'file_dependency' => - array ( - '6ac17b1be319bf40fa4468753e2ae33bef15a1ff' => - array ( - 0 => 'template/templates/login.tpl', - 1 => 1478800955, - 2 => 'file', - ), - ), - 'nocache_hash' => '10727867635824b688f0d3f7_59367922', - 'has_nocache_code' => false, - 'version' => '3.1.27', - 'unifunc' => 'content_5824b688f12022_31098800', -),false); -/*/%%SmartyHeaderCode%%*/ -if ($_valid && !is_callable('content_5824b688f12022_31098800')) { -function content_5824b688f12022_31098800 ($_smarty_tpl) { - -$_smarty_tpl->properties['nocache_hash'] = '10727867635824b688f0d3f7_59367922'; -?> -
- - - - - - - - - - - - - - -
Felhasználónév:
Jelszó:
-
\ No newline at end of file diff --git a/template/templates_c/70cdad834f07a58eb566592c6047fdf605717fa1_0.file.user_data_create.tpl.php b/template/templates_c/70cdad834f07a58eb566592c6047fdf605717fa1_0.file.user_data_create.tpl.php deleted file mode 100755 index 3a5bc02..0000000 --- a/template/templates_c/70cdad834f07a58eb566592c6047fdf605717fa1_0.file.user_data_create.tpl.php +++ /dev/null @@ -1,286 +0,0 @@ - -decodeProperties(array ( - 'file_dependency' => - array ( - '70cdad834f07a58eb566592c6047fdf605717fa1' => - array ( - 0 => 'template/templates/user_data_create.tpl', - 1 => 1478247297, - 2 => 'file', - ), - ), - 'nocache_hash' => '783135917581c438256aab2_59237290', - 'variables' => - array ( - 'school_assoc_array' => 0, - 'school_array' => 0, - 'school_city_assoc_array' => 0, - 'school_city_array' => 0, - 'shirt_size_assoc_array' => 0, - 'shirt_size_array' => 0, - 'parent_assoc_array' => 0, - 'parent_array' => 0, - ), - 'has_nocache_code' => false, - 'version' => '3.1.27', - 'unifunc' => 'content_581c43825bea77_11262406', -),false); -/*/%%SmartyHeaderCode%%*/ -if ($_valid && !is_callable('content_581c43825bea77_11262406')) { -function content_581c43825bea77_11262406 ($_smarty_tpl) { - -$_smarty_tpl->properties['nocache_hash'] = '783135917581c438256aab2_59237290'; -?> -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Név:
Nem: - Fiú -     - Lány - -
Születési dátum:
Lakcím:
Első edzés dátuma:
Kéz: - Balkezes -     - Jobbkezes - -
Email cím:
Telefonszám:
Facebbok:
Iskola neve: - - -
Iskola települése: - -
Iskola kerülete:
Pólóméret: - -
Szülő1: - - -
Szülő1 email cím:
Szülő1 facebook:
Szülő1 telefonszám:
Szülő2: - - -
Szülő2 email cím:
Szülő2 facebook:
Szülő2 telefonszám:
-
\ No newline at end of file diff --git a/template/templates_c/e551c336c657b65c6d3b8bf31bcaee1b52da3391_0.file.training_data_view.tpl.php b/template/templates_c/e551c336c657b65c6d3b8bf31bcaee1b52da3391_0.file.training_data_view.tpl.php deleted file mode 100755 index 49e4404..0000000 --- a/template/templates_c/e551c336c657b65c6d3b8bf31bcaee1b52da3391_0.file.training_data_view.tpl.php +++ /dev/null @@ -1,106 +0,0 @@ - -decodeProperties(array ( - 'file_dependency' => - array ( - 'e551c336c657b65c6d3b8bf31bcaee1b52da3391' => - array ( - 0 => 'template/templates/training_data_view.tpl', - 1 => 1477032946, - 2 => 'file', - ), - ), - 'nocache_hash' => '4160927195809bbf3ec32c5_19841586', - 'variables' => - array ( - 'training_data' => 0, - 'training_type_assoc_array' => 0, - 'training_type_array' => 0, - 'coach_data_assoc_array' => 0, - 'coach_data_array' => 0, - ), - 'has_nocache_code' => false, - 'version' => '3.1.27', - 'unifunc' => 'content_5809bbf3f35869_90639789', -),false); -/*/%%SmartyHeaderCode%%*/ -if ($_valid && !is_callable('content_5809bbf3f35869_90639789')) { -function content_5809bbf3f35869_90639789 ($_smarty_tpl) { - -$_smarty_tpl->properties['nocache_hash'] = '4160927195809bbf3ec32c5_19841586'; -?> - - - - - - - - - - - - - - - - - - -
SZERKESZTÉS
Dátum: tpl_vars['training_data']->value['tr_date'];?> -
Típus: - -
Edző: - -
\ No newline at end of file diff --git a/template/templates_c/f09a8f49095e058d92a0f3b80c517ebb26cc92d3_0.file.training_data_create.tpl.php b/template/templates_c/f09a8f49095e058d92a0f3b80c517ebb26cc92d3_0.file.training_data_create.tpl.php deleted file mode 100755 index b5065e2..0000000 --- a/template/templates_c/f09a8f49095e058d92a0f3b80c517ebb26cc92d3_0.file.training_data_create.tpl.php +++ /dev/null @@ -1,113 +0,0 @@ - -decodeProperties(array ( - 'file_dependency' => - array ( - 'f09a8f49095e058d92a0f3b80c517ebb26cc92d3' => - array ( - 0 => 'template/templates/training_data_create.tpl', - 1 => 1477847913, - 2 => 'file', - ), - ), - 'nocache_hash' => '5454241965816454e0692c1_53277471', - 'variables' => - array ( - 'training_type_assoc_array' => 0, - 'training_type_array' => 0, - 'coach_data_assoc_array' => 0, - 'coach_data_array' => 0, - ), - 'has_nocache_code' => false, - 'version' => '3.1.27', - 'unifunc' => 'content_5816454e0fc5a2_92888657', -),false); -/*/%%SmartyHeaderCode%%*/ -if ($_valid && !is_callable('content_5816454e0fc5a2_92888657')) { -function content_5816454e0fc5a2_92888657 ($_smarty_tpl) { - -$_smarty_tpl->properties['nocache_hash'] = '5454241965816454e0692c1_53277471'; -?> -
- - - - - - - - - - - - - - - - - - - - - - - - -
Dátum: - -
Típus: - -
Edző: - -
Minden héten ebben az időpontban
-
\ No newline at end of file diff --git a/template/templates_c/f630f58b79cccf8510dd4d524c0401091c5b6621_0.file.user_data_view.tpl.php b/template/templates_c/f630f58b79cccf8510dd4d524c0401091c5b6621_0.file.user_data_view.tpl.php deleted file mode 100755 index d613bbb..0000000 --- a/template/templates_c/f630f58b79cccf8510dd4d524c0401091c5b6621_0.file.user_data_view.tpl.php +++ /dev/null @@ -1,276 +0,0 @@ - -decodeProperties(array ( - 'file_dependency' => - array ( - 'f630f58b79cccf8510dd4d524c0401091c5b6621' => - array ( - 0 => 'template/templates/user_data_view.tpl', - 1 => 1478468640, - 2 => 'file', - ), - ), - 'nocache_hash' => '238806482581fa421e0b266_15047814', - 'variables' => - array ( - 'user_data' => 0, - 'shirt_size_assoc_array' => 0, - 'shirt_size_array' => 0, - 'school_assoc_array' => 0, - 'school_array' => 0, - 'school_city_assoc_array' => 0, - 'school_city_array' => 0, - 'parent_assoc_array' => 0, - 'parent_array' => 0, - ), - 'has_nocache_code' => false, - 'version' => '3.1.27', - 'unifunc' => 'content_581fa421e91aa6_95907828', -),false); -/*/%%SmartyHeaderCode%%*/ -if ($_valid && !is_callable('content_581fa421e91aa6_95907828')) { -function content_581fa421e91aa6_95907828 ($_smarty_tpl) { - -$_smarty_tpl->properties['nocache_hash'] = '238806482581fa421e0b266_15047814'; -?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SZERKESZTÉS
tpl_vars['user_data']->value['uk_name'];?> -
Aktív: tpl_vars['user_data']->value['uk_is_active']) {?>checked disabled>
Utolsó módosítás dátuma:
Jelszó:
Nem: - tpl_vars['user_data']->value['uk_gender']) {?>checked disabled>Fiú -     - tpl_vars['user_data']->value['uk_gender']) {?>checked disabled>Lány - -
Születési dátum:
Lakcím:
Első edzés dátuma:
Kéz: - tpl_vars['user_data']->value['uk_hand']) {?>checked disabled>Balkezes -     - tpl_vars['user_data']->value['uk_hand']) {?>checked disabled>Jobbkezes - -
Email cím: tpl_vars['user_data']->value['uk_email'];?> -
Telefonszám: tpl_vars['user_data']->value['uk_phone'];?> -
Facebbok: tpl_vars['user_data']->value['uk_facebook'];?> -
Pólóméret: - -
Iskola neve: - -
Iskola települése: - -
Iskola kerülete:
Szülő1: - -
Szülő2: - -
\ No newline at end of file