Wettkampftermine als Cards; schön ist etwas anderes, aber zeitgemäßer sieht es aus...

neue Datei:     pandocTemplate/cwsvJudo.html5.pandocTemplate
	geändert:       wkParticipo/index.php
	geändert:       wkParticipo/lib/wkParticipoLib.inc.php
	geändert:       wkParticipo/showWkEvent.php
	geändert:       wkParticipo/wkParticipo.css
This commit is contained in:
marko
2018-07-22 16:33:01 +02:00
parent 66376d2418
commit bd69ca1888
5 changed files with 439 additions and 122 deletions

View File

@@ -80,9 +80,9 @@ setlocale (LC_ALL, 'de_DE@euro', 'de_DE', 'de', 'ge');
<h2 id="meldungen">Eingeschrieben zu kommenden Wettkämpfen:</h2>
<?php
foreach( explode( ',', getUserData($mysqli, $_SESSION['user']['userId'])['kinder']) as $kindId){
$kindDaten = getUserData($mysqli, $kindId);
$kindDaten = getUserData($mysqli, $kindId, array('outCharset'=>"UTF-8") );
?>
<h3><?php echo( mb_convert_encoding($kindDaten['name'].", ".$kindDaten['vorname'].": ", 'UTF-8', 'ISO-8859-1') );?></h3>
<h3><?php echo( $kindDaten['name'].", ".$kindDaten['vorname'].": " );?></h3>
<?php
$wkEventData = getUsersCommingWkEvents( $mysqli, $kindId, array('outCharset'=>"UTF-8") );
if(empty($wkEventData)){
@@ -189,8 +189,9 @@ setlocale (LC_ALL, 'de_DE@euro', 'de_DE', 'de', 'ge');
<hr />
<h2 id="wettkaempfen">Anstehende Wettkämpfe</h2>
Nicht wundern, dass hier eventuell etwas doppelt steht! Ich experimentiere gerade.
<?php
$wkEvents = getCommingWkEvents($mysqli);
$wkEvents = getCommingWkEvents($mysqli, array('outCharset'=>"UTF-8") );
if( empty($wkEvents) ){
?>
@@ -200,7 +201,7 @@ setlocale (LC_ALL, 'de_DE@euro', 'de_DE', 'de', 'ge');
else{
foreach( $wkEvents as $wk){
//print_r($wk);
$wkEvent = getWkEventData($mysqlConn, $wk['id']);
$wkEvent = getWkEventData($mysqlConn, $wk['id'], array('outCharset'=>"UTF-8"));
?>
<h3><?php echo( $wkEvent['Veranstaltung'] );?></h3>
<?php