From b703505447c3f4dc2e2f5380439904ab7c6a3814 Mon Sep 17 00:00:00 2001
From: vadym Novoselskyi
Date: Fri, 23 Aug 2024 15:24:49 +0200
Subject: [PATCH] Add m1
---
www/public/M1/01/handle.php | 16 ++++++++++++
www/public/M1/01/index.php | 18 +++++++++++++
www/public/M1/02/handle.php | 17 ++++++++++++
www/public/M1/02/index.php | 22 ++++++++++++++++
www/public/M1/03/calculate.php | 16 ++++++++++++
www/public/M1/03/index.php | 17 ++++++++++++
www/public/M1/04/handle.php | 15 +++++++++++
www/public/M1/04/index.php | 19 ++++++++++++++
www/public/M1/05/index.php | 36 +++++++++++++++++++++++++
www/public/M1/05/result.php | 24 +++++++++++++++++
www/public/M1/06/index.php | 48 ++++++++++++++++++++++++++++++++++
www/public/M1/06/result.php | 35 +++++++++++++++++++++++++
www/public/M1/index.php | 11 --------
13 files changed, 283 insertions(+), 11 deletions(-)
create mode 100644 www/public/M1/01/handle.php
create mode 100644 www/public/M1/01/index.php
create mode 100644 www/public/M1/02/handle.php
create mode 100644 www/public/M1/02/index.php
create mode 100644 www/public/M1/03/calculate.php
create mode 100644 www/public/M1/03/index.php
create mode 100644 www/public/M1/04/handle.php
create mode 100644 www/public/M1/04/index.php
create mode 100644 www/public/M1/05/index.php
create mode 100644 www/public/M1/05/result.php
create mode 100644 www/public/M1/06/index.php
create mode 100644 www/public/M1/06/result.php
delete mode 100644 www/public/M1/index.php
diff --git a/www/public/M1/01/handle.php b/www/public/M1/01/handle.php
new file mode 100644
index 0000000..7a85867
--- /dev/null
+++ b/www/public/M1/01/handle.php
@@ -0,0 +1,16 @@
+
+
+
+
+
+ Document
+
+
+Valutan i kronor
+$dollar $ = $sek kr
";
+?>
+
+
\ No newline at end of file
diff --git a/www/public/M1/01/index.php b/www/public/M1/01/index.php
new file mode 100644
index 0000000..553eaee
--- /dev/null
+++ b/www/public/M1/01/index.php
@@ -0,0 +1,18 @@
+
+
+
+
+
+ M1-test
+
+
+
+
+
\ No newline at end of file
diff --git a/www/public/M1/02/handle.php b/www/public/M1/02/handle.php
new file mode 100644
index 0000000..171d9c6
--- /dev/null
+++ b/www/public/M1/02/handle.php
@@ -0,0 +1,17 @@
+
+
+
+
+
+ Years to pensoin
+
+
+Years to pensoin
+$name has $to_pension years to pension";
+?>
+
+
\ No newline at end of file
diff --git a/www/public/M1/02/index.php b/www/public/M1/02/index.php
new file mode 100644
index 0000000..086e19c
--- /dev/null
+++ b/www/public/M1/02/index.php
@@ -0,0 +1,22 @@
+
+
+
+
+
+ M1-test
+
+
+
+
+
\ No newline at end of file
diff --git a/www/public/M1/03/calculate.php b/www/public/M1/03/calculate.php
new file mode 100644
index 0000000..797483d
--- /dev/null
+++ b/www/public/M1/03/calculate.php
@@ -0,0 +1,16 @@
+
+
+
+
+
+ Calculation Result
+
+
+ $n1 + $n2 = $sum"
+ ?>
+
+
\ No newline at end of file
diff --git a/www/public/M1/03/index.php b/www/public/M1/03/index.php
new file mode 100644
index 0000000..04eb928
--- /dev/null
+++ b/www/public/M1/03/index.php
@@ -0,0 +1,17 @@
+
+
+
+
+Matematik-test
+
+
+
+
diff --git a/www/public/M1/04/handle.php b/www/public/M1/04/handle.php
new file mode 100644
index 0000000..10ae9f4
--- /dev/null
+++ b/www/public/M1/04/handle.php
@@ -0,0 +1,15 @@
+
+
+
+
+
+ Result
+
+
+ Name - $name; Age - $age"
+ ?>
+
+
\ No newline at end of file
diff --git a/www/public/M1/04/index.php b/www/public/M1/04/index.php
new file mode 100644
index 0000000..b0ee55f
--- /dev/null
+++ b/www/public/M1/04/index.php
@@ -0,0 +1,19 @@
+
+
+
+
+Send data via url
+
+
+
+
diff --git a/www/public/M1/05/index.php b/www/public/M1/05/index.php
new file mode 100644
index 0000000..565e546
--- /dev/null
+++ b/www/public/M1/05/index.php
@@ -0,0 +1,36 @@
+
+
+
+
+Send data via url
+
+
diff --git a/www/public/M1/05/result.php b/www/public/M1/05/result.php
new file mode 100644
index 0000000..75fb499
--- /dev/null
+++ b/www/public/M1/05/result.php
@@ -0,0 +1,24 @@
+
+
+
+
+
+ Result
+
+
+ Questions got right = $points"
+ ?>
+
+
\ No newline at end of file
diff --git a/www/public/M1/06/index.php b/www/public/M1/06/index.php
new file mode 100644
index 0000000..94de5bb
--- /dev/null
+++ b/www/public/M1/06/index.php
@@ -0,0 +1,48 @@
+
+
+
+
+Send data via url
+
+
diff --git a/www/public/M1/06/result.php b/www/public/M1/06/result.php
new file mode 100644
index 0000000..e1783ce
--- /dev/null
+++ b/www/public/M1/06/result.php
@@ -0,0 +1,35 @@
+
+
+
+
+
+ Result
+
+
+ = 5) $result = "Bra, du behärskar det mesta";
+ else if($points >= 3) $result = "Godkänd";
+ else $result = "Läs på mer och försök igen";
+
+
+ echo "$result, poäng - $points
"
+ ?>
+
+
\ No newline at end of file
diff --git a/www/public/M1/index.php b/www/public/M1/index.php
deleted file mode 100644
index 30ac8a1..0000000
--- a/www/public/M1/index.php
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
- M1-test
-
-
-
-
-
\ No newline at end of file