From 6744d4e537f3c71c42ccf71f343d0172e515e1a9 Mon Sep 17 00:00:00 2001 From: stas Date: Mon, 20 May 2024 14:40:53 +0300 Subject: [PATCH] second --- Information.txt | 6 ++++++ form.html | 37 +++++++++++++++++++++++++++++++++++++ functions.php | 1 + info.php | 1 + src/Information.php | 6 +++--- src/additionallyInfo.php | 6 ++++++ src/contacts.php | 6 ++++++ src/fullName.php | 1 - table.php | 1 + 9 files changed, 61 insertions(+), 4 deletions(-) create mode 100644 Information.txt create mode 100644 form.html create mode 100644 functions.php create mode 100644 info.php create mode 100644 src/additionallyInfo.php create mode 100644 src/contacts.php create mode 100644 table.php diff --git a/Information.txt b/Information.txt new file mode 100644 index 0000000..d8f5e84 --- /dev/null +++ b/Information.txt @@ -0,0 +1,6 @@ +Билай Станислав Романович;Мужчина;2002-03-11;+79493761924;stasbilay02@yandex.ru; +Петров Петр Петрович;Мужчина;1234-12-12;+77777777777;jksghhsdkj@gmail.com; +Петров Петр Петрович;Мужчина;1234-02-23;+77777777777;jksghhsdkj@gmail.com; +Зайцева Анжела Игоревна;Мужчина;1999-05-05;+74444444444;aksjfhfka@mail.ru; +Билай Станислав Романович;Мужчина;1234-12-12;+79493761924;stasbilay02@yandex.ru; +Зайцева Анжела Игоревна;Мужчина;1234-12-12;+74444444444;aksjfhfka@mail.ru; diff --git a/form.html b/form.html new file mode 100644 index 0000000..2213a14 --- /dev/null +++ b/form.html @@ -0,0 +1,37 @@ + + + + + Form ФИО + + +
+ Фамилия:
+

+ Имя:
+

+ Отчество (если есть):
+

+ + Дата Рождения:
+

+ + Ваш пол:
+ Мужчина + Женжина

+ + Номер телефона (Например 1234567890):
+ +

+ + Email адрес:
+

+ + + +
+ + \ No newline at end of file diff --git a/functions.php b/functions.php new file mode 100644 index 0000000..b3d9bbc --- /dev/null +++ b/functions.php @@ -0,0 +1 @@ +phoneNumber = $phoneNumber; $this->email = $email; } - public function writeInformation() + + public function fullInformation() { - echo $this->foolName . ";" . $this->gender . ";" . $this->DateOfBirthday . ";" . $this->countryCode . $this->phoneNumber . ";" . $this->email . ";"; + return $this->foolName . ";" . $this->gender . ";" . $this->DateOfBirthday . ";" . $this->countryCode . $this->phoneNumber . ";" . $this->email . ";"; } } diff --git a/src/additionallyInfo.php b/src/additionallyInfo.php new file mode 100644 index 0000000..604dd25 --- /dev/null +++ b/src/additionallyInfo.php @@ -0,0 +1,6 @@ +