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 http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ctdo - über uns</title> <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> </head>
<body> <body>
!NEWBANNER <div class="newBanner">
Rundgang
</div>
<header> <header>
<img src="/image/logo_ctdo.svg" alt="ctdo logo"> <img src="/images/logo_ctdo.svg" alt="ctdo logo">
!NAV <?php print_element("nav"); ?>
</header> </header>
<main> <main>
!RAUMSTATUS !RAUMSTATUS

File diff suppressed because one or more lines are too long

View File

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

View File

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

View File

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

View File

@ -19,7 +19,7 @@
</div> </div>
<header> <header>
<img src="/image/logo_ctdo.svg" alt="ctdo logo"> <img src="/images/logo_ctdo.svg" alt="ctdo logo">
<?php print_element("nav"); ?> <?php print_element("nav"); ?>
</header> </header>
@ -39,12 +39,12 @@
<p> <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> 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> <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> <br>
Egal wer du bist, egal was du machst bei uns sind alle Menschen willkommen. Leider sind unsere Räume aktuell nicht barrierefrei. 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> <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> </p>
<h2>Die nächsten Events</h2> <h2>Die nächsten Events</h2>

View File

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

View File

@ -4,4 +4,8 @@ function print_element($element_name) {
print(file_get_contents("/elements/$element_name.html")); 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 http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ctdo - unterstützung</title> <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> </head>
<body> <body>
!NEWBANNER <div class="newBanner">Rundgang</div>
<header> <header>
<img src="/image/logo_ctdo.svg" alt="ctdo logo"> <img src="/images/logo_ctdo.svg" alt="ctdo logo">
!NAV <?php print_element("nav"); ?>
</header> </header>
<main> <main>
<h2>Spenden</h2> <h2>Spenden</h2>

View File

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

View File

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