der (eventuellen) Einzelansicht im Wettkampfkalender. modified: pandocTemplate/cwsvJudo.amp.pandocTemplate modified: pandocTemplate/cwsvJudo.html5.pandocTemplate modified: phpLib/cwsvJudo/wkKalender.php modified: src/md/wkKalender.md
275 lines
8.9 KiB
Plaintext
275 lines
8.9 KiB
Plaintext
<?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();
|
||
|
||
$if(phpTitleString)$
|
||
PHPCount::AddHit($phpTitleString$." (Amp)");?>
|
||
$else$
|
||
PHPCount::AddHit("$title$ (Amp)");?>
|
||
$endif$
|
||
<!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(phpTitleString)$
|
||
<title><?php echo( $phpTitleString$ );?></title>
|
||
$else$
|
||
<title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
|
||
$endif$
|
||
$if(phpDescriptionString)$
|
||
<meta name="description" content="<?php echo( $phpDescriptionString$ );?>" />
|
||
$else$
|
||
<meta name="description" content="$description$" />
|
||
$endif$
|
||
$if(canonicalLink)$
|
||
<link rel="canonical" href="$canonicalLink$" />
|
||
$endif$
|
||
$if(ampVersionLink)$
|
||
<link rel="amphtml" href="$ampVersionLink$" />
|
||
$endif$
|
||
<?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: .5em;
|
||
padding-right: .5em;
|
||
}
|
||
#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>
|
||
<script type='application/ld+json'>
|
||
{
|
||
"@context": "http://www.schema.org",
|
||
"@type": "WebSite",
|
||
$if(phpTitleString)$
|
||
"name": "<?php echo( $phpTitleString$ );?>",
|
||
$else$
|
||
"name": "$title$",
|
||
$endif$
|
||
"alternateName": "$description$",
|
||
$if(canonicalLink)$
|
||
"url": "$canonicalLink$",
|
||
$else$
|
||
"url": "http://cwsvjudo.bplaced.net",
|
||
$endif$
|
||
"image": "http://cwsvjudo.bplaced.net/ressourcen/graphiken/logos/cwsvJudoLogoWappen.256w.png"
|
||
}
|
||
</script>
|
||
$if(jsonSdFiles)$
|
||
$for(jsonSdFiles)$
|
||
<script type='application/ld+json'>
|
||
<?php include($$basePath."/ressourcen/structuredData/json/$jsonSdFiles$");?>
|
||
</script>
|
||
$endfor$
|
||
$endif$
|
||
<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>
|
||
<span>Judo</span>
|
||
<span><?php $$zitat = getRandomCite( getCwsvJudoDbConn() ); echo($$zitat['zitat']);?></span>
|
||
</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 & Partner
|
||
<div><a title="Druck + Werbestudio Eckart & 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 & Partner GmbH" alt="Druck + Werbestudio Eckart & Partner Logo"></amp-img>
|
||
</a>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
Der CWSV ist anerkannter Stützpunktverein des Bundesprogrammes „Integration durch Sport”
|
||
<div>
|
||
<a href="https://integration.dosb.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>
|