mirror of
https://github.com/Deutscher-Tischfussballbund/com_sportsmanager.git
synced 2026-06-10 14:37:52 +00:00
Merge branch 'sportsmanager2-dev' into fix/issue45-duplicate-license-on-ranking-duplication
This commit is contained in:
@@ -83,7 +83,3 @@ JConfig: `./data/joomla_data/configuration.php`
|
|||||||
7. Click on "Start Listening for PHP Debug Connections" in the top row of intellij
|
7. Click on "Start Listening for PHP Debug Connections" in the top row of intellij
|
||||||
8. (Not sure if optional) Install a browser extension by Jetbrains
|
8. (Not sure if optional) Install a browser extension by Jetbrains
|
||||||
https://chromewebstore.google.com/detail/xdebug-helper-by-jetbrain/aoelhdemabeimdhedkidlnbkfhnhgnhm
|
https://chromewebstore.google.com/detail/xdebug-helper-by-jetbrain/aoelhdemabeimdhedkidlnbkfhnhgnhm
|
||||||
|
|
||||||
=======
|
|
||||||
|
|
||||||
Test
|
|
||||||
|
|||||||
@@ -5025,7 +5025,12 @@ function ranglisteAktualisieren($geaenderte_rangliste_id = 0, $geaenderte_turnie
|
|||||||
|
|
||||||
foreach ($ranglisten as $rangliste_index => $rangliste) {
|
foreach ($ranglisten as $rangliste_index => $rangliste) {
|
||||||
$rangliste_id = $rangliste->rangliste_id;
|
$rangliste_id = $rangliste->rangliste_id;
|
||||||
|
if(!isset($rangliste->lizenzen) || $rangliste->lizenzen == "" || $rangliste->lizenzen == NULL) {
|
||||||
|
$rangliste->lizenzen = NULL;
|
||||||
|
} else {
|
||||||
$rangliste->lizenzen = explode(',', $rangliste->lizenzen);
|
$rangliste->lizenzen = explode(',', $rangliste->lizenzen);
|
||||||
|
}
|
||||||
|
|
||||||
$query = "SELECT *"
|
$query = "SELECT *"
|
||||||
. "\n FROM #__sportsmanager_rangliste_turnierdisziplin"
|
. "\n FROM #__sportsmanager_rangliste_turnierdisziplin"
|
||||||
. "\n INNER JOIN #__sportsmanager_turnierdisziplin USING (turnierdisziplin_id)"
|
. "\n INNER JOIN #__sportsmanager_turnierdisziplin USING (turnierdisziplin_id)"
|
||||||
|
|||||||
@@ -382,7 +382,7 @@ function yoothemeBild($typ, $id, $alternativ, $resize = '', $zusatz = ""): ?stri
|
|||||||
else
|
else
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
$bildpfad = "/images/sportsmanager/" . $typ . "/" . $typ_prefix . $id . "." . $ext;
|
$bildpfad = SPORTSMANAGER_JOOMLA_URL . "images/sportsmanager/" . $typ . "/" . $typ_prefix . $id . "." . $ext;
|
||||||
|
|
||||||
return '<img class="el-image" data-src="' . $bildpfad . $resize . '" ' . $zusatz . ' uk-img />';
|
return '<img class="el-image" data-src="' . $bildpfad . $resize . '" ' . $zusatz . ' uk-img />';
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -154,7 +154,6 @@ static function veranstaltungenHeader($titel, $beschreibung, $saisons, $filter_s
|
|||||||
static function veranstaltungHeaderAlone($veranstaltung, $vorherige_veranstaltung_id, $naechste_veranstaltung_id, $showSeasons = false, $seasons = [], $filter_saison_id = 0): void
|
static function veranstaltungHeaderAlone($veranstaltung, $vorherige_veranstaltung_id, $naechste_veranstaltung_id, $showSeasons = false, $seasons = [], $filter_saison_id = 0): void
|
||||||
{
|
{
|
||||||
global $params;
|
global $params;
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<table style="width: 100%; border: none; border-spacing: 0; padding: 3px">
|
<table style="width: 100%; border: none; border-spacing: 0; padding: 3px">
|
||||||
<tr>
|
<tr>
|
||||||
@@ -562,8 +561,8 @@ static function turnierdisziplinen($disziplin, $meldungen, $meldungenSpielerIds,
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
<div class="uk-overflow-auto">
|
<div class="uk-overflow-auto">
|
||||||
<table
|
<table style='width: 100%; padding:1px 1px 1px 1px; border-collapse: collapse;'
|
||||||
class="uk-table uk-table-hover uk-table-divider uk-table-middle contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
class="uk-table-hover uk-table-divider uk-table-middle contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
<?php
|
<?php
|
||||||
if ($platzierung_anzeigen) {
|
if ($platzierung_anzeigen) {
|
||||||
@@ -593,10 +592,6 @@ static function turnierdisziplinen($disziplin, $meldungen, $meldungenSpielerIds,
|
|||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<td nowrap>
|
|
||||||
|
|
||||||
<table style="width: 100%; border: none; border-spacing: 0; padding: 0">
|
|
||||||
<tr>
|
|
||||||
<td>
|
<td>
|
||||||
<?php
|
<?php
|
||||||
$spieler = $meldungenSpielerNamen[$meldung->turniermeldung_id];
|
$spieler = $meldungenSpielerNamen[$meldung->turniermeldung_id];
|
||||||
@@ -625,9 +620,9 @@ static function turnierdisziplinen($disziplin, $meldungen, $meldungenSpielerIds,
|
|||||||
<?php
|
<?php
|
||||||
if ($bilder_anzeigen_1) {
|
if ($bilder_anzeigen_1) {
|
||||||
?>
|
?>
|
||||||
<td style="width: 32px">
|
<td style="width: 70px">
|
||||||
<?php
|
<?php
|
||||||
if (isset($spieler[0]) && ($bild = bildHTML("spieler", !isset($spielerIds[0]) || (!$details_anzeigen && $spielerBilderAusblenden[0]) ? '' : $spielerIds[0], 30, 40, 0, 0, 'border="1"', $spielerGeschlechter[0] == 'M' ? 'm' : 'w')) != null)
|
if (isset($spieler[0]) && ($bild = bildHTML("spieler", !isset($spielerIds[0]) || (!$details_anzeigen && $spielerBilderAusblenden[0]) ? '' : $spielerIds[0], 45, 60, 0, 0, 'border="1"', $spielerGeschlechter[0] == 'M' ? 'm' : 'w')) != null)
|
||||||
echo $bild;
|
echo $bild;
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
@@ -635,19 +630,16 @@ static function turnierdisziplinen($disziplin, $meldungen, $meldungenSpielerIds,
|
|||||||
}
|
}
|
||||||
if ($bilder_anzeigen_2) {
|
if ($bilder_anzeigen_2) {
|
||||||
?>
|
?>
|
||||||
<td style="width: 32px">
|
<td style="width: 70px">
|
||||||
<?php
|
<?php
|
||||||
if (isset($spieler[1]) && ($bild = bildHTML("spieler", !isset($spielerIds[1]) || (!$details_anzeigen && $spielerBilderAusblenden[1]) ? '' : $spielerIds[1], 30, 40, 0, 0, 'border="1"', $spielerGeschlechter[1] == 'M' ? 'm' : 'w')) != null)
|
if (isset($spieler[1]) && ($bild = bildHTML("spieler", !isset($spielerIds[1]) || (!$details_anzeigen && $spielerBilderAusblenden[1]) ? '' : $spielerIds[1], 45, 60, 0, 0, 'border="1"', $spielerGeschlechter[1] == 'M' ? 'm' : 'w')) != null)
|
||||||
echo $bild;
|
echo $bild;
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
@@ -673,7 +665,7 @@ static function turnierdisziplinen($disziplin, $meldungen, $meldungenSpielerIds,
|
|||||||
static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpielerIds, $meldungenSpielerGeschlechter, $meldungenSpielerNamen, $meldungenSpielerBilderAusblenden, $spiele, $vorherige_turnierdisziplin_id, $naechste_turnierdisziplin_id, $platzierung_anzeigen, $details_anzeigen): void
|
static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpielerIds, $meldungenSpielerGeschlechter, $meldungenSpielerNamen, $meldungenSpielerBilderAusblenden, $spiele, $vorherige_turnierdisziplin_id, $naechste_turnierdisziplin_id, $platzierung_anzeigen, $details_anzeigen): void
|
||||||
{
|
{
|
||||||
global $params;
|
global $params;
|
||||||
|
$bildID = 0;
|
||||||
?>
|
?>
|
||||||
<table style="width: 100%; border: none; border-spacing: 0; padding: 3px">
|
<table style="width: 100%; border: none; border-spacing: 0; padding: 3px">
|
||||||
<tr>
|
<tr>
|
||||||
@@ -682,7 +674,8 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
|||||||
<!--img src="images/M_images/arrow.png" border="0"/--> <a
|
<!--img src="images/M_images/arrow.png" border="0"/--> <a
|
||||||
href="<?php echo SportsManagerURL('#id' . $disziplin->turnier_id); ?>">
|
href="<?php echo SportsManagerURL('#id' . $disziplin->turnier_id); ?>">
|
||||||
<?php echo Text::_('COM_SPORTSMANAGER_TOURNAMENTS'); ?></a> > <a
|
<?php echo Text::_('COM_SPORTSMANAGER_TOURNAMENTS'); ?></a> > <a
|
||||||
href="<?php echo SportsManagerURL('&task=turnierdisziplinen&turnierid=' . $disziplin->turnier_id); ?>"><?php echo htmlentities_utf8($turnier->turnierbezeichnung) . (!empty($turnier->turnierort) ? (" in " . $turnier->turnierort) : ""); ?></a>
|
href="<?php echo SportsManagerURL('&task=turnierdisziplinen&turnierid=' . $disziplin->turnier_id); ?>">
|
||||||
|
<?php echo htmlentities_utf8($turnier->turnierbezeichnung) . (!empty($turnier->turnierort) ? (" in " . $turnier->turnierort) : ""); ?></a>
|
||||||
> <?php echo htmlentities_utf8($disziplin->disziplin); ?>
|
> <?php echo htmlentities_utf8($disziplin->disziplin); ?>
|
||||||
</th>
|
</th>
|
||||||
<?php
|
<?php
|
||||||
@@ -723,7 +716,7 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
|||||||
<td nowrap>
|
<td nowrap>
|
||||||
<?php
|
<?php
|
||||||
if (!empty($turnier->turnierort)) echo $turnier->turnierort . ", ";
|
if (!empty($turnier->turnierort)) echo $turnier->turnierort . ", ";
|
||||||
echo FormatiertesDatum($disziplin->beginn) . " " . Text::_('COM_SPORTSMANAGER_HOUR') . ", " . $disziplin->teilnehmer . Text::_('COM_SPORTSMANAGER_MESSAGES');
|
echo FormatiertesDatum($disziplin->beginn) . " " . Text::_('COM_SPORTSMANAGER_HOUR') . ", " . $disziplin->teilnehmer . " " . Text::_('COM_SPORTSMANAGER_MESSAGES');
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -770,7 +763,8 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
|||||||
if (($rundenstufe == 0 || $rundenstufe == 10) && count($meldungen[$rundenstufe]) > 0) {
|
if (($rundenstufe == 0 || $rundenstufe == 10) && count($meldungen[$rundenstufe]) > 0) {
|
||||||
?>
|
?>
|
||||||
<div class="uk-overflow-auto">
|
<div class="uk-overflow-auto">
|
||||||
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
<table style='width: 100%; padding:1px 1px 1px 1px; border-collapse: collapse;'
|
||||||
|
class="contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
<?php
|
<?php
|
||||||
if ($platzierung_anzeigen) {
|
if ($platzierung_anzeigen) {
|
||||||
@@ -800,10 +794,6 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
|||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<td nowrap>
|
|
||||||
|
|
||||||
<table style="width: 100%; border: none; border-spacing: 0; padding: 0">
|
|
||||||
<tr>
|
|
||||||
<td>
|
<td>
|
||||||
<?php
|
<?php
|
||||||
$spieler = $meldungenSpielerNamen[$meldung->turniermeldung_id];
|
$spieler = $meldungenSpielerNamen[$meldung->turniermeldung_id];
|
||||||
@@ -829,31 +819,17 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
|
<td style="text-align: center;">
|
||||||
<?php
|
<?php
|
||||||
if ($bilder_anzeigen_1) {
|
if ($bilder_anzeigen_1) {
|
||||||
?>
|
if (isset($spieler[0]) && ($bild = bildHTML("spieler", !isset($spielerIds[0]) || (!$details_anzeigen && $spielerBilderAusblenden[0]) ? '' : $spielerIds[0], 45, 60, 0, 0, 'border="1"', $spielerGeschlechter[0] == 'M' ? 'm' : 'w')) != null)
|
||||||
<td style="width: 32px">
|
|
||||||
<?php
|
|
||||||
if (isset($spieler[0]) && ($bild = bildHTML("spieler", !isset($spielerIds[0]) || (!$details_anzeigen && $spielerBilderAusblenden[0]) ? '' : $spielerIds[0], 30, 40, 0, 0, 'border="1"', $spielerGeschlechter[0] == 'M' ? 'm' : 'w')) != null)
|
|
||||||
echo $bild;
|
echo $bild;
|
||||||
?>
|
|
||||||
</td>
|
|
||||||
<?php
|
|
||||||
}
|
}
|
||||||
if ($bilder_anzeigen_2) {
|
if ($bilder_anzeigen_2) {
|
||||||
?>
|
if (isset($spieler[1]) && ($bild = bildHTML("spieler", !isset($spielerIds[1]) || (!$details_anzeigen && $spielerBilderAusblenden[1]) ? '' : $spielerIds[1], 45, 60, 0, 0, 'border="1"', $spielerGeschlechter[1] == 'M' ? 'm' : 'w')) != null)
|
||||||
<td style="width: 32px">
|
|
||||||
<?php
|
|
||||||
if (isset($spieler[1]) && ($bild = bildHTML("spieler", !isset($spielerIds[1]) || (!$details_anzeigen && $spielerBilderAusblenden[1]) ? '' : $spielerIds[1], 30, 40, 0, 0, 'border="1"', $spielerGeschlechter[1] == 'M' ? 'm' : 'w')) != null)
|
|
||||||
echo $bild;
|
echo $bild;
|
||||||
?>
|
|
||||||
</td>
|
|
||||||
<?php
|
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
@@ -875,10 +851,12 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<div class="uk-overflow-auto">
|
<div class="uk-overflow-auto">
|
||||||
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
<table style='width: 100%; padding:1px 1px 1px 1px; border-collapse: collapse;'
|
||||||
|
class="contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
<th style="text-align: left" nowrap>
|
<th style="text-align: left" nowrap>
|
||||||
<strong><?php echo Text::_('COM_SPORTSMANAGER_WINNER'); ?></strong></th>
|
<strong><?php echo Text::_('COM_SPORTSMANAGER_WINNER'); ?></strong></th>
|
||||||
|
<th id="bildID_<?php echo $bildID++; ?>"></th>
|
||||||
<?php
|
<?php
|
||||||
if ($ergebnis_detailliert_anzeigen) {
|
if ($ergebnis_detailliert_anzeigen) {
|
||||||
?>
|
?>
|
||||||
@@ -889,6 +867,7 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<th style="text-align: left" nowrap><?php echo Text::_('COM_SPORTSMANAGER_LOSER'); ?></th>
|
<th style="text-align: left" nowrap><?php echo Text::_('COM_SPORTSMANAGER_LOSER'); ?></th>
|
||||||
|
<th id="bildID_<?php echo $bildID++; ?>"></th>
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
@@ -912,10 +891,6 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
|||||||
?>
|
?>
|
||||||
<tr class="sectiontableentry<?php echo $k + 1;
|
<tr class="sectiontableentry<?php echo $k + 1;
|
||||||
$k = ($k + 1) % 2; ?><?php echo $params->get('pageclass_sfx'); ?>">
|
$k = ($k + 1) % 2; ?><?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
<td nowrap>
|
|
||||||
|
|
||||||
<table style="width: 100%; border: none; border-spacing: 0; padding: 0">
|
|
||||||
<tr>
|
|
||||||
<td>
|
<td>
|
||||||
<?php
|
<?php
|
||||||
if ($spiel->ergebnis == 1) {
|
if ($spiel->ergebnis == 1) {
|
||||||
@@ -954,33 +929,18 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
|
<td id="bildID_<?php echo $bildID++; ?>" style="display: block;text-align: center;">
|
||||||
<?php
|
<?php
|
||||||
if ($bilder_anzeigen_1) {
|
if ($bilder_anzeigen_1) {
|
||||||
?>
|
if (isset($gewinner[0]) && ($bild = bildHTML("spieler", !isset($gewinnerIds[0]) || (!$details_anzeigen && $gewinnerBilderAusblenden[0]) ? '' : $gewinnerIds[0], 45, 60, 0, 0, 'border="1"', $gewinnerGeschlechter[0] == 'M' ? 'm' : 'w')) != null)
|
||||||
<td style="width: 32px">
|
|
||||||
<?php
|
|
||||||
if (isset($gewinner[0]) && ($bild = bildHTML("spieler", !isset($gewinnerIds[0]) || (!$details_anzeigen && $gewinnerBilderAusblenden[0]) ? '' : $gewinnerIds[0], 30, 40, 0, 0, 'border="1"', $gewinnerGeschlechter[0] == 'M' ? 'm' : 'w')) != null)
|
|
||||||
echo $bild;
|
echo $bild;
|
||||||
?>
|
|
||||||
</td>
|
|
||||||
<?php
|
|
||||||
}
|
}
|
||||||
if ($bilder_anzeigen_2) {
|
if ($bilder_anzeigen_2) {
|
||||||
?>
|
if (isset($gewinner[1]) && ($bild = bildHTML("spieler", !isset($gewinnerIds[1]) || (!$details_anzeigen && $gewinnerBilderAusblenden[1]) ? '' : $gewinnerIds[1], 45, 60, 0, 0, 'border="1"', $gewinnerGeschlechter[1] == 'M' ? 'm' : 'w')) != null)
|
||||||
<td style="width: 32px">
|
|
||||||
<?php
|
|
||||||
if (isset($gewinner[1]) && ($bild = bildHTML("spieler", !isset($gewinnerIds[1]) || (!$details_anzeigen && $gewinnerBilderAusblenden[1]) ? '' : $gewinnerIds[1], 30, 40, 0, 0, 'border="1"', $gewinnerGeschlechter[1] == 'M' ? 'm' : 'w')) != null)
|
|
||||||
echo $bild;
|
echo $bild;
|
||||||
?>
|
|
||||||
</td>
|
|
||||||
<?php
|
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
if ($ergebnis_detailliert_anzeigen) {
|
if ($ergebnis_detailliert_anzeigen) {
|
||||||
?>
|
?>
|
||||||
@@ -989,11 +949,6 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
|||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<td nowrap>
|
|
||||||
|
|
||||||
<table style="width: 100%; border: none; border-spacing: 0; padding: 0">
|
|
||||||
<tr>
|
|
||||||
<td>
|
<td>
|
||||||
<?php
|
<?php
|
||||||
if (isset($verlierer)) {
|
if (isset($verlierer)) {
|
||||||
@@ -1003,33 +958,18 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
|
<td id="bildID_<?php echo $bildID++; ?>" style="display: block;text-align: center;">
|
||||||
<?php
|
<?php
|
||||||
if ($bilder_anzeigen_1) {
|
if ($bilder_anzeigen_1) {
|
||||||
?>
|
if (isset($verlierer[0]) && ($bild = bildHTML("spieler", !isset($verliererIds[0]) || (!$details_anzeigen && $verliererBilderAusblenden[0]) ? '' : $verliererIds[0], 45, 60, 0, 0, 'border="1"', $verliererGeschlechter[0] == 'M' ? 'm' : 'w')) != null)
|
||||||
<td style="width: 32px">
|
|
||||||
<?php
|
|
||||||
if (isset($verlierer[0]) && ($bild = bildHTML("spieler", !isset($verliererIds[0]) || (!$details_anzeigen && $verliererBilderAusblenden[0]) ? '' : $verliererIds[0], 30, 40, 0, 0, 'border="1"', $verliererGeschlechter[0] == 'M' ? 'm' : 'w')) != null)
|
|
||||||
echo $bild;
|
echo $bild;
|
||||||
?>
|
|
||||||
</td>
|
|
||||||
<?php
|
|
||||||
}
|
}
|
||||||
if ($bilder_anzeigen_2) {
|
if ($bilder_anzeigen_2) {
|
||||||
?>
|
if (isset($verlierer[1]) && ($bild = bildHTML("spieler", !isset($verliererIds[1]) || (!$details_anzeigen && $verliererBilderAusblenden[1]) ? '' : $verliererIds[1], 45, 60, 0, 0, 'border="1"', $verliererGeschlechter[1] == 'M' ? 'm' : 'w')) != null)
|
||||||
<td style="width: 32px">
|
|
||||||
<?php
|
|
||||||
if (isset($verlierer[1]) && ($bild = bildHTML("spieler", !isset($verliererIds[1]) || (!$details_anzeigen && $verliererBilderAusblenden[1]) ? '' : $verliererIds[1], 30, 40, 0, 0, 'border="1"', $verliererGeschlechter[1] == 'M' ? 'm' : 'w')) != null)
|
|
||||||
echo $bild;
|
echo $bild;
|
||||||
?>
|
|
||||||
</td>
|
|
||||||
<?php
|
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
@@ -1040,6 +980,38 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
|||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
|
||||||
|
function bilder_zeigen(){
|
||||||
|
let breite = window.innerWidth;
|
||||||
|
let id = 0;
|
||||||
|
let anzeige;
|
||||||
|
let anzahl_spiele = <?PHP echo $bildID; ?>;
|
||||||
|
if (breite < 480){
|
||||||
|
anzeige = "none";
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
anzeige = "block";
|
||||||
|
}
|
||||||
|
for (let i=0; i < anzahl_spiele; i++) {
|
||||||
|
id = "bildID_" + i;
|
||||||
|
document.getElementById(id).style.display = anzeige;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
bilder_zeigen();
|
||||||
|
|
||||||
|
function onResize() {
|
||||||
|
bilder_zeigen();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
window.addEventListener("resize", onResize);
|
||||||
|
|
||||||
|
</script>
|
||||||
|
<?php
|
||||||
}
|
}
|
||||||
|
|
||||||
static function begegnungenAnzeigen($veranstaltung, $modus, $rows, $zeitfenster, $titel, $aus_uebersicht, $praesentation = 0): void
|
static function begegnungenAnzeigen($veranstaltung, $modus, $rows, $zeitfenster, $titel, $aus_uebersicht, $praesentation = 0): void
|
||||||
@@ -1085,46 +1057,29 @@ static function begegnungenAnzeigen($veranstaltung, $modus, $rows, $zeitfenster,
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="uk-overflow-auto">
|
<div class="uk-overflow-auto">
|
||||||
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
<table style='width: 100%; border-collapse: collapse;' class="contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
<?php if ($zeitpunkt_anzeigen) { ?>
|
<?php if ($zeitpunkt_anzeigen) { ?>
|
||||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_SCHEDULE_DATE'); ?></strong>
|
<th nowrap style='text-align: left; width:20%;'><strong><?php echo Text::_('COM_SPORTSMANAGER_SCHEDULE_DATE'); ?></strong>
|
||||||
</th><?php } ?>
|
</th><?php } ?>
|
||||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM_HOME'); ?></strong></th>
|
<th nowrap style='text-align: left; width:25%;'><strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM_HOME'); ?></strong></th>
|
||||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM_VISITOR'); ?></strong></th>
|
<th nowrap style='text-align: left; width:25%;'><strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM_VISITOR'); ?></strong></th>
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
if ($veranstaltung == NULL) {
|
|
||||||
?>
|
|
||||||
<th nowrap><strong>Wettbewerb</strong></th>
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
?>
|
|
||||||
<?php
|
<?php
|
||||||
if ($veranstaltung != null && $modus->punktetyp == 0) {
|
if ($veranstaltung != null && $modus->punktetyp == 0) {
|
||||||
?>
|
?>
|
||||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_GOALS'); ?></strong></th>
|
<th nowrap style='text-align: center; width:12%;'><strong><?php echo Text::_('COM_SPORTSMANAGER_GOALS'); ?></strong></th>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_RESULT'); ?></strong></th>
|
<th nowrap style='text-align: center; width:12%;'><strong><?php echo Text::_('COM_SPORTSMANAGER_RESULT'); ?></strong></th>
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
/*
|
|
||||||
if ($zeitfenster != 0) {
|
|
||||||
?> <tr><td nowrap height="4"></td></tr><tr class="sectiontableheader<?php echo $params->get( 'pageclass_sfx' ); ?>" style="text-align: center"><th nowrap><font size=-2><i>+/- <?php echo $zeitfenster; ?> Tage</i></font></th></tr> <?php
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
$k = 0;
|
$k = 0;
|
||||||
$monat = "...";
|
$monat = "...";
|
||||||
$spieltag = 0;
|
$spieltag = 0;
|
||||||
$spielort_name = "";
|
$spielort_name = "";
|
||||||
foreach ($rows as $row) {
|
foreach ($rows as $row) {
|
||||||
$ergebnis_vorhanden = $row->heim_punkte != null || $row->gast_punkte != null;
|
$ergebnis_vorhanden = $row->heim_punkte != null || $row->gast_punkte != null;
|
||||||
// if ($monat == NULL)
|
|
||||||
// $monat = substr($row->zeitpunkt, 0, 7);
|
|
||||||
if ($zeitfenster == 0 && $veranstaltung != null) {
|
if ($zeitfenster == 0 && $veranstaltung != null) {
|
||||||
if ($veranstaltung->unterteilung == 0 || $veranstaltung->unterteilung == 1) {
|
if ($veranstaltung->unterteilung == 0 || $veranstaltung->unterteilung == 1) {
|
||||||
if ($spieltag != $row->spieltag || $spielort_name != $row->spielort_name) {
|
if ($spieltag != $row->spieltag || $spielort_name != $row->spielort_name) {
|
||||||
@@ -1132,17 +1087,17 @@ static function begegnungenAnzeigen($veranstaltung, $modus, $rows, $zeitfenster,
|
|||||||
$spielort_name = $row->spielort_name;
|
$spielort_name = $row->spielort_name;
|
||||||
?>
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
<td nowrap height="4"></td>
|
<td nowrap height="10"></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>"
|
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>"
|
||||||
style="text-align: center">
|
style="text-align: center">
|
||||||
<th nowrap><span style="font-size: 70%; "><i>
|
<th nowrap style='text-align: left; font-size: 70%; font-style: italic;'>
|
||||||
<?php
|
<?php
|
||||||
echo htmlentities_utf8(Rundenbezeichnung($spieltag, $veranstaltung->unterteilung == 0));
|
echo htmlentities_utf8(Rundenbezeichnung($spieltag, $veranstaltung->unterteilung == 0));
|
||||||
if (!empty($spielort_name))
|
if (!empty($spielort_name))
|
||||||
echo "<br />" . htmlentities_utf8($spielort_name);
|
echo "<br />" . htmlentities_utf8($spielort_name);
|
||||||
?>
|
?>
|
||||||
</i></span></th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
@@ -1179,8 +1134,7 @@ static function begegnungenAnzeigen($veranstaltung, $modus, $rows, $zeitfenster,
|
|||||||
echo "<a href=\"" . SportsManagerURL('&task=begegnung_verlegen_form&veranstaltungid=' . $row->veranstaltung_id . '&id=' . $row->begegnung_id . ($aus_uebersicht ? "&aus_uebersicht=1" : "")) . "\">" . ($row->verlegung_eingetragen != null ? ("bisher " . FormatiertesDatum($row->zeitpunkt)) : FormatiertesDatum($row->zeitpunkt)) . "</small></a>";
|
echo "<a href=\"" . SportsManagerURL('&task=begegnung_verlegen_form&veranstaltungid=' . $row->veranstaltung_id . '&id=' . $row->begegnung_id . ($aus_uebersicht ? "&aus_uebersicht=1" : "")) . "\">" . ($row->verlegung_eingetragen != null ? ("bisher " . FormatiertesDatum($row->zeitpunkt)) : FormatiertesDatum($row->zeitpunkt)) . "</small></a>";
|
||||||
else
|
else
|
||||||
echo $row->verlegung_eingetragen != null ? ("bisher " . FormatiertesDatum($row->zeitpunkt)) : FormatiertesDatum($row->zeitpunkt);
|
echo $row->verlegung_eingetragen != null ? ("bisher " . FormatiertesDatum($row->zeitpunkt)) : FormatiertesDatum($row->zeitpunkt);
|
||||||
?>
|
|
||||||
<?php
|
|
||||||
if ($veranstaltung == null) {
|
if ($veranstaltung == null) {
|
||||||
?>
|
?>
|
||||||
<br/>
|
<br/>
|
||||||
@@ -1234,13 +1188,6 @@ static function begegnungenAnzeigen($veranstaltung, $modus, $rows, $zeitfenster,
|
|||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
<?php
|
<?php
|
||||||
/*
|
|
||||||
if ($veranstaltung == NULL) {
|
|
||||||
?>
|
|
||||||
<td nowrap><?php echo htmlentities_utf8($row->bezeichnung); ?></td>
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
if ($veranstaltung != null && $modus->punktetyp == 0) {
|
if ($veranstaltung != null && $modus->punktetyp == 0) {
|
||||||
?>
|
?>
|
||||||
<td nowrap style="text-align: center">
|
<td nowrap style="text-align: center">
|
||||||
@@ -1279,7 +1226,8 @@ static function begegnungenAnzeigen($veranstaltung, $modus, $rows, $zeitfenster,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static function begegnungSpielplan($veranstaltung, $modus, $begegnung, $heim_team, $gast_team, $spiele, $vorherige_begegnung_id, $naechste_begegnung_id, $teamansicht_team, $details_anzeigen):void {
|
static function begegnungSpielplan($veranstaltung, $modus, $begegnung, $heim_team, $gast_team, $spiele, $vorherige_begegnung_id, $naechste_begegnung_id, $teamansicht_team, $details_anzeigen):void
|
||||||
|
{
|
||||||
global $params;
|
global $params;
|
||||||
?>
|
?>
|
||||||
<table style="width: 100%; border: none; border-spacing: 0; padding: 3px">
|
<table style="width: 100%; border: none; border-spacing: 0; padding: 3px">
|
||||||
@@ -1302,8 +1250,10 @@ global $params;
|
|||||||
<?php echo Text::_('COM_SPORTSMANAGER_COMPETITIONS'); ?></a> >
|
<?php echo Text::_('COM_SPORTSMANAGER_COMPETITIONS'); ?></a> >
|
||||||
<a href="<?php echo SportsManagerURL('&task=veranstaltung&veranstaltungid=' . $veranstaltung->veranstaltung_id . '#id' . $begegnung->begegnung_id); ?>">
|
<a href="<?php echo SportsManagerURL('&task=veranstaltung&veranstaltungid=' . $veranstaltung->veranstaltung_id . '#id' . $begegnung->begegnung_id); ?>">
|
||||||
<?php echo htmlentities_utf8($veranstaltung->bezeichnung); ?></a> >
|
<?php echo htmlentities_utf8($veranstaltung->bezeichnung); ?></a> >
|
||||||
<?php echo htmlentities_utf8($heim_team->teamname); ?><?php echo Text::_('COM_SPORTSMANAGER_VERSUS_SHORTCUT'); ?><?php echo htmlentities_utf8($gast_team->teamname); ?>
|
|
||||||
<?php
|
<?php
|
||||||
|
echo htmlentities_utf8($heim_team->teamname)." ";
|
||||||
|
echo Text::_('COM_SPORTSMANAGER_VERSUS_SHORTCUT');
|
||||||
|
echo " ".htmlentities_utf8($gast_team->teamname);
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</th>
|
</th>
|
||||||
@@ -1353,14 +1303,8 @@ global $params;
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="uk-overflow-auto">
|
|
||||||
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
<tr>
|
|
||||||
<td><?php echo Text::_('COM_SPORTSMANAGER_VERSUS_SHORTCUT'); ?></td>
|
|
||||||
<td>
|
|
||||||
<table>
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<?php
|
<?php
|
||||||
@@ -1374,6 +1318,11 @@ global $params;
|
|||||||
<td>
|
<td>
|
||||||
<h2><?php echo htmlentities_utf8($heim_team->teamname); ?></h2>
|
<h2><?php echo htmlentities_utf8($heim_team->teamname); ?></h2>
|
||||||
</td>
|
</td>
|
||||||
|
<td rowspan=2 style="text-align: center">
|
||||||
|
<h2><?php echo $begegnung->heim_spielpunkte . ":" . $begegnung->gast_spielpunkte; ?></h2>
|
||||||
|
<?php if ($modus->spielpunkte_wertung_einzel != 2 || $modus->spielpunkte_wertung_doppel != 2)
|
||||||
|
echo "<h3>(" . $begegnung->heim_punkte . ":" . $begegnung->gast_punkte . ")</h3>"; ?>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
@@ -1393,16 +1342,9 @@ global $params;
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
|
||||||
<td style="width: 64px"></td>
|
|
||||||
<td style="text-align: center">
|
|
||||||
<h2><?php echo $begegnung->heim_spielpunkte . ":" . $begegnung->gast_spielpunkte; ?></h2><?php if ($modus->spielpunkte_wertung_einzel != 2 || $modus->spielpunkte_wertung_doppel != 2) echo "<h3>(" . $begegnung->heim_punkte . ":" . $begegnung->gast_punkte . ")</h3>"; ?>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<table>
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
if (count($spiele) > 0) {
|
if (count($spiele) > 0) {
|
||||||
$bilder_anzeigen = false;
|
$bilder_anzeigen = false;
|
||||||
foreach ($spiele as $spiel) {
|
foreach ($spiele as $spiel) {
|
||||||
if (bildHTML("mannschaftsmitglieder", !$details_anzeigen && $spiel->heim_spieler_1_bild_ausblenden ? '' : $spiel->heim_spieler_1_mitglied_id, 30, 40) != null || bildHTML("spieler", !$details_anzeigen && $spiel->heim_spieler_1_bild_ausblenden ? '' : $spiel->heim_spieler_1_id, 30, 40, 0, 0, $spiel->heim_spieler_1_geschlecht == 'M' ? 'm' : 'w') != null) {
|
if (bildHTML("mannschaftsmitglieder", !$details_anzeigen && $spiel->heim_spieler_1_bild_ausblenden ? '' : $spiel->heim_spieler_1_mitglied_id, 30, 40) != null || bildHTML("spieler", !$details_anzeigen && $spiel->heim_spieler_1_bild_ausblenden ? '' : $spiel->heim_spieler_1_id, 30, 40, 0, 0, $spiel->heim_spieler_1_geschlecht == 'M' ? 'm' : 'w') != null) {
|
||||||
@@ -1424,17 +1366,17 @@ global $params;
|
|||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<div class="uk-overflow-auto">
|
|
||||||
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
<table class="" style="width: 100%;">
|
||||||
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_GAME'); ?></strong></th>
|
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_GAME'); ?></strong></th>
|
||||||
<?php if ($bilder_anzeigen) { ?>
|
<?php if ($bilder_anzeigen) { ?>
|
||||||
<th nowrap></th><?php } ?>
|
<th nowrap id="bilder_heim_0"></th><?php } ?>
|
||||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM_HOME'); ?></strong></th>
|
<th nowrap style="text-align: left;"><strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM_HOME'); ?></strong></th>
|
||||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_RESULT'); ?></strong></th>
|
<th nowrap style="text-align: center;"><strong><?php echo Text::_('COM_SPORTSMANAGER_RESULT'); ?></strong></th>
|
||||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM_VISITOR'); ?></strong></th>
|
<th nowrap style="text-align: left;"><strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM_VISITOR'); ?></strong></th>
|
||||||
<?php if ($bilder_anzeigen) { ?>
|
<?php if ($bilder_anzeigen) { ?>
|
||||||
<th nowrap></th><?php } ?>
|
<th nowrap id="bilder_gast_0"></th><?php } ?>
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
@@ -1443,41 +1385,30 @@ global $params;
|
|||||||
?>
|
?>
|
||||||
<tr class="sectiontableentry<?php echo $k + 1;
|
<tr class="sectiontableentry<?php echo $k + 1;
|
||||||
$k = ($k + 1) % 2; ?><?php echo $params->get('pageclass_sfx'); ?>">
|
$k = ($k + 1) % 2; ?><?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
<td nowrap style="text-align: center"><?php echo $spiel->teamspiel_nummer ?></td>
|
<td nowrap style="text-align: center;"><?php echo $spiel->teamspiel_nummer ?></td>
|
||||||
<?php
|
<?php
|
||||||
if ($bilder_anzeigen) {
|
if ($bilder_anzeigen) {
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<td nowrap>
|
|
||||||
<table style="border: none; border-spacing: 0; padding: 0">
|
<td id="bilder_heim_<?php echo $spiel->teamspiel_nummer ?>" style="display: block; text-align: center;" >
|
||||||
<tr>
|
|
||||||
<td style="width: <?php echo $spiel->heim_spieler_2_id != null || $spiel->gast_spieler_2_id != null ? "32" : "64" . "px"; ?>"
|
|
||||||
style="text-align: center">
|
|
||||||
<?php
|
<?php
|
||||||
$bild = bildHTML("mannschaftsmitglieder", !$details_anzeigen && $spiel->heim_spieler_1_bild_ausblenden ? '' : $spiel->heim_spieler_1_mitglied_id, 30, 40, 0, 0, 'border="1"');
|
$bild = bildHTML("mannschaftsmitglieder", !$details_anzeigen && $spiel->heim_spieler_1_bild_ausblenden ? '' : $spiel->heim_spieler_1_mitglied_id, 45, 60, 0, 0, 'border="1"');
|
||||||
if ($bild == null)
|
if ($bild == null)
|
||||||
$bild = bildHTML("spieler", !$details_anzeigen && $spiel->heim_spieler_1_bild_ausblenden ? '' : $spiel->heim_spieler_1_id, 30, 40, 0, 0, 'border="1"', $spiel->heim_spieler_1_geschlecht == 'M' ? 'm' : 'w');
|
$bild = bildHTML("spieler", !$details_anzeigen && $spiel->heim_spieler_1_bild_ausblenden ? '' : $spiel->heim_spieler_1_id, 45, 60, 0, 0, 'border="1"', $spiel->heim_spieler_1_geschlecht == 'M' ? 'm' : 'w');
|
||||||
if ($bild != null)
|
if ($bild != null)
|
||||||
echo $bild;
|
echo $bild;
|
||||||
?>
|
|
||||||
</td>
|
|
||||||
<?php
|
|
||||||
if (!(empty($spiel->heim_spieler_2_id) && empty($spiel->gast_spieler_2_id))) {
|
if (!(empty($spiel->heim_spieler_2_id) && empty($spiel->gast_spieler_2_id))) {
|
||||||
?>
|
$bild = bildHTML("mannschaftsmitglieder", !$details_anzeigen && $spiel->heim_spieler_2_bild_ausblenden ? '' : $spiel->heim_spieler_2_mitglied_id, 45, 60, 0, 0, 'border="1"');
|
||||||
<td style="width: 64px">
|
|
||||||
<?php
|
|
||||||
$bild = bildHTML("mannschaftsmitglieder", !$details_anzeigen && $spiel->heim_spieler_2_bild_ausblenden ? '' : $spiel->heim_spieler_2_mitglied_id, 30, 40, 0, 0, 'border="1"');
|
|
||||||
if ($bild == null)
|
if ($bild == null)
|
||||||
$bild = bildHTML("spieler", !$details_anzeigen && $spiel->heim_spieler_2_bild_ausblenden ? '' : $spiel->heim_spieler_2_id, 30, 40, 0, 0, 'border="1"', $spiel->heim_spieler_2_geschlecht == 'M' ? 'm' : 'w');
|
$bild = bildHTML("spieler", !$details_anzeigen && $spiel->heim_spieler_2_bild_ausblenden ? '' : $spiel->heim_spieler_2_id, 45, 60, 0, 0, 'border="1"', $spiel->heim_spieler_2_geschlecht == 'M' ? 'm' : 'w');
|
||||||
if ($bild != null)
|
if ($bild != null)
|
||||||
echo $bild;
|
echo $bild;
|
||||||
?>
|
|
||||||
</td>
|
|
||||||
<?php
|
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
@@ -1485,31 +1416,32 @@ global $params;
|
|||||||
<td>
|
<td>
|
||||||
<?php
|
<?php
|
||||||
if ($spiel->heim_spieler_1_id != null && $spiel->heim_spieler_1_id != 0) {
|
if ($spiel->heim_spieler_1_id != null && $spiel->heim_spieler_1_id != 0) {
|
||||||
?><a
|
?>
|
||||||
href="<?php echo SportsManagerURL('&task=spieler_details&id=' . $spiel->heim_spieler_1_id); ?>"><?php echo htmlentities_utf8(NichtLeererString($spiel->heim_spieler_1_nachname . ", " . $spiel->heim_spieler_1_vorname)); ?></a>
|
<a href="<?php echo SportsManagerURL('&task=spieler_details&id=' . $spiel->heim_spieler_1_id); ?>"><?php echo htmlentities_utf8(NichtLeererString($spiel->heim_spieler_1_nachname . ", " . $spiel->heim_spieler_1_vorname)); ?></a>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
if ($spiel->heim_spieler_2_id != null && $spiel->heim_spieler_2_id != 0) {
|
if ($spiel->heim_spieler_2_id != null && $spiel->heim_spieler_2_id != 0) {
|
||||||
?><br/><a
|
?><br/>
|
||||||
href="<?php echo SportsManagerURL('&task=spieler_details&id=' . $spiel->heim_spieler_2_id); ?>"><?php echo htmlentities_utf8(NichtLeererString($spiel->heim_spieler_2_nachname . ", " . $spiel->heim_spieler_2_vorname)); ?></a>
|
<a href="<?php echo SportsManagerURL('&task=spieler_details&id=' . $spiel->heim_spieler_2_id); ?>"><?php echo htmlentities_utf8(NichtLeererString($spiel->heim_spieler_2_nachname . ", " . $spiel->heim_spieler_2_vorname)); ?></a>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td style="text-align: center"
|
<td style="text-align: center" nowrap>
|
||||||
nowrap><?php echo str_replace(" ", " | ", $spiel->ergebnis_detailliert); ?></td>
|
<?php echo str_replace(" ", " | ", $spiel->ergebnis_detailliert); ?>
|
||||||
|
</td>
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
<?php
|
<?php
|
||||||
if ($spiel->gast_spieler_1_id != null && $spiel->gast_spieler_1_id != 0) {
|
if ($spiel->gast_spieler_1_id != null && $spiel->gast_spieler_1_id != 0) {
|
||||||
?><a
|
?>
|
||||||
href="<?php echo SportsManagerURL('&task=spieler_details&id=' . $spiel->gast_spieler_1_id); ?>"><?php echo htmlentities_utf8(NichtLeererString($spiel->gast_spieler_1_nachname . ", " . $spiel->gast_spieler_1_vorname)); ?></a>
|
<a href="<?php echo SportsManagerURL('&task=spieler_details&id=' . $spiel->gast_spieler_1_id); ?>"><?php echo htmlentities_utf8(NichtLeererString($spiel->gast_spieler_1_nachname . ", " . $spiel->gast_spieler_1_vorname)); ?></a>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
if ($spiel->gast_spieler_2_id != null && $spiel->gast_spieler_2_id != 0) {
|
if ($spiel->gast_spieler_2_id != null && $spiel->gast_spieler_2_id != 0) {
|
||||||
?><br/><a
|
?><br/>
|
||||||
href="<?php echo SportsManagerURL('&task=spieler_details&id=' . $spiel->gast_spieler_2_id); ?>"><?php echo htmlentities_utf8(NichtLeererString($spiel->gast_spieler_2_nachname . ", " . $spiel->gast_spieler_2_vorname)); ?></a>
|
<a href="<?php echo SportsManagerURL('&task=spieler_details&id=' . $spiel->gast_spieler_2_id); ?>"><?php echo htmlentities_utf8(NichtLeererString($spiel->gast_spieler_2_nachname . ", " . $spiel->gast_spieler_2_vorname)); ?></a>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
@@ -1518,38 +1450,24 @@ global $params;
|
|||||||
<?php
|
<?php
|
||||||
if ($bilder_anzeigen) {
|
if ($bilder_anzeigen) {
|
||||||
?>
|
?>
|
||||||
<td>
|
<td id="bilder_gast_<?php echo $spiel->teamspiel_nummer ?>" style="display: block; text-align: center;">
|
||||||
<table style="border: none; border-spacing: 0; padding: 0">
|
|
||||||
<tr>
|
|
||||||
<td style="width: <?php echo $spiel->heim_spieler_2_id != null || $spiel->gast_spieler_2_id != null ? "32" : "64" . "px"; ?>"
|
|
||||||
style="text-align: center">
|
|
||||||
<?php
|
<?php
|
||||||
$bild = bildHTML("mannschaftsmitglieder", !$details_anzeigen && $spiel->gast_spieler_1_bild_ausblenden ? '' : $spiel->gast_spieler_1_mitglied_id, 30, 40, 0, 0, 'border="1"');
|
$bild = bildHTML("mannschaftsmitglieder", !$details_anzeigen && $spiel->gast_spieler_1_bild_ausblenden ? '' : $spiel->gast_spieler_1_mitglied_id, 45, 60, 0, 0, 'border="1"');
|
||||||
if ($bild == null)
|
if ($bild == null)
|
||||||
$bild = bildHTML("spieler", !$details_anzeigen && $spiel->gast_spieler_1_bild_ausblenden ? '' : $spiel->gast_spieler_1_id, 30, 40, 0, 0, 'border="1"', $spiel->gast_spieler_1_geschlecht == 'M' ? 'm' : 'w');
|
$bild = bildHTML("spieler", !$details_anzeigen && $spiel->gast_spieler_1_bild_ausblenden ? '' : $spiel->gast_spieler_1_id, 45, 60, 0, 0, 'border="1"', $spiel->gast_spieler_1_geschlecht == 'M' ? 'm' : 'w');
|
||||||
if ($bild != null)
|
if ($bild != null)
|
||||||
echo $bild;
|
echo $bild;
|
||||||
?>
|
|
||||||
</td>
|
|
||||||
<?php
|
|
||||||
if (!(empty($spiel->heim_spieler_2_id) && empty($spiel->gast_spieler_2_id))) {
|
if (!(empty($spiel->heim_spieler_2_id) && empty($spiel->gast_spieler_2_id))) {
|
||||||
?>
|
|
||||||
<td style="width: 64px;">
|
|
||||||
<?php
|
|
||||||
if (($details_anzeigen || !$spiel->gast_spieler_2_bild_ausblenden) && ($spiel->gast_spieler_2_mitglied_id != null || ($spiel->gast_spieler_2_id != null && $spiel->gast_spieler_2_id != 0))) {
|
if (($details_anzeigen || !$spiel->gast_spieler_2_bild_ausblenden) && ($spiel->gast_spieler_2_mitglied_id != null || ($spiel->gast_spieler_2_id != null && $spiel->gast_spieler_2_id != 0))) {
|
||||||
$bild = bildHTML("mannschaftsmitglieder", !$details_anzeigen && $spiel->gast_spieler_2_bild_ausblenden ? '' : $spiel->gast_spieler_2_mitglied_id, 30, 40, 0, 0, 'border="1"');
|
$bild = bildHTML("mannschaftsmitglieder", !$details_anzeigen && $spiel->gast_spieler_2_bild_ausblenden ? '' : $spiel->gast_spieler_2_mitglied_id, 45, 60, 0, 0, 'border="1"');
|
||||||
if ($bild == null)
|
if ($bild == null)
|
||||||
$bild = bildHTML("spieler", !$details_anzeigen && $spiel->gast_spieler_2_bild_ausblenden ? '' : $spiel->gast_spieler_2_id, 30, 40, 0, 0, 'border="1"', $spiel->gast_spieler_2_geschlecht == 'M' ? 'm' : 'w');
|
$bild = bildHTML("spieler", !$details_anzeigen && $spiel->gast_spieler_2_bild_ausblenden ? '' : $spiel->gast_spieler_2_id, 45, 60, 0, 0, 'border="1"', $spiel->gast_spieler_2_geschlecht == 'M' ? 'm' : 'w');
|
||||||
if ($bild != null)
|
if ($bild != null)
|
||||||
echo $bild;
|
echo $bild;
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
</td>
|
|
||||||
<?php
|
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
</td>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
@@ -1561,11 +1479,47 @@ global $params;
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<span class="article_seperator<?php echo $params->get('pageclass_sfx'); ?>"> </span>
|
<span class="article_seperator<?php echo $params->get('pageclass_sfx'); ?>"> </span>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
|
||||||
|
function bilder_zeigen(){
|
||||||
|
let breite = window.innerWidth;
|
||||||
|
let id = 0;
|
||||||
|
let anzeige;
|
||||||
|
let anzahl_spiele = <?PHP echo count($spiele); ?>;
|
||||||
|
|
||||||
|
if (breite < 480){
|
||||||
|
anzeige = "none";
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
anzeige = "block";
|
||||||
|
}
|
||||||
|
for (let i=0; i <= anzahl_spiele; i++) {
|
||||||
|
id = "bilder_heim_" + i;
|
||||||
|
document.getElementById(id).style.display = anzeige;
|
||||||
|
id = "bilder_gast_" + i;
|
||||||
|
document.getElementById(id).style.display = anzeige;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
function onResize() {
|
||||||
|
bilder_zeigen();
|
||||||
|
}
|
||||||
|
|
||||||
|
bilder_zeigen();
|
||||||
|
|
||||||
|
window.addEventListener("resize", onResize);
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
* @param $veranstaltung
|
* @param $veranstaltung
|
||||||
* @param $modus
|
* @param $modus
|
||||||
* @param $teams
|
* @param $teams
|
||||||
@@ -1575,14 +1529,14 @@ global $params;
|
|||||||
* @param int $praesentation
|
* @param int $praesentation
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spieltage, $alleine_angezeigt, int $praesentation = 0): void
|
static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spieltage, $alleine_angezeigt, int $praesentation = 0): void
|
||||||
{
|
{
|
||||||
global $params;
|
global $params;
|
||||||
|
|
||||||
if (count($teams) > 0) {
|
if (count($teams) > 0) {
|
||||||
if ($alleine_angezeigt && $veranstaltung->tabellenwertung >= -1 && $veranstaltung->tabellenwertung <= 11 && count($spieltage) > 1) {
|
if ($alleine_angezeigt && $veranstaltung->tabellenwertung >= -1 && $veranstaltung->tabellenwertung <= 11 && count($spieltage) > 1) {
|
||||||
?>
|
?>
|
||||||
<form action="<?php echo SportsManagerURL(); ?>" method="post" name="matchDayForm" id="matchDayForm">
|
<form action="<?php echo SportsManagerURL(); ?>" method="post" name="adminForm" id="adminForm">
|
||||||
<div class="uk-overflow-auto">
|
<div class="uk-overflow-auto">
|
||||||
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
<tr>
|
<tr>
|
||||||
@@ -1590,7 +1544,7 @@ global $params;
|
|||||||
<select
|
<select
|
||||||
aria-label="<?php echo Text::_('COM_SPORTSMANAGER_ARIA_LABEL_MATCHDAY_SELECT'); ?>"
|
aria-label="<?php echo Text::_('COM_SPORTSMANAGER_ARIA_LABEL_MATCHDAY_SELECT'); ?>"
|
||||||
class="uk-select uk-form-width-medium" name="spieltag" size="1"
|
class="uk-select uk-form-width-medium" name="spieltag" size="1"
|
||||||
onChange="document.matchDayForm.submit();">
|
onChange="document.adminForm.submit();">
|
||||||
<?php
|
<?php
|
||||||
foreach ($spieltage as $s) {
|
foreach ($spieltage as $s) {
|
||||||
echo "<option value=\"" . $s->spieltag . "\"" . ($s->spieltag == $spieltag ? " selected" : "") . ">" . htmlentities_utf8(Rundenbezeichnung($s->spieltag, $veranstaltung->unterteilung == 0)) . "</option>";
|
echo "<option value=\"" . $s->spieltag . "\"" . ($s->spieltag == $spieltag ? " selected" : "") . ">" . htmlentities_utf8(Rundenbezeichnung($s->spieltag, $veranstaltung->unterteilung == 0)) . "</option>";
|
||||||
@@ -1633,26 +1587,32 @@ global $params;
|
|||||||
<!-- Gruppentabelle mit Ergebnissen -->
|
<!-- Gruppentabelle mit Ergebnissen -->
|
||||||
<!-- dtfl-table-small css from yootheme-->
|
<!-- dtfl-table-small css from yootheme-->
|
||||||
<div class="uk-overflow-auto">
|
<div class="uk-overflow-auto">
|
||||||
<table
|
<table style='width: 100%; border-collapse: collapse;'
|
||||||
class="uk-table uk-table-hover uk-table-divider uk-table-middle dtfl-table-medium contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
class="uk-table-hover uk-table-divider uk-table-middle dtfl-table-medium contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
<th><strong><?php echo Text::_('COM_SPORTSMANAGER_PLACE'); ?></strong></th>
|
<th><strong><?php echo Text::_('COM_SPORTSMANAGER_PLACE'); ?></strong></th>
|
||||||
<th style="text-align: left">
|
<th style="text-align: left; width: 280px;">
|
||||||
<strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM'); ?></strong></th>
|
<strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM'); ?></strong></th>
|
||||||
<?php
|
<?php
|
||||||
|
if ($bilder_anzeigen) {
|
||||||
|
?>
|
||||||
|
<th style="text-align: center; width: 70px;">
|
||||||
|
<strong></strong></th>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
if ($praesentation == 0) {
|
if ($praesentation == 0) {
|
||||||
?>
|
?>
|
||||||
<th nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_MATCHES'); ?>">
|
<th style="text-align: center; width: 30px;" nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_MATCHES'); ?>">
|
||||||
<strong><?php echo Text::_('COM_SPORTSMANAGER_MATCHES_SHORTCUT'); ?></strong>
|
<strong><?php echo Text::_('COM_SPORTSMANAGER_MATCHES_SHORTCUT'); ?></strong>
|
||||||
</th>
|
</th>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<th nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_VICTORIES'); ?>">
|
<th style="text-align: center; width: 30px;" nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_VICTORIES'); ?>">
|
||||||
<strong><?php echo Text::_('COM_SPORTSMANAGER_VICTORIES_SHORTCUT'); ?></strong></th>
|
<strong><?php echo Text::_('COM_SPORTSMANAGER_VICTORIES_SHORTCUT'); ?></strong></th>
|
||||||
<th nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_DRAWS'); ?>">
|
<th style="text-align: center; width: 30px;" nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_DRAWS'); ?>">
|
||||||
<strong><?php echo Text::_('COM_SPORTSMANAGER_DRAWS_SHORTCUT'); ?></strong></th>
|
<strong><?php echo Text::_('COM_SPORTSMANAGER_DRAWS_SHORTCUT'); ?></strong></th>
|
||||||
<th nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_DEFEATS'); ?>">
|
<th style="text-align: center; width: 30px;" nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_DEFEATS'); ?>">
|
||||||
<strong><?php echo Text::_('COM_SPORTSMANAGER_DEFEATS_SHORTCUT'); ?></strong></th>
|
<strong><?php echo Text::_('COM_SPORTSMANAGER_DEFEATS_SHORTCUT'); ?></strong></th>
|
||||||
<?php
|
<?php
|
||||||
if ($zusatzpunkte_anzeigen) {
|
if ($zusatzpunkte_anzeigen) {
|
||||||
@@ -1751,10 +1711,6 @@ global $params;
|
|||||||
$buchholz2_wert = $team->buchholz2;
|
$buchholz2_wert = $team->buchholz2;
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<td nowrap>
|
|
||||||
|
|
||||||
<table style="width: 100%; border: none; border-spacing: 0; padding: 0">
|
|
||||||
<tr>
|
|
||||||
<td>
|
<td>
|
||||||
<?php
|
<?php
|
||||||
echo "<a href=\"" . SportsManagerURL('&task=team_details&id=' . $team->team_id) . "\">" . htmlentities_utf8(NichtLeererString($team->teamname)) . "</a>";
|
echo "<a href=\"" . SportsManagerURL('&task=team_details&id=' . $team->team_id) . "\">" . htmlentities_utf8(NichtLeererString($team->teamname)) . "</a>";
|
||||||
@@ -1763,7 +1719,7 @@ global $params;
|
|||||||
<?php
|
<?php
|
||||||
if ($bilder_anzeigen) {
|
if ($bilder_anzeigen) {
|
||||||
?>
|
?>
|
||||||
<td style="width: 50px" height="50" style="text-align: right">
|
<td style="text-align: center;">
|
||||||
<?php
|
<?php
|
||||||
$bild = bildHTML("mannschaften", $team->team_id, 50, 50, 0, 0, 'border="0"');
|
$bild = bildHTML("mannschaften", $team->team_id, 50, 50, 0, 0, 'border="0"');
|
||||||
if ($bild != null) {
|
if ($bild != null) {
|
||||||
@@ -1777,12 +1733,6 @@ global $params;
|
|||||||
</td>
|
</td>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
</td>
|
|
||||||
<?php
|
|
||||||
if ($praesentation == 0) {
|
if ($praesentation == 0) {
|
||||||
?>
|
?>
|
||||||
<td nowrap
|
<td nowrap
|
||||||
@@ -1885,7 +1835,7 @@ global $params;
|
|||||||
?>
|
?>
|
||||||
<span class="article_seperator<?php echo $params->get('pageclass_sfx'); ?>"> </span>
|
<span class="article_seperator<?php echo $params->get('pageclass_sfx'); ?>"> </span>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
|
||||||
static function tabelleEigeneAnzeigen($veranstaltung, $teams, $alleine_angezeigt, $praesentation = 0): void
|
static function tabelleEigeneAnzeigen($veranstaltung, $teams, $alleine_angezeigt, $praesentation = 0): void
|
||||||
{
|
{
|
||||||
@@ -5635,7 +5585,6 @@ global $params;
|
|||||||
static function spielerstatistik($spielerstatistik, $spielerstatistik_punkte, $allein_angezeigt, $vorherige_spielerstatistik_id, $naechste_spielerstatistik_id, $details_anzeigen): void
|
static function spielerstatistik($spielerstatistik, $spielerstatistik_punkte, $allein_angezeigt, $vorherige_spielerstatistik_id, $naechste_spielerstatistik_id, $details_anzeigen): void
|
||||||
{
|
{
|
||||||
global $params;
|
global $params;
|
||||||
|
|
||||||
if ($allein_angezeigt) {
|
if ($allein_angezeigt) {
|
||||||
?>
|
?>
|
||||||
<table class="uk-table" style="width: 100%; border: none; border-spacing: 0; padding: 3px">
|
<table class="uk-table" style="width: 100%; border: none; border-spacing: 0; padding: 3px">
|
||||||
@@ -5742,13 +5691,16 @@ global $params;
|
|||||||
?>
|
?>
|
||||||
<!-- Tabelle Spielerstatistiken -->
|
<!-- Tabelle Spielerstatistiken -->
|
||||||
<div class="uk-overflow-auto">
|
<div class="uk-overflow-auto">
|
||||||
<table
|
<table style='width: 100%; padding:1px 1px 1px 1px; border-collapse: collapse;'
|
||||||
class="uk-table uk-table-hover uk-table-divider uk-table-middle dtfl-table-medium contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
class="uk-table-hover uk-table-divider uk-table-middle dtfl-table-medium contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
<th><strong><?php echo Text::_('COM_SPORTSMANAGER_PLACE'); ?></strong></th>
|
<th><strong><?php echo Text::_('COM_SPORTSMANAGER_PLACE'); ?></strong></th>
|
||||||
<th style="text-align: left">
|
<th style="text-align: left; width: 120px;">
|
||||||
<strong><?php echo Text::_('COM_SPORTSMANAGER_PLAYER'); ?></strong>
|
<strong><?php echo Text::_('COM_SPORTSMANAGER_PLAYER'); ?></strong>
|
||||||
</th>
|
</th>
|
||||||
|
<th style="text-align: center; width: 50px;">
|
||||||
|
<strong></strong>
|
||||||
|
</th>
|
||||||
<?php
|
<?php
|
||||||
if ($spielerstatistik->tabellenwertung > 0) {
|
if ($spielerstatistik->tabellenwertung > 0) {
|
||||||
?>
|
?>
|
||||||
@@ -5761,22 +5713,27 @@ global $params;
|
|||||||
?>
|
?>
|
||||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_GAMES'); ?></strong></th>
|
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_GAMES'); ?></strong></th>
|
||||||
<th nowrap
|
<th nowrap
|
||||||
title="<?php echo Text::_('COM_SPORTSMANAGER_GAME_POINTS'); ?> <?php echo Text::_('COM_SPORTSMANAGER_WON'); ?>">
|
title="<?php echo Text::_('COM_SPORTSMANAGER_GAME_POINTS'); ?>
|
||||||
|
<?php echo Text::_('COM_SPORTSMANAGER_WON'); ?>">
|
||||||
<strong><?php echo Text::_('COM_SPORTSMANAGER_GAME_POINTS_SHORTCUT'); ?>
|
<strong><?php echo Text::_('COM_SPORTSMANAGER_GAME_POINTS_SHORTCUT'); ?>
|
||||||
+</strong></th>
|
+</strong></th>
|
||||||
<th nowrap
|
<th nowrap
|
||||||
title="<?php echo Text::_('COM_SPORTSMANAGER_GAME_POINTS'); ?> <?php echo Text::_('COM_SPORTSMANAGER_LOST'); ?>">
|
title="<?php echo Text::_('COM_SPORTSMANAGER_GAME_POINTS'); ?>
|
||||||
|
<?php echo Text::_('COM_SPORTSMANAGER_LOST'); ?>">
|
||||||
<strong><?php echo Text::_('COM_SPORTSMANAGER_GAME_POINTS_SHORTCUT'); ?>
|
<strong><?php echo Text::_('COM_SPORTSMANAGER_GAME_POINTS_SHORTCUT'); ?>
|
||||||
-</strong></th>
|
-</strong></th>
|
||||||
<th nowrap
|
<th nowrap
|
||||||
title="<?php echo Text::_('COM_SPORTSMANAGER_GAME_POINTS'); ?> <?php echo Text::_('COM_SPORTSMANAGER_RATE'); ?>">
|
title="<?php echo Text::_('COM_SPORTSMANAGER_GAME_POINTS'); ?>
|
||||||
|
<?php echo Text::_('COM_SPORTSMANAGER_RATE'); ?>">
|
||||||
<strong><?php echo Text::_('COM_SPORTSMANAGER_RATE_SHORTCUT'); ?></strong></th>
|
<strong><?php echo Text::_('COM_SPORTSMANAGER_RATE_SHORTCUT'); ?></strong></th>
|
||||||
<th nowrap
|
<th nowrap
|
||||||
title="<?php echo Text::_('COM_SPORTSMANAGER_POINTS'); ?> <?php echo Text::_('COM_SPORTSMANAGER_WON'); ?>">
|
title="<?php echo Text::_('COM_SPORTSMANAGER_POINTS'); ?>
|
||||||
|
<?php echo Text::_('COM_SPORTSMANAGER_WON'); ?>">
|
||||||
<strong><?php echo Text::_('COM_SPORTSMANAGER_POINTS_SHORTCUT'); ?> +</strong>
|
<strong><?php echo Text::_('COM_SPORTSMANAGER_POINTS_SHORTCUT'); ?> +</strong>
|
||||||
</th>
|
</th>
|
||||||
<th nowrap
|
<th nowrap
|
||||||
title="<?php echo Text::_('COM_SPORTSMANAGER_POINTS'); ?> <?php echo Text::_('COM_SPORTSMANAGER_LOST'); ?>">
|
title="<?php echo Text::_('COM_SPORTSMANAGER_POINTS'); ?>
|
||||||
|
<?php echo Text::_('COM_SPORTSMANAGER_LOST'); ?>">
|
||||||
<strong><?php echo Text::_('COM_SPORTSMANAGER_POINTS_SHORTCUT'); ?> -</strong>
|
<strong><?php echo Text::_('COM_SPORTSMANAGER_POINTS_SHORTCUT'); ?> -</strong>
|
||||||
</th>
|
</th>
|
||||||
<th nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_VICTORIES'); ?>">
|
<th nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_VICTORIES'); ?>">
|
||||||
@@ -5808,9 +5765,6 @@ global $params;
|
|||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
<td nowrap>
|
<td nowrap>
|
||||||
<table style="width: 100%; border: none; border-spacing: 0; padding: 0">
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<?php
|
<?php
|
||||||
if ($row->aktueller_verein_id == null)
|
if ($row->aktueller_verein_id == null)
|
||||||
echo htmlentities_utf8($row->nachname . ", " . $row->vorname);
|
echo htmlentities_utf8($row->nachname . ", " . $row->vorname);
|
||||||
@@ -5833,28 +5787,24 @@ global $params;
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
<td style="width: 59px">
|
<td>
|
||||||
<?php
|
<?php
|
||||||
if ($bilder_anzeigen && ($bild = bildHTML("spieler", !$details_anzeigen && $row->bild_ausblenden ? '' : $row->spieler_id, 57, 76, 0, 0, 'border="1" style="text-align: right" hspace="8" vspace="2"', $row->geschlecht == 'M' ? 'm' : 'w')) != null)
|
if ($bilder_anzeigen && ($bild = bildHTML("spieler", !$details_anzeigen && $row->bild_ausblenden ? '' : $row->spieler_id, 45, 60, 0, 0, 'border="1" style="text-align: right" hspace="8" vspace="2"', $row->geschlecht == 'M' ? 'm' : 'w')) != null)
|
||||||
echo $bild;
|
echo $bild;
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
<?php
|
<?php
|
||||||
if ($bilder_anzeigen_2) {
|
if ($bilder_anzeigen_2) {
|
||||||
?>
|
?>
|
||||||
<td style="width: 59px">
|
<td style="text-align: left;">
|
||||||
<?php
|
<?php
|
||||||
if (($bild = bildHTML("spieler", !$details_anzeigen && $row->bild_ausblenden_2 ? '' : $row->spieler_2_id, 57, 76, 0, 0, 'border="1" style="text-align: right" hspace="8" vspace="2"', $row->geschlecht == 'M' ? 'm' : 'w')) != null)
|
if (($bild = bildHTML("spieler", !$details_anzeigen && $row->bild_ausblenden_2 ? '' : $row->spieler_2_id, 45, 60, 0, 0, 'border="1" style="text-align: right" hspace="8" vspace="2"', $row->geschlecht == 'M' ? 'm' : 'w')) != null)
|
||||||
echo $bild;
|
echo $bild;
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
<?php
|
|
||||||
if ($spielerstatistik->tabellenwertung != 0) {
|
if ($spielerstatistik->tabellenwertung != 0) {
|
||||||
?>
|
?>
|
||||||
<td nowrap style="text-align: center">
|
<td nowrap style="text-align: center">
|
||||||
@@ -6793,7 +6743,6 @@ global $params;
|
|||||||
static function rangliste($rangliste, $rangliste_punkte, $allein_angezeigt, $details_anzeigen): void
|
static function rangliste($rangliste, $rangliste_punkte, $allein_angezeigt, $details_anzeigen): void
|
||||||
{
|
{
|
||||||
global $params;
|
global $params;
|
||||||
|
|
||||||
if ($allein_angezeigt) {
|
if ($allein_angezeigt) {
|
||||||
?>
|
?>
|
||||||
<div class="uk-overflow-auto">
|
<div class="uk-overflow-auto">
|
||||||
@@ -6871,14 +6820,15 @@ global $params;
|
|||||||
?>
|
?>
|
||||||
<!-- Tabelle Rangliste -->
|
<!-- Tabelle Rangliste -->
|
||||||
<div class="uk-overflow-auto">
|
<div class="uk-overflow-auto">
|
||||||
<table
|
<table style='width: 100%; padding:1px 1px 1px 1px; border-collapse: collapse;'
|
||||||
class="uk-table uk-table-divider uk-table-hover uk-table-middle rangliste-width contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
class="uk-table-divider uk-table-hover uk-table-middle rangliste-width contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
<th><strong><?php echo Text::_('COM_SPORTSMANAGER_RANK'); ?></strong></th>
|
<th><strong><?php echo Text::_('COM_SPORTSMANAGER_RANK'); ?></strong></th>
|
||||||
|
<th></th>
|
||||||
<th style="text-align: left">
|
<th style="text-align: left">
|
||||||
<strong><?php echo Text::_('COM_SPORTSMANAGER_PLAYER'); ?></strong>
|
<strong><?php echo Text::_('COM_SPORTSMANAGER_PLAYER'); ?></strong>
|
||||||
</th>
|
</th>
|
||||||
<th><strong><?php echo Text::_('COM_SPORTSMANAGER_POINTS'); ?></strong></th>
|
<th style="text-align: center"><strong><?php echo Text::_('COM_SPORTSMANAGER_POINTS'); ?></strong></th>
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
@@ -6899,20 +6849,22 @@ global $params;
|
|||||||
<?php
|
<?php
|
||||||
if (($bild = yoothemeBild("spieler", !$details_anzeigen && $row->bild_ausblenden ? '' : $row->spieler_id, $row->geschlecht == 'M' ? 'm' : 'w', '#resize=75', 'border="1" style="text-align: left" hspace="8" vspace="2"')) != null)
|
if (($bild = yoothemeBild("spieler", !$details_anzeigen && $row->bild_ausblenden ? '' : $row->spieler_id, $row->geschlecht == 'M' ? 'm' : 'w', '#resize=75', 'border="1" style="text-align: left" hspace="8" vspace="2"')) != null)
|
||||||
echo $bild; ?>
|
echo $bild; ?>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
<?php
|
<?php
|
||||||
if ($row->aktueller_verein_id == null)
|
if ($row->aktueller_verein_id == null)
|
||||||
echo htmlentities_utf8($row->nachname . ", " . $row->vorname);
|
echo htmlentities_utf8($row->nachname . ", " . $row->vorname);
|
||||||
else {
|
else {
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<a class="uk-align-center"
|
<a style="text-align: left; vertical-align: middle;"
|
||||||
href="<?php echo SportsManagerURL('&task=spieler_details&id=' . $row->spieler_id); ?>"><?php echo htmlentities_utf8($row->vorname . " " . $row->nachname); ?></a>
|
href="<?php echo SportsManagerURL('&task=spieler_details&id=' . $row->spieler_id); ?>"><?php echo htmlentities_utf8($row->vorname . " " . $row->nachname); ?></a>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td class="uk-align-center">
|
<td style="text-align: center; vertical-align: middle;">
|
||||||
<a href="<?php echo SportsManagerURL('&task=ranglistenpunkte&rangliste_id=' . $rangliste->rangliste_id . "&spieler_id=" . $row->spieler_id); ?>"><?php echo $row->punkte; ?></a>
|
<a href="<?php echo SportsManagerURL('&task=ranglistenpunkte&rangliste_id=' . $rangliste->rangliste_id . "&spieler_id=" . $row->spieler_id); ?>"><?php echo $row->punkte; ?></a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
Reference in New Issue
Block a user