Responsive design;
New menus (members); Improved interface for parent editing;
@@ -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]
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
<?php
|
||||
ini_set('include_path', '../_class/');
|
||||
include('class_sql.php');
|
||||
$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');
|
||||
/*
|
||||
foreach ($_POST as $key => $value) {
|
||||
trigger_error($key . " : " . $value, E_USER_NOTICE);
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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));
|
||||
|
||||
137
_css/addbutton.css
Normal file
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
59
_css/button.css
Normal file
@@ -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; }
|
||||
157
_css/default.css
Normal file
@@ -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%;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -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%;
|
||||
}
|
||||
}
|
||||
34
_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;
|
||||
}
|
||||
}
|
||||
BIN
_image/addbutton.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
_image/coach.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
_image/letszam.png
Normal file
|
After Width: | Height: | Size: 7.7 KiB |
BIN
_image/shirt.png
Normal file
|
After Width: | Height: | Size: 5.8 KiB |
BIN
_image/shuttlecock.png
Normal file
|
After Width: | Height: | Size: 228 KiB |
BIN
_image/time.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
_image/tipus.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
_image/training.png
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
30
_include/include_cities.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
|
||||
# HA NINCS ID, AKKOR VÁROSLISTA
|
||||
|
||||
if ($this->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');
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
?>
|
||||
33
_include/include_coaches.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
# HA NINCS ID, AKKOR TAGLISTA
|
||||
# HA VAN ID, AKKOR TAG ADATAINAK MEGJELENÍTÉSE/SZERKESZTÉSE
|
||||
if ($this->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);
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -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...
|
||||
|
||||
10
_include/include_delete_city.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
if ($this->is_id()) {
|
||||
$delete_query = "DELETE FROM school_city WHERE scc_id = " . $this->get_id() . ";";
|
||||
$sql->execute_query($delete_query);
|
||||
header("Location: /admin/cities");
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
10
_include/include_delete_coach.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
if ($this->is_id()) {
|
||||
$delete_query = "DELETE FROM user_coach WHERE ua_id = " . $this->get_id() . ";";
|
||||
$sql->execute_query($delete_query);
|
||||
header("Location: /admin/coaches");
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
if ($this->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");
|
||||
}
|
||||
|
||||
10
_include/include_delete_shirt.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
if ($this->is_id()) {
|
||||
$delete_query = "DELETE FROM shirt WHERE shirt_id = " . $this->get_id() . ";";
|
||||
$sql->execute_query($delete_query);
|
||||
header("Location: /admin/shirts");
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
8
_include/include_logout.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
setcookie('badminton_coach_user', 'null', time()-60*60*72, '/');
|
||||
unset($_COOKIE['badminton_coach_user']);
|
||||
header('Location: http://' . $_SERVER['HTTP_HOST']);
|
||||
|
||||
|
||||
?>
|
||||
33
_include/include_shirts.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
|
||||
# HA NINCS ID, AKKOR PÓLÓLISTA
|
||||
|
||||
if ($this->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');
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
?>
|
||||
@@ -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);
|
||||
|
||||
|
||||
28
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();
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
58
index.php
@@ -1,44 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<?php
|
||||
|
||||
setlocale(LC_ALL, 'hu_HU.utf8');
|
||||
|
||||
|
||||
?>
|
||||
|
||||
<head>
|
||||
<style>
|
||||
* {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
body {
|
||||
margin: 0px;
|
||||
}
|
||||
a:link {
|
||||
text-decoration: none;
|
||||
}
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
td.create {
|
||||
padding: 15px 0px;
|
||||
}
|
||||
td.create a {
|
||||
line-height: 18px;
|
||||
font-size: 18px;
|
||||
}
|
||||
.name_tag {
|
||||
width: 200px;
|
||||
text-align: left;
|
||||
padding: 10px 0px 10px 10px;
|
||||
margin: 5px;
|
||||
background-color: #e2edff;
|
||||
cursor: pointer;
|
||||
}
|
||||
.name_tag_checked {
|
||||
width: 200px;
|
||||
text-align: left;
|
||||
padding: 10px 0px 10px 10px;
|
||||
margin: 5px;
|
||||
background-color: #1eea0b;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
</style>
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
|
||||
|
||||
@@ -51,8 +22,11 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/_css/form.css">
|
||||
<link rel="stylesheet" type="text/css" href="/_css/default.css">
|
||||
<link rel="stylesheet" type="text/css" href="/_css/nav.css">
|
||||
<link rel="stylesheet" type="text/css" href="/_css/form.css">
|
||||
<link rel="stylesheet" type="text/css" href="/_css/button.css">
|
||||
<link rel="stylesheet" type="text/css" href="/_css/addbutton.css">
|
||||
|
||||
<title>Badminton Coach v 0.1</title>
|
||||
<?php
|
||||
@@ -63,13 +37,17 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="pageContainer">
|
||||
<nav>
|
||||
<?= $page->get_page_nav();?>
|
||||
</nav>
|
||||
<main>
|
||||
<?= $page->get_page_content();?>
|
||||
<div id="main_content">
|
||||
<?= $page->get_page_content();?>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<footer></footer>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
197
php_errors.log
Normal file
@@ -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
|
||||
@@ -1,3 +0,0 @@
|
||||
<?php
|
||||
phpinfo();
|
||||
?>
|
||||
18
template/templates/city_create.tpl
Normal file
@@ -0,0 +1,18 @@
|
||||
<div class="form_wrapper">
|
||||
<form method="post">
|
||||
<input type="hidden" name="action" value="city_create">
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title1" for="scc_city">Új település neve:</label>
|
||||
<div><input type="text" name="scc_city" id="scc_city" required></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div>
|
||||
<div>
|
||||
<input class="button black" type="submit" value="Létrehozás">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
23
template/templates/city_list.tpl
Normal file
@@ -0,0 +1,23 @@
|
||||
<div class="form_wrapper">
|
||||
<form method="post">
|
||||
<input type="hidden" name="action" value="city_update">
|
||||
<div class="buttons">
|
||||
<a href="/admin/create/city" class="addbutton add-big">Új település hozzáadása</a>
|
||||
</div>
|
||||
{foreach $scc_assoc_array as $scc}
|
||||
<div>
|
||||
<div style="float: left;">
|
||||
<input type="text" name="scc_{$scc.scc_id}" id="scc_{$scc.scc_id}" value="{$scc.scc_city}">
|
||||
<a href="/admin/delete_city/{$scc.scc_id}" class="addbutton delete">Törlés</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{/foreach}
|
||||
<div>
|
||||
<div style="float: left;">
|
||||
<input class="button black" type="submit" value="Mentés">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
44
template/templates/coach_create.tpl
Normal file
@@ -0,0 +1,44 @@
|
||||
<div class="form_wrapper">
|
||||
<form method="post">
|
||||
<input type="hidden" name="action" value="coach_create">
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title1" for="ua_name">Név:</label>
|
||||
<div><input type="text" name="ua_name" id="ua_name" required></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title1" for="ua_email">Email cím:</label>
|
||||
<div><input type="text" name="ua_email" id="ua_email" required></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title1" for="ua_can_login">Be tud lépni:</label>
|
||||
<div><input type="checkbox" name="ua_can_login" id="ua_can_login"></div>
|
||||
</div>
|
||||
|
||||
<div id="password">
|
||||
<label class="desc" id="title1" for="ua_password">Jelszó:</label>
|
||||
<div><input type="text" name="ua_password" id="ua_password"></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div>
|
||||
<input class="button black" type="submit" value="Létrehozás">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
$( document ).ready(function() {
|
||||
$("#password").hide();
|
||||
});
|
||||
|
||||
$('#ua_can_login').click(function() {
|
||||
$("#password").toggle(this.checked);
|
||||
});
|
||||
|
||||
</script>
|
||||
49
template/templates/coach_data_edit.tpl
Normal file
@@ -0,0 +1,49 @@
|
||||
<div class="form_wrapper">
|
||||
<form method="post">
|
||||
<div class="buttons">
|
||||
<a href="/admin/delete_coach/{$user_data.ua_id}" class="addbutton delete-big">Edző törlése</a>
|
||||
</div>
|
||||
<input type="hidden" name="action" value="coach_data_edit">
|
||||
<input type="hidden" name="ua_id" value="{$user_data.ua_id}">
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title1" for="ua_name">Név:</label>
|
||||
<div><input type="text" name="ua_name" id="ua_name" value="{$user_data.ua_name}" required></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title1" for="ua_email">Email cím:</label>
|
||||
<div><input type="text" name="ua_email" id="ua_email" value="{$user_data.ua_email}" required></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title1" for="ua_can_login">Be tud lépni:</label>
|
||||
<div><input type="checkbox" name="ua_can_login" id="ua_can_login" {if $user_data.ua_password != ''}checked{/if}></div>
|
||||
</div>
|
||||
|
||||
<div id="password">
|
||||
<label class="desc" id="title1" for="ua_password">Új jelszó:</label>
|
||||
<div><input type="text" name="ua_password" id="ua_password"></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div>
|
||||
<input class="button black" type="submit" value="Mentés">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
$( document ).ready(function() {
|
||||
//
|
||||
if (!$('#ua_can_login').attr('checked')) $("#password").hide();
|
||||
});
|
||||
|
||||
$('#ua_can_login').click(function() {
|
||||
$("#password").toggle(this.checked);
|
||||
});
|
||||
|
||||
</script>
|
||||
18
template/templates/coach_list.tpl
Normal file
@@ -0,0 +1,18 @@
|
||||
<div class="buttons">
|
||||
|
||||
<a href="/admin/create/coach" class="addbutton add-big">Új edző hozzáadása</a>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="list">
|
||||
{foreach $user_array as $user}
|
||||
<a href="/admin/coaches/{$user->get_ua_id()}">
|
||||
<div class="list_item">
|
||||
<img src="/_image/coach.png">
|
||||
{$user->get_ua_name()}
|
||||
</div>
|
||||
</a>
|
||||
{/foreach}
|
||||
|
||||
</div>
|
||||
|
||||
@@ -1,17 +1,22 @@
|
||||
<div class="form_wrapper">
|
||||
<form method="post">
|
||||
<input type="hidden" name="action" id="action" value="login">
|
||||
<input type="hidden" name="user_type" id="user_type" value="1">
|
||||
<table>
|
||||
<tr>
|
||||
<td>Felhasználónév:</td>
|
||||
<td><input type="text" name="user_name" id="user_name"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jelszó:</td>
|
||||
<td><input type="password" name="user_password" id="user_password"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><input type="submit" value="Belépés"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div>
|
||||
<label class="desc" id="title1" for="user_name">Név:</label>
|
||||
<div><input type="text" name="user_name" id="user_name" required></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title1" for="user_password">Jelszó:</label>
|
||||
<div><input type="password" name="user_password" id="user_password" required></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div>
|
||||
<input class="button black" type="submit" value="Belépés">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
@@ -1,10 +1,19 @@
|
||||
<ul class="topnav" id="myTopnav">
|
||||
{if $can_logout}
|
||||
<li class="icon">
|
||||
<a href="javascript:void(0);" style="font-size:15px;" onclick="myFunction()">Menü ☰</a>
|
||||
</li>
|
||||
<li><a href="/admin/members">Tagok</a></li>
|
||||
<li><a href="/admin/trainings">Edzések</a></li>
|
||||
<li><a href="/admin/presence">Jelenlét</a></li>
|
||||
<li><a href="/admin/coaches">Edzők</a></li>
|
||||
|
||||
{else}
|
||||
|
||||
<li><a href="#">Bejelentkezés</a></li>
|
||||
{/if}
|
||||
|
||||
{if $can_logout}<li style="float: right;"><a href="/admin/logout">Kijelentkezés</a></li>{/if}
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
@@ -1,42 +1,32 @@
|
||||
<form method="post">
|
||||
<input type="hidden" name="action" value="parent_create">
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
Név:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="up_name">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
E-mail cím:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="up_email">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Telefonszám:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="up_phone">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Facebook:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="up_facebook">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<input type="submit" value="Létrehozás">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<div class="form_wrapper">
|
||||
<form method="post">
|
||||
<input type="hidden" name="action" value="parent_create">
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title1" for="up_name">Név:</label>
|
||||
<div><input type="text" name="up_name" id="up_name" required></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title1" for="up_email">Email cím:</label>
|
||||
<div><input type="text" name="up_email" id="up_email"></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title1" for="up_phone">Telefonszám:</label>
|
||||
<div><input type="text" name="up_phone" id="up_phone"></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title1" for="up_phone">Facebook:</label>
|
||||
<div><input type="text" name="up_phone" id="up_phone"></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div>
|
||||
<input class="button black" type="submit" value="Létrehozás">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
@@ -1,46 +1,37 @@
|
||||
<div class="form_wrapper">
|
||||
<form method="post">
|
||||
<input type="hidden" name="action" value="parent_data_update">
|
||||
<input type="hidden" name="up_id" value="{$parent->get_up_id()}">
|
||||
<table>
|
||||
<tr>
|
||||
<td colspan="2"><a href="/admin/delete_parent/{$parent->get_up_id()}">TÖRLÉS</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Név:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="up_name" value="{$parent->get_up_name()}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
E-mail cím:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="up_email" value="{$parent->get_up_email()}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Telefonszám:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="up_phone" value="{$parent->get_up_phone()}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
Facebook:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="up_facebook" value="{$parent->get_up_facebook()}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<input type="submit" value="Mentés">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="buttons">
|
||||
<a href="/admin/delete_parent/{$parent->get_up_id()}" class="addbutton delete-big">Törlés</a>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title1" for="up_name">Név:</label>
|
||||
<div><input type="text" name="up_name" id="up_name" value="{$parent->get_up_name()}" required></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title1" for="up_email">Email cím:</label>
|
||||
<div><input type="text" name="up_email" id="up_email" value="{$parent->get_up_email()}"></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title1" for="up_phone">Telefonszám:</label>
|
||||
<div><input type="text" name="up_phone" id="up_phone" value="{$parent->get_up_phone()}"></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title1" for="up_facebook">Facebook:</label>
|
||||
<div><input type="text" name="up_facebook" id="up_facebook" value="{$parent->get_up_facebook()}"></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div>
|
||||
<input class="button black" type="submit" value="Mentés">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</form>
|
||||
</div>
|
||||
@@ -1,17 +1,18 @@
|
||||
<table>
|
||||
<div class="buttons">
|
||||
|
||||
<tr>
|
||||
<td class="create"><a href="/admin/create/parent">+ Új szülő hozzádása</a></td>
|
||||
</tr>
|
||||
<a href="/admin/create/parent" class="addbutton add-big">Új szülő hozzádása</a>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="list">
|
||||
{foreach $parent_array as $parent}
|
||||
<tr>
|
||||
<td>
|
||||
<a href="/admin/parents/{$parent->get_up_id()}">
|
||||
{$parent->get_up_name()}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
<a href="/admin/parents/{$parent->get_up_id()}">
|
||||
<div class="list_item">
|
||||
<img src="/_image/shuttlecock.png">
|
||||
{$parent->get_up_name()}
|
||||
</div>
|
||||
|
||||
</table>
|
||||
</a>
|
||||
{/foreach}
|
||||
</div>
|
||||
@@ -1,49 +1,81 @@
|
||||
<h1>Jelenlét kezelése</h1>
|
||||
<div class="list">
|
||||
<div class="list_item">
|
||||
<label class="desc" id="title1" for="tr_date">
|
||||
<img src="/_image/training.png">
|
||||
Dátum:
|
||||
</label>
|
||||
<div>{$training->get_tr_date(true)}</div>
|
||||
</div>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td>Edzés dátuma:</td>
|
||||
<td>
|
||||
{$training->get_tr_date()|substr:0:-3}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Típus: </td>
|
||||
<td>{$training->get_tr_type_name_by_id()}</td>
|
||||
<tr>
|
||||
<td>Edző(k):</td>
|
||||
<td>
|
||||
{foreach $trc_coaches as $coach}
|
||||
{$coach->get_ua_name()}<br>
|
||||
{/foreach}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Létszám:</td>
|
||||
<td>
|
||||
<div id="headcount">
|
||||
{$headcount}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="list_item">
|
||||
<label class="desc" id="title2" for="tr_training_type_trt_id">
|
||||
<img src="/_image/tipus.png">
|
||||
Típus:
|
||||
</label>
|
||||
<div>
|
||||
{$training->get_tr_type_name_by_id()}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<input type="hidden" id="tr_id" value="{$tr_id}">
|
||||
|
||||
{foreach $users as $user}
|
||||
|
||||
<div class="{if $user->get_uk_presence($tr_id)}name_tag_checked{else}name_tag{/if}" id="{$user->get_uk_id()}">{$user->get_uk_name()}</div>
|
||||
<div class="list_item">
|
||||
<label class="desc" id="title1" for="tr_duration">
|
||||
<img src="/_image/time.png">
|
||||
Időtartam:
|
||||
</label>
|
||||
<div>{$training->get_tr_duration()} perc</div>
|
||||
</div>
|
||||
|
||||
{if $trc_coaches}
|
||||
<div class="list_item">
|
||||
<label class="desc" id="title1" for="coaches">
|
||||
<img src="/_image/coach.png">
|
||||
Edző(k):
|
||||
</label>
|
||||
<div>
|
||||
{foreach $trc_coaches as $coach}
|
||||
{$coach->get_ua_name()}<br>
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<br><br>
|
||||
<div class="list_item">
|
||||
<label class="desc" id="title1" for="tr_headcount">
|
||||
<img src="/_image/letszam.png">
|
||||
Létszám:
|
||||
</label>
|
||||
<div id="headcount">
|
||||
{$headcount} fő
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{foreach $rest_users as $rest_user}
|
||||
|
||||
<div class="{if $rest_user->get_uk_presence($tr_id)}name_tag_checked{else}name_tag{/if}" id="{$rest_user->get_uk_id()}">{$rest_user->get_uk_name()}</div>
|
||||
|
||||
{/foreach}
|
||||
<input type="hidden" id="tr_id" value="{$tr_id}">
|
||||
|
||||
<br><br><br>
|
||||
|
||||
<div class="list">
|
||||
{foreach $users as $user}
|
||||
|
||||
<div class="{if $user->get_uk_presence($tr_id)}name_tag_checked{else}name_tag{/if}" id="{$user->get_uk_id()}">
|
||||
<img src="/_image/shuttlecock.png">
|
||||
<div>{$user->get_uk_name()}</div>
|
||||
</div>
|
||||
|
||||
{/foreach}
|
||||
</div>
|
||||
|
||||
<br><br>
|
||||
|
||||
<div class="list">
|
||||
{foreach $rest_users as $rest_user}
|
||||
<div class="{if $rest_user->get_uk_presence($tr_id)}name_tag_checked{else}name_tag{/if}" id="{$rest_user->get_uk_id()}">
|
||||
<img src="/_image/shuttlecock.png">
|
||||
<div>{$rest_user->get_uk_name()}</div>
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
@@ -62,14 +94,14 @@ $('.name_tag').click(function() {
|
||||
$(this).css('backgroundColor', '#1eea0b');
|
||||
var el = $('#headcount');
|
||||
var num = parseInt(el.text());
|
||||
el.text(num+1);
|
||||
el.text(num+1).append(" fő");
|
||||
|
||||
}
|
||||
else {
|
||||
$(this).css('backgroundColor', '#e2edff');
|
||||
var el = $('#headcount');
|
||||
var num = parseInt(el.text());
|
||||
el.text(num-1);
|
||||
el.text(num-1).append(" fő");
|
||||
}
|
||||
//alert(checked);
|
||||
|
||||
@@ -96,14 +128,14 @@ $('.name_tag_checked').click(function() {
|
||||
$(this).css('backgroundColor', '#1eea0b');
|
||||
var el = $('#headcount');
|
||||
var num = parseInt(el.text());
|
||||
el.text(num+1);
|
||||
el.text(num+1).append(" fő");
|
||||
|
||||
}
|
||||
else {
|
||||
$(this).css('backgroundColor', '#e2edff');
|
||||
var el = $('#headcount');
|
||||
var num = parseInt(el.text());
|
||||
el.text(num-1);
|
||||
el.text(num-1).append(" fő");
|
||||
}
|
||||
//alert(checked);
|
||||
|
||||
|
||||
@@ -1,18 +1,23 @@
|
||||
<h1>Jelenlét</h1>
|
||||
|
||||
<table>
|
||||
|
||||
|
||||
<div class="list">
|
||||
|
||||
{foreach $training_array as $training}
|
||||
<tr>
|
||||
<td>
|
||||
<a href="/admin/{if $edit=='edit'}edit_training{elseif $edit=='view'}trainings{else}presence{/if}/{$training->get_tr_id()}">
|
||||
{$training->get_tr_date()|substr:0:-3} ({$training->get_tr_type_name_by_id()})
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
{if
|
||||
$training@first ||
|
||||
(
|
||||
$training_array[$training@index]->get_tr_date()|substr:5:2 != $training_array[$training@index-1]->get_tr_date()|substr:5:2
|
||||
)
|
||||
|
||||
}
|
||||
<span class="date_separator">{$training_array[$training@index]->get_tr_date()|substr:0:4}. {$months[$training_array[$training@index]->get_tr_date()|substr:5:2]}</span>
|
||||
{/if}
|
||||
<a href="/admin/{if $edit=='edit'}edit_training{elseif $edit=='view'}trainings{else}presence{/if}/{$training->get_tr_id()}">
|
||||
<div class="list_item">
|
||||
<img src="/_image/training.png">
|
||||
{$training->get_tr_date(true)} ({$training->get_tr_type_name_by_id()})
|
||||
</div>
|
||||
</a>
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
</div>
|
||||
23
template/templates/shirt_create.tpl
Normal file
@@ -0,0 +1,23 @@
|
||||
<div class="form_wrapper">
|
||||
<form method="post">
|
||||
<input type="hidden" name="action" value="shirt_create">
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title1" for="shirt_name">Póló típus neve:</label>
|
||||
<div><input type="text" name="shirt_name" id="shirt_name" required></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title1" for="shirt_year">Év:</label>
|
||||
<div><input type="text" name="shirt_year" id="shirt_year"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div>
|
||||
<div>
|
||||
<input class="button black" type="submit" value="Létrehozás">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
27
template/templates/shirt_data_edit.tpl
Normal file
@@ -0,0 +1,27 @@
|
||||
<div class="form_wrapper">
|
||||
<form method="post">
|
||||
<div class="buttons">
|
||||
<a href="/admin/delete_shirt/{$shirt_array.shirt_id}" class="addbutton delete-big">Póló törlése</a>
|
||||
</div>
|
||||
<input type="hidden" name="action" value="shirt_data_edit">
|
||||
<input type="hidden" name="shirt_id" value="{$shirt_array.shirt_id}">
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title1" for="shirt_name">Póló típus neve:</label>
|
||||
<div><input type="text" name="shirt_name" id="shirt_name" value="{$shirt_array.shirt_name}" required></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title1" for="shirt_year">Év:</label>
|
||||
<div><input type="text" name="shirt_year" id="shirt_year" value="{$shirt_array.shirt_year}"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div>
|
||||
<div>
|
||||
<input class="button black" type="submit" value="Létrehozás">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
18
template/templates/shirt_list.tpl
Normal file
@@ -0,0 +1,18 @@
|
||||
<div class="buttons">
|
||||
|
||||
<a href="/admin/create/shirt" class="addbutton add-big">Új póló hozzáadása</a>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="list">
|
||||
{foreach $shirt_assoc_array as $shirt}
|
||||
<a href="/admin/shirts/{$shirt.shirt_id}">
|
||||
<div class="list_item">
|
||||
<img src="/_image/shirt.png">
|
||||
{$shirt.shirt_name} {if $shirt.shirt_year}({$shirt.shirt_year}){/if}
|
||||
</div>
|
||||
</a>
|
||||
{/foreach}
|
||||
|
||||
</div>
|
||||
|
||||
@@ -1,18 +1,17 @@
|
||||
<form method="post">
|
||||
<input type="hidden" name="action" id="action" value="training_data_create">
|
||||
<table>
|
||||
<div class="form_wrapper">
|
||||
<form method="post">
|
||||
<input type="hidden" name="action" id="action" value="training_data_create">
|
||||
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title1" for="tr_date">Dátum:</label>
|
||||
<div><input type="text" name="tr_date" id="tr_date" title="ÉÉÉÉ-HH-NN ÓÓ:PP" placeholder="ÉÉÉÉ-HH-NN ÓÓ:PP" required></div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Dátum: </td>
|
||||
<td>
|
||||
<input type="text" id="tr_date" name="tr_date">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Típus: </td>
|
||||
<td>
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title2" for="tr_training_type_trt_id">Típus:</label>
|
||||
<div>
|
||||
<select name="tr_training_type_trt_id" id="tr_training_type_trt_id">
|
||||
<option value="null"> - </option>
|
||||
{foreach $training_type_assoc_array as $training_type_array}
|
||||
@@ -21,30 +20,34 @@
|
||||
</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Edzés időtartama: </td>
|
||||
<td>
|
||||
<input type="text" id="tr_duration" name="tr_duration" size="3">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Minden héten ebben az időpontban</td>
|
||||
<td><input type="checkbox" name="every_week"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Edző(k): </td>
|
||||
<td>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title1" for="tr_duration">Időtartam (perc):</label>
|
||||
<div><input type="text" name="tr_duration" id="tr_duration" required></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title1" for="every_week">Minden héten ebben az időpontban: (az adott hónapban)</label>
|
||||
<div><input type="checkbox" name="every_week" id="every_week" value="1"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title1" for="coaches">Edző(k):</label>
|
||||
{foreach $coach_array as $coach}
|
||||
<input type="checkbox" name="coaches[]" value="{$coach->get_ua_id()}">{$coach->get_ua_name()} <br>
|
||||
<div>
|
||||
<input type="checkbox" name="coaches[]" value="{$coach->get_ua_id()}">{$coach->get_ua_name()}
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><input type="submit" value="Létrehozás"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<div>
|
||||
<div>
|
||||
<input class="button black" type="submit" value="Létrehozás">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
@@ -1,21 +1,19 @@
|
||||
<form method="post">
|
||||
<input type="hidden" name="action" id="action" value="training_data_edit">
|
||||
<input type="hidden" name="tr_id" id="tr_id" value="{$training_data.tr_id}">
|
||||
<table>
|
||||
<tr>
|
||||
<td colspan="2"><a href="/admin/trainings/{$training_data.tr_id}">MEGTEKINTÉS</a></td>
|
||||
</tr>
|
||||
<div class="form_wrapper">
|
||||
<form method="post">
|
||||
<div class="buttons">
|
||||
<a href="/admin/delete_training/{$training_data.tr_id}" class="addbutton delete-big">Törlés</a>
|
||||
</div>
|
||||
<input type="hidden" name="action" id="action" value="training_data_edit">
|
||||
<input type="hidden" name="tr_id" id="tr_id" value="{$training_data.tr_id}">
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title1" for="tr_date">Dátum:</label>
|
||||
<div><input type="text" name="tr_date" id="tr_date" value="{$training_data.tr_date|substr:0:-3}" required></div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Dátum: </td>
|
||||
<td>
|
||||
<input type="text" id="tr_date" name="tr_date" value="{$training_data.tr_date}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Típus: </td>
|
||||
<td>
|
||||
<div>
|
||||
<label class="desc" id="title2" for="tr_training_type_trt_id">Típus:</label>
|
||||
<div>
|
||||
<select name="tr_training_type_trt_id" id="tr_training_type_trt_id">
|
||||
<option value="null"> - </option>
|
||||
{foreach $training_type_assoc_array as $training_type_array}
|
||||
@@ -24,25 +22,28 @@
|
||||
</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Edzés időtartama: </td>
|
||||
<td>
|
||||
<input type="text" id="tr_duration" name="tr_duration" size="3" value="{$training_data.tr_duration}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Edző(k): </td>
|
||||
<td>
|
||||
{foreach $coach_array as $coach}
|
||||
<input type="checkbox" name="coaches[]" value="{$coach->get_ua_id()}"{if $coach->is_coach_at_training($tr_id)} checked{/if}>
|
||||
{$coach->get_ua_name()}<br>
|
||||
{/foreach}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><input type="submit" value="Mentés"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title1" for="tr_duration">Időtartam (perc):</label>
|
||||
<div><input type="text" name="tr_duration" id="tr_duration" value="{$training_data.tr_duration}" required></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title1" for="coaches">Edző(k):</label>
|
||||
{foreach $coach_array as $coach}
|
||||
<div>
|
||||
<input type="checkbox" name="coaches[]" value="{$coach->get_ua_id()}"{if $coach->is_coach_at_training($tr_id)} checked{/if}>{$coach->get_ua_name()}
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div>
|
||||
<input class="button black" type="submit" value="Mentés">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
@@ -1,19 +1,25 @@
|
||||
<table>
|
||||
|
||||
<tr>
|
||||
<td class="create"><a href="/admin/create/training">+ Új edzés hozzáadása</a></td>
|
||||
<td class="create"><a href="/admin/training_types">+ Edzés típusok szerkesztése</a></td>
|
||||
</tr>
|
||||
<div class="buttons">
|
||||
<a href="/admin/create/training" class="addbutton add-big">Új edzés hozzáadása</a>
|
||||
<a href="/admin/training_types" class="addbutton add-big">Edzés típusok szerkesztése</a>
|
||||
</div>
|
||||
|
||||
<div class="list">
|
||||
{foreach $training_array as $training}
|
||||
<tr>
|
||||
<td>
|
||||
<a href="/admin/{if $edit=='edit'}edit_training{elseif $edit=='view'}trainings{else}presence{/if}/{$training->get_tr_id()}">
|
||||
{$training->get_tr_date()|substr:0:-3} ({$training->get_tr_type_name_by_id()})
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
{if
|
||||
$training@first ||
|
||||
(
|
||||
$training_array[$training@index]->get_tr_date()|substr:5:2 != $training_array[$training@index-1]->get_tr_date()|substr:5:2
|
||||
)
|
||||
|
||||
}
|
||||
<span class="date_separator">{$training_array[$training@index]->get_tr_date()|substr:0:4}. {$months[$training_array[$training@index]->get_tr_date()|substr:5:2]}</span>
|
||||
{/if}
|
||||
<a href="/admin/{if $edit=='edit'}edit_training{elseif $edit=='view'}trainings{else}presence{/if}/{$training->get_tr_id()}">
|
||||
<div class="list_item">
|
||||
<img src="/_image/training.png">
|
||||
{$training->get_tr_date(true)} ({$training->get_tr_type_name_by_id()})
|
||||
</div>
|
||||
</a>
|
||||
{/foreach}
|
||||
|
||||
</table>
|
||||
</div>
|
||||
@@ -1,18 +1,18 @@
|
||||
<form method="post">
|
||||
<input type="hidden" name="action" value="training_type_create">
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
Új edzés típus neve:
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="trt_name">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<input type="submit" value="Létrehozás">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<div class="form_wrapper">
|
||||
<form method="post">
|
||||
<input type="hidden" name="action" value="training_type_create">
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title1" for="trt_name">Új edzés típus neve:</label>
|
||||
<div><input type="text" name="trt_name" id="trt_name" required></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div>
|
||||
<div>
|
||||
<input class="button black" type="submit" value="Létrehozás">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
@@ -1,25 +1,23 @@
|
||||
<form method="post">
|
||||
<input type="hidden" name="action" value="training_type_update">
|
||||
<table>
|
||||
<div class="form_wrapper">
|
||||
<form method="post">
|
||||
<input type="hidden" name="action" value="training_type_update">
|
||||
<div class="buttons">
|
||||
<a href="/admin/create/training_type" class="addbutton add-big">Új edzés típus hozzáadása</a>
|
||||
</div>
|
||||
{foreach $tr_type_assoc_array as $tr_type}
|
||||
<div>
|
||||
<div style="float: left;">
|
||||
<input type="text" name="trt_{$tr_type.trt_id}" id="trt_{$tr_type.trt_id}" value="{$tr_type.trt_name}">
|
||||
<a href="/admin/delete_training_type/{$tr_type.trt_id}" class="addbutton delete">Törlés</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td class="create"><a href="/admin/create/training_type">+ Új edzés típus hozzáadása</a></td>
|
||||
</tr>
|
||||
|
||||
{foreach $tr_type_assoc_array as $tr_type}
|
||||
<tr>
|
||||
<td>
|
||||
<input name="trt_{$tr_type.trt_id}" type="text" value="{$tr_type.trt_name}">
|
||||
</td>
|
||||
<td>
|
||||
<a href="/admin/delete_training_type/{$tr_type.trt_id}">Törlés</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<input type="submit" value="Mentés">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
{/foreach}
|
||||
<div>
|
||||
<div style="float: left;">
|
||||
<input class="button black" type="submit" value="Mentés">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
@@ -1,86 +1,91 @@
|
||||
<div class="form_wrapper">
|
||||
<form method="post">
|
||||
<input type="hidden" name="action" id="action" value="user_data_create">
|
||||
<table>
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_name">Név:</label>
|
||||
<div><input type="text" name="uk_name" id="uk_name" size="8" class="field text fn" required></div>
|
||||
</div>
|
||||
|
||||
|
||||
<tr>
|
||||
<td>Név: </td>
|
||||
<td><input type="text" name="uk_name" id="uk_name"></td>
|
||||
</tr>
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_is_active">Aktív:</label>
|
||||
<div><input type="checkbox" name="uk_is_active" id="uk_is_active" value="1" checked></div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Aktív: </td>
|
||||
<td><input type="checkbox" name="uk_is_active" id="uk_is_active" value="1" checked></td>
|
||||
</tr>
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_last_modified">Utolsó módosítás dátuma:</label>
|
||||
<div><input type="text" name="uk_last_modified" id="uk_last_modified" value="{$today}"></div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Utolsó módosítás dátuma: </td>
|
||||
<td><input type="text" name="uk_last_modified" id="uk_last_modified" value="{$today}"></td>
|
||||
</tr>
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_password">Jelszó:</label>
|
||||
<div><input type="text" name="uk_password" id="uk_password"></div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Jelszó: </td>
|
||||
<td><input type="text" name="uk_password" id="uk_password"></td>
|
||||
</tr>
|
||||
<div>
|
||||
<legend class="desc" id="title1" for="uk_gender">Nem: </legend>
|
||||
<div>
|
||||
<input id="r_01" type="radio" name="uk_gender" value="1" checked>
|
||||
<label class="choice" for="r_01">Fiú</label>
|
||||
</div>
|
||||
<div>
|
||||
<input id="r_02" type="radio" name="uk_gender" value="2">
|
||||
<label class="choice" for="r_02">Lány</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Nem: </td>
|
||||
<td>
|
||||
<input type="radio" name="uk_gender" value="1" checked>Fiú
|
||||
|
||||
<input type="radio" name="uk_gender" value="2">Lány
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_birth_date">Születési dátum:</label>
|
||||
<div><input type="text" name="uk_birth_date" id="uk_birth_date"></div>
|
||||
</div>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_birth_year">Születési év:</label>
|
||||
<div><input type="text" name="uk_birth_year" id="uk_birth_year"></div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Születési dátum: </td>
|
||||
<td><input type="text" name="uk_birth_date" id="uk_birth_date"></td>
|
||||
</tr>
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_address">Lakcím:</label>
|
||||
<div><input type="text" name="uk_address" id="uk_address"></div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Születési év: </td>
|
||||
<td><input type="text" name="uk_birth_year" id="uk_birth_year"></td>
|
||||
</tr>
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_first_training">Első edzés dátuma:</label>
|
||||
<div><input type="text" name="uk_first_training" id="uk_first_training"></div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Lakcím: </td>
|
||||
<td><input type="text" name="uk_address" id="uk_address"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Első edzés dátuma: </td>
|
||||
<td><input type="text" name="uk_first_training" id="uk_first_training"></td>
|
||||
</tr>
|
||||
<div>
|
||||
<legend class="desc" id="title1" for="uk_hand">Kéz: </legend>
|
||||
<div>
|
||||
<input id="r_03" type="radio" name="uk_hand" value="1">
|
||||
<label class="choice" for="r_03">Bal</label>
|
||||
</div>
|
||||
<div>
|
||||
<input id="r_04" type="radio" name="uk_hand" value="2" checked>
|
||||
<label class="choice" for="r_04">Jobb</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Kéz: </td>
|
||||
<td>
|
||||
<input type="radio" name="uk_hand" value="1" checked>Balkezes
|
||||
|
||||
<input type="radio" name="uk_hand" value="2">Jobbkezes
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_email">Email cím:</label>
|
||||
<div><input type="email" name="uk_email" id="uk_email"></div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Email cím: </td>
|
||||
<td><input type="text" name="uk_email" id="uk_email"></td>
|
||||
</tr>
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_phone">Telefonszám:</label>
|
||||
<div><input type="text" name="uk_phone" id="uk_phone"></div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Telefonszám: </td>
|
||||
<td><input type="text" name="uk_phone" id="uk_phone"></td>
|
||||
</tr>
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_facebook">Facebook:</label>
|
||||
<div><input type="text" name="uk_facebook" id="uk_facebook"></div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Facebook: </td>
|
||||
<td><input type="text" name="uk_facebook" id="uk_facebook"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Iskola neve: </td>
|
||||
<td>
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_school_sc_id">Iskola neve:</label>
|
||||
<div>
|
||||
<select name="uk_school_sc_id" id="uk_school_sc_id">
|
||||
<option value="null"> - </option>
|
||||
{foreach $school_assoc_array as $school_array}
|
||||
@@ -89,13 +94,12 @@
|
||||
</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
<input type="text" name="add_school" id="add_school">
|
||||
</td>
|
||||
</tr>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Iskola települése: </td>
|
||||
<td>
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_school_city_scc_id">Iskola települése:</label>
|
||||
<div>
|
||||
<select name="uk_school_city_scc_id" id="uk_school_city_scc_id">
|
||||
<option value="null"> - </option>
|
||||
{foreach $school_city_assoc_array as $school_city_array}
|
||||
@@ -104,17 +108,22 @@
|
||||
</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Iskola kerülete: </td>
|
||||
<td><input type="text" name="uk_school_district" id="uk_school_district" value="0"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Pólóméret: </td>
|
||||
<td>
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_school_district">Iskola kerülete:</label>
|
||||
<div><input type="text" name="uk_school_district" id="uk_school_district" value="0"></div>
|
||||
</div>
|
||||
<div>
|
||||
<label class="desc" id="title1" for="add_school">Új iskola felvétele:</label>
|
||||
<div><input type="text" name="add_school" id="add_school"></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_shirt_size_ss_id">Pólóméret:</label>
|
||||
<div>
|
||||
<select name="uk_shirt_size_ss_id" id="uk_shirt_size_ss_id">
|
||||
<option value="null"> - </option>
|
||||
{foreach $shirt_size_assoc_array as $shirt_size_array}
|
||||
@@ -123,12 +132,12 @@
|
||||
</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Szülő1: </td>
|
||||
<td>
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_parent_1">Szülő1:</label>
|
||||
<div>
|
||||
<select name="uk_parent_1" id="uk_parent_1">
|
||||
<option value="null"> - </option>
|
||||
{foreach $parent_assoc_array as $parent_array}
|
||||
@@ -137,28 +146,32 @@
|
||||
</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
<input type="text" name="add_parent_1" id="add_parent_1">
|
||||
</td>
|
||||
</tr>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Szülő1 email cím: </td>
|
||||
<td><input type="text" name="parent_1_email" id="parent_1_email"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Szülő1 facebook: </td>
|
||||
<td><input type="text" name="parent_1_facebook" id="parent_1_facebook"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Szülő1 telefonszám: </td>
|
||||
<td><input type="text" name="parent_1_phone" id="parent_1_phone"></td>
|
||||
</tr>
|
||||
<div class="add_parent_1_block">
|
||||
<label class="desc" id="title1" for="add_parent_1">Új szülő neve:</label>
|
||||
<div><input type="text" name="add_parent_1" id="add_parent_1"></div>
|
||||
</div>
|
||||
|
||||
<div class="add_parent_1_block">
|
||||
<label class="desc" id="title1" for="parent_1_email">Email címe:</label>
|
||||
<div><input type="text" name="parent_1_email" id="parent_1_email"></div>
|
||||
</div>
|
||||
|
||||
<div class="add_parent_1_block">
|
||||
<label class="desc" id="title1" for="parent_1_facebook">Facebook:</label>
|
||||
<div><input type="text" name="parent_1_facebook" id="parent_1_facebook"></div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Szülő2: </td>
|
||||
<td>
|
||||
<div class="add_parent_1_block">
|
||||
<label class="desc" id="title1" for="parent_1_phone">Telefonszám:</label>
|
||||
<div><input type="text" name="parent_1_phone" id="parent_1_phone"></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title2" for="uk_parent_2">Szülő2:</label>
|
||||
<div>
|
||||
<select name="uk_parent_2" id="uk_parent_2">
|
||||
<option value="null"> - </option>
|
||||
{foreach $parent_assoc_array as $parent_array}
|
||||
@@ -167,26 +180,50 @@
|
||||
</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
<input type="text" name="add_parent_2" id="add_parent_2">
|
||||
</td>
|
||||
</tr>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Szülő2 email cím: </td>
|
||||
<td><input type="text" name="parent_2_email" id="parent_2_email"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Szülő2 facebook: </td>
|
||||
<td><input type="text" name="parent_2_facebook" id="parent_2_facebook"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Szülő2 telefonszám: </td>
|
||||
<td><input type="text" name="parent_2_phone" id="parent_2_phone"></td>
|
||||
</tr>
|
||||
<div class="add_parent_2_block">
|
||||
<label class="desc" id="title2" for="add_parent_2">Új szülő neve:</label>
|
||||
<div><input type="text" name="add_parent_2" id="add_parent_2"></div>
|
||||
</div>
|
||||
|
||||
<div class="add_parent_2_block">
|
||||
<label class="desc" id="title2" for="parent_2_email">Email címe:</label>
|
||||
<div><input type="text" name="parent_2_email" id="parent_2_email"></div>
|
||||
</div>
|
||||
|
||||
<div class="add_parent_2_block">
|
||||
<label class="desc" id="title2" for="parent_2_facebook">Facebook:</label>
|
||||
<div><input type="text" name="parent_2_facebook" id="parent_2_facebook"></div>
|
||||
</div>
|
||||
|
||||
<div class="add_parent_2_block">
|
||||
<label class="desc" id="title2" for="parent_2_phone">Telefonszám:</label>
|
||||
<div><input type="text" name="parent_2_phone" id="parent_2_phone"></div>
|
||||
</div>
|
||||
|
||||
<br><br>
|
||||
|
||||
|
||||
<div>
|
||||
<div>
|
||||
<input class="button black" type="submit" value="Létrehozás">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td colspan="2"><input type="submit" value="Létrehozás"></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
|
||||
$('#uk_parent_1').change(function() {
|
||||
$(".add_parent_1_block").toggle(this.value == 'null');
|
||||
});
|
||||
|
||||
$('#uk_parent_2').change(function() {
|
||||
$(".add_parent_2_block").toggle(this.value == 'null');
|
||||
});
|
||||
|
||||
</script>
|
||||
@@ -1,86 +1,97 @@
|
||||
<div class="form_wrapper">
|
||||
<div class="buttons">
|
||||
<a href="/admin/delete_member/{$user_data.uk_id}" class="addbutton delete-big">Törlés</a>
|
||||
</div>
|
||||
<form method="post">
|
||||
<input type="hidden" name="action" id="action" value="user_data_edit">
|
||||
<input type="hidden" name="user_type" id="user_type" value="1">
|
||||
<input type="hidden" name="uk_id" id="uk_id" value="{$user_data.uk_id}">
|
||||
<table>
|
||||
<tr>
|
||||
<td><a href="/admin/members/{$user_data.uk_id}">MEGTEKINTÉS</a></td>
|
||||
<td><a href="/admin/delete_member/{$user_data.uk_id}">TÖRLÉS</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Név: </td>
|
||||
<td><input type="text" name="uk_name" id="uk_name" value="{$user_data.uk_name}"></td>
|
||||
</tr>
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_name">Név:</label>
|
||||
<div><input type="text" name="uk_name" id="uk_name" size="8" class="field text fn" value="{$user_data.uk_name}" required></div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Aktív: </td>
|
||||
<td><input type="checkbox" name="uk_is_active" id="uk_is_active" value="1" {if 1==$user_data.uk_is_active}checked{/if}></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Utolsó módosítás dátuma: </td>
|
||||
<td><input type="text" name="uk_last_modified" id="uk_last_modified" value="{$user_data.uk_last_modified}"></td>
|
||||
</tr>
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_is_active">Aktív:</label>
|
||||
<div><input type="checkbox" name="uk_is_active" id="uk_is_active" value="1" {if 1==$user_data.uk_is_active}checked{/if}></div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Jelszó: </td>
|
||||
<td><input type="text" name="uk_password" id="uk_password" value="{$user_data.uk_password}"></td>
|
||||
</tr>
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_last_modified">Utolsó módosítás dátuma:</label>
|
||||
<div><input type="text" name="uk_last_modified" id="uk_last_modified" value="{$user_data.uk_last_modified}"></div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Nem: </td>
|
||||
<td>
|
||||
<input type="radio" name="uk_gender" value="1" {if 1==$user_data.uk_gender}checked{/if}>Fiú
|
||||
|
||||
<input type="radio" name="uk_gender" value="2" {if 2==$user_data.uk_gender}checked{/if}>Lány
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_password">Jelszó:</label>
|
||||
<div><input type="text" name="uk_password" id="uk_password" value="{$user_data.uk_password}"></div>
|
||||
</div>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<div>
|
||||
<legend class="desc" id="title1" for="uk_gender">Nem: </legend>
|
||||
<div>
|
||||
<input id="r_01" type="radio" name="uk_gender" value="1" {if 1==$user_data.uk_gender}checked{/if}>
|
||||
<label class="choice" for="r_01">Fiú</label>
|
||||
</div>
|
||||
<div>
|
||||
<input id="r_02" type="radio" name="uk_gender" value="2" {if 2==$user_data.uk_gender}checked{/if}>
|
||||
<label class="choice" for="r_02">Lány</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Születési dátum: </td>
|
||||
<td><input type="text" name="uk_birth_date" id="uk_birth_date" value="{$user_data.uk_birth_date}"></td>
|
||||
</tr>
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_birth_date">Születési dátum:</label>
|
||||
<div><input type="text" name="uk_birth_date" id="uk_birth_date" value="{$user_data.uk_birth_date}"></div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Lakcím: </td>
|
||||
<td><input type="text" name="uk_address" id="uk_address" value="{$user_data.uk_address}"></td>
|
||||
</tr>
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_birth_year">Születési év:</label>
|
||||
<div><input type="text" name="uk_birth_year" id="uk_birth_year" value="{$user_data.uk_birth_year}"></div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Első edzés dátuma: </td>
|
||||
<td><input type="text" name="uk_first_training" id="uk_first_training" value="{$user_data.uk_first_training}"></td>
|
||||
</tr>
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_address">Lakcím:</label>
|
||||
<div><input type="text" name="uk_address" id="uk_address" value="{$user_data.uk_address}"></div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Kéz: </td>
|
||||
<td>
|
||||
<input type="radio" name="uk_hand" value="1" {if 1==$user_data.uk_hand}checked{/if}>Balkezes
|
||||
|
||||
<input type="radio" name="uk_hand" value="2" {if 2==$user_data.uk_hand}checked{/if}>Jobbkezes
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_first_training">Első edzés dátuma:</label>
|
||||
<div><input type="text" name="uk_first_training" id="uk_first_training" value="{$user_data.uk_first_training}"></div>
|
||||
</div>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Email cím: </td>
|
||||
<td><input type="text" name="uk_email" id="uk_email" value="{$user_data.uk_email}"></td>
|
||||
</tr>
|
||||
<div>
|
||||
<legend class="desc" id="title1" for="uk_hand">Kéz: </legend>
|
||||
<div>
|
||||
<input id="r_03" type="radio" name="uk_hand" value="1" {if 1==$user_data.uk_hand}checked{/if}>
|
||||
<label class="choice" for="r_03">Bal</label>
|
||||
</div>
|
||||
<div>
|
||||
<input id="r_04" type="radio" name="uk_hand" value="2" {if 2==$user_data.uk_hand}checked{/if}>
|
||||
<label class="choice" for="r_04">Jobb</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Telefonszám: </td>
|
||||
<td><input type="text" name="uk_phone" id="uk_phone" value="{$user_data.uk_phone}"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Facebook: </td>
|
||||
<td><input type="text" name="uk_facebook" id="uk_facebook" value="{$user_data.uk_facebook}"></td>
|
||||
</tr>
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_email">Email cím:</label>
|
||||
<div><input type="email" name="uk_email" id="uk_email" value="{$user_data.uk_email}"></div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Pólóméret: </td>
|
||||
<td>
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_phone">Telefonszám:</label>
|
||||
<div><input type="text" name="uk_phone" id="uk_phone" value="{$user_data.uk_phone}"></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_facebook">Facebook:</label>
|
||||
<div><input type="text" name="uk_facebook" id="uk_facebook" value="{$user_data.uk_facebook}"></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_shirt_size_ss_id">Pólóméret:</label>
|
||||
<div>
|
||||
<select name="uk_shirt_size_ss_id" id="uk_shirt_size_ss_id">
|
||||
<option value="null"> - </option>
|
||||
{foreach $shirt_size_assoc_array as $shirt_size_array}
|
||||
@@ -89,73 +100,144 @@
|
||||
</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Iskola neve: </td>
|
||||
<td>
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_school_sc_id">Iskola neve:</label>
|
||||
<div>
|
||||
<select name="uk_school_sc_id" id="uk_school_sc_id">
|
||||
<option value="null"> - </option>
|
||||
{foreach $school_assoc_array as $school_array}
|
||||
<option value="{$school_array.sc_id}" {if $school_array.sc_id == $user_data.uk_school_sc_id} selected{/if}>
|
||||
<option value="{$school_array.sc_id}"{if $school_array.sc_id == $user_data.uk_school_sc_id} selected{/if}>
|
||||
{$school_array.sc_name}
|
||||
</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Iskola települése: </td>
|
||||
<td>
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_school_city_scc_id">Iskola települése:</label>
|
||||
<div>
|
||||
<select name="uk_school_city_scc_id" id="uk_school_city_scc_id">
|
||||
<option value="null"> - </option>
|
||||
{foreach $school_city_assoc_array as $school_city_array}
|
||||
<option value="{$school_city_array.scc_id}" {if $school_city_array.scc_id == $user_data.uk_school_city_scc_id} selected{/if}>
|
||||
<option value="{$school_city_array.scc_id}"{if $school_city_array.scc_id == $user_data.uk_school_city_scc_id} selected{/if}>
|
||||
{$school_city_array.scc_city}
|
||||
</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Iskola kerülete: </td>
|
||||
<td><input type="text" name="uk_school_district" id="uk_school_district" value="{$user_data.uk_school_district}"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Szülő1: </td>
|
||||
<td>
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_school_district">Iskola kerülete:</label>
|
||||
<div><input type="text" name="uk_school_district" id="uk_school_district" value="{$user_data.uk_school_district}"></div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_parent_1">Szülő1:</label>
|
||||
<div>
|
||||
<select name="uk_parent_1" id="uk_parent_1">
|
||||
<option value="null"> - </option>
|
||||
<option value="null"> - (állítsd erre új szülő felvételéhez)</option>
|
||||
{foreach $parent_assoc_array as $parent_array}
|
||||
<option value="{$parent_array.up_id}"{if $parent_array.up_id == $user_data.uk_parent_1} selected{/if}>
|
||||
{$parent_array.up_name}
|
||||
</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Szülő2: </td>
|
||||
<td>
|
||||
<div class="add_parent_1_block">
|
||||
<label class="desc" id="title1" for="add_parent_1">Új szülő neve:</label>
|
||||
<div><input type="text" name="add_parent_1" id="add_parent_1"></div>
|
||||
</div>
|
||||
|
||||
<div class="add_parent_1_block">
|
||||
<label class="desc" id="title1" for="parent_1_email">Email címe:</label>
|
||||
<div><input type="text" name="parent_1_email" id="parent_1_email"></div>
|
||||
</div>
|
||||
|
||||
<div class="add_parent_1_block">
|
||||
<label class="desc" id="title1" for="parent_1_facebook">Facebook:</label>
|
||||
<div><input type="text" name="parent_1_facebook" id="parent_1_facebook"></div>
|
||||
</div>
|
||||
|
||||
<div class="add_parent_1_block">
|
||||
<label class="desc" id="title1" for="parent_1_phone">Telefonszám:</label>
|
||||
<div><input type="text" name="parent_1_phone" id="parent_1_phone"></div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title2" for="uk_parent_2">Szülő2:</label>
|
||||
<div>
|
||||
<select name="uk_parent_2" id="uk_parent_2">
|
||||
<option value="null"> - </option>
|
||||
<option value="null"> - (állítsd erre új szülő felvételéhez)</option>
|
||||
{foreach $parent_assoc_array as $parent_array}
|
||||
<option value="{$parent_array.up_id}"{if $parent_array.up_id == $user_data.uk_parent_2} selected{/if}>
|
||||
{$parent_array.up_name}
|
||||
</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="add_parent_2_block">
|
||||
<label class="desc" id="title2" for="add_parent_2">Új szülő neve:</label>
|
||||
<div><input type="text" name="add_parent_2" id="add_parent_2"></div>
|
||||
</div>
|
||||
|
||||
<div class="add_parent_2_block">
|
||||
<label class="desc" id="title2" for="parent_2_email">Email címe:</label>
|
||||
<div><input type="text" name="parent_2_email" id="parent_2_email"></div>
|
||||
</div>
|
||||
|
||||
<div class="add_parent_2_block">
|
||||
<label class="desc" id="title2" for="parent_2_facebook">Facebook:</label>
|
||||
<div><input type="text" name="parent_2_facebook" id="parent_2_facebook"></div>
|
||||
</div>
|
||||
|
||||
<div class="add_parent_2_block">
|
||||
<label class="desc" id="title2" for="parent_2_phone">Telefonszám:</label>
|
||||
<div><input type="text" name="parent_2_phone" id="parent_2_phone"></div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<br><br>
|
||||
|
||||
|
||||
<div>
|
||||
<div>
|
||||
<input class="button black" type="submit" value="Mentés">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td colspan="2"><input type="submit" value="Mentés"></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
$( document ).ready(function() {
|
||||
if ($("#uk_parent_1").val() == 'null') $(".add_parent_1_block").show();
|
||||
else $(".add_parent_1_block").hide();
|
||||
if ($("#uk_parent_2").val() == 'null') $(".add_parent_2_block").show();
|
||||
else $(".add_parent_2_block").hide();
|
||||
});
|
||||
|
||||
$('#uk_parent_1').change(function() {
|
||||
$(".add_parent_1_block").toggle(this.value == 'null');
|
||||
});
|
||||
|
||||
$('#uk_parent_2').change(function() {
|
||||
$(".add_parent_2_block").toggle(this.value == 'null');
|
||||
});
|
||||
|
||||
</script>
|
||||
161
template/templates/user_data_edit_old.tpl
Normal file
@@ -0,0 +1,161 @@
|
||||
<form method="post">
|
||||
<input type="hidden" name="action" id="action" value="user_data_edit">
|
||||
<input type="hidden" name="user_type" id="user_type" value="1">
|
||||
<input type="hidden" name="uk_id" id="uk_id" value="{$user_data.uk_id}">
|
||||
<table>
|
||||
<tr>
|
||||
<td><a href="/admin/members/{$user_data.uk_id}">MEGTEKINTÉS</a></td>
|
||||
<td><a href="/admin/delete_member/{$user_data.uk_id}">TÖRLÉS</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Név: </td>
|
||||
<td><input type="text" name="uk_name" id="uk_name" value="{$user_data.uk_name}"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Aktív: </td>
|
||||
<td><input type="checkbox" name="uk_is_active" id="uk_is_active" value="1" {if 1==$user_data.uk_is_active}checked{/if}></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Utolsó módosítás dátuma: </td>
|
||||
<td><input type="text" name="uk_last_modified" id="uk_last_modified" value="{$user_data.uk_last_modified}"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Jelszó: </td>
|
||||
<td><input type="text" name="uk_password" id="uk_password" value="{$user_data.uk_password}"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Nem: </td>
|
||||
<td>
|
||||
<input type="radio" name="uk_gender" value="1" {if 1==$user_data.uk_gender}checked{/if}>Fiú
|
||||
|
||||
<input type="radio" name="uk_gender" value="2" {if 2==$user_data.uk_gender}checked{/if}>Lány
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Születési dátum: </td>
|
||||
<td><input type="text" name="uk_birth_date" id="uk_birth_date" value="{$user_data.uk_birth_date}"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Lakcím: </td>
|
||||
<td><input type="text" name="uk_address" id="uk_address" value="{$user_data.uk_address}"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Első edzés dátuma: </td>
|
||||
<td><input type="text" name="uk_first_training" id="uk_first_training" value="{$user_data.uk_first_training}"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Kéz: </td>
|
||||
<td>
|
||||
<input type="radio" name="uk_hand" value="1" {if 1==$user_data.uk_hand}checked{/if}>Balkezes
|
||||
|
||||
<input type="radio" name="uk_hand" value="2" {if 2==$user_data.uk_hand}checked{/if}>Jobbkezes
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Email cím: </td>
|
||||
<td><input type="text" name="uk_email" id="uk_email" value="{$user_data.uk_email}"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Telefonszám: </td>
|
||||
<td><input type="text" name="uk_phone" id="uk_phone" value="{$user_data.uk_phone}"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Facebook: </td>
|
||||
<td><input type="text" name="uk_facebook" id="uk_facebook" value="{$user_data.uk_facebook}"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Pólóméret: </td>
|
||||
<td>
|
||||
<select name="uk_shirt_size_ss_id" id="uk_shirt_size_ss_id">
|
||||
<option value="null"> - </option>
|
||||
{foreach $shirt_size_assoc_array as $shirt_size_array}
|
||||
<option value="{$shirt_size_array.shirt_id}"{if $shirt_size_array.shirt_id == $user_data.uk_shirt_size_ss_id} selected{/if}>
|
||||
{$shirt_size_array.shirt_name}
|
||||
</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Iskola neve: </td>
|
||||
<td>
|
||||
<select name="uk_school_sc_id" id="uk_school_sc_id">
|
||||
<option value="null"> - </option>
|
||||
{foreach $school_assoc_array as $school_array}
|
||||
<option value="{$school_array.sc_id}" {if $school_array.sc_id == $user_data.uk_school_sc_id} selected{/if}>
|
||||
{$school_array.sc_name}
|
||||
</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Iskola települése: </td>
|
||||
<td>
|
||||
<select name="uk_school_city_scc_id" id="uk_school_city_scc_id">
|
||||
<option value="null"> - </option>
|
||||
{foreach $school_city_assoc_array as $school_city_array}
|
||||
<option value="{$school_city_array.scc_id}" {if $school_city_array.scc_id == $user_data.uk_school_city_scc_id} selected{/if}>
|
||||
{$school_city_array.scc_city}
|
||||
</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Iskola kerülete: </td>
|
||||
<td><input type="text" name="uk_school_district" id="uk_school_district" value="{$user_data.uk_school_district}"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Szülő1: </td>
|
||||
<td>
|
||||
<select name="uk_parent_1" id="uk_parent_1">
|
||||
<option value="null"> - </option>
|
||||
{foreach $parent_assoc_array as $parent_array}
|
||||
<option value="{$parent_array.up_id}"{if $parent_array.up_id == $user_data.uk_parent_1} selected{/if}>
|
||||
{$parent_array.up_name}
|
||||
</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Szülő2: </td>
|
||||
<td>
|
||||
<select name="uk_parent_2" id="uk_parent_2">
|
||||
<option value="null"> - </option>
|
||||
{foreach $parent_assoc_array as $parent_array}
|
||||
<option value="{$parent_array.up_id}"{if $parent_array.up_id == $user_data.uk_parent_2} selected{/if}>
|
||||
{$parent_array.up_name}
|
||||
</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2"><input type="submit" value="Mentés"></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</form>
|
||||
@@ -1,18 +1,22 @@
|
||||
<table>
|
||||
<div class="buttons">
|
||||
|
||||
<tr>
|
||||
<td class="create"><a href="/admin/create/member">+ Új tag hozzáadása</a></td>
|
||||
<td class="create"><a href="/admin/parents">+ Szülők kezelése</a></td>
|
||||
</tr>
|
||||
<a href="/admin/create/member" class="addbutton add-big">Új tag hozzáadása</a>
|
||||
<a href="/admin/parents" class="addbutton add-big">Szülők</a>
|
||||
<a href="/admin/shirts" class="addbutton add-big">Pólók</a>
|
||||
<a href="/admin/cities" class="addbutton add-big">Települések</a>
|
||||
<!-- a href="/admin/school" class="addbutton add-big">Iskolák</a -->
|
||||
|
||||
{foreach $user_array as $user}
|
||||
<tr>
|
||||
<td>
|
||||
<a href="/admin/{if !$edit}members{else}edit_member{/if}/{$user->get_uk_id()}">
|
||||
</div>
|
||||
|
||||
<div class="list">
|
||||
{foreach $user_array as $user}
|
||||
<a href="/admin/{if !$edit}members{else}edit_member{/if}/{$user->get_uk_id()}">
|
||||
<div class="list_item">
|
||||
<img src="/_image/shuttlecock.png">
|
||||
{$user->get_uk_name()}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</div>
|
||||
</a>
|
||||
{/foreach}
|
||||
|
||||
</div>
|
||||
|
||||
</table>
|
||||
@@ -1,289 +0,0 @@
|
||||
<?php /* Smarty version 3.1.27, created on 2016-11-06 22:40:58
|
||||
compiled from "template/templates/user_data_edit.tpl" */ ?>
|
||||
<?php
|
||||
/*%%SmartyHeaderCode:1371035005581fa36af07935_63127217%%*/
|
||||
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->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';
|
||||
?>
|
||||
<form method="post">
|
||||
<input type="hidden" name="action" id="action" value="user_data_edit">
|
||||
<input type="hidden" name="user_type" id="user_type" value="1">
|
||||
<input type="hidden" name="uk_id" id="uk_id" value="<?php echo $_smarty_tpl->tpl_vars['user_data']->value['uk_id'];?>
|
||||
">
|
||||
<table>
|
||||
<tr>
|
||||
<td><a href="/admin/members/<?php echo $_smarty_tpl->tpl_vars['user_data']->value['uk_id'];?>
|
||||
">MEGTEKINTÉS</a></td>
|
||||
<td><a href="/admin/delete_member/<?php echo $_smarty_tpl->tpl_vars['user_data']->value['uk_id'];?>
|
||||
">TÖRLÉS</a></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Név: </td>
|
||||
<td><input type="text" name="uk_name" id="uk_name" value="<?php echo $_smarty_tpl->tpl_vars['user_data']->value['uk_name'];?>
|
||||
"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Aktív: </td>
|
||||
<td><input type="checkbox" name="uk_is_active" id="uk_is_active" value="1" <?php if (1 == $_smarty_tpl->tpl_vars['user_data']->value['uk_is_active']) {?>checked<?php }?>></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Utolsó módosítás dátuma: </td>
|
||||
<td><input type="text" name="uk_last_modified" id="uk_last_modified" value="<?php echo $_smarty_tpl->tpl_vars['user_data']->value['uk_last_modified'];?>
|
||||
"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Jelszó: </td>
|
||||
<td><input type="text" name="uk_password" id="uk_password" value="<?php echo $_smarty_tpl->tpl_vars['user_data']->value['uk_password'];?>
|
||||
"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Nem: </td>
|
||||
<td>
|
||||
<input type="radio" name="uk_gender" value="1" <?php if (1 == $_smarty_tpl->tpl_vars['user_data']->value['uk_gender']) {?>checked<?php }?>>Fiú
|
||||
|
||||
<input type="radio" name="uk_gender" value="2" <?php if (2 == $_smarty_tpl->tpl_vars['user_data']->value['uk_gender']) {?>checked<?php }?>>Lány
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Születési dátum: </td>
|
||||
<td><input type="text" name="uk_birth_date" id="uk_birth_date" value="<?php echo $_smarty_tpl->tpl_vars['user_data']->value['uk_birth_date'];?>
|
||||
"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Lakcím: </td>
|
||||
<td><input type="text" name="uk_address" id="uk_address" value="<?php echo $_smarty_tpl->tpl_vars['user_data']->value['uk_address'];?>
|
||||
"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Első edzés dátuma: </td>
|
||||
<td><input type="text" name="uk_first_training" id="uk_first_training" value="<?php echo $_smarty_tpl->tpl_vars['user_data']->value['uk_first_training'];?>
|
||||
"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Kéz: </td>
|
||||
<td>
|
||||
<input type="radio" name="uk_hand" value="1" <?php if (1 == $_smarty_tpl->tpl_vars['user_data']->value['uk_hand']) {?>checked<?php }?>>Balkezes
|
||||
|
||||
<input type="radio" name="uk_hand" value="2" <?php if (2 == $_smarty_tpl->tpl_vars['user_data']->value['uk_hand']) {?>checked<?php }?>>Jobbkezes
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Email cím: </td>
|
||||
<td><input type="text" name="uk_email" id="uk_email" value="<?php echo $_smarty_tpl->tpl_vars['user_data']->value['uk_email'];?>
|
||||
"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Telefonszám: </td>
|
||||
<td><input type="text" name="uk_phone" id="uk_phone" value="<?php echo $_smarty_tpl->tpl_vars['user_data']->value['uk_phone'];?>
|
||||
"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Facebook: </td>
|
||||
<td><input type="text" name="uk_facebook" id="uk_facebook" value="<?php echo $_smarty_tpl->tpl_vars['user_data']->value['uk_facebook'];?>
|
||||
"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Pólóméret: </td>
|
||||
<td>
|
||||
<select name="uk_shirt_size_ss_id" id="uk_shirt_size_ss_id">
|
||||
<option value="null"> - </option>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->tpl_vars['shirt_size_assoc_array']->value;
|
||||
if (!is_array($_from) && !is_object($_from)) {
|
||||
settype($_from, 'array');
|
||||
}
|
||||
$_smarty_tpl->tpl_vars['shirt_size_array'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['shirt_size_array']->_loop = false;
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['shirt_size_array']->value) {
|
||||
$_smarty_tpl->tpl_vars['shirt_size_array']->_loop = true;
|
||||
$foreach_shirt_size_array_Sav = $_smarty_tpl->tpl_vars['shirt_size_array'];
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['shirt_size_array']->value['shirt_id'];?>
|
||||
"<?php if ($_smarty_tpl->tpl_vars['shirt_size_array']->value['shirt_id'] == $_smarty_tpl->tpl_vars['user_data']->value['uk_shirt_size_ss_id']) {?> selected<?php }?>>
|
||||
<?php echo $_smarty_tpl->tpl_vars['shirt_size_array']->value['shirt_name'];?>
|
||||
|
||||
</option>
|
||||
<?php
|
||||
$_smarty_tpl->tpl_vars['shirt_size_array'] = $foreach_shirt_size_array_Sav;
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Iskola neve: </td>
|
||||
<td>
|
||||
<select name="uk_school_sc_id" id="uk_school_sc_id">
|
||||
<option value="null"> - </option>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->tpl_vars['school_assoc_array']->value;
|
||||
if (!is_array($_from) && !is_object($_from)) {
|
||||
settype($_from, 'array');
|
||||
}
|
||||
$_smarty_tpl->tpl_vars['school_array'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['school_array']->_loop = false;
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['school_array']->value) {
|
||||
$_smarty_tpl->tpl_vars['school_array']->_loop = true;
|
||||
$foreach_school_array_Sav = $_smarty_tpl->tpl_vars['school_array'];
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['school_array']->value['sc_id'];?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['school_array']->value['sc_id'] == $_smarty_tpl->tpl_vars['user_data']->value['uk_school_sc_id']) {?> selected<?php }?>>
|
||||
<?php echo $_smarty_tpl->tpl_vars['school_array']->value['sc_name'];?>
|
||||
|
||||
</option>
|
||||
<?php
|
||||
$_smarty_tpl->tpl_vars['school_array'] = $foreach_school_array_Sav;
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Iskola települése: </td>
|
||||
<td>
|
||||
<select name="uk_school_city_scc_id" id="uk_school_city_scc_id">
|
||||
<option value="null"> - </option>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->tpl_vars['school_city_assoc_array']->value;
|
||||
if (!is_array($_from) && !is_object($_from)) {
|
||||
settype($_from, 'array');
|
||||
}
|
||||
$_smarty_tpl->tpl_vars['school_city_array'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['school_city_array']->_loop = false;
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['school_city_array']->value) {
|
||||
$_smarty_tpl->tpl_vars['school_city_array']->_loop = true;
|
||||
$foreach_school_city_array_Sav = $_smarty_tpl->tpl_vars['school_city_array'];
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['school_city_array']->value['scc_id'];?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['school_city_array']->value['scc_id'] == $_smarty_tpl->tpl_vars['user_data']->value['uk_school_city_scc_id']) {?> selected<?php }?>>
|
||||
<?php echo $_smarty_tpl->tpl_vars['school_city_array']->value['scc_city'];?>
|
||||
|
||||
</option>
|
||||
<?php
|
||||
$_smarty_tpl->tpl_vars['school_city_array'] = $foreach_school_city_array_Sav;
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Iskola kerülete: </td>
|
||||
<td><input type="text" name="uk_school_district" id="uk_school_district" value="<?php echo $_smarty_tpl->tpl_vars['user_data']->value['uk_school_district'];?>
|
||||
"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Szülő1: </td>
|
||||
<td>
|
||||
<select name="uk_parent_1" id="uk_parent_1">
|
||||
<option value="null"> - </option>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->tpl_vars['parent_assoc_array']->value;
|
||||
if (!is_array($_from) && !is_object($_from)) {
|
||||
settype($_from, 'array');
|
||||
}
|
||||
$_smarty_tpl->tpl_vars['parent_array'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['parent_array']->_loop = false;
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['parent_array']->value) {
|
||||
$_smarty_tpl->tpl_vars['parent_array']->_loop = true;
|
||||
$foreach_parent_array_Sav = $_smarty_tpl->tpl_vars['parent_array'];
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['parent_array']->value['up_id'];?>
|
||||
"<?php if ($_smarty_tpl->tpl_vars['parent_array']->value['up_id'] == $_smarty_tpl->tpl_vars['user_data']->value['uk_parent_1']) {?> selected<?php }?>>
|
||||
<?php echo $_smarty_tpl->tpl_vars['parent_array']->value['up_name'];?>
|
||||
|
||||
</option>
|
||||
<?php
|
||||
$_smarty_tpl->tpl_vars['parent_array'] = $foreach_parent_array_Sav;
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Szülő2: </td>
|
||||
<td>
|
||||
<select name="uk_parent_2" id="uk_parent_2">
|
||||
<option value="null"> - </option>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->tpl_vars['parent_assoc_array']->value;
|
||||
if (!is_array($_from) && !is_object($_from)) {
|
||||
settype($_from, 'array');
|
||||
}
|
||||
$_smarty_tpl->tpl_vars['parent_array'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['parent_array']->_loop = false;
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['parent_array']->value) {
|
||||
$_smarty_tpl->tpl_vars['parent_array']->_loop = true;
|
||||
$foreach_parent_array_Sav = $_smarty_tpl->tpl_vars['parent_array'];
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['parent_array']->value['up_id'];?>
|
||||
"<?php if ($_smarty_tpl->tpl_vars['parent_array']->value['up_id'] == $_smarty_tpl->tpl_vars['user_data']->value['uk_parent_2']) {?> selected<?php }?>>
|
||||
<?php echo $_smarty_tpl->tpl_vars['parent_array']->value['up_name'];?>
|
||||
|
||||
</option>
|
||||
<?php
|
||||
$_smarty_tpl->tpl_vars['parent_array'] = $foreach_parent_array_Sav;
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2"><input type="submit" value="Mentés"></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</form><?php }
|
||||
}
|
||||
?>
|
||||
@@ -1,68 +0,0 @@
|
||||
<?php /* Smarty version 3.1.27, created on 2016-11-01 11:09:59
|
||||
compiled from "template/templates/training_list.tpl" */ ?>
|
||||
<?php
|
||||
/*%%SmartyHeaderCode:1507137256581869f7605c74_55456203%%*/
|
||||
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->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';
|
||||
?>
|
||||
<table>
|
||||
|
||||
<tr>
|
||||
<td colspan="2" class="create"><a href="/admin/create/training">+ Új edzés hozzáadása</a></td>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
$_from = $_smarty_tpl->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'];
|
||||
?>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="/admin/<?php if ($_smarty_tpl->tpl_vars['edit']->value == 'edit') {?>edit_training<?php } elseif ($_smarty_tpl->tpl_vars['edit']->value == 'view') {?>trainings<?php } else { ?>presence<?php }?>/<?php echo $_smarty_tpl->tpl_vars['training']->value->get_tr_id();?>
|
||||
">
|
||||
<?php echo substr($_smarty_tpl->tpl_vars['training']->value->get_tr_date(),0,-3);?>
|
||||
(<?php echo $_smarty_tpl->tpl_vars['training']->value->get_tr_type_name_by_id();?>
|
||||
)
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
$_smarty_tpl->tpl_vars['training'] = $foreach_training_Sav;
|
||||
}
|
||||
?>
|
||||
|
||||
</table><?php }
|
||||
}
|
||||
?>
|
||||
@@ -1,68 +0,0 @@
|
||||
<?php /* Smarty version 3.1.27, created on 2016-11-06 21:01:39
|
||||
compiled from "template/templates/user_list.tpl" */ ?>
|
||||
<?php
|
||||
/*%%SmartyHeaderCode:1715121101581f8c233b5f71_60016562%%*/
|
||||
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->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';
|
||||
?>
|
||||
|
||||
|
||||
<table>
|
||||
|
||||
<tr>
|
||||
<td colspan="2" class="create"><a href="/admin/create/member">+ Új tag hozzáadása</a></td>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
$_from = $_smarty_tpl->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'];
|
||||
?>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="/admin/<?php if (!$_smarty_tpl->tpl_vars['edit']->value) {?>members<?php } else { ?>edit_member<?php }?>/<?php echo $_smarty_tpl->tpl_vars['user']->value->get_uk_id();?>
|
||||
">
|
||||
<?php echo $_smarty_tpl->tpl_vars['user']->value->get_uk_name();?>
|
||||
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
$_smarty_tpl->tpl_vars['user'] = $foreach_user_Sav;
|
||||
}
|
||||
?>
|
||||
|
||||
</table><?php }
|
||||
}
|
||||
?>
|
||||
@@ -1,116 +0,0 @@
|
||||
<?php /* Smarty version 3.1.27, created on 2016-11-01 13:58:46
|
||||
compiled from "template/templates/training_data_edit.tpl" */ ?>
|
||||
<?php
|
||||
/*%%SmartyHeaderCode:743223821581891866eb9d8_80375404%%*/
|
||||
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->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';
|
||||
?>
|
||||
<form method="post">
|
||||
<input type="hidden" name="action" id="action" value="training_data_edit">
|
||||
<input type="hidden" name="tr_id" id="tr_id" value="<?php echo $_smarty_tpl->tpl_vars['training_data']->value['tr_id'];?>
|
||||
">
|
||||
<table>
|
||||
<tr>
|
||||
<td colspan="2"><a href="/admin/trainings/<?php echo $_smarty_tpl->tpl_vars['training_data']->value['tr_id'];?>
|
||||
">MEGTEKINTÉS</a></td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td>Dátum: </td>
|
||||
<td>
|
||||
<input type="text" id="tr_date" name="tr_date" value="<?php echo $_smarty_tpl->tpl_vars['training_data']->value['tr_date'];?>
|
||||
">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Típus: </td>
|
||||
<td>
|
||||
<select name="tr_training_type_trt_id" id="tr_training_type_trt_id">
|
||||
<option value="null"> - </option>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->tpl_vars['training_type_assoc_array']->value;
|
||||
if (!is_array($_from) && !is_object($_from)) {
|
||||
settype($_from, 'array');
|
||||
}
|
||||
$_smarty_tpl->tpl_vars['training_type_array'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['training_type_array']->_loop = false;
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['training_type_array']->value) {
|
||||
$_smarty_tpl->tpl_vars['training_type_array']->_loop = true;
|
||||
$foreach_training_type_array_Sav = $_smarty_tpl->tpl_vars['training_type_array'];
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['training_type_array']->value['trt_id'];?>
|
||||
"<?php if ($_smarty_tpl->tpl_vars['training_type_array']->value['trt_id'] == $_smarty_tpl->tpl_vars['training_data']->value['tr_training_type_trt_id']) {?> selected<?php }?>>
|
||||
<?php echo $_smarty_tpl->tpl_vars['training_type_array']->value['trt_name'];?>
|
||||
|
||||
</option>
|
||||
<?php
|
||||
$_smarty_tpl->tpl_vars['training_type_array'] = $foreach_training_type_array_Sav;
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Edző: </td>
|
||||
<td>
|
||||
<select name="tr_user_coach_uc_id" id="tr_user_coach_uc_id">
|
||||
<option value="null"> - </option>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->tpl_vars['coach_data_assoc_array']->value;
|
||||
if (!is_array($_from) && !is_object($_from)) {
|
||||
settype($_from, 'array');
|
||||
}
|
||||
$_smarty_tpl->tpl_vars['coach_data_array'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['coach_data_array']->_loop = false;
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['coach_data_array']->value) {
|
||||
$_smarty_tpl->tpl_vars['coach_data_array']->_loop = true;
|
||||
$foreach_coach_data_array_Sav = $_smarty_tpl->tpl_vars['coach_data_array'];
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['coach_data_array']->value['ua_id'];?>
|
||||
"<?php if ($_smarty_tpl->tpl_vars['coach_data_array']->value['ua_id'] == $_smarty_tpl->tpl_vars['training_data']->value['tr_user_coach_uc_id']) {?> selected<?php }?>>
|
||||
<?php echo $_smarty_tpl->tpl_vars['coach_data_array']->value['ua_last_name'];?>
|
||||
<?php echo $_smarty_tpl->tpl_vars['coach_data_array']->value['ua_first_name'];?>
|
||||
|
||||
</option>
|
||||
<?php
|
||||
$_smarty_tpl->tpl_vars['coach_data_array'] = $foreach_coach_data_array_Sav;
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><input type="submit" value="Mentés"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form><?php }
|
||||
}
|
||||
?>
|
||||
@@ -1,35 +0,0 @@
|
||||
<?php /* Smarty version 3.1.27, created on 2016-11-10 19:03:52
|
||||
compiled from "template/templates/nav.tpl" */ ?>
|
||||
<?php
|
||||
/*%%SmartyHeaderCode:17123251355824b688ec9070_71771942%%*/
|
||||
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->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';
|
||||
?>
|
||||
<table>
|
||||
<tr>
|
||||
<td><a href="/admin/members">Tagok</a></td>
|
||||
<td><a href="/admin/trainings">Edzések</a></td>
|
||||
<td><a href="/admin/presence">Jelenlét</a></td>
|
||||
</tr>
|
||||
</table><?php }
|
||||
}
|
||||
?>
|
||||
@@ -1,81 +0,0 @@
|
||||
<?php /* Smarty version 3.1.27, created on 2016-11-01 12:10:11
|
||||
compiled from "template/templates/presence.tpl" */ ?>
|
||||
<?php
|
||||
/*%%SmartyHeaderCode:16005617145818781378ff46_21030545%%*/
|
||||
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->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';
|
||||
?>
|
||||
<table>
|
||||
<input type="hidden" id="tr_id" value="<?php echo $_smarty_tpl->tpl_vars['tr_id']->value;?>
|
||||
">
|
||||
|
||||
<?php
|
||||
$_from = $_smarty_tpl->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'];
|
||||
?>
|
||||
<tr>
|
||||
<td><?php echo $_smarty_tpl->tpl_vars['user']->value->get_uk_last_name();?>
|
||||
<?php echo $_smarty_tpl->tpl_vars['user']->value->get_uk_first_name();?>
|
||||
</td>
|
||||
<td><input name="chk" type="checkbox" id="chk" value="<?php echo $_smarty_tpl->tpl_vars['user']->value->get_uk_id();?>
|
||||
" class="chk" <?php if ($_smarty_tpl->tpl_vars['user']->value->get_uk_presence($_smarty_tpl->tpl_vars['tr_id']->value)) {?>checked<?php }?>> </td>
|
||||
</tr>
|
||||
<?php
|
||||
$_smarty_tpl->tpl_vars['user'] = $foreach_user_Sav;
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
$('.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');
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
<?php echo '</script'; ?>
|
||||
><?php }
|
||||
}
|
||||
?>
|
||||
@@ -1,45 +0,0 @@
|
||||
<?php /* Smarty version 3.1.27, created on 2016-11-10 19:03:52
|
||||
compiled from "template/templates/login.tpl" */ ?>
|
||||
<?php
|
||||
/*%%SmartyHeaderCode:10727867635824b688f0d3f7_59367922%%*/
|
||||
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->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';
|
||||
?>
|
||||
<form method="post">
|
||||
<input type="hidden" name="action" id="action" value="login">
|
||||
<input type="hidden" name="user_type" id="user_type" value="1">
|
||||
<table>
|
||||
<tr>
|
||||
<td>Felhasználónév:</td>
|
||||
<td><input type="text" name="user_name" id="user_name"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Jelszó:</td>
|
||||
<td><input type="password" name="user_password" id="user_password"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><input type="submit" value="Belépés"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form><?php }
|
||||
}
|
||||
?>
|
||||
@@ -1,286 +0,0 @@
|
||||
<?php /* Smarty version 3.1.27, created on 2016-11-04 09:14:58
|
||||
compiled from "template/templates/user_data_create.tpl" */ ?>
|
||||
<?php
|
||||
/*%%SmartyHeaderCode:783135917581c438256aab2_59237290%%*/
|
||||
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->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';
|
||||
?>
|
||||
<form method="post">
|
||||
<input type="hidden" name="action" id="action" value="user_data_create">
|
||||
<table>
|
||||
|
||||
|
||||
<tr>
|
||||
<td>Név: </td>
|
||||
<td><input type="text" name="uk_name" id="uk_name"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Nem: </td>
|
||||
<td>
|
||||
<input type="radio" name="uk_gender" value="1" checked>Fiú
|
||||
|
||||
<input type="radio" name="uk_gender" value="2">Lány
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Születési dátum: </td>
|
||||
<td><input type="text" name="uk_birth_date" id="uk_birth_date"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Lakcím: </td>
|
||||
<td><input type="text" name="uk_address" id="uk_address"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Első edzés dátuma: </td>
|
||||
<td><input type="text" name="uk_first_training" id="uk_first_training"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Kéz: </td>
|
||||
<td>
|
||||
<input type="radio" name="uk_hand" value="1" checked>Balkezes
|
||||
|
||||
<input type="radio" name="uk_hand" value="2">Jobbkezes
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Email cím: </td>
|
||||
<td><input type="text" name="uk_email" id="uk_email"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Telefonszám: </td>
|
||||
<td><input type="text" name="uk_phone" id="uk_phone"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Facebbok: </td>
|
||||
<td><input type="text" name="uk_facebook" id="uk_facebook"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Iskola neve: </td>
|
||||
<td>
|
||||
<select name="uk_school_sc_id" id="uk_school_sc_id">
|
||||
<option value="null"> - </option>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->tpl_vars['school_assoc_array']->value;
|
||||
if (!is_array($_from) && !is_object($_from)) {
|
||||
settype($_from, 'array');
|
||||
}
|
||||
$_smarty_tpl->tpl_vars['school_array'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['school_array']->_loop = false;
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['school_array']->value) {
|
||||
$_smarty_tpl->tpl_vars['school_array']->_loop = true;
|
||||
$foreach_school_array_Sav = $_smarty_tpl->tpl_vars['school_array'];
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['school_array']->value['sc_id'];?>
|
||||
">
|
||||
<?php echo $_smarty_tpl->tpl_vars['school_array']->value['sc_name'];?>
|
||||
|
||||
</option>
|
||||
<?php
|
||||
$_smarty_tpl->tpl_vars['school_array'] = $foreach_school_array_Sav;
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
<input type="text" name="add_school" id="add_school">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Iskola települése: </td>
|
||||
<td>
|
||||
<select name="uk_school_city_scc_id" id="uk_school_city_scc_id">
|
||||
<option value="null"> - </option>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->tpl_vars['school_city_assoc_array']->value;
|
||||
if (!is_array($_from) && !is_object($_from)) {
|
||||
settype($_from, 'array');
|
||||
}
|
||||
$_smarty_tpl->tpl_vars['school_city_array'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['school_city_array']->_loop = false;
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['school_city_array']->value) {
|
||||
$_smarty_tpl->tpl_vars['school_city_array']->_loop = true;
|
||||
$foreach_school_city_array_Sav = $_smarty_tpl->tpl_vars['school_city_array'];
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['school_city_array']->value['scc_id'];?>
|
||||
">
|
||||
<?php echo $_smarty_tpl->tpl_vars['school_city_array']->value['scc_city'];?>
|
||||
|
||||
</option>
|
||||
<?php
|
||||
$_smarty_tpl->tpl_vars['school_city_array'] = $foreach_school_city_array_Sav;
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Iskola kerülete: </td>
|
||||
<td><input type="text" name="uk_school_district" id="uk_school_district" value="0"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Pólóméret: </td>
|
||||
<td>
|
||||
<select name="uk_shirt_size_ss_id" id="uk_shirt_size_ss_id">
|
||||
<option value="null"> - </option>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->tpl_vars['shirt_size_assoc_array']->value;
|
||||
if (!is_array($_from) && !is_object($_from)) {
|
||||
settype($_from, 'array');
|
||||
}
|
||||
$_smarty_tpl->tpl_vars['shirt_size_array'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['shirt_size_array']->_loop = false;
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['shirt_size_array']->value) {
|
||||
$_smarty_tpl->tpl_vars['shirt_size_array']->_loop = true;
|
||||
$foreach_shirt_size_array_Sav = $_smarty_tpl->tpl_vars['shirt_size_array'];
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['shirt_size_array']->value['shirt_id'];?>
|
||||
">
|
||||
<?php echo $_smarty_tpl->tpl_vars['shirt_size_array']->value['shirt_name'];?>
|
||||
|
||||
</option>
|
||||
<?php
|
||||
$_smarty_tpl->tpl_vars['shirt_size_array'] = $foreach_shirt_size_array_Sav;
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Szülő1: </td>
|
||||
<td>
|
||||
<select name="uk_parent_1" id="uk_parent_1">
|
||||
<option value="null"> - </option>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->tpl_vars['parent_assoc_array']->value;
|
||||
if (!is_array($_from) && !is_object($_from)) {
|
||||
settype($_from, 'array');
|
||||
}
|
||||
$_smarty_tpl->tpl_vars['parent_array'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['parent_array']->_loop = false;
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['parent_array']->value) {
|
||||
$_smarty_tpl->tpl_vars['parent_array']->_loop = true;
|
||||
$foreach_parent_array_Sav = $_smarty_tpl->tpl_vars['parent_array'];
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['parent_array']->value['up_id'];?>
|
||||
">
|
||||
<?php echo $_smarty_tpl->tpl_vars['parent_array']->value['up_name'];?>
|
||||
|
||||
</option>
|
||||
<?php
|
||||
$_smarty_tpl->tpl_vars['parent_array'] = $foreach_parent_array_Sav;
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
<input type="text" name="add_parent_1" id="add_parent_1">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Szülő1 email cím: </td>
|
||||
<td><input type="text" name="parent_1_email" id="parent_1_email"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Szülő1 facebook: </td>
|
||||
<td><input type="text" name="parent_1_facebook" id="parent_1_facebook"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Szülő1 telefonszám: </td>
|
||||
<td><input type="text" name="parent_1_phone" id="parent_1_phone"></td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
<td>Szülő2: </td>
|
||||
<td>
|
||||
<select name="uk_parent_2" id="uk_parent_2">
|
||||
<option value="null"> - </option>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->tpl_vars['parent_assoc_array']->value;
|
||||
if (!is_array($_from) && !is_object($_from)) {
|
||||
settype($_from, 'array');
|
||||
}
|
||||
$_smarty_tpl->tpl_vars['parent_array'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['parent_array']->_loop = false;
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['parent_array']->value) {
|
||||
$_smarty_tpl->tpl_vars['parent_array']->_loop = true;
|
||||
$foreach_parent_array_Sav = $_smarty_tpl->tpl_vars['parent_array'];
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['parent_array']->value['up_id'];?>
|
||||
">
|
||||
<?php echo $_smarty_tpl->tpl_vars['parent_array']->value['up_name'];?>
|
||||
|
||||
</option>
|
||||
<?php
|
||||
$_smarty_tpl->tpl_vars['parent_array'] = $foreach_parent_array_Sav;
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
<input type="text" name="add_parent_2" id="add_parent_2">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Szülő2 email cím: </td>
|
||||
<td><input type="text" name="parent_2_email" id="parent_2_email"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Szülő2 facebook: </td>
|
||||
<td><input type="text" name="parent_2_facebook" id="parent_2_facebook"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Szülő2 telefonszám: </td>
|
||||
<td><input type="text" name="parent_2_phone" id="parent_2_phone"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2"><input type="submit" value="Létrehozás"></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</form><?php }
|
||||
}
|
||||
?>
|
||||
@@ -1,106 +0,0 @@
|
||||
<?php /* Smarty version 3.1.27, created on 2016-10-21 08:55:47
|
||||
compiled from "template/templates/training_data_view.tpl" */ ?>
|
||||
<?php
|
||||
/*%%SmartyHeaderCode:4160927195809bbf3ec32c5_19841586%%*/
|
||||
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->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';
|
||||
?>
|
||||
<table>
|
||||
<tr>
|
||||
<td colspan="2"><a href="/admin/edit_training/<?php echo $_smarty_tpl->tpl_vars['training_data']->value['tr_id'];?>
|
||||
">SZERKESZTÉS</a></td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td>Dátum: </td>
|
||||
<td><?php echo $_smarty_tpl->tpl_vars['training_data']->value['tr_date'];?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Típus: </td>
|
||||
<td>
|
||||
<select name="tr_training_type_trt_id" id="tr_training_type_trt_id" disabled>
|
||||
<option value="null"> - </option>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->tpl_vars['training_type_assoc_array']->value;
|
||||
if (!is_array($_from) && !is_object($_from)) {
|
||||
settype($_from, 'array');
|
||||
}
|
||||
$_smarty_tpl->tpl_vars['training_type_array'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['training_type_array']->_loop = false;
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['training_type_array']->value) {
|
||||
$_smarty_tpl->tpl_vars['training_type_array']->_loop = true;
|
||||
$foreach_training_type_array_Sav = $_smarty_tpl->tpl_vars['training_type_array'];
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['training_type_array']->value['trt_id'];?>
|
||||
"<?php if ($_smarty_tpl->tpl_vars['training_type_array']->value['trt_id'] == $_smarty_tpl->tpl_vars['training_data']->value['tr_training_type_trt_id']) {?> selected<?php }?>>
|
||||
<?php echo $_smarty_tpl->tpl_vars['training_type_array']->value['trt_name'];?>
|
||||
|
||||
</option>
|
||||
<?php
|
||||
$_smarty_tpl->tpl_vars['training_type_array'] = $foreach_training_type_array_Sav;
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Edző: </td>
|
||||
<td>
|
||||
<select name="tr_user_coach_uc_id" id="tr_user_coach_uc_id" disabled>
|
||||
<option value="null"> - </option>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->tpl_vars['coach_data_assoc_array']->value;
|
||||
if (!is_array($_from) && !is_object($_from)) {
|
||||
settype($_from, 'array');
|
||||
}
|
||||
$_smarty_tpl->tpl_vars['coach_data_array'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['coach_data_array']->_loop = false;
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['coach_data_array']->value) {
|
||||
$_smarty_tpl->tpl_vars['coach_data_array']->_loop = true;
|
||||
$foreach_coach_data_array_Sav = $_smarty_tpl->tpl_vars['coach_data_array'];
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['coach_data_array']->value['trt_id'];?>
|
||||
"<?php if ($_smarty_tpl->tpl_vars['coach_data_array']->value['ua_id'] == $_smarty_tpl->tpl_vars['training_data']->value['tr_user_coach_uc_id']) {?> selected<?php }?>>
|
||||
<?php echo $_smarty_tpl->tpl_vars['coach_data_array']->value['ua_last_name'];?>
|
||||
<?php echo $_smarty_tpl->tpl_vars['coach_data_array']->value['ua_first_name'];?>
|
||||
|
||||
</option>
|
||||
<?php
|
||||
$_smarty_tpl->tpl_vars['coach_data_array'] = $foreach_coach_data_array_Sav;
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</table><?php }
|
||||
}
|
||||
?>
|
||||
@@ -1,113 +0,0 @@
|
||||
<?php /* Smarty version 3.1.27, created on 2016-10-30 20:09:02
|
||||
compiled from "template/templates/training_data_create.tpl" */ ?>
|
||||
<?php
|
||||
/*%%SmartyHeaderCode:5454241965816454e0692c1_53277471%%*/
|
||||
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->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';
|
||||
?>
|
||||
<form method="post">
|
||||
<input type="hidden" name="action" id="action" value="training_data_create">
|
||||
<table>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
<td>Dátum: </td>
|
||||
<td>
|
||||
<input type="text" id="tr_date" name="tr_date">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Típus: </td>
|
||||
<td>
|
||||
<select name="tr_training_type_trt_id" id="tr_training_type_trt_id">
|
||||
<option value="null"> - </option>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->tpl_vars['training_type_assoc_array']->value;
|
||||
if (!is_array($_from) && !is_object($_from)) {
|
||||
settype($_from, 'array');
|
||||
}
|
||||
$_smarty_tpl->tpl_vars['training_type_array'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['training_type_array']->_loop = false;
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['training_type_array']->value) {
|
||||
$_smarty_tpl->tpl_vars['training_type_array']->_loop = true;
|
||||
$foreach_training_type_array_Sav = $_smarty_tpl->tpl_vars['training_type_array'];
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['training_type_array']->value['trt_id'];?>
|
||||
">
|
||||
<?php echo $_smarty_tpl->tpl_vars['training_type_array']->value['trt_name'];?>
|
||||
|
||||
</option>
|
||||
<?php
|
||||
$_smarty_tpl->tpl_vars['training_type_array'] = $foreach_training_type_array_Sav;
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Edző: </td>
|
||||
<td>
|
||||
<select name="tr_user_coach_uc_id" id="tr_user_coach_uc_id">
|
||||
<option value="null"> - </option>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->tpl_vars['coach_data_assoc_array']->value;
|
||||
if (!is_array($_from) && !is_object($_from)) {
|
||||
settype($_from, 'array');
|
||||
}
|
||||
$_smarty_tpl->tpl_vars['coach_data_array'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['coach_data_array']->_loop = false;
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['coach_data_array']->value) {
|
||||
$_smarty_tpl->tpl_vars['coach_data_array']->_loop = true;
|
||||
$foreach_coach_data_array_Sav = $_smarty_tpl->tpl_vars['coach_data_array'];
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['coach_data_array']->value['ua_id'];?>
|
||||
">
|
||||
<?php echo $_smarty_tpl->tpl_vars['coach_data_array']->value['ua_last_name'];?>
|
||||
<?php echo $_smarty_tpl->tpl_vars['coach_data_array']->value['ua_first_name'];?>
|
||||
|
||||
</option>
|
||||
<?php
|
||||
$_smarty_tpl->tpl_vars['coach_data_array'] = $foreach_coach_data_array_Sav;
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Minden héten ebben az időpontban</td>
|
||||
<td><input type="checkbox" name="every_week"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><input type="submit" value="Létrehozás"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form><?php }
|
||||
}
|
||||
?>
|
||||
@@ -1,276 +0,0 @@
|
||||
<?php /* Smarty version 3.1.27, created on 2016-11-06 22:44:01
|
||||
compiled from "template/templates/user_data_view.tpl" */ ?>
|
||||
<?php
|
||||
/*%%SmartyHeaderCode:238806482581fa421e0b266_15047814%%*/
|
||||
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->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';
|
||||
?>
|
||||
<table>
|
||||
<tr>
|
||||
<td colspan="2"><a href="/admin/edit_member/<?php echo $_smarty_tpl->tpl_vars['user_data']->value['uk_id'];?>
|
||||
">SZERKESZTÉS</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><?php echo $_smarty_tpl->tpl_vars['user_data']->value['uk_name'];?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Aktív: </td>
|
||||
<td><input type="checkbox" name="uk_is_active" id="uk_is_active" value="1" <?php if (1 == $_smarty_tpl->tpl_vars['user_data']->value['uk_is_active']) {?>checked<?php }?> disabled></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Utolsó módosítás dátuma: </td>
|
||||
<td><input type="text" name="uk_last_modified" id="uk_last_modified" value="<?php echo $_smarty_tpl->tpl_vars['user_data']->value['uk_last_modified'];?>
|
||||
"disabled></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Jelszó: </td>
|
||||
<td><input type="text" name="uk_password" id="uk_password" value="<?php echo $_smarty_tpl->tpl_vars['user_data']->value['uk_password'];?>
|
||||
"disabled></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Nem: </td>
|
||||
<td>
|
||||
<input type="radio" name="uk_gender" value="1" <?php if (1 == $_smarty_tpl->tpl_vars['user_data']->value['uk_gender']) {?>checked<?php }?> disabled>Fiú
|
||||
|
||||
<input type="radio" name="uk_gender" value="2" <?php if (2 == $_smarty_tpl->tpl_vars['user_data']->value['uk_gender']) {?>checked<?php }?> disabled>Lány
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Születési dátum: </td>
|
||||
<td><input type="text" name="uk_birth_date" id="uk_birth_date" value="<?php echo $_smarty_tpl->tpl_vars['user_data']->value['uk_birth_date'];?>
|
||||
"disabled></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Lakcím: </td>
|
||||
<td><input type="text" name="uk_address" id="uk_address" value="<?php echo $_smarty_tpl->tpl_vars['user_data']->value['uk_address'];?>
|
||||
"disabled></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Első edzés dátuma: </td>
|
||||
<td><input type="text" name="uk_first_training" id="uk_first_training" value="<?php echo $_smarty_tpl->tpl_vars['user_data']->value['uk_first_training'];?>
|
||||
"disabled></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Kéz: </td>
|
||||
<td>
|
||||
<input type="radio" name="uk_hand" value="1" <?php if (1 == $_smarty_tpl->tpl_vars['user_data']->value['uk_hand']) {?>checked<?php }?> disabled>Balkezes
|
||||
|
||||
<input type="radio" name="uk_hand" value="2" <?php if (2 == $_smarty_tpl->tpl_vars['user_data']->value['uk_hand']) {?>checked<?php }?> disabled>Jobbkezes
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Email cím: </td>
|
||||
<td><?php echo $_smarty_tpl->tpl_vars['user_data']->value['uk_email'];?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Telefonszám: </td>
|
||||
<td><?php echo $_smarty_tpl->tpl_vars['user_data']->value['uk_phone'];?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Facebbok: </td>
|
||||
<td><?php echo $_smarty_tpl->tpl_vars['user_data']->value['uk_facebook'];?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Pólóméret: </td>
|
||||
<td>
|
||||
<select name="shirt_size" id="shirt_size" disabled>
|
||||
<option value="null"> - </option>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->tpl_vars['shirt_size_assoc_array']->value;
|
||||
if (!is_array($_from) && !is_object($_from)) {
|
||||
settype($_from, 'array');
|
||||
}
|
||||
$_smarty_tpl->tpl_vars['shirt_size_array'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['shirt_size_array']->_loop = false;
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['shirt_size_array']->value) {
|
||||
$_smarty_tpl->tpl_vars['shirt_size_array']->_loop = true;
|
||||
$foreach_shirt_size_array_Sav = $_smarty_tpl->tpl_vars['shirt_size_array'];
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['shirt_size_array']->value['shirt_id'];?>
|
||||
"<?php if ($_smarty_tpl->tpl_vars['shirt_size_array']->value['shirt_id'] == $_smarty_tpl->tpl_vars['user_data']->value['uk_shirt_size_ss_id']) {?> selected<?php }?>>
|
||||
<?php echo $_smarty_tpl->tpl_vars['shirt_size_array']->value['shirt_name'];?>
|
||||
|
||||
</option>
|
||||
<?php
|
||||
$_smarty_tpl->tpl_vars['shirt_size_array'] = $foreach_shirt_size_array_Sav;
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Iskola neve: </td>
|
||||
<td>
|
||||
<select name="uk_school_sc_id" id="uk_school_sc_id" disabled>
|
||||
<option value="null"> - </option>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->tpl_vars['school_assoc_array']->value;
|
||||
if (!is_array($_from) && !is_object($_from)) {
|
||||
settype($_from, 'array');
|
||||
}
|
||||
$_smarty_tpl->tpl_vars['school_array'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['school_array']->_loop = false;
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['school_array']->value) {
|
||||
$_smarty_tpl->tpl_vars['school_array']->_loop = true;
|
||||
$foreach_school_array_Sav = $_smarty_tpl->tpl_vars['school_array'];
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['school_array']->value['sc_id'];?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['school_array']->value['sc_id'] == $_smarty_tpl->tpl_vars['user_data']->value['uk_school_sc_id']) {?> selected<?php }?>>
|
||||
<?php echo $_smarty_tpl->tpl_vars['school_array']->value['sc_name'];?>
|
||||
|
||||
</option>
|
||||
<?php
|
||||
$_smarty_tpl->tpl_vars['school_array'] = $foreach_school_array_Sav;
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Iskola települése: </td>
|
||||
<td>
|
||||
<select name="uk_school_city_scc_id" id="uk_school_city_scc_id" disabled>
|
||||
<option value="null"> - </option>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->tpl_vars['school_city_assoc_array']->value;
|
||||
if (!is_array($_from) && !is_object($_from)) {
|
||||
settype($_from, 'array');
|
||||
}
|
||||
$_smarty_tpl->tpl_vars['school_city_array'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['school_city_array']->_loop = false;
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['school_city_array']->value) {
|
||||
$_smarty_tpl->tpl_vars['school_city_array']->_loop = true;
|
||||
$foreach_school_city_array_Sav = $_smarty_tpl->tpl_vars['school_city_array'];
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['school_city_array']->value['scc_id'];?>
|
||||
" <?php if ($_smarty_tpl->tpl_vars['school_city_array']->value['scc_id'] == $_smarty_tpl->tpl_vars['user_data']->value['uk_school_city_scc_id']) {?> selected<?php }?>>
|
||||
<?php echo $_smarty_tpl->tpl_vars['school_city_array']->value['scc_city'];?>
|
||||
|
||||
</option>
|
||||
<?php
|
||||
$_smarty_tpl->tpl_vars['school_city_array'] = $foreach_school_city_array_Sav;
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Iskola kerülete: </td>
|
||||
<td><input type="text" name="uk_school_district" id="uk_school_district" value="<?php echo $_smarty_tpl->tpl_vars['user_data']->value['uk_school_district'];?>
|
||||
" disabled></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Szülő1: </td>
|
||||
<td>
|
||||
<select name="parent1" id="parent1" disabled>
|
||||
<option value="null"> - </option>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->tpl_vars['parent_assoc_array']->value;
|
||||
if (!is_array($_from) && !is_object($_from)) {
|
||||
settype($_from, 'array');
|
||||
}
|
||||
$_smarty_tpl->tpl_vars['parent_array'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['parent_array']->_loop = false;
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['parent_array']->value) {
|
||||
$_smarty_tpl->tpl_vars['parent_array']->_loop = true;
|
||||
$foreach_parent_array_Sav = $_smarty_tpl->tpl_vars['parent_array'];
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['parent_array']->value['up_id'];?>
|
||||
"<?php if ($_smarty_tpl->tpl_vars['parent_array']->value['up_id'] == $_smarty_tpl->tpl_vars['user_data']->value['uk_parent_1']) {?> selected<?php }?>>
|
||||
<?php echo $_smarty_tpl->tpl_vars['parent_array']->value['up_name'];?>
|
||||
|
||||
</option>
|
||||
<?php
|
||||
$_smarty_tpl->tpl_vars['parent_array'] = $foreach_parent_array_Sav;
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Szülő2: </td>
|
||||
<td>
|
||||
<select name="parent1" id="parent1" disabled>
|
||||
<option value="null"> - </option>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->tpl_vars['parent_assoc_array']->value;
|
||||
if (!is_array($_from) && !is_object($_from)) {
|
||||
settype($_from, 'array');
|
||||
}
|
||||
$_smarty_tpl->tpl_vars['parent_array'] = new Smarty_Variable;
|
||||
$_smarty_tpl->tpl_vars['parent_array']->_loop = false;
|
||||
foreach ($_from as $_smarty_tpl->tpl_vars['parent_array']->value) {
|
||||
$_smarty_tpl->tpl_vars['parent_array']->_loop = true;
|
||||
$foreach_parent_array_Sav = $_smarty_tpl->tpl_vars['parent_array'];
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['parent_array']->value['up_id'];?>
|
||||
"<?php if ($_smarty_tpl->tpl_vars['parent_array']->value['up_id'] == $_smarty_tpl->tpl_vars['user_data']->value['uk_parent_2']) {?> selected<?php }?>>
|
||||
<?php echo $_smarty_tpl->tpl_vars['parent_array']->value['up_name'];?>
|
||||
|
||||
</option>
|
||||
<?php
|
||||
$_smarty_tpl->tpl_vars['parent_array'] = $foreach_parent_array_Sav;
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
</table><?php }
|
||||
}
|
||||
?>
|
||||