Letzte Änderung wegen Konflikten rückgängig gemacht.

This commit is contained in:
Jürgen Meyer
2025-07-01 12:37:41 +02:00
parent 763fd7d386
commit 1235edde82
@@ -1033,29 +1033,46 @@ static function begegnungenAnzeigen($veranstaltung, $modus, $rows, $zeitfenster,
?>
<div class="uk-overflow-auto">
<table style='width: 100%; border-collapse: collapse;' class="contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
<?php if ($zeitpunkt_anzeigen) { ?>
<th nowrap style='text-align: left; width:20%;'><strong><?php echo Text::_('COM_SPORTSMANAGER_SCHEDULE_DATE'); ?></strong>
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_SCHEDULE_DATE'); ?></strong>
</th><?php } ?>
<th nowrap style='text-align: left; width:25%;'><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_VISITOR'); ?></strong></th>
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM_HOME'); ?></strong></th>
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM_VISITOR'); ?></strong></th>
<?php
/*
if ($veranstaltung == NULL) {
?>
<th nowrap><strong>Wettbewerb</strong></th>
<?php
}
*/
?>
<?php
if ($veranstaltung != null && $modus->punktetyp == 0) {
?>
<th nowrap style='text-align: center; width:12%;'><strong><?php echo Text::_('COM_SPORTSMANAGER_GOALS'); ?></strong></th>
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_GOALS'); ?></strong></th>
<?php
}
?>
<th nowrap style='text-align: center; width:12%;'><strong><?php echo Text::_('COM_SPORTSMANAGER_RESULT'); ?></strong></th>
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_RESULT'); ?></strong></th>
</tr>
<?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;
$monat = "...";
$spieltag = 0;
$spielort_name = "";
foreach ($rows as $row) {
$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 ($veranstaltung->unterteilung == 0 || $veranstaltung->unterteilung == 1) {
if ($spieltag != $row->spieltag || $spielort_name != $row->spielort_name) {
@@ -1063,17 +1080,17 @@ static function begegnungenAnzeigen($veranstaltung, $modus, $rows, $zeitfenster,
$spielort_name = $row->spielort_name;
?>
<tr>
<td nowrap height="10"></td>
<td nowrap height="4"></td>
</tr>
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>"
style="text-align: center">
<th nowrap style='text-align: left; font-size: 70%; font-style: italic;'>
<th nowrap><span style="font-size: 70%; "><i>
<?php
echo htmlentities_utf8(Rundenbezeichnung($spieltag, $veranstaltung->unterteilung == 0));
if (!empty($spielort_name))
echo "<br />" . htmlentities_utf8($spielort_name);
?>
</th>
</i></span></th>
</tr>
<?php
}
@@ -1110,7 +1127,8 @@ 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>";
else
echo $row->verlegung_eingetragen != null ? ("bisher " . FormatiertesDatum($row->zeitpunkt)) : FormatiertesDatum($row->zeitpunkt);
?>
<?php
if ($veranstaltung == null) {
?>
<br/>
@@ -1164,6 +1182,13 @@ static function begegnungenAnzeigen($veranstaltung, $modus, $rows, $zeitfenster,
?>
</td>
<?php
/*
if ($veranstaltung == NULL) {
?>
<td nowrap><?php echo htmlentities_utf8($row->bezeichnung); ?></td>
<?php
}
*/
if ($veranstaltung != null && $modus->punktetyp == 0) {
?>
<td nowrap style="text-align: center">
@@ -1563,28 +1588,26 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
<!-- Gruppentabelle mit Ergebnissen -->
<!-- dtfl-table-small css from yootheme-->
<div class="uk-overflow-auto">
<table style='width: 100%; border-collapse: collapse;'
class="uk-table-hover uk-table-divider uk-table-middle dtfl-table-medium contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
<table
class="uk-table 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'); ?>">
<th><strong><?php echo Text::_('COM_SPORTSMANAGER_PLACE'); ?></strong></th>
<th style="text-align: left; width: 280px;">
<th style="text-align: left">
<strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM'); ?></strong></th>
<th style="text-align: center; width: 70px;">
<strong></strong></th>
<?php
if ($praesentation == 0) {
?>
<th style="text-align: center; width: 30px;" nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_MATCHES'); ?>">
<th nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_MATCHES'); ?>">
<strong><?php echo Text::_('COM_SPORTSMANAGER_MATCHES_SHORTCUT'); ?></strong>
</th>
<?php
}
?>
<th style="text-align: center; width: 30px;" nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_VICTORIES'); ?>">
<th nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_VICTORIES'); ?>">
<strong><?php echo Text::_('COM_SPORTSMANAGER_VICTORIES_SHORTCUT'); ?></strong></th>
<th style="text-align: center; width: 30px;" nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_DRAWS'); ?>">
<th nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_DRAWS'); ?>">
<strong><?php echo Text::_('COM_SPORTSMANAGER_DRAWS_SHORTCUT'); ?></strong></th>
<th style="text-align: center; width: 30px;" nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_DEFEATS'); ?>">
<th nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_DEFEATS'); ?>">
<strong><?php echo Text::_('COM_SPORTSMANAGER_DEFEATS_SHORTCUT'); ?></strong></th>
<?php
if ($zusatzpunkte_anzeigen) {
@@ -1683,6 +1706,10 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
$buchholz2_wert = $team->buchholz2;
}
?>
<td nowrap>
<table style="width: 100%; border: none; border-spacing: 0; padding: 0">
<tr>
<td>
<?php
echo "<a href=\"" . SportsManagerURL('&task=team_details&id=' . $team->team_id) . "\">" . htmlentities_utf8(NichtLeererString($team->teamname)) . "</a>";
@@ -1691,7 +1718,7 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
<?php
if ($bilder_anzeigen) {
?>
<td style="text-align: center;">
<td style="width: 50px" height="50" style="text-align: right">
<?php
$bild = bildHTML("mannschaften", $team->team_id, 50, 50, 0, 0, 'border="0"');
if ($bild != null) {
@@ -1705,6 +1732,12 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
</td>
<?php
}
?>
</tr>
</table>
</td>
<?php
if ($praesentation == 0) {
?>
<td nowrap