CSS
This commit is contained in:
parent
a652aae1a8
commit
27323b026a
9 changed files with 23 additions and 18 deletions
|
@ -5,6 +5,7 @@
|
|||
<head>
|
||||
<title>Ort ändern</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="./style.css" />
|
||||
|
||||
</head>
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Ort hinzufügen</title>
|
||||
<link rel="stylesheet" href="./style.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
|
11
orte.php
11
orte.php
|
@ -5,12 +5,7 @@
|
|||
<meta charset="utf-8" />
|
||||
<title>Orte</title>
|
||||
<meta name="author" content="Lukas" >
|
||||
<style>
|
||||
tr:nth-child(2n) td {
|
||||
background: #EEE8AA;
|
||||
}
|
||||
|
||||
</style>
|
||||
<link rel="stylesheet" href="./style.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
@ -24,8 +19,8 @@ while ($zeile = $ergebnis->fetch_array()) {
|
|||
echo "<tr><td>" . htmlspecialchars($zeile["ort_name"]) . "</td>"
|
||||
. "<td>" . htmlspecialchars($zeile['plz']) . " " . htmlspecialchars($zeile['stadt']) . "</td> "
|
||||
. "<td> " . htmlspecialchars($zeile['strasse']) . " " . htmlspecialchars($zeile['hausnummer']) . "</td>"
|
||||
. "<td><a href='./ort_aendern.php?id=" . htmlspecialchars($zeile['ort_id']) . "'>ändern</a></td>"
|
||||
. "<td><a href='./ort_loeschen.php?id=" . htmlspecialchars($zeile['ort_id']) . "'>löschen</a></td>"
|
||||
. "<td><a class='tabelle' href='./ort_aendern.php?id=" . htmlspecialchars($zeile['ort_id']) . "'>ändern</a></td>"
|
||||
. "<td><a class='tabelle' href='./ort_loeschen.php?id=" . htmlspecialchars($zeile['ort_id']) . "'>löschen</a></td>"
|
||||
."</td></tr>\n" ;
|
||||
}
|
||||
echo "</table>";
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
<head>
|
||||
<title>Registrieren</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="./style.css" />
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
|
|
6
style.css
Normal file
6
style.css
Normal file
|
@ -0,0 +1,6 @@
|
|||
tr:nth-child(2n) td {
|
||||
background: #EEE8AA;
|
||||
}
|
||||
a.tabelle:visited {
|
||||
color: blue;
|
||||
}
|
|
@ -5,6 +5,8 @@
|
|||
<meta charset="utf-8" />
|
||||
<title>Teilnahme</title>
|
||||
<meta name="author" content="Lukas" >
|
||||
<link rel="stylesheet" href="./style.css" />
|
||||
|
||||
<script type="text/javascript">
|
||||
function FensterOeffnen (Adresse) {
|
||||
MeinFenster = window.open(Adresse, "Zweitfenster", "width=300,height=400,left=100,top=200");
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
<head>
|
||||
<title>Veranstaltung ändern</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="./style.css" />
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
<head>
|
||||
<title>Veranstaltung erstellen</title>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="stylesheet" href="./style.css" />
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
|
@ -47,7 +49,7 @@ if (isset($_POST["name"]) && isset($_POST["beschreibung"]) && isset($_POST["tag"
|
|||
header("Location: http://localhost/mysql/veranstaltung/veranstaltungen.php"); // Auf die Hauptseite weiterleiten
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -5,12 +5,6 @@
|
|||
<meta charset="utf-8" />
|
||||
<title>Veranstaltungen</title>
|
||||
<meta name="author" content="Lukas" >
|
||||
<style>
|
||||
tr:nth-child(2n) td {
|
||||
background: #EEE8AA;
|
||||
}
|
||||
|
||||
</style>
|
||||
<link rel="stylesheet" href="./style.css" />
|
||||
</head>
|
||||
|
||||
|
@ -30,9 +24,9 @@ while ($zeile = $ergebnis->fetch_array()) {
|
|||
. "<td>" . date( 'd.m.Y H:i', strtotime(htmlspecialchars($zeile['zeit'])))
|
||||
. "<td>" . htmlspecialchars($zeile['ort_name']) . "</td>"
|
||||
. "<td>" . htmlspecialchars($zeile['plz']) . " " . htmlspecialchars($zeile['stadt']) . "<br /> " . htmlspecialchars($zeile['strasse']) . " " . htmlspecialchars($zeile['hausnummer']) . "</td>"
|
||||
. "<td><a href='./teilnahme.php?id=" . htmlspecialchars($zeile['veranstaltungs_id']) . "'><b>teilnehmen</b></a></td>"
|
||||
. "<td><a href='./veranstaltung_aendern.php?id=" . htmlspecialchars($zeile['veranstaltungs_id']) . "'>ändern</a></td>"
|
||||
. "<td><a href='./veranstaltung_loeschen.php?id=" . htmlspecialchars($zeile['veranstaltungs_id']) . "'>löschen</a></td>"
|
||||
. "<td><a class='tabelle' href='./teilnahme.php?id=" . htmlspecialchars($zeile['veranstaltungs_id']) . "'><b>teilnehmen</b></a></td>"
|
||||
. "<td><a class='tabelle' href='./veranstaltung_aendern.php?id=" . htmlspecialchars($zeile['veranstaltungs_id']) . "'>ändern</a></td>"
|
||||
. "<td><a class='tabelle' href='./veranstaltung_loeschen.php?id=" . htmlspecialchars($zeile['veranstaltungs_id']) . "'>löschen</a></td>"
|
||||
."</td></tr>\n" ;
|
||||
}
|
||||
echo "</table>";
|
||||
|
|
Reference in a new issue