diff --git a/znamka_hodnoceni_webu/action_form.php b/znamka_hodnoceni_webu/action_form.php new file mode 100644 index 0000000..d16a34f --- /dev/null +++ b/znamka_hodnoceni_webu/action_form.php @@ -0,0 +1,31 @@ +web: ".test_input($name).""; +$femail = "

od: ".test_input($email)."

"; +$ftext = "

".test_input($text)."

"; +$fdate = "
". $date ."
"; + +$full = $fname . $femail . $ftext . $fdate . "
"; + +$myfile = fopen("rating.txt","a") or die("Nelze otevřít"); + +fwrite($myfile, $full); +fclose($myfile); + +header("Location: /list.php"); \ No newline at end of file diff --git a/znamka_hodnoceni_webu/form.php b/znamka_hodnoceni_webu/form.php new file mode 100644 index 0000000..101d3d1 --- /dev/null +++ b/znamka_hodnoceni_webu/form.php @@ -0,0 +1,31 @@ + + + + + + + + <?php echo $title; ?> + + +

+ + + +
+
+
+ +
+
+ +
+ +
+
+ Škrabánek @ 2022y +
+ + \ No newline at end of file diff --git a/znamka_hodnoceni_webu/index.php b/znamka_hodnoceni_webu/index.php new file mode 100644 index 0000000..8d69a9b --- /dev/null +++ b/znamka_hodnoceni_webu/index.php @@ -0,0 +1,24 @@ + + + + + + + + <?php echo $title; ?> + + +

+

Lorem ipsum dolor sit amet consectetur adipisicing elit. Asperiores, placeat! Veritatis soluta praesentium repudiandae error. Perspiciatis suscipit dolor repellendus voluptatem vitae quisquam cum odio, inventore atque minus quaerat hic earum? +

+ + + +
+
+ Škrabánek @ 2022 +
+ + \ No newline at end of file diff --git a/znamka_hodnoceni_webu/list.php b/znamka_hodnoceni_webu/list.php new file mode 100644 index 0000000..2dee034 --- /dev/null +++ b/znamka_hodnoceni_webu/list.php @@ -0,0 +1,26 @@ + + + + + + + + <?php echo $title; ?> + + +

+ + +
+ + + \ No newline at end of file diff --git a/znamka_hodnoceni_webu/menu.php b/znamka_hodnoceni_webu/menu.php new file mode 100644 index 0000000..223b649 --- /dev/null +++ b/znamka_hodnoceni_webu/menu.php @@ -0,0 +1,5 @@ +
+ + + +
\ No newline at end of file diff --git a/znamka_hodnoceni_webu/rating.txt b/znamka_hodnoceni_webu/rating.txt new file mode 100644 index 0000000..ffed23c --- /dev/null +++ b/znamka_hodnoceni_webu/rating.txt @@ -0,0 +1 @@ +

web: google.com

od: g@man.com

Velmi hezké

08:39:06 - 26.01.2023

web: Jmeno Prijmeni

od: lobem57394@falkyz.com

lorem

08:56:38 - 26.01.2023

web: asd

od: lobem57394@falkyz.com

qwe

08:59:50 - 26.01.2023

web: asd

od: lobem57394@falkyz.com

qwe

08:59:57 - 26.01.2023

\ No newline at end of file