mirror of
https://github.com/Deutscher-Tischfussballbund/com_sportsmanager.git
synced 2026-06-10 06:27:52 +00:00
Weitere Optimierungen der Tabellen Rangliste, Turnierergebnisse und Spielerstatistik
This commit is contained in:
@@ -537,8 +537,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) {
|
||||
@@ -739,7 +739,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) {
|
||||
@@ -826,7 +827,8 @@ 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>
|
||||
@@ -961,7 +963,7 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
||||
function bilder_zeigen(){
|
||||
let breite = window.innerWidth;
|
||||
let id = 0;
|
||||
var anzeige;
|
||||
let anzeige;
|
||||
let anzahl_spiele = <?PHP echo $bildID; ?>;
|
||||
if (breite < 480){
|
||||
anzeige = "none";
|
||||
@@ -1488,7 +1490,7 @@ if (count($spiele) > 0) {
|
||||
function bilder_zeigen(){
|
||||
let breite = window.innerWidth;
|
||||
let id = 0;
|
||||
var anzeige;
|
||||
let anzeige;
|
||||
let anzahl_spiele = <?PHP echo count($spiele); ?>;
|
||||
|
||||
if (breite < 480){
|
||||
@@ -5694,14 +5696,14 @@ if (count($spiele) > 0) {
|
||||
?>
|
||||
<!-- 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: 80px;">
|
||||
<th style="text-align: center; width: 50px;">
|
||||
<strong></strong>
|
||||
</th>
|
||||
<?php
|
||||
@@ -5790,7 +5792,7 @@ if (count($spiele) > 0) {
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
<td style="width: 59px">
|
||||
<td>
|
||||
<?php
|
||||
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;
|
||||
@@ -5799,7 +5801,7 @@ if (count($spiele) > 0) {
|
||||
<?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, 45, 60, 0, 0, 'border="1" style="text-align: right" hspace="8" vspace="2"', $row->geschlecht == 'M' ? 'm' : 'w')) != null)
|
||||
echo $bild;
|
||||
@@ -6823,15 +6825,15 @@ if (count($spiele) > 0) {
|
||||
?>
|
||||
<!-- 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
|
||||
|
||||
@@ -6860,14 +6862,14 @@ if (count($spiele) > 0) {
|
||||
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