Compare commits

..

28 Commits

Author SHA1 Message Date
MarvinF 7b1cc50943 Merge pull request #120 from Deutscher-Tischfussballbund/sportsmanager2-stage
Stage -> Prod merge
2025-07-29 18:30:28 +02:00
MarvinF 133a983685 Merge pull request #119 from Deutscher-Tischfussballbund/sportsmanager2-dev
Dev -> Stage merge
2025-07-29 18:28:39 +02:00
MarvinF 20b956b239 Merge pull request #118 from Deutscher-Tischfussballbund/feature/refactor-readme
refactor: remove test from readme
2025-07-29 18:21:05 +02:00
Marvin Flock fedb300d8f refactor: remove test from readme 2025-07-29 18:19:01 +02:00
MarvinF 07121c2233 Merge pull request #114 from Deutscher-Tischfussballbund/fix/issue-108-yootheme-path-fix
fix: add base url to yootheme images
2025-07-29 18:01:16 +02:00
MarvinF 8dab7fa74f Merge branch 'sportsmanager2-dev' into fix/issue-108-yootheme-path-fix 2025-07-29 17:59:55 +02:00
jmeyer26 1bd53893a8 Merge pull request #83 from Deutscher-Tischfussballbund/sportsmanager2-juergen
Fix: #74 Player picture improvements & remove 'Ranglisten' YooTheme Lazyloading optimizations
2025-07-22 05:49:22 +02:00
Jürgen Meyer acfcbb1010 Funktion yoothemeBild in rangliste wird wieder aufgerufen. 2025-07-22 05:46:23 +02:00
Marvin Flock a6aee26211 fix: add base url to yootheme images 2025-07-21 20:17:20 +02:00
MarvinF b24203ccb9 Merge pull request #109 from Deutscher-Tischfussballbund/sportsmanager2-issue108
Mannschaftsbilder in Teamsport zu klein gefixt (issue #108)
2025-07-21 19:43:44 +02:00
Jürgen Meyer 2ff39cf086 Fehler Versatz Header Tabelle wenn Bilder fehlen gefixt. 2025-07-16 10:34:40 +02:00
Jürgen Meyer 0729291afc Fehler Anführungszeichen korrigiert. 2025-07-13 23:34:51 +02:00
Jürgen Meyer f3c2040632 Mannschaftsbilder in Teamsport zu klein gefixt (issue #108) 2025-07-02 08:19:44 +02:00
Jürgen Meyer 1235edde82 Letzte Änderung wegen Konflikten rückgängig gemacht. 2025-07-01 12:37:41 +02:00
Jürgen Meyer 763fd7d386 Tabellenformatierung angepasst (issue #108) 2025-07-01 12:31:03 +02:00
MarvinF 77e2c6e910 Merge pull request #77 from Deutscher-Tischfussballbund/issues/43
fix: #43 - remove css3.js reference
2025-06-30 18:57:43 +02:00
MarvinF a2aee3b135 Merge pull request #82 from Deutscher-Tischfussballbund/issues/73_missing-dropdown-in-league
fix: add season dropdown to events, even if there is just one event
2025-06-30 18:57:10 +02:00
MarvinF 9a7f8acc3b Merge pull request #107 from Deutscher-Tischfussballbund/fix/64_division_by_zero
Fix: add division by zero check, return zero instead of exception
2025-06-30 18:55:47 +02:00
Jürgen Meyer 9091b22859 Konfilkt mit README.md 2025-06-30 00:52:54 +02:00
Jürgen Meyer 839b27756a Konflikt mit README.md 2025-06-30 00:50:03 +02:00
Jürgen Meyer 0d0ee08199 Weitere Optimierungen der Tabellen Rangliste, Turnierergebnisse und Spielerstatistik 2025-06-30 00:16:05 +02:00
Jürgen Meyer 6609a4ca78 Änderungen nach Kommentaren in PR83 überarbeitet. 2025-06-29 19:00:59 +02:00
Marvin Flock 4ecf48d02e fix: add division by zero check, return zero instead of exception 2025-06-29 16:44:18 +02:00
Jürgen Meyer 56d8be9a55 Hilfskommentare in Programm zu issue #74 rausgelöscht. 2025-06-24 13:52:32 +02:00
Jürgen Meyer 29f0e6842b issue #74 Player image size (Details siehe issue #74) 2025-06-24 13:29:20 +02:00
Marvin Flock 22e96bf49d fix: add season dropdown to events, even if there is just one event 2025-06-23 21:12:43 +02:00
Marvin Flock 36dbfdb7c4 fix: check for null since str_starts_with is typed 2025-06-17 22:01:07 +02:00
Marvin Flock 5cfd8f3c1a fix: remove non existent css reference 2025-06-17 22:00:08 +02:00
8 changed files with 843 additions and 863 deletions
-4
View File
@@ -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
+2
View File
@@ -0,0 +1,2 @@
This is no official release!
The Release and the release notes will be generated by github actions
@@ -2323,6 +2323,10 @@ function mp_mult_($p1, $p2): float|int
*/ */
function mp_div_($p1, $p2): float|int function mp_div_($p1, $p2): float|int
{ {
if ($p2 == 0) {
Log::add("Division by zero detected in mp_div_: divisor was 0. Returning 0 as fallback.", Log::WARNING, "com_sportsmanager");
return 0;
}
return $p1 / $p2; return $p1 / $p2;
} }
@@ -71,7 +71,7 @@ if ($task == "spielerbild") {
terminDokument(); terminDokument();
} else if ($task == "spieler_details") { } else if ($task == "spieler_details") {
spielerDetails(); spielerDetails();
} else if (str_starts_with($task, "admin_")) { } else if ($task !== null && str_starts_with($task, "admin_")) {
// in some cases there are no breaks needed due to no return from method // in some cases there are no breaks needed due to no return from method
switch ($task) { switch ($task) {
case 'admin_einstellungen': case 'admin_einstellungen':
@@ -1577,8 +1577,12 @@ function veranstaltung(): void
} }
} }
$showSeasons = false;
if (count($saisons) > 1) {
$showSeasons = true;
}
// Anzeigen // Anzeigen
HTML_sportsmanager::veranstaltungHeaderAlone($veranstaltung, $vorherige_veranstaltung_id, $naechste_veranstaltung_id); HTML_sportsmanager::veranstaltungHeaderAlone($veranstaltung, $vorherige_veranstaltung_id, $naechste_veranstaltung_id, $showSeasons, $saisons, $filter_saison_id);
if ($veranstaltung->tabellenwertung != 0) if ($veranstaltung->tabellenwertung != 0)
tabelle($veranstaltung, $spieltag, true); tabelle($veranstaltung, $spieltag, true);
@@ -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 />';
} }
@@ -140,13 +140,6 @@ static function veranstaltungenHeader($titel, $beschreibung, $saisons, $filter_s
<a href="<?php echo SportsManagerURL('&task=veranstaltungen_ticker&tmpl=component'); ?>" <a href="<?php echo SportsManagerURL('&task=veranstaltungen_ticker&tmpl=component'); ?>"
class="readon<?php echo $params->get('pageclass_sfx'); ?>"> class="readon<?php echo $params->get('pageclass_sfx'); ?>">
<?php echo Text::_('COM_SPORTSMANAGER_LIVE_TICKER'); ?> &hellip;</a><br/> <?php echo Text::_('COM_SPORTSMANAGER_LIVE_TICKER'); ?> &hellip;</a><br/>
<?php
/*
<a href="javascript:openwindow('<?php echo SportsManagerURL('&task=veranstaltungen_ticker&tmpl=component'); ?>',screen.width,725);" class="readon<?php echo $params->get( 'pageclass_sfx' ); ?>">
<?php echo Text::_( 'COM_SPORTSMANAGER_LIVE_TICKER' ); ?> &hellip;(no menu)</a>
*/
?>
</td> </td>
</tr> </tr>
</table> </table>
@@ -158,16 +151,15 @@ static function veranstaltungenHeader($titel, $beschreibung, $saisons, $filter_s
} }
} }
static function veranstaltungHeaderAlone($veranstaltung, $vorherige_veranstaltung_id, $naechste_veranstaltung_id): 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>
<th style="width: 30px" class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>"></th> <th style="width: 30px" class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>"></th>
<th style="text-align: left" class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>"> <th style="text-align: left" class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
<!--img src="images/M_images/arrow.png" border="0"/--> <a <a
href="<?php echo SportsManagerURL('&task=veranstaltungen#vid' . $veranstaltung->veranstaltung_id); ?>"> href="<?php echo SportsManagerURL('&task=veranstaltungen#vid' . $veranstaltung->veranstaltung_id); ?>">
<?php echo Text::_('COM_SPORTSMANAGER_COMPETITIONS'); ?></a> <?php echo Text::_('COM_SPORTSMANAGER_COMPETITIONS'); ?></a>
&gt; <?php echo htmlentities_utf8($veranstaltung->bezeichnung); ?> &gt; <?php echo htmlentities_utf8($veranstaltung->bezeichnung); ?>
@@ -226,9 +218,40 @@ static function veranstaltungHeaderAlone($veranstaltung, $vorherige_veranstaltun
?> ?>
</H2> </H2>
</div> </div>
</td> </td>
</tr> </tr>
</table> </table>
<?php
if (($showSeasons && count($seasons) > 1)) {
?>
<form action="<?php echo SportsManagerURL(); ?>" method="post" name="adminForm" id="adminForm">
<div class="uk-overflow-auto">
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
<tr>
<td nowrap>
<label for="filter_saison_id"><?php echo Text::_('COM_SPORTSMANAGER_SEASON'); ?>
:</label>
<select class="uk-select uk-form-width-medium" name="filter_saison_id"
id="filter_saison_id" size="1" onChange="document.adminForm.submit();">
<?php
foreach ($seasons as $season)
echo "<option value=\"" . $season->saison_id . "\" " . ($filter_saison_id == $season->saison_id ? "selected" : "") . ">" . htmlentities_utf8($season->saisonbezeichnung) . "</option>";
?>
</select>
<input type="submit" name="ok" value="<?php echo Text::_('COM_SPORTSMANAGER_GO'); ?>"
class="button uk-button uk-button-primary"/>
</td>
<td>&nbsp;&nbsp;&nbsp;</td>
</tr>
</table>
</div>
<input type="hidden" name="task" value="veranstaltungen"/>
</form>
<span class="article_seperator<?php echo $params->get('pageclass_sfx'); ?>">&nbsp;</span>
<?php
}
?>
</div> </div>
<?php <?php
} }
@@ -538,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) {
@@ -569,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];
@@ -601,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>
@@ -611,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
} }
@@ -649,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>
@@ -658,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> &gt; <a <?php echo Text::_('COM_SPORTSMANAGER_TOURNAMENTS'); ?></a> &gt; <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>
&gt; <?php echo htmlentities_utf8($disziplin->disziplin); ?> &gt; <?php echo htmlentities_utf8($disziplin->disziplin); ?>
</th> </th>
<?php <?php
@@ -699,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>
@@ -746,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) {
@@ -776,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];
@@ -805,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
@@ -851,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) {
?> ?>
@@ -865,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
@@ -888,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) {
@@ -930,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) {
?> ?>
@@ -965,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)) {
@@ -979,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
} }
@@ -1016,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
@@ -1061,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) {
@@ -1108,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
} }
@@ -1155,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 ? "&amp;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 ? "&amp;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/>
@@ -1210,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">
@@ -1255,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">
@@ -1278,8 +1250,10 @@ global $params;
<?php echo Text::_('COM_SPORTSMANAGER_COMPETITIONS'); ?></a> &gt; <?php echo Text::_('COM_SPORTSMANAGER_COMPETITIONS'); ?></a> &gt;
<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> &gt; <?php echo htmlentities_utf8($veranstaltung->bezeichnung); ?></a> &gt;
<?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)."&nbsp;";
echo Text::_('COM_SPORTSMANAGER_VERSUS_SHORTCUT');
echo "&nbsp;".htmlentities_utf8($gast_team->teamname);
} }
?> ?>
</th> </th>
@@ -1329,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
@@ -1350,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>
@@ -1369,13 +1342,6 @@ 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) {
@@ -1400,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
@@ -1419,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
} }
?> ?>
@@ -1461,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
} }
?> ?>
@@ -1494,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
} }
@@ -1537,8 +1479,44 @@ global $params;
</table> </table>
</div> </div>
<span class="article_seperator<?php echo $params->get('pageclass_sfx'); ?>">&nbsp;</span> <span class="article_seperator<?php echo $params->get('pageclass_sfx'); ?>">&nbsp;</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
} }
/** /**
@@ -1609,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) {
@@ -1727,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>";
@@ -1739,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) {
@@ -1753,12 +1733,6 @@ global $params;
</td> </td>
<?php <?php
} }
?>
</tr>
</table>
</td>
<?php
if ($praesentation == 0) { if ($praesentation == 0) {
?> ?>
<td nowrap <td nowrap
@@ -5611,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">
@@ -5718,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) {
?> ?>
@@ -5737,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'); ?>">
@@ -5784,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);
@@ -5809,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">
@@ -6769,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">
@@ -6847,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
@@ -6875,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>
@@ -291,8 +291,6 @@ class HTML_sportsmanager_ticker
type="text/css"/> type="text/css"/>
<script src="<?php echo Route::_(Uri::root(TRUE) . '/components/com_sportsmanager/js/jquery.min.js'); ?>" <script src="<?php echo Route::_(Uri::root(TRUE) . '/components/com_sportsmanager/js/jquery.min.js'); ?>"
type="text/javascript"></script> type="text/javascript"></script>
<script type="text/javascript"
src="<?php echo Route::_(Uri::root(TRUE) . '/components/com_sportsmanager/js/css3.js'); ?>"></script>
<script> <script>
let globalresize = 0; let globalresize = 0;
@@ -40,7 +40,7 @@ function addOnLoad($function): void
<?php <?php
} }
function SportsManagerURL($weitereParameter = null, $ssl = 0): ?string function SportsManagerURL($weitereParameter = "", $ssl = 0): ?string
{ {
$urlPath = handleFilter($weitereParameter); $urlPath = handleFilter($weitereParameter);
$joomlaBaseUrl = Uri::getInstance()->toString([ $joomlaBaseUrl = Uri::getInstance()->toString([