69 -> 70
This commit is contained in:
parent
3e98a8e1a7
commit
c225b329a2
1
.idea/php.xml
generated
1
.idea/php.xml
generated
@ -10,6 +10,7 @@
|
|||||||
<option name="highlightLevel" value="WARNING" />
|
<option name="highlightLevel" value="WARNING" />
|
||||||
<option name="transferred" value="true" />
|
<option name="transferred" value="true" />
|
||||||
</component>
|
</component>
|
||||||
|
<component name="PhpProjectSharedConfiguration" php_language_level="8.3" />
|
||||||
<component name="PhpStanOptionsConfiguration">
|
<component name="PhpStanOptionsConfiguration">
|
||||||
<option name="transferred" value="true" />
|
<option name="transferred" value="true" />
|
||||||
</component>
|
</component>
|
||||||
|
3
project.md
Normal file
3
project.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
www = david setek tutorial 2023 php
|
||||||
|
|
||||||
|
www1 = základy PHP itnetvork
|
3
www/assets/componets/footer.php
Normal file
3
www/assets/componets/footer.php
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<footer>
|
||||||
|
<p>© Všechna práva vyhrazena, Lukáš Kaňka, 2024</p>
|
||||||
|
</footer>
|
8
www/assets/componets/header.php
Normal file
8
www/assets/componets/header.php
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
|
||||||
|
<header>
|
||||||
|
<ul>
|
||||||
|
<li><a href="">molestie honestatis error</a> </li>
|
||||||
|
<li><a href="">tempus ex petentium</a> </li>
|
||||||
|
<li><a href="">est cursus dictas</a> </li>
|
||||||
|
</ul>
|
||||||
|
</header>
|
25
www/cenik.php
Normal file
25
www/cenik.php
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
?>
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Ceník našich služeb</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<?php include "./assets/componets/header.php" ?>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
$students = ["Harry", "Ron", "Hermione"];
|
||||||
|
?>
|
||||||
|
<ul>
|
||||||
|
<?php foreach ($students as $one_student): ?>
|
||||||
|
<li><?php echo $one_student ?></li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ul>
|
||||||
|
<?php include "./assets/componets/footer.php" ?>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
@ -1,34 +1,38 @@
|
|||||||
<!DOCTYPE html>
|
<?php
|
||||||
<html lang="cs">
|
echo "Lukáš";
|
||||||
<head>
|
echo strlen("Lukáš");
|
||||||
<meta charset="UTF-8">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
?>
|
||||||
<title>Naše první stránky v PHP</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
<!DOCTYPE html>
|
||||||
<header>
|
<html lang="cs">
|
||||||
<h1>Lucas gaming company</h1>
|
<head>
|
||||||
</header>
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<main>
|
<title>Naše první stránky v PHP</title>
|
||||||
|
</head>
|
||||||
<section>
|
<body>
|
||||||
<h1>Historie firmy</h1>
|
<?php include "./assets/componets/header.php" ?>
|
||||||
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Quod ad, voluptatem officia alias illo ipsum libero
|
|
||||||
iste sed expedita, nemo rem reprehenderit doloremque quo asperiores soluta! Cupiditate fuga vel in.</p>
|
<main>
|
||||||
</section>
|
|
||||||
|
<section>
|
||||||
<h1>Odkaz na další stránky webu</h1>
|
<h1>Historie firmy</h1>
|
||||||
<a href="sluzby.php">Naše služby</a>
|
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Quod ad, voluptatem officia alias illo ipsum libero
|
||||||
|
iste sed expedita, nemo rem reprehenderit doloremque quo asperiores soluta! Cupiditate fuga vel in.</p>
|
||||||
<a href="kontakt.php">Kontaktujte nás</a>
|
</section>
|
||||||
<img src="img/obr1.webp" alt="">
|
|
||||||
|
<h1>Odkaz na další stránky webu</h1>
|
||||||
|
<a href="sluzby.php">Naše služby</a>
|
||||||
</main>
|
<a href="cenik.php">Ceník</a>
|
||||||
|
<a href="kontakt.php">Kontaktujte nás</a>
|
||||||
<footer>
|
<img src="img/obr1.webp" alt="">
|
||||||
<p>© Všechna práva vyhrazena, Lukáš Kaňka, 2024</p>
|
|
||||||
</footer>
|
|
||||||
</body>
|
</main>
|
||||||
|
|
||||||
|
<?php include "./assets/componets/footer.php" ?>
|
||||||
|
|
||||||
|
</body>
|
||||||
</html>
|
</html>
|
@ -1,54 +1,59 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="cs">
|
<html lang="cs">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width= , initial-scale=1.0">
|
<meta name="viewport" content="width= , initial-scale=1.0">
|
||||||
<title>Kontaktujte nás</title>
|
<title>Kontaktujte nás</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header> </header>
|
<?php include "./assets/componets/header.php" ?>
|
||||||
<main>
|
|
||||||
<section>
|
<main>
|
||||||
<h2>Formulář</h2>
|
<section>
|
||||||
<form>
|
<h2>Formulář</h2>
|
||||||
<input type="text" name="first_name" placeholder="Křestní jméno"> <br>
|
<form>
|
||||||
<input type="text" name="second_name" placeholder="Příjmení"> <br> <input
|
<input type="text" name="first_name" placeholder="Křestní jméno"> <br>
|
||||||
type="password" name="password" placeholder="Heslo"> <br> <input
|
<input type="text" name="second_name" placeholder="Příjmení"> <br> <input
|
||||||
type="email" name="email" placeholder="E-mail"> <br> <input
|
type="password" name="password" placeholder="Heslo"> <br> <input
|
||||||
type="date" name="date"> <br> <input type="hidden" name="form-type"
|
type="email" name="email" placeholder="E-mail"> <br> <input
|
||||||
value="kontakt">
|
type="date" name="date"> <br> <input type="hidden" name="form-type"
|
||||||
<textarea name="message" placeholder="Vaše zpráva"></textarea>
|
value="kontakt">
|
||||||
<br> <input type="checkbox" value="tricko">Tričko zdarma <br> <input
|
<br>
|
||||||
type="checkbox" value="zalozka">Záložka do knížky <br> <input
|
<input type="number" name="weight" min="10" max="15" >
|
||||||
type="checkbox" value="el-kmiha">Elektronická kniha <br> <select
|
<br>
|
||||||
name="color[]" multiple>
|
<input type="url">
|
||||||
<optgroup label="hlavní barva">
|
<br>
|
||||||
<option value="red">Červená</option>
|
<textarea name="message" placeholder="Vaše zpráva"></textarea>
|
||||||
<option value="green">Zelená</option>
|
<br> <input type="checkbox" value="tricko">Tričko zdarma <br> <input
|
||||||
<option value="yellow">Žlutá</option>
|
type="checkbox" value="zalozka">Záložka do knížky <br> <input
|
||||||
</optgroup>
|
type="checkbox" value="el-kmiha">Elektronická kniha <br> <select
|
||||||
|
name="color[]" multiple>
|
||||||
<optgroup label="barva okraje">
|
<optgroup label="hlavní barva">
|
||||||
<option value="red2">Červená</option>
|
<option value="red">Červená</option>
|
||||||
<option value="green2">Zelená</option>
|
<option value="green">Zelená</option>
|
||||||
<option value="yellow2">Žlutá</option>
|
<option value="yellow">Žlutá</option>
|
||||||
</optgroup>
|
</optgroup>
|
||||||
</select> <br> <input type="radio" name="country" value="cr">ČR <br>
|
|
||||||
<input type="radio" name="country" value="germany">Německo <br> <input
|
<optgroup label="barva okraje">
|
||||||
type="radio" name="country" value="portugal">Portugalsko <br>
|
<option value="red2">Červená</option>
|
||||||
|
<option value="green2">Zelená</option>
|
||||||
<button>Odeslat</button>
|
<option value="yellow2">Žlutá</option>
|
||||||
</form>
|
</optgroup>
|
||||||
</section>
|
</select> <br> <input type="radio" name="country" value="cr">ČR <br>
|
||||||
<section>
|
<input type="radio" name="country" value="germany">Německo <br> <input
|
||||||
<iframe style="border: none" src="https://frame.mapy.cz/s/bekucuzata"
|
type="radio" name="country" value="portugal">Portugalsko <br>
|
||||||
width="400" height="280" frameborder="0"></iframe>
|
|
||||||
<a href="index.php">Zpět na úvodní stránku</a>
|
<button>Odeslat</button>
|
||||||
</section>
|
</form>
|
||||||
</main>
|
</section>
|
||||||
|
<section>
|
||||||
<footer>
|
<iframe style="border: none" src="https://frame.mapy.cz/s/bekucuzata"
|
||||||
<p>© Všechna práva vyhrazena, Lukáš Kaňka, 2024</p>
|
width="400" height="280" frameborder="0"></iframe>
|
||||||
</footer>
|
<a href="index.php">Zpět na úvodní stránku</a>
|
||||||
</body>
|
</section>
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<?php include "./assets/componets/footer.php" ?>
|
||||||
|
|
||||||
|
</body>
|
||||||
</html>
|
</html>
|
31
www/odkladiste.php
Normal file
31
www/odkladiste.php
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
<?php
|
||||||
|
$hour = 8;
|
||||||
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<?php if ($hour < 9): ?>
|
||||||
|
<p>Dobré ráno</p>
|
||||||
|
<?php elseif ($hour < 12): ?>
|
||||||
|
<p>Dobré dopoledne</p>
|
||||||
|
<?php elseif ($hour === 12): ?>{
|
||||||
|
<p>Dobré poledne</p>
|
||||||
|
<?php elseif ($hour < 18): ?>
|
||||||
|
<p>Dobré odpoledne</p>
|
||||||
|
<?php else: ?>
|
||||||
|
<p>Dobrý večer</p>
|
||||||
|
<?php endif; ?>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<?php
|
||||||
|
$students = ["Harry", "Ron", "Hermione"];
|
||||||
|
?>
|
||||||
|
<ul>
|
||||||
|
<?php foreach ($students as $one_student): ?>
|
||||||
|
<li><?php echo $one_student ?></li>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</body>
|
@ -1,26 +1,22 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="cs">
|
<html lang="cs">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Služby společnosti Lucas a spol.</title>
|
<title>Služby společnosti Lucas a spol.</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<?php include "./assets/componets/header.php" ?>
|
||||||
<h1>Služby</h1>
|
|
||||||
</header>
|
|
||||||
|
<main>
|
||||||
<main>
|
|
||||||
|
<section>
|
||||||
<section>
|
<iframe width="560" height="315" src="https://www.youtube.com/embed/ScPTU6I2eDI?si=JnHW-CyA5vfH2fU5" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
|
||||||
<iframe width="560" height="315" src="https://www.youtube.com/embed/ScPTU6I2eDI?si=JnHW-CyA5vfH2fU5" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
|
</section>
|
||||||
</section>
|
|
||||||
|
</main>
|
||||||
</main>
|
|
||||||
|
<?php include "./assets/componets/footer.php" ?>
|
||||||
<footer>
|
</body>
|
||||||
<p>© Všechna práva vyhrazena, Lukáš Kaňka, 2024</p>
|
|
||||||
|
|
||||||
</footer>
|
|
||||||
</body>
|
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue
Block a user