- 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:
@@ -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
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user