Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge 100 Zahlen #1

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .idea/b3_xampp_container.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions htdocs/.idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions htdocs/.idea/htdocs.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions htdocs/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions htdocs/.idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions htdocs/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

90 changes: 90 additions & 0 deletions htdocs/Zutrittsversuche.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
<!DOCTYPE html>
<html lang="de">

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<title>zutrittsversuche</title>
<link rel="stylesheet" href="css/Nettmann.css">
</head>

<body>

<header class="nav">
<ul>
<li><a href=""> Zutrittsversuche </a></li>
<li><a href=""> Mitarbeiter </a></li>
<li><a href=""> Mietwagen </a></li>
</ul>
<img class="logo" src="img/Nettmann_logo.png" alt="Nettmann_logo">
</header>

<h1>Zutrittsversuche</h1>
<main>
<table>
<thead>
<tr>
<th>ID</th>
<th>Uhrzeit</th>
<th>Chip</th>
<th>Chip Besitzer</th>
<th>Tür</th>
<th>Ergebnis</th>
</tr>
</thead>
<tbody>
<tr>
<td>99</td>
<td>Uhrzeit</td>
<td>3</td>
<td>Name</td>
<td>Eingang</td>
<td>Ergebnis Zustand</td>
</tr>
<tr>
<td>100</td>
<td>Uhrzeit</td>
<td>3</td>
<td>Name</td>
<td>Eingang</td>
<td>Ergebnis Zustand</td>
</tr>
<tr>
<td>101</td>
<td>Uhrzeit</td>
<td>3</td>
<td>Name</td>
<td>Eingang</td>
<td>Ergebnis Zustand</td>
</tr>
</tbody>
</table>
<p> Es ist zu beachten, dass der RFID System sich noch in der Test-Phase befindet!</p>
<hr>
</main>

<footer>

<div class="Kontakt">
<h3> Kontakt:</h3>
<ul>
<li> Ottostraße 22, 90762 Fürth</li>
<li> tel:045164564656</li>
<li> email: lesjhbf@kdsjf.de</li>
</ul>
</div>

<div class="Bank">
<h3> Bankdaten: </h3>
<ul>
<li> IBAN:</li>
<li> BIC:</li>
<li> Bank:</li>
</ul>
</div>
</footer>
</body>
</html>
120 changes: 120 additions & 0 deletions htdocs/css/Nettmann.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
/*
Version 1.0
Datum: 2022-08-02
Ersteller: Rommel


/*Horizontale Linie blau hinterlegen*/

hr {
border: 1px solid #0071BD;
}

/*Navigationsmenü*/
.nav {
display: flex;
align-items: center;
justify-content: space-between;
background-color: lightgrey; /* Hintergrundfarbe für die Navigation */
border-top: solid #0071BD; /* Rahmenlinie oben */
border-bottom: solid #0071BD; /* Rahmenlinie unten */
margin: 0; /* Keinen Außenabstand */
}

.nav li{
display: inline; /* Listenelemente nebeneinander */
list-style-type: none; /* Aufzählungszeichen entfernen */
}

.nav, a{
color: #0071BD; /* Schriftfarbe schwarz */
text-decoration: none; /* Unterstreichung entfernen */
padding: 4px 8px; /* oben/unten 4px, re/li 8px */
}

/* Tabelle formatieren */
/*---------------------*/
/* Größe der Tabelle */
table {
width:80%;
}

/* Tabellenrahmen*/
table, th, td {
border-collapse:collapse;
border: 1px solid black;
}

/* Hintergrund der Kopfzeile der Tabelle*/
th {
background-color:lightgrey;
text-align:left;
}

/* Erste und 3te Zelle/Spalte rechtsbündig - Klasse in table-tag integrieren*/
#tblZutrittsversuche td:nth-child(1),
#tblZutrittsversuche td:nth-child(3) {
text-align:right;
}


/* Layout formatieren */
/*---------------------*/
/*Die folgenden Klasse kann zur Formatierung der Kontakt- und Bankdaten verwendet werden.*/
.row {
display: flex;
}

.column {
flex: 50%;
padding-left:20px;
display:inline-block;
}

.column h3{
font-weight: bold;
}


/*##########################################*/
/*########### TODO ################*/
/*##########################################*/
/*1. Alle Überschriften sollen in Farbe #0071BD dargestellt werden */


/*2. Das Logo soll rechtsbündig dargestellt werden und auf Höhe der Navigations-Links sein. */


/*3. Die folgenden Klassen (abgelehnt/gestattet) sind anzulegen und sollen zur Formatierung des Ergebnisses verwendet werden.
abgelehnt ist rot und gestattet grün*/
.abgelehnt {
color:red;
}
.gestattet {
color: green;
}

/***** LÖSUNG **************/

/*********Aufgabe1 ***********/
h1, h2, h3 {
color: #0071BD;
}

/*********Aufgabe2 ***********/

.logo {
float: right;
height: 50px;
margin: 0;
padding: 0;
}

/*********Aufgabe3 ***********/
footer, header {
display: flex;
justify-content: space-between;
}
.Kontakt, .Bank {
width: 50%;
}
2 changes: 1 addition & 1 deletion htdocs/css/style.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.grid_RFID_transponder .ui-widget-content{
grid_RFID_transponder .ui-widget-content{
background: none;
border: none;
}
Expand Down
8 changes: 8 additions & 0 deletions htdocs/css/zahlen.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
table, td {
border: 1px solid black;
}
td {
width: 40px;
height: 40px;
text-align: center;
}
30 changes: 30 additions & 0 deletions htdocs/zahlen.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="css/zahlen.css">
<title>Hundert Zahlen</title>
</head>
<body>
<h1>Hundert Zahlen</h1>
<table>

<?php
// Array mit 100 zufälligen Zahlen zwischen 1 und 100 erstellen
$zahlen = [];
for ($i = 0; $i < 100; $i++) {
$zahlen[] = rand(1, 100);
}

// Zahlen in Gruppen zu 10 Elementen aufteilen und tabellarisch anzeigen
foreach (array_chunk($zahlen, 10) as $zeile) {
echo "<tr>";
foreach ($zeile as $zahl) {
echo "<td>" . $zahl . "</td>";
}
echo "</tr>";
}
?>
</table>
</body>
</html>
2 changes: 1 addition & 1 deletion php/php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ mysqli.default_pw=
mysqli.reconnect=Off


zend_extension=xdebug.so
;zend_extension=xdebug.so

[xdebug]
xdebug.mode=debug
Expand Down
Binary file added xdebug-3.3.2.tgz
Binary file not shown.