- Das die cssKomprimierung wieder aktiviert

modified:   Makefile
- Ein Makefile zum Upload einer VideoGalerie auf eine ftpServer
	modified:   src/Makefiles/Makefile.ftpUpload
- Starte "ohne Teilnahme" werden nicht mehr in der Gesamptanzahl
berücksichtigt
	modified:   wkParticipo/admin/showEvent.php
	modified:   wkParticipo/showWkEvent.php
This commit is contained in:
marko
2018-11-12 09:29:37 +01:00
parent 2b7ab02db4
commit 93f4371093
4 changed files with 32 additions and 13 deletions

View File

@@ -94,19 +94,21 @@
<h2>Einschreibungen:</h2>
<?php if( !empty($_SESSION['login']) ){
$wkEventStarterData = getEventsStarterData($mysqli, $eventData['id']);
?>
<?php $wkEventStarterData = getEventsStarterData($mysqli, $eventData['id']);?>
<li>Eingeschrieben:
<?php
$starters = getStarterForEvent($mysqli, $eventData['id']);
if( empty($starters) ){
$anzahlKaempfer = array_count_values(array_column($starters, 'type'))['1'];
$anzahlZuschauer = array_count_values(array_column($starters, 'type'))['2'];
// if( empty($starters) ){
if( ($anzahlKaempfer+$anzahlZuschauer) <= 0 ){
?>
Noch hat sich niemand für diesen Wettkampf gemeldet!
Noch will niemand zu diesem Wettkampf!
<?php
}
else{
echo count($starters);
echo($anzahlKaempfer+$anzahlZuschauer);
}
?>
<ul>
@@ -139,8 +141,9 @@
</ul>
</li>
<!--
<p>Es sind momentan <?php echo (count($wkEventStarterData) == 0 ? "keine" : count($wkEventStarterData));?> Starter eingeschrieben.</p>
-->
<?php
}
?>