init commit

This commit is contained in:
root (ariane)
2025-10-10 20:25:27 +02:00
commit a81c0a91f7
12 changed files with 308 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
da

BIN
FET-Logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

98
crashkurs_anmeldung.php Normal file
View File

@@ -0,0 +1,98 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
<meta name="description" content="fet.at - Anwesenheitsliste">
<meta name="author" content="fet.at">
<link href="style.css" rel="stylesheet" type="text/css">
<meta charset="UTF-8">
<title>fet.at - Crashkurs Anmeldung</title>
<meta name=viewport content="width=device-width, initial-scale=1, user-scalable=yes">
</head>
<body>
<script>0</script>
<div class="breitenbegrenzer">
<big><big>Crashkurs Anmeldung </big></big><br>
<img src="FET-Logo.png" height="100px">
<br>
<?php
$max_personen = 60;
$angemeldet = 0;
$warteliste = 0;
$handle_angemeldet = fopen("daten/crashkurs_angemeldet.csv", "r");
$handle_warteliste = fopen("daten/crashkurs_warteliste.csv", "r");
$MatrNr_Input= $_GET["MatrNr"];
$already_registered = False;
while (($person = fgetcsv($handle_angemeldet, 1000, ",")) !== FALSE) {
$angemeldet++;
if ($person[1] == $MatrNr_Input) $already_registered = True;
}
while (($person = fgetcsv($handle_warteliste, 1000, ",")) !== FALSE) {
$warteliste++;
if ($person[1] == $MatrNr_Input) $already_registered = True;
}
if($angemeldet >= $max_personen){
echo "<font color='red'>Der Crashkurs ist schon voll!<br> Du wirst auf die Warteliste geschrieben!</font><br><br>";
} else {
echo "<br>";
}
?>
<form name="form1" action="./crashkurs_anmeldung.php">
Deine Matrikelnummer: <br>
<input name="MatrNr" placeholder="01326142" type="text" size=8> <br>
<input value="Eintragen" type="submit"><br>
</form><br>
<?php
echo "Angemeldet: " . $angemeldet . " von maximal ". $max_personen ." Personen.<br>";
echo "Warteliste: " . $warteliste . " Personen.<br><br>";
if($MatrNr_Input != "" && !$already_registered){
if(is_numeric($MatrNr_Input) && (strlen((string)$MatrNr_Input)>=7) && (strlen((string)$MatrNr_Input)<=8)){
if ($angemeldet < $max_personen) {
$filename = "crashkurs_angemeldet.csv";
$myfile = fopen("./daten/".$filename, "a+") or die("Unable to open file!");
fwrite($myfile, date("d.m.Y H:i:s").",".$MatrNr_Input.",noFile;\n");
fclose($myfile);
} else {
$filename = "crashkurs_warteliste.csv";
$myfile = fopen("./daten/".$filename, "a+") or die("Unable to open file!");
fwrite($myfile, date("d.m.Y H:i:s").",".$MatrNr_Input.",noFile;\n");
fclose($myfile);
}
echo "<font color='green'>Danke!<br>";
echo "Deine Matrikelnummer ".$MatrNr_Input." wurde gepeichert.<br><br></font>";
} else {
echo "<font color='red'>Matrikelnummer nicht erkannt. <br> Bitte erneut eingeben!<br><br></font> ";
}
} elseif ($already_registered){
echo "<font color='red'>Du bist schon eingetragen.<br><br></font> ";
} else {
echo "<br><br>";
}
?>
Wenn du doch nicht kommen kannst,
dann schreib uns bitte eine Email an <a href='mailto:et-crashkurs@fet.at'>et-crashkurs@fet.at</a>,
damit andere einen Platz bekommen!<br> <br>
Die eingegebene Matrikelnummer wird nur gespeichert, damit wir dich über Dinge
rund um den
Crashkurs informieren können. Die Matrikelnummer wird vier Wochen nach dem Ende gelöscht
und für keine anderen Zwecke verwendet.
Mit der Eingabe der Daten stimmst du der Verarbeitung zu.<br> <br>
<br>
<a href="https://www.fet.at/kontakt">Kontakt</a> <br>fet.at - 2025
</div>
</body></html>

View File

@@ -0,0 +1,60 @@
18.03.2025 22:26:53,12402298,noFile;
18.03.2025 22:27:08,12402566,noFile;
18.03.2025 22:30:15,12213749,noFile;
18.03.2025 22:30:36,12438594,noFile;
18.03.2025 22:36:33,12413448,noFile;
18.03.2025 22:50:37,12402119,noFile;
18.03.2025 22:57:02,0226155,noFile;
18.03.2025 23:03:46,12343791,noFile;
18.03.2025 23:06:33,12439955,noFile;
18.03.2025 23:15:35,12025425,noFile;
18.03.2025 23:29:08,12433687,noFile;
18.03.2025 23:31:14,12412688,noFile;
18.03.2025 23:36:27,12237471,noFile;
18.03.2025 23:44:29,1233754,noFile;
19.03.2025 00:48:10,12439961,noFile;
19.03.2025 01:07:11,12432825,noFile;
19.03.2025 06:41:55,12437448,noFile;
19.03.2025 07:01:30,00401484,noFile;
19.03.2025 07:35:16,12419998,noFile;
19.03.2025 07:40:54,52215818,noFile;
19.03.2025 07:48:44,12414581,noFile;
19.03.2025 08:21:14,12320226,noFile;
19.03.2025 08:33:47,12447523,noFile;
19.03.2025 09:53:21,52402335,noFile;
19.03.2025 09:56:26,12410813,noFile;
19.03.2025 11:05:39,12433772,noFile;
19.03.2025 11:06:10,12438068,noFile;
19.03.2025 16:34:39,12133703,noFile;
19.03.2025 18:11:01,11824081,noFile;
20.03.2025 11:06:38,12425760,noFile;
20.03.2025 11:30:08,09703534,noFile;
20.03.2025 11:40:31,12431057,noFile;
20.03.2025 15:03:07,12412710,noFile;
20.03.2025 15:04:36,12405419,noFile;
21.03.2025 16:32:36,12449136,noFile;
21.03.2025 17:03:54,12441437,noFile;
21.03.2025 17:06:06,12413075,noFile;
22.03.2025 15:04:53,12441816,noFile;
24.03.2025 12:11:41,12438589,noFile;
25.03.2025 09:15:26,12436898,noFile;
29.03.2025 11:52:13,12414589,noFile;
31.03.2025 12:54:19,12326233,noFile;
31.03.2025 14:02:16,12327114,noFile;
01.04.2025 08:31:01,12422682,noFile;
01.04.2025 11:28:12,12407762,noFile;
01.04.2025 19:03:20,12427508,noFile;
02.04.2025 10:59:08,12443807,noFile;
02.04.2025 14:55:16,12329572,noFile;
02.04.2025 14:55:27,12325134,noFile;
03.04.2025 10:19:51,12002315,noFile;
03.04.2025 10:50:00,12402134,noFile;
03.04.2025 14:22:48,12228763,noFile;
03.04.2025 15:07:26,12443305,noFile;
03.04.2025 15:36:19,12443595,noFile;
04.04.2025 10:07:54,12439952,noFile;
06.04.2025 21:09:20,12408347,noFile;
07.04.2025 09:16:20,07811547,noFile;
07.04.2025 09:29:30,12329505,noFile;
07.04.2025 11:03:18,12402144,noFile;
07.04.2025 11:34:55,12227693,noFile;
1 18.03.2025 22:26:53 12402298 noFile;
2 18.03.2025 22:27:08 12402566 noFile;
3 18.03.2025 22:30:15 12213749 noFile;
4 18.03.2025 22:30:36 12438594 noFile;
5 18.03.2025 22:36:33 12413448 noFile;
6 18.03.2025 22:50:37 12402119 noFile;
7 18.03.2025 22:57:02 0226155 noFile;
8 18.03.2025 23:03:46 12343791 noFile;
9 18.03.2025 23:06:33 12439955 noFile;
10 18.03.2025 23:15:35 12025425 noFile;
11 18.03.2025 23:29:08 12433687 noFile;
12 18.03.2025 23:31:14 12412688 noFile;
13 18.03.2025 23:36:27 12237471 noFile;
14 18.03.2025 23:44:29 1233754 noFile;
15 19.03.2025 00:48:10 12439961 noFile;
16 19.03.2025 01:07:11 12432825 noFile;
17 19.03.2025 06:41:55 12437448 noFile;
18 19.03.2025 07:01:30 00401484 noFile;
19 19.03.2025 07:35:16 12419998 noFile;
20 19.03.2025 07:40:54 52215818 noFile;
21 19.03.2025 07:48:44 12414581 noFile;
22 19.03.2025 08:21:14 12320226 noFile;
23 19.03.2025 08:33:47 12447523 noFile;
24 19.03.2025 09:53:21 52402335 noFile;
25 19.03.2025 09:56:26 12410813 noFile;
26 19.03.2025 11:05:39 12433772 noFile;
27 19.03.2025 11:06:10 12438068 noFile;
28 19.03.2025 16:34:39 12133703 noFile;
29 19.03.2025 18:11:01 11824081 noFile;
30 20.03.2025 11:06:38 12425760 noFile;
31 20.03.2025 11:30:08 09703534 noFile;
32 20.03.2025 11:40:31 12431057 noFile;
33 20.03.2025 15:03:07 12412710 noFile;
34 20.03.2025 15:04:36 12405419 noFile;
35 21.03.2025 16:32:36 12449136 noFile;
36 21.03.2025 17:03:54 12441437 noFile;
37 21.03.2025 17:06:06 12413075 noFile;
38 22.03.2025 15:04:53 12441816 noFile;
39 24.03.2025 12:11:41 12438589 noFile;
40 25.03.2025 09:15:26 12436898 noFile;
41 29.03.2025 11:52:13 12414589 noFile;
42 31.03.2025 12:54:19 12326233 noFile;
43 31.03.2025 14:02:16 12327114 noFile;
44 01.04.2025 08:31:01 12422682 noFile;
45 01.04.2025 11:28:12 12407762 noFile;
46 01.04.2025 19:03:20 12427508 noFile;
47 02.04.2025 10:59:08 12443807 noFile;
48 02.04.2025 14:55:16 12329572 noFile;
49 02.04.2025 14:55:27 12325134 noFile;
50 03.04.2025 10:19:51 12002315 noFile;
51 03.04.2025 10:50:00 12402134 noFile;
52 03.04.2025 14:22:48 12228763 noFile;
53 03.04.2025 15:07:26 12443305 noFile;
54 03.04.2025 15:36:19 12443595 noFile;
55 04.04.2025 10:07:54 12439952 noFile;
56 06.04.2025 21:09:20 12408347 noFile;
57 07.04.2025 09:16:20 07811547 noFile;
58 07.04.2025 09:29:30 12329505 noFile;
59 07.04.2025 11:03:18 12402144 noFile;
60 07.04.2025 11:34:55 12227693 noFile;

View File

@@ -0,0 +1,4 @@
07.04.2025 11:49:03,12433754,noFile;
07.04.2025 14:47:18,12112720,noFile;
24.04.2025 11:18:02,12402344,noFile;
17.07.2025 18:35:44,12432175,noFile;
1 07.04.2025 11:49:03 12433754 noFile;
2 07.04.2025 14:47:18 12112720 noFile;
3 24.04.2025 11:18:02 12402344 noFile;
4 17.07.2025 18:35:44 12432175 noFile;

1
daten/index.html Normal file
View File

@@ -0,0 +1 @@
Hier gibt es nichts zu sehen.

Binary file not shown.

30
index.php Normal file
View File

@@ -0,0 +1,30 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
<meta name="description" content="fet.at - Anwesenheitsliste">
<meta name="author" content="fet.at">
<link href="style.css" rel="stylesheet" type="text/css">
<meta charset="UTF-8">
<title>fet.at - ET1 Crashkurs</title>
<meta name=viewport content="width=device-width, initial-scale=1, user-scalable=yes">
</head>
<body>
<script>0</script>
<div class="breitenbegrenzer">
<big><big>ET1 Crashkurs SoSe 2025 </big></big><br>
<img src="FET-Logo.png" height="100px">
<br><br>
Der Crashkurs ist vorbei, es hat uns sehr gefreut! Hier findet ihr nun die
<br><br>
<b><a href="https://crashkurs.fet.at/da/et_crashkurs_Zeck_v2_3_Lösung.pdf">Lösungen</a></b>
<br><br>
Wenn ihr noch Fragen zum Crashkurs habt, könnt ihr euch gerne an<br>
<a href='mailto:et-crashkurs@fet.at'>et-crashkurs@fet.at</a> wenden.
<br><br>
<a href="https://fet.at/kontakt/">Kontakt</a> <br>fet.at - 2025
</div>
</body></html>

34
index.php.bak Normal file
View File

@@ -0,0 +1,34 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
<meta name="description" content="fet.at - Anwesenheitsliste">
<meta name="author" content="fet.at">
<link href="style.css" rel="stylesheet" type="text/css">
<meta charset="UTF-8">
<title>fet.at - ET1 Crashkurs</title>
<meta name=viewport content="width=device-width, initial-scale=1, user-scalable=yes">
</head>
<body>
<script>0</script>
<div class="breitenbegrenzer">
<big><big>ET1 Crashkurs SoSe 2023 </big></big><br>
<img src="FET-Logo.png" height="100px">
<br><br>
Der Crashkurs ist vorbei, es hat uns sehr gefreut! Hier findet ihr nun die
<br><br>
<b><a href="https://crashkurs.fet.at/da/et_crashkurs_v1_3_geloest.pdf">Lösungen</a></b>
<br><br>
sowie im SoSe 21 aufgezeichnete
<br><br>
<b><a href="https://crashkurs.fet.at/da/videos/">Videos</a></b>
<br><br>
Wenn ihr noch Fragen zum Crashkurs habt, könnt ihr euch gerne an
<a href='mailto:et-crashkurs@fet.at'>et-crashkurs@fet.at</a> wenden.
<br><br>
<a href="https://fet.at/kontakt/">Kontakt</a> <br>fet.at - 2023
</div>
</body></html>

29
index.php.nachdemkurs Normal file
View File

@@ -0,0 +1,29 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
<meta name="description" content="fet.at - Anwesenheitsliste">
<meta name="author" content="fet.at">
<link href="style.css" rel="stylesheet" type="text/css">
<meta charset="UTF-8">
<title>fet.at - ET1 Crashkurs</title>
<meta name=viewport content="width=device-width, initial-scale=1, user-scalable=yes">
</head>
<body>
<script>0</script>
<div class="breitenbegrenzer">
<big><big>ET1 Crashkurs WiSe 2022 </big></big><br>
<img src="FET-Logo.png" height="100px">
<br>
Die Lösungen für den Crashkurs: Gibts <a href="https://crashkurs.fet.at/et_crashkurs_v1_3_mit_l_sungen.pdf"><b>HIER</b></a>! <br><br>
Wenn ihr Fragen zum Crashkurs habt, könnt ihr euch gerne an
<a href='mailto:et-crashkurs@fet.at'>et-crashkurs@fet.at</a> wenden.
<br><br>
<a href="https://fet.at/posts/impressum">Kontakt</a> <br>fet.at - 2022
</div>
</body></html>

42
index_vordermkurs.php Normal file
View File

@@ -0,0 +1,42 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
<meta name="description" content="fet.at - Anwesenheitsliste">
<meta name="author" content="fet.at">
<link href="style.css" rel="stylesheet" type="text/css">
<meta charset="UTF-8">
<title>fet.at - ET1 Crashkurs</title>
<meta name=viewport content="width=device-width, initial-scale=1, user-scalable=yes">
</head>
<body>
<script>0</script>
<div class="breitenbegrenzer">
<big><big>ET1 Crashkurs SoSe 2025 </big></big><br>
<img src="FET-Logo.png" height="100px">
<br>
Der Crashkurs wird von Studierenden der FET organisiert, <br>
ihr braucht euch nicht im TISS dafür anmelden.<br><br>
Termin: <b>Montag 07.04.2025 ab 17:00 Uhr im EI4 (CF0245)</b><br><br>
Die Angaben gibt es <a href="https://crashkurs.fet.at/da/et_crashkurs_Zeck_v2_3_Studis.pdf">
hier zum Download</a>. Bitte schaut euch die Angaben davor an, damit ihr viele Fragen stellen könnt.<br><br>
Wir bitten euch bis vor dem Kurs hier anzumelden, da ihr sonst <b>keinen Platz</b> bekommt:
<br><br>
<a href='https://crashkurs.fet.at/crashkurs_anmeldung.php'><b>Anmelden</b></a>
<br><br>
Die Lösungen für den Crashkurs werden nach dem Termin auf dieser Seite zur Verfügung gestellt.<br><br>
Wenn ihr Fragen zum Crashkurs habt, könnt ihr euch gerne an
<a href='mailto:et-crashkurs@fet.at'>et-crashkurs@fet.at</a> wenden.
<br><br>
<a href="https://fet.at/kontakt/">Kontakt</a> <br>fet.at - 2025
</div>
</body></html>

9
style.css Executable file
View File

@@ -0,0 +1,9 @@
body {
background-color:lightgrey;
}
div.breitenbegrenzer {
margin: auto;
max-width: 500px;
text-align: center;
}