|
|
|
@@ -1,263 +0,0 @@
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
|
|
|
<html lang="de">
|
|
|
|
|
|
|
|
<head>
|
|
|
|
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
|
|
|
|
<title>SG 07 St. Leon | Sportgemeinschaft</title>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
|
|
|
/* --- CSS (inkl. Modal Styling) --- */
|
|
|
|
|
|
|
|
:root {
|
|
|
|
|
|
|
|
--primary: #d32f2f; --primary-dark: #9a0007; --light: #ffffff;
|
|
|
|
|
|
|
|
--light-gray: #f4f4f4; --dark: #222222; --text-gray: #555555; --border-color: #dddddd;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }
|
|
|
|
|
|
|
|
body { background-color: var(--light-gray); color: var(--dark); line-height: 1.6; }
|
|
|
|
|
|
|
|
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
header { background-color: var(--light); color: var(--dark); padding: 1rem 5%; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.1); border-bottom: 3px solid var(--primary); }
|
|
|
|
|
|
|
|
header .logo { font-size: 1.8rem; font-weight: 900; letter-spacing: 1px; color: var(--primary); display: flex; align-items: center; gap: 10px; }
|
|
|
|
|
|
|
|
header .logo img { height: 40px; width: auto; }
|
|
|
|
|
|
|
|
nav ul { list-style: none; display: flex; gap: 20px; flex-wrap: wrap; justify-content: flex-end;}
|
|
|
|
|
|
|
|
nav ul li a { font-weight: 600; padding: 5px 0; position: relative; font-size: 0.95rem; }
|
|
|
|
|
|
|
|
nav ul li a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 3px; background-color: var(--primary); transition: width 0.3s ease; }
|
|
|
|
|
|
|
|
nav ul li a:hover::after, nav ul li a.active::after { width: 100%; }
|
|
|
|
|
|
|
|
.mobile-menu-btn { display: none; background: none; border: none; color: var(--primary); font-size: 1.8rem; cursor: pointer; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.hero { background: linear-gradient(rgba(154, 0, 7, 0.7), rgba(211, 47, 47, 0.8)), url('https://images.unsplash.com/photo-1461896836934-ffe607ba8211?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat; height: 65vh; min-height: 400px; display: flex; flex-direction: column; justify-content: center; align-items: center; color: var(--light); text-align: center; padding: 0 20px; }
|
|
|
|
|
|
|
|
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 15px; text-transform: uppercase; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); font-weight: 900; }
|
|
|
|
|
|
|
|
.hero p { font-size: clamp(1.1rem, 2vw, 1.4rem); margin-bottom: 35px; max-width: 700px; text-shadow: 1px 1px 2px rgba(0,0,0,0.5); }
|
|
|
|
|
|
|
|
.btn { padding: 14px 30px; background-color: var(--light); color: var(--primary); border-radius: 5px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); transition: transform 0.2s, background-color 0.2s, color 0.2s; border: 2px solid var(--light); display: inline-block; cursor: pointer;}
|
|
|
|
|
|
|
|
.btn:hover { background-color: var(--primary); color: var(--light); transform: translateY(-2px); }
|
|
|
|
|
|
|
|
.btn-primary { background-color: var(--primary); color: var(--light); border: 2px solid var(--primary); }
|
|
|
|
|
|
|
|
.btn-primary:hover { background-color: var(--primary-dark); }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
section { padding: 5rem 5%; }
|
|
|
|
|
|
|
|
.section-title { text-align: center; margin-bottom: 3rem; color: var(--dark); font-size: 2.5rem; text-transform: uppercase; position: relative; }
|
|
|
|
|
|
|
|
.section-title::after { content: ''; display: block; width: 60px; height: 4px; background-color: var(--primary); margin: 10px auto 0; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.departments { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-bottom: 3rem; }
|
|
|
|
|
|
|
|
.dept-badge { background: var(--light); border: 2px solid var(--border-color); padding: 10px 20px; border-radius: 50px; font-weight: bold; color: var(--text-gray); }
|
|
|
|
|
|
|
|
.dept-badge:hover { border-color: var(--primary); color: var(--primary); }
|
|
|
|
|
|
|
|
.dept-badge.external::after { content: ' ↗'; font-size: 0.8em; opacity: 0.7; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
|
|
|
|
|
|
|
|
.card { background: var(--light); border-radius: 8px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.08); transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; border-bottom: 4px solid var(--primary); }
|
|
|
|
|
|
|
|
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.12); }
|
|
|
|
|
|
|
|
.card-img { height: 200px; background-color: #ddd; width: 100%; object-fit: cover; }
|
|
|
|
|
|
|
|
.card-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
|
|
|
|
|
|
|
|
.card-date { font-size: 0.85rem; color: var(--text-gray); margin-bottom: 10px; display: flex; justify-content: space-between; }
|
|
|
|
|
|
|
|
.card-tag { background: var(--primary); color: white; padding: 2px 8px; border-radius: 4px; font-size: 0.75rem; font-weight: bold; text-transform: uppercase; }
|
|
|
|
|
|
|
|
.card h3 { color: var(--dark); margin-bottom: 15px; font-size: 1.4rem; }
|
|
|
|
|
|
|
|
.card p { margin-bottom: 20px; color: var(--text-gray); flex-grow: 1; }
|
|
|
|
|
|
|
|
.card .read-more { color: var(--primary); font-weight: bold; display: inline-block; margin-top: auto; cursor: pointer;}
|
|
|
|
|
|
|
|
.card .read-more:hover { color: var(--primary-dark); text-decoration: underline; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* --- POPUP (Modal) CSS --- */
|
|
|
|
|
|
|
|
.news-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 2000; justify-content: center; align-items: center; padding: 20px; opacity: 0; transition: opacity 0.3s ease;}
|
|
|
|
|
|
|
|
.news-modal.active { display: flex; opacity: 1; }
|
|
|
|
|
|
|
|
.news-modal-content { background: var(--light); width: 100%; max-width: 800px; max-height: 90vh; overflow-y: auto; border-radius: 8px; position: relative; padding: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); transform: translateY(20px); transition: transform 0.3s ease;}
|
|
|
|
|
|
|
|
.news-modal.active .news-modal-content { transform: translateY(0); }
|
|
|
|
|
|
|
|
.news-modal-close { position: absolute; top: 15px; right: 20px; font-size: 2.5rem; cursor: pointer; color: var(--text-gray); line-height: 1; }
|
|
|
|
|
|
|
|
.news-modal-close:hover { color: var(--primary); }
|
|
|
|
|
|
|
|
.news-modal-img { width: 100%; max-height: 400px; object-fit: cover; border-radius: 8px; margin-bottom: 25px; display: none; }
|
|
|
|
|
|
|
|
.news-modal-header { margin-bottom: 20px; border-bottom: 2px solid var(--light-gray); padding-bottom: 15px; }
|
|
|
|
|
|
|
|
.news-modal-title { color: var(--dark); font-size: 2rem; margin-bottom: 10px; }
|
|
|
|
|
|
|
|
.news-modal-meta { color: var(--primary); font-weight: bold; font-size: 0.9rem; }
|
|
|
|
|
|
|
|
.news-modal-body { white-space: pre-wrap; color: var(--dark); line-height: 1.8; font-size: 1.1rem; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
footer { background: var(--dark); color: #ccc; text-align: center; padding: 3rem 5% 1.5rem; }
|
|
|
|
|
|
|
|
.footer-content { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; margin-bottom: 2rem; max-width: 1200px; margin: 0 auto; }
|
|
|
|
|
|
|
|
.footer-section { flex: 1 1 250px; text-align: left; }
|
|
|
|
|
|
|
|
.footer-section h4 { color: var(--light); margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid var(--primary); display: inline-block; }
|
|
|
|
|
|
|
|
.footer-section ul { list-style: none; }
|
|
|
|
|
|
|
|
.footer-section ul li { margin-bottom: 10px; }
|
|
|
|
|
|
|
|
.footer-section ul li a:hover { color: var(--light); }
|
|
|
|
|
|
|
|
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; font-size: 0.9rem; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@media (max-width: 900px) { nav ul { gap: 10px; } }
|
|
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
|
|
|
|
.mobile-menu-btn { display: block; }
|
|
|
|
|
|
|
|
nav ul { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background-color: var(--light); padding: 20px 5%; gap: 15px; box-shadow: 0 5px 10px rgba(0,0,0,0.1); border-top: 1px solid var(--border-color); }
|
|
|
|
|
|
|
|
nav ul.show { display: flex; }
|
|
|
|
|
|
|
|
.hero { height: 60vh; }
|
|
|
|
|
|
|
|
section { padding: 3rem 5%; }
|
|
|
|
|
|
|
|
.news-modal-content { padding: 25px 20px; }
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<header>
|
|
|
|
|
|
|
|
<div class="logo">
|
|
|
|
|
|
|
|
<img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='45' fill='%23d32f2f'/%3E%3Ctext x='50' y='55' font-size='28' fill='white' text-anchor='middle' font-family='sans-serif' font-weight='bold'%3ESG%3C/text%3E%3C/svg%3E" alt="SG 07 Logo">
|
|
|
|
|
|
|
|
<span>SG 07 St. Leon</span>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<button class="mobile-menu-btn" id="menuToggle">☰</button>
|
|
|
|
|
|
|
|
<nav>
|
|
|
|
|
|
|
|
<ul id="navMenu">
|
|
|
|
|
|
|
|
<li><a href="index.html" class="active">Startseite</a></li>
|
|
|
|
|
|
|
|
<li><a href="aktuelles.html">Aktuelles</a></li>
|
|
|
|
|
|
|
|
<li><a href="kinderturnen.html">Kinderturnen</a></li>
|
|
|
|
|
|
|
|
<li><a href="vereinsheim.html">Vereinsheim</a></li>
|
|
|
|
|
|
|
|
<li><a href="verein.html">Vorstand</a></li>
|
|
|
|
|
|
|
|
<li><a href="chronik.html">Chronik</a></li>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
</header>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section class="hero">
|
|
|
|
|
|
|
|
<h1>Mehr als nur ein Verein.</h1>
|
|
|
|
|
|
|
|
<p>Kinderturnen, Kegeln und Handball. Entdecke die sportliche Vielfalt der SG 07 St. Leon.</p>
|
|
|
|
|
|
|
|
<div style="display: flex; gap: 15px; flex-wrap: wrap; justify-content: center;">
|
|
|
|
|
|
|
|
<a href="#news" class="btn">Aktuelle News</a>
|
|
|
|
|
|
|
|
<a href="verein.html" class="btn btn-primary">Mitglied werden</a>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section style="background-color: var(--light); padding-bottom: 2rem;">
|
|
|
|
|
|
|
|
<h2 class="section-title">Unsere Sportangebote</h2>
|
|
|
|
|
|
|
|
<div class="departments">
|
|
|
|
|
|
|
|
<a href="kinderturnen.html" class="dept-badge">🤸♀️ Kinderturnen</a>
|
|
|
|
|
|
|
|
<a href="https://www.dkc88skc89.de/" target="_blank" rel="noopener noreferrer" class="dept-badge external">🎳 Kegeln</a>
|
|
|
|
|
|
|
|
<a href="https://www.hsg-s-r.de/" target="_blank" rel="noopener noreferrer" class="dept-badge external">🤾♂️ Handball (HSG)</a>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Aktuelle News -->
|
|
|
|
|
|
|
|
<section id="news">
|
|
|
|
|
|
|
|
<h2 class="section-title">Aktuelles aus dem Verein</h2>
|
|
|
|
|
|
|
|
<div class="grid" id="news-container">
|
|
|
|
|
|
|
|
<!-- News-Karten erscheinen hier via JS -->
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div style="text-align: center; margin-top: 3rem;">
|
|
|
|
|
|
|
|
<a href="aktuelles.html" class="btn btn-primary">Alle News anzeigen (Archiv)</a>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- DAS NEWS POPUP (MODAL) -->
|
|
|
|
|
|
|
|
<div class="news-modal" id="newsModal">
|
|
|
|
|
|
|
|
<div class="news-modal-content">
|
|
|
|
|
|
|
|
<span class="news-modal-close" onclick="closeNewsModal()">×</span>
|
|
|
|
|
|
|
|
<img src="" alt="News Bild" class="news-modal-img" id="modalImage">
|
|
|
|
|
|
|
|
<div class="news-modal-header">
|
|
|
|
|
|
|
|
<div class="news-modal-meta" id="modalMeta">Datum | Abteilung</div>
|
|
|
|
|
|
|
|
<h2 class="news-modal-title" id="modalTitle">Überschrift</h2>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="news-modal-body" id="modalBody">
|
|
|
|
|
|
|
|
Hier steht dann der komplette Text...
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<footer>
|
|
|
|
|
|
|
|
<div class="footer-content">
|
|
|
|
|
|
|
|
<div class="footer-section">
|
|
|
|
|
|
|
|
<h4>Über uns</h4>
|
|
|
|
|
|
|
|
<p>Die SG 07 St. Leon ist die sportliche Heimat für alle Altersklassen in der Region.</p>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="footer-section">
|
|
|
|
|
|
|
|
<h4>Kontakt</h4>
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
|
|
|
|
<li>📧 sg07-stleon@t-online.de</li>
|
|
|
|
|
|
|
|
<li>📍 Postfach 6459, 68789 St. Leon-Rot</li>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="footer-bottom">
|
|
|
|
|
|
|
|
<p>© 2026 SG 07 St. Leon e.V. Alle Rechte vorbehalten.</p>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</footer>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
|
|
document.getElementById('menuToggle').addEventListener('click', function() {
|
|
|
|
|
|
|
|
document.getElementById('navMenu').classList.toggle('show');
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Globale Variable für die geladenen News
|
|
|
|
|
|
|
|
window.allNews = [];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
async function loadNewsFromDatabase() {
|
|
|
|
|
|
|
|
const container = document.getElementById('news-container');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
|
|
|
|
const response = await fetch('api.php');
|
|
|
|
|
|
|
|
window.allNews = await response.json();
|
|
|
|
|
|
|
|
container.innerHTML = '';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (window.allNews.error) {
|
|
|
|
|
|
|
|
container.innerHTML = `<p style="color: red; grid-column: 1 / -1;">Fehler: ${window.allNews.error}</p>`;
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// NUR DIE 3 NEUESTEN AUF DER STARTSEITE ANZEIGEN
|
|
|
|
|
|
|
|
const latestNews = window.allNews.slice(0, 3);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
latestNews.forEach(news => {
|
|
|
|
|
|
|
|
// Falls kein Bild da ist, nehmen wir ein Standardbild oder lassen es leer
|
|
|
|
|
|
|
|
const imgSrc = news.image ? news.image : "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect width='100' height='100' fill='%23f4f4f4'/%3E%3Ctext x='50' y='55' font-size='14' fill='%23cccccc' text-anchor='middle' font-family='sans-serif'%3ESportgemeinschaft%3C/text%3E%3C/svg%3E";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const card = document.createElement('div');
|
|
|
|
|
|
|
|
card.className = 'card';
|
|
|
|
|
|
|
|
card.innerHTML = `
|
|
|
|
|
|
|
|
<img src="${imgSrc}" alt="${news.title}" class="card-img" loading="lazy">
|
|
|
|
|
|
|
|
<div class="card-content">
|
|
|
|
|
|
|
|
<div class="card-date">
|
|
|
|
|
|
|
|
<span>${news.date}</span>
|
|
|
|
|
|
|
|
<span class="card-tag">${news.department}</span>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<h3>${news.title}</h3>
|
|
|
|
|
|
|
|
<p>${news.content}</p>
|
|
|
|
|
|
|
|
<a class="read-more" onclick="openNewsModal(${news.id})">Weiterlesen →</a>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
container.appendChild(card);
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
} catch (error) {
|
|
|
|
|
|
|
|
console.error("News Fehler:", error);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Popup Logik
|
|
|
|
|
|
|
|
function openNewsModal(id) {
|
|
|
|
|
|
|
|
const news = window.allNews.find(n => n.id === id);
|
|
|
|
|
|
|
|
if(!news) return;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
document.getElementById('modalTitle').innerText = news.title;
|
|
|
|
|
|
|
|
document.getElementById('modalMeta').innerText = news.date + ' | ' + news.department;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Text setzen (falls full_text leer ist, nehmen wir den kurzen content)
|
|
|
|
|
|
|
|
document.getElementById('modalBody').innerText = news.full_text || news.content;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Bild Logik
|
|
|
|
|
|
|
|
const imgEl = document.getElementById('modalImage');
|
|
|
|
|
|
|
|
if(news.image && news.image.trim() !== "") {
|
|
|
|
|
|
|
|
imgEl.src = news.image;
|
|
|
|
|
|
|
|
imgEl.style.display = 'block';
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
imgEl.style.display = 'none';
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
document.getElementById('newsModal').classList.add('active');
|
|
|
|
|
|
|
|
document.body.style.overflow = 'hidden'; // Verhindert scrollen im Hintergrund
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function closeNewsModal() {
|
|
|
|
|
|
|
|
document.getElementById('newsModal').classList.remove('active');
|
|
|
|
|
|
|
|
document.body.style.overflow = 'auto';
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Modal schließen, wenn man auf den dunklen Hintergrund klickt
|
|
|
|
|
|
|
|
document.getElementById('newsModal').addEventListener('click', function(e) {
|
|
|
|
|
|
|
|
if (e.target === this) closeNewsModal();
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Esc-Taste zum Schließen
|
|
|
|
|
|
|
|
document.addEventListener('keydown', function(e) {
|
|
|
|
|
|
|
|
if(e.key === "Escape") closeNewsModal();
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
window.addEventListener('DOMContentLoaded', loadNewsFromDatabase);
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|
|
|
|
|