$link->makeURL(); echo $link->makeLink($value->wname); } echo '</td>'; echo '<td align="center">' . CLMText::formatRating($value->wtwz) . '</td>'; echo '<td align="center">-</td>'; echo '<td>'; if (isset($value->sname)) { $link = new CLMcLink(); $link->view = 'turnier_player'; $link->more = array('turnier' => $this->turnier->id, 'snr' => $value->gegner, 'Itemid' => $itemid); $link->makeURL(); echo $link->makeLink($value->sname); } echo '</td>'; echo '<td align="center">' . CLMText::formatRating($value->stwz) . '</td>'; if ($value->ergebnis != NULL) { echo '<td align="center">'; if ($value->pgn == '' or !$this->pgnShow) { echo CLMText::getResultString($value->ergebnis); } else { echo '<span class="editlinktip hasTip" title="' . JText::_('PGN_SHOWMATCH') . '">'; echo '<a onclick="startPgnMatch(' . $value->id . ', \'pgnArea\');" class="pgn">' . CLMText::getResultString($value->ergebnis) . '</a>'; echo '</span>'; ?> <input type='hidden' name='pgn[<?php echo $value->id; ?> ]' id='pgnhidden<?php echo $value->id; ?>
echo '<td class="tt_col_7">' . CLMText::formatRating($value->Niveau) . '</td>'; echo '<td class="tt_col_7">'; $Pkt = explode(".", $value->Punkte); if ($Pkt[1] != "0") { if ($Pkt[0] != "0") { echo $Pkt[0] . '½ / ' . $value->Partien . '</td>'; } else { echo '½ / ' . $value->Partien . '</td>'; } } else { echo $Pkt[0] . ' / ' . $value->Partien . '</td>'; } //echo '<td class="tt_col_7">'.CLMText::formatRating($value->Partien).'</td>'; echo '<td class="tt_col_7">' . CLMText::formatRating($value->DWZ) . '</td>'; if ($value->DWZ == 0 or $value->start_dwz == 0) { echo '<td class="tt_col_7">' . CLMText::formatRating(0) . '</td>'; } else { echo '<td class="tt_col_7">' . ($value->DWZ - $value->start_dwz) . '</td>'; } ?> </tr> <?php } echo '</table>'; if ($dwz_date == "0000-00-00") { echo '<div class="hint">' . JText::_('TOURNAMENT_DWZ_DATE_NO') . '</div><br/>'; } else { echo '<div class="hint">' . JText::_('TOURNAMENT_DWZ_DATE') . clm_core::$load->date_to_string($dwz_date, false, false) . '.</div><br/>'; }
$pdf->SetFont('Times', '', $font); $pdf->SetTextColor(0); if ($p1 == false) { $p1 = true; $pdf->SetFillColor(255); } else { $p1 = false; $pdf->SetFillColor(240); } $pdf->Cell($br00, $zelle, " ", 0, 0, 'C'); $pdf->Cell($br01, $zelle, CLMText::getPosString($this->players[$p]->rankingPos), 1, 0, 'C', 1); if ($turParams->get('displayPlayerTitle', 1) == 1) { $pdf->Cell($br02, $zelle, $this->players[$p]->titel, 1, 0, 'C', 1); } $pdf->Cell($br03, $zelle, utf8_decode($this->players[$p]->name), 1, 0, 'L', 1); if ($turParams->get('displayPlayerClub', 1) == 1) { $pdf->Cell($br04, $zelle, utf8_decode($this->players[$p]->verein), 1, 0, 'L', 1); } $pdf->Cell($br05, $zelle, CLMText::formatRating($this->players[$p]->twz), 1, 0, 'C', 1); $pdf->Cell($br06, $zelle, $this->players[$p]->sum_punkte, 1, 0, 'C', 1); for ($f = 1; $f <= 3; $f++) { $fwFieldName = 'tiebr' . $f; $plTiebrField = 'sumTiebr' . $f; if ($this->turnier->{$fwFieldName} > 0) { $pdf->Cell($br92, $zelle, CLMtext::tiebrFormat($this->turnier->{$fwFieldName}, $this->players[$p]->{$plTiebrField}), 1, 0, 'C', 1); } } $pdf->Cell(1, $zelle, " ", 0, 1, 'C'); } // Ausgabe $pdf->Output(utf8_decode(JText::_('TOURNAMENT_TABLE')) . ' ' . utf8_decode($this->turnier->name) . '.pdf', 'D');
echo '<td class="tt_col_4">' . $value->verein . '</td>'; } } // Federation if ($turParams->get('displayPlayerFederation', 0) == 1) { echo '<td class="tt_col_5">' . $value->FIDEcco . '</td>'; } // TWZ echo '<td class="tt_col_6">' . CLMText::formatRating($value->twz) . '</td>'; // NATrating if ($turParams->get('displayPlayerRating', 0) == 1) { echo '<td class="tt_col_7">'; echo CLMText::formatRating($value->NATrating); echo '</td>'; } // FIDEelo if ($turParams->get('displayPlayerElo', 0) == 1) { echo '<td class="tt_col_8">'; echo CLMText::formatRating($value->FIDEelo); echo '</td>'; } ?> </tr> <?php } echo '</table>'; } require_once JPATH_COMPONENT . DS . 'includes' . DS . 'copy.php'; echo '</div></div>';
$link->makeURL(); echo $link->makeLink($this->players[$matches->spieler]->name); } echo '</td>'; echo '<td align="center">' . CLMText::formatRating($this->players[$matches->spieler]->twz) . '</td>'; echo '<td align="center">-</td>'; echo '<td>'; if (isset($this->players[$matches->gegner]->name)) { $link = new CLMcLink(); $link->view = 'turnier_player'; $link->more = array('turnier' => $this->turnier->id, 'snr' => $matches->gegner, 'Itemid' => $itemid); $link->makeURL(); echo $link->makeLink($this->players[$matches->gegner]->name); } echo '</td>'; echo '<td align="center">' . CLMText::formatRating($this->players[$matches->gegner]->twz) . '</td>'; if ($matches->ergebnis != NULL) { echo '<td align="center">'; if ($matches->pgn == '' or !$this->pgnShow) { echo CLMText::getResultString($matches->ergebnis); } else { echo '<span class="editlinktip hasTip" title="' . JText::_('PGN_SHOWMATCH') . '">'; echo '<a onclick="startPgnMatch(' . $matches->id . ', \'pgnArea' . $value->nr . '\');" class="pgn">' . CLMText::getResultString($matches->ergebnis) . '</a>'; echo '</span>'; ?> <input type='hidden' name='pgn[<?php echo $matches->id; ?> ]' id='pgnhidden<?php echo $matches->id; ?>
if ($value->heim == 1) { echo JText::_('TOURNAMENT_WHITE_ABB'); } else { echo JText::_('TOURNAMENT_BLACK_ABB'); } echo "</td>"; // Gegner echo '<td class="tp_col_3">'; $link = new CLMcLink(); $link->view = 'turnier_player'; $link->more = array('turnier' => $this->turnier->id, 'snr' => $value->gegner, 'Itemid' => $itemid); $link->makeURL(); echo $link->makeLink($value->oppName); echo "</td>"; // TWZ echo '<td class="tp_col_4">' . CLMText::formatRating($value->oppTWZ) . "</td>"; // Ergebnis if ($value->ergebnis != '') { echo '<td class="tp_col_5">'; if ($value->pgn == '' or !$this->pgnShow) { echo CLMText::getResultString($value->ergebnis, 0); } else { echo '<span class="editlinktip hasTip" title="' . JText::_('PGN_SHOWMATCH') . '">'; echo '<a onclick="startPgnMatch(' . $value->id . ', \'pgnArea\');" class="pgn">' . CLMText::getResultString($value->ergebnis, 0) . '</a>'; echo '</span>'; ?> <input type='hidden' name='pgn[<?php echo $value->id; ?> ]' id='pgnhidden<?php echo $value->id;
} else { $zeilenr = "zeile2"; } echo '<tr class="' . $zeilenr . '">'; echo '<td class="rang' . $this->players[$p]->quali . '"><div>' . CLMText::getPosString($this->players[$p]->rankingPos) . '</div></td>'; if ($turParams->get('displayPlayerSnr', 1) == 1) { echo '<td class="tln"><div>' . $this->players[$p]->snr . '</div></td>'; } echo '<td class="name"><div>'; $link = new CLMcLink(); $link->view = 'turnier_player'; $link->more = array('turnier' => $this->turnier->id, 'snr' => $this->players[$p]->snr, 'Itemid' => $itemid); $link->makeURL(); echo $link->makeLink($this->players[$p]->name); echo '</div></td>'; echo '<td class="twz"><div>' . CLMText::formatRating($this->players[$p]->twz) . '</div></td>'; echo '</tr>'; } // Ende Spieler echo '</table></div>'; // Rechte Spalte echo '<div class="righttable' . $rightcol . '">'; echo '<table cellpadding="0" cellspacing="0" id="righttabletable' . $rightcol . '"'; if ($fixth_tkreuz == "1") { echo 'class="tableWithFloatingHeader"'; } echo '<tr>'; echo '<th class="fw_col"><div>' . JText::_('TOURNAMENT_POINTS_ABB') . '</div></th>'; // mgl. Feinwertungen for ($f = 1; $f <= 3; $f++) { $fwFieldName = 'tiebr' . $f;
} echo "</td>"; // Club Gegner echo '<td class="tp_col_3c">'; if (isset($value->gegner) and $value->gegner > 0) { $link = new CLMcLink(); $link->view = 'verein'; $link->more = array('saison' => $this->turnier->sid, 'zps' => $value->oppZPS, 'Itemid' => $itemid); $link->makeURL(); echo $link->makeLink($value->oppVerein); } echo "</td>"; // TWZ echo '<td class="tp_col_4">'; if (isset($value->oppTWZ) and $value->oppTWZ > 0) { echo CLMText::formatRating($value->oppTWZ); } echo "</td>"; // Ergebnis if ($value->ergebnis != '') { echo '<td class="tp_col_5">'; if ($value->pgn == '' or !$this->pgnShow) { echo CLMText::getResultString($value->ergebnis, 0); } else { echo '<span class="editlinktip hasTip" title="' . JText::_('PGN_SHOWMATCH') . '">'; echo '<a onclick="startPgnMatch(' . $value->id . ', \'pgnArea\');" class="pgn">' . CLMText::getResultString($value->ergebnis, 0) . '</a>'; echo '</span>'; ?> <input type='hidden' name='pgn[<?php echo $value->id; ?>