Merge branch 'redesign2018' of /media/sdb1/judoRepo into redesign2018

Conflicts:
	homepage/redesign2018/markdownExperiment/wkParticipo/index.php
This commit is contained in:
marko
2018-07-22 10:01:02 +02:00
3 changed files with 150 additions and 24 deletions

View File

@@ -1,4 +1,5 @@
<?php
setlocale (LC_ALL, 'de_DE@euro', 'de_DE', 'de', 'ge');
require_once('./local/wkParticipoConf.php.inc');
require_once('./auth.php');
require_once('./local/db.php.inc');
@@ -24,12 +25,13 @@
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="wkParticipo.css">
<link rel="stylesheet" href="http://cwsvjudo.bplaced.net/ressourcen/css/cwsvJudoNavBar.css">
</head>
<body>
<?php echo $login_status; ?>
<h1>Wettkampfplanung - Übersicht</h1>
<h1>Wettkampf&shy;planung - Übersicht</h1>
<nav class="navBar">
@@ -91,32 +93,45 @@
else{
foreach($wkEventData as $wkEvent){
?>
<h4><?php echo mb_convert_encoding($wkEvent['Veranstaltung'], 'UTF-8', 'ISO-8859-1');?></h4>
<div class="wkBox">
<div class="wkInfo"><ul>
<li>Datum: <time datetime="<?php echo mb_convert_encoding($wkEvent['Datum'], 'UTF-8', 'ISO-8859-1');?>"><?php echo mb_convert_encoding($wkEvent['Datum'], 'UTF-8', 'ISO-8859-1');?></time></li>
<li>Altersklassen: <?php echo mb_convert_encoding($wkEvent['Altersklassen'], 'UTF-8', 'ISO-8859-1');?></li>
<li>Eingeschrieben als: <?php echo($startTyp[$wkEvent['type']]);?></li>
</ul></div>
<nav>
<ul>
<li>
<a href ="./showWkEvent.php?eventId=<?php echo $wkEvent['eventId']?>">
<div>Detailansicht</div>
<div class="wkInfoCard">
<time class="wkInfoCardDate" datetime="<?php echo( $wkEvent['Datum'] );?>">
<span class="wkInfoCardDateWeekday">
<?php echo( strftime("%a", strtotime($wkEvent['Datum'])));?>
</span>
<span class="wkInfoCardDateDay">
<?php echo( strftime("%d", strtotime($wkEvent['Datum'])));?>
</span>
<span class="wkInfoCardDateMonth">
<?php echo( strftime("%b", strtotime($wkEvent['Datum'])));?>
</span>
<span class="wkInfoCardDateYear">
<?php echo( strftime("%Y", strtotime($wkEvent['Datum'])));?>
</span>
</time>
<div class="wkInfoCardWkData">
<div class="wkInfoCardWkInfo">
<h4 class="fontWeightLighter" ><?php echo( $wkEvent['Veranstaltung'] );?></h4>
<ul>
<li>Datum: <time datetime="<?php echo( $wkEvent['Datum'] );?>"><?php echo( $wkEvent['Datum'] );?></time></li>
<li>Altersklassen: <?php echo( $wkEvent['Altersklassen'] );?></li>
<li>Eingeschrieben als: <?php echo( $startTyp[$wkEvent['type']] );?></li>
</ul>
</div>
<div class="wkInfoCardButtonBar">
<a href ="./showWkEvent.php?eventId=<?php echo $wkEvent['eventId']?>" class="wkInfoCardButton wkInfoCardButtonSuccess wkInfoCardButtonRaised">
Detailansicht
</a>
</li>
<li>
<a href ="/ressourcen/phpLib/calendar.php?wkID=<?php echo $wkEvent['lfdeNr']?>">
<div>Termin als iCal</div>
<a href ="/ressourcen/phpLib/calendar.php?wkID=<?php echo $wkEvent['lfdeNr']?>" class="wkInfoCardButton wkInfoCardButtonSuccess wkInfoCardButtonRaised">
Termin als iCal
</a>
</li>
<li>
<a href ="<?php echo(addToGcalUrl(mb_convert_encoding($wkEvent['Veranstaltung'], 'UTF-8', 'ISO-8859-1'), mb_convert_encoding($wkEvent['Datum'], 'UTF-8', 'ISO-8859-1') ));?>">
<div>In den Google Calendar</div>
<a href ="<?php echo( addToGcalUrl( $wkEvent['Veranstaltung'], $wkEvent['Datum'] ) );?>" class="wkInfoCardButton wkInfoCardButtonSuccess wkInfoCardButtonRaised">
In den Google Calendar
</a>
</li>
</ul>
</nav>
</div>
</div>
</div>
<?php
}