mirror of
https://github.com/FlyInTheBox/31TSAI.git
synced 2025-01-03 11:04:31 +01:00
l
This commit is contained in:
parent
7a8b55262c
commit
85e8e68332
2 changed files with 29 additions and 2 deletions
|
@ -16,14 +16,15 @@
|
|||
|
||||
th {
|
||||
background-color: burlywood;
|
||||
border: 1px dotted black;
|
||||
border: 1px dashed black;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
td {
|
||||
border: 1px dotted black;
|
||||
border: 1px dashed black;
|
||||
padding: 5px;
|
||||
text-align: center;
|
||||
vertical-align: center;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
|
26
Zadanie 21.12.2022/index.php
Normal file
26
Zadanie 21.12.2022/index.php
Normal file
|
@ -0,0 +1,26 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport"
|
||||
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>Kalendarz</title>
|
||||
</head>
|
||||
<body>
|
||||
<table>
|
||||
<tr>
|
||||
<?PHP
|
||||
$x = date("t");
|
||||
for ($i = 1; $i < $x; $i++) {
|
||||
echo "<td>" . $i . "</td>";
|
||||
$z=$i%7;
|
||||
if ($z=0){
|
||||
echo "</tr><tr>";
|
||||
}
|
||||
}
|
||||
?>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in a new issue