Übernahme woanders erstellter Änderungen

This commit is contained in:
marko
2018-06-25 20:09:57 +02:00
parent da8db3324b
commit d9ee5aea30
63 changed files with 4223 additions and 297 deletions

View File

@@ -0,0 +1,251 @@
<?php
/// Einbinden der Konfiguration, insbesondere Basisvariablen,
/// relative Pfadangabe
/// - jedes Verzeichnis sollte seine eigene haben
/// - theoretisch sollte es bereits von der aufrufenden Datei
/// eingebunden sein
require_once("./config.inc.php");
// include_once("./config.inc.php");
require_once($$basePath."/config/phpcount.config.php");
require_once($$basePath."/config/cwsvJudo.config.php");
require_once($$basePath."/ressourcen/phpLib/cwsvJudo/miscAssis.php");
require_once($$basePath."/ressourcen/phpLib/cwsvJudo/newsLib.php");
require_once($$basePath."/ressourcen/phpLib/cwsvJudo/wkKalender.php");
require_once($$basePath."/ressourcen/phpLib/cwsvJudo/galTable.php");
require_once($$basePath."/ressourcen/phpLib/cwsvJudo/newsTableHtml.php");
require_once($$basePath."/ressourcen/phpLib/cwsvJudo/galleryRedirector.php");
require_once($$basePath."/ressourcen/phpLib/phpcount/phpcount.php");
galleryRedirector();
PHPCount::AddHit("$title$ (Amp)");?>
<!DOCTYPE html>
<html amp$if(lang)$ lang="$lang$"$endif$$if(dir)$ dir="$dir$"$endif$>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1.0, user-scalable=yes">
$for(author-meta)$
<meta name="author" content="$author-meta$">
$endfor$
$if(date-meta)$
<meta name="dcterms.date" content="$date-meta$">
$endif$
$if(keywords)$
<meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$">
$endif$
$if(description)$
<meta name="description" content="$description$" />
$endif$
$if(canonicalLink)$
<link rel="canonical" href="$canonicalLink$" />
$endif$
$if(ampVersionLink)$
<link rel="amphtml" href="$ampVersionLink$" />
$endif$
<title>$if(title-prefix)$$title-prefix$ $endif$$pagetitle$</title>
<?php require_once($$basePath."/pages/shared/favicon.html.inc");?>
<style amp-custom>
code{white-space: pre;}
$if(quotes)$
q { quotes: "“" "”" "" ""; }
$endif$
$if(highlighting-css)$
$highlighting-css$
$endif$
$for(css)$
<?php require_once($$basePath."/$css$");?>
$endfor$
.home-button {
margin-top: 8px;
}
.headerbar {
height: 50px;
position: fixed;
z-index: 999;
top: 0;
width: 100%;
display: flex;
align-items: center;
}
.site-name {
flex: 1;
margin-left: -36px;
}
article {
margin-top: 50px;
}
.hamburger {
padding-left: 10px;
}
.sidebar {
padding: 10px;
margin: 0;
}
.sidebar > li {
list-style: none;
margin-bottom:10px;
}
.sidebar a {
text-decoration: none;
}
.close-sidebar {
font-size: 1.5em;
padding-left: 5px;
}
#mainNav > a > span{
width: 2em;
}
.newsPromoImage{
width: 100%;
max-width: 300px;
}
.messageBox{
width: 100%;
border:solid 1px #000000;
background-color:#FF8100;
font-size:smaller;
}
.fontSizeXxSmall{font-size: xx-small;}
.displayNone{display: none;}
</style>
$if(math)$
$math$
$endif$
$for(header-includes)$
$header-includes$
$endfor$
<script async src="https://cdn.ampproject.org/v0.js"></script>
<script async custom-element="amp-sidebar" src="https://cdn.ampproject.org/v0/amp-sidebar-0.1.js"></script>
<style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript>
</head>
<body>
<div class="messageBox">
Dies ist die "mobile" Version für Smartphones etc.<br/>
<a href="$canonicalLink$">Hier gibt es die Desktop-Variante</a>
</div>
<!-- Kopfzeile mit Titel, Promobildern und Breadcrumbs -->
<header class="cwsvHeader">
<div role="button" on="tap:sidebar1.toggle" tabindex="0" class="hamburger">☰</div>
<amp-img layout="responsive"
width="200" height="140"
title="Judo im Chemnitzer WSV"
alt="Judo im Chemnitzer WSV - Promo"
src="http://cwsvjudo.bplaced.net/ressourcen/graphiken/banner/bannerlogo.1.jpg"
></amp-img>
<span>Judo</span>
<span class="breadcrumbs"></span>
<amp-img layout="responsive"
width="64" height="52"
title="Judo im Chemnitzer WSV"
alt="Judo im Chemnitzer WSV - Logo"
src="http://cwsvjudo.bplaced.net/ressourcen/graphiken/logos/cwsvJudoLogoWappen.64w.png"
srcset="http://cwsvjudo.bplaced.net/ressourcen/graphiken/logos/cwsvJudoLogoWappen.128w.png 2x, http://cwsvjudo.bplaced.net/ressourcen/graphiken/logos/cwsvJudoLogoWappen.x256.png 4x"
></amp-img>
</header>
$if(mainNav)$
<nav id="mainNav">
$for(mainNav)$
<a href="$mainNav.url$"
$if(mainNav.caption)$title="$mainNav.caption$" $endif$
$if(mainNav.active)$class="activeNav" $endif$
>
$if(mainNav.icon)$
<span><amp-img layout="responsive"
src="$if(mainNav.icon.src)$$mainNav.icon.src$$else$$mainNav.icon$$endif$"
$if(mainNav.caption)$
alt="$mainNav.caption$"
$else$
$if(mainNav.icon.alt)$
alt="$mainNav.icon.alt$"
$endif$
$endif$
$if(mainNav.icon.width)$
width="$mainNav.icon.width$"
$endif$
$if(mainNav.icon.height)$
height="$mainNav.icon.height$"
$endif$
$if(mainNav.icon.title)$
title="$mainNav.icon.title$"
$endif$
$if(mainNav.icon.srcset)$
srcset="$mainNav.icon.srcset$"
$endif$
></amp-img>
</span>
$endif$
$if(mainNav.caption)$<span>$mainNav.caption$</span>$endif$
</a>
$endfor$
</nav>
$endif$
$if(subNav)$
<amp-sidebar id="sidebar1" layout="nodisplay" side="left">
<div role="button" aria-label="close sidebar" on="tap:sidebar1.toggle" tabindex="0" class="close-sidebar">✕</div>
<ul class="sidebar">
$for(subNav)$
<li>
<a href="$subNav.url$"
$if(subNav.caption)$title="$subNav.caption$" $endif$
>$if(subNav.caption)$$subNav.caption$$endif$</a>
</li>
$endfor$
</ul>
</amp-sidebar>
$endif$
$for(include-before)$
$include-before$
$endfor$
$if(toc)$
<nav id="$idprefix$TOC">
$toc$
</nav>
$endif$
<main id="content">
$body$
</main>
<aside class="sideNotes">
Die Judoka des CWSV bedanken sich bei ihren Förderern:
<ul class="sponsorList">
<li>
Familie Mögel für den unermüdlichen Einsatz als Fans, Fahrer, Fotograf und Vertretung
</li>
<li>
Druck + Werbestudio Eckart &amp; Partner
<div><a title="Druck + Werbestudio Eckart &amp; Partner" href="http://www.dws-eckart.de">
<amp-img layout="responsive" width="300" height="107" src="http://cwsvjudo.bplaced.net/ressourcen/graphiken/sponsoren/EckartUndPartner.png" title="Druck + Werbestudio Eckart &amp; Partner GmbH" alt="Druck + Werbestudio Eckart &amp; Partner Logo"></amp-img>
</a>
</div>
</li>
<li>
Der CWSV ist anerkannter Stützpunktverein des Bundesprogrammes „Integration durch Sport”
<div>
<a href="http://www.integration-durch-sport.de" title="Integration durch Sport">
<amp-img layout="responsive" src="http://cwsvjudo.bplaced.net/ressourcen/graphiken/logos/IntegrationDurchSport2018.250x.png" title="Integration durch Sport - Anerkannter Stützpunktverein" alt="Integration durch Sport - Anerkannter Stützpunktverein" width="250" height="416"></amp-img>
</a>
</div>
</li>
</ul>
</aside>
<footer class="footerBar">
<a class="touchLink" title="Möglichkeiten mit dem Chemnitzer Freizeit- und Wohngebietssportverein in Kontakt zu treten" href="/kontakt" >Kontakt</a>
<a class="touchLink" title="Impressum" href="/impressum" >Impressum</a>
<a class="touchLink" title="Datenschutz" href="/datenschutz" >Datenschutz</a>
<a class="touchLink"
title="News-Feed Abonnieren"
href="http://cwsvjudo.bplaced.net/rss"
>Newsfeed
</a>
</footer>
$for(include-after)$
$include-after$
$endfor$
</body>
</html>

View File

@@ -0,0 +1,237 @@
<?php
/// Einbinden der Konfiguration, insbesondere Basisvariablen,
/// relative Pfadangabe
/// - jedes Verzeichnis sollte seine eigene haben
/// - theoretisch sollte es bereits von der aufrufenden Datei
/// eingebunden sein
require_once("./config.inc.php");
// include_once("./config.inc.php");
require_once($$basePath."/config/phpcount.config.php");
require_once($$basePath."/config/cwsvJudo.config.php");
require_once($$basePath."/ressourcen/phpLib/cwsvJudo/miscAssis.php");
require_once($$basePath."/ressourcen/phpLib/cwsvJudo/newsLib.php");
require_once($$basePath."/ressourcen/phpLib/cwsvJudo/wkKalender.php");
require_once($$basePath."/ressourcen/phpLib/cwsvJudo/galTable.php");
require_once($$basePath."/ressourcen/phpLib/cwsvJudo/newsTableHtml.php");
require_once($$basePath."/ressourcen/phpLib/cwsvJudo/galleryRedirector.php");
require_once($$basePath."/ressourcen/phpLib/phpcount/phpcount.php");
galleryRedirector();
PHPCount::AddHit("$title$");?>
<!DOCTYPE html>
<html amp$if(lang)$ lang="$lang$"$endif$$if(dir)$ dir="$dir$"$endif$>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1.0, user-scalable=yes">
$for(author-meta)$
<meta name="author" content="$author-meta$">
$endfor$
$if(date-meta)$
<meta name="dcterms.date" content="$date-meta$">
$endif$
$if(keywords)$
<meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$">
$endif$
$if(description)$
<meta name="description" content="$description$" />
$endif$
$if(canonicalLink)$
<link rel="canonical" href="$ampVersionLink$" />
$endif$
$if(ampVersionLink)$
<link rel="amphtml" href="$ampVersionLink$" />
$endif$
<title>$if(title-prefix)$$title-prefix$ $endif$$pagetitle$</title>
<style amp-custom>
code{white-space: pre;}
$if(quotes)$
q { quotes: "“" "”" "" ""; }
$endif$
$if(highlighting-css)$
$highlighting-css$
$endif$
$for(css)$
<?php require_once($$basePath."/$css$");?>
$endfor$
</style>
$if(math)$
$math$
$endif$
$for(header-includes)$
$header-includes$
$endfor$
<script async src="https://cdn.ampproject.org/v0.js"></script>
<style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript>
</head>
<body>
<!-- Kopfzeile mit Titel, Promobildern und Breadcrumbs -->
<header class="cwsvHeader">
<amp-img layout="responsive"
width="200" height="140"
title="Judo im Chemnitzer WSV"
alt="Judo im Chemnitzer WSV - Promo"
src="http://cwsvjudo.bplaced.net/ressourcen/graphiken/banner/bannerlogo.1.jpg"
></amp-img>
<span>Judo</span>
<span class="breadcrumbs"></span>
<amp-img layout="responsive"
width="64" height="52"
title="Judo im Chemnitzer WSV"
alt="Judo im Chemnitzer WSV - Logo"
src="http://cwsvjudo.bplaced.net/ressourcen/graphiken/logos/cwsvJudoLogoWappen.64w.png"
srcset="http://cwsvjudo.bplaced.net/ressourcen/graphiken/logos/cwsvJudoLogoWappen.128w.png 2x, http://cwsvjudo.bplaced.net/ressourcen/graphiken/logos/cwsvJudoLogoWappen.x256.png 4x"
></amp-img>
</header>
$if(mainNav)$
<nav id="mainNav">
$for(mainNav)$
<a href="$mainNav.url$"
$if(mainNav.caption)$title="$mainNav.caption$" $endif$
$if(mainNav.active)$class="activeNav" $endif$
>
$if(mainNav.icon)$
<span style="width:2em;"><amp-img layout="responsive"
src="$if(mainNav.icon.src)$$mainNav.icon.src$$else$$mainNav.icon$$endif$"
$if(mainNav.caption)$
alt="$mainNav.caption$"
$else$
$if(mainNav.icon.alt)$
alt="$mainNav.icon.alt$"
$endif$
$endif$
$if(mainNav.icon.width)$
width="$mainNav.icon.width$"
$endif$
$if(mainNav.icon.height)$
height="$mainNav.icon.height$"
$endif$
$if(mainNav.icon.title)$
title="$mainNav.icon.title$"
$endif$
$if(mainNav.icon.srcset)$
srcset="$mainNav.icon.srcset$"
$endif$
></amp-img>
</span>
$endif$
$if(mainNav.caption)$<span>$mainNav.caption$</span>$endif$
</a>
$endfor$
</nav>
$endif$
$if(subNav)$
<nav class="subNav">
$for(subNav)$
<a href="$subNav.url$"
$if(subNav.caption)$title="$subNav.caption$" $endif$
$if(subNav.active)$class="activeNav" $endif$
>
$if(subNav.icon)$
<amp-img layout="responsive"
src="$if(subNav.icon.src)$$subNav.icon.src$$else$$subNav.icon$$endif$"
$if(subNav.caption)$
alt="$subNav.caption$"
$else$
$if(subNav.icon.alt)$
alt="$subNav.icon.alt$"
$endif$
$endif$
$if(subNav.icon.width)$
width="$subNav.icon.width$"
$endif$
$if(subNav.icon.height)$
height="$subNav.icon.height$"
$endif$
$if(subNav.icon.title)$
title="$subNav.icon.title$"
$endif$
$if(subNav.icon.srcset)$
srcset="$subNav.icon.srcset$"
$endif$
></amp-img>
$endif$
$if(subNav.caption)$<span>$subNav.caption$</span>$endif$
</a>
$endfor$
<a href="#mainNav"
title="Hauptnavigation"
>
<amp-img layout="responsive"
alt="Menü"
src="http://cwsvjudo.bplaced.net/ressourcen/graphiken/icons/arrowRightDown.svg"
width="500"
height="500"
</amp-img>
<span>zur Hauptnavigation</span>
</a>
</nav>
$endif$
$for(include-before)$
$include-before$
$endfor$
$if(toc)$
<nav id="$idprefix$TOC">
$toc$
</nav>
$endif$
<main id="content">
$body$
</main>
<aside class="sideNotes">
Die Judoka des CWSV bedanken sich bei ihren Förderern:
<ul class="sponsorList">
<li>
Familie Mögel für den unermüdlichen Einsatz als Fans, Fahrer, Fotograf und Vertretung
</li>
<li>
Druck + Werbestudio Eckart &amp; Partner
<div><a title="Druck + Werbestudio Eckart &amp; Partner" href="http://www.dws-eckart.de">
<amp-img layout="responsive" width="300" height="107" src="http://cwsvjudo.bplaced.net/ressourcen/graphiken/sponsoren/EckartUndPartner.png" title="Druck + Werbestudio Eckart &amp; Partner GmbH" alt="Druck + Werbestudio Eckart &amp; Partner Logo"></amp-img>
</a>
</div>
</li>
<li>
Der CWSV ist anerkannter Stützpunktverein des Bundesprogrammes „Integration durch Sport”
<div>
<a href="http://www.integration-durch-sport.de" title="Integration durch Sport">
<amp-img layout="responsive" src="http://cwsvjudo.bplaced.net/ressourcen/graphiken/logos/IntegrationDurchSport2018.250x.png" title="Integration durch Sport - Anerkannter Stützpunktverein" alt="Integration durch Sport - Anerkannter Stützpunktverein" width="250" height="416"></amp-img>
</a>
</div>
</li>
</ul>
</aside>
<footer class="footerBar">
<a class="touchLink"
title="Seite auf HTML 5 Konformität prüfen"
href="http://validator.w3.org/check?uri=<?php echo(urlencode(getCurPagesUrl()));?>"
rel="nofollow"
>Valid <amp-img layout="responsive"
src="/ressourcen/graphiken/icons/HTML5_1Color_Black.svg"
alt="HTML 5"
></amp-img>
</a>
<a class="touchLink" title="Möglichkeiten mit dem Chemnitzer Freizeit- und Wohngebietssportverein in Kontakt zu treten" href="/kontakt" >Kontakt</a>
<a class="touchLink" title="Impressum" href="<?php echo($$baseUrl);?>/impressum" >Impressum</a>
<a class="touchLink" title="Datenschutz" href="<?php echo($$baseUrl);?>/datenschutz" >Datenschutz</a>
<a class="touchLink"
title="News-Feed Abonnieren"
href="http://cwsvjudo.bplaced.net/rss"
><amp-img layout="responsive"
src="/ressourcen/graphiken/icons/newsFeedIcon.svg"
alt="Newsfeed"
></amp-img>
</a>
</footer>
$for(include-after)$
$include-after$
$endfor$
</body>
</html>

View File

@@ -18,8 +18,7 @@
galleryRedirector();
PHPCount::AddHit("$title$");
?>
PHPCount::AddHit("$title$");?>
<!DOCTYPE html>
<html$if(lang)$ lang="$lang$"$endif$$if(dir)$ dir="$dir$"$endif$>
<head>
@@ -41,9 +40,13 @@ $if(ampVersionLink)$
<link rel="amphtml" href="$ampVersionLink$" />
$endif$
<title>$if(title-prefix)$$title-prefix$ $endif$$pagetitle$</title>
<style type="text/css">code{white-space: pre;}</style>
<style>code{white-space: pre;}</style>
$if(quotes)$
<style type="text/css">q { quotes: "“" "”" "" ""; }</style>
<style>
q { quotes: "“" "”" "" ""; }
.fontSizeXxSmall{font-size: xx-small;}
.displayNone{display: none;}
</style>
$endif$
$if(highlighting-css)$
<style type="text/css">
@@ -53,17 +56,48 @@ $endif$
$for(css)$
<link rel="stylesheet" href="/$css$">
$endfor$
$for(extraCss)$
<link rel="stylesheet" href="$extraCss$">
$endfor$
$if(math)$
$math$
$endif$
<script type='application/ld+json'>
{
"@context": "http://www.schema.org",
"@type": "WebSite",
"name": "$title$",
"alternateName": "$description$",
"url": "http://cwsvjudo.bplaced.net",
"image": "http://cwsvjudo.bplaced.net/ressourcen/graphiken/logos/cwsvJudoLogoWappen.256w.png"
}
</script>
$if(jsonSdFiles)$
<script type='application/ld+json'>
$for(jsonSdFiles)$
<?php include($$basePath."/ressourcen/structuredData/json/$jsonSdFiles$");?>
$endfor$
</script>
$endif$
$if(jsLibs)$
$for(jsLibs)$
<script src="$jsLibs$" type="text/javascript"></script>
$endfor$
$endif$
<link rel="alternate" type="application/rss+xml" href="/rss">
<?php require_once($$basePath."/pages/shared/favicon.html.inc");?>
$for(header-includes)$
$header-includes$
$header-includes$
$endfor$
</head>
<body>
<!-- Kopfzeile mit Titel, Promobildern und Breadcrumbs -->
<header class="cwsvHeader">
<img width="200" height="140" title="Judo im Chemnitzer WSV" alt="Judo im Chemnitzer WSV - Promo" src="http://cwsvjudo.bplaced.net/ressourcen/graphiken/banner/bannerlogo.1.jpg" />
<img
width="200" height="140"
title="Judo im Chemnitzer WSV" alt="Judo im Chemnitzer WSV - Promo"
src="http://cwsvjudo.bplaced.net/ressourcen/graphiken/banner/bannerlogo.1.jpg"
/>
<span>Judo</span>
<span class="breadcrumbs"></span>
<img