umwandlung zu php

This commit is contained in:
xoy 2023-02-26 14:03:35 +01:00
parent 5bef727c43
commit ad386e2b5c
13 changed files with 91 additions and 55 deletions

View File

@ -5,13 +5,18 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ctdo - über uns</title>
<link rel="stylesheet" href="/style/main.css">
<link rel="stylesheet" href="/styles/main.css">
<?php require 'php/generator.php'; ?>
</head>
<body>
!NEWBANNER
<div class="newBanner">
Rundgang
</div>
<header>
<img src="/image/logo_ctdo.svg" alt="ctdo logo">
!NAV
<img src="/images/logo_ctdo.svg" alt="ctdo logo">
<?php print_element("nav"); ?>
</header>
<main>
!RAUMSTATUS

File diff suppressed because one or more lines are too long

View File

@ -1,11 +1,11 @@
<nav>
<ul>
<li> <a href="index.php">home</a> </li>
<li> <a href="about.php">über uns</a> </li>
<li> <a href="treff.php">treff</a> </li>
<li> <a href="events.php">events</a> </li>
<li> <a href="kontakt.php">kontakt</a> </li>
<li> <a href="support.php">support</a> </li>
<li> <a href="verein.php">verein</a> </li>
<li> <a href="/index.php">home</a> </li>
<li> <a href="/about.php">über uns</a> </li>
<li> <a href="/treff.php">zeiten & location</a> </li>
<li> <a href="/events.php">events</a> </li>
<li> <a href="/kontakt.php">kontakt</a> </li>
<li> <a href="/support.php">support</a> </li>
<li> <a href="/verein.php">verein</a> </li>
</ul>
</nav>

View File

@ -5,20 +5,20 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ctdo - events</title>
<link rel="stylesheet" href="/style/main.css">
<link rel="stylesheet" href="/style/event.css">
<link rel="stylesheet" href="/styles/main.css">
<link rel="stylesheet" href="/styles/event.css">
<?php require 'php/generator.php'; ?>
</head>
<body>
!NEWBANNER
<div class="newBanner">Rundgang</div>
<header>
<img src="/image/logo_ctdo.svg" alt="ctdo logo" style="width:100%;">
!NAV
<img src="/images/logo_ctdo.svg" alt="ctdo logo">
<?php print_element("nav"); ?>
</header>
<main>
<h1 class="title">!EVENTTITLE</h1>
<p class="date">!EVENTDATE</p>
<p class="desc">!EVENTDESC</p>
<!--<p class="content">!EVENTCONTENT</p>-->
<?php print_event("example"); ?>
</main>
<footer>
!FOOTERNAV

View File

@ -5,14 +5,17 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ctdo - events</title>
<link rel="stylesheet" href="/style/main.css">
<link rel="stylesheet" href="/style/events.css">
<link rel="stylesheet" href="/styles/main.css">
<link rel="stylesheet" href="/styles/events.css">
<?php require 'php/generator.php'; ?>
</head>
<body>
!NEWBANNER
<div class="newBanner">Rundgang</div>
<header>
<img src="/image/logo_ctdo.svg" alt="ctdo logo" style="width:100%;">
!NAV
<img src="/images/logo_ctdo.svg" alt="ctdo logo">
<?php print_element("nav"); ?>
</header>
<main>
!RAUMSTATUS

4
events/example.html Normal file
View File

@ -0,0 +1,4 @@
<h1 class="title">!EVENTTITLE</h1>
<p class="date">!EVENTDATE</p>
<p class="desc">!EVENTDESC</p>
<p class="content">!EVENTCONTENT</p>

View File

@ -5,13 +5,18 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ctdo - impressum</title>
<link rel="stylesheet" href="/style/main.css">
<link rel="stylesheet" href="/styles/main.css">
<?php require 'php/generator.php'; ?>
</head>
<body>
!NEWBANNER
<div class="newBanner">
Rundgang
</div>
<header>
<img src="/image/logo_ctdo.svg" alt="ctdo logo">
!NAV
<img src="/images/logo_ctdo.svg" alt="ctdo logo">
<?php print_element("nav"); ?>
</header>
<main>
<h2>Impressum</h2>

View File

@ -19,7 +19,7 @@
</div>
<header>
<img src="/image/logo_ctdo.svg" alt="ctdo logo">
<img src="/images/logo_ctdo.svg" alt="ctdo logo">
<?php print_element("nav"); ?>
</header>
@ -39,12 +39,12 @@
<p>
Wir sind eine bunt gemischte Gruppe aus computer-, technikbegeisterten und kreativen Menschen. Wir betreiben den Chaostreff aus Spaß an der Sache und um interessierten Menschen eine Plattform zu bieten, über die man sich austauschen kann.<br>
<br>
Wenn du Lust hast dir das mal anzuschauen, dann komm gerne vorbei. <a href="/treff">zeiten & location</a><br>
Wenn du Lust hast dir das mal anzuschauen, dann komm gerne vorbei. <a href="/treff.php">zeiten & location</a><br>
<br>
Egal wer du bist, egal was du machst bei uns sind alle Menschen willkommen. Leider sind unsere Räume aktuell nicht barrierefrei.
Falls du Fragen hast schreibe uns an. <a href="/kontakt">kontakt</a><br>
Falls du Fragen hast schreibe uns an. <a href="/kontakt.php">kontakt</a><br>
<br>
Wenn du mehr über uns wissen möchtest, schau hier: <a href="/about">über uns</a>
Wenn du mehr über uns wissen möchtest, schau hier: <a href="/about.php">über uns</a>
</p>
<h2>Die nächsten Events</h2>

View File

@ -5,14 +5,17 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ctdo - home</title>
<link rel="stylesheet" href="/style/main.css">
<link rel="stylesheet" href="/style/kontakt.css">
<link rel="stylesheet" href="/styles/main.css">
<link rel="stylesheet" href="/styles/kontakt.css">
<?php require 'php/generator.php'; ?>
</head>
<body>
!NEWBANNER
<div class="newBanner">Rundgang</div>
<header>
<img src="/image/logo_ctdo.svg" alt="ctdo logo">
!NAV
<img src="/images/logo_ctdo.svg" alt="ctdo logo">
<?php print_element("nav"); ?>
</header>
<main>
<a href="/kontakt/irc">

View File

@ -4,4 +4,8 @@ function print_element($element_name) {
print(file_get_contents("/elements/$element_name.html"));
}
function print_event($event_name) {
print(file_get_contents("/events/$element_name.html"));
}
?>

View File

@ -5,13 +5,16 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ctdo - unterstützung</title>
<link rel="stylesheet" href="/style/main.css">
<link rel="stylesheet" href="/styles/main.css">
<?php require 'php/generator.php'; ?>
</head>
<body>
!NEWBANNER
<div class="newBanner">Rundgang</div>
<header>
<img src="/image/logo_ctdo.svg" alt="ctdo logo">
!NAV
<img src="/images/logo_ctdo.svg" alt="ctdo logo">
<?php print_element("nav"); ?>
</header>
<main>
<h2>Spenden</h2>

View File

@ -5,13 +5,16 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ctdo - zeiten & location</title>
<link rel="stylesheet" href="/style/main.css">
<link rel="stylesheet" href="/styles/main.css">
<?php require 'php/generator.php'; ?>
</head>
<body>
!NEWBANNER
<div class="newBanner">Rundgang</div>
<header>
<img src="/image/logo_ctdo.svg" alt="ctdo logo">
!NAV
<img src="/images/logo_ctdo.svg" alt="ctdo logo">
<?php print_element("nav"); ?>
</header>
<main>
!RAUMSTATUS

View File

@ -5,13 +5,16 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ctdo - verein</title>
<link rel="stylesheet" href="/style/main.css">
<link rel="stylesheet" href="/styles/main.css">
<?php require 'php/generator.php'; ?>
</head>
<body>
!NEWBANNER
<div class="newBanner">Rundgang</div>
<header>
<img src="/image/logo_ctdo.svg" alt="ctdo logo">
!NAV
<img src="/images/logo_ctdo.svg" alt="ctdo logo">
<?php print_element("nav"); ?>
</header>
<main>
<h2>Mitglied werden</h2>