mirror of
https://github.com/Deutscher-Tischfussballbund/com_sportsmanager.git
synced 2026-06-10 14:37:52 +00:00
@@ -47,5 +47,3 @@ To set it up, insert into the configuration popup which follows after you enable
|
|||||||
Joomla install path: `./data/joomla_data`
|
Joomla install path: `./data/joomla_data`
|
||||||
JConfig: `./data/joomla_data/configuration.php`
|
JConfig: `./data/joomla_data/configuration.php`
|
||||||
|
|
||||||
|
|
||||||
Test
|
|
||||||
@@ -161,7 +161,6 @@ 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): 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>
|
||||||
@@ -516,6 +515,7 @@ static function turnierdisziplinenHeader($turnier, $vorherige_turnier_id, $naech
|
|||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//issue #74
|
||||||
static function turnierdisziplinen($disziplin, $meldungen, $meldungenSpielerIds, $meldungenSpielerGeschlechter, $meldungenSpielerNamen, $meldungenSpielerBilderAusblenden, $platzierung_anzeigen, $details_anzeigen): void
|
static function turnierdisziplinen($disziplin, $meldungen, $meldungenSpielerIds, $meldungenSpielerGeschlechter, $meldungenSpielerNamen, $meldungenSpielerBilderAusblenden, $platzierung_anzeigen, $details_anzeigen): void
|
||||||
{
|
{
|
||||||
global $params;
|
global $params;
|
||||||
@@ -569,10 +569,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 +597,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 +607,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
|
||||||
}
|
}
|
||||||
@@ -646,10 +639,11 @@ static function turnierdisziplinen($disziplin, $meldungen, $meldungenSpielerIds,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//issue #74
|
||||||
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 +652,8 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
|||||||
<!--img src="images/M_images/arrow.png" border="0"/--> <a
|
<!--img src="images/M_images/arrow.png" border="0"/--> <a
|
||||||
href="<?php echo SportsManagerURL('#id' . $disziplin->turnier_id); ?>">
|
href="<?php echo SportsManagerURL('#id' . $disziplin->turnier_id); ?>">
|
||||||
<?php echo Text::_('COM_SPORTSMANAGER_TOURNAMENTS'); ?></a> > <a
|
<?php echo Text::_('COM_SPORTSMANAGER_TOURNAMENTS'); ?></a> > <a
|
||||||
href="<?php echo SportsManagerURL('&task=turnierdisziplinen&turnierid=' . $disziplin->turnier_id); ?>"><?php echo htmlentities_utf8($turnier->turnierbezeichnung) . (!empty($turnier->turnierort) ? (" in " . $turnier->turnierort) : ""); ?></a>
|
href="<?php echo SportsManagerURL('&task=turnierdisziplinen&turnierid=' . $disziplin->turnier_id); ?>">
|
||||||
|
<?php echo htmlentities_utf8($turnier->turnierbezeichnung) . (!empty($turnier->turnierort) ? (" in " . $turnier->turnierort) : ""); ?></a>
|
||||||
> <?php echo htmlentities_utf8($disziplin->disziplin); ?>
|
> <?php echo htmlentities_utf8($disziplin->disziplin); ?>
|
||||||
</th>
|
</th>
|
||||||
<?php
|
<?php
|
||||||
@@ -699,7 +694,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>
|
||||||
@@ -776,10 +771,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 +796,17 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
|
<td 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
|
||||||
@@ -855,6 +832,7 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
|||||||
<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 +843,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 +867,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 +905,18 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
|
<td align=center id="bildID_<?php echo $bildID++; ?>" style="display: block;">
|
||||||
<?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 +925,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 +934,18 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
|
<td align=center id="bildID_<?php echo $bildID++; ?>" style="display: block;">
|
||||||
<?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 +956,38 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
|||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
?>
|
||||||
|
<!-- issue #74 javascript -->
|
||||||
|
<script>
|
||||||
|
|
||||||
|
function bilder_zeigen(){
|
||||||
|
var breite = window.innerWidth;
|
||||||
|
var id = 0;
|
||||||
|
var anzeige = "block";
|
||||||
|
var anzahl_spiele = <?PHP echo $bildID; ?>;
|
||||||
|
if (breite < 480){
|
||||||
|
anzeige = "none";
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
anzeige = "block";
|
||||||
|
}
|
||||||
|
for (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
|
||||||
@@ -1255,7 +1227,9 @@ 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 {
|
//issue #74 erledigt
|
||||||
|
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 +1252,10 @@ global $params;
|
|||||||
<?php echo Text::_('COM_SPORTSMANAGER_COMPETITIONS'); ?></a> >
|
<?php echo Text::_('COM_SPORTSMANAGER_COMPETITIONS'); ?></a> >
|
||||||
<a href="<?php echo SportsManagerURL('&task=veranstaltung&veranstaltungid=' . $veranstaltung->veranstaltung_id . '#id' . $begegnung->begegnung_id); ?>">
|
<a href="<?php echo SportsManagerURL('&task=veranstaltung&veranstaltungid=' . $veranstaltung->veranstaltung_id . '#id' . $begegnung->begegnung_id); ?>">
|
||||||
<?php echo htmlentities_utf8($veranstaltung->bezeichnung); ?></a> >
|
<?php echo htmlentities_utf8($veranstaltung->bezeichnung); ?></a> >
|
||||||
<?php echo htmlentities_utf8($heim_team->teamname); ?><?php echo Text::_('COM_SPORTSMANAGER_VERSUS_SHORTCUT'); ?><?php echo htmlentities_utf8($gast_team->teamname); ?>
|
|
||||||
<?php
|
<?php
|
||||||
|
echo htmlentities_utf8($heim_team->teamname)." ";
|
||||||
|
echo Text::_('COM_SPORTSMANAGER_VERSUS_SHORTCUT');
|
||||||
|
echo " ".htmlentities_utf8($gast_team->teamname);
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</th>
|
</th>
|
||||||
@@ -1329,14 +1305,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 +1320,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 +1344,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 +1368,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 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 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 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 +1387,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 ?>" align="center" style="display: block;">
|
||||||
<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 +1418,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" 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 +1452,24 @@ global $params;
|
|||||||
<?php
|
<?php
|
||||||
if ($bilder_anzeigen) {
|
if ($bilder_anzeigen) {
|
||||||
?>
|
?>
|
||||||
<td>
|
<td id="bilder_gast_<?php echo $spiel->teamspiel_nummer ?>" align="center" style="display: block;">
|
||||||
<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 +1481,45 @@ global $params;
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<span class="article_seperator<?php echo $params->get('pageclass_sfx'); ?>"> </span>
|
<span class="article_seperator<?php echo $params->get('pageclass_sfx'); ?>"> </span>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
|
<!-- issue #74 javascript -->
|
||||||
|
<script>
|
||||||
|
|
||||||
|
function bilder_zeigen(){
|
||||||
|
var breite = window.innerWidth;
|
||||||
|
var id = 0;
|
||||||
|
var anzeige = "block";
|
||||||
|
var anzahl_spiele = <?PHP echo count($spiele); ?>;
|
||||||
|
|
||||||
|
if (breite < 480){
|
||||||
|
anzeige = "none";
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
anzeige = "block";
|
||||||
|
}
|
||||||
|
for (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
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -1554,7 +1535,9 @@ global $params;
|
|||||||
static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spieltage, $alleine_angezeigt, int $praesentation = 0): void
|
static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spieltage, $alleine_angezeigt, int $praesentation = 0): void
|
||||||
{
|
{
|
||||||
global $params;
|
global $params;
|
||||||
|
//echo "<pre>";
|
||||||
|
//print_r($teams);
|
||||||
|
//echo "</pre>";
|
||||||
if (count($teams) > 0) {
|
if (count($teams) > 0) {
|
||||||
if ($alleine_angezeigt && $veranstaltung->tabellenwertung >= -1 && $veranstaltung->tabellenwertung <= 11 && count($spieltage) > 1) {
|
if ($alleine_angezeigt && $veranstaltung->tabellenwertung >= -1 && $veranstaltung->tabellenwertung <= 11 && count($spieltage) > 1) {
|
||||||
?>
|
?>
|
||||||
@@ -3892,6 +3875,7 @@ global $params;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//issue #74 (Aenderung notwendig?)
|
||||||
static function spieler($beschreibung, $rows, $sortierung, $statistik, $beginn, $kategorie, $filter, $veranstaltungid, $einstufungid, $veranstaltungen, $veranstalterid, $veranstalter, $einstufungen, $details_anzeigen): void
|
static function spieler($beschreibung, $rows, $sortierung, $statistik, $beginn, $kategorie, $filter, $veranstaltungid, $einstufungid, $veranstaltungen, $veranstalterid, $veranstalter, $einstufungen, $details_anzeigen): void
|
||||||
{
|
{
|
||||||
global $params;
|
global $params;
|
||||||
@@ -5608,10 +5592,10 @@ global $params;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//issue #74
|
||||||
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">
|
||||||
@@ -5725,6 +5709,9 @@ global $params;
|
|||||||
<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 style="text-align: center;width: 80px;">
|
||||||
|
<strong></strong>
|
||||||
|
</th>
|
||||||
<?php
|
<?php
|
||||||
if ($spielerstatistik->tabellenwertung > 0) {
|
if ($spielerstatistik->tabellenwertung > 0) {
|
||||||
?>
|
?>
|
||||||
@@ -5737,22 +5724,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 +5776,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);
|
||||||
@@ -5811,7 +5800,7 @@ global $params;
|
|||||||
</td>
|
</td>
|
||||||
<td style="width: 59px">
|
<td style="width: 59px">
|
||||||
<?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>
|
||||||
@@ -5820,17 +5809,13 @@ global $params;
|
|||||||
?>
|
?>
|
||||||
<td style="width: 59px">
|
<td style="width: 59px">
|
||||||
<?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">
|
||||||
@@ -5936,6 +5921,7 @@ global $params;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//issue #74
|
||||||
static function individualwettbewerb($individualwettbewerb, $spiele, $platzierungen, $allein_angezeigt, $vorheriger_individualwettbewerb_id, $naechster_individualwettbewerb_id, $details_anzeigen): void
|
static function individualwettbewerb($individualwettbewerb, $spiele, $platzierungen, $allein_angezeigt, $vorheriger_individualwettbewerb_id, $naechster_individualwettbewerb_id, $details_anzeigen): void
|
||||||
{
|
{
|
||||||
global $params;
|
global $params;
|
||||||
@@ -6345,6 +6331,7 @@ global $params;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//issue #74
|
||||||
static function individualwettbewerbSpiele($individualwettbewerbe_bezeichnungen, $spiele, $details_anzeigen): void
|
static function individualwettbewerbSpiele($individualwettbewerbe_bezeichnungen, $spiele, $details_anzeigen): void
|
||||||
{
|
{
|
||||||
global $params;
|
global $params;
|
||||||
@@ -6532,6 +6519,7 @@ global $params;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//issue #74
|
||||||
static function eloRangliste($spieler, $typ, $kategorie, $allein_angezeigt, $vorherige_ansicht, $naechste_ansicht, $details_anzeigen): void
|
static function eloRangliste($spieler, $typ, $kategorie, $allein_angezeigt, $vorherige_ansicht, $naechste_ansicht, $details_anzeigen): void
|
||||||
{
|
{
|
||||||
global $params;
|
global $params;
|
||||||
@@ -6766,10 +6754,10 @@ global $params;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//issue #74
|
||||||
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">
|
||||||
@@ -6851,6 +6839,7 @@ global $params;
|
|||||||
class="uk-table uk-table-divider uk-table-hover uk-table-middle rangliste-width contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
class="uk-table 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>
|
||||||
@@ -6873,8 +6862,10 @@ global $params;
|
|||||||
|
|
||||||
<td>
|
<td>
|
||||||
<?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 = 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)
|
||||||
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);
|
||||||
|
|||||||
Reference in New Issue
Block a user