69 -> 70
This commit is contained in:
		
							
								
								
									
										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,3 +1,10 @@
 | 
			
		||||
<?php
 | 
			
		||||
echo "Lukáš";
 | 
			
		||||
echo strlen("Lukáš");
 | 
			
		||||
 | 
			
		||||
?>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
<!DOCTYPE html>
 | 
			
		||||
<html lang="cs">
 | 
			
		||||
<head>
 | 
			
		||||
@@ -6,9 +13,7 @@
 | 
			
		||||
    <title>Naše první stránky v PHP</title>
 | 
			
		||||
</head>
 | 
			
		||||
<body>
 | 
			
		||||
<header>
 | 
			
		||||
    <h1>Lucas gaming company</h1>
 | 
			
		||||
</header>
 | 
			
		||||
<?php include "./assets/componets/header.php" ?>
 | 
			
		||||
 | 
			
		||||
<main>
 | 
			
		||||
 | 
			
		||||
@@ -20,15 +25,14 @@
 | 
			
		||||
 | 
			
		||||
    <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>
 | 
			
		||||
 | 
			
		||||
<footer>
 | 
			
		||||
    <p>© Všechna práva vyhrazena, Lukáš Kaňka, 2024</p>
 | 
			
		||||
</footer>
 | 
			
		||||
<?php include "./assets/componets/footer.php" ?>
 | 
			
		||||
 | 
			
		||||
</body>
 | 
			
		||||
</html>
 | 
			
		||||
@@ -6,7 +6,8 @@
 | 
			
		||||
<title>Kontaktujte nás</title>
 | 
			
		||||
</head>
 | 
			
		||||
<body>
 | 
			
		||||
	<header> </header>
 | 
			
		||||
<?php include "./assets/componets/header.php" ?>
 | 
			
		||||
 | 
			
		||||
	<main>
 | 
			
		||||
		<section>
 | 
			
		||||
			<h2>Formulář</h2>
 | 
			
		||||
@@ -17,6 +18,11 @@
 | 
			
		||||
					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
 | 
			
		||||
@@ -47,8 +53,7 @@
 | 
			
		||||
		</section>
 | 
			
		||||
	</main>
 | 
			
		||||
 | 
			
		||||
	<footer>
 | 
			
		||||
		<p>© Všechna práva vyhrazena, Lukáš Kaňka, 2024</p>
 | 
			
		||||
	</footer>
 | 
			
		||||
<?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>
 | 
			
		||||
@@ -6,9 +6,8 @@
 | 
			
		||||
    <title>Služby společnosti Lucas a spol.</title>
 | 
			
		||||
</head>
 | 
			
		||||
<body>
 | 
			
		||||
<header>
 | 
			
		||||
<h1>Služby</h1>
 | 
			
		||||
</header>
 | 
			
		||||
<?php include "./assets/componets/header.php" ?>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
<main>
 | 
			
		||||
 | 
			
		||||
@@ -18,9 +17,6 @@
 | 
			
		||||
 | 
			
		||||
</main>
 | 
			
		||||
 | 
			
		||||
<footer>
 | 
			
		||||
<p>© Všechna práva vyhrazena, Lukáš Kaňka, 2024</p>
 | 
			
		||||
 | 
			
		||||
</footer>
 | 
			
		||||
<?php include "./assets/componets/footer.php" ?>
 | 
			
		||||
</body>
 | 
			
		||||
</html>
 | 
			
		||||
		Reference in New Issue
	
	Block a user