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="transferred" value="true" />
|
||||
</component>
|
||||
<component name="PhpProjectSharedConfiguration" php_language_level="8.3" />
|
||||
<component name="PhpStanOptionsConfiguration">
|
||||
<option name="transferred" value="true" />
|
||||
</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>
|
||||
<html lang="cs">
|
||||
<head>
|
||||
<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>
|
||||
<header>
|
||||
<h1>Lucas gaming company</h1>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
|
||||
<section>
|
||||
<h1>Historie firmy</h1>
|
||||
<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>
|
||||
</section>
|
||||
|
||||
<h1>Odkaz na další stránky webu</h1>
|
||||
<a href="sluzby.php">Naše služby</a>
|
||||
|
||||
<a href="kontakt.php">Kontaktujte nás</a>
|
||||
<img src="img/obr1.webp" alt="">
|
||||
|
||||
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<p>© Všechna práva vyhrazena, Lukáš Kaňka, 2024</p>
|
||||
</footer>
|
||||
</body>
|
||||
<?php
|
||||
echo "Lukáš";
|
||||
echo strlen("Lukáš");
|
||||
|
||||
?>
|
||||
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="cs">
|
||||
<head>
|
||||
<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>
|
||||
<?php include "./assets/componets/header.php" ?>
|
||||
|
||||
<main>
|
||||
|
||||
<section>
|
||||
<h1>Historie firmy</h1>
|
||||
<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>
|
||||
</section>
|
||||
|
||||
<h1>Odkaz na další stránky webu</h1>
|
||||
<a href="sluzby.php">Naše služby</a>
|
||||
<a href="cenik.php">Ceník</a>
|
||||
<a href="kontakt.php">Kontaktujte nás</a>
|
||||
<img src="img/obr1.webp" alt="">
|
||||
|
||||
|
||||
</main>
|
||||
|
||||
<?php include "./assets/componets/footer.php" ?>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -1,54 +1,59 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="cs">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width= , initial-scale=1.0">
|
||||
<title>Kontaktujte nás</title>
|
||||
</head>
|
||||
<body>
|
||||
<header> </header>
|
||||
<main>
|
||||
<section>
|
||||
<h2>Formulář</h2>
|
||||
<form>
|
||||
<input type="text" name="first_name" placeholder="Křestní jméno"> <br>
|
||||
<input type="text" name="second_name" placeholder="Příjmení"> <br> <input
|
||||
type="password" name="password" placeholder="Heslo"> <br> <input
|
||||
type="email" name="email" placeholder="E-mail"> <br> <input
|
||||
type="date" name="date"> <br> <input type="hidden" name="form-type"
|
||||
value="kontakt">
|
||||
<textarea name="message" placeholder="Vaše zpráva"></textarea>
|
||||
<br> <input type="checkbox" value="tricko">Tričko zdarma <br> <input
|
||||
type="checkbox" value="zalozka">Záložka do knížky <br> <input
|
||||
type="checkbox" value="el-kmiha">Elektronická kniha <br> <select
|
||||
name="color[]" multiple>
|
||||
<optgroup label="hlavní barva">
|
||||
<option value="red">Červená</option>
|
||||
<option value="green">Zelená</option>
|
||||
<option value="yellow">Žlutá</option>
|
||||
</optgroup>
|
||||
|
||||
<optgroup label="barva okraje">
|
||||
<option value="red2">Červená</option>
|
||||
<option value="green2">Zelená</option>
|
||||
<option value="yellow2">Žlutá</option>
|
||||
</optgroup>
|
||||
</select> <br> <input type="radio" name="country" value="cr">ČR <br>
|
||||
<input type="radio" name="country" value="germany">Německo <br> <input
|
||||
type="radio" name="country" value="portugal">Portugalsko <br>
|
||||
|
||||
<button>Odeslat</button>
|
||||
</form>
|
||||
</section>
|
||||
<section>
|
||||
<iframe style="border: none" src="https://frame.mapy.cz/s/bekucuzata"
|
||||
width="400" height="280" frameborder="0"></iframe>
|
||||
<a href="index.php">Zpět na úvodní stránku</a>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<p>© Všechna práva vyhrazena, Lukáš Kaňka, 2024</p>
|
||||
</footer>
|
||||
</body>
|
||||
<!DOCTYPE html>
|
||||
<html lang="cs">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width= , initial-scale=1.0">
|
||||
<title>Kontaktujte nás</title>
|
||||
</head>
|
||||
<body>
|
||||
<?php include "./assets/componets/header.php" ?>
|
||||
|
||||
<main>
|
||||
<section>
|
||||
<h2>Formulář</h2>
|
||||
<form>
|
||||
<input type="text" name="first_name" placeholder="Křestní jméno"> <br>
|
||||
<input type="text" name="second_name" placeholder="Příjmení"> <br> <input
|
||||
type="password" name="password" placeholder="Heslo"> <br> <input
|
||||
type="email" name="email" placeholder="E-mail"> <br> <input
|
||||
type="date" name="date"> <br> <input type="hidden" name="form-type"
|
||||
value="kontakt">
|
||||
<br>
|
||||
<input type="number" name="weight" min="10" max="15" >
|
||||
<br>
|
||||
<input type="url">
|
||||
<br>
|
||||
<textarea name="message" placeholder="Vaše zpráva"></textarea>
|
||||
<br> <input type="checkbox" value="tricko">Tričko zdarma <br> <input
|
||||
type="checkbox" value="zalozka">Záložka do knížky <br> <input
|
||||
type="checkbox" value="el-kmiha">Elektronická kniha <br> <select
|
||||
name="color[]" multiple>
|
||||
<optgroup label="hlavní barva">
|
||||
<option value="red">Červená</option>
|
||||
<option value="green">Zelená</option>
|
||||
<option value="yellow">Žlutá</option>
|
||||
</optgroup>
|
||||
|
||||
<optgroup label="barva okraje">
|
||||
<option value="red2">Červená</option>
|
||||
<option value="green2">Zelená</option>
|
||||
<option value="yellow2">Žlutá</option>
|
||||
</optgroup>
|
||||
</select> <br> <input type="radio" name="country" value="cr">ČR <br>
|
||||
<input type="radio" name="country" value="germany">Německo <br> <input
|
||||
type="radio" name="country" value="portugal">Portugalsko <br>
|
||||
|
||||
<button>Odeslat</button>
|
||||
</form>
|
||||
</section>
|
||||
<section>
|
||||
<iframe style="border: none" src="https://frame.mapy.cz/s/bekucuzata"
|
||||
width="400" height="280" frameborder="0"></iframe>
|
||||
<a href="index.php">Zpět na úvodní stránku</a>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<?php include "./assets/componets/footer.php" ?>
|
||||
|
||||
</body>
|
||||
</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>
|
||||
<html lang="cs">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Služby společnosti Lucas a spol.</title>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>Služby</h1>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
|
||||
<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>
|
||||
</section>
|
||||
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<p>© Všechna práva vyhrazena, Lukáš Kaňka, 2024</p>
|
||||
|
||||
</footer>
|
||||
</body>
|
||||
<!DOCTYPE html>
|
||||
<html lang="cs">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Služby společnosti Lucas a spol.</title>
|
||||
</head>
|
||||
<body>
|
||||
<?php include "./assets/componets/header.php" ?>
|
||||
|
||||
|
||||
<main>
|
||||
|
||||
<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>
|
||||
</section>
|
||||
|
||||
</main>
|
||||
|
||||
<?php include "./assets/componets/footer.php" ?>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user