-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathabt_1.php
More file actions
31 lines (26 loc) · 1.27 KB
/
abt_1.php
File metadata and controls
31 lines (26 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<style>
<?php include './main.css'; ?>
<?php include './tools.php' ?>
</style>
<?php
// Hier die Coustom Data Eintragen
$filename = "./ical/hbg.json";
$calurl = "https://calsync.alamos-gmbh.com/calendar/ical/technik%40leitstelle-boeblingen.de/public-EwOi3xwxB57Tr7OvWoDrgbaBaNtZpSUv/cal.ics";
//Anlegen der Gruppe
$gruppe1 = [];
$gruppe2 = [];
$gruppe3 = [];
$gruppe4 = [];
$gesamt = [];
$hbg = [];
// Die JSON auslesen:
$data = getDataFromJson($filename, $calurl);
// Arrays aus der Data holen,
getArrays($data, $gruppe1, "XYZ", $gruppe2, "XYZ", $gruppe3, "XYZ", $gruppe4, "XYZ", $hbg);
// Weiteren Kalender zur URL hinzufügen
addCalender("./ical/ffw.json", "https://calsync.alamos-gmbh.com/calendar/ical/technik%40leitstelle-boeblingen.de/public-BJzrvdoQS8ospFjntN9UZ300pscvGBrW/cal.ics", $gesamt);
addCalender("./ical/iuk.json", "https://calsync.alamos-gmbh.com/calendar/ical/technik%40leitstelle-boeblingen.de/public-OhSMU2WZrTysDKnu9PZgodKvxphIYUsQ/cal.ics", $gesamt);
addCalender("./ical/juf.json", "https://calsync.alamos-gmbh.com/calendar/ical/technik%40leitstelle-boeblingen.de/public-j3iccbU8NXO7609IzZCNgHEJVy5z4WHI/cal.ics", $gesamt);
// Ausgabe der Dateien in eine Gruppe:
showTable($hbg, "Abt. Herrenerg", $gruppe2, "0", $gruppe3, "0", $gruppe3, "0", $gesamt, "Gesamt");
?>