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/issue-108-yootheme-path-fix
This commit is contained in:
@@ -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
|
||||
{
|
||||
global $params;
|
||||
|
||||
?>
|
||||
<table style="width: 100%; border: none; border-spacing: 0; padding: 3px">
|
||||
<tr>
|
||||
@@ -562,8 +561,8 @@ static function turnierdisziplinen($disziplin, $meldungen, $meldungenSpielerIds,
|
||||
|
||||
?>
|
||||
<div class="uk-overflow-auto">
|
||||
<table
|
||||
class="uk-table uk-table-hover uk-table-divider uk-table-middle contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<table style='width: 100%; padding:1px 1px 1px 1px; border-collapse: collapse;'
|
||||
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'); ?>">
|
||||
<?php
|
||||
if ($platzierung_anzeigen) {
|
||||
@@ -593,10 +592,6 @@ static function turnierdisziplinen($disziplin, $meldungen, $meldungenSpielerIds,
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<td nowrap>
|
||||
|
||||
<table style="width: 100%; border: none; border-spacing: 0; padding: 0">
|
||||
<tr>
|
||||
<td>
|
||||
<?php
|
||||
$spieler = $meldungenSpielerNamen[$meldung->turniermeldung_id];
|
||||
@@ -625,9 +620,9 @@ static function turnierdisziplinen($disziplin, $meldungen, $meldungenSpielerIds,
|
||||
<?php
|
||||
if ($bilder_anzeigen_1) {
|
||||
?>
|
||||
<td style="width: 32px">
|
||||
<td style="width: 70px">
|
||||
<?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;
|
||||
?>
|
||||
</td>
|
||||
@@ -635,19 +630,16 @@ static function turnierdisziplinen($disziplin, $meldungen, $meldungenSpielerIds,
|
||||
}
|
||||
if ($bilder_anzeigen_2) {
|
||||
?>
|
||||
<td style="width: 32px">
|
||||
<td style="width: 70px">
|
||||
<?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;
|
||||
?>
|
||||
</td>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<?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
|
||||
{
|
||||
global $params;
|
||||
|
||||
$bildID = 0;
|
||||
?>
|
||||
<table style="width: 100%; border: none; border-spacing: 0; padding: 3px">
|
||||
<tr>
|
||||
@@ -682,7 +674,8 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
||||
<!--img src="images/M_images/arrow.png" border="0"/--> <a
|
||||
href="<?php echo SportsManagerURL('#id' . $disziplin->turnier_id); ?>">
|
||||
<?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); ?>
|
||||
</th>
|
||||
<?php
|
||||
@@ -723,7 +716,7 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
||||
<td nowrap>
|
||||
<?php
|
||||
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>
|
||||
</tr>
|
||||
@@ -770,7 +763,8 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
||||
if (($rundenstufe == 0 || $rundenstufe == 10) && count($meldungen[$rundenstufe]) > 0) {
|
||||
?>
|
||||
<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'); ?>">
|
||||
<?php
|
||||
if ($platzierung_anzeigen) {
|
||||
@@ -800,10 +794,6 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<td nowrap>
|
||||
|
||||
<table style="width: 100%; border: none; border-spacing: 0; padding: 0">
|
||||
<tr>
|
||||
<td>
|
||||
<?php
|
||||
$spieler = $meldungenSpielerNamen[$meldung->turniermeldung_id];
|
||||
@@ -829,31 +819,17 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
<td style="text-align: center;">
|
||||
<?php
|
||||
if ($bilder_anzeigen_1) {
|
||||
?>
|
||||
<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)
|
||||
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;
|
||||
?>
|
||||
</td>
|
||||
<?php
|
||||
}
|
||||
if ($bilder_anzeigen_2) {
|
||||
?>
|
||||
<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)
|
||||
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;
|
||||
?>
|
||||
</td>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
@@ -875,10 +851,12 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
||||
}
|
||||
?>
|
||||
<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'); ?>">
|
||||
<th style="text-align: left" nowrap>
|
||||
<strong><?php echo Text::_('COM_SPORTSMANAGER_WINNER'); ?></strong></th>
|
||||
<th id="bildID_<?php echo $bildID++; ?>"></th>
|
||||
<?php
|
||||
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 id="bildID_<?php echo $bildID++; ?>"></th>
|
||||
</tr>
|
||||
<?php
|
||||
|
||||
@@ -912,10 +891,6 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
||||
?>
|
||||
<tr class="sectiontableentry<?php echo $k + 1;
|
||||
$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>
|
||||
<?php
|
||||
if ($spiel->ergebnis == 1) {
|
||||
@@ -954,33 +929,18 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
<td id="bildID_<?php echo $bildID++; ?>" style="display: block;text-align: center;">
|
||||
<?php
|
||||
if ($bilder_anzeigen_1) {
|
||||
?>
|
||||
<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)
|
||||
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)
|
||||
echo $bild;
|
||||
?>
|
||||
</td>
|
||||
<?php
|
||||
}
|
||||
if ($bilder_anzeigen_2) {
|
||||
?>
|
||||
<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)
|
||||
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)
|
||||
echo $bild;
|
||||
?>
|
||||
</td>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</td>
|
||||
|
||||
<?php
|
||||
if ($ergebnis_detailliert_anzeigen) {
|
||||
?>
|
||||
@@ -989,11 +949,6 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
<td nowrap>
|
||||
|
||||
<table style="width: 100%; border: none; border-spacing: 0; padding: 0">
|
||||
<tr>
|
||||
<td>
|
||||
<?php
|
||||
if (isset($verlierer)) {
|
||||
@@ -1003,33 +958,18 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
<td id="bildID_<?php echo $bildID++; ?>" style="display: block;text-align: center;">
|
||||
<?php
|
||||
if ($bilder_anzeigen_1) {
|
||||
?>
|
||||
<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)
|
||||
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)
|
||||
echo $bild;
|
||||
?>
|
||||
</td>
|
||||
<?php
|
||||
}
|
||||
if ($bilder_anzeigen_2) {
|
||||
?>
|
||||
<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)
|
||||
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)
|
||||
echo $bild;
|
||||
?>
|
||||
</td>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
@@ -1040,6 +980,38 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
||||
<?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
|
||||
@@ -1085,46 +1057,29 @@ static function begegnungenAnzeigen($veranstaltung, $modus, $rows, $zeitfenster,
|
||||
?>
|
||||
|
||||
<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'); ?>">
|
||||
<?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 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
|
||||
}
|
||||
*/
|
||||
?>
|
||||
<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>
|
||||
<?php
|
||||
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
|
||||
}
|
||||
?>
|
||||
<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>
|
||||
<?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) {
|
||||
@@ -1132,17 +1087,17 @@ static function begegnungenAnzeigen($veranstaltung, $modus, $rows, $zeitfenster,
|
||||
$spielort_name = $row->spielort_name;
|
||||
?>
|
||||
<tr>
|
||||
<td nowrap height="4"></td>
|
||||
<td nowrap height="10"></td>
|
||||
</tr>
|
||||
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>"
|
||||
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
|
||||
echo htmlentities_utf8(Rundenbezeichnung($spieltag, $veranstaltung->unterteilung == 0));
|
||||
if (!empty($spielort_name))
|
||||
echo "<br />" . htmlentities_utf8($spielort_name);
|
||||
?>
|
||||
</i></span></th>
|
||||
</th>
|
||||
</tr>
|
||||
<?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>";
|
||||
else
|
||||
echo $row->verlegung_eingetragen != null ? ("bisher " . FormatiertesDatum($row->zeitpunkt)) : FormatiertesDatum($row->zeitpunkt);
|
||||
?>
|
||||
<?php
|
||||
|
||||
if ($veranstaltung == null) {
|
||||
?>
|
||||
<br/>
|
||||
@@ -1234,13 +1188,6 @@ 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">
|
||||
@@ -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;
|
||||
?>
|
||||
<table style="width: 100%; border: none; border-spacing: 0; padding: 3px">
|
||||
@@ -1302,8 +1250,10 @@ global $params;
|
||||
<?php echo Text::_('COM_SPORTSMANAGER_COMPETITIONS'); ?></a> >
|
||||
<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($heim_team->teamname); ?><?php echo Text::_('COM_SPORTSMANAGER_VERSUS_SHORTCUT'); ?><?php echo htmlentities_utf8($gast_team->teamname); ?>
|
||||
<?php
|
||||
echo htmlentities_utf8($heim_team->teamname)." ";
|
||||
echo Text::_('COM_SPORTSMANAGER_VERSUS_SHORTCUT');
|
||||
echo " ".htmlentities_utf8($gast_team->teamname);
|
||||
}
|
||||
?>
|
||||
</th>
|
||||
@@ -1353,14 +1303,8 @@ global $params;
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="uk-overflow-auto">
|
||||
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<tr>
|
||||
<td><?php echo Text::_('COM_SPORTSMANAGER_VERSUS_SHORTCUT'); ?></td>
|
||||
<td>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<?php
|
||||
@@ -1374,6 +1318,11 @@ global $params;
|
||||
<td>
|
||||
<h2><?php echo htmlentities_utf8($heim_team->teamname); ?></h2>
|
||||
</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>
|
||||
<td>
|
||||
@@ -1393,13 +1342,6 @@ global $params;
|
||||
</td>
|
||||
</tr>
|
||||
</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
|
||||
if (count($spiele) > 0) {
|
||||
@@ -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'); ?>">
|
||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_GAME'); ?></strong></th>
|
||||
<?php if ($bilder_anzeigen) { ?>
|
||||
<th nowrap></th><?php } ?>
|
||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM_HOME'); ?></strong></th>
|
||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_RESULT'); ?></strong></th>
|
||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM_VISITOR'); ?></strong></th>
|
||||
<th nowrap id="bilder_heim_0"></th><?php } ?>
|
||||
<th nowrap style="text-align: left;"><strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM_HOME'); ?></strong></th>
|
||||
<th nowrap style="text-align: center;"><strong><?php echo Text::_('COM_SPORTSMANAGER_RESULT'); ?></strong></th>
|
||||
<th nowrap style="text-align: left;"><strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM_VISITOR'); ?></strong></th>
|
||||
<?php if ($bilder_anzeigen) { ?>
|
||||
<th nowrap></th><?php } ?>
|
||||
<th nowrap id="bilder_gast_0"></th><?php } ?>
|
||||
</tr>
|
||||
<?php
|
||||
|
||||
@@ -1443,41 +1385,30 @@ global $params;
|
||||
?>
|
||||
<tr class="sectiontableentry<?php echo $k + 1;
|
||||
$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
|
||||
if ($bilder_anzeigen) {
|
||||
|
||||
?>
|
||||
<td nowrap>
|
||||
<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">
|
||||
|
||||
<td id="bilder_heim_<?php echo $spiel->teamspiel_nummer ?>" style="display: block; text-align: center;" >
|
||||
<?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)
|
||||
$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)
|
||||
echo $bild;
|
||||
?>
|
||||
</td>
|
||||
<?php
|
||||
|
||||
if (!(empty($spiel->heim_spieler_2_id) && empty($spiel->gast_spieler_2_id))) {
|
||||
?>
|
||||
<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"');
|
||||
$bild = bildHTML("mannschaftsmitglieder", !$details_anzeigen && $spiel->heim_spieler_2_bild_ausblenden ? '' : $spiel->heim_spieler_2_mitglied_id, 45, 60, 0, 0, 'border="1"');
|
||||
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)
|
||||
echo $bild;
|
||||
?>
|
||||
</td>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
@@ -1485,31 +1416,32 @@ global $params;
|
||||
<td>
|
||||
<?php
|
||||
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
|
||||
}
|
||||
if ($spiel->heim_spieler_2_id != null && $spiel->heim_spieler_2_id != 0) {
|
||||
?><br/><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>
|
||||
?><br/>
|
||||
<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
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
|
||||
<td style="text-align: center"
|
||||
nowrap><?php echo str_replace(" ", " | ", $spiel->ergebnis_detailliert); ?></td>
|
||||
<td style="text-align: center" nowrap>
|
||||
<?php echo str_replace(" ", " | ", $spiel->ergebnis_detailliert); ?>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<?php
|
||||
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
|
||||
}
|
||||
if ($spiel->gast_spieler_2_id != null && $spiel->gast_spieler_2_id != 0) {
|
||||
?><br/><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>
|
||||
?><br/>
|
||||
<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
|
||||
}
|
||||
?>
|
||||
@@ -1518,38 +1450,24 @@ global $params;
|
||||
<?php
|
||||
if ($bilder_anzeigen) {
|
||||
?>
|
||||
<td>
|
||||
<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">
|
||||
<td id="bilder_gast_<?php echo $spiel->teamspiel_nummer ?>" style="display: block; text-align: center;">
|
||||
<?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)
|
||||
$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)
|
||||
echo $bild;
|
||||
?>
|
||||
</td>
|
||||
<?php
|
||||
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))) {
|
||||
$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)
|
||||
$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)
|
||||
echo $bild;
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<?php
|
||||
}
|
||||
@@ -1561,8 +1479,44 @@ global $params;
|
||||
</table>
|
||||
</div>
|
||||
<span class="article_seperator<?php echo $params->get('pageclass_sfx'); ?>"> </span>
|
||||
|
||||
<?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
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1582,7 +1536,7 @@ global $params;
|
||||
if (count($teams) > 0) {
|
||||
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">
|
||||
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<tr>
|
||||
@@ -1590,7 +1544,7 @@ global $params;
|
||||
<select
|
||||
aria-label="<?php echo Text::_('COM_SPORTSMANAGER_ARIA_LABEL_MATCHDAY_SELECT'); ?>"
|
||||
class="uk-select uk-form-width-medium" name="spieltag" size="1"
|
||||
onChange="document.matchDayForm.submit();">
|
||||
onChange="document.adminForm.submit();">
|
||||
<?php
|
||||
foreach ($spieltage as $s) {
|
||||
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 -->
|
||||
<!-- dtfl-table-small css from yootheme-->
|
||||
<div class="uk-overflow-auto">
|
||||
<table
|
||||
class="uk-table uk-table-hover uk-table-divider uk-table-middle dtfl-table-medium contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<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'); ?>">
|
||||
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<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>
|
||||
<?php
|
||||
if ($bilder_anzeigen) {
|
||||
?>
|
||||
<th style="text-align: center; width: 70px;">
|
||||
<strong></strong></th>
|
||||
<?php
|
||||
}
|
||||
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>
|
||||
</th>
|
||||
<?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>
|
||||
<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>
|
||||
<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>
|
||||
<?php
|
||||
if ($zusatzpunkte_anzeigen) {
|
||||
@@ -1751,10 +1711,6 @@ global $params;
|
||||
$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>";
|
||||
@@ -1763,7 +1719,7 @@ global $params;
|
||||
<?php
|
||||
if ($bilder_anzeigen) {
|
||||
?>
|
||||
<td style="width: 50px" height="50" style="text-align: right">
|
||||
<td style="text-align: center;">
|
||||
<?php
|
||||
$bild = bildHTML("mannschaften", $team->team_id, 50, 50, 0, 0, 'border="0"');
|
||||
if ($bild != null) {
|
||||
@@ -1777,12 +1733,6 @@ global $params;
|
||||
</td>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</td>
|
||||
<?php
|
||||
if ($praesentation == 0) {
|
||||
?>
|
||||
<td nowrap
|
||||
@@ -5635,7 +5585,6 @@ global $params;
|
||||
static function spielerstatistik($spielerstatistik, $spielerstatistik_punkte, $allein_angezeigt, $vorherige_spielerstatistik_id, $naechste_spielerstatistik_id, $details_anzeigen): void
|
||||
{
|
||||
global $params;
|
||||
|
||||
if ($allein_angezeigt) {
|
||||
?>
|
||||
<table class="uk-table" style="width: 100%; border: none; border-spacing: 0; padding: 3px">
|
||||
@@ -5742,13 +5691,16 @@ global $params;
|
||||
?>
|
||||
<!-- Tabelle Spielerstatistiken -->
|
||||
<div class="uk-overflow-auto">
|
||||
<table
|
||||
class="uk-table uk-table-hover uk-table-divider uk-table-middle dtfl-table-medium contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<table style='width: 100%; padding:1px 1px 1px 1px; border-collapse: collapse;'
|
||||
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'); ?>">
|
||||
<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>
|
||||
</th>
|
||||
<th style="text-align: center; width: 50px;">
|
||||
<strong></strong>
|
||||
</th>
|
||||
<?php
|
||||
if ($spielerstatistik->tabellenwertung > 0) {
|
||||
?>
|
||||
@@ -5761,22 +5713,27 @@ global $params;
|
||||
?>
|
||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_GAMES'); ?></strong></th>
|
||||
<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></th>
|
||||
<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></th>
|
||||
<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>
|
||||
<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>
|
||||
</th>
|
||||
<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>
|
||||
</th>
|
||||
<th nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_VICTORIES'); ?>">
|
||||
@@ -5808,9 +5765,6 @@ global $params;
|
||||
?>
|
||||
</td>
|
||||
<td nowrap>
|
||||
<table style="width: 100%; border: none; border-spacing: 0; padding: 0">
|
||||
<tr>
|
||||
<td>
|
||||
<?php
|
||||
if ($row->aktueller_verein_id == null)
|
||||
echo htmlentities_utf8($row->nachname . ", " . $row->vorname);
|
||||
@@ -5833,28 +5787,24 @@ global $params;
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
<td style="width: 59px">
|
||||
<td>
|
||||
<?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;
|
||||
?>
|
||||
</td>
|
||||
<?php
|
||||
if ($bilder_anzeigen_2) {
|
||||
?>
|
||||
<td style="width: 59px">
|
||||
<td style="text-align: left;">
|
||||
<?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;
|
||||
?>
|
||||
</td>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<?php
|
||||
|
||||
if ($spielerstatistik->tabellenwertung != 0) {
|
||||
?>
|
||||
<td nowrap style="text-align: center">
|
||||
@@ -6793,7 +6743,6 @@ global $params;
|
||||
static function rangliste($rangliste, $rangliste_punkte, $allein_angezeigt, $details_anzeigen): void
|
||||
{
|
||||
global $params;
|
||||
|
||||
if ($allein_angezeigt) {
|
||||
?>
|
||||
<div class="uk-overflow-auto">
|
||||
@@ -6871,14 +6820,15 @@ global $params;
|
||||
?>
|
||||
<!-- Tabelle Rangliste -->
|
||||
<div class="uk-overflow-auto">
|
||||
<table
|
||||
class="uk-table uk-table-divider uk-table-hover uk-table-middle rangliste-width contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||
<table style='width: 100%; padding:1px 1px 1px 1px; border-collapse: collapse;'
|
||||
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'); ?>">
|
||||
<th><strong><?php echo Text::_('COM_SPORTSMANAGER_RANK'); ?></strong></th>
|
||||
<th></th>
|
||||
<th style="text-align: left">
|
||||
<strong><?php echo Text::_('COM_SPORTSMANAGER_PLAYER'); ?></strong>
|
||||
</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>
|
||||
<?php
|
||||
|
||||
@@ -6899,20 +6849,22 @@ global $params;
|
||||
<?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)
|
||||
echo $bild; ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php
|
||||
if ($row->aktueller_verein_id == null)
|
||||
echo htmlentities_utf8($row->nachname . ", " . $row->vorname);
|
||||
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>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</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>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user