Update nach langer Zeit

- description zu den seiten hinzugefügt
- square7 etwas entfernt
- update pandoc: version 2.13 benötigt
This commit is contained in:
marko
2021-05-21 11:29:12 +02:00
parent b8aa1e3cf4
commit bdb7dd5514
23 changed files with 477 additions and 131 deletions

View File

@@ -56,6 +56,7 @@ build/%.php: src/md/%.md build/yaml/%.yaml pandocTemplate/cwsvJudo.html5.pandocT
--standalone \ --standalone \
--css="ressourcen/css/cwsvJudo.css" \ --css="ressourcen/css/cwsvJudo.css" \
--template=pandocTemplate/cwsvJudo.html5.pandocTemplate \ --template=pandocTemplate/cwsvJudo.html5.pandocTemplate \
--to=html \
--output=$@ \ --output=$@ \
$< $(word 2,$^) $< $(word 2,$^)
@@ -65,6 +66,7 @@ build/amp/%.php: src/md/%.md build/yaml/%.yaml pandocTemplate/cwsvJudo.amp.pando
--standalone \ --standalone \
--css="ressourcen/css/cwsvJudo.css" \ --css="ressourcen/css/cwsvJudo.css" \
--template=pandocTemplate/cwsvJudo.amp.pandocTemplate \ --template=pandocTemplate/cwsvJudo.amp.pandocTemplate \
--to=html \
--output=$@ \ --output=$@ \
$< $(word 2,$^) $< $(word 2,$^)
# Die auskommentierte Variante fand ich besser, aber der Validator hat ein Problem mit http bei src in img ;) # Die auskommentierte Variante fand ich besser, aber der Validator hat ein Problem mit http bei src in img ;)
@@ -82,11 +84,6 @@ upload: $(uploadMarker)
build/.uploadMarker/%.php: build/%.php build/.uploadMarker/%.php: build/%.php
mkdir -p build/.uploadMarker mkdir -p build/.uploadMarker
# curl \
# --upload-file $^ \
# --user cwsvjudo:Dee4oquu \
# ftp://cwsvjudo.square7.net/pages/responsive/$(patsubst build/%.php,%.php,$^) \
# --ftp-create-dirs
curl \ curl \
--upload-file $^ \ --upload-file $^ \
--user cwsvjudo:***REMOVED*** \ --user cwsvjudo:***REMOVED*** \
@@ -97,11 +94,6 @@ build/.uploadMarker/%.php: build/%.php
build/.uploadMarker/amp/%.php: build/amp/%.php build/.uploadMarker/amp/%.php: build/amp/%.php
mkdir -p build/.uploadMarker/amp mkdir -p build/.uploadMarker/amp
# curl \
# --upload-file $^ \
# --user cwsvjudo:Dee4oquu \
# ftp://cwsvjudo.square7.net/pages/$(patsubst build/amp/%.php,amp/%.php,$^) \
# --ftp-create-dirs
curl \ curl \
--upload-file $^ \ --upload-file $^ \
--user cwsvjudo:***REMOVED*** \ --user cwsvjudo:***REMOVED*** \
@@ -113,11 +105,6 @@ build/.uploadMarker/amp/%.php: build/amp/%.php
build/.uploadMarker/phpLib/%.php: phpLib/%.php build/.uploadMarker/phpLib/%.php: phpLib/%.php
mkdir -p build/.uploadMarker/phpLib/cwsvJudo mkdir -p build/.uploadMarker/phpLib/cwsvJudo
mkdir -p build/.uploadMarker/phpLib/phpcount mkdir -p build/.uploadMarker/phpLib/phpcount
# curl \
# --upload-file $^ \
# --user cwsvjudo:Dee4oquu \
# ftp://cwsvjudo.square7.net/ressourcen/$(patsubst build/%.php,%.php,$^) \
# --ftp-create-dirs
curl \ curl \
--upload-file $^ \ --upload-file $^ \
--user cwsvjudo:***REMOVED*** \ --user cwsvjudo:***REMOVED*** \
@@ -127,11 +114,6 @@ build/.uploadMarker/phpLib/%.php: phpLib/%.php
build/.uploadMarker/css/%.css: build/css/%.css build/.uploadMarker/css/%.css: build/css/%.css
mkdir -p build/.uploadMarker/css mkdir -p build/.uploadMarker/css
# curl \
# --upload-file $^ \
# --user cwsvjudo:Dee4oquu \
# ftp://cwsvjudo.square7.net/ressourcen/$(patsubst build/%,%,$^) \
# --ftp-create-dirs
curl \ curl \
--upload-file $^ \ --upload-file $^ \
--user cwsvjudo:***REMOVED*** \ --user cwsvjudo:***REMOVED*** \
@@ -142,11 +124,6 @@ build/.uploadMarker/css/%.css: build/css/%.css
build/.uploadMarker/config/%: config/% build/.uploadMarker/config/%: config/%
mkdir -p build/.uploadMarker/config mkdir -p build/.uploadMarker/config
curl \
--upload-file $^ \
--user cwsvjudo:Dee4oquu \
ftp://cwsvjudo.square7.net/$(patsubst build/%,%,$^) \
--ftp-create-dirs
curl \ curl \
--upload-file $^ \ --upload-file $^ \
--user cwsvjudo:***REMOVED*** \ --user cwsvjudo:***REMOVED*** \

View File

@@ -0,0 +1,34 @@
<?php
$basePath = "/users/cwsvjudo/www";
require_once($basePath."/ressourcen/phpLib/parsedown/Parsedown.php");
require_once($basePath."/ressourcen/phpLib/parsedown-extra/ParsedownExtra.php");
$fileList = glob($basePath."/admin/mdDisplayer/*.md");
rsort($fileList);
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>mdDisplayer</title>
<meta name="description" content="mdDisplayer">
</head>
<body>
<?php
echo("<ul>");
foreach($fileList as $file){
echo("<li><a href=\"#".$file."\">".mb_convert_encoding( basename($file), "UTF-8", "ISO-8859-1" )."</a></li>");
}
echo("</ul>");
foreach($fileList as $file){
echo("<hr /><a name=\"".$file."\"></a>");
echo("<div class=\"infoZettel\">" . ParsedownExtra::instance()->text( file_get_contents($file) ) . "</div><hr />");
}
?>
</body>
</html>

View File

@@ -7,5 +7,5 @@ $db_name='cwsvjudo';
$phpcountConfig["db"]["host"] = "localhost"; $phpcountConfig["db"]["host"] = "localhost";
$phpcountConfig["db"]["name"] = "cwsvjudo"; $phpcountConfig["db"]["name"] = "cwsvjudo";
$phpcountConfig["db"]["user"] = "cwsvjudo"; $phpcountConfig["db"]["user"] = "cwsvjudo";
$phpcountConfig["db"]["password"] = "Dee4oquu"; $phpcountConfig["db"]["password"] = "***REMOVED***";
?> ?>

View File

@@ -2,7 +2,7 @@
$phpcountConfig["db"]["host"] = "localhost"; $phpcountConfig["db"]["host"] = "localhost";
$phpcountConfig["db"]["name"] = "cwsvjudo"; $phpcountConfig["db"]["name"] = "cwsvjudo";
$phpcountConfig["db"]["user"] = "cwsvjudo"; $phpcountConfig["db"]["user"] = "cwsvjudo";
$phpcountConfig["db"]["password"] = "Dee4oquu"; $phpcountConfig["db"]["password"] = "***REMOVED***";
$phpcountConfig["db"]["hitsTable"] = "phpcount_hits"; $phpcountConfig["db"]["hitsTable"] = "phpcount_hits";
$phpcountConfig["db"]["nodupesTable"] = "phpcount_nodupes"; $phpcountConfig["db"]["nodupesTable"] = "phpcount_nodupes";

View File

@@ -39,14 +39,14 @@ $if(keywords)$
$endif$ $endif$
$if(phpTitleString)$ $if(phpTitleString)$
<title><?php echo( $phpTitleString$ );?></title> <title><?php echo( $phpTitleString$ );?></title>
$else$ $else$$if(title)$
<title>$if(title-prefix)$$title-prefix$ $endif$$pagetitle$</title> <title>$if(title-prefix)$$title-prefix$ $endif$$pagetitle$</title>
$endif$ $endif$$endif$
$if(phpDescriptionString)$ $if(phpDescriptionString)$
<meta name="description" content="<?php echo( $phpDescriptionString$ );?>" /> <meta name="description" content="<?php echo( $phpDescriptionString$ );?>" />
$else$ $else$$if(description)$
<meta name="description" content="$description$" /> <meta name="description" content="$description$" />
$endif$ $endif$$endif$
$if(canonicalLink)$ $if(canonicalLink)$
<link rel="canonical" href="$canonicalLink$" /> <link rel="canonical" href="$canonicalLink$" />
$endif$ $endif$
@@ -232,29 +232,7 @@ $endif$
$body$ $body$
</main> </main>
<aside class="sideNotes"> <aside class="sideNotes"><?php include_once( $$basePath."/pages/shared/sponsorlist.inc.amp" );?></aside>
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="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"> <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="Möglichkeiten mit dem Chemnitzer Freizeit- und Wohngebietssportverein in Kontakt zu treten" href="/kontakt" >Kontakt</a>

View File

@@ -12,6 +12,7 @@
require_once($$basePath."/ressourcen/phpLib/cwsvJudo/wkKalender.php"); require_once($$basePath."/ressourcen/phpLib/cwsvJudo/wkKalender.php");
require_once($$basePath."/ressourcen/phpLib/cwsvJudo/galTable.php"); require_once($$basePath."/ressourcen/phpLib/cwsvJudo/galTable.php");
require_once($$basePath."/ressourcen/phpLib/cwsvJudo/newsTableHtml.php"); require_once($$basePath."/ressourcen/phpLib/cwsvJudo/newsTableHtml.php");
require_once($$basePath."/ressourcen/phpLib/cwsvJudo/newsLib.php");
require_once($$basePath."/ressourcen/phpLib/cwsvJudo/galleryRedirector.php"); require_once($$basePath."/ressourcen/phpLib/cwsvJudo/galleryRedirector.php");
require_once($$basePath."/ressourcen/phpLib/phpcount/phpcount.php"); require_once($$basePath."/ressourcen/phpLib/phpcount/phpcount.php");
@@ -22,6 +23,7 @@ $if(phpTitleString)$
$else$ $else$
PHPCount::AddHit("$title$");?> PHPCount::AddHit("$title$");?>
$endif$ $endif$
<!DOCTYPE html> <!DOCTYPE html>
<html$if(lang)$ lang="$lang$"$endif$$if(dir)$ dir="$dir$"$endif$> <html$if(lang)$ lang="$lang$"$endif$$if(dir)$ dir="$dir$"$endif$>
<head> <head>
@@ -36,9 +38,6 @@ $endif$
$if(keywords)$ $if(keywords)$
<meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$"> <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$">
$endif$ $endif$
$if(description)$
<meta name="description" content="$description$" />
$endif$
$if(canonicalLink)$ $if(canonicalLink)$
<link rel="canonical" href="$canonicalLink$" /> <link rel="canonical" href="$canonicalLink$" />
$endif$ $endif$
@@ -47,14 +46,14 @@ $if(ampVersionLink)$
$endif$ $endif$
$if(phpTitleString)$ $if(phpTitleString)$
<title><?php echo( $phpTitleString$ );?></title> <title><?php echo( $phpTitleString$ );?></title>
$else$ $else$$if(title)$
<title>$if(title-prefix)$$title-prefix$ $endif$$pagetitle$</title> <title>$if(title-prefix)$$title-prefix$ $endif$$pagetitle$</title>
$endif$ $endif$$endif$
$if(phpDescriptionString)$ $if(phpDescriptionString)$
<meta name="description" content="<?php echo( $phpDescriptionString$ );?>" /> <meta name="description" content="<?php echo( $phpDescriptionString$ );?>" />
$else$ $else$$if(description)$
<meta name="description" content="$description$" /> <meta name="description" content="$description$" />
$endif$ $endif$$endif$
$if(css)$ $if(css)$
<style> <style>
$for(css)$ $for(css)$
@@ -230,29 +229,7 @@ $endif$
$body$ $body$
</main> </main>
<aside class="sideNotes"> <aside class="sideNotes"><?php include_once( $$basePath."/pages/shared/sponsorlist.inc.html" );?></aside>
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">
<img 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">
</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">
<img 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">
</a>
</div>
</li>
</ul>
</aside>
<footer class="footerBar"> <footer class="footerBar">
<a class="touchLink" <a class="touchLink"

View File

@@ -188,4 +188,16 @@ return json_encode(
) )
); );
} }
function getHtmlNewsTitle(){
$htmlTitle = "Neuigkeiten der Judoka des Chemnitzer Freizeit- und Wohngebiets&shy;sportvereines e.&#x202f;V.";
if($_GET['newsId']){
$dbConn = getCwsvJudoDbConn();
$options['newsId']=$_GET['newsId'];
$mainNews=getNews(getCwsvJudoDbConn(), $options);
if($mainNews)
$htmlTitle = $mainNews[0]['betreff']." - ".$htmlTitle;
}
return $htmlTitle;
}
?> ?>

Submodule homepage/redesign2018/markdownExperiment/phpLib/phpcount added at f1d3b543d2

View File

@@ -78,12 +78,6 @@ videos/webm/%.webm: videos/aufnahmen/helko/%.mp4
-an \ -an \
-f webm \ -f webm \
$@ $@
# Wir extperimentieren ja nur, deshalb kein Upload
# curl \
# --upload-file $@ \
# --user cwsvjudo:Dee4oquu \
# ftp://cwsvjudo.square7.net/videoalben/videoalben.2018/$(VID_GAL_DIR)/$(patsubst videos/%,%,$@) \
# --ftp-create-dirs
# curl \ # curl \
# --upload-file $@ \ # --upload-file $@ \
# --user cwsvjudo:***REMOVED*** \ # --user cwsvjudo:***REMOVED*** \
@@ -116,11 +110,6 @@ videos/webm/%.webm: videos/aufnahmen/mögel/%.MP4
-an \ -an \
-f webm \ -f webm \
$@ $@
curl \
--upload-file $@ \
--user cwsvjudo:Dee4oquu \
ftp://cwsvjudo.square7.net/videoalben/videoalben.2018/$(VID_GAL_DIR)/$(patsubst videos/%,%,$@) \
--ftp-create-dirs
curl \ curl \
--upload-file $@ \ --upload-file $@ \
--user cwsvjudo:***REMOVED*** \ --user cwsvjudo:***REMOVED*** \
@@ -151,11 +140,6 @@ videos/webm/%.webm: videos/aufnahmen/moegel/%.MP4
-an \ -an \
-f webm \ -f webm \
$@ $@
curl \
--upload-file $@ \
--user cwsvjudo:Dee4oquu \
ftp://cwsvjudo.square7.net/videoalben/videoalben.2018/$(VID_GAL_DIR)/$(patsubst videos/%,%,$@) \
--ftp-create-dirs
curl \ curl \
--upload-file $@ \ --upload-file $@ \
--user cwsvjudo:***REMOVED*** \ --user cwsvjudo:***REMOVED*** \
@@ -187,11 +171,6 @@ videos/webm/%.webm: videos/aufnahmen/papaRomy/%.mp4
-an \ -an \
-f webm \ -f webm \
$@ $@
curl \
--upload-file $@ \
--user cwsvjudo:Dee4oquu \
"ftp://cwsvjudo.square7.net/videoalben/videoalben.2018/$(VID_GAL_DIR)/$(patsubst videos/%,%,$@)" \
--ftp-create-dirs
curl \ curl \
--upload-file $@ \ --upload-file $@ \
--user cwsvjudo:***REMOVED*** \ --user cwsvjudo:***REMOVED*** \
@@ -222,11 +201,6 @@ videos/webm/%.webm: videos/aufnahmen/papaRomy/%.webm
-an \ -an \
-f webm \ -f webm \
$@ $@
curl \
--upload-file $@ \
--user cwsvjudo:Dee4oquu \
"ftp://cwsvjudo.square7.net/videoalben/videoalben.2018/$(VID_GAL_DIR)/$(patsubst videos/%,%,$@)" \
--ftp-create-dirs
curl \ curl \
--upload-file $@ \ --upload-file $@ \
--user cwsvjudo:***REMOVED*** \ --user cwsvjudo:***REMOVED*** \
@@ -259,11 +233,6 @@ videos/webm/%.webm: videos/aufnahmen/elly/%.mp4
"$@" "$@"
# curl \ # curl \
# --upload-file "$@" \ # --upload-file "$@" \
# --user cwsvjudo:Dee4oquu \
# "ftp://cwsvjudo.square7.net/videoalben/videoalben.2018/$(VID_GAL_DIR)/$(patsubst videos/%,%,$@)" \
# --ftp-create-dirs
# curl \
# --upload-file "$@" \
# --user cwsvjudo:***REMOVED*** \ # --user cwsvjudo:***REMOVED*** \
# "ftp://cwsvjudo.bplaced.net/www/videoalben/videoalben.2018/$(VID_GAL_DIR)/$(patsubst videos/%,%,$@)" \ # "ftp://cwsvjudo.bplaced.net/www/videoalben/videoalben.2018/$(VID_GAL_DIR)/$(patsubst videos/%,%,$@)" \
# --ftp-create-dirs # --ftp-create-dirs
@@ -273,11 +242,6 @@ videos/thumbnails/%.jpg: videos/webm/%.webm
-ffmpeg -i "$^" -vf "select=gt(scene\,0.4)" -frames:v 5 -vsync vfr -vf fps=fps=1/600 "$@" -ffmpeg -i "$^" -vf "select=gt(scene\,0.4)" -frames:v 5 -vsync vfr -vf fps=fps=1/600 "$@"
# curl \ # curl \
# --upload-file "$@" \ # --upload-file "$@" \
# --user cwsvjudo:Dee4oquu \
# "ftp://cwsvjudo.square7.net/videoalben/videoalben.2018/$(VID_GAL_DIR)/$(patsubst videos/%,%,$@)" \
# --ftp-create-dirs
# curl \
# --upload-file "$@" \
# --user cwsvjudo:***REMOVED*** \ # --user cwsvjudo:***REMOVED*** \
# "ftp://cwsvjudo.bplaced.net/www/videoalben/videoalben.2018/$(VID_GAL_DIR)/$(patsubst videos/%,%,$@)" \ # "ftp://cwsvjudo.bplaced.net/www/videoalben/videoalben.2018/$(VID_GAL_DIR)/$(patsubst videos/%,%,$@)" \
# --ftp-create-dirs # --ftp-create-dirs

View File

@@ -0,0 +1,4 @@
<?php
$wkName = "37. Nikolausturnier des JSV Werdau";
$wkDatum = "2018-12-01";
?>

View File

@@ -0,0 +1,5 @@
<?php
$wkName = "37. Nikolausturnier des JSV Werdau";
$imgList = array( "images/37. Nikolausturnier des JSV Werdau-001.jpg", "images/37. Nikolausturnier des JSV Werdau-005.jpg", "images/37. Nikolausturnier des JSV Werdau-007.jpg", "images/37. Nikolausturnier des JSV Werdau-009.jpg", "images/37. Nikolausturnier des JSV Werdau-010.jpg", "images/37. Nikolausturnier des JSV Werdau-011.jpg", "images/37. Nikolausturnier des JSV Werdau-014.jpg", "images/37. Nikolausturnier des JSV Werdau-016.jpg", "images/37. Nikolausturnier des JSV Werdau-017.jpg", "images/37. Nikolausturnier des JSV Werdau-020.jpg", "images/37. Nikolausturnier des JSV Werdau-022.jpg", "images/37. Nikolausturnier des JSV Werdau-026.jpg", "images/37. Nikolausturnier des JSV Werdau-028.jpg", "images/37. Nikolausturnier des JSV Werdau-030.jpg", "images/37. Nikolausturnier des JSV Werdau-037.jpg", "images/37. Nikolausturnier des JSV Werdau-039.jpg", "images/37. Nikolausturnier des JSV Werdau-047.jpg", "images/37. Nikolausturnier des JSV Werdau-053.jpg", "images/37. Nikolausturnier des JSV Werdau-064.jpg", "images/37. Nikolausturnier des JSV Werdau-065.jpg", "images/37. Nikolausturnier des JSV Werdau-069.jpg", "images/37. Nikolausturnier des JSV Werdau-071.jpg", "images/37. Nikolausturnier des JSV Werdau-075.jpg", "images/37. Nikolausturnier des JSV Werdau-077.jpg", "images/37. Nikolausturnier des JSV Werdau-078.jpg", "images/37. Nikolausturnier des JSV Werdau-079.jpg", "images/37. Nikolausturnier des JSV Werdau-081.jpg", );
include( $_SERVER['DOCUMENT_ROOT']."/ressourcen/phpLib/imgGallery/index.php.tmpl" );
?>

View File

@@ -1,10 +1,11 @@
--- ---
lang: de lang: de
title: Videos und Bilder der Judoka des Chemnitzer Freizeit- und Wohngebiets&shy;sportvereines e.&#x202f;V. title: Videos und Bilder der Judoka des Chemnitzer Freizeit- und Wohngebiets&shy;sportvereines e.&#x202f;V.
description: "Alben mit Bildern und Videos von Wettkämpfen, Feiern oder anderen Veranstaltungen der Judoka des Chemnitzer Freizeit- und Wohngebiets&shy;sportvereines e.&#x202f;V."
author: marko author: marko
keywords: keywords:
- Judo - Judo
- Bilder - Bilder
- Videos - Videos
... ...
<?php $basePath = "/users/cwsvjudo/www"; require_once($basePath."/ressourcen/phpLib/cwsvJudo/gallery.lib.php"); var_dump(getGalleryById($_GET['galId']));?> <?php $basePath = "/users/cwsvjudo/www"; require_once( $basePath."/ressourcen/phpLib/cwsvJudo/gallery.lib.php"); var_dump(getGalleryById($_GET['galId']));?>

View File

@@ -1,6 +1,7 @@
--- ---
lang: de lang: de
title: Neuigkeiten der Judoka des Chemnitzer Freizeit- und Wohngebiets&shy;sportvereines e.&#x202f;V. title: Neuigkeiten der Judoka des Chemnitzer Freizeit- und Wohngebiets&shy;sportvereines e.&#x202f;V.
phpTitleString: getHtmlNewsTitle()
author: marko author: marko
keywords: keywords:
- Judo - Judo
@@ -8,5 +9,5 @@ keywords:
- News - News
description: "Bekanntmachungen und Meldungen der Judoka des Chemnitzer WSV" description: "Bekanntmachungen und Meldungen der Judoka des Chemnitzer WSV"
... ...
<?php if($_GET['newsId']){$options['newsId']=$_GET['newsId']; echoNewsTableHtml( $options );}?> <?php if( $_GET['newsId'] ){ $options['newsId'] = $_GET['newsId']; echoNewsTableHtml( $options );}?>
<?php $options=array(); if($_GET['jahr']) $options['jahr']=$_GET['jahr']; else $options['limit']=6; echoNewsTableHtml( $options );?> <?php $options=array(); if( $_GET['jahr'] ) $options['jahr'] = $_GET['jahr']; else $options['limit'] = 6; echoNewsTableHtml( $options );?>

View File

@@ -14,6 +14,20 @@ jsonSdFiles:
- cwsvJudo.json - cwsvJudo.json
... ...
# Training während der Pandemie
Solange Kontaktbeschränkungen und gesperrte Hallen das Training im Dojo verhindern, findet das Training derzeit als Videokonferenz statt:
- Mittwoch: 17:00--18:30 Uhr
- Link und Passwort für die Videokonferenz gibt es in unserem [Planer](http://cwsvjudo.bplaced.net/pages/desktop/wkParticipo/)
- Wer das Login zum Planer nicht (mehr) hat, kann gerne [Kontakt aufnehmen](http://cwsvjudo.bplaced.net/kontakt).
Sofern die aktuellen Inzidenzen und Regelungen es zulassen wird freitags ein Training im Freien stattfinden:
- Freitag: 17:00--18:30 Uhr
Wenn das gemeinsame Training im Dojo wieder möglich ist, werden wir wieder zu unseren alten Trainingszeiten (und - orten) zurückkehren:
# Judotraining im CWSV # Judotraining im CWSV
Wenn Du ab (ca.) 6 Jahre alt bist und Lust hast, Dir unser Training Wenn Du ab (ca.) 6 Jahre alt bist und Lust hast, Dir unser Training
@@ -27,18 +41,23 @@ Auch wer bereits Mitglied in einem Judoverein ist, aber zum Beispiel
während des Studiums in Chemnitz wohnt, darf gerne mit uns trainieren. während des Studiums in Chemnitz wohnt, darf gerne mit uns trainieren.
Eine Ummeldung ist dafür nicht nötig. Eine Ummeldung ist dafür nicht nötig.
## Trainingszeiten ## Trainingszeiten
- Mittwoch (Kinder+Jugend) - Mittwoch (Kinder+Jugend)
- 16:00-17:45 - 16:00--17:45 Uhr
- [Dojo Sportplatz Str. Usti nad Labem 42, 09120 Chemnitz][cwsvJudoDojoMap] - [Dojo Sportplatz Str. Usti nad Labem 42, 09120 Chemnitz][cwsvJudoDojoMap]
- Freitag (Kinder) - Freitag (Kinder/Anfänger)
- 16:00-17:45 - 16:00--17:15 Uhr
- [Dojo Sportplatz Str. Usti nad Labem 42, 09120 Chemnitz][cwsvJudoDojoMap] - [Dojo Sportplatz Str. Usti nad Labem 42, 09120 Chemnitz][cwsvJudoDojoMap]
- Freitag (Jugend/EW) - Zielgruppe: Anfänger und Kinder unter 9 Jahren
- 17:15-19:15 - Freitag (Jugend/Fortgeschrittene)
- 17:00--18:30 Uhr
- [Dojo Sportplatz Str. Usti nad Labem 42, 09120 Chemnitz][cwsvJudoDojoMap] - [Dojo Sportplatz Str. Usti nad Labem 42, 09120 Chemnitz][cwsvJudoDojoMap]
- Zielgruppe: wer die Grundlagen des Judo beherrscht
- Freitag (Jugend/Erwachsene)
- 18:15--19:45 Uhr
- [Dojo Sportplatz Str. Usti nad Labem 42, 09120 Chemnitz][cwsvJudoDojoMap]
- Zielgruppe: Erwachsene und erfahrene Jugend
## Karten der Trainingsstätten ## Karten der Trainingsstätten

View File

@@ -1,12 +1,13 @@
--- ---
lang: de lang: de
phpTitleString: ( (is_positive_integer( \$_GET['wkId']) )?(getWkName(\$_GET['wkId']).' im '):'').'Wettkampfkalender der Judoka des Chemnitzer Freizeit- und Wohngebiets&shy;sportvereines e.&#x202f;V.' title: "Wettkampfkalender der Judoka des Chemnitzer Freizeit- und Wohngebiets&shy;sportvereines e.&#x202f;V."
phpTitleString: ( (is_positive_integer( \$_GET[\'wkId\']) )?(getWkName(\$_GET[\'wkId\']).\' im \'):\'\').\'Wettkampfkalender der Judoka des Chemnitzer Freizeit- und Wohngebiets&shy;sportvereines e.&#x202f;V.\'
author: marko author: marko
keywords: keywords:
- Judo - Judo
- Wettkampf - Wettkampf
- Termine - Termine
phpDescriptionString: ( (is_positive_integer( \$_GET['wkId']) )?(getWkDescription(\$_GET['wkId'])):'Ein Kalender mit Judo-Wettkampfterminen zur Übersicht') phpDescriptionString: ( (is_positive_integer( \$_GET[\'wkId\']) )?(getWkHtmlMetaDescription(\$_GET[\'wkId\'])):\'Ein Kalender mit Judo-Wettkampfterminen zur Übersicht\')
description: "Ein Kalender mit Judo-Wettkampfterminen zur Übersicht" description: "Ein Kalender mit Judo-Wettkampfterminen zur Übersicht"
canonicalLink: "http://cwsvjudo.bplaced.net/wkKalender<?php echo(is_positive_integer($_GET['wkId'])?('/'.$_GET['wkId'].'/'.toAscii(html_entity_decode(getWkName($_GET['wkId'])))):'');?>" canonicalLink: "http://cwsvjudo.bplaced.net/wkKalender<?php echo(is_positive_integer($_GET['wkId'])?('/'.$_GET['wkId'].'/'.toAscii(html_entity_decode(getWkName($_GET['wkId'])))):'');?>"
ampVersionLink: "http://amp.cwsvjudo.bplaced.net/wkKalender<?php echo(is_positive_integer($_GET['wkId'])?('/'.$_GET['wkId'].'/'.toAscii(html_entity_decode(getWkName($_GET['wkId'])))):'');?>" ampVersionLink: "http://amp.cwsvjudo.bplaced.net/wkKalender<?php echo(is_positive_integer($_GET['wkId'])?('/'.$_GET['wkId'].'/'.toAscii(html_entity_decode(getWkName($_GET['wkId'])))):'');?>"

View File

@@ -0,0 +1,19 @@
<aside class="sponsorList">
<ul>
<li>
Der CWSV ist anerkannter St&uuml;tzpunktverein des Bbundesprogrammes &bdquo;Integration durch Sport&rdquo;
<div style="max-heigth=10em;" >
<a
href="http://www.integration-durch-sport.de"
title="Integration durch Sport">
<img
src="http://cwsvjudo.bplaced.net/ressourcen/graphiken/logos/IntegrationDurchSport2018.250x.png"
title="Integration durch Sport - Anerkannter St&uuml;tzpunktverein"
alt="Integration durch Sport - Anerkannter St&uuml;tzpunktverein"
width="250" height="416" hspace="25"
/>
</a>
</div>
</li>
</ul>
</aside>

View File

@@ -0,0 +1,10 @@
<?php if( !isset($baseUrl) ) $baseUrl = "http://cwsvjudo.bplaced.net";?>
<link rel="apple-touch-icon" sizes="180x180" href="<?php echo($baseUrl);?>/ressourcen/graphiken/logos/favicon/realfavicongenerator/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="<?php echo($baseUrl);?>/ressourcen/graphiken/logos/favicon/realfavicongenerator/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="<?php echo($baseUrl);?>/ressourcen/graphiken/logos/favicon/realfavicongenerator/favicon-16x16.png">
<link rel="manifest" href="<?php echo( strpos( $_SERVER['ORIG_PATH_TRANSLATED'], "pages/amp" ) ? "" : $baseUrl );?>/ressourcen/graphiken/logos/favicon/realfavicongenerator/manifest.json">
<link rel="mask-icon" href="<?php echo($baseUrl);?>/ressourcen/graphiken/logos/favicon/realfavicongenerator/safari-pinned-tab.svg" color="#ff8100">
<link rel="shortcut icon" href="<?php echo($baseUrl);?>/ressourcen/graphiken/logos/favicon/realfavicongenerator/favicon.ico">
<meta name="msapplication-config" content="<?php echo($baseUrl);?>/ressourcen/graphiken/logos/favicon/realfavicongenerator/browserconfig.xml">
<meta name="theme-color" content="#ff8100">

View File

@@ -0,0 +1,9 @@
<?php if( !isset($baseUrl) ) $baseUrl = "http://cwsvjudo.bplaced.net";?>
<link rel="apple-touch-icon" sizes="180x180" href="<?php echo($baseUrl);?>/ressourcen/graphiken/logos/favicon/realfavicongenerator/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="<?php echo($baseUrl);?>/ressourcen/graphiken/logos/favicon/realfavicongenerator/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="<?php echo($baseUrl);?>/ressourcen/graphiken/logos/favicon/realfavicongenerator/favicon-16x16.png">
<link rel="mask-icon" href="<?php echo($baseUrl);?>/ressourcen/graphiken/logos/favicon/realfavicongenerator/safari-pinned-tab.svg" color="#ff8100">
<link rel="shortcut icon" href="<?php echo($baseUrl);?>/ressourcen/graphiken/logos/favicon/realfavicongenerator/favicon.ico">
<meta name="msapplication-config" content="<?php echo($baseUrl);?>/ressourcen/graphiken/logos/favicon/realfavicongenerator/browserconfig.xml">
<meta name="theme-color" content="#ff8100">

View File

@@ -0,0 +1,23 @@
Die Judoka des CWSV bedanken sich bei ihren Förderern:
<ul class="sponsorList">
<li>Der CWSV e.V. ist Werbebotschafter der Aktion &bdquo;So geht sächsisch&ldquo;
<a href="https://www.so-geht-saechsisch.de" title="So geht s&auml;chsisch">
<amp-img layout="responsive" style="width:100%;"
src="http://cwsvjudo.bplaced.net/ressourcen/graphiken/banner/soGehtSaechsischWeiss.png"
alt="So geht s&auml;chsisch"
width="2182" height="897"></amp-img>
</a>
</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>

View File

@@ -0,0 +1,23 @@
Die Judoka des CWSV bedanken sich bei ihren Förderern:
<ul class="sponsorList">
<li>Der CWSV e.V. ist Werbebotschafter der Aktion "So geht sächsisch"
<a href="https://www.so-geht-saechsisch.de" title="So geht s&auml;chsisch">
<img
src="http://cwsvjudo.bplaced.net/ressourcen/graphiken/banner/soGehtSaechsischWeiss.png"
alt="So geht s&auml;chsisch"
width="2182" height="897">
</a>
</li>
<li>
Der CWSV ist anerkannter Stützpunktverein des Bundesprogrammes „Integration durch Sport”
<div>
<a href="https://integration.dosb.de" title="Integration durch Sport">
<img
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">
</a>
</div>
</li>
</ul>

View File

@@ -0,0 +1,4 @@
<?php
$wkName = "Weihnachtsturnier des Döbelner SC";
$wkDatum = "2018-12-15";
?>

View File

@@ -0,0 +1,7 @@
<?php
include_once("config.inc.php");
$wkName = empty($wkName) ? "<fehlender Wettkampfname>" : $wkName;
include_once( $_SERVER['DOCUMENT_ROOT']."/ressourcen/phpLib/videoGallery/videoGallery.tmpl.php" );
?>

View File

@@ -0,0 +1,277 @@
<?php
$basePath = "/users/cwsvjudo/www";
require_once($basePath."/config/phpcount.config.php");
require_once($basePath."/config/cwsvJudo.config.php");
require_once($basePath."/ressourcen/phpLib/phpcount/phpcount.php");
$vidGalData = load_vidGal();
/// Laden der Daten der Videogalerie aus einer json
function load_vidGal($filename = "vidGalData.json", $legacyPhpConfigFileName = "config.inc.php"){
// Initialisieren des Rückgabewertes
$vidGalData = [
'name' => "fehlender Name",
'date' => "0000-00-00",
'vidList' => []
];
// Laden aus einer config, legacy
if( file_exists( $legacyPhpConfigFileName ) ){
include( $legacyPhpConfigFileName );
if($wkName)
$vidGalData["name"] = $wkName;
if($wkDatum)
$vidGalData["date"] = $wkDatum;
}
// laden aus einer json
if( file_exists( $filename ) ){
$jsonString = file_get_contents( $filename);
$jsonData = json_decode($jsonString, true);
if($jsonData)
$vidGalData = $jsonData;
}
// falls die vidList jetzt immer noch leer ist, wird nach Videodatein gescannt
if(empty($vidGalData['vidList'])){
$vidGalData['vidList'] = vidScan();
file_put_contents($filename, json_encode($vidGalData, JSON_PRETTY_PRINT));
}
return $vidGalData;
}
/// Scanning for Videos
function vidScan( $fmtList = array("webm", "mp4") ){
$vidList = [];
foreach( $fmtList as $fmt ){
foreach( glob("./".$fmt."/*.".$fmt) as $vid){
$posterSrc = str_replace( ".".$fmt, ".jpg", # Endung ersetzten, ...
str_replace($fmt."/", "thumbnails/", $vid ) ); # nachdem wir das Verzeichnis anpassten
$posterSize = getimagesize( $posterSrc );
$vidList[] = array(
'vidSrc' => $vid,
'vidFmt' => $fmt,
'posterSrc' => $posterSrc,
'width' => $posterSize[0],
'height' => $posterSize[1]
);
}
}
return $vidList;
}
/// Hilfsfunktion zum Anpassen der htmlDescription
function descrName($aName){
$retVal = "Videos der Judoka des Chemnitzer WSV beim Wettkampf ".$aName;
if( strpos($aName, "Sommerabschlussgrillen") >= 0 ) $retVal = "Videos der Judoka des Chemnitzer WSV beim ".$aName;
if( strpos($aName, "Jahrendefeier") >= 0 ) $retVal = "Videos der Judoka des Chemnitzer WSV bei der ".$aName;
return $retVal;
}/// Ende descrName
$messages = array();
?>
<!DOCTYPE HTML>
<html lang="de">
<head>
<title><?php echo( $vidGalData['name'] );?> - Videoalbum</title>
<?php PHPCount::AddHit($vidGalData['name'] ." - Videoalbum");?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="description" content="<?php echo descrName($vidGalData['name'] );?>">
<meta name="keywords" content="Album, Videos">
<!-- BluimpGallery Zeug -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/ressourcen/blueimpGallery/css/blueimp-gallery.css">
<link rel="stylesheet" href="/ressourcen/blueimpGallery/css/blueimp-gallery-indicator.css">
<link rel="stylesheet" href="/ressourcen/blueimpGallery/css/blueimp-gallery-video.css">
<!-- favIcon und Co nach der empfehlung von https://github.com/audreyr/favicon-cheat-sheet -->
<?php require_once($basePath."/pages/shared/favicon.html.inc");?>
<link rel="shortcut icon" type="image/x-icon" sizes="16x16 32x32 48x48 64x64" href="/ressourcen/graphiken/logos/favicon/favicon.ico">
<link rel="manifest" href="/manifest.json">
<link rel="canonical" href="http://cwsvjudo.bplaced.net<?php echo $_SERVER['REQUEST_URI']?>" />
<script type="text/javascript" src="/ressourcen/blueimpGallery/js/blueimp-gallery.min.js" async=""></script>
<!--https://github.com/aFarkas/lazysizes-->
<script src="/ressourcen/jsLib/lazysizes.min.js" async=""></script>
<style>
.no-js img.lazyload {
display: none;
}
</style>
<noscript><style>
img.lazyload {
display: none;
}
</style></noscript>
<style>
body{box-sizing: border-box; margin: 0;}
.smallFont{font-size: small;}
.centerText{text-align: center;}
.navButton{
box-sizing: border-box;
border-color: white;
border-style: outset;
border-radius: 1em;
text-align: center;
text-decoration: none;
cursor: pointer;
display: inline-block;
padding-left: .5em;
padding-right: .5em;
padding: 0;
margin: 0;
}
</style>
</head>
<body style="color: #000000; background-color: #FFAE00" >
<a title="Galerien der Judoka des Chemnitzer WSV" href="/galerien">Zur Galerieübersicht</a>
<?php
/// Eine kleine Messagebox
if( !empty($messages) ){
?>
<div style="border: 1px solid black">
<?php
if( !empty( $messages['info'] ) ) echo( $messages['info'] );
?>
</div>
<?php
}
?>
<h1 class="centerText" >
<?php echo($vidGalData['name'] );?> - Videoalbum
</h1>
<p class="centerText smallFont">
[<?php echo count($vidGalData['vidList'])?> Videos]
</p>
<p class="centerText smallFont">
Auf die jeweiligen Bilder klicken um das Video anzuwählen.
</p>
<hr/>
<style type="text/css">
body{
margin: 0;
}
.galImgList{
font-size: 0;
display: flex;
flex-flow: row wrap;
justify-content: center;
align-items: center;
margin: 0;
padding: 0;
}
.galImgList div{
flex: auto;
width: 100%;
padding: 1vw 0;
flex-grow: unset;
}
.galImgList div img{
width: 100%;
height: auto;
}
.galImgList div video{
width: 100%;
height: auto;
}
@media screen and (min-width: 768px) {
.galImgList div{
width: calc(100% * (1/3) - 2 * .5vw);
margin: .5vw;
}
.galImgList{
padding: .5vw;
}
}
@media screen and (min-width: 1024px) {
.galImgList div{
width: calc(100% * (1/4) - 2 * 1vw);
margin: 1vw;
}
.galImgList{
padding: 1vw;
}
}
</style>
<div id="links" class="galImgList">
<?php
foreach( $vidGalData['vidList'] as $vidKey => $vidEntry ){
echo( "<div>" );
echo "<img class=\"lazyload\" ".
// Wir haben unsere eigen noscript-Alternative (die kein img mehr
// ist!), deshalb brauchen wir diesen empfohlenen Fallback nicht!
// "src=\"".$vidEntry['posterSrc']."\"".
// "srcset=\"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\"".
"id=\"Video".( $vidKey )."\" ".
"data-src=\"".( $vidEntry['posterSrc'] )."\" ".
"width=\"".$vidEntry['width']."\" ".
"height=\"".$vidEntry['height']."\" ".
"alt=\"[".( $vidKey + 1 )."/".( count($vidGalData['vidList']) )."]\" ".
"title=\"".( $vidGalData['name'] )." Video ".( $vidKey + 1 )." von ".( count($vidGalData['vidList']) )."\" ".
"onclick=\"startGalleryShow(" . $vidKey . ");\"".
" />";
echo(
"<noscript>".
"<video controls preload=\"none\" poster=\"".$vidEntry['posterSrc']."\" width=\"".$vidEntry['width']."\" height=\"".$vidEntry['height']."\">".
# "<source src=\"".$vidEntry['vidSrc']."\" type=\"video/webm\">".
# "<source src=\"".$vidEntry['vidSrc']."\" type=\"video/mp4\">".
"<source src=\"".$vidEntry['vidSrc']."\" type=\"video\">".
"Dieser Browser scheint das Video nicht abspielen zu können.".
"</video>".
"</noscript>"
);
echo("</div>");
}
?>
</div><!-- Ende galImgList -->
<!-- BluimpGalerry Lightbox Version -->
<!-- The Gallery as lightbox dialog, should be a child element of the document body -->
<div id="blueimp-gallery" class="blueimp-gallery blueimp-gallery-controls">
<div class="slides"></div>
<h2 class="title"><?php echo $vidGalData['name'] ?></h2>
<a class="prev"></a>
<a class="next"></a>
<a class="close">×</a>
<a class="play-pause"></a>
<ol class="indicator"></ol>
</div>
<script>
function startGalleryShow(startIndex = 0){
var videoList = [
<?php
foreach( $vidGalData['vidList'] as $vidEntry){
echo "{href: '".$vidEntry['vidSrc']."', poster: '".$vidEntry['posterSrc']."', type: 'video/".$vidEntry['vidFmt']."'},";
}
?>
];
var gallery = blueimp.Gallery(
videoList,
{
onslide: function (index, slide) {
var pageUrl = encodeURIComponent( window.location.href ) + "?index=" + index.toString();
var pageTitle = document.title + " [" + index.toString() + "]";
var xmlHttp = new XMLHttpRequest();
xmlHttp.open("GET", callUrl, true); // true for asynchronous
xmlHttp.send(null);
},
startSlideshow: true,
stretchImages: true,
index: startIndex,
}
);
};
window.onload = function () {
startGalleryShow();
};
// startGalleryShow();
</script>
<hr/>
</body>
</html>