diff --git a/include/header.php b/include/header.php index db0c9d7..ee7d56c 100644 --- a/include/header.php +++ b/include/header.php @@ -28,8 +28,9 @@ Autor - diff --git a/include/search.php b/include/search.php new file mode 100644 index 0000000..1aef8c2 --- /dev/null +++ b/include/search.php @@ -0,0 +1,12 @@ +Hledaný výraz: " . $needle . "

"; +} +else { + echo '
Chybí hledaný výraz!!!
'; + $needle = ""; +} + +?> diff --git a/index.php b/index.php index e3121fb..ff79c16 100644 --- a/index.php +++ b/index.php @@ -16,6 +16,10 @@ elseif ($page == "author") { $title = "Autor"; $content = "author.php"; } +elseif ($page == "search") { + $title = "Hledání"; + $content = "search.php"; +} else { $title = "NENÍ DEFINOVÁNO"; $content = "error.php";