LAPTOP
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
ini_set('include_path', '../_class/');
|
ini_set('include_path', '../_class/');
|
||||||
include('class_sql.php');
|
include('class_sql.php');
|
||||||
$sql = new sql('localhost','root','','badminton_coach');
|
$sql = new sql('localhost','tollashodos','uprRscU8bGpJ','tollashodos');
|
||||||
/*
|
/*
|
||||||
foreach ($_POST as $key => $value) {
|
foreach ($_POST as $key => $value) {
|
||||||
trigger_error($key . " : " . $value, E_USER_NOTICE);
|
trigger_error($key . " : " . $value, E_USER_NOTICE);
|
||||||
|
|||||||
@@ -51,6 +51,16 @@ class page {
|
|||||||
$tpl = "edit";
|
$tpl = "edit";
|
||||||
include('include_members.php');
|
include('include_members.php');
|
||||||
break;
|
break;
|
||||||
|
case 'delete_member':
|
||||||
|
# TAG TÖRLÉSE
|
||||||
|
# TODO: error kezelés
|
||||||
|
include('include_delete_member.php');
|
||||||
|
break;
|
||||||
|
case 'delete_parent':
|
||||||
|
# SZÜLŐ TÖRLÉSE
|
||||||
|
# TODO: error kezelés
|
||||||
|
include('include_delete_parent.php');
|
||||||
|
break;
|
||||||
case 'parents':
|
case 'parents':
|
||||||
# SZÜLŐK SZERKESZTÉSE
|
# SZÜLŐK SZERKESZTÉSE
|
||||||
include('include_parents.php');
|
include('include_parents.php');
|
||||||
|
|||||||
85
_class/class_user_kid.php
Executable file → Normal file
85
_class/class_user_kid.php
Executable file → Normal file
@@ -1,13 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/*
|
/*
|
||||||
USER_KID osztály
|
USER_KID osztály
|
||||||
GYEREKEK osztálya, a USER_PARENT osztályból öröklődik
|
GYEREKEK osztálya, a USER_PARENT osztályból öröklődik
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class user_kid extends user_parent {
|
class user_kid extends user_parent {
|
||||||
private $user_id;
|
private $user_id;
|
||||||
private $user_name;
|
private $user_name;
|
||||||
@@ -34,167 +29,130 @@ class user_kid extends user_parent {
|
|||||||
private $user_parent_2;
|
private $user_parent_2;
|
||||||
private $user_phone;
|
private $user_phone;
|
||||||
private $user_facebook;
|
private $user_facebook;
|
||||||
|
|
||||||
public function set_uk_id($_uid) {
|
public function set_uk_id($_uid) {
|
||||||
$this->user_id = $_uid;
|
$this->user_id = $_uid;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function set_uk_name($_uname) {
|
public function set_uk_name($_uname) {
|
||||||
$this->user_name = $_uname;
|
$this->user_name = $_uname;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function set_uk_is_active($_active) {
|
public function set_uk_is_active($_active) {
|
||||||
$this->user_is_active = $_active;
|
$this->user_is_active = $_active;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function set_uk_password($_u_pass) {
|
public function set_uk_password($_u_pass) {
|
||||||
$this->user_password = $_u_pass;
|
$this->user_password = $_u_pass;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function set_uk_email($_u_email) {
|
public function set_uk_email($_u_email) {
|
||||||
$this->user_email = $_u_email;
|
$this->user_email = $_u_email;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function set_uk_phone($_u_phone) {
|
public function set_uk_phone($_u_phone) {
|
||||||
$this->user_phone = $_u_phone;
|
$this->user_phone = $_u_phone;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function set_uk_facebook($_facebook) {
|
public function set_uk_facebook($_facebook) {
|
||||||
$this->user_facebook = $_facebook;
|
$this->user_facebook = $_facebook;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function set_uk_last_login($_u_last_login) {
|
public function set_uk_last_login($_u_last_login) {
|
||||||
$this->user_last_login = $_u_last_login;
|
$this->user_last_login = $_u_last_login;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function set_uk_shirt_size_ss_id($_shirt_size) {
|
public function set_uk_shirt_size_ss_id($_shirt_size) {
|
||||||
$this->shirt_size = $_shirt_size;
|
$this->shirt_size = $_shirt_size;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function set_uk_school_sc_id($_school) {
|
public function set_uk_school_sc_id($_school) {
|
||||||
$this->user_school_sc_id = $_school;
|
$this->user_school_sc_id = $_school;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function set_uk_school_district($_district) {
|
public function set_uk_school_district($_district) {
|
||||||
$this->user_school_district = $_district;
|
$this->user_school_district = $_district;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public function set_uk_school_city_scc_id($_city_id) {
|
public function set_uk_school_city_scc_id($_city_id) {
|
||||||
$this->user_school_city_scc_id = $_city_id;
|
$this->user_school_city_scc_id = $_city_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function set_uk_parent_1($_uk_parent_1) {
|
public function set_uk_parent_1($_uk_parent_1) {
|
||||||
$this->user_parent_1 = $_uk_parent_1;
|
$this->user_parent_1 = $_uk_parent_1;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function set_uk_parent_2($_uk_parent_2) {
|
public function set_uk_parent_2($_uk_parent_2) {
|
||||||
$this->user_parent_2 = $_uk_parent_2;
|
$this->user_parent_2 = $_uk_parent_2;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function get_uk_id() {
|
public function get_uk_id() {
|
||||||
return $this->user_id;
|
return $this->user_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function get_uk_name() {
|
public function get_uk_name() {
|
||||||
return $this->user_name;
|
return $this->user_name;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function get_uk_last_name() {
|
public function get_uk_last_name() {
|
||||||
return $this->user_last_name;
|
return $this->user_last_name;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function get_uk_first_name() {
|
public function get_uk_first_name() {
|
||||||
return $this->user_first_name;
|
return $this->user_first_name;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function get_uk_password() {
|
public function get_uk_password() {
|
||||||
return $this->user_password;
|
return $this->user_password;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function get_uk_email() {
|
public function get_uk_email() {
|
||||||
return $this->user_email;
|
return $this->user_email;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function get_uk_shirt_size() {
|
public function get_uk_shirt_size() {
|
||||||
return $this->user_shirt_size;
|
return $this->user_shirt_size;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function get_uk_school_sc_id() {
|
public function get_uk_school_sc_id() {
|
||||||
return $this->user_school_sc_id;
|
return $this->user_school_sc_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function get_uk_school_district() {
|
public function get_uk_school_district() {
|
||||||
return $this->user_school_district;
|
return $this->user_school_district;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function get_uk_school_city_scc_id() {
|
public function get_uk_school_city_scc_id() {
|
||||||
return $this->user_school_city_scc_id;
|
return $this->user_school_city_scc_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function get_uk_parent_1() {
|
public function get_uk_parent_1() {
|
||||||
return $this->user_parent_1;
|
return $this->user_parent_1;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function get_uk_parent_2() {
|
public function get_uk_parent_2() {
|
||||||
return $this->user_parent_2;
|
return $this->user_parent_2;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function get_uk_presence($_training_id) {
|
public function get_uk_presence($_training_id) {
|
||||||
global $sql;
|
global $sql;
|
||||||
return $sql->num_of_rows('select * from presence where pr_user_kid_uk_id = ' . $this->get_uk_id() . ' AND pr_training_tr_id = ' . $_training_id);
|
return $sql->num_of_rows('select * from presence where pr_user_kid_uk_id = ' . $this->get_uk_id() . ' AND pr_training_tr_id = ' . $_training_id);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function set_uk_gender($_gender) {
|
public function set_uk_gender($_gender) {
|
||||||
$this->user_gender = $_gender;
|
$this->user_gender = $_gender;
|
||||||
}
|
}
|
||||||
public function get_uk_gender() {
|
public function get_uk_gender() {
|
||||||
return $this->user_gender;
|
return $this->user_gender;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function set_uk_birth_date($_birth_date) {
|
public function set_uk_birth_date($_birth_date) {
|
||||||
$this->user_birth_date = $_birth_date;
|
$this->user_birth_date = $_birth_date;
|
||||||
}
|
}
|
||||||
public function get_uk_birth_date() {
|
public function get_uk_birth_date() {
|
||||||
return $this->user_birth_date;
|
return $this->user_birth_date;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function set_uk_birth_year($_birth_year) {
|
public function set_uk_birth_year($_birth_year) {
|
||||||
$this->user_birth_year = $_birth_year;
|
$this->user_birth_year = $_birth_year;
|
||||||
}
|
}
|
||||||
public function get_uk_birth_year() {
|
public function get_uk_birth_year() {
|
||||||
return $this->user_birth_year;
|
return $this->user_birth_year;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function set_uk_first_training($_first_training) {
|
public function set_uk_first_training($_first_training) {
|
||||||
$this->user_first_training = $_first_training;
|
$this->user_first_training = $_first_training;
|
||||||
}
|
}
|
||||||
public function get_uk_first_training() {
|
public function get_uk_first_training() {
|
||||||
return $this->user_first_training;
|
return $this->user_first_training;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function set_uk_hand($_hand) {
|
public function set_uk_hand($_hand) {
|
||||||
$this->user_hand = $_hand;
|
$this->user_hand = $_hand;
|
||||||
}
|
}
|
||||||
public function get_uk_hand() {
|
public function get_uk_hand() {
|
||||||
return $this->user_hand;
|
return $this->user_hand;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function set_uk_last_modified($_last_modified) {
|
public function set_uk_last_modified($_last_modified) {
|
||||||
$this->user_last_modified = $_last_modified;
|
$this->user_last_modified = $_last_modified;
|
||||||
}
|
}
|
||||||
public function get_uk_last_modified() {
|
public function get_uk_last_modified() {
|
||||||
return $this->user_last_modified;
|
return $this->user_last_modified;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function set_uk_address($_address) {
|
public function set_uk_address($_address) {
|
||||||
$this->user_address = $_address;
|
$this->user_address = $_address;
|
||||||
}
|
}
|
||||||
public function get_uk_address() {
|
public function get_uk_address() {
|
||||||
return $this->user_address;
|
return $this->user_address;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function set_user_data_by_id($_uk_id) {
|
public function set_user_data_by_id($_uk_id) {
|
||||||
global $sql, $user;
|
global $sql, $user;
|
||||||
$user_data_assoc_array = $sql->assoc_array("select * from user_kid where uk_id = " . $_uk_id);
|
$user_data_assoc_array = $sql->assoc_array("select * from user_kid where uk_id = " . $_uk_id);
|
||||||
@@ -205,9 +163,7 @@ class user_kid extends user_parent {
|
|||||||
//$this->set_ua_type(2); //kid típus beállítása
|
//$this->set_ua_type(2); //kid típus beállítása
|
||||||
//$this->set_login(true);
|
//$this->set_login(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function add_new_parent($_parent_name, $_email, $_facebook, $_phone) {
|
public function add_new_parent($_parent_name, $_email, $_facebook, $_phone) {
|
||||||
global $sql;
|
global $sql;
|
||||||
//beilleszti AB-ba
|
//beilleszti AB-ba
|
||||||
@@ -222,72 +178,49 @@ class user_kid extends user_parent {
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function create_user($_user_value_array) {
|
public function create_user($_user_value_array) {
|
||||||
global $sql;
|
global $sql;
|
||||||
|
|
||||||
//SCHOOL_HANDLER
|
//SCHOOL_HANDLER
|
||||||
if (isset($_user_value_array['add_school']) && $_user_value_array['add_school'] != "") {
|
if (isset($_user_value_array['add_school']) && $_user_value_array['add_school'] != "") {
|
||||||
$new_school_id = $sql->insert_into('school', array('sc_name' => $_user_value_array['add_school']));
|
$new_school_id = $sql->insert_into('school', array('sc_name' => $_user_value_array['add_school']));
|
||||||
$_user_value_array['uk_school_sc_id'] = $new_school_id;
|
$_user_value_array['uk_school_sc_id'] = $new_school_id;
|
||||||
unset($_user_value_array['add_school']);
|
unset($_user_value_array['add_school']);
|
||||||
}
|
}
|
||||||
|
if (isset($_user_value_array['add_school'])) unset($_user_value_array['add_school']);
|
||||||
unset($_user_value_array['add_school']);
|
|
||||||
|
|
||||||
//PARENT_1 HANDLER
|
//PARENT_1 HANDLER
|
||||||
if (isset($_user_value_array['add_parent_1']) && $_user_value_array['add_parent_1'] != "") {
|
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
|
//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);
|
//var_dump($_user_value_array);
|
||||||
//die("hiba");
|
//die("hiba");
|
||||||
$_user_value_array['uk_parent_1'] = self::add_new_parent(
|
$_user_value_array['uk_parent_1'] = self::add_new_parent(
|
||||||
$_user_value_array['add_parent_1'],
|
$_user_value_array['add_parent_1'],
|
||||||
$_user_value_array['parent_1_email'],
|
$_user_value_array['parent_1_email'],
|
||||||
$_user_value_array['parent_1_facebook'], $_user_value_array['parent_1_phone']);
|
$_user_value_array['parent_1_facebook'], $_user_value_array['parent_1_phone']);
|
||||||
unset($_user_value_array['add_parent_1']);
|
|
||||||
|
|
||||||
unset($_user_value_array['parent_1_email']);
|
|
||||||
unset($_user_value_array['parent_1_facebook']);
|
|
||||||
unset($_user_value_array['parent_1_phone']);
|
|
||||||
}
|
}
|
||||||
|
if (isset($_user_value_array['add_parent_1'])) unset($_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']);
|
||||||
unset($_user_value_array['parent_1_email']);
|
if (isset($_user_value_array['parent_1_phone'])) unset($_user_value_array['parent_1_phone']);
|
||||||
unset($_user_value_array['parent_1_facebook']);
|
|
||||||
unset($_user_value_array['parent_1_phone']);
|
|
||||||
|
|
||||||
//PARENT_2 HANDLER
|
//PARENT_2 HANDLER
|
||||||
if (isset($_user_value_array['add_parent_2']) && $_user_value_array['add_parent_2'] != "") {
|
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['uk_parent_2'] = self::add_new_parent(
|
||||||
$_user_value_array['add_parent_2'],
|
$_user_value_array['add_parent_2'],
|
||||||
$_user_value_array['parent_2_email'], $_user_value_array['parent_2_facebook'],
|
$_user_value_array['parent_2_email'], $_user_value_array['parent_2_facebook'],
|
||||||
$_user_value_array['parent_2_phone']);
|
$_user_value_array['parent_2_phone']);
|
||||||
unset($_user_value_array['add_parent_2']);
|
|
||||||
|
|
||||||
unset($_user_value_array['parent_2_email']);
|
|
||||||
unset($_user_value_array['parent_2_facebook']);
|
|
||||||
unset($_user_value_array['parent_2_phone']);
|
|
||||||
}
|
}
|
||||||
unset($_user_value_array['add_parent_2']);
|
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']);
|
||||||
unset($_user_value_array['parent_2_email']);
|
if (isset($_user_value_array['parent_2_facebook'])) unset($_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']);
|
||||||
unset($_user_value_array['parent_2_phone']);
|
|
||||||
return $sql->insert_into('user_kid', $_user_value_array);
|
return $sql->insert_into('user_kid', $_user_value_array);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function update_user($_user_value_array, $_user_id) {
|
public function update_user($_user_value_array, $_user_id) {
|
||||||
global $sql;
|
global $sql;
|
||||||
//a módosítás dátumát
|
//a módosítás dátumát
|
||||||
$_user_value_array['uk_last_modified'] = date("Y-m-d");
|
$_user_value_array['uk_last_modified'] = date("Y-m-d");
|
||||||
|
|
||||||
//ha nincs bejelölve h aktív akkor nem kapja meg ezt az értéket, manuálisan kell beállítani
|
//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;
|
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));
|
$sql->update_table('user_kid', $_user_value_array, array('uk_id' => $_user_id));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
10
_include/include_delete_member.php
Normal file
10
_include/include_delete_member.php
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
if ($this->is_id()) {
|
||||||
|
$delete_query = "DELETE FROM user_parent WHERE uk_id = " . $this->get_id() . ";";
|
||||||
|
$sql->execute_query($delete_query);
|
||||||
|
header("Location: /admin/members");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
?>
|
||||||
10
_include/include_delete_parent.php
Normal file
10
_include/include_delete_parent.php
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
if ($this->is_id()) {
|
||||||
|
$delete_query = "DELETE FROM user_parent WHERE up_id = " . $this->get_id() . ";";
|
||||||
|
$sql->execute_query($delete_query);
|
||||||
|
header("Location: /admin/parents");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
?>
|
||||||
@@ -1,6 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
if ($this->is_id()) {
|
if ($this->is_id()) {
|
||||||
|
//először ki kell törölni a coachokat
|
||||||
|
$delete_coach_query = "DELETE FROM training_coach WHERE trc_training_tr_id = " . $this->get_id() . ";";
|
||||||
|
$sql->execute_query($delete_coach_query);
|
||||||
$delete_query = "DELETE FROM training WHERE tr_id = " . $this->get_id() . ";";
|
$delete_query = "DELETE FROM training WHERE tr_id = " . $this->get_id() . ";";
|
||||||
$sql->execute_query($delete_query);
|
$sql->execute_query($delete_query);
|
||||||
header("Location: /admin/trainings");
|
header("Location: /admin/trainings");
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ spl_autoload_register(function ($class_name) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
//SMARTY BEÁLLÍTÁSA
|
//SMARTY BEÁLLÍTÁSA
|
||||||
require('../Smarty/Smarty.class.php');
|
require('Smarty/Smarty.class.php');
|
||||||
|
|
||||||
$smarty = new Smarty();
|
$smarty = new Smarty();
|
||||||
|
|
||||||
@@ -40,7 +40,7 @@ $smarty->setCacheDir('template/cache');
|
|||||||
$smarty->setConfigDir('template/configs');
|
$smarty->setConfigDir('template/configs');
|
||||||
|
|
||||||
//SQL KAPCSOLAT BEÁLLÍTÁSA
|
//SQL KAPCSOLAT BEÁLLÍTÁSA
|
||||||
$sql = new sql('localhost','root','','badminton_coach');
|
$sql = new sql('localhost','tollashodos','uprRscU8bGpJ','tollashodos');
|
||||||
|
|
||||||
//var_dump($sql);
|
//var_dump($sql);
|
||||||
|
|
||||||
|
|||||||
@@ -89,6 +89,7 @@ if (isset($_POST['action'])) {
|
|||||||
$every_week = isset($_POST['every_week']);
|
$every_week = isset($_POST['every_week']);
|
||||||
if ($every_week) unset($_POST['every_week']);
|
if ($every_week) unset($_POST['every_week']);
|
||||||
training::create_training($_POST, $every_week);
|
training::create_training($_POST, $every_week);
|
||||||
|
header("Location: /admin/trainings/");
|
||||||
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|||||||
11
index.php
11
index.php
@@ -1,7 +1,6 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
|
||||||
<style>
|
<style>
|
||||||
a:link {
|
a:link {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
@@ -22,7 +21,6 @@
|
|||||||
nav a:hover {
|
nav a:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
td.create {
|
td.create {
|
||||||
padding: 15px 0px;
|
padding: 15px 0px;
|
||||||
}
|
}
|
||||||
@@ -53,17 +51,16 @@
|
|||||||
$( document ).ready(function() {
|
$( document ).ready(function() {
|
||||||
console.log( "ready!" );
|
console.log( "ready!" );
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
<title>Badminton Coach v 0.1</title>
|
<title>Badminton Coach v 0.1</title>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
require('common.php');
|
require('common.php');
|
||||||
require('event_handler.php');
|
require('event_handler.php');
|
||||||
$page = new page();
|
$page = new page();
|
||||||
|
|
||||||
?>
|
?>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|||||||
3
php_info.php
Normal file
3
php_info.php
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<?php
|
||||||
|
phpinfo();
|
||||||
|
?>
|
||||||
@@ -2,6 +2,9 @@
|
|||||||
<input type="hidden" name="action" value="parent_data_update">
|
<input type="hidden" name="action" value="parent_data_update">
|
||||||
<input type="hidden" name="up_id" value="{$parent->get_up_id()}">
|
<input type="hidden" name="up_id" value="{$parent->get_up_id()}">
|
||||||
<table>
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td colspan="2"><a href="/admin/delete_parent/{$parent->get_up_id()}">TÖRLÉS</a></td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
Név:
|
Név:
|
||||||
|
|||||||
0
template/templates/training_data_create.tpl
Executable file → Normal file
0
template/templates/training_data_create.tpl
Executable file → Normal file
0
template/templates/training_data_edit.tpl
Executable file → Normal file
0
template/templates/training_data_edit.tpl
Executable file → Normal file
0
template/templates/training_data_view.tpl
Executable file → Normal file
0
template/templates/training_data_view.tpl
Executable file → Normal file
0
template/templates/user_data_create.tpl
Executable file → Normal file
0
template/templates/user_data_create.tpl
Executable file → Normal file
Reference in New Issue
Block a user